@master/css-language-server 2.0.0-beta.109 → 2.0.0-beta.111
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/server.js +1 -1
- package/dist/server.mjs +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -463,7 +463,7 @@ You passed in: '`+this.raw_options[t]+"'");return n};xo.prototype._is_valid_sele
|
|
|
463
463
|
`)),i=l+i.replace(/\n/g,`
|
|
464
464
|
`+l)}a&&(i?i=a+i+`
|
|
465
465
|
`+u:i=a+u),t.print_newline(!1),i&&(e.text=i,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}};Jn.prototype._handle_tag_open=function(t,e,r,n){var i=this._get_tag_open_token(e);return(r.is_unformatted||r.is_content_unformatted)&&!r.is_empty_element&&e.type===ht.TAG_OPEN&&e.text.indexOf("</")===0?(t.add_raw_token(e),i.start_tag_token=this._tag_stack.try_pop(i.tag_name)):(t.traverse_whitespace(e),this._set_tag_position(t,e,i,r,n),i.is_inline_element||t.set_wrap_point(),t.print_token(e)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(i.alignment_size=e.text.length+1),!i.tag_complete&&!i.is_unformatted&&(t.alignment_size=i.alignment_size),i};var vbe=function(t,e){if(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!e)this.tag_complete=!0;else{var r;this.tag_start_char=e.text[0],this.text=e.text,this.tag_start_char==="<"?(r=e.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=e.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(e.text.startsWith("{{#>")||e.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&e.next!==null?this.tag_check=e.next.text.split(" ")[0]:this.tag_check=e.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),e.type===ht.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&e.closed.text==="/>";var n=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(n=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(n)))}};Jn.prototype._get_tag_open_token=function(t){var e=new vbe(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||ih(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&ih(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&ih(e.tag_check,this._options.content_unformatted),e.is_inline_element=ih(e.tag_name,this._options.inline)||e.tag_name.includes("-")||e.tag_start_char==="{",e};Jn.prototype._set_tag_position=function(t,e,r,n,i){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(r),(r.tag_name==="script"||r.tag_name==="style")&&!(r.is_unformatted||r.is_content_unformatted)&&(r.custom_beautifier_name=QSt(r.tag_check,e)))),ih(r.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),r.is_empty_element){if(r.tag_start_char==="{"&&r.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0;var s=t.current_line_has_match(/{{#if/);s||t.print_newline(!1)}r.tag_name==="!--"&&i.type===ht.TAG_CLOSE&&n.is_end_tag&&r.text.indexOf(`
|
|
466
|
-
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Jn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var XSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ZSt=["a","audio","del","ins","map","noscript","video"];Jn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&XSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||ZSt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};wbe.exports.Beautifier=Jn});var xbe=m((d6t,cN)=>{"use strict";var ekt=_be().Beautifier,tkt=oN().Options;function rkt(t,e,r,n){var i=new ekt(t,e,r,n);return i.beautify()}cN.exports=rkt;cN.exports.defaultOptions=function(){return new tkt}});var Dbe=m((p6t,AE)=>{"use strict";var Sbe=ibe(),kbe=dbe(),Ebe=xbe();function Cbe(t,e,r,n){return r=r||Sbe,n=n||kbe,Ebe(t,e,r,n)}Cbe.defaultOptions=Ebe.defaultOptions;AE.exports.js=Sbe;AE.exports.css=kbe;AE.exports.html=Cbe});var Rbe=m((h6t,qbe)=>{"use strict";function Obe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Obe(t,e,r)}):function(t){var e=Dbe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Obe(e,e,e)}(qbe)});var Ak=ut(dh(),1);var e0e=Object.defineProperty,t0e=(t,e,r)=>e in t?e0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(t0e(t,typeof e!="symbol"?e+"":e,r),r),ON=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Xa=(t,e,r)=>(ON(t,e,"read from private field"),r?r.call(t):e.get(t)),yN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},bN=(t,e,r,n)=>(ON(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),r0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},QE=r0e;function ph(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function qN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Kt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?ph(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+qN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=ph(t[l]),u(),a.length=0,i=o):i=ph(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?ph(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var n0e={slate:Kt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Kt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Kt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Kt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Kt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Kt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Kt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Kt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Kt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Kt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Kt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Kt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Kt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Kt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Kt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Kt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Kt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Kt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Kt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Kt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},i0e=n0e,s0e=16,o0e="",a0e=o0e,u0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},l0e=u0e,c0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},rO=c0e,f0e=["dark","light"],d0e=f0e,p0e={storage:{sync:!0,key:"scheme"}},h0e=p0e,nc={content:"content-box",border:"border-box",padding:"padding-box"},hh={min:"min-content",max:"max-content"},Ds={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in QE)Ds[t]=QE[t]/16+"rem";var g0e={BackgroundClip:nc,BackgroundOrigin:nc,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...nc,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:hh,GridAutoRows:hh,GridTemplateColumns:hh,GridTemplateRows:hh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...nc,margin:"margin-box"},TransformBox:{...nc,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Ds,MinWidth:Ds,MinHeight:Ds,MaxWidth:Ds,MaxHeight:Ds,Height:Ds,FlexBasis:Ds},m0e=g0e;function HE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var y0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function RN(t,e,r){if(r){let n="",i=t.match(y0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function b0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=RN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function VE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=RN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:b0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ag={"(":")","'":"'",'"':'"',"{":"}"},v0e=["!","*",">","+","~",":","[","@","_"];function pc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ag)u(l,ag[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||v0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var vN=[":disabled",":active",":focus",":hover"],ic="matches",w0e="semantics",wN="symbol",AN="width",GE="max-"+AN,KE="min-"+AN,JE="motion",PN="reduce",_N=PN+"d-"+JE,YE="px",_0e="rem",x0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,S0e=t=>t.split(x0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===w0e){let[G,ae]=e.value;C=_.slice(G.length),S=ae}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let G;if(e.origin===ic){let ae=_.indexOf(":");this.prefix=_.slice(0,ae+1),this.prefix.includes("(")?(this.prefix=void 0,G=_):G=_.slice(ae+1)}else e.origin===wN&&(this.symbol=_[0],G=_.slice(1));[R,C]=pc(G,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=G=>{let ae=S0e(G),L=[],M="",oe=0;for(let re=0;re<ae.length;re++){let fe=ae[re];if(fe==="\\"){M+=fe+ae[++re];continue}!oe&&fe===","?(L.push(M),M=""):(M+=fe,oe&&fe===")"?oe--:fe==="("&&oe++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let G=(re,fe,ue,ie)=>{for(let[pe,ve]of fe)if(pe.test(re)){for(let Ce of ve)G(re.replace(pe,Ce),fe,ue,!0);return}ie&&ue.push(re)},ae=[];""in h?G(F,h[""],ae,!0):ae.push(F);let L={};for(let[re,fe]of Object.entries(h)){if(!re)continue;let ue=[];for(let ie of ae)G(ie,fe,ue,!1);ue.length&&(L[re]=ue)}let M=(re,fe)=>{let ue=fe.reduce((ie,pe)=>(ie.push(...O(pe)),ie),[]);re in this.vendorSuffixSelectors?this.vendorSuffixSelectors[re].push(...ue):this.vendorSuffixSelectors[re]=ue},oe=Object.keys(L);if(oe.length)for(let re of oe)M(re,L[re]);else M("",ae);for(let re of Object.values(this.vendorSuffixSelectors))for(let fe of re){this.hasWhere!==!1&&(this.hasWhere=fe.includes(":where("));for(let ue=0;ue<vN.length;ue++)if(fe.includes(vN[ue])){(this.priority===-1||this.priority>ue)&&(this.priority=ue);break}}}else this.vendorSuffixSelectors={"":[""]};for(let G=1;G<z.length;G++){let ae=z[G];if(ae)if(f.includes(ae))this.theme=ae;else if(ae==="rtl"||ae==="ltr")this.direction=ae;else{let L,M,oe=ae.indexOf("_");if(oe!==-1)L=ae.slice(0,oe),M=ae.slice(oe);else{let re=ae.indexOf("(");re!==-1&&(L=ae.slice(0,re),M=ae.slice(re))}if(!L){L="media";let re=[];this.media={token:ae,features:{}};let fe=ae.split("&");for(let ue of fe)if(ue==="all"||ue==="print"||ue==="screen"||ue==="speech")this.media.type=ue;else if(ue==="\u{1F5A8}")this.media.type="print";else if(ue==="landscape"||ue==="portrait")re.push("(orientation:"+ue+")");else if(ue===JE||ue===_N)re.push("(prefers-"+_N+":"+(ue===JE?"no-preference":PN)+")");else if(g&&ue in g)re.push(g[ue]);else{let ie={token:ue},pe="",ve="",Ce=0;ue.startsWith("<=")?(ve="<=",pe=GE):ue.startsWith(">=")||v[ue]?(ve=">=",pe=KE):ue.startsWith(">")?(ve=">",pe=KE,Ce=.02):ue.startsWith("<")&&(ve="<",pe=GE,Ce=-.02);let Qe=ve?ue.replace(ve,""):ue,be=v[Qe];switch(pe){case GE:case KE:be?Object.assign(ie,VE(be,YE)):Object.assign(ie,VE(Qe,YE)),ie.unit===YE&&(ie.value+=Ce),this.media.features[pe]=ie,re.push("("+pe+":"+(ie.value+ie.unit)+")");break}}M="",this.media.type&&(M=this.media.type),re.length&&(M+=(M?" and ":"")+re.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let ee=(G,ae)=>{let L,M,oe=(fe,ue,ie)=>{let pe="";this.direction&&(pe+="[dir="+this.direction+"] ");let ve=this.prefixSelectors.map(be=>be+pe),Ce=(be,Ct)=>ve.map(dt=>(be?"."+be+" ":"")+(l?l+" ":"")+dt).reduce((dt,de)=>(dt.push(ie.reduce((le,ne)=>(le.push(de+"."+CSS.escape(Ct)+ne),le),[]).join(",")),dt),[]).join(","),Qe=Ce(ue,t)+(w?Object.entries(w).filter(([be])=>this.theme||!o||!ue||!be||be===ue).map(([be,Ct])=>Ct.reduce((dt,de)=>dt+","+Ce(this.theme??((o||this.getThemeProps)&&ue||be),de),"")).join(""):"")+"{"+fe+"}";for(let be of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Qe="@"+be+" "+this.at[be]+"{"+Qe+"}";return Qe},re=[];if(R){let fe,ue;for(let ie of R)typeof ie=="string"?re.push(ie):(fe=VE(ie.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[G]),fe.colorMatched!==void 0&&ue!==!0&&(ue=fe.colorMatched),re.push(fe.value+fe.unit));if(ae&&(ue===void 0?G:!ue))return;if(re.length===1?fe?(L=fe.value,M=fe.unit):L=re[0]:L=re.reduce((ie,pe,ve)=>ie+pe+(pe===","||R[ve+1]===","||ve===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let ie={unit:M,value:L,important:this.important};if(this.getThemeProps){let pe=this.getThemeProps(ie,r);for(let ve in pe)for(let Ce of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(Object.entries(pe[ve]).map(([Qe,be])=>HE(Qe,{important:(this.important||c)&&!be.endsWith("!important"),unit:"",value:be})).join(";"),ve,Ce),theme:ve});return}else this.get&&(L=this.get(ie))}}else L=S;for(let fe of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(typeof L=="object"?Object.entries(L).map(([ue,ie])=>HE(ue,{...typeof ie=="object"?ie:{unit:"",value:ie},important:this.important||c})).join(";"):HE(a,{unit:M,value:L,important:this.important||c}),G,fe),theme:G})};if(this.getThemeProps)ee(void 0,!1);else if(this.theme)ee(this.theme,!1);else if(o)for(let G of f)ee(G,!0);else ee("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:ic};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:ic};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:ic}}}if(s&&t.startsWith(s))return{origin:wN};if(o&&t.startsWith(o+":"))return{origin:ic}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",_0e),x(N,"colorful");var mh=class extends N{};x(mh,"id","FontWeight"),x(mh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(mh,"unit","");var XE=class extends N{};x(XE,"id","FontFamily"),x(XE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var ZE=class extends N{};x(ZE,"id","FontSize"),x(ZE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var eC=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(eC,"id","Spacing"),x(eC,"matches","^[pm][xytblr]?:.");var tC=class extends N{};x(tC,"id","Width"),x(tC,"matches","^w:.");var rC=class extends N{};x(rC,"id","Height"),x(rC,"matches","^h:.");var nC=class extends N{};x(nC,"id","MinWidth"),x(nC,"matches","^min-w:.");var iC=class extends N{};x(iC,"id","MinHeight"),x(iC,"matches","^min-h:.");var yh=class extends N{};x(yh,"id","LetterSpacing"),x(yh,"matches","^ls:."),x(yh,"unit","em");var k0e="subpixel-antialiased",xN="-webkit-font-smoothing",SN="-moz-osx-font-smoothing",bh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case k0e:e[xN]=e[SN]={...t,value:"auto"};break;case"antialiased":e[xN]={...t,value:"antialiased"},e[SN]={...t,value:"grayscale"};break}return e}};x(bh,"id","FontSmoothing"),x(bh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(bh,"unit","");var vh=class extends N{};x(vh,"id","FontStyle"),x(vh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(vh,"unit","deg");var sC=class extends N{};x(sC,"id","FontVariantNumeric"),x(sC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var oC=class extends N{};x(oC,"id","FontFeatureSettings"),x(oC,"matches","^font-feature:.");var wh=class extends N{};x(wh,"id","LineHeight"),x(wh,"matches","^lh:."),x(wh,"unit","");var aC=class extends N{};x(aC,"id","ObjectFit"),x(aC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var uC=class extends N{};x(uC,"id","ObjectPosition"),x(uC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var lC=class extends N{};x(lC,"id","TextAlign"),x(lC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var _h=class extends N{order=-1};x(_h,"id","TextDecoration"),x(_h,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(_h,"colorful",!0);var cC=class extends N{};x(cC,"id","TextTransform"),x(cC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var fC=class extends N{};x(fC,"id","VerticalAlign"),x(fC,"matches","^(?:v|vertical):.");var xh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(xh,"id","Lines"),x(xh,"matches","^lines:."),x(xh,"unit","");var Sh=class extends N{};x(Sh,"id","TransformOrigin"),x(Sh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(Sh,"unit","px");var dC=class extends N{};x(dC,"id","TransformStyle"),x(dC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var pC=class extends N{};x(pC,"id","TransformBox"),x(pC,"matches","^transform:(?:$values)(?!\\|)");var kh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(kh,"id","Transform"),x(kh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(kh,"unit","");var hC=class extends N{order=-1};x(hC,"id","Transition"),x(hC,"symbol","~");var Eh=class extends N{};x(Eh,"id","TransitionDelay"),x(Eh,"matches","^~delay:."),x(Eh,"unit","ms");var Ch=class extends N{};x(Ch,"id","TransitionDuration"),x(Ch,"matches","^~duration:."),x(Ch,"unit","ms");var gC=class extends N{};x(gC,"id","TransitionProperty"),x(gC,"matches","^~property:.");var mC=class extends N{};x(mC,"id","TransitionTimingFunction"),x(mC,"matches","^~easing:.");var yC=class extends N{};x(yC,"id","MaxHeight"),x(yC,"matches","^max-h:.");var bC=class extends N{};x(bC,"id","MaxWidth"),x(bC,"matches","^max-w:.");var vC=class extends N{};x(vC,"id","Display"),x(vC,"matches","^d:.");var wC=class extends N{};x(wC,"id","BoxSizing"),x(wC,"matches","^box:(?:$values)(?!\\|)");var _C=class extends N{};x(_C,"id","Opacity"),x(_C,"unit","");var TN=class extends N{};x(TN,"id","Visibility");var MN=class extends N{};x(MN,"id","Clear");var LN=class extends N{};x(LN,"id","Float");var FN=class extends N{};x(FN,"id","Isolation");var xC=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(xC,"id","Overflow"),x(xC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var SC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(SC,"id","OverscrollBehavior"),x(SC,"matches","^overscroll-behavior(?:-[xy])?:");var Dh=class extends N{};x(Dh,"id","ZIndex"),x(Dh,"matches","^z:."),x(Dh,"unit","");var Oh=class extends N{};x(Oh,"id","AnimationDelay"),x(Oh,"matches","^@delay:."),x(Oh,"unit","ms");var kC=class extends N{};x(kC,"id","AnimationDirection"),x(kC,"matches","^@direction:.");var EC=class extends N{};x(EC,"id","AnimationFillMode"),x(EC,"matches","^@fill-mode:.");var qh=class extends N{};x(qh,"id","AnimationIterationCount"),x(qh,"matches","^@iteration-count:."),x(qh,"unit","");var CC=class extends N{};x(CC,"id","AnimationName"),x(CC,"matches","^@name:.");var DC=class extends N{};x(DC,"id","AnimationPlayState"),x(DC,"matches","^@play-state:.");var OC=class extends N{};x(OC,"id","AnimationTimingFunction"),x(OC,"matches","^@easing:.");var Rh=class extends N{order=-1};x(Rh,"id","Animation"),x(Rh,"symbol","@"),x(Rh,"unit","");var gh="border-";function cg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=gh+"left"+r,s=gh+"right"+r,o=gh+"top"+r,a=gh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var oc=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(oc,"id","BorderColor"),x(oc,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(oc,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(oc,"colorful",!0);var Ah="border-top-left-radius",Ph="border-top-right-radius",Th="border-bottom-left-radius",Mh="border-bottom-right-radius",kN="border-radius",E0e=[Ah,Ph,Th,Mh],qC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ah]:t,[Ph]:t};case"tl":case"lt":return{[Ah]:t};case"rt":case"tr":return{[Ph]:t};case"b":return{[Th]:t,[Mh]:t};case"bl":case"lb":return{[Th]:t};case"br":case"rb":return{[Mh]:t};case"l":return{[Ah]:t,[Th]:t};case"r":return{[Ph]:t,[Mh]:t};default:return{[kN]:t}}}let e=this.prefix?.slice(0,-1);return{[E0e.includes(e)?e:kN]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(qC,"id","BorderRadius"),x(qC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var RC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderStyle"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var AC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(AC,"id","BorderWidth"),x(AC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Lh=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Lh,"id","Border"),x(Lh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Lh,"colorful",!0);var PC=class extends N{};x(PC,"id","BackgroundAttachment"),x(PC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var IN=class extends N{};x(IN,"id","BackgroundBlendMode");var TC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(TC,"id","BackgroundClip"),x(TC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var ac=class extends N{};x(ac,"id","BackgroundColor"),x(ac,"colorStarts","(?:bg|background):"),x(ac,"unit",""),x(ac,"colorful",!0);var MC=class extends N{};x(MC,"id","BackgroundOrigin"),x(MC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Fh=class extends N{};x(Fh,"id","BackgroundPosition"),x(Fh,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Fh,"unit","px");var LC=class extends N{};x(LC,"id","BackgroundRepeat"),x(LC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var FC=class extends N{};x(FC,"id","BackgroundSize"),x(FC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundImage"),x(Ih,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Ih,"colorful",!0);var Nh=class extends N{order=-1};x(Nh,"id","Background"),x(Nh,"matches","^bg:."),x(Nh,"colorful",!0);var IC=class extends N{};x(IC,"id","MixBlendMode"),x(IC,"matches","^blend:.");var NN=class extends N{};x(NN,"id","Position");function jN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var jh=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(jh,"id","BackdropFilter"),x(jh,"matches","^bd:."),x(jh,"colorful",!0);var $h=class extends N{};x($h,"id","Fill"),x($h,"colorStarts","fill:"),x($h,"colorful",!0);var NC=class extends N{};x(NC,"id","Stroke"),x(NC,"colorful",!0);var jC=class extends N{};x(jC,"id","StrokeWidth"),x(jC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Bh=class extends N{parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Bh,"id","Filter"),x(Bh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Bh,"colorful",!0);var $N=class extends N{};x($N,"id","Cursor");var BN=class extends N{};x(BN,"id","PointerEvents");var WN=class extends N{};x(WN,"id","Resize");var zN=class extends N{};x(zN,"id","TouchAction");var UN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(UN,"id","UserDrag");var HN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(HN,"id","UserSelect");var Wh=class extends N{};x(Wh,"id","BoxShadow"),x(Wh,"matches","^s(?:hadow)?:."),x(Wh,"colorful",!0);var $C=class extends N{};x($C,"id","TextShadow"),x($C,"colorful",!0);var EN=.75,BC=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="rem"?r+EN+e:`calc(${r}${e} + ${EN}em)`,unit:""}}}};x(BC,"id","TextSize"),x(BC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var WC=class extends N{};x(WC,"id","WordBreak"),x(WC,"unit","");var zh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zh,"id","GridColumns"),x(zh,"matches","^grid-cols:."),x(zh,"unit","");var zC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zC,"id","GridRows"),x(zC,"unit","");var UC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(UC,"id","Gap"),x(UC,"matches","^gap(?:-x|-y)?:.");var HC=class extends N{};x(HC,"id","WordSpacing"),x(HC,"unit","em");var Uh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Uh,"id","Variable"),x(Uh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Uh,"unit","");var Hh=class extends N{};x(Hh,"id","AspectRatio"),x(Hh,"matches","^aspect:."),x(Hh,"unit","");var VC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(VC,"id","BoxDecorationBreak"),x(VC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","BreakAfter");var GN=class extends N{};x(GN,"id","BreakBefore");var KN=class extends N{};x(KN,"id","BreakInside");var GC=class extends N{};x(GC,"id","FlexShrink"),x(GC,"unit","");var KC=class extends N{};x(KC,"id","FlexDirection"),x(KC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var YC=class extends N{};x(YC,"id","FlexGrow"),x(YC,"unit","");var QC=class extends N{};x(QC,"id","FlexWrap"),x(QC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var YN=class extends N{};x(YN,"id","FlexBasis");var JC=class extends N{order=-1};x(JC,"id","Flex"),x(JC,"unit","");var Vh=class extends N{};x(Vh,"id","Order"),x(Vh,"matches","^o:."),x(Vh,"unit","");var Gh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Gh,"id","GridColumn"),x(Gh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Gh,"unit","");var XC=class extends N{};x(XC,"id","ColumnSpan"),x(XC,"matches","^col-span:.");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridRow"),x(Kh,"matches","^grid-row-span:."),x(Kh,"unit","");var uc=class extends N{};x(uc,"id","Color"),x(uc,"matches","^(?:color|fg|foreground):."),x(uc,"colorful",!0),x(uc,"unit","");var ZC=class extends N{};x(ZC,"id","AlignContent"),x(ZC,"matches","^ac:.");var eD=class extends N{};x(eD,"id","AlignItems"),x(eD,"matches","^ai:.");var tD=class extends N{};x(tD,"id","AlignSelf"),x(tD,"matches","^as:");var rD=class extends N{};x(rD,"id","GridAutoColumns"),x(rD,"matches","^grid-auto-cols:.");var nD=class extends N{};x(nD,"id","GridAutoFlow"),x(nD,"matches","^grid-flow:.");var QN=class extends N{};x(QN,"id","GridAutoRows");var iD=class extends N{};x(iD,"id","JustifyContent"),x(iD,"matches","^jc:.");var sD=class extends N{};x(sD,"id","JustifyItems"),x(sD,"matches","^ji:.");var oD=class extends N{};x(oD,"id","JustifySelf"),x(oD,"matches","^js:.");var JN=class extends N{order=-1};x(JN,"id","PlaceContent");var XN=class extends N{order=-1};x(XN,"id","PlaceItems");var ZN=class extends N{order=-1};x(ZN,"id","PlaceSelf");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(aD,"id","Padding"),x(aD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(uD,"id","Margin"),x(uD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var lD=class extends N{};x(lD,"id","TextOverflow"),x(lD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var cD=class extends N{};x(cD,"id","ListStylePosition"),x(cD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var fD=class extends N{};x(fD,"id","ListStyleType"),x(fD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var e5=class extends N{order=-1};x(e5,"id","ListStyle");var Yh=class extends N{};x(Yh,"id","TextDecorationColor"),x(Yh,"colorStarts","text-decoration:"),x(Yh,"colorful",!0);var dD=class extends N{};x(dD,"id","TextDecorationStyle"),x(dD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Qh=class extends N{};x(Qh,"id","TextDecorationThickness"),x(Qh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Qh,"unit","em");var t5=class extends N{};x(t5,"id","TextIndent");var r5=class extends N{};x(r5,"id","Content");var Jh=class extends N{};x(Jh,"id","OutlineColor"),x(Jh,"colorStarts","outline:"),x(Jh,"colorful",!0);var n5=class extends N{};x(n5,"id","OutlineOffset");var pD=class extends N{};x(pD,"id","OutlineStyle"),x(pD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var hD=class extends N{};x(hD,"id","OutlineWidth"),x(hD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var gD=class extends N{order=-1};x(gD,"id","Outline"),x(gD,"colorful",!0);var mD=class extends N{};x(mD,"id","BorderCollapse"),x(mD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var i5=class extends N{};x(i5,"id","BorderSpacing");var s5=class extends N{};x(s5,"id","TableLayout");var Xh=class extends N{};x(Xh,"id","AccentColor"),x(Xh,"colorStarts","accent:"),x(Xh,"colorful",!0);var o5=class extends N{};x(o5,"id","Appearance");var Zh=class extends N{};x(Zh,"id","CaretColor"),x(Zh,"colorStarts","caret:"),x(Zh,"colorful",!0);var a5=class extends N{};x(a5,"id","ScrollBehavior");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(yD,"id","ScrollMargin"),x(yD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(bD,"id","ScrollPadding"),x(bD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var vD=class extends N{};x(vD,"id","ScrollSnapAlign"),x(vD,"matches","^scroll-snap:(?:start|end|center|$values)");var wD=class extends N{};x(wD,"id","ScrollSnapStop"),x(wD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var _D=class extends N{};x(_D,"id","ScrollSnapType"),x(_D,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","WillChange");var l5=class extends N{};x(l5,"id","TextUnderlineOffset");var xD=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(xD,"id","Inset"),x(xD,"matches","^(?:top|bottom|left|right):.");var eg=class extends N{order=-1};x(eg,"id","Columns"),x(eg,"matches","^(?:columns|cols):."),x(eg,"unit","");var SD=class extends N{};x(SD,"id","WhiteSpace"),x(SD,"unit","");var kD=class extends N{};x(kD,"id","TextOrientation"),x(kD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var ED=class extends N{};x(ED,"id","WritingMode"),x(ED,"matches","^writing:.");var c5=class extends N{};x(c5,"id","Contain");var tg=class extends N{};x(tg,"id","AnimationDuration"),x(tg,"matches","^@duration:."),x(tg,"unit","ms");var CD=class extends N{};x(CD,"id","TextRendering"),x(CD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var f5=class extends N{};x(f5,"id","Direction");var DD=class extends N{};x(DD,"id","TextDecorationLine"),x(DD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var rg=class extends N{};x(rg,"id","GridColumnStart"),x(rg,"matches","^grid-col-start:."),x(rg,"unit","");var OD=class extends N{};x(OD,"id","ListStyleImage"),x(OD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeOutside"),x(qD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var RD=class extends N{};x(RD,"id","ShapeMargin"),x(RD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var AD=class extends N{};x(AD,"id","ShapeImageThreshold"),x(AD,"unit","");var PD=class extends N{};x(PD,"id","ClipPath"),x(PD,"matches","^clip:.");var d5=class extends N{order=-1};x(d5,"id","Grid");var ng=class extends N{order=-1};x(ng,"id","Font"),x(ng,"matches","^f:."),x(ng,"unit","");var p5=class extends N{};x(p5,"id","Quotes");var h5=class extends N{order=-1};x(h5,"id","GridTemplate");var TD=class extends N{};x(TD,"id","GridRowStart"),x(TD,"unit","");var g5=class extends N{};x(g5,"id","GridTemplateAreas");var MD=class extends N{};x(MD,"id","GridTemplateColumns"),x(MD,"matches","^grid-template-cols:.");var m5=class extends N{};x(m5,"id","GridTemplateRows");var LD=class extends N{order=-1};x(LD,"id","GridArea"),x(LD,"unit","");var ig=class extends N{};x(ig,"id","GridColumnEnd"),x(ig,"matches","^grid-col-end:."),x(ig,"unit","");var FD=class extends N{};x(FD,"id","GridRowEnd"),x(FD,"unit","");var y5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(y5,"id","MaskImage");var lc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(lc,"id","TextFillColor"),x(lc,"matches","^text-fill-color:."),x(lc,"colorStarts","(?:text-fill|text|t):"),x(lc,"colorful",!0);var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(ID,"id","TextStroke"),x(ID,"matches","^text-stroke:.");var ND=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ND,"id","TextStrokeWidth"),x(ND,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(cc,"id","TextStrokeColor"),x(cc,"matches","^text-stroke-color:."),x(cc,"colorStarts","text-stroke:"),x(cc,"colorful",!0);var b5=class extends N{};x(b5,"id","StrokeDasharray");var v5=class extends N{};x(v5,"id","StrokeDashoffset");var jD=class extends N{};x(jD,"id","X"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Y"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cx"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Cy"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Rx"),x(zD,"unit","");var UD=class extends N{};x(UD,"id","Ry"),x(UD,"unit","");var w5=class extends N{};x(w5,"id","BorderImageOutset");var HD=class extends N{};x(HD,"id","BorderImageRepeat"),x(HD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var VD=class extends N{};x(VD,"id","BorderImageSlice"),x(VD,"unit","");var GD=class extends N{};x(GD,"id","BorderImageSource"),x(GD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var KD=class extends N{};x(KD,"id","BorderImageWidth"),x(KD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var YD=class extends N{};x(YD,"id","BorderImage"),x(YD,"unit","");var C0e=/\{(.*)\}/,sg=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...pc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(C0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ag&&c!=="'"&&c!=='"'&&(u++,l(ag[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(sg,"id","Group"),x(sg,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(sg,"unit","");var QD=class extends N{};x(QD,"id","CounterIncrement"),x(QD,"unit","");var JD=class extends N{};x(JD,"id","CounterReset"),x(JD,"unit","");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(XD,"id","WH"),x(XD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(ZD,"id","MinWH"),x(ZD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var eO=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(eO,"id","MaxWH"),x(eO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var D0e=[sg,Uh,ZE,mh,XE,bh,vh,sC,oC,ng,uc,eC,uD,aD,YN,QC,YC,GC,KC,JC,vC,tC,rC,nC,iC,XD,ZD,eO,c5,r5,QD,JD,yh,wh,aC,uC,lC,Yh,dD,Qh,DD,_h,l5,lD,kD,cC,CD,t5,fC,eg,SD,xD,xh,yC,bC,wC,_C,TN,MN,LN,FN,xC,SC,Dh,NN,$N,BN,WN,zN,WC,HC,UN,HN,$C,BC,lc,ND,cc,ID,Wh,s5,pC,dC,Sh,kh,gC,mC,Ch,Eh,hC,Oh,kC,tg,EC,qh,CC,DC,OC,Rh,oc,qC,RC,AC,mD,i5,w5,HD,VD,GD,KD,YD,Lh,PC,IN,ac,TC,MC,Fh,LC,FC,Ih,Nh,IC,jh,Bh,$h,b5,v5,jC,NC,jD,$D,BD,WD,zD,UD,rg,ig,Gh,zh,TD,FD,Kh,zC,rD,nD,QN,g5,MD,m5,h5,LD,d5,UC,Vh,KN,GN,VN,VC,Hh,XC,ZC,eD,tD,iD,sD,oD,JN,XN,ZN,cD,fD,OD,e5,Jh,n5,pD,hD,gD,Xh,o5,Zh,a5,yD,bD,vD,wD,_D,u5,ED,f5,qD,RD,AD,PD,p5,y5],O0e=D0e,q0e=!1,R0e=!0,A0e=!1,P0e={colors:i0e,breakpoints:QE,semantics:rO,values:m0e,selectors:l0e,themes:d0e,scheme:h0e,Rules:O0e,rootSize:s0e,scope:a0e,override:q0e,observe:R0e,important:A0e},CN=P0e,tO=typeof Buffer<"u"?Buffer:null;function _5(t){return!!(tO&&t instanceof tO||t instanceof Date||t instanceof RegExp)}function x5(t){if(tO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function S5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=S5(r):_5(r)?e[n]=x5(r):e[n]=ug({},r):e[n]=r}),e}function DN(t,e){return e==="__proto__"?void 0:t[e]}function ug(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=DN(e,s),r=DN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=S5(r);return}else if(_5(r)){e[s]=x5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=ug({},r);return}else{e[s]=ug(n,r);return}})}),e}var T0e=[",",".","#","[","!","*",">","+","~",":","@"],M0e=/^::-[a-z]+-/m,L0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,lg,dc=typeof window<"u";dc&&(lg=document.createElement("style"),lg.title="master");var Xr="max-width",Br="min-width",F0e="attributes",I0e=dc?window.MutationObserver:Object,fc,Co,og=class extends I0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===F0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),yN(this,fc,void 0),yN(this,Co,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=CN:this.config=ug(CN,this.config),this.cache(),dc&&this.config.observe&&this.observe(document),og.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Xa(this,fc)){bN(this,fc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Xa(this,fc)}set theme(t){t!==Xa(this,Co)&&(Xa(this,Co)&&this.host.classList.remove(Xa(this,Co)),bN(this,Co,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Xa(this,Co)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(M0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=L0e.exec(_);if(S){let q="#"+qN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(dc&&t){this.root=t;let r=t===document;r&&(og.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(T0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=lg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=lg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=og.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Xr],d=i.features[Br];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Xr],b=v.features[Br];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Xr],O=C.features[Br];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Br]&&S.media.features[Xr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr],g=y.features[Br];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Br]&&w.media.features[Xr],w=>!w.media.features[Br]&&!w.media.features[Xr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Br];if(!S.features[Xr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr];if(y.features[Br])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Br]&&b.media.features[Xr],b=>!b.media.features[Br]&&!b.media.features[Xr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Br],C=S.features[Xr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Br]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Xr]||f.media.features[Br]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Xr]||p.features[Br])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},or=og;fc=new WeakMap,Co=new WeakMap,x(or,"instances",[]),x(or,"root");dc&&(window.MasterCSS=or);var sc=typeof global<"u"?global:window;if(!sc.CSS&&!sc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};sc.CSS||(sc.CSS={}),sc.CSS.escape=t}function k5(t,e){if(!t?.length)return;let r=new or({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}var UF=require("perf_hooks");var uge=ut(require("fs"),1),GF=ut(Po(),1),Pk=ut(O$(),1);var DB=ut(dh(),1);var Ug=ut(require("node:process"),1),z$=ut(require("node:os"),1),Kq=ut(require("node:tty"),1),n1e=Object.create,B$=Object.defineProperty,i1e=Object.getOwnPropertyDescriptor,s1e=Object.getOwnPropertyNames,o1e=Object.getPrototypeOf,a1e=Object.prototype.hasOwnProperty,u1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),l1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s1e(e))!a1e.call(t,i)&&i!==r&&B$(t,i,{get:()=>e[i],enumerable:!(n=i1e(e,i))||n.enumerable});return t},c1e=(t,e,r)=>(r=t!=null?n1e(o1e(t)):{},l1e(e||!t||!t.__esModule?B$(r,"default",{value:t,enumerable:!0}):r,t)),f1e=u1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
466
|
+
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Jn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var XSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ZSt=["a","audio","del","ins","map","noscript","video"];Jn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&XSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||ZSt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};wbe.exports.Beautifier=Jn});var xbe=m((d6t,cN)=>{"use strict";var ekt=_be().Beautifier,tkt=oN().Options;function rkt(t,e,r,n){var i=new ekt(t,e,r,n);return i.beautify()}cN.exports=rkt;cN.exports.defaultOptions=function(){return new tkt}});var Dbe=m((p6t,AE)=>{"use strict";var Sbe=ibe(),kbe=dbe(),Ebe=xbe();function Cbe(t,e,r,n){return r=r||Sbe,n=n||kbe,Ebe(t,e,r,n)}Cbe.defaultOptions=Ebe.defaultOptions;AE.exports.js=Sbe;AE.exports.css=kbe;AE.exports.html=Cbe});var Rbe=m((h6t,qbe)=>{"use strict";function Obe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Obe(t,e,r)}):function(t){var e=Dbe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Obe(e,e,e)}(qbe)});var Ak=ut(dh(),1);var e0e=Object.defineProperty,t0e=(t,e,r)=>e in t?e0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(t0e(t,typeof e!="symbol"?e+"":e,r),r),ON=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Xa=(t,e,r)=>(ON(t,e,"read from private field"),r?r.call(t):e.get(t)),yN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},bN=(t,e,r,n)=>(ON(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),r0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},QE=r0e;function ph(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function qN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Kt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?ph(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+qN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=ph(t[l]),u(),a.length=0,i=o):i=ph(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?ph(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var n0e={slate:Kt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Kt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Kt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Kt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Kt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Kt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Kt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Kt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Kt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Kt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Kt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Kt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Kt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Kt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Kt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Kt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Kt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Kt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Kt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Kt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},i0e=n0e,s0e=16,o0e="",a0e=o0e,u0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},l0e=u0e,c0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},rO=c0e,f0e=["dark","light"],d0e=f0e,p0e={storage:{sync:!0,key:"scheme"}},h0e=p0e,nc={content:"content-box",border:"border-box",padding:"padding-box"},hh={min:"min-content",max:"max-content"},Ds={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in QE)Ds[t]=QE[t]/16+"rem";var g0e={BackgroundClip:nc,BackgroundOrigin:nc,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...nc,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:hh,GridAutoRows:hh,GridTemplateColumns:hh,GridTemplateRows:hh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...nc,margin:"margin-box"},TransformBox:{...nc,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Ds,MinWidth:Ds,MinHeight:Ds,MaxWidth:Ds,MaxHeight:Ds,Height:Ds,FlexBasis:Ds},m0e=g0e;function HE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var y0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function RN(t,e,r){if(r){let n="",i=t.match(y0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function b0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=RN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function VE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=RN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:b0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ag={"(":")","'":"'",'"':'"',"{":"}"},v0e=["!","*",">","+","~",":","[","@","_"];function pc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ag)u(l,ag[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||v0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var vN=[":disabled",":active",":focus",":hover"],ic="matches",w0e="semantics",wN="symbol",AN="width",GE="max-"+AN,KE="min-"+AN,JE="motion",PN="reduce",_N=PN+"d-"+JE,YE="px",_0e="rem",x0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,S0e=t=>t.split(x0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===w0e){let[G,ae]=e.value;C=_.slice(G.length),S=ae}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let G;if(e.origin===ic){let ae=_.indexOf(":");this.prefix=_.slice(0,ae+1),this.prefix.includes("(")?(this.prefix=void 0,G=_):G=_.slice(ae+1)}else e.origin===wN&&(this.symbol=_[0],G=_.slice(1));[R,C]=pc(G,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=G=>{let ae=S0e(G),L=[],M="",oe=0;for(let re=0;re<ae.length;re++){let fe=ae[re];if(fe==="\\"){M+=fe+ae[++re];continue}!oe&&fe===","?(L.push(M),M=""):(M+=fe,oe&&fe===")"?oe--:fe==="("&&oe++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let G=(re,fe,ue,ie)=>{for(let[pe,ve]of fe)if(pe.test(re)){for(let Ce of ve)G(re.replace(pe,Ce),fe,ue,!0);return}ie&&ue.push(re)},ae=[];""in h?G(F,h[""],ae,!0):ae.push(F);let L={};for(let[re,fe]of Object.entries(h)){if(!re)continue;let ue=[];for(let ie of ae)G(ie,fe,ue,!1);ue.length&&(L[re]=ue)}let M=(re,fe)=>{let ue=fe.reduce((ie,pe)=>(ie.push(...O(pe)),ie),[]);re in this.vendorSuffixSelectors?this.vendorSuffixSelectors[re].push(...ue):this.vendorSuffixSelectors[re]=ue},oe=Object.keys(L);if(oe.length)for(let re of oe)M(re,L[re]);else M("",ae);for(let re of Object.values(this.vendorSuffixSelectors))for(let fe of re){this.hasWhere!==!1&&(this.hasWhere=fe.includes(":where("));for(let ue=0;ue<vN.length;ue++)if(fe.includes(vN[ue])){(this.priority===-1||this.priority>ue)&&(this.priority=ue);break}}}else this.vendorSuffixSelectors={"":[""]};for(let G=1;G<z.length;G++){let ae=z[G];if(ae)if(f.includes(ae))this.theme=ae;else if(ae==="rtl"||ae==="ltr")this.direction=ae;else{let L,M,oe=ae.indexOf("_");if(oe!==-1)L=ae.slice(0,oe),M=ae.slice(oe);else{let re=ae.indexOf("(");re!==-1&&(L=ae.slice(0,re),M=ae.slice(re))}if(!L){L="media";let re=[];this.media={token:ae,features:{}};let fe=ae.split("&");for(let ue of fe)if(ue==="all"||ue==="print"||ue==="screen"||ue==="speech")this.media.type=ue;else if(ue==="\u{1F5A8}")this.media.type="print";else if(ue==="landscape"||ue==="portrait")re.push("(orientation:"+ue+")");else if(ue===JE||ue===_N)re.push("(prefers-"+_N+":"+(ue===JE?"no-preference":PN)+")");else if(g&&ue in g)re.push(g[ue]);else{let ie={token:ue},pe="",ve="",Ce=0;ue.startsWith("<=")?(ve="<=",pe=GE):ue.startsWith(">=")||v[ue]?(ve=">=",pe=KE):ue.startsWith(">")?(ve=">",pe=KE,Ce=.02):ue.startsWith("<")&&(ve="<",pe=GE,Ce=-.02);let Qe=ve?ue.replace(ve,""):ue,be=v[Qe];switch(pe){case GE:case KE:be?Object.assign(ie,VE(be,YE)):Object.assign(ie,VE(Qe,YE)),ie.unit===YE&&(ie.value+=Ce),this.media.features[pe]=ie,re.push("("+pe+":"+(ie.value+ie.unit)+")");break}}M="",this.media.type&&(M=this.media.type),re.length&&(M+=(M?" and ":"")+re.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let ee=(G,ae)=>{let L,M,oe=(fe,ue,ie)=>{let pe="";this.direction&&(pe+="[dir="+this.direction+"] ");let ve=this.prefixSelectors.map(be=>be+pe),Ce=(be,Ct)=>ve.map(dt=>(be?"."+be+" ":"")+(l?l+" ":"")+dt).reduce((dt,de)=>(dt.push(ie.reduce((le,ne)=>(le.push(de+"."+CSS.escape(Ct)+ne),le),[]).join(",")),dt),[]).join(","),Qe=Ce(ue,t)+(w?Object.entries(w).filter(([be])=>this.theme||!o||!ue||!be||be===ue).map(([be,Ct])=>Ct.reduce((dt,de)=>dt+","+Ce(this.theme??((o||this.getThemeProps)&&ue||be),de),"")).join(""):"")+"{"+fe+"}";for(let be of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Qe="@"+be+" "+this.at[be]+"{"+Qe+"}";return Qe},re=[];if(R){let fe,ue;for(let ie of R)typeof ie=="string"?re.push(ie):(fe=VE(ie.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[G]),fe.colorMatched!==void 0&&ue!==!0&&(ue=fe.colorMatched),re.push(fe.value+fe.unit));if(ae&&(ue===void 0?G:!ue))return;if(re.length===1?fe?(L=fe.value,M=fe.unit):L=re[0]:L=re.reduce((ie,pe,ve)=>ie+pe+(pe===","||R[ve+1]===","||ve===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let ie={unit:M,value:L,important:this.important};if(this.getThemeProps){let pe=this.getThemeProps(ie,r);for(let ve in pe)for(let Ce of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(Object.entries(pe[ve]).map(([Qe,be])=>HE(Qe,{important:(this.important||c)&&!be.endsWith("!important"),unit:"",value:be})).join(";"),ve,Ce),theme:ve});return}else this.get&&(L=this.get(ie))}}else L=S;for(let fe of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:oe(typeof L=="object"?Object.entries(L).map(([ue,ie])=>HE(ue,{...typeof ie=="object"?ie:{unit:"",value:ie},important:this.important||c})).join(";"):HE(a,{unit:M,value:L,important:this.important||c}),G,fe),theme:G})};if(this.getThemeProps)ee(void 0,!1);else if(this.theme)ee(this.theme,!1);else if(o)for(let G of f)ee(G,!0);else ee("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:ic};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:ic};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:ic}}}if(s&&t.startsWith(s))return{origin:wN};if(o&&t.startsWith(o+":"))return{origin:ic}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",_0e),x(N,"colorful");var mh=class extends N{};x(mh,"id","FontWeight"),x(mh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(mh,"unit","");var XE=class extends N{};x(XE,"id","FontFamily"),x(XE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var ZE=class extends N{};x(ZE,"id","FontSize"),x(ZE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var eC=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(eC,"id","Spacing"),x(eC,"matches","^[pm][xytblr]?:.");var tC=class extends N{};x(tC,"id","Width"),x(tC,"matches","^w:.");var rC=class extends N{};x(rC,"id","Height"),x(rC,"matches","^h:.");var nC=class extends N{};x(nC,"id","MinWidth"),x(nC,"matches","^min-w:.");var iC=class extends N{};x(iC,"id","MinHeight"),x(iC,"matches","^min-h:.");var yh=class extends N{};x(yh,"id","LetterSpacing"),x(yh,"matches","^ls:."),x(yh,"unit","em");var k0e="subpixel-antialiased",xN="-webkit-font-smoothing",SN="-moz-osx-font-smoothing",bh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case k0e:e[xN]=e[SN]={...t,value:"auto"};break;case"antialiased":e[xN]={...t,value:"antialiased"},e[SN]={...t,value:"grayscale"};break}return e}};x(bh,"id","FontSmoothing"),x(bh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(bh,"unit","");var vh=class extends N{};x(vh,"id","FontStyle"),x(vh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(vh,"unit","deg");var sC=class extends N{};x(sC,"id","FontVariantNumeric"),x(sC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var oC=class extends N{};x(oC,"id","FontFeatureSettings"),x(oC,"matches","^font-feature:.");var wh=class extends N{};x(wh,"id","LineHeight"),x(wh,"matches","^lh:."),x(wh,"unit","");var aC=class extends N{};x(aC,"id","ObjectFit"),x(aC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var uC=class extends N{};x(uC,"id","ObjectPosition"),x(uC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var lC=class extends N{};x(lC,"id","TextAlign"),x(lC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var _h=class extends N{order=-1};x(_h,"id","TextDecoration"),x(_h,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(_h,"colorful",!0);var cC=class extends N{};x(cC,"id","TextTransform"),x(cC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var fC=class extends N{};x(fC,"id","VerticalAlign"),x(fC,"matches","^(?:v|vertical):.");var xh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(xh,"id","Lines"),x(xh,"matches","^lines:."),x(xh,"unit","");var Sh=class extends N{};x(Sh,"id","TransformOrigin"),x(Sh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(Sh,"unit","px");var dC=class extends N{};x(dC,"id","TransformStyle"),x(dC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var pC=class extends N{};x(pC,"id","TransformBox"),x(pC,"matches","^transform:(?:$values)(?!\\|)");var kh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(kh,"id","Transform"),x(kh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(kh,"unit","");var hC=class extends N{order=-1};x(hC,"id","Transition"),x(hC,"symbol","~");var Eh=class extends N{};x(Eh,"id","TransitionDelay"),x(Eh,"matches","^~delay:."),x(Eh,"unit","ms");var Ch=class extends N{};x(Ch,"id","TransitionDuration"),x(Ch,"matches","^~duration:."),x(Ch,"unit","ms");var gC=class extends N{};x(gC,"id","TransitionProperty"),x(gC,"matches","^~property:.");var mC=class extends N{};x(mC,"id","TransitionTimingFunction"),x(mC,"matches","^~easing:.");var yC=class extends N{};x(yC,"id","MaxHeight"),x(yC,"matches","^max-h:.");var bC=class extends N{};x(bC,"id","MaxWidth"),x(bC,"matches","^max-w:.");var vC=class extends N{};x(vC,"id","Display"),x(vC,"matches","^d:.");var wC=class extends N{};x(wC,"id","BoxSizing"),x(wC,"matches","^box:(?:$values)(?!\\|)");var _C=class extends N{};x(_C,"id","Opacity"),x(_C,"unit","");var TN=class extends N{};x(TN,"id","Visibility");var MN=class extends N{};x(MN,"id","Clear");var LN=class extends N{};x(LN,"id","Float");var FN=class extends N{};x(FN,"id","Isolation");var xC=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(xC,"id","Overflow"),x(xC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var SC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(SC,"id","OverscrollBehavior"),x(SC,"matches","^overscroll-behavior(?:-[xy])?:");var Dh=class extends N{};x(Dh,"id","ZIndex"),x(Dh,"matches","^z:."),x(Dh,"unit","");var Oh=class extends N{};x(Oh,"id","AnimationDelay"),x(Oh,"matches","^@delay:."),x(Oh,"unit","ms");var kC=class extends N{};x(kC,"id","AnimationDirection"),x(kC,"matches","^@direction:.");var EC=class extends N{};x(EC,"id","AnimationFillMode"),x(EC,"matches","^@fill-mode:.");var qh=class extends N{};x(qh,"id","AnimationIterationCount"),x(qh,"matches","^@iteration-count:."),x(qh,"unit","");var CC=class extends N{};x(CC,"id","AnimationName"),x(CC,"matches","^@name:.");var DC=class extends N{};x(DC,"id","AnimationPlayState"),x(DC,"matches","^@play-state:.");var OC=class extends N{};x(OC,"id","AnimationTimingFunction"),x(OC,"matches","^@easing:.");var Rh=class extends N{order=-1};x(Rh,"id","Animation"),x(Rh,"symbol","@"),x(Rh,"unit","");var gh="border-";function cg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=gh+"left"+r,s=gh+"right"+r,o=gh+"top"+r,a=gh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var oc=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(oc,"id","BorderColor"),x(oc,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(oc,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(oc,"colorful",!0);var Ah="border-top-left-radius",Ph="border-top-right-radius",Th="border-bottom-left-radius",Mh="border-bottom-right-radius",kN="border-radius",E0e=[Ah,Ph,Th,Mh],qC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ah]:t,[Ph]:t};case"tl":case"lt":return{[Ah]:t};case"rt":case"tr":return{[Ph]:t};case"b":return{[Th]:t,[Mh]:t};case"bl":case"lb":return{[Th]:t};case"br":case"rb":return{[Mh]:t};case"l":return{[Ah]:t,[Th]:t};case"r":return{[Ph]:t,[Mh]:t};default:return{[kN]:t}}}let e=this.prefix?.slice(0,-1);return{[E0e.includes(e)?e:kN]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(qC,"id","BorderRadius"),x(qC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var RC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderStyle"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var AC=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(AC,"id","BorderWidth"),x(AC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Lh=class extends N{static get prop(){return""}get(t){return cg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Lh,"id","Border"),x(Lh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Lh,"colorful",!0);var PC=class extends N{};x(PC,"id","BackgroundAttachment"),x(PC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var IN=class extends N{};x(IN,"id","BackgroundBlendMode");var TC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(TC,"id","BackgroundClip"),x(TC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var ac=class extends N{};x(ac,"id","BackgroundColor"),x(ac,"colorStarts","(?:bg|background):"),x(ac,"unit",""),x(ac,"colorful",!0);var MC=class extends N{};x(MC,"id","BackgroundOrigin"),x(MC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Fh=class extends N{};x(Fh,"id","BackgroundPosition"),x(Fh,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Fh,"unit","px");var LC=class extends N{};x(LC,"id","BackgroundRepeat"),x(LC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var FC=class extends N{};x(FC,"id","BackgroundSize"),x(FC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundImage"),x(Ih,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Ih,"colorful",!0);var Nh=class extends N{order=-1};x(Nh,"id","Background"),x(Nh,"matches","^bg:."),x(Nh,"colorful",!0);var IC=class extends N{};x(IC,"id","MixBlendMode"),x(IC,"matches","^blend:.");var NN=class extends N{};x(NN,"id","Position");function jN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var jh=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(jh,"id","BackdropFilter"),x(jh,"matches","^bd:."),x(jh,"colorful",!0);var $h=class extends N{};x($h,"id","Fill"),x($h,"colorStarts","fill:"),x($h,"colorful",!0);var NC=class extends N{};x(NC,"id","Stroke"),x(NC,"colorful",!0);var jC=class extends N{};x(jC,"id","StrokeWidth"),x(jC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Bh=class extends N{parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Bh,"id","Filter"),x(Bh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Bh,"colorful",!0);var $N=class extends N{};x($N,"id","Cursor");var BN=class extends N{};x(BN,"id","PointerEvents");var WN=class extends N{};x(WN,"id","Resize");var zN=class extends N{};x(zN,"id","TouchAction");var UN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(UN,"id","UserDrag");var HN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(HN,"id","UserSelect");var Wh=class extends N{};x(Wh,"id","BoxShadow"),x(Wh,"matches","^s(?:hadow)?:."),x(Wh,"colorful",!0);var $C=class extends N{};x($C,"id","TextShadow"),x($C,"colorful",!0);var EN=.75,BC=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="em"?r+EN+e:`calc(${r}${e} + ${EN}em)`,unit:""}}}};x(BC,"id","TextSize"),x(BC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var WC=class extends N{};x(WC,"id","WordBreak"),x(WC,"unit","");var zh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zh,"id","GridColumns"),x(zh,"matches","^grid-cols:."),x(zh,"unit","");var zC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(zC,"id","GridRows"),x(zC,"unit","");var UC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(UC,"id","Gap"),x(UC,"matches","^gap(?:-x|-y)?:.");var HC=class extends N{};x(HC,"id","WordSpacing"),x(HC,"unit","em");var Uh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Uh,"id","Variable"),x(Uh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Uh,"unit","");var Hh=class extends N{};x(Hh,"id","AspectRatio"),x(Hh,"matches","^aspect:."),x(Hh,"unit","");var VC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(VC,"id","BoxDecorationBreak"),x(VC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","BreakAfter");var GN=class extends N{};x(GN,"id","BreakBefore");var KN=class extends N{};x(KN,"id","BreakInside");var GC=class extends N{};x(GC,"id","FlexShrink"),x(GC,"unit","");var KC=class extends N{};x(KC,"id","FlexDirection"),x(KC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var YC=class extends N{};x(YC,"id","FlexGrow"),x(YC,"unit","");var QC=class extends N{};x(QC,"id","FlexWrap"),x(QC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var YN=class extends N{};x(YN,"id","FlexBasis");var JC=class extends N{order=-1};x(JC,"id","Flex"),x(JC,"unit","");var Vh=class extends N{};x(Vh,"id","Order"),x(Vh,"matches","^o:."),x(Vh,"unit","");var Gh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Gh,"id","GridColumn"),x(Gh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Gh,"unit","");var XC=class extends N{};x(XC,"id","ColumnSpan"),x(XC,"matches","^col-span:.");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridRow"),x(Kh,"matches","^grid-row-span:."),x(Kh,"unit","");var uc=class extends N{};x(uc,"id","Color"),x(uc,"matches","^(?:color|fg|foreground):."),x(uc,"colorful",!0),x(uc,"unit","");var ZC=class extends N{};x(ZC,"id","AlignContent"),x(ZC,"matches","^ac:.");var eD=class extends N{};x(eD,"id","AlignItems"),x(eD,"matches","^ai:.");var tD=class extends N{};x(tD,"id","AlignSelf"),x(tD,"matches","^as:");var rD=class extends N{};x(rD,"id","GridAutoColumns"),x(rD,"matches","^grid-auto-cols:.");var nD=class extends N{};x(nD,"id","GridAutoFlow"),x(nD,"matches","^grid-flow:.");var QN=class extends N{};x(QN,"id","GridAutoRows");var iD=class extends N{};x(iD,"id","JustifyContent"),x(iD,"matches","^jc:.");var sD=class extends N{};x(sD,"id","JustifyItems"),x(sD,"matches","^ji:.");var oD=class extends N{};x(oD,"id","JustifySelf"),x(oD,"matches","^js:.");var JN=class extends N{order=-1};x(JN,"id","PlaceContent");var XN=class extends N{order=-1};x(XN,"id","PlaceItems");var ZN=class extends N{order=-1};x(ZN,"id","PlaceSelf");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(aD,"id","Padding"),x(aD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(uD,"id","Margin"),x(uD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var lD=class extends N{};x(lD,"id","TextOverflow"),x(lD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var cD=class extends N{};x(cD,"id","ListStylePosition"),x(cD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var fD=class extends N{};x(fD,"id","ListStyleType"),x(fD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var e5=class extends N{order=-1};x(e5,"id","ListStyle");var Yh=class extends N{};x(Yh,"id","TextDecorationColor"),x(Yh,"colorStarts","text-decoration:"),x(Yh,"colorful",!0);var dD=class extends N{};x(dD,"id","TextDecorationStyle"),x(dD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Qh=class extends N{};x(Qh,"id","TextDecorationThickness"),x(Qh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Qh,"unit","em");var t5=class extends N{};x(t5,"id","TextIndent");var r5=class extends N{};x(r5,"id","Content");var Jh=class extends N{};x(Jh,"id","OutlineColor"),x(Jh,"colorStarts","outline:"),x(Jh,"colorful",!0);var n5=class extends N{};x(n5,"id","OutlineOffset");var pD=class extends N{};x(pD,"id","OutlineStyle"),x(pD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var hD=class extends N{};x(hD,"id","OutlineWidth"),x(hD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var gD=class extends N{order=-1};x(gD,"id","Outline"),x(gD,"colorful",!0);var mD=class extends N{};x(mD,"id","BorderCollapse"),x(mD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var i5=class extends N{};x(i5,"id","BorderSpacing");var s5=class extends N{};x(s5,"id","TableLayout");var Xh=class extends N{};x(Xh,"id","AccentColor"),x(Xh,"colorStarts","accent:"),x(Xh,"colorful",!0);var o5=class extends N{};x(o5,"id","Appearance");var Zh=class extends N{};x(Zh,"id","CaretColor"),x(Zh,"colorStarts","caret:"),x(Zh,"colorful",!0);var a5=class extends N{};x(a5,"id","ScrollBehavior");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(yD,"id","ScrollMargin"),x(yD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(bD,"id","ScrollPadding"),x(bD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var vD=class extends N{};x(vD,"id","ScrollSnapAlign"),x(vD,"matches","^scroll-snap:(?:start|end|center|$values)");var wD=class extends N{};x(wD,"id","ScrollSnapStop"),x(wD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var _D=class extends N{};x(_D,"id","ScrollSnapType"),x(_D,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","WillChange");var l5=class extends N{};x(l5,"id","TextUnderlineOffset");var xD=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(xD,"id","Inset"),x(xD,"matches","^(?:top|bottom|left|right):.");var eg=class extends N{order=-1};x(eg,"id","Columns"),x(eg,"matches","^(?:columns|cols):."),x(eg,"unit","");var SD=class extends N{};x(SD,"id","WhiteSpace"),x(SD,"unit","");var kD=class extends N{};x(kD,"id","TextOrientation"),x(kD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var ED=class extends N{};x(ED,"id","WritingMode"),x(ED,"matches","^writing:.");var c5=class extends N{};x(c5,"id","Contain");var tg=class extends N{};x(tg,"id","AnimationDuration"),x(tg,"matches","^@duration:."),x(tg,"unit","ms");var CD=class extends N{};x(CD,"id","TextRendering"),x(CD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var f5=class extends N{};x(f5,"id","Direction");var DD=class extends N{};x(DD,"id","TextDecorationLine"),x(DD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var rg=class extends N{};x(rg,"id","GridColumnStart"),x(rg,"matches","^grid-col-start:."),x(rg,"unit","");var OD=class extends N{};x(OD,"id","ListStyleImage"),x(OD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeOutside"),x(qD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var RD=class extends N{};x(RD,"id","ShapeMargin"),x(RD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var AD=class extends N{};x(AD,"id","ShapeImageThreshold"),x(AD,"unit","");var PD=class extends N{};x(PD,"id","ClipPath"),x(PD,"matches","^clip:.");var d5=class extends N{order=-1};x(d5,"id","Grid");var ng=class extends N{order=-1};x(ng,"id","Font"),x(ng,"matches","^f:."),x(ng,"unit","");var p5=class extends N{};x(p5,"id","Quotes");var h5=class extends N{order=-1};x(h5,"id","GridTemplate");var TD=class extends N{};x(TD,"id","GridRowStart"),x(TD,"unit","");var g5=class extends N{};x(g5,"id","GridTemplateAreas");var MD=class extends N{};x(MD,"id","GridTemplateColumns"),x(MD,"matches","^grid-template-cols:.");var m5=class extends N{};x(m5,"id","GridTemplateRows");var LD=class extends N{order=-1};x(LD,"id","GridArea"),x(LD,"unit","");var ig=class extends N{};x(ig,"id","GridColumnEnd"),x(ig,"matches","^grid-col-end:."),x(ig,"unit","");var FD=class extends N{};x(FD,"id","GridRowEnd"),x(FD,"unit","");var y5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(y5,"id","MaskImage");var lc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(lc,"id","TextFillColor"),x(lc,"matches","^text-fill-color:."),x(lc,"colorStarts","(?:text-fill|text|t):"),x(lc,"colorful",!0);var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(ID,"id","TextStroke"),x(ID,"matches","^text-stroke:.");var ND=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ND,"id","TextStrokeWidth"),x(ND,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(cc,"id","TextStrokeColor"),x(cc,"matches","^text-stroke-color:."),x(cc,"colorStarts","text-stroke:"),x(cc,"colorful",!0);var b5=class extends N{};x(b5,"id","StrokeDasharray");var v5=class extends N{};x(v5,"id","StrokeDashoffset");var jD=class extends N{};x(jD,"id","X"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Y"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cx"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Cy"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Rx"),x(zD,"unit","");var UD=class extends N{};x(UD,"id","Ry"),x(UD,"unit","");var w5=class extends N{};x(w5,"id","BorderImageOutset");var HD=class extends N{};x(HD,"id","BorderImageRepeat"),x(HD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var VD=class extends N{};x(VD,"id","BorderImageSlice"),x(VD,"unit","");var GD=class extends N{};x(GD,"id","BorderImageSource"),x(GD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var KD=class extends N{};x(KD,"id","BorderImageWidth"),x(KD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var YD=class extends N{};x(YD,"id","BorderImage"),x(YD,"unit","");var C0e=/\{(.*)\}/,sg=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...pc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(C0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ag&&c!=="'"&&c!=='"'&&(u++,l(ag[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(sg,"id","Group"),x(sg,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(sg,"unit","");var QD=class extends N{};x(QD,"id","CounterIncrement"),x(QD,"unit","");var JD=class extends N{};x(JD,"id","CounterReset"),x(JD,"unit","");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(XD,"id","WH"),x(XD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(ZD,"id","MinWH"),x(ZD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var eO=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...pc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(eO,"id","MaxWH"),x(eO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var D0e=[sg,Uh,ZE,mh,XE,bh,vh,sC,oC,ng,uc,eC,uD,aD,YN,QC,YC,GC,KC,JC,vC,tC,rC,nC,iC,XD,ZD,eO,c5,r5,QD,JD,yh,wh,aC,uC,lC,Yh,dD,Qh,DD,_h,l5,lD,kD,cC,CD,t5,fC,eg,SD,xD,xh,yC,bC,wC,_C,TN,MN,LN,FN,xC,SC,Dh,NN,$N,BN,WN,zN,WC,HC,UN,HN,$C,BC,lc,ND,cc,ID,Wh,s5,pC,dC,Sh,kh,gC,mC,Ch,Eh,hC,Oh,kC,tg,EC,qh,CC,DC,OC,Rh,oc,qC,RC,AC,mD,i5,w5,HD,VD,GD,KD,YD,Lh,PC,IN,ac,TC,MC,Fh,LC,FC,Ih,Nh,IC,jh,Bh,$h,b5,v5,jC,NC,jD,$D,BD,WD,zD,UD,rg,ig,Gh,zh,TD,FD,Kh,zC,rD,nD,QN,g5,MD,m5,h5,LD,d5,UC,Vh,KN,GN,VN,VC,Hh,XC,ZC,eD,tD,iD,sD,oD,JN,XN,ZN,cD,fD,OD,e5,Jh,n5,pD,hD,gD,Xh,o5,Zh,a5,yD,bD,vD,wD,_D,u5,ED,f5,qD,RD,AD,PD,p5,y5],O0e=D0e,q0e=!1,R0e=!0,A0e=!1,P0e={colors:i0e,breakpoints:QE,semantics:rO,values:m0e,selectors:l0e,themes:d0e,scheme:h0e,Rules:O0e,rootSize:s0e,scope:a0e,override:q0e,observe:R0e,important:A0e},CN=P0e,tO=typeof Buffer<"u"?Buffer:null;function _5(t){return!!(tO&&t instanceof tO||t instanceof Date||t instanceof RegExp)}function x5(t){if(tO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function S5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=S5(r):_5(r)?e[n]=x5(r):e[n]=ug({},r):e[n]=r}),e}function DN(t,e){return e==="__proto__"?void 0:t[e]}function ug(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=DN(e,s),r=DN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=S5(r);return}else if(_5(r)){e[s]=x5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=ug({},r);return}else{e[s]=ug(n,r);return}})}),e}var T0e=[",",".","#","[","!","*",">","+","~",":","@"],M0e=/^::-[a-z]+-/m,L0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,lg,dc=typeof window<"u";dc&&(lg=document.createElement("style"),lg.title="master");var Xr="max-width",Br="min-width",F0e="attributes",I0e=dc?window.MutationObserver:Object,fc,Co,og=class extends I0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===F0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),yN(this,fc,void 0),yN(this,Co,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=CN:this.config=ug(CN,this.config),this.cache(),dc&&this.config.observe&&this.observe(document),og.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Xa(this,fc)){bN(this,fc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Xa(this,fc)}set theme(t){t!==Xa(this,Co)&&(Xa(this,Co)&&this.host.classList.remove(Xa(this,Co)),bN(this,Co,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Xa(this,Co)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(M0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=L0e.exec(_);if(S){let q="#"+qN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(dc&&t){this.root=t;let r=t===document;r&&(og.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(T0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=lg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=lg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=og.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Xr],d=i.features[Br];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Xr],b=v.features[Br];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Xr],O=C.features[Br];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Br]&&S.media.features[Xr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr],g=y.features[Br];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Br]&&w.media.features[Xr],w=>!w.media.features[Br]&&!w.media.features[Xr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Br];if(!S.features[Xr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Xr];if(y.features[Br])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Br]&&b.media.features[Xr],b=>!b.media.features[Br]&&!b.media.features[Xr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Br],C=S.features[Xr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Br]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Xr]||f.media.features[Br]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Xr]||p.features[Br])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},or=og;fc=new WeakMap,Co=new WeakMap,x(or,"instances",[]),x(or,"root");dc&&(window.MasterCSS=or);var sc=typeof global<"u"?global:window;if(!sc.CSS&&!sc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};sc.CSS||(sc.CSS={}),sc.CSS.escape=t}function k5(t,e){if(!t?.length)return;let r=new or({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}var UF=require("perf_hooks");var uge=ut(require("fs"),1),GF=ut(Po(),1),Pk=ut(O$(),1);var DB=ut(dh(),1);var Ug=ut(require("node:process"),1),z$=ut(require("node:os"),1),Kq=ut(require("node:tty"),1),n1e=Object.create,B$=Object.defineProperty,i1e=Object.getOwnPropertyDescriptor,s1e=Object.getOwnPropertyNames,o1e=Object.getPrototypeOf,a1e=Object.prototype.hasOwnProperty,u1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),l1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s1e(e))!a1e.call(t,i)&&i!==r&&B$(t,i,{get:()=>e[i],enumerable:!(n=i1e(e,i))||n.enumerable});return t},c1e=(t,e,r)=>(r=t!=null?n1e(o1e(t)):{},l1e(e||!t||!t.__esModule?B$(r,"default",{value:t,enumerable:!0}):r,t)),f1e=u1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
467
467
|
`),u=null;return a.forEach(function(l){var c=l.match(/^(\s+)\S+/);if(c){var f=c[1].length;u?u=Math.min(u,f):u=f}}),u!==null&&(s=a.map(function(l){return l[0]===" "?l.slice(u):l}).join(`
|
|
468
468
|
`)),s=s.trim(),s.replace(/\\n/g,`
|
|
469
469
|
`)}typeof e<"u"&&(e.exports=r)}),ki=(t,e)=>{if(!t)throw new Error(e)},d1e=t=>{let e={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",separator:": ",renderFn:r=>["boolean","string","number"].includes(typeof r)?r:void 0,sortFn:null,breakCircularWith:" (circular ref.)",...t};return ki(Object.keys(e).length===9,"Unexpected Option(s) provided"),ki(typeof e.joined=="boolean",'Option "joined" has invalid format'),ki(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),ki(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),ki(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),ki(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),ki(typeof e.separator=="string",'Option "separator" has invalid format'),ki(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),ki(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),ki(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},W$=(t,e={})=>{let r=d1e(e),n=[],i=r.renderFn(t);i!==void 0&&n.push(String(i));let s=l=>r.sortFn===null?l.reverse():l.sort((c,f)=>r.sortFn(f,c)),o=[],a=s(Object.keys(t)).map(l=>[l]),u=[t];for(;a.length!==0;){let l=a.pop(),c=u[l.length-1][l[l.length-1]],f=r.breakCircularWith!==null&&u.includes(c);o[l.length-1]=a.length!==0&&a[a.length-1].length===l.length;let d=r.renderFn(c);n.push([o.slice(0,l.length-1).map(p=>p?r.spacerNeighbour:r.spacerNoNeighbour).join(""),o[l.length-1]?r.keyNeighbour:r.keyNoNeighbour,l[l.length-1],d===void 0?"":`${r.separator}${c}`,f?r.breakCircularWith:""].join("")),c instanceof Object&&!Array.isArray(c)&&!f&&(a.push(...s(Object.keys(c)).map(p=>l.concat(p))),u[l.length]=c)}return r.joined===!0?n.join(`
|
package/dist/server.mjs
CHANGED
|
@@ -463,7 +463,7 @@ You passed in: '`+this.raw_options[t]+"'");return n};So.prototype._is_valid_sele
|
|
|
463
463
|
`)),i=l+i.replace(/\n/g,`
|
|
464
464
|
`+l)}a&&(i?i=a+i+`
|
|
465
465
|
`+u:i=a+u),t.print_newline(!1),i&&(e.text=i,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}};Xn.prototype._handle_tag_open=function(t,e,r,n){var i=this._get_tag_open_token(e);return(r.is_unformatted||r.is_content_unformatted)&&!r.is_empty_element&&e.type===ht.TAG_OPEN&&e.text.indexOf("</")===0?(t.add_raw_token(e),i.start_tag_token=this._tag_stack.try_pop(i.tag_name)):(t.traverse_whitespace(e),this._set_tag_position(t,e,i,r,n),i.is_inline_element||t.set_wrap_point(),t.print_token(e)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(i.alignment_size=e.text.length+1),!i.tag_complete&&!i.is_unformatted&&(t.alignment_size=i.alignment_size),i};var ybe=function(t,e){if(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!e)this.tag_complete=!0;else{var r;this.tag_start_char=e.text[0],this.text=e.text,this.tag_start_char==="<"?(r=e.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=e.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(e.text.startsWith("{{#>")||e.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&e.next!==null?this.tag_check=e.next.text.split(" ")[0]:this.tag_check=e.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),e.type===ht.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&e.closed.text==="/>";var n=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(n=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(n)))}};Xn.prototype._get_tag_open_token=function(t){var e=new ybe(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||sh(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&sh(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&sh(e.tag_check,this._options.content_unformatted),e.is_inline_element=sh(e.tag_name,this._options.inline)||e.tag_name.includes("-")||e.tag_start_char==="{",e};Xn.prototype._set_tag_position=function(t,e,r,n,i){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(r),(r.tag_name==="script"||r.tag_name==="style")&&!(r.is_unformatted||r.is_content_unformatted)&&(r.custom_beautifier_name=JSt(r.tag_check,e)))),sh(r.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),r.is_empty_element){if(r.tag_start_char==="{"&&r.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0;var s=t.current_line_has_match(/{{#if/);s||t.print_newline(!1)}r.tag_name==="!--"&&i.type===ht.TAG_CLOSE&&n.is_end_tag&&r.text.indexOf(`
|
|
466
|
-
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Xn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var ZSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ekt=["a","audio","del","ins","map","noscript","video"];Xn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&ZSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||ekt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};bbe.exports.Beautifier=Xn});var wbe=m((D6t,aN)=>{"use strict";var tkt=vbe().Beautifier,rkt=nN().Options;function nkt(t,e,r,n){var i=new tkt(t,e,r,n);return i.beautify()}aN.exports=nkt;aN.exports.defaultOptions=function(){return new rkt}});var Ebe=m((O6t,RE)=>{"use strict";var _be=rbe(),xbe=cbe(),Sbe=wbe();function kbe(t,e,r,n){return r=r||_be,n=n||xbe,Sbe(t,e,r,n)}kbe.defaultOptions=Sbe.defaultOptions;RE.exports.js=_be;RE.exports.css=xbe;RE.exports.html=kbe});var Obe=m((q6t,Dbe)=>{"use strict";function Cbe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Cbe(t,e,r)}):function(t){var e=Ebe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Cbe(e,e,e)}(Dbe)});var Ak=Kt(ph(),1);var Xbe=Object.defineProperty,Zbe=(t,e,r)=>e in t?Xbe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(Zbe(t,typeof e!="symbol"?e+"":e,r),r),EN=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Za=(t,e,r)=>(EN(t,e,"read from private field"),r?r.call(t):e.get(t)),hN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},gN=(t,e,r,n)=>(EN(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),e0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},YE=e0e;function hh(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function CN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Yt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?hh(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+CN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=hh(t[l]),u(),a.length=0,i=o):i=hh(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?hh(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var t0e={slate:Yt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Yt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Yt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Yt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Yt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Yt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Yt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Yt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Yt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Yt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Yt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Yt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Yt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Yt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Yt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Yt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Yt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Yt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Yt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Yt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},r0e=t0e,n0e=16,i0e="",s0e=i0e,o0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},a0e=o0e,u0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},tO=u0e,l0e=["dark","light"],c0e=l0e,f0e={storage:{sync:!0,key:"scheme"}},d0e=f0e,ic={content:"content-box",border:"border-box",padding:"padding-box"},gh={min:"min-content",max:"max-content"},Os={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in YE)Os[t]=YE[t]/16+"rem";var p0e={BackgroundClip:ic,BackgroundOrigin:ic,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...ic,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:gh,GridAutoRows:gh,GridTemplateColumns:gh,GridTemplateRows:gh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...ic,margin:"margin-box"},TransformBox:{...ic,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Os,MinWidth:Os,MinHeight:Os,MaxWidth:Os,MaxHeight:Os,Height:Os,FlexBasis:Os},h0e=p0e;function UE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var g0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function DN(t,e,r){if(r){let n="",i=t.match(g0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function m0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=DN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function HE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=DN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:m0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ug={"(":")","'":"'",'"':'"',"{":"}"},y0e=["!","*",">","+","~",":","[","@","_"];function hc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ug)u(l,ug[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||y0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var mN=[":disabled",":active",":focus",":hover"],sc="matches",b0e="semantics",yN="symbol",ON="width",VE="max-"+ON,GE="min-"+ON,QE="motion",qN="reduce",bN=qN+"d-"+QE,KE="px",v0e="rem",w0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,_0e=t=>t.split(w0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===b0e){let[K,ue]=e.value;C=_.slice(K.length),S=ue}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let K;if(e.origin===sc){let ue=_.indexOf(":");this.prefix=_.slice(0,ue+1),this.prefix.includes("(")?(this.prefix=void 0,K=_):K=_.slice(ue+1)}else e.origin===yN&&(this.symbol=_[0],K=_.slice(1));[R,C]=hc(K,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=K=>{let ue=_0e(K),L=[],M="",ae=0;for(let ne=0;ne<ue.length;ne++){let de=ue[ne];if(de==="\\"){M+=de+ue[++ne];continue}!ae&&de===","?(L.push(M),M=""):(M+=de,ae&&de===")"?ae--:de==="("&&ae++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let K=(ne,de,le,se)=>{for(let[he,we]of de)if(he.test(ne)){for(let De of we)K(ne.replace(he,De),de,le,!0);return}se&&le.push(ne)},ue=[];""in h?K(F,h[""],ue,!0):ue.push(F);let L={};for(let[ne,de]of Object.entries(h)){if(!ne)continue;let le=[];for(let se of ue)K(se,de,le,!1);le.length&&(L[ne]=le)}let M=(ne,de)=>{let le=de.reduce((se,he)=>(se.push(...O(he)),se),[]);ne in this.vendorSuffixSelectors?this.vendorSuffixSelectors[ne].push(...le):this.vendorSuffixSelectors[ne]=le},ae=Object.keys(L);if(ae.length)for(let ne of ae)M(ne,L[ne]);else M("",ue);for(let ne of Object.values(this.vendorSuffixSelectors))for(let de of ne){this.hasWhere!==!1&&(this.hasWhere=de.includes(":where("));for(let le=0;le<mN.length;le++)if(de.includes(mN[le])){(this.priority===-1||this.priority>le)&&(this.priority=le);break}}}else this.vendorSuffixSelectors={"":[""]};for(let K=1;K<z.length;K++){let ue=z[K];if(ue)if(f.includes(ue))this.theme=ue;else if(ue==="rtl"||ue==="ltr")this.direction=ue;else{let L,M,ae=ue.indexOf("_");if(ae!==-1)L=ue.slice(0,ae),M=ue.slice(ae);else{let ne=ue.indexOf("(");ne!==-1&&(L=ue.slice(0,ne),M=ue.slice(ne))}if(!L){L="media";let ne=[];this.media={token:ue,features:{}};let de=ue.split("&");for(let le of de)if(le==="all"||le==="print"||le==="screen"||le==="speech")this.media.type=le;else if(le==="\u{1F5A8}")this.media.type="print";else if(le==="landscape"||le==="portrait")ne.push("(orientation:"+le+")");else if(le===QE||le===bN)ne.push("(prefers-"+bN+":"+(le===QE?"no-preference":qN)+")");else if(g&&le in g)ne.push(g[le]);else{let se={token:le},he="",we="",De=0;le.startsWith("<=")?(we="<=",he=VE):le.startsWith(">=")||v[le]?(we=">=",he=GE):le.startsWith(">")?(we=">",he=GE,De=.02):le.startsWith("<")&&(we="<",he=VE,De=-.02);let Je=we?le.replace(we,""):le,ve=v[Je];switch(he){case VE:case GE:ve?Object.assign(se,HE(ve,KE)):Object.assign(se,HE(Je,KE)),se.unit===KE&&(se.value+=De),this.media.features[he]=se,ne.push("("+he+":"+(se.value+se.unit)+")");break}}M="",this.media.type&&(M=this.media.type),ne.length&&(M+=(M?" and ":"")+ne.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let te=(K,ue)=>{let L,M,ae=(de,le,se)=>{let he="";this.direction&&(he+="[dir="+this.direction+"] ");let we=this.prefixSelectors.map(ve=>ve+he),De=(ve,Ct)=>we.map(dt=>(ve?"."+ve+" ":"")+(l?l+" ":"")+dt).reduce((dt,pe)=>(dt.push(se.reduce((ce,ie)=>(ce.push(pe+"."+CSS.escape(Ct)+ie),ce),[]).join(",")),dt),[]).join(","),Je=De(le,t)+(w?Object.entries(w).filter(([ve])=>this.theme||!o||!le||!ve||ve===le).map(([ve,Ct])=>Ct.reduce((dt,pe)=>dt+","+De(this.theme??((o||this.getThemeProps)&&le||ve),pe),"")).join(""):"")+"{"+de+"}";for(let ve of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Je="@"+ve+" "+this.at[ve]+"{"+Je+"}";return Je},ne=[];if(R){let de,le;for(let se of R)typeof se=="string"?ne.push(se):(de=HE(se.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[K]),de.colorMatched!==void 0&&le!==!0&&(le=de.colorMatched),ne.push(de.value+de.unit));if(ue&&(le===void 0?K:!le))return;if(ne.length===1?de?(L=de.value,M=de.unit):L=ne[0]:L=ne.reduce((se,he,we)=>se+he+(he===","||R[we+1]===","||we===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let se={unit:M,value:L,important:this.important};if(this.getThemeProps){let he=this.getThemeProps(se,r);for(let we in he)for(let De of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:ae(Object.entries(he[we]).map(([Je,ve])=>UE(Je,{important:(this.important||c)&&!ve.endsWith("!important"),unit:"",value:ve})).join(";"),we,De),theme:we});return}else this.get&&(L=this.get(se))}}else L=S;for(let de of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:ae(typeof L=="object"?Object.entries(L).map(([le,se])=>UE(le,{...typeof se=="object"?se:{unit:"",value:se},important:this.important||c})).join(";"):UE(a,{unit:M,value:L,important:this.important||c}),K,de),theme:K})};if(this.getThemeProps)te(void 0,!1);else if(this.theme)te(this.theme,!1);else if(o)for(let K of f)te(K,!0);else te("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:sc};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:sc};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:sc}}}if(s&&t.startsWith(s))return{origin:yN};if(o&&t.startsWith(o+":"))return{origin:sc}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",v0e),x(N,"colorful");var yh=class extends N{};x(yh,"id","FontWeight"),x(yh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(yh,"unit","");var JE=class extends N{};x(JE,"id","FontFamily"),x(JE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var XE=class extends N{};x(XE,"id","FontSize"),x(XE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var ZE=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(ZE,"id","Spacing"),x(ZE,"matches","^[pm][xytblr]?:.");var eC=class extends N{};x(eC,"id","Width"),x(eC,"matches","^w:.");var tC=class extends N{};x(tC,"id","Height"),x(tC,"matches","^h:.");var rC=class extends N{};x(rC,"id","MinWidth"),x(rC,"matches","^min-w:.");var nC=class extends N{};x(nC,"id","MinHeight"),x(nC,"matches","^min-h:.");var bh=class extends N{};x(bh,"id","LetterSpacing"),x(bh,"matches","^ls:."),x(bh,"unit","em");var x0e="subpixel-antialiased",vN="-webkit-font-smoothing",wN="-moz-osx-font-smoothing",vh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case x0e:e[vN]=e[wN]={...t,value:"auto"};break;case"antialiased":e[vN]={...t,value:"antialiased"},e[wN]={...t,value:"grayscale"};break}return e}};x(vh,"id","FontSmoothing"),x(vh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(vh,"unit","");var wh=class extends N{};x(wh,"id","FontStyle"),x(wh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(wh,"unit","deg");var iC=class extends N{};x(iC,"id","FontVariantNumeric"),x(iC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var sC=class extends N{};x(sC,"id","FontFeatureSettings"),x(sC,"matches","^font-feature:.");var _h=class extends N{};x(_h,"id","LineHeight"),x(_h,"matches","^lh:."),x(_h,"unit","");var oC=class extends N{};x(oC,"id","ObjectFit"),x(oC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var aC=class extends N{};x(aC,"id","ObjectPosition"),x(aC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var uC=class extends N{};x(uC,"id","TextAlign"),x(uC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var xh=class extends N{order=-1};x(xh,"id","TextDecoration"),x(xh,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(xh,"colorful",!0);var lC=class extends N{};x(lC,"id","TextTransform"),x(lC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var cC=class extends N{};x(cC,"id","VerticalAlign"),x(cC,"matches","^(?:v|vertical):.");var Sh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(Sh,"id","Lines"),x(Sh,"matches","^lines:."),x(Sh,"unit","");var kh=class extends N{};x(kh,"id","TransformOrigin"),x(kh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(kh,"unit","px");var fC=class extends N{};x(fC,"id","TransformStyle"),x(fC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var dC=class extends N{};x(dC,"id","TransformBox"),x(dC,"matches","^transform:(?:$values)(?!\\|)");var Eh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(Eh,"id","Transform"),x(Eh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(Eh,"unit","");var pC=class extends N{order=-1};x(pC,"id","Transition"),x(pC,"symbol","~");var Ch=class extends N{};x(Ch,"id","TransitionDelay"),x(Ch,"matches","^~delay:."),x(Ch,"unit","ms");var Dh=class extends N{};x(Dh,"id","TransitionDuration"),x(Dh,"matches","^~duration:."),x(Dh,"unit","ms");var hC=class extends N{};x(hC,"id","TransitionProperty"),x(hC,"matches","^~property:.");var gC=class extends N{};x(gC,"id","TransitionTimingFunction"),x(gC,"matches","^~easing:.");var mC=class extends N{};x(mC,"id","MaxHeight"),x(mC,"matches","^max-h:.");var yC=class extends N{};x(yC,"id","MaxWidth"),x(yC,"matches","^max-w:.");var bC=class extends N{};x(bC,"id","Display"),x(bC,"matches","^d:.");var vC=class extends N{};x(vC,"id","BoxSizing"),x(vC,"matches","^box:(?:$values)(?!\\|)");var wC=class extends N{};x(wC,"id","Opacity"),x(wC,"unit","");var RN=class extends N{};x(RN,"id","Visibility");var AN=class extends N{};x(AN,"id","Clear");var PN=class extends N{};x(PN,"id","Float");var TN=class extends N{};x(TN,"id","Isolation");var _C=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(_C,"id","Overflow"),x(_C,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var xC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(xC,"id","OverscrollBehavior"),x(xC,"matches","^overscroll-behavior(?:-[xy])?:");var Oh=class extends N{};x(Oh,"id","ZIndex"),x(Oh,"matches","^z:."),x(Oh,"unit","");var qh=class extends N{};x(qh,"id","AnimationDelay"),x(qh,"matches","^@delay:."),x(qh,"unit","ms");var SC=class extends N{};x(SC,"id","AnimationDirection"),x(SC,"matches","^@direction:.");var kC=class extends N{};x(kC,"id","AnimationFillMode"),x(kC,"matches","^@fill-mode:.");var Rh=class extends N{};x(Rh,"id","AnimationIterationCount"),x(Rh,"matches","^@iteration-count:."),x(Rh,"unit","");var EC=class extends N{};x(EC,"id","AnimationName"),x(EC,"matches","^@name:.");var CC=class extends N{};x(CC,"id","AnimationPlayState"),x(CC,"matches","^@play-state:.");var DC=class extends N{};x(DC,"id","AnimationTimingFunction"),x(DC,"matches","^@easing:.");var Ah=class extends N{order=-1};x(Ah,"id","Animation"),x(Ah,"symbol","@"),x(Ah,"unit","");var mh="border-";function fg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=mh+"left"+r,s=mh+"right"+r,o=mh+"top"+r,a=mh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var ac=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(ac,"id","BorderColor"),x(ac,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(ac,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(ac,"colorful",!0);var Ph="border-top-left-radius",Th="border-top-right-radius",Mh="border-bottom-left-radius",Lh="border-bottom-right-radius",_N="border-radius",S0e=[Ph,Th,Mh,Lh],OC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ph]:t,[Th]:t};case"tl":case"lt":return{[Ph]:t};case"rt":case"tr":return{[Th]:t};case"b":return{[Mh]:t,[Lh]:t};case"bl":case"lb":return{[Mh]:t};case"br":case"rb":return{[Lh]:t};case"l":return{[Ph]:t,[Mh]:t};case"r":return{[Th]:t,[Lh]:t};default:return{[_N]:t}}}let e=this.prefix?.slice(0,-1);return{[S0e.includes(e)?e:_N]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(OC,"id","BorderRadius"),x(OC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var qC=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(qC,"id","BorderStyle"),x(qC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var RC=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderWidth"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Fh=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Fh,"id","Border"),x(Fh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Fh,"colorful",!0);var AC=class extends N{};x(AC,"id","BackgroundAttachment"),x(AC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var MN=class extends N{};x(MN,"id","BackgroundBlendMode");var PC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(PC,"id","BackgroundClip"),x(PC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var uc=class extends N{};x(uc,"id","BackgroundColor"),x(uc,"colorStarts","(?:bg|background):"),x(uc,"unit",""),x(uc,"colorful",!0);var TC=class extends N{};x(TC,"id","BackgroundOrigin"),x(TC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundPosition"),x(Ih,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Ih,"unit","px");var MC=class extends N{};x(MC,"id","BackgroundRepeat"),x(MC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var LC=class extends N{};x(LC,"id","BackgroundSize"),x(LC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Nh=class extends N{};x(Nh,"id","BackgroundImage"),x(Nh,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Nh,"colorful",!0);var jh=class extends N{order=-1};x(jh,"id","Background"),x(jh,"matches","^bg:."),x(jh,"colorful",!0);var FC=class extends N{};x(FC,"id","MixBlendMode"),x(FC,"matches","^blend:.");var LN=class extends N{};x(LN,"id","Position");function FN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var $h=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return FN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x($h,"id","BackdropFilter"),x($h,"matches","^bd:."),x($h,"colorful",!0);var Bh=class extends N{};x(Bh,"id","Fill"),x(Bh,"colorStarts","fill:"),x(Bh,"colorful",!0);var IC=class extends N{};x(IC,"id","Stroke"),x(IC,"colorful",!0);var NC=class extends N{};x(NC,"id","StrokeWidth"),x(NC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Wh=class extends N{parseValue(t,e){return FN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Wh,"id","Filter"),x(Wh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Wh,"colorful",!0);var IN=class extends N{};x(IN,"id","Cursor");var NN=class extends N{};x(NN,"id","PointerEvents");var jN=class extends N{};x(jN,"id","Resize");var $N=class extends N{};x($N,"id","TouchAction");var BN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(BN,"id","UserDrag");var WN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(WN,"id","UserSelect");var zh=class extends N{};x(zh,"id","BoxShadow"),x(zh,"matches","^s(?:hadow)?:."),x(zh,"colorful",!0);var jC=class extends N{};x(jC,"id","TextShadow"),x(jC,"colorful",!0);var xN=.75,$C=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="rem"?r+xN+e:`calc(${r}${e} + ${xN}em)`,unit:""}}}};x($C,"id","TextSize"),x($C,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var BC=class extends N{};x(BC,"id","WordBreak"),x(BC,"unit","");var Uh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(Uh,"id","GridColumns"),x(Uh,"matches","^grid-cols:."),x(Uh,"unit","");var WC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(WC,"id","GridRows"),x(WC,"unit","");var zC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(zC,"id","Gap"),x(zC,"matches","^gap(?:-x|-y)?:.");var UC=class extends N{};x(UC,"id","WordSpacing"),x(UC,"unit","em");var Hh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Hh,"id","Variable"),x(Hh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Hh,"unit","");var Vh=class extends N{};x(Vh,"id","AspectRatio"),x(Vh,"matches","^aspect:."),x(Vh,"unit","");var HC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(HC,"id","BoxDecorationBreak"),x(HC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var zN=class extends N{};x(zN,"id","BreakAfter");var UN=class extends N{};x(UN,"id","BreakBefore");var HN=class extends N{};x(HN,"id","BreakInside");var VC=class extends N{};x(VC,"id","FlexShrink"),x(VC,"unit","");var GC=class extends N{};x(GC,"id","FlexDirection"),x(GC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var KC=class extends N{};x(KC,"id","FlexGrow"),x(KC,"unit","");var YC=class extends N{};x(YC,"id","FlexWrap"),x(YC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","FlexBasis");var QC=class extends N{order=-1};x(QC,"id","Flex"),x(QC,"unit","");var Gh=class extends N{};x(Gh,"id","Order"),x(Gh,"matches","^o:."),x(Gh,"unit","");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridColumn"),x(Kh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Kh,"unit","");var JC=class extends N{};x(JC,"id","ColumnSpan"),x(JC,"matches","^col-span:.");var Yh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Yh,"id","GridRow"),x(Yh,"matches","^grid-row-span:."),x(Yh,"unit","");var lc=class extends N{};x(lc,"id","Color"),x(lc,"matches","^(?:color|fg|foreground):."),x(lc,"colorful",!0),x(lc,"unit","");var XC=class extends N{};x(XC,"id","AlignContent"),x(XC,"matches","^ac:.");var ZC=class extends N{};x(ZC,"id","AlignItems"),x(ZC,"matches","^ai:.");var eD=class extends N{};x(eD,"id","AlignSelf"),x(eD,"matches","^as:");var tD=class extends N{};x(tD,"id","GridAutoColumns"),x(tD,"matches","^grid-auto-cols:.");var rD=class extends N{};x(rD,"id","GridAutoFlow"),x(rD,"matches","^grid-flow:.");var GN=class extends N{};x(GN,"id","GridAutoRows");var nD=class extends N{};x(nD,"id","JustifyContent"),x(nD,"matches","^jc:.");var iD=class extends N{};x(iD,"id","JustifyItems"),x(iD,"matches","^ji:.");var sD=class extends N{};x(sD,"id","JustifySelf"),x(sD,"matches","^js:.");var KN=class extends N{order=-1};x(KN,"id","PlaceContent");var YN=class extends N{order=-1};x(YN,"id","PlaceItems");var QN=class extends N{order=-1};x(QN,"id","PlaceSelf");var oD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(oD,"id","Padding"),x(oD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(aD,"id","Margin"),x(aD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{};x(uD,"id","TextOverflow"),x(uD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var lD=class extends N{};x(lD,"id","ListStylePosition"),x(lD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var cD=class extends N{};x(cD,"id","ListStyleType"),x(cD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var JN=class extends N{order=-1};x(JN,"id","ListStyle");var Qh=class extends N{};x(Qh,"id","TextDecorationColor"),x(Qh,"colorStarts","text-decoration:"),x(Qh,"colorful",!0);var fD=class extends N{};x(fD,"id","TextDecorationStyle"),x(fD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Jh=class extends N{};x(Jh,"id","TextDecorationThickness"),x(Jh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Jh,"unit","em");var XN=class extends N{};x(XN,"id","TextIndent");var ZN=class extends N{};x(ZN,"id","Content");var Xh=class extends N{};x(Xh,"id","OutlineColor"),x(Xh,"colorStarts","outline:"),x(Xh,"colorful",!0);var e5=class extends N{};x(e5,"id","OutlineOffset");var dD=class extends N{};x(dD,"id","OutlineStyle"),x(dD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var pD=class extends N{};x(pD,"id","OutlineWidth"),x(pD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var hD=class extends N{order=-1};x(hD,"id","Outline"),x(hD,"colorful",!0);var gD=class extends N{};x(gD,"id","BorderCollapse"),x(gD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var t5=class extends N{};x(t5,"id","BorderSpacing");var r5=class extends N{};x(r5,"id","TableLayout");var Zh=class extends N{};x(Zh,"id","AccentColor"),x(Zh,"colorStarts","accent:"),x(Zh,"colorful",!0);var n5=class extends N{};x(n5,"id","Appearance");var eg=class extends N{};x(eg,"id","CaretColor"),x(eg,"colorStarts","caret:"),x(eg,"colorful",!0);var i5=class extends N{};x(i5,"id","ScrollBehavior");var mD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(mD,"id","ScrollMargin"),x(mD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(yD,"id","ScrollPadding"),x(yD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{};x(bD,"id","ScrollSnapAlign"),x(bD,"matches","^scroll-snap:(?:start|end|center|$values)");var vD=class extends N{};x(vD,"id","ScrollSnapStop"),x(vD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var wD=class extends N{};x(wD,"id","ScrollSnapType"),x(wD,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var s5=class extends N{};x(s5,"id","WillChange");var o5=class extends N{};x(o5,"id","TextUnderlineOffset");var _D=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(_D,"id","Inset"),x(_D,"matches","^(?:top|bottom|left|right):.");var tg=class extends N{order=-1};x(tg,"id","Columns"),x(tg,"matches","^(?:columns|cols):."),x(tg,"unit","");var xD=class extends N{};x(xD,"id","WhiteSpace"),x(xD,"unit","");var SD=class extends N{};x(SD,"id","TextOrientation"),x(SD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var kD=class extends N{};x(kD,"id","WritingMode"),x(kD,"matches","^writing:.");var a5=class extends N{};x(a5,"id","Contain");var rg=class extends N{};x(rg,"id","AnimationDuration"),x(rg,"matches","^@duration:."),x(rg,"unit","ms");var ED=class extends N{};x(ED,"id","TextRendering"),x(ED,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","Direction");var CD=class extends N{};x(CD,"id","TextDecorationLine"),x(CD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var ng=class extends N{};x(ng,"id","GridColumnStart"),x(ng,"matches","^grid-col-start:."),x(ng,"unit","");var DD=class extends N{};x(DD,"id","ListStyleImage"),x(DD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var OD=class extends N{};x(OD,"id","ShapeOutside"),x(OD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeMargin"),x(qD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var RD=class extends N{};x(RD,"id","ShapeImageThreshold"),x(RD,"unit","");var AD=class extends N{};x(AD,"id","ClipPath"),x(AD,"matches","^clip:.");var l5=class extends N{order=-1};x(l5,"id","Grid");var ig=class extends N{order=-1};x(ig,"id","Font"),x(ig,"matches","^f:."),x(ig,"unit","");var c5=class extends N{};x(c5,"id","Quotes");var f5=class extends N{order=-1};x(f5,"id","GridTemplate");var PD=class extends N{};x(PD,"id","GridRowStart"),x(PD,"unit","");var d5=class extends N{};x(d5,"id","GridTemplateAreas");var TD=class extends N{};x(TD,"id","GridTemplateColumns"),x(TD,"matches","^grid-template-cols:.");var p5=class extends N{};x(p5,"id","GridTemplateRows");var MD=class extends N{order=-1};x(MD,"id","GridArea"),x(MD,"unit","");var sg=class extends N{};x(sg,"id","GridColumnEnd"),x(sg,"matches","^grid-col-end:."),x(sg,"unit","");var LD=class extends N{};x(LD,"id","GridRowEnd"),x(LD,"unit","");var h5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(h5,"id","MaskImage");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(cc,"id","TextFillColor"),x(cc,"matches","^text-fill-color:."),x(cc,"colorStarts","(?:text-fill|text|t):"),x(cc,"colorful",!0);var FD=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(FD,"id","TextStroke"),x(FD,"matches","^text-stroke:.");var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ID,"id","TextStrokeWidth"),x(ID,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var fc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(fc,"id","TextStrokeColor"),x(fc,"matches","^text-stroke-color:."),x(fc,"colorStarts","text-stroke:"),x(fc,"colorful",!0);var g5=class extends N{};x(g5,"id","StrokeDasharray");var m5=class extends N{};x(m5,"id","StrokeDashoffset");var ND=class extends N{};x(ND,"id","X"),x(ND,"unit","");var jD=class extends N{};x(jD,"id","Y"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Cx"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cy"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Rx"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Ry"),x(zD,"unit","");var y5=class extends N{};x(y5,"id","BorderImageOutset");var UD=class extends N{};x(UD,"id","BorderImageRepeat"),x(UD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var HD=class extends N{};x(HD,"id","BorderImageSlice"),x(HD,"unit","");var VD=class extends N{};x(VD,"id","BorderImageSource"),x(VD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var GD=class extends N{};x(GD,"id","BorderImageWidth"),x(GD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var KD=class extends N{};x(KD,"id","BorderImage"),x(KD,"unit","");var k0e=/\{(.*)\}/,og=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...hc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(k0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ug&&c!=="'"&&c!=='"'&&(u++,l(ug[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(og,"id","Group"),x(og,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(og,"unit","");var YD=class extends N{};x(YD,"id","CounterIncrement"),x(YD,"unit","");var QD=class extends N{};x(QD,"id","CounterReset"),x(QD,"unit","");var JD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(JD,"id","WH"),x(JD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(XD,"id","MinWH"),x(XD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(ZD,"id","MaxWH"),x(ZD,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var E0e=[og,Hh,XE,yh,JE,vh,wh,iC,sC,ig,lc,ZE,aD,oD,VN,YC,KC,VC,GC,QC,bC,eC,tC,rC,nC,JD,XD,ZD,a5,ZN,YD,QD,bh,_h,oC,aC,uC,Qh,fD,Jh,CD,xh,o5,uD,SD,lC,ED,XN,cC,tg,xD,_D,Sh,mC,yC,vC,wC,RN,AN,PN,TN,_C,xC,Oh,LN,IN,NN,jN,$N,BC,UC,BN,WN,jC,$C,cc,ID,fc,FD,zh,r5,dC,fC,kh,Eh,hC,gC,Dh,Ch,pC,qh,SC,rg,kC,Rh,EC,CC,DC,Ah,ac,OC,qC,RC,gD,t5,y5,UD,HD,VD,GD,KD,Fh,AC,MN,uc,PC,TC,Ih,MC,LC,Nh,jh,FC,$h,Wh,Bh,g5,m5,NC,IC,ND,jD,$D,BD,WD,zD,ng,sg,Kh,Uh,PD,LD,Yh,WC,tD,rD,GN,d5,TD,p5,f5,MD,l5,zC,Gh,HN,UN,zN,HC,Vh,JC,XC,ZC,eD,nD,iD,sD,KN,YN,QN,lD,cD,DD,JN,Xh,e5,dD,pD,hD,Zh,n5,eg,i5,mD,yD,bD,vD,wD,s5,kD,u5,OD,qD,RD,AD,c5,h5],C0e=E0e,D0e=!1,O0e=!0,q0e=!1,R0e={colors:r0e,breakpoints:YE,semantics:tO,values:h0e,selectors:a0e,themes:c0e,scheme:d0e,Rules:C0e,rootSize:n0e,scope:s0e,override:D0e,observe:O0e,important:q0e},SN=R0e,eO=typeof Buffer<"u"?Buffer:null;function b5(t){return!!(eO&&t instanceof eO||t instanceof Date||t instanceof RegExp)}function v5(t){if(eO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function w5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=w5(r):b5(r)?e[n]=v5(r):e[n]=lg({},r):e[n]=r}),e}function kN(t,e){return e==="__proto__"?void 0:t[e]}function lg(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=kN(e,s),r=kN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=w5(r);return}else if(b5(r)){e[s]=v5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=lg({},r);return}else{e[s]=lg(n,r);return}})}),e}var A0e=[",",".","#","[","!","*",">","+","~",":","@"],P0e=/^::-[a-z]+-/m,T0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,cg,pc=typeof window<"u";pc&&(cg=document.createElement("style"),cg.title="master");var Zr="max-width",Wr="min-width",M0e="attributes",L0e=pc?window.MutationObserver:Object,dc,Do,ag=class extends L0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===M0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),hN(this,dc,void 0),hN(this,Do,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=SN:this.config=lg(SN,this.config),this.cache(),pc&&this.config.observe&&this.observe(document),ag.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Za(this,dc)){gN(this,dc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Za(this,dc)}set theme(t){t!==Za(this,Do)&&(Za(this,Do)&&this.host.classList.remove(Za(this,Do)),gN(this,Do,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Za(this,Do)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(P0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=T0e.exec(_);if(S){let q="#"+CN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(pc&&t){this.root=t;let r=t===document;r&&(ag.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(A0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=cg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=cg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=ag.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Zr],d=i.features[Wr];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Zr],b=v.features[Wr];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Zr],O=C.features[Wr];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Wr]&&S.media.features[Zr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Zr],g=y.features[Wr];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Wr]&&w.media.features[Zr],w=>!w.media.features[Wr]&&!w.media.features[Zr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Wr];if(!S.features[Zr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Zr];if(y.features[Wr])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Wr]&&b.media.features[Zr],b=>!b.media.features[Wr]&&!b.media.features[Zr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Wr],C=S.features[Zr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Wr]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Zr]||f.media.features[Wr]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Zr]||p.features[Wr])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},ar=ag;dc=new WeakMap,Do=new WeakMap,x(ar,"instances",[]),x(ar,"root");pc&&(window.MasterCSS=ar);var oc=typeof global<"u"?global:window;if(!oc.CSS&&!oc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};oc.CSS||(oc.CSS={}),oc.CSS.escape=t}function _5(t,e){if(!t?.length)return;let r=new ar({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}import{performance as Uhe}from"perf_hooks";var UF=Kt(To(),1),Pk=Kt(E$(),1);import m0t from"fs";var EB=Kt(ph(),1);import Qq from"node:process";import g1e from"node:os";import q$ from"node:tty";var t1e=Object.create,j$=Object.defineProperty,r1e=Object.getOwnPropertyDescriptor,n1e=Object.getOwnPropertyNames,i1e=Object.getPrototypeOf,s1e=Object.prototype.hasOwnProperty,o1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),a1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of n1e(e))!s1e.call(t,i)&&i!==r&&j$(t,i,{get:()=>e[i],enumerable:!(n=r1e(e,i))||n.enumerable});return t},u1e=(t,e,r)=>(r=t!=null?t1e(i1e(t)):{},a1e(e||!t||!t.__esModule?j$(r,"default",{value:t,enumerable:!0}):r,t)),l1e=o1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
466
|
+
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Xn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var ZSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ekt=["a","audio","del","ins","map","noscript","video"];Xn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&ZSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||ekt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};bbe.exports.Beautifier=Xn});var wbe=m((D6t,aN)=>{"use strict";var tkt=vbe().Beautifier,rkt=nN().Options;function nkt(t,e,r,n){var i=new tkt(t,e,r,n);return i.beautify()}aN.exports=nkt;aN.exports.defaultOptions=function(){return new rkt}});var Ebe=m((O6t,RE)=>{"use strict";var _be=rbe(),xbe=cbe(),Sbe=wbe();function kbe(t,e,r,n){return r=r||_be,n=n||xbe,Sbe(t,e,r,n)}kbe.defaultOptions=Sbe.defaultOptions;RE.exports.js=_be;RE.exports.css=xbe;RE.exports.html=kbe});var Obe=m((q6t,Dbe)=>{"use strict";function Cbe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return Cbe(t,e,r)}):function(t){var e=Ebe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Cbe(e,e,e)}(Dbe)});var Ak=Kt(ph(),1);var Xbe=Object.defineProperty,Zbe=(t,e,r)=>e in t?Xbe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,x=(t,e,r)=>(Zbe(t,typeof e!="symbol"?e+"":e,r),r),EN=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Za=(t,e,r)=>(EN(t,e,"read from private field"),r?r.call(t):e.get(t)),hN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},gN=(t,e,r,n)=>(EN(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),e0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},YE=e0e;function hh(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function CN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Yt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?hh(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+CN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=hh(t[l]),u(),a.length=0,i=o):i=hh(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?hh(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var t0e={slate:Yt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Yt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Yt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Yt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Yt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Yt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Yt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Yt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Yt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Yt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Yt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Yt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Yt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Yt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Yt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Yt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Yt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Yt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Yt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Yt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},r0e=t0e,n0e=16,i0e="",s0e=i0e,o0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},a0e=o0e,u0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},tO=u0e,l0e=["dark","light"],c0e=l0e,f0e={storage:{sync:!0,key:"scheme"}},d0e=f0e,ic={content:"content-box",border:"border-box",padding:"padding-box"},gh={min:"min-content",max:"max-content"},Os={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in YE)Os[t]=YE[t]/16+"rem";var p0e={BackgroundClip:ic,BackgroundOrigin:ic,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...ic,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:gh,GridAutoRows:gh,GridTemplateColumns:gh,GridTemplateRows:gh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...ic,margin:"margin-box"},TransformBox:{...ic,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Os,MinWidth:Os,MinHeight:Os,MaxWidth:Os,MaxHeight:Os,Height:Os,FlexBasis:Os},h0e=p0e;function UE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var g0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function DN(t,e,r){if(r){let n="",i=t.match(g0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function m0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=DN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function HE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let v=n[h];if(v){let g;for(let b of s)if(g=v[b])break;if(g){c=!0;let b=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),b+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+b}}return d}),f&&(u=c)}let l=DN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:m0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ug={"(":")","'":"'",'"':'"',"{":"}"},y0e=["!","*",">","+","~",":","[","@","_"];function hc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d="",p=[],h=[]){let y,v=!1;c&&(c===")"&&o.slice(-1)==="$"?y=o.length-1:(c==="'"||c==='"')&&(v=!0),o+=l[a++]);let g=()=>{let b=o;if(o="",e&&b in e&&!p.includes(b)){let w=a;a=0,u(e[b].toString(),void 0,void 0,void 0,[...p,b],h),a=w}else if(r&&b in r&&!h.includes(b)){let w=a;a=0,u(r[b].toString(),void 0,void 0,void 0,p,[...h,b]),a=w}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,v){let w=0;for(let _=o.length-2;o[_]==="\\";_--)w++;if(w%2)continue}y!==void 0&&(o=o.slice(0,y)+o.slice(y).replace(/\$\((.*)\)/,"var(--$1)")),f||(v?s.push(o):g(),d="",o="");break}else if(!v&&b in ug)u(l,ug[b],f===void 0?0:f+1,d,p,h);else if((b==="|"||b===" ")&&c!=="}"&&(!v||d==="path"))c?o+=" ":g();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&g(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||y0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&g()}(t),[s,t.slice(a)]}var mN=[":disabled",":active",":focus",":hover"],sc="matches",b0e="semantics",yN="symbol",ON="width",VE="max-"+ON,GE="min-"+ON,QE="motion",qN="reduce",bN=qN+"d-"+QE,KE="px",v0e="rem",w0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,_0e=t=>t.split(w0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),N=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:v,mediaQueries:g}=r,b=r.values[i],w=r.relationThemesMap[t],_=t,S,q,C,R;if(e.origin===b0e){let[K,ue]=e.value;C=_.slice(K.length),S=ue}else if(this.analyzeToken)[q,R,C]=this.analyzeToken(_,b,y);else{let K;if(e.origin===sc){let ue=_.indexOf(":");this.prefix=_.slice(0,ue+1),this.prefix.includes("(")?(this.prefix=void 0,K=_):K=_.slice(ue+1)}else e.origin===yN&&(this.symbol=_[0],K=_.slice(1));[R,C]=hc(K,b,y)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let O=K=>{let ue=_0e(K),L=[],M="",ae=0;for(let ne=0;ne<ue.length;ne++){let de=ue[ne];if(de==="\\"){M+=de+ue[++ne];continue}!ae&&de===","?(L.push(M),M=""):(M+=de,ae&&de===")"?ae--:de==="("&&ae++)}return M&&L.push(M),L};this.prefixSelectors=q?O(q):[""];let z=C.split("@"),F=z[0];if(F){this.vendorSuffixSelectors={};let K=(ne,de,le,se)=>{for(let[he,we]of de)if(he.test(ne)){for(let De of we)K(ne.replace(he,De),de,le,!0);return}se&&le.push(ne)},ue=[];""in h?K(F,h[""],ue,!0):ue.push(F);let L={};for(let[ne,de]of Object.entries(h)){if(!ne)continue;let le=[];for(let se of ue)K(se,de,le,!1);le.length&&(L[ne]=le)}let M=(ne,de)=>{let le=de.reduce((se,he)=>(se.push(...O(he)),se),[]);ne in this.vendorSuffixSelectors?this.vendorSuffixSelectors[ne].push(...le):this.vendorSuffixSelectors[ne]=le},ae=Object.keys(L);if(ae.length)for(let ne of ae)M(ne,L[ne]);else M("",ue);for(let ne of Object.values(this.vendorSuffixSelectors))for(let de of ne){this.hasWhere!==!1&&(this.hasWhere=de.includes(":where("));for(let le=0;le<mN.length;le++)if(de.includes(mN[le])){(this.priority===-1||this.priority>le)&&(this.priority=le);break}}}else this.vendorSuffixSelectors={"":[""]};for(let K=1;K<z.length;K++){let ue=z[K];if(ue)if(f.includes(ue))this.theme=ue;else if(ue==="rtl"||ue==="ltr")this.direction=ue;else{let L,M,ae=ue.indexOf("_");if(ae!==-1)L=ue.slice(0,ae),M=ue.slice(ae);else{let ne=ue.indexOf("(");ne!==-1&&(L=ue.slice(0,ne),M=ue.slice(ne))}if(!L){L="media";let ne=[];this.media={token:ue,features:{}};let de=ue.split("&");for(let le of de)if(le==="all"||le==="print"||le==="screen"||le==="speech")this.media.type=le;else if(le==="\u{1F5A8}")this.media.type="print";else if(le==="landscape"||le==="portrait")ne.push("(orientation:"+le+")");else if(le===QE||le===bN)ne.push("(prefers-"+bN+":"+(le===QE?"no-preference":qN)+")");else if(g&&le in g)ne.push(g[le]);else{let se={token:le},he="",we="",De=0;le.startsWith("<=")?(we="<=",he=VE):le.startsWith(">=")||v[le]?(we=">=",he=GE):le.startsWith(">")?(we=">",he=GE,De=.02):le.startsWith("<")&&(we="<",he=VE,De=-.02);let Je=we?le.replace(we,""):le,ve=v[Je];switch(he){case VE:case GE:ve?Object.assign(se,HE(ve,KE)):Object.assign(se,HE(Je,KE)),se.unit===KE&&(se.value+=De),this.media.features[he]=se,ne.push("("+he+":"+(se.value+se.unit)+")");break}}M="",this.media.type&&(M=this.media.type),ne.length&&(M+=(M?" and ":"")+ne.join(" and "))}M&&(this.at[L]=(L in this.at?this.at[L]+" and ":"")+M.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let te=(K,ue)=>{let L,M,ae=(de,le,se)=>{let he="";this.direction&&(he+="[dir="+this.direction+"] ");let we=this.prefixSelectors.map(ve=>ve+he),De=(ve,Ct)=>we.map(dt=>(ve?"."+ve+" ":"")+(l?l+" ":"")+dt).reduce((dt,pe)=>(dt.push(se.reduce((ce,ie)=>(ce.push(pe+"."+CSS.escape(Ct)+ie),ce),[]).join(",")),dt),[]).join(","),Je=De(le,t)+(w?Object.entries(w).filter(([ve])=>this.theme||!o||!le||!ve||ve===le).map(([ve,Ct])=>Ct.reduce((dt,pe)=>dt+","+De(this.theme??((o||this.getThemeProps)&&le||ve),pe),"")).join(""):"")+"{"+de+"}";for(let ve of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Je="@"+ve+" "+this.at[ve]+"{"+Je+"}";return Je},ne=[];if(R){let de,le;for(let se of R)typeof se=="string"?ne.push(se):(de=HE(se.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[K]),de.colorMatched!==void 0&&le!==!0&&(le=de.colorMatched),ne.push(de.value+de.unit));if(ue&&(le===void 0?K:!le))return;if(ne.length===1?de?(L=de.value,M=de.unit):L=ne[0]:L=ne.reduce((se,he,we)=>se+he+(he===","||R[we+1]===","||we===R.length-1?"":" "),""),typeof L!="object"){this.parseValue&&(L=this.parseValue(L,this.css.config)),o&&L==="current"&&(L="currentColor");let se={unit:M,value:L,important:this.important};if(this.getThemeProps){let he=this.getThemeProps(se,r);for(let we in he)for(let De of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:ae(Object.entries(he[we]).map(([Je,ve])=>UE(Je,{important:(this.important||c)&&!ve.endsWith("!important"),unit:"",value:ve})).join(";"),we,De),theme:we});return}else this.get&&(L=this.get(se))}}else L=S;for(let de of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:M,value:L,text:ae(typeof L=="object"?Object.entries(L).map(([le,se])=>UE(le,{...typeof se=="object"?se:{unit:"",value:se},important:this.important||c})).join(";"):UE(a,{unit:M,value:L,important:this.important||c}),K,de),theme:K})};if(this.getThemeProps)te(void 0,!1);else if(this.theme)te(this.theme,!1);else if(o)for(let K of f)te(K,!0);else te("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:sc};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:sc};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:sc}}}if(s&&t.startsWith(s))return{origin:yN};if(o&&t.startsWith(o+":"))return{origin:sc}}get text(){return this.natives.map(t=>t.text).join("")}};x(N,"id"),x(N,"matches"),x(N,"colorStarts"),x(N,"symbol"),x(N,"unit",v0e),x(N,"colorful");var yh=class extends N{};x(yh,"id","FontWeight"),x(yh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),x(yh,"unit","");var JE=class extends N{};x(JE,"id","FontFamily"),x(JE,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var XE=class extends N{};x(XE,"id","FontSize"),x(XE,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var ZE=class extends N{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};x(ZE,"id","Spacing"),x(ZE,"matches","^[pm][xytblr]?:.");var eC=class extends N{};x(eC,"id","Width"),x(eC,"matches","^w:.");var tC=class extends N{};x(tC,"id","Height"),x(tC,"matches","^h:.");var rC=class extends N{};x(rC,"id","MinWidth"),x(rC,"matches","^min-w:.");var nC=class extends N{};x(nC,"id","MinHeight"),x(nC,"matches","^min-h:.");var bh=class extends N{};x(bh,"id","LetterSpacing"),x(bh,"matches","^ls:."),x(bh,"unit","em");var x0e="subpixel-antialiased",vN="-webkit-font-smoothing",wN="-moz-osx-font-smoothing",vh=class extends N{static get prop(){return""}get(t){let e={};switch(t.value){case x0e:e[vN]=e[wN]={...t,value:"auto"};break;case"antialiased":e[vN]={...t,value:"antialiased"},e[wN]={...t,value:"grayscale"};break}return e}};x(vh,"id","FontSmoothing"),x(vh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),x(vh,"unit","");var wh=class extends N{};x(wh,"id","FontStyle"),x(wh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),x(wh,"unit","deg");var iC=class extends N{};x(iC,"id","FontVariantNumeric"),x(iC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var sC=class extends N{};x(sC,"id","FontFeatureSettings"),x(sC,"matches","^font-feature:.");var _h=class extends N{};x(_h,"id","LineHeight"),x(_h,"matches","^lh:."),x(_h,"unit","");var oC=class extends N{};x(oC,"id","ObjectFit"),x(oC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var aC=class extends N{};x(aC,"id","ObjectPosition"),x(aC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var uC=class extends N{};x(uC,"id","TextAlign"),x(uC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var xh=class extends N{order=-1};x(xh,"id","TextDecoration"),x(xh,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),x(xh,"colorful",!0);var lC=class extends N{};x(lC,"id","TextTransform"),x(lC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var cC=class extends N{};x(cC,"id","VerticalAlign"),x(cC,"matches","^(?:v|vertical):.");var Sh=class extends N{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};x(Sh,"id","Lines"),x(Sh,"matches","^lines:."),x(Sh,"unit","");var kh=class extends N{};x(kh,"id","TransformOrigin"),x(kh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),x(kh,"unit","px");var fC=class extends N{};x(fC,"id","TransformStyle"),x(fC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var dC=class extends N{};x(dC,"id","TransformBox"),x(dC,"matches","^transform:(?:$values)(?!\\|)");var Eh=class extends N{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};x(Eh,"id","Transform"),x(Eh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),x(Eh,"unit","");var pC=class extends N{order=-1};x(pC,"id","Transition"),x(pC,"symbol","~");var Ch=class extends N{};x(Ch,"id","TransitionDelay"),x(Ch,"matches","^~delay:."),x(Ch,"unit","ms");var Dh=class extends N{};x(Dh,"id","TransitionDuration"),x(Dh,"matches","^~duration:."),x(Dh,"unit","ms");var hC=class extends N{};x(hC,"id","TransitionProperty"),x(hC,"matches","^~property:.");var gC=class extends N{};x(gC,"id","TransitionTimingFunction"),x(gC,"matches","^~easing:.");var mC=class extends N{};x(mC,"id","MaxHeight"),x(mC,"matches","^max-h:.");var yC=class extends N{};x(yC,"id","MaxWidth"),x(yC,"matches","^max-w:.");var bC=class extends N{};x(bC,"id","Display"),x(bC,"matches","^d:.");var vC=class extends N{};x(vC,"id","BoxSizing"),x(vC,"matches","^box:(?:$values)(?!\\|)");var wC=class extends N{};x(wC,"id","Opacity"),x(wC,"unit","");var RN=class extends N{};x(RN,"id","Visibility");var AN=class extends N{};x(AN,"id","Clear");var PN=class extends N{};x(PN,"id","Float");var TN=class extends N{};x(TN,"id","Isolation");var _C=class extends N{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};x(_C,"id","Overflow"),x(_C,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var xC=class extends N{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};x(xC,"id","OverscrollBehavior"),x(xC,"matches","^overscroll-behavior(?:-[xy])?:");var Oh=class extends N{};x(Oh,"id","ZIndex"),x(Oh,"matches","^z:."),x(Oh,"unit","");var qh=class extends N{};x(qh,"id","AnimationDelay"),x(qh,"matches","^@delay:."),x(qh,"unit","ms");var SC=class extends N{};x(SC,"id","AnimationDirection"),x(SC,"matches","^@direction:.");var kC=class extends N{};x(kC,"id","AnimationFillMode"),x(kC,"matches","^@fill-mode:.");var Rh=class extends N{};x(Rh,"id","AnimationIterationCount"),x(Rh,"matches","^@iteration-count:."),x(Rh,"unit","");var EC=class extends N{};x(EC,"id","AnimationName"),x(EC,"matches","^@name:.");var CC=class extends N{};x(CC,"id","AnimationPlayState"),x(CC,"matches","^@play-state:.");var DC=class extends N{};x(DC,"id","AnimationTimingFunction"),x(DC,"matches","^@easing:.");var Ah=class extends N{order=-1};x(Ah,"id","Animation"),x(Ah,"symbol","@"),x(Ah,"unit","");var mh="border-";function fg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=mh+"left"+r,s=mh+"right"+r,o=mh+"top"+r,a=mh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var ac=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(ac,"id","BorderColor"),x(ac,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),x(ac,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),x(ac,"colorful",!0);var Ph="border-top-left-radius",Th="border-top-right-radius",Mh="border-bottom-left-radius",Lh="border-bottom-right-radius",_N="border-radius",S0e=[Ph,Th,Mh,Lh],OC=class extends N{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ph]:t,[Th]:t};case"tl":case"lt":return{[Ph]:t};case"rt":case"tr":return{[Th]:t};case"b":return{[Mh]:t,[Lh]:t};case"bl":case"lb":return{[Mh]:t};case"br":case"rb":return{[Lh]:t};case"l":return{[Ph]:t,[Mh]:t};case"r":return{[Th]:t,[Lh]:t};default:return{[_N]:t}}}let e=this.prefix?.slice(0,-1);return{[S0e.includes(e)?e:_N]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};x(OC,"id","BorderRadius"),x(OC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var qC=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(qC,"id","BorderStyle"),x(qC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var RC=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};x(RC,"id","BorderWidth"),x(RC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Fh=class extends N{static get prop(){return""}get(t){return fg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};x(Fh,"id","Border"),x(Fh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),x(Fh,"colorful",!0);var AC=class extends N{};x(AC,"id","BackgroundAttachment"),x(AC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var MN=class extends N{};x(MN,"id","BackgroundBlendMode");var PC=class extends N{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};x(PC,"id","BackgroundClip"),x(PC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var uc=class extends N{};x(uc,"id","BackgroundColor"),x(uc,"colorStarts","(?:bg|background):"),x(uc,"unit",""),x(uc,"colorful",!0);var TC=class extends N{};x(TC,"id","BackgroundOrigin"),x(TC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Ih=class extends N{};x(Ih,"id","BackgroundPosition"),x(Ih,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),x(Ih,"unit","px");var MC=class extends N{};x(MC,"id","BackgroundRepeat"),x(MC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var LC=class extends N{};x(LC,"id","BackgroundSize"),x(LC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Nh=class extends N{};x(Nh,"id","BackgroundImage"),x(Nh,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),x(Nh,"colorful",!0);var jh=class extends N{order=-1};x(jh,"id","Background"),x(jh,"matches","^bg:."),x(jh,"colorful",!0);var FC=class extends N{};x(FC,"id","MixBlendMode"),x(FC,"matches","^blend:.");var LN=class extends N{};x(LN,"id","Position");function FN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var $h=class extends N{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return FN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x($h,"id","BackdropFilter"),x($h,"matches","^bd:."),x($h,"colorful",!0);var Bh=class extends N{};x(Bh,"id","Fill"),x(Bh,"colorStarts","fill:"),x(Bh,"colorful",!0);var IC=class extends N{};x(IC,"id","Stroke"),x(IC,"colorful",!0);var NC=class extends N{};x(NC,"id","StrokeWidth"),x(NC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Wh=class extends N{parseValue(t,e){return FN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};x(Wh,"id","Filter"),x(Wh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),x(Wh,"colorful",!0);var IN=class extends N{};x(IN,"id","Cursor");var NN=class extends N{};x(NN,"id","PointerEvents");var jN=class extends N{};x(jN,"id","Resize");var $N=class extends N{};x($N,"id","TouchAction");var BN=class extends N{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};x(BN,"id","UserDrag");var WN=class extends N{get(t){return{"user-select":t,"-webkit-user-select":t}}};x(WN,"id","UserSelect");var zh=class extends N{};x(zh,"id","BoxShadow"),x(zh,"matches","^s(?:hadow)?:."),x(zh,"colorful",!0);var jC=class extends N{};x(jC,"id","TextShadow"),x(jC,"colorful",!0);var xN=.75,$C=class extends N{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="em"?r+xN+e:`calc(${r}${e} + ${xN}em)`,unit:""}}}};x($C,"id","TextSize"),x($C,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var BC=class extends N{};x(BC,"id","WordBreak"),x(BC,"unit","");var Uh=class extends N{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(Uh,"id","GridColumns"),x(Uh,"matches","^grid-cols:."),x(Uh,"unit","");var WC=class extends N{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};x(WC,"id","GridRows"),x(WC,"unit","");var zC=class extends N{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};x(zC,"id","Gap"),x(zC,"matches","^gap(?:-x|-y)?:.");var UC=class extends N{};x(UC,"id","WordSpacing"),x(UC,"unit","em");var Hh=class extends N{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};x(Hh,"id","Variable"),x(Hh,"matches","^\\$[^ {}A-Z]+:[^ ]"),x(Hh,"unit","");var Vh=class extends N{};x(Vh,"id","AspectRatio"),x(Vh,"matches","^aspect:."),x(Vh,"unit","");var HC=class extends N{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};x(HC,"id","BoxDecorationBreak"),x(HC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var zN=class extends N{};x(zN,"id","BreakAfter");var UN=class extends N{};x(UN,"id","BreakBefore");var HN=class extends N{};x(HN,"id","BreakInside");var VC=class extends N{};x(VC,"id","FlexShrink"),x(VC,"unit","");var GC=class extends N{};x(GC,"id","FlexDirection"),x(GC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var KC=class extends N{};x(KC,"id","FlexGrow"),x(KC,"unit","");var YC=class extends N{};x(YC,"id","FlexWrap"),x(YC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var VN=class extends N{};x(VN,"id","FlexBasis");var QC=class extends N{order=-1};x(QC,"id","Flex"),x(QC,"unit","");var Gh=class extends N{};x(Gh,"id","Order"),x(Gh,"matches","^o:."),x(Gh,"unit","");var Kh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Kh,"id","GridColumn"),x(Kh,"matches","^grid-col(?:umn)?(?:-span)?:."),x(Kh,"unit","");var JC=class extends N{};x(JC,"id","ColumnSpan"),x(JC,"matches","^col-span:.");var Yh=class extends N{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};x(Yh,"id","GridRow"),x(Yh,"matches","^grid-row-span:."),x(Yh,"unit","");var lc=class extends N{};x(lc,"id","Color"),x(lc,"matches","^(?:color|fg|foreground):."),x(lc,"colorful",!0),x(lc,"unit","");var XC=class extends N{};x(XC,"id","AlignContent"),x(XC,"matches","^ac:.");var ZC=class extends N{};x(ZC,"id","AlignItems"),x(ZC,"matches","^ai:.");var eD=class extends N{};x(eD,"id","AlignSelf"),x(eD,"matches","^as:");var tD=class extends N{};x(tD,"id","GridAutoColumns"),x(tD,"matches","^grid-auto-cols:.");var rD=class extends N{};x(rD,"id","GridAutoFlow"),x(rD,"matches","^grid-flow:.");var GN=class extends N{};x(GN,"id","GridAutoRows");var nD=class extends N{};x(nD,"id","JustifyContent"),x(nD,"matches","^jc:.");var iD=class extends N{};x(iD,"id","JustifyItems"),x(iD,"matches","^ji:.");var sD=class extends N{};x(sD,"id","JustifySelf"),x(sD,"matches","^js:.");var KN=class extends N{order=-1};x(KN,"id","PlaceContent");var YN=class extends N{order=-1};x(YN,"id","PlaceItems");var QN=class extends N{order=-1};x(QN,"id","PlaceSelf");var oD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};x(oD,"id","Padding"),x(oD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var aD=class extends N{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};x(aD,"id","Margin"),x(aD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var uD=class extends N{};x(uD,"id","TextOverflow"),x(uD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var lD=class extends N{};x(lD,"id","ListStylePosition"),x(lD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var cD=class extends N{};x(cD,"id","ListStyleType"),x(cD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var JN=class extends N{order=-1};x(JN,"id","ListStyle");var Qh=class extends N{};x(Qh,"id","TextDecorationColor"),x(Qh,"colorStarts","text-decoration:"),x(Qh,"colorful",!0);var fD=class extends N{};x(fD,"id","TextDecorationStyle"),x(fD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Jh=class extends N{};x(Jh,"id","TextDecorationThickness"),x(Jh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),x(Jh,"unit","em");var XN=class extends N{};x(XN,"id","TextIndent");var ZN=class extends N{};x(ZN,"id","Content");var Xh=class extends N{};x(Xh,"id","OutlineColor"),x(Xh,"colorStarts","outline:"),x(Xh,"colorful",!0);var e5=class extends N{};x(e5,"id","OutlineOffset");var dD=class extends N{};x(dD,"id","OutlineStyle"),x(dD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var pD=class extends N{};x(pD,"id","OutlineWidth"),x(pD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var hD=class extends N{order=-1};x(hD,"id","Outline"),x(hD,"colorful",!0);var gD=class extends N{};x(gD,"id","BorderCollapse"),x(gD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var t5=class extends N{};x(t5,"id","BorderSpacing");var r5=class extends N{};x(r5,"id","TableLayout");var Zh=class extends N{};x(Zh,"id","AccentColor"),x(Zh,"colorStarts","accent:"),x(Zh,"colorful",!0);var n5=class extends N{};x(n5,"id","Appearance");var eg=class extends N{};x(eg,"id","CaretColor"),x(eg,"colorStarts","caret:"),x(eg,"colorful",!0);var i5=class extends N{};x(i5,"id","ScrollBehavior");var mD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};x(mD,"id","ScrollMargin"),x(mD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var yD=class extends N{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};x(yD,"id","ScrollPadding"),x(yD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var bD=class extends N{};x(bD,"id","ScrollSnapAlign"),x(bD,"matches","^scroll-snap:(?:start|end|center|$values)");var vD=class extends N{};x(vD,"id","ScrollSnapStop"),x(vD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var wD=class extends N{};x(wD,"id","ScrollSnapType"),x(wD,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var s5=class extends N{};x(s5,"id","WillChange");var o5=class extends N{};x(o5,"id","TextUnderlineOffset");var _D=class extends N{get(t){return{[this.prefix.slice(0,-1)]:t}}};x(_D,"id","Inset"),x(_D,"matches","^(?:top|bottom|left|right):.");var tg=class extends N{order=-1};x(tg,"id","Columns"),x(tg,"matches","^(?:columns|cols):."),x(tg,"unit","");var xD=class extends N{};x(xD,"id","WhiteSpace"),x(xD,"unit","");var SD=class extends N{};x(SD,"id","TextOrientation"),x(SD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var kD=class extends N{};x(kD,"id","WritingMode"),x(kD,"matches","^writing:.");var a5=class extends N{};x(a5,"id","Contain");var rg=class extends N{};x(rg,"id","AnimationDuration"),x(rg,"matches","^@duration:."),x(rg,"unit","ms");var ED=class extends N{};x(ED,"id","TextRendering"),x(ED,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var u5=class extends N{};x(u5,"id","Direction");var CD=class extends N{};x(CD,"id","TextDecorationLine"),x(CD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var ng=class extends N{};x(ng,"id","GridColumnStart"),x(ng,"matches","^grid-col-start:."),x(ng,"unit","");var DD=class extends N{};x(DD,"id","ListStyleImage"),x(DD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var OD=class extends N{};x(OD,"id","ShapeOutside"),x(OD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var qD=class extends N{};x(qD,"id","ShapeMargin"),x(qD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var RD=class extends N{};x(RD,"id","ShapeImageThreshold"),x(RD,"unit","");var AD=class extends N{};x(AD,"id","ClipPath"),x(AD,"matches","^clip:.");var l5=class extends N{order=-1};x(l5,"id","Grid");var ig=class extends N{order=-1};x(ig,"id","Font"),x(ig,"matches","^f:."),x(ig,"unit","");var c5=class extends N{};x(c5,"id","Quotes");var f5=class extends N{order=-1};x(f5,"id","GridTemplate");var PD=class extends N{};x(PD,"id","GridRowStart"),x(PD,"unit","");var d5=class extends N{};x(d5,"id","GridTemplateAreas");var TD=class extends N{};x(TD,"id","GridTemplateColumns"),x(TD,"matches","^grid-template-cols:.");var p5=class extends N{};x(p5,"id","GridTemplateRows");var MD=class extends N{order=-1};x(MD,"id","GridArea"),x(MD,"unit","");var sg=class extends N{};x(sg,"id","GridColumnEnd"),x(sg,"matches","^grid-col-end:."),x(sg,"unit","");var LD=class extends N{};x(LD,"id","GridRowEnd"),x(LD,"unit","");var h5=class extends N{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};x(h5,"id","MaskImage");var cc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};x(cc,"id","TextFillColor"),x(cc,"matches","^text-fill-color:."),x(cc,"colorStarts","(?:text-fill|text|t):"),x(cc,"colorful",!0);var FD=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};x(FD,"id","TextStroke"),x(FD,"matches","^text-stroke:.");var ID=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};x(ID,"id","TextStrokeWidth"),x(ID,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var fc=class extends N{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};x(fc,"id","TextStrokeColor"),x(fc,"matches","^text-stroke-color:."),x(fc,"colorStarts","text-stroke:"),x(fc,"colorful",!0);var g5=class extends N{};x(g5,"id","StrokeDasharray");var m5=class extends N{};x(m5,"id","StrokeDashoffset");var ND=class extends N{};x(ND,"id","X"),x(ND,"unit","");var jD=class extends N{};x(jD,"id","Y"),x(jD,"unit","");var $D=class extends N{};x($D,"id","Cx"),x($D,"unit","");var BD=class extends N{};x(BD,"id","Cy"),x(BD,"unit","");var WD=class extends N{};x(WD,"id","Rx"),x(WD,"unit","");var zD=class extends N{};x(zD,"id","Ry"),x(zD,"unit","");var y5=class extends N{};x(y5,"id","BorderImageOutset");var UD=class extends N{};x(UD,"id","BorderImageRepeat"),x(UD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var HD=class extends N{};x(HD,"id","BorderImageSlice"),x(HD,"unit","");var VD=class extends N{};x(VD,"id","BorderImageSource"),x(VD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var GD=class extends N{};x(GD,"id","BorderImageWidth"),x(GD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var KD=class extends N{};x(KD,"id","BorderImage"),x(KD,"unit","");var k0e=/\{(.*)\}/,og=class extends N{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...hc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(k0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ug&&c!=="'"&&c!=='"'&&(u++,l(ug[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};x(og,"id","Group"),x(og,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),x(og,"unit","");var YD=class extends N{};x(YD,"id","CounterIncrement"),x(YD,"unit","");var QD=class extends N{};x(QD,"id","CounterReset"),x(QD,"unit","");var JD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};x(JD,"id","WH"),x(JD,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var XD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};x(XD,"id","MinWH"),x(XD,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var ZD=class extends N{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};x(ZD,"id","MaxWH"),x(ZD,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var E0e=[og,Hh,XE,yh,JE,vh,wh,iC,sC,ig,lc,ZE,aD,oD,VN,YC,KC,VC,GC,QC,bC,eC,tC,rC,nC,JD,XD,ZD,a5,ZN,YD,QD,bh,_h,oC,aC,uC,Qh,fD,Jh,CD,xh,o5,uD,SD,lC,ED,XN,cC,tg,xD,_D,Sh,mC,yC,vC,wC,RN,AN,PN,TN,_C,xC,Oh,LN,IN,NN,jN,$N,BC,UC,BN,WN,jC,$C,cc,ID,fc,FD,zh,r5,dC,fC,kh,Eh,hC,gC,Dh,Ch,pC,qh,SC,rg,kC,Rh,EC,CC,DC,Ah,ac,OC,qC,RC,gD,t5,y5,UD,HD,VD,GD,KD,Fh,AC,MN,uc,PC,TC,Ih,MC,LC,Nh,jh,FC,$h,Wh,Bh,g5,m5,NC,IC,ND,jD,$D,BD,WD,zD,ng,sg,Kh,Uh,PD,LD,Yh,WC,tD,rD,GN,d5,TD,p5,f5,MD,l5,zC,Gh,HN,UN,zN,HC,Vh,JC,XC,ZC,eD,nD,iD,sD,KN,YN,QN,lD,cD,DD,JN,Xh,e5,dD,pD,hD,Zh,n5,eg,i5,mD,yD,bD,vD,wD,s5,kD,u5,OD,qD,RD,AD,c5,h5],C0e=E0e,D0e=!1,O0e=!0,q0e=!1,R0e={colors:r0e,breakpoints:YE,semantics:tO,values:h0e,selectors:a0e,themes:c0e,scheme:d0e,Rules:C0e,rootSize:n0e,scope:s0e,override:D0e,observe:O0e,important:q0e},SN=R0e,eO=typeof Buffer<"u"?Buffer:null;function b5(t){return!!(eO&&t instanceof eO||t instanceof Date||t instanceof RegExp)}function v5(t){if(eO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function w5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=w5(r):b5(r)?e[n]=v5(r):e[n]=lg({},r):e[n]=r}),e}function kN(t,e){return e==="__proto__"?void 0:t[e]}function lg(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=kN(e,s),r=kN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=w5(r);return}else if(b5(r)){e[s]=v5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=lg({},r);return}else{e[s]=lg(n,r);return}})}),e}var A0e=[",",".","#","[","!","*",">","+","~",":","@"],P0e=/^::-[a-z]+-/m,T0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,cg,pc=typeof window<"u";pc&&(cg=document.createElement("style"),cg.title="master");var Zr="max-width",Wr="min-width",M0e="attributes",L0e=pc?window.MutationObserver:Object,dc,Do,ag=class extends L0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:v}=f;if(h===M0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.config=t,x(this,"style"),x(this,"rules",[]),x(this,"ruleOfClass",{}),x(this,"countOfClass",{}),x(this,"host"),x(this,"root"),x(this,"ready",!1),x(this,"semantics"),x(this,"classes"),x(this,"colorThemesMap"),x(this,"colorNames"),x(this,"themeNames"),x(this,"relationThemesMap"),x(this,"relations"),x(this,"selectors"),x(this,"values"),x(this,"globalValues"),x(this,"breakpoints"),x(this,"mediaQueries"),x(this,"matches"),x(this,"schemeMQL"),hN(this,dc,void 0),hN(this,Do,void 0),x(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.config?.override?this.config=SN:this.config=lg(SN,this.config),this.cache(),pc&&this.config.observe&&this.observe(document),ag.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Za(this,dc)){gN(this,dc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Za(this,dc)}set theme(t){t!==Za(this,Do)&&(Za(this,Do)&&this.host.classList.remove(Za(this,Do)),gN(this,Do,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Za(this,Do)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,b,w="",_={}){let S=O=>O?(w?w+"-":"")+O:w,q=Object.entries(g),C=[],R=[];for(let O of q){let z=O[1];(typeof z=="object"&&!Array.isArray(z)?C:R).push(O)}for(let[O,z]of C)c(z,b,S(O),_);if(b&&w)R.length&&(_[w]=R.reduce((O,[z,F])=>(O[z]=F,O),{}));else for(let[O,z]of R)_[S(O)]=z;return _}if(t)for(let[g,b]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,b]]);if(r)for(let[g,b]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(b)?b:[b]){let S=_.match(P0e)?.[0]??"",q=this.selectors[S];q||(q=this.selectors[S]=[]);let C=q.find(([R])=>R===w);C||(C=[w,[]],q.push(C)),C[1].push(_)}}if(s)for(let[g,b]of Object.entries(s))typeof b=="object"?this.values[g]=c(b,!1):this.globalValues[g]=b;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[b,{classes:w}])=>(g[b]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,b])=>Object.keys(b))],h=g=>{if(g in this.classes)return;let b=this.classes[g]=[],w=(_,S)=>{if(!S)return;let q=Array.isArray(S)?S:S.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of q){let R=O=>{O in this.relationThemesMap?_ in this.relationThemesMap[O]?this.relationThemesMap[O][_].push(g):this.relationThemesMap[O][_]=[g]:this.relationThemesMap[O]={[_]:[g]},b.includes(O)||b.push(O)};if(p.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};w("",f?.[g]);for(let[_,S]of Object.entries(d))w(_,S?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let b=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)b.includes(_)||b.push(_)}let y=(g,b)=>{if(!b)return;let w=c(b,!0);for(let[_,S]of Object.entries(w)){let q=typeof S=="string"?{"":S}:S;for(let[C,R]of Object.entries(q)){let O=_+(C?"-"+C:"");O in this.colorThemesMap?this.colorThemesMap[O][g]=R:this.colorThemesMap[O]={[g]:R}}}for(let _ in b)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let b=n[g];y(g,b.colors),this.themeNames.push(g)}let v=g=>{for(let[b,w]of Object.entries(this.colorThemesMap))for(let[_,S]of Object.entries(w))S.startsWith("#")||g(b,w,_,S)};if(v((g,b,w,_)=>{let S=T0e.exec(_);if(S){let q="#"+CN(+S[1],+S[2],+S[3]);S[4]&&(q+=Math.round(255*+S[4]).toString(16)),b[w]=q}}),v((g,b,w,_)=>{let[S,q]=_.split("/"),C=this.colorThemesMap[S];if(C){let R=(w?C[w]:void 0)??C[""];b[w]=q?R.slice(0,7)+Math.round(255*+q).toString(16):R}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete b[w],Object.keys(b).length||delete this.colorThemesMap[g]}),u)for(let g of u){let b=g.matches;if(b){let w=Object.keys(this.values[g.id]??{}),_=b.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?b:w.length?b.slice(0,_)+w.join("|")+b.slice(_+7):b.slice(0,_-(b[_-1]==="|"?1:0))+b.slice(_+7+(b[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(pc&&t){this.root=t;let r=t===document;r&&(ag.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let v=p[y],g=p[y+1];if(v==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(A0e.includes(v))break;h+=v}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=cg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:N}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=cg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=ag.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let v=c.slice(h,y);for(let g=0;g<v.length;g++){let b=v[g];if(!(b.priority===-1||p&&p(b))&&(b.priority<o||b.priority===o&&(a&&!b.hasWhere||b.order>=s)))return h+g}return h+v.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Zr],d=i.features[Wr];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],v=y.media,g=v.features[Zr],b=v.features[Wr];if(!g||!b){r++;break}let w=g.value-b.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let S=h-1;S>=c;S--){let q=this.rules[S];if(q.hasWhere!==a)break;let C=q.media,R=C.features[Zr],O=C.features[Wr];if(!R||!O||R.value-O.value!==w)break;_.unshift(this.rules[S])}r=l(this.rules,S=>S.media&&S.priority!==-1&&S.media.features[Wr]&&S.media.features[Zr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,v=y.features[Zr],g=y.features[Wr];if(v){if(g)break;continue}let b=g?.value;if(b===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Wr]&&w.media.features[Zr],w=>!w.media.features[Wr]&&!w.media.features[Zr]);else for(let w=p;w<=n;w++){let _=this.rules[w],S=_.media,q=S.features[Wr];if(!S.features[Zr]){if(_.hasWhere!==a||q.value!==b||_.order>=s)break;r=w+1}}break}else{if(b>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,v=y.features[Zr];if(y.features[Wr])continue;let g=v?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,b=>b.media,b=>b.media&&b.priority!==-1&&b.media.features[Wr]&&b.media.features[Zr],b=>!b.media.features[Wr]&&!b.media.features[Zr]);else{let b=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],S=_.media,q=S.features[Wr],C=S.features[Zr];if(!q&&(!C||C.value!==g||_.hasWhere!==a))break;b.unshift(_)}for(let w=0;w<b.length;w++){let _=b[w];if(!_.media.features[Wr]){if(_.order>=s)break;r=p-b.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Zr]||f.media.features[Wr]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Zr]||p.features[Wr])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let v=0;v<c.cssRules.length;v++)if(c.cssRules[v]===y){f=v+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},ar=ag;dc=new WeakMap,Do=new WeakMap,x(ar,"instances",[]),x(ar,"root");pc&&(window.MasterCSS=ar);var oc=typeof global<"u"?global:window;if(!oc.CSS&&!oc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};oc.CSS||(oc.CSS={}),oc.CSS.escape=t}function _5(t,e){if(!t?.length)return;let r=new ar({...e,observe:!1});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}import{performance as Uhe}from"perf_hooks";var UF=Kt(To(),1),Pk=Kt(E$(),1);import m0t from"fs";var EB=Kt(ph(),1);import Qq from"node:process";import g1e from"node:os";import q$ from"node:tty";var t1e=Object.create,j$=Object.defineProperty,r1e=Object.getOwnPropertyDescriptor,n1e=Object.getOwnPropertyNames,i1e=Object.getPrototypeOf,s1e=Object.prototype.hasOwnProperty,o1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),a1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of n1e(e))!s1e.call(t,i)&&i!==r&&j$(t,i,{get:()=>e[i],enumerable:!(n=r1e(e,i))||n.enumerable});return t},u1e=(t,e,r)=>(r=t!=null?t1e(i1e(t)):{},a1e(e||!t||!t.__esModule?j$(r,"default",{value:t,enumerable:!0}):r,t)),l1e=o1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
467
467
|
`),u=null;return a.forEach(function(l){var c=l.match(/^(\s+)\S+/);if(c){var f=c[1].length;u?u=Math.min(u,f):u=f}}),u!==null&&(s=a.map(function(l){return l[0]===" "?l.slice(u):l}).join(`
|
|
468
468
|
`)),s=s.trim(),s.replace(/\\n/g,`
|
|
469
469
|
`)}typeof e<"u"&&(e.exports=r)}),Ei=(t,e)=>{if(!t)throw new Error(e)},c1e=t=>{let e={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",separator:": ",renderFn:r=>["boolean","string","number"].includes(typeof r)?r:void 0,sortFn:null,breakCircularWith:" (circular ref.)",...t};return Ei(Object.keys(e).length===9,"Unexpected Option(s) provided"),Ei(typeof e.joined=="boolean",'Option "joined" has invalid format'),Ei(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),Ei(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),Ei(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),Ei(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),Ei(typeof e.separator=="string",'Option "separator" has invalid format'),Ei(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),Ei(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),Ei(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},$$=(t,e={})=>{let r=c1e(e),n=[],i=r.renderFn(t);i!==void 0&&n.push(String(i));let s=l=>r.sortFn===null?l.reverse():l.sort((c,f)=>r.sortFn(f,c)),o=[],a=s(Object.keys(t)).map(l=>[l]),u=[t];for(;a.length!==0;){let l=a.pop(),c=u[l.length-1][l[l.length-1]],f=r.breakCircularWith!==null&&u.includes(c);o[l.length-1]=a.length!==0&&a[a.length-1].length===l.length;let d=r.renderFn(c);n.push([o.slice(0,l.length-1).map(p=>p?r.spacerNeighbour:r.spacerNoNeighbour).join(""),o[l.length-1]?r.keyNeighbour:r.keyNoNeighbour,l[l.length-1],d===void 0?"":`${r.separator}${c}`,f?r.breakCircularWith:""].join("")),c instanceof Object&&!Array.isArray(c)&&!f&&(a.push(...s(Object.keys(c)).map(p=>l.concat(p))),u[l.length]=c)}return r.joined===!0?n.join(`
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/css-language-server","scripts":{"build":"aron pack --platform=node","dev":"npm run build -- --watch","type-check":"tsc --noEmit","lint":"eslint src"},"description":"VSCode part of a language server","author":"Aoyue Design LLC.","license":"MIT","engines":{"node":"*"},"devDependencies":{"@types/js-beautify":"^1.13.3","@types/minimatch":"^5.1.2","vscode-languageserver":"^7.0.0","vscode-languageserver-textdocument":"^1.0.4","@master/css":"","@master/css-compiler":"","file-uri-to-path":"^2.0.0","js-beautify":"^1.14.3","minimatch":"^5.1.0","pascal-case":"^3.1.2"},"main":"./dist/server.js","jsnext:main":"./dist/server.mjs","esnext":"./dist/server.mjs","module":"./dist/server.mjs","types":"./dist/server.d.ts","exports":{".":{"require":"./dist/server.js","import":"./dist/server.mjs","types":"./dist/server.d.ts"}},"files":["dist"],"publishConfig":{"access":"public"},"version":"2.0.0-beta.
|
|
1
|
+
{"name":"@master/css-language-server","scripts":{"build":"aron pack --platform=node","dev":"npm run build -- --watch","type-check":"tsc --noEmit","lint":"eslint src"},"description":"VSCode part of a language server","author":"Aoyue Design LLC.","license":"MIT","engines":{"node":"*"},"devDependencies":{"@types/js-beautify":"^1.13.3","@types/minimatch":"^5.1.2","vscode-languageserver":"^7.0.0","vscode-languageserver-textdocument":"^1.0.4","@master/css":"","@master/css-compiler":"","file-uri-to-path":"^2.0.0","js-beautify":"^1.14.3","minimatch":"^5.1.0","pascal-case":"^3.1.2"},"main":"./dist/server.js","jsnext:main":"./dist/server.mjs","esnext":"./dist/server.mjs","module":"./dist/server.mjs","types":"./dist/server.d.ts","exports":{".":{"require":"./dist/server.js","import":"./dist/server.mjs","types":"./dist/server.d.ts"}},"files":["dist"],"publishConfig":{"access":"public"},"version":"2.0.0-beta.111"}
|