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

@master/css

Package Overview
Dependencies
Maintainers
2
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master/css - npm Package Compare versions

Comparing version 1.32.2 to 1.32.3

2

index.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{"use strict";var e={955:(e,t,s)=>{s.d(t,{breakpoints:()=>i});const i={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},563:(e,t,s)=>{s.d(t,{colors:()=>i});const i={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{Style:()=>Rt,StyleSheet:()=>Mt,Styles:()=>Ln,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Zn,sheets:()=>Nt});var e=s(563),t=s(955);function r(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}const n=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function a(e,t,s,i){let r=i?i[e]:"",a="",c="";if(r)return{value:r,unit:a,unitToken:c};if("number"==typeof e)r=e,a=t||"";else{if(s){const[t,i]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return r="rgb(var(--"+t+")"+(i?"/"+i:"")+")",{value:r,unit:a,unitToken:c}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:a,unitToken:c}}return r=+s[1],a=c=s[3]||"",a||("rem"!==t&&"em"!==t||(r/=16),a=t||""),{value:r,unit:a,unitToken:c}}}r=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:r,unit:a,unitToken:c}}const c=[":disabled",":active",":focus",":hover"];function l(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function o(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}const d={"(":")","'":"'","{":"}"},h=(...e)=>e.join("-"),u="border",f="radius",m="margin",p="padding",x="font",b="currentColor",g=",",y="flow",k="template",v="column",w="columns",O="gap",j="row",S="rows",N="shadow",R="user",I="content",W="image",$="stroke",z="filter",A="blend",E="background",C="repeat",M="color",T="scroll",V="animation",q="direction",_="mode",L="behavior",P=h("overscroll",L),Z="y",F="x",Q="height",X="width",Y="max",B="min",U="block",D="inline",G="flex",H="grid",J="transition",K="origin",ee="delay",te="rotate",se="deg",ie="timing-function",re="duration",ne="display",ae="hidden",ce="box",le="fill",oe="clip",de="none",he="text",ue="align",fe="transform",me="vertical",pe="word",xe="space",be="decoration",ge="break",ye="size",ke="auto",ve="line",we="object",Oe="position",je="rem",Se="style",Ne="smoothing",Re="antialiased",Ie="spacing",We=h("letter",Ie),$e=h(Y,X),ze=h(B,X),Ae=h(Y,Q),Ee=h(B,Q),Ce="table",Me="group",Te="list",Ve="span",qe="justify",_e="items",Le="self",Pe="place",Ze="type",Fe="offset",Qe="outline",Xe="snap",Ye="shape",Be="view",Ue="area",De="start",Ge="blur",He="drop",Je={full:"100%",fit:h("fit",I),max:h(Y,I),min:h(B,I)};for(const e in t.breakpoints)Je[e]=t.breakpoints[e]/16+"rem";const Ke="matches",et="semantics",tt="symbol",st="max-width",it="min-width",rt="motion",nt="reduce",at="reduced-motion",ct="::scrollbar",lt="::slider-thumb",ot="::slider-runnable-track",dt="::search",ht="::meter",ut="::resizer",ft="::progress",mt="px",pt=["!","*",">","+","~",":","[","@","_"],xt=[...pt,void 0,"."],bt=new RegExp(ct,"g"),gt=new RegExp(dt,"g"),yt=new RegExp(ht,"g"),kt=new RegExp(ot,"g"),vt=new RegExp(lt,"g"),wt=new RegExp(ut,"g"),Ot=new RegExp(ft,"g"),jt=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,St=e=>e.split(jt).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Nt=[];class Rt{constructor(e,t){this.name=e,this.matching=t,this.at={},this.prioritySelectorIndex=-1;const s=this.constructor;if(void 0===t&&!(t=s.match(e)))return;let i,n,l,{id:o,semantics:h,unit:u,colors:f,key:m,values:p,colorful:x,breakpoints:b,mediaQueries:g,colorSchemes:y}=s,k=e;if(x||(f=null),t.origin===et)i=t.value,l=k.slice(t.value.length),this.value=h[t.value];else{if(t.origin===Ke)if(o===Me){let e=0;for(;e<k.length&&("{"!==k[e]||"\\"===k[e-1]);e++);n=k.slice(0,e),i=k.slice(e)}else{const e=k.indexOf(":");this.prefix=k.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=k):i=k.slice(e+1)}else t.origin===tt&&(this.symbol=k[0],i=k.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let h,m=!1;for(n&&(")"===n&&"$"===s.slice(-1)?h=s.length-1:"'"===n&&(m=!0),s+=i[c++]);c<i.length;c++){const x=i[c];if(x===n){if(s+=x,m){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==h&&(s=s.slice(0,h)+s.slice(h).replace(/\$\((.*)\)/,"var(--$1)")),l||(m?r.push(s):(e=a(s,u,f,p),r.push(e.value+e.unit)),o="",s="");break}if(!m&&x in d)t(d[x],void 0===l?0:l+1,o);else if("|"!==x||m&&"path"!==o){if(!n){if("."===x){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===x){e=a(s,u,f,p),r.push(e.value+e.unit,","),s="";continue}if("#"===x&&(s||r.length&&"|"!==i[c-1])||pt.includes(x))break}o+=x}s+=x}else n?s+=" ":(e=a(s,u,f,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,u,f,p),r.push(e.value+e.unit)),l=i.slice(c),1===r.length?e?(this.value=e.value,this.unit=e.unit):(this.value=r[0],this.unit=""):this.value=r.join(" ")}l.includes(ct)&&(l=l.replace(bt,"::-webkit-scrollbar")),l.includes(dt)&&(l=l.replace(gt,"::-webkit-search")),l.includes(lt)&&(l=l.replace(vt,"::-webkit-slider-thumb")),l.includes(ot)&&(l=l.replace(kt,"::-webkit-slider-runnable-track")),l.includes(ht)&&(l=l.replace(yt,"::-webkit-meter")),l.includes(ut)&&(l=l.replace(wt,"::-webkit-resizer")),l.includes(ft)&&(l=l.replace(Ot,"::-webkit-progress")),l.includes(":first")&&(l=l.replace(/:first(?![a-z-])/g,":first-child")),l.includes(":last")&&(l=l.replace(/:last(?![a-z-])/g,":last-child")),l.includes(":even")&&(l=l.replace(/:even(?![a-z-])/g,":nth-child(2n)")),l.includes(":odd")&&(l=l.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),l.includes(":nth(")&&(l=l.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.prefixSelector=n?St(n):"";const v=l.split("@");let w=v[0];if(w){w=St(w),this.hasWhere=w.includes(":where(");for(let e=0;e<c.length;e++)if(w.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=w;for(let e=1;e<v.length;e++){const t=v[e];if(t)if(y.includes(t))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===rt||e===at)i.push("(prefers-reduced-motion:"+(e===rt?"no-preference":nt)+")");else if(e in g)i.push(g[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=st):e.startsWith(">=")||b[e]?(r=">=",s=it):e.startsWith(">")?(r=">",s=it,n=.02):e.startsWith("<")&&(r="<",s=st,n=-.02),s){case st:case it:const c=r?e.replace(r,""):e,l=b[c];l?Object.assign(t,a(l,mt)):Object.assign(t,a(c,mt)),t.unit===mt&&(t.value+=n),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let O="";this.colorScheme&&(O+="."+this.colorScheme+" "),this.prefixSelector&&(O+=this.prefixSelector),this.direction&&(O+="[dir="+this.direction+"] "),this.text=O+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Rt.relations?Rt.relations[this.name].map((e=>", "+O+"."+e+this.suffixSelector)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((e=>r(e,Object.assign(Object.assign({},this),{unit:"",value:this.value[e]})))).join(";"):this.props?Object.keys(this.props).map((e=>r(e,this.props[e]))).join(";"):r(m,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&&xt.includes(e[t.length]))return{origin:et,value:t};return this.matches&&this.matches.test(e)||this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:Ke}:this.symbol&&e.startsWith(this.symbol)?{origin:tt}:this.key&&e.startsWith(this.key+":")?{origin:Ke}:void 0}static extend(e,...t){if(!t.length)return this;const s=Object.assign({},...t),i=(e,t,i)=>{var r;for(const n in s){const a=s[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==t?void 0:t(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>{const s=this.colorNames.indexOf(e);-1!==s?null==Wt||Wt.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=l(t[""]).join(" "));let n=!1;for(const e in t)if(e&&+e>=100){n=!0;break}if(n)for(const e in t)i[e]=l(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?l(t[0]):[0,0,0];const a=[],c=()=>{const c=e-r,l=s.map(((e,t)=>(e-n[t])/c));for(const e of a){const s=e-r,a=n.map(((e,t)=>Math.round(e+l[t]*s)));i[e]=a.join(" "),t[e]=o.call(this,...a)}};for(let o=1;o<100;o++){const d=o%2==0;o in t?(a.length?(e=o,s=l(t[o]),c(),a.length=0,n=s):n=l(t[o]),r=o,d&&(i[o]=n.join(" "))):d&&a.push(o)}a.length&&(e=100,s="100"in t?l(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=l(e).join(" ")}return null==Wt||Wt.insertRule(function(e,t){let s=":root{";for(const i in t)s+="--"+e+(i?"-"+i:"")+":"+t[i]+";";return s+="}",s}(e,i),-1===s?Object.keys(this.colors).length:s),this.rgbColors[e]=i,t}),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1),null==Wt||Wt.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}return this}}let It,Wt;if(Rt.unit="rem",Rt.rgbColors={},Rt.mediaQueries={},Rt.sheets=Nt,Rt.colors={},Rt.classes={},Rt.colorNames=[],Rt.relations={},Rt.colorSchemes=["dark","light"],"undefined"!=typeof window&&(window.MasterStyle=Rt),"undefined"!=typeof document){const e=document.head.querySelector('[id="master-colors"]');if(e){const t=document.head.querySelector('[name="master:colors"]');if(t&&t.content){It=e;const s={},i=t.content.split(",");for(let e=0;e<It.sheet.cssRules.length;e++){const t=It.sheet.cssRules[e].cssText.slice(8,-1).split(";").slice(0,-1);if(t.length){const r=i[e],n=r.length+2,a={};for(const e of t){let[t,s]=e.split(":");t=t.trim().slice(n),t&&(t=t.slice(1)),a[t]=o.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}Rt.extend("colors",s),Wt=It.sheet}}It||(It=document.createElement("style"),It.id="master-colors",document.head.prepend(It),Wt=It.sheet)}const $t=[",",".","#","[","!","*",">","+","~",":","@"],zt="undefined"!=typeof document;let At;zt&&(At=document.createElement("style"),At.id="master-styles");const Et="undefined"!=typeof window,Ct=Et?window.MutationObserver:Object;class Mt extends Ct{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t,s)=>{for(let i=0;i<e.length;i++){const r=e[i];if(r.classList&&!s.includes(r)){s.push(r),r.classList.forEach((e=>{t?c(e):a(e)}));const e=r.children;e.length&&n(e,t,s)}}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1};for(let t=0;t<e.length;t++){const a=e[t],{addedNodes:c,removedNodes:l,type:o,target:d,oldValue:h}=a;if("attributes"===o){if(d.className===h||s.find((e=>e.target===d)))continue;s.push(a)}else c.length&&n(c,!1,i),l.length&&n(l,!0,r)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){if(i.includes(t)||r.includes(t))continue;const s=e?e.split(" "):[],n=t.classList;n.length&&n.forEach((e=>{s.includes(e)||a(e)}));for(const e of s)n.contains(e)||c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},zt){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");let i;for(let t=e.length-1;t>=0;t--){const s=e[t];if("."===s[0]){i=s.slice(1);break}}let r="";for(let e=0;e<i.length;e++){const t=i[e],s=i[e+1];if("\\"===t){if(e++,"\\"!==s){r+=s;continue}}else if($t.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=Mt.findAndNew(r);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t)};e(t.sheet,void 0)}else this.element=At.cloneNode(),null==e||e.prepend(this.element)}Nt.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Nt)e.refresh()}refresh(){if(!this.element)return;const e=At.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Nt.splice(Nt.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features["max-width"],o=r.features["min-width"];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features["max-width"],d=n.features["min-width"];if(!o||!d){s++;break}const h=o.value-d.value;if(h===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features["max-width"],n=t.features["min-width"];if(!r||!n||r.value-n.value!==h)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]))}break}if(h>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features["max-width"],h=r.features["min-width"];if(d){if(h)break;continue}const u=null==h?void 0:h.value;if(u===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features["min-width"];if(!i.features["max-width"]){if(t.hasWhere!==c||r.value!==u||t.order>=n)break;s=e+1}}break}if(u>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features["max-width"];if(o.features["min-width"])continue;const h=null==d?void 0:d.value;if(!h||h>t.value){s++;break}if(h===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features["min-width"],n=i.features["max-width"];if(!(r||n&&n.value===h&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features["min-width"]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features["max-width"]||e.media.features["min-width"]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features["max-width"]||i.features["min-width"])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in Rt.relations&&Rt.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in Rt.classes)for(const t of Rt.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=Mt.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}Mt.Styles=[],Et&&(window.MasterStyleSheet=Mt);class Tt extends Rt{}Tt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,Tt.key=h(x,"weight"),Tt.unit="",Tt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const Vt="var(--font-";class qt extends Rt{}qt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,qt.key=h(x,"family"),qt.values={mono:Vt+"mono)",sans:Vt+"sans)",serif:Vt+"serif)"};class _t extends Rt{}_t.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,_t.key=h(x,ye);const Lt="top",Pt="bottom",Zt="left",Ft="right",Qt="l",Xt="r",Yt="t",Bt="b",Ut="x",Dt="y";class Gt extends Rt{get props(){const e="m"===this.prefix[0]?m:p,t=h(e,Zt),s=h(e,Ft),i=h(e,Lt),r=h(e,Pt);switch(this.prefix[1]){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Gt.id="spacing",Gt.matches=/^[pm][xytblr]?:./;class Ht extends Rt{}Ht.matches=/^w:./,Ht.key=X,Ht.values=Je;class Jt extends Rt{}Jt.matches=/^h:./,Jt.key=Q,Jt.values=Je;class Kt extends Rt{}Kt.matches=/^min-w:./,Kt.key=ze,Kt.values=Je;class es extends Rt{}es.matches=/^min-h:./,es.key=Ee,es.values=Je;class ts extends Rt{}ts.matches=/^ls:./,ts.key=We,ts.unit="em";const ss=h("subpixel",Re),is=h("-webkit-font",Ne),rs=h("-moz-osxfont",Ne);class ns extends Rt{get props(){const e={};switch(this.value){case ss:e[is]=e[rs]=Object.assign(Object.assign({},this),{value:ke});break;case Re:e[is]=Object.assign(Object.assign({},this),{value:Re}),e[rs]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}ns.id="fontSmoothing",ns.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,ns.unit="";class as extends Rt{}as.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,as.key=h(x,Se),as.unit="deg",as.semantics={italic:"italic",oblique:"oblique"};class cs extends Rt{}cs.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,cs.key=h(x,"variant","numeric");class ls extends Rt{}ls.matches=/^lh:./,ls.key=h(ve,Q),ls.unit="";class os extends Rt{}os.matches=/^(object|obj):(contain|cover|fill|scale-down)/,os.key=h(we,"fit");class ds extends Rt{}ds.matches=/^(object|obj):(top|bottom|right|left|center)/,ds.key=h(we,Oe);class hs extends Rt{}hs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,hs.key=h(he,ue);class us extends Rt{constructor(){super(...arguments),this.order=-1}}us.matches=/^t(ext)?:(underline|line-through|overline)/,us.key=h(he,be),us.colorful=!0;class fs extends Rt{}fs.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,fs.key=h(he,fe),fs.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class ms extends Rt{}ms.matches=/^v:./,ms.key=h(me,ue);class ps extends Rt{get props(){return{overflow:Object.assign(Object.assign({},this),{value:ae}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:h(ge,pe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:me}),"-webkit-line-clamp":this}}}ps.id="lines",ps.matches=/^lines:./,ps.unit="";class xs extends Rt{}xs.matches=/^transform:((top|bottom|right|left|center)|\d)/,xs.key=h(fe,K),xs.unit="px";class bs extends Rt{}bs.matches=/^transform:(flat|preserve-3d)(?!\|)/,bs.key=h(fe,Se);class gs extends Rt{}gs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,gs.key=h(fe,ce),gs.values={content:h(I,ce),border:h(u,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class ys extends Rt{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=je;break;case"skew":r=se;break;case te:"3d"===s&&(n=!0),r=se;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===je?16:1)+r})).join(","))}))}}ys.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,ys.key=fe,ys.unit="";class ks extends Rt{constructor(){super(...arguments),this.order=-1}}ks.symbol="~",ks.key=J;class vs extends Rt{}vs.matches=/^~delay:./,vs.key=h(J,ee),vs.unit="ms";class ws extends Rt{}ws.matches=/^~duration:./,ws.key=h(J,re),ws.unit="ms";class Os extends Rt{}Os.matches=/^~property:./,Os.key=h(J,"property");class js extends Rt{}js.matches=/^~easing:./,js.key=h(J,ie);class Ss extends Rt{}Ss.matches=/^max-h:./,Ss.key=Ae,Ss.values=Je;class Ns extends Rt{}Ns.matches=/^max-w:./,Ns.key=$e,Ns.values=Je;class Rs extends Rt{}Rs.matches=/^d:./,Rs.key=ne,Rs.semantics={hidden:de,hide:de,block:U,table:Ce,flex:G,grid:H,contents:"contents","inline-block":h(D,U),"inline-flex":h(D,G),"inline-grid":h(D,H),"inline-table":h(D,Ce)};class Is extends Rt{}Is.matches=/^box:(content|border)(?!\|)/,Is.key=h(ce,"sizing"),Is.values={content:h(I,ce),border:h(u,ce)};class Ws extends Rt{}Ws.key="opacity",Ws.unit="";class $s extends Rt{}$s.key="visibility",$s.semantics={visible:"visible",invisible:ae};class zs extends Rt{}zs.key="clear";class As extends Rt{}As.key="float";class Es extends Rt{}Es.key="isolation",Es.semantics={isolate:"isolate"};class Cs extends Rt{get props(){switch(this.prefix.slice(-2,-1)){case F:return{"overflow-x":this};case Z:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case F:case Z:return 0;default:return-1}}}Cs.id="overflow",Cs.matches=/^(overflow|ovf)(-x|-y)?:./;class Ms extends Rt{get props(){switch(this.prefix.slice(-2,-1)){case F:return{[h(P,F)]:this};case Z:return{[h(P,Z)]:this};default:return{[P]:this}}}}Ms.id="overscrollBehavior",Ms.matches=/^overscroll-behavior(?:-[xy])?:/;class Ts extends Rt{}Ts.matches=/^z:./,Ts.key="z-index",Ts.unit="";class Vs extends Rt{}Vs.matches=/^\@delay:./,Vs.key=h(V,ee),Vs.unit="ms";class qs extends Rt{}qs.matches=/^\@direction:./,qs.key=h(V,q);class _s extends Rt{}_s.matches=/^\@fill-mode:./,_s.key=h(V,le,_);class Ls extends Rt{}Ls.matches=/^\@iteration-count:./,Ls.key=h(V,"iteration","count"),Ls.unit="";class Ps extends Rt{}Ps.matches=/^\@name:./,Ps.key=h(V,"name");class Zs extends Rt{}Zs.matches=/^\@play-state:./,Zs.key=h(V,"play-state");class Fs extends Rt{}Fs.matches=/^\@easing:./,Fs.key=h(V,ie);class Qs extends Rt{constructor(){super(...arguments),this.order=-1}}Qs.symbol="@",Qs.key=V,Qs.unit="";function Xs(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Ut:return{[i]:t,[r]:t};case Dt:return{[n]:t,[a]:t};case Qt:return{[i]:t};case Xt:return{[r]:t};case Yt:return{[n]:t};case Bt:return{[a]:t};default:return{[u+s]:t}}}class Ys extends Rt{get props(){return Xs(this.prefix,this,M)}get order(){return this.prefix===h(u,M)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Ys.id="borderColor",Ys.matches=/^border(-(left|right|top|bottom))?-color:./,Ys.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Ys.colorful=!0,Ys.values={current:b};const Bs=h(u,Lt,Zt,f),Us=h(u,Lt,Ft,f),Ds=h(u,Pt,Zt,f),Gs=h(u,Pt,Ft,f),Hs=h(u,f),Js=[Bs,Us,Ds,Gs];class Ks extends Rt{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Yt:return{[Bs]:this,[Us]:this};case"tl":case"lt":return{[Bs]:this};case"rt":case"tr":return{[Us]:this};case Bt:return{[Ds]:this,[Gs]:this};case"bl":case"lb":return{[Ds]:this};case"br":case"rb":return{[Gs]:this};case Qt:return{[Bs]:this,[Ds]:this};case Xt:return{[Us]:this,[Gs]:this};default:return{[Hs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Js.includes(t)?t:Hs]:this}}get order(){return this.prefix===h(u,f)+":"||"r:"===this.prefix?-1:0}}Ks.id="borderRadius",Ks.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Ks.semantics={rounded:"1e9em",round:"50%"};class ei extends Rt{get props(){return Xs(this.prefix,this,Se)}get order(){return this.prefix===h(u,Se)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderStyle",ei.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class ti extends Rt{get props(){return Xs(this.prefix,this,X)}get order(){return this.prefix===h(u,X)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ti.id="borderWidth",ti.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class si extends Rt{get props(){return Xs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}si.id="border",si.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,si.colorful=!0;class ii extends Rt{}ii.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ii.key=h(E,"attachment");class ri extends Rt{}ri.key=h(E,A,_);class ni extends Rt{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ni.matches=/^(bg|background):text(?!\|)/,ni.key=h(E,oe);class ai extends Rt{}ai.matches=/^(bg|background):transparent(?!\|)/,ai.colorStarts="(bg|background):",ai.key=h(E,M),ai.unit="",ai.colorful=!0,ai.values={current:b};class ci extends Rt{}ci.matches=/^(bg|background):(content|border|padding)(?!\|)/,ci.key=h(E,K),ci.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce)};class li extends Rt{}li.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,li.key=h(E,Oe),li.unit="px";class oi extends Rt{}oi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,oi.key=h(E,C);class di extends Rt{}di.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,di.key=h(E,ye);class hi extends Rt{}hi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,hi.key=h(E,W);class ui extends Rt{constructor(){super(...arguments),this.order=-1}}ui.matches=/^bg:./,ui.key=E,ui.colorful=!0;class fi extends Rt{}fi.matches=/^blend:./,fi.key=h("mix",A,_);class mi extends Rt{}mi.key=Oe,mi.values={abs:"absolute",rel:"relative"},mi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class pi extends Rt{get props(){const e=this.prefix.slice(0,-1);switch(e){case Lt:case Zt:case Ft:case Pt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function xi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===je?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}pi.matches=/^(top|left|right|bottom|center|middle):./;class bi extends Rt{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return xi(this.value,(e=>{switch(e){case Ge:case h(He,N):return je;case h("hue",te):return se}return""}))}}bi.matches=/^bd:./,bi.key=h("backdrop",z);class gi extends Rt{}gi.key=le,gi.colorStarts="fill:",gi.colorful=!0,gi.values={current:b};class yi extends Rt{}yi.key=$,yi.colorful=!0;class ki extends Rt{}ki.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,ki.key=h($,X);class vi extends Rt{get parseValue(){return xi(this.value,(e=>{switch(e){case Ge:case h(He,N):return je;case h("hue",te):return se}return""}))}}vi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,vi.key=z;class wi extends Rt{}wi.key="cursor";class Oi extends Rt{}Oi.key=h("pointer","events"),Oi.semantics={untouchable:"none"};class ji extends Rt{}ji.key="resize";class Si extends Rt{}Si.key=h("touch","action");class Ni extends Rt{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Ni.key=h(R,"drag");class Ri extends Rt{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ri.key=h(R,"select");class Ii extends Rt{}Ii.matches=/^s(?:hadow)?:./,Ii.key=h(ce,N),Ii.colorful=!0;class Wi extends Rt{}Wi.key=h(he,N),Wi.colorful=!0;class $i extends Rt{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===je?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}$i.id="textSize",$i.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class zi extends Rt{}zi.key=h(pe,ge),zi.unit="";class Ai extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,k,w)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ai.matches=/^grid-cols:./,Ai.key=h(H,w),Ai.unit="";class Ei extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,ke,y)]:Object.assign(Object.assign({},this),{value:v}),[h(H,k,S)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ei.key=h(H,S),Ei.unit="";class Ci extends Rt{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case F:return{[h(v,O)]:this};case Z:return{[h(j,O)]:this};default:return{[O]:this}}}}Ci.id="gap",Ci.matches=/^gap(-x|-y)?:./;class Mi extends Rt{}Mi.key=h(pe,Ie);class Ti extends Rt{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Ti.id="variable",Ti.matches=/^\$.+:./,Ti.unit="";class Vi extends Rt{}Vi.matches=/^aspect:./,Vi.key=h("aspect","ratio"),Vi.unit="",Vi.semantics={square:"1/1",video:"16/9"};class qi extends Rt{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}qi.matches=/^box:(slice|clone)(?!\|)/,qi.key=h(ce,be,ge);class _i extends Rt{}_i.key=h(ge,"after");class Li extends Rt{}Li.key=h(ge,"before");class Pi extends Rt{}Pi.key=h(ge,"inside");class Zi extends Rt{}Zi.key=h(G,"shrink"),Zi.unit="";class Fi extends Rt{}Fi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Fi.key=h(G,q),Fi.values={col:v,"col-reverse":h(v,"reverse")};class Qi extends Rt{}Qi.key=h(G,"grow"),Qi.unit="";class Xi extends Rt{}Xi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Xi.key=h(G,"wrap");class Yi extends Rt{}Yi.key=h(G,"basis"),Yi.values=Je;class Bi extends Rt{constructor(){super(...arguments),this.order=-1}}Bi.key=G,Bi.unit="";const Ui="999999";class Di extends Rt{}Di.matches=/^o:./,Di.key="order",Di.values={first:"-999999",last:Ui},Di.unit="";class Gi extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Gi.matches=/^grid-col(-span)?:./,Gi.key=h(H,v),Gi.unit="";class Hi extends Rt{}Hi.matches=/^col-span:./,Hi.key=h(v,Ve);class Ji extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Ji.matches=/^grid-row-span:./,Ji.key=h(H,j),Ji.unit="";class Ki extends Rt{}Ki.matches=/^(font-color:.|font:current)/,Ki.colorStarts="(?:f(ont)?|color):",Ki.colorful=!0,Ki.key=M,Ki.unit="",Ki.values={current:b};class er extends Rt{}er.matches=/^ac:./,er.key=h(ue,I);class tr extends Rt{}tr.matches=/^ai:./,tr.key=h(ue,_e);class sr extends Rt{}sr.matches=/^as:./,sr.key=h(ue,Le);class ir extends Rt{}ir.matches=/^grid-auto-cols:./,ir.key=h(H,ke,w),ir.values={min:h(B,I),max:h(Y,I)};class rr extends Rt{}rr.matches=/^grid-flow:./,rr.key=h(H,ke,y);class nr extends Rt{}nr.key=h(H,ke,S),nr.values={min:h(B,I),max:h(Y,I)};class ar extends Rt{}ar.matches=/^jc:./,ar.key=h(qe,I);class cr extends Rt{}cr.matches=/^ji:./,cr.key=h(qe,_e);class lr extends Rt{}lr.matches=/^js:./,lr.key=h(qe,Le);class or extends Rt{constructor(){super(...arguments),this.order=-1}}or.key=h(Pe,I);class dr extends Rt{constructor(){super(...arguments),this.order=-1}}dr.key=h(Pe,_e);class hr extends Rt{constructor(){super(...arguments),this.order=-1}}hr.key=h(Pe,Le);class ur extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}ur.id="padding",ur.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class fr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}fr.id="margin",fr.matches=/^margin(-(left|right|top|bottom))?:./;class mr extends Rt{}mr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,mr.key=h(he,"overflow");class pr extends Rt{}pr.matches=/^list-style:(inside|outside)(?!\|)/,pr.key=h(Te,Se,Oe);class xr extends Rt{}xr.matches=/^list-style:(none|disc|decimal)(?!\|)/,xr.key=h(Te,Se,Ze);class br extends Rt{constructor(){super(...arguments),this.order=-1}}br.key=h(Te,Se);class gr extends Rt{}gr.key=h(he,be,M),gr.colorStarts="text-decoration:",gr.colorful=!0,gr.values={current:b};class yr extends Rt{}yr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,yr.key=h(he,be,Se);class kr extends Rt{}kr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,kr.key=h(he,be,"thickness"),kr.unit="em";class vr extends Rt{}vr.key=h(he,"indent");class wr extends Rt{}wr.key=I;class Or extends Rt{}Or.key=h(Qe,M),Or.colorStarts="outline:",Or.colorful=!0,Or.values={current:b};class jr extends Rt{}jr.key=h(Qe,Fe);class Sr extends Rt{}Sr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Sr.key=h(Qe,Se);class Nr extends Rt{}Nr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Nr.key=h(Qe,X);class Rr extends Rt{constructor(){super(...arguments),this.order=-1}}Rr.key=Qe,Rr.colorful=!0;class Ir extends Rt{}Ir.matches=/^b(order)?:(collapse|separate)(?!\|)/,Ir.key=h(u,"collapse");class Wr extends Rt{}Wr.key=h(u,Ie);class $r extends Rt{}$r.key=h(Ce,"layout");class zr extends Rt{}zr.key=h("accent",M),zr.colorStarts="accent:",zr.colorful=!0;class Ar extends Rt{}Ar.key="appearance";class Er extends Rt{}Er.key=h("caret",M),Er.matches=/^caret:transparent(?!\|)/,Er.colorStarts="caret:",Er.colorful=!0,Er.values={current:b};class Cr extends Rt{}Cr.key=h(T,L);class Mr extends Rt{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=h(T,m)+"-",t=e+Zt,s=e+Ft,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this}}}}get order(){return this.prefix===h(T,m)+":"||this.prefix===h(T,"m:")?-1:0}}Mr.id="scrollMargin",Mr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Tr extends Rt{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=h(T,p)+"-",t=e+Zt,s=e+Ft,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this}}}}get order(){return this.prefix===h(T,p)+":"||this.prefix===h(T,"p:")?-1:0}}Tr.id="scrollPadding",Tr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class Vr extends Rt{}Vr.matches=/^scroll-snap:(start|end|center)/,Vr.key=h(T,Xe,ue);class qr extends Rt{}qr.matches=/^scroll-snap:(normal|always)(?!\|)/,qr.key=h(T,Xe,"stop");class _r extends Rt{}_r.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,_r.key=h(T,Xe,Ze);class Lr extends Rt{}Lr.key="will-change";class Pr extends Rt{}Pr.key=h(he,"underline",Fe);class Zr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}}Zr.matches=/^(?:top|bottom|left|right):./,Zr.key="inset";class Fr extends Rt{constructor(){super(...arguments),this.order=-1}}Fr.matches=/^(columns|cols):./,Fr.key=w,Fr.unit="";class Qr extends Rt{}Qr.key=h("white",xe),Qr.unit="";class Xr extends Rt{}Xr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Xr.key=h(he,"orientation");class Yr extends Rt{}Yr.key=h("writing",_);class Br extends Rt{}Br.key="contain";class Ur extends Rt{}Ur.matches=/^\@duration:./,Ur.key=h(V,re),Ur.unit="ms";class Dr extends Rt{}Dr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Dr.key=h(he,"rendering");class Gr extends Rt{}Gr.key=q;class Hr extends Rt{}Hr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Hr.key=h(he,be,ve);class Jr extends Rt{}Jr.matches=/^grid-col-start:./,Jr.key=h(H,v,De),Jr.unit="";class Kr extends Rt{}Kr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Kr.key=h(Te,Se,W);class en extends Rt{}en.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,en.key=h(Ye,"outside"),en.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce)};class tn extends Rt{}tn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,tn.key=h(Ye,m);class sn extends Rt{}sn.key=h(Ye,W,"threshold"),sn.unit="";class rn extends Rt{}rn.matches=/^clip:./,rn.key=h(oe,"path"),rn.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class nn extends Rt{constructor(){super(...arguments),this.order=-1}}nn.key=H;class an extends Rt{constructor(){super(...arguments),this.order=-1}}an.matches=/^f:./,an.key=x,an.unit="",an.colorful=!0;class cn extends Rt{}cn.key="quotes";class ln extends Rt{constructor(){super(...arguments),this.order=-1}}ln.key=h(H,k);class on extends Rt{}on.key=h(H,j,De),on.unit="";class dn extends Rt{}dn.key=h(H,k,Ue)+"s";class hn extends Rt{}hn.matches=/^grid-template-cols:./,hn.key=h(H,k,w),hn.values={min:h(B,I),max:h(Y,I)};class un extends Rt{}un.key=h(H,k,S),un.values={min:h(B,I),max:h(Y,I)};class fn extends Rt{constructor(){super(...arguments),this.order=-1}}fn.key=h(H,Ue),fn.unit="";class mn extends Rt{}mn.matches=/^grid-col-end:./,mn.key=h(H,v,"end"),mn.unit="";class pn extends Rt{}pn.key=h(H,j,"end"),pn.unit="";class xn extends Rt{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}xn.key=h("mask",W);class bn extends Rt{get props(){return{"-webkit-text-fill-color":this}}}bn.id="textFillColor",bn.matches=/^text-fill-color:./,bn.colorStarts="text-fill:",bn.colorful=!0,bn.values={current:b};class gn extends Rt{get props(){return{"-webkit-text-stroke":this}}}gn.id="textStroke",gn.matches=/^text-stroke:./;class yn extends Rt{get props(){return{"-webkit-text-stroke-width":this}}}yn.id="textStrokeWidth",yn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class kn extends Rt{get props(){return{"-webkit-text-stroke-color":this}}}kn.id="textStrokeColor",kn.matches=/^text-stroke-color:./,kn.colorStarts="text-stroke:",kn.colorful=!0,kn.values={current:b};class vn extends Rt{}vn.key=h($,"dasharray");class wn extends Rt{}wn.key=h($,"dash")+Fe;class On extends Rt{}On.key="x",On.unit="";class jn extends Rt{}jn.key="y",jn.unit="";class Sn extends Rt{}Sn.key="cx",Sn.unit="";class Nn extends Rt{}Nn.key="cy",Nn.unit="";class Rn extends Rt{}Rn.key="rx",Rn.unit="";class In extends Rt{}In.key="ry",In.unit="";class Wn extends Rt{}Wn.key=h(u,W,"outset");class $n extends Rt{}$n.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,$n.key=h(u,W,C);class zn extends Rt{}zn.key=h(u,W,"slice"),zn.unit="";class An extends Rt{}An.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,An.key=h(u,W,"source");class En extends Rt{}En.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,En.key=h(u,W,X);class Cn extends Rt{}Cn.key=h(u,W),Cn.unit="";const Mn=/\{(.*)\}/;class Tn extends Rt{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Mn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.value.length;a++){const t=this.value[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in d&&"'"!==e&&(a++,c(d[t]))}};c(void 0),n();for(const e of i){const i=Mt.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Tn.id=Me,Tn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,Tn.unit="";class Vn extends Rt{}Vn.key="counter-increment",Vn.unit="";class qn extends Rt{}qn.semantics={"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1",height:"1",padding:"0",margin:"-1",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":ke,"margin-right":ke},middle:{top:0,bottom:0,"margin-top":ke,"margin-bottom":ke},"break-spaces":{"white-space":h(ge,xe)+"s"},"break-word":{"overflow-wrap":h(ge,pe),overflow:ae}};const _n="undefined"!=typeof window,Ln=[qn,Tn,Ti,Tt,qt,Ki,Gt,fr,ur,_t,Yi,Xi,Qi,Zi,Fi,Bi,Rs,Ht,Jt,Kt,es,Br,wr,Vn,ts,ns,as,cs,an,ls,os,ds,hs,gr,yr,kr,Hr,us,Pr,mr,Xr,fs,Dr,vr,ms,Fr,Qr,Zr,ps,Ss,Ns,Is,Ws,$s,zs,As,Es,Cs,Ms,Ts,mi,pi,wi,Oi,ji,Si,zi,Mi,Ni,Ri,Wi,$i,bn,yn,kn,gn,Ii,$r,gs,bs,xs,ys,Os,js,ws,vs,ks,Vs,qs,Ur,_s,Ls,Ps,Zs,Fs,Qs,Ys,Ks,ei,ti,Ir,Wr,si,Wn,$n,zn,An,En,Cn,ii,ri,ni,ai,ci,li,oi,di,hi,ui,fi,bi,vi,gi,vn,wn,ki,yi,On,jn,Sn,Nn,Rn,In,Jr,mn,Gi,Ai,on,pn,Ji,Ei,ir,rr,nr,dn,hn,un,ln,fn,nn,Ci,Di,Pi,Li,_i,qi,Vi,Hi,er,tr,sr,ar,cr,lr,or,dr,hr,pr,xr,Kr,br,Or,jr,Sr,Nr,Rr,zr,Ar,Er,Cr,Mr,Tr,Vr,qr,_r,Lr,Yr,Gr,en,tn,sn,rn,cn,xn],Pn=Ln.get=e=>Ln.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function Zn(){if(_n){const e=new Mt(document.head);Mt.root=e,e.observe(document.documentElement)}}Ln.extend=(e,...t)=>{const s=Object.assign({},...t);for(const t in s){const i=Pn(t);if(i){const r=s[t];i.extend(e,r)}}},Rt.extend("colors",e.colors).extend("breakpoints",t.breakpoints),Mt.Styles.push(...Ln);_n&&(window.initMasterCSS=Zn,window.MasterStyles=Ln,window.MasterCSSManual||Zn())})(),i})()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{"use strict";var e={955:(e,t,s)=>{s.d(t,{breakpoints:()=>i});const i={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},563:(e,t,s)=>{s.d(t,{colors:()=>i});const i={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{Style:()=>Rt,StyleSheet:()=>Mt,Styles:()=>Ln,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Zn,sheets:()=>Nt});var e=s(563),t=s(955);function r(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}const n=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function a(e,t,s,i){let r=i?i[e]:"",a="",c="";if(r)return{value:r,unit:a,unitToken:c};if("number"==typeof e)r=e,a=t||"";else{if(s){const[t,i]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return r="rgb(var(--"+t+")"+(i?"/"+i:"")+")",{value:r,unit:a,unitToken:c}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:a,unitToken:c}}return r=+s[1],a=c=s[3]||"",a||("rem"!==t&&"em"!==t||(r/=16),a=t||""),{value:r,unit:a,unitToken:c}}}r=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:r,unit:a,unitToken:c}}const c=[":disabled",":active",":focus",":hover"];function l(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function o(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}const d={"(":")","'":"'","{":"}"},h=(...e)=>e.join("-"),u="border",f="radius",m="margin",p="padding",x="font",b="currentColor",g=",",y="flow",k="template",v="column",w="columns",O="gap",j="row",S="rows",N="shadow",R="user",I="content",W="image",$="stroke",z="filter",A="blend",E="background",C="repeat",M="color",T="scroll",V="animation",q="direction",_="mode",L="behavior",P=h("overscroll",L),Z="y",F="x",Q="height",X="width",Y="max",B="min",U="block",D="inline",G="flex",H="grid",J="transition",K="origin",ee="delay",te="rotate",se="deg",ie="timing-function",re="duration",ne="display",ae="hidden",ce="box",le="fill",oe="clip",de="none",he="text",ue="align",fe="transform",me="vertical",pe="word",xe="space",be="decoration",ge="break",ye="size",ke="auto",ve="line",we="object",Oe="position",je="rem",Se="style",Ne="smoothing",Re="antialiased",Ie="spacing",We=h("letter",Ie),$e=h(Y,X),ze=h(B,X),Ae=h(Y,Q),Ee=h(B,Q),Ce="table",Me="group",Te="list",Ve="span",qe="justify",_e="items",Le="self",Pe="place",Ze="type",Fe="offset",Qe="outline",Xe="snap",Ye="shape",Be="view",Ue="area",De="start",Ge="blur",He="drop",Je={full:"100%",fit:h("fit",I),max:h(Y,I),min:h(B,I)};for(const e in t.breakpoints)Je[e]=t.breakpoints[e]/16+"rem";const Ke="matches",et="semantics",tt="symbol",st="max-width",it="min-width",rt="motion",nt="reduce",at="reduced-motion",ct="::scrollbar",lt="::slider-thumb",ot="::slider-runnable-track",dt="::search",ht="::meter",ut="::resizer",ft="::progress",mt="px",pt=["!","*",">","+","~",":","[","@","_"],xt=[...pt,void 0,"."],bt=new RegExp(ct,"g"),gt=new RegExp(dt,"g"),yt=new RegExp(ht,"g"),kt=new RegExp(ot,"g"),vt=new RegExp(lt,"g"),wt=new RegExp(ut,"g"),Ot=new RegExp(ft,"g"),jt=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,St=e=>e.split(jt).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Nt=[];class Rt{constructor(e,t){this.name=e,this.matching=t,this.at={},this.prioritySelectorIndex=-1;const s=this.constructor;if(void 0===t&&!(t=s.match(e)))return;let i,n,l,{id:o,semantics:h,unit:u,colors:f,key:m,values:p,colorful:x,breakpoints:b,mediaQueries:g,colorSchemes:y}=s,k=e;if(x||(f=null),t.origin===et)i=t.value,l=k.slice(t.value.length),this.value=h[t.value];else{if(t.origin===Ke)if(o===Me){let e=0;for(;e<k.length&&("{"!==k[e]||"\\"===k[e-1]);e++);n=k.slice(0,e),i=k.slice(e)}else{const e=k.indexOf(":");this.prefix=k.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=k):i=k.slice(e+1)}else t.origin===tt&&(this.symbol=k[0],i=k.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let h,m=!1;for(n&&(")"===n&&"$"===s.slice(-1)?h=s.length-1:"'"===n&&(m=!0),s+=i[c++]);c<i.length;c++){const x=i[c];if(x===n){if(s+=x,m){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==h&&(s=s.slice(0,h)+s.slice(h).replace(/\$\((.*)\)/,"var(--$1)")),l||(m?r.push(s):(e=a(s,u,f,p),r.push(e.value+e.unit)),o="",s="");break}if(!m&&x in d)t(d[x],void 0===l?0:l+1,o);else if("|"!==x||"}"===n||m&&"path"!==o){if(!n){if("."===x){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===x){e=a(s,u,f,p),r.push(e.value+e.unit,","),s="";continue}if("#"===x&&(s||r.length&&"|"!==i[c-1])||pt.includes(x))break}o+=x}s+=x}else n?s+=" ":(e=a(s,u,f,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,u,f,p),r.push(e.value+e.unit)),l=i.slice(c),1===r.length?e?(this.value=e.value,this.unit=e.unit):(this.value=r[0],this.unit=""):this.value=r.join(" ")}l.includes(ct)&&(l=l.replace(bt,"::-webkit-scrollbar")),l.includes(dt)&&(l=l.replace(gt,"::-webkit-search")),l.includes(lt)&&(l=l.replace(vt,"::-webkit-slider-thumb")),l.includes(ot)&&(l=l.replace(kt,"::-webkit-slider-runnable-track")),l.includes(ht)&&(l=l.replace(yt,"::-webkit-meter")),l.includes(ut)&&(l=l.replace(wt,"::-webkit-resizer")),l.includes(ft)&&(l=l.replace(Ot,"::-webkit-progress")),l.includes(":first")&&(l=l.replace(/:first(?![a-z-])/g,":first-child")),l.includes(":last")&&(l=l.replace(/:last(?![a-z-])/g,":last-child")),l.includes(":even")&&(l=l.replace(/:even(?![a-z-])/g,":nth-child(2n)")),l.includes(":odd")&&(l=l.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),l.includes(":nth(")&&(l=l.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.prefixSelector=n?St(n):"";const v=l.split("@");let w=v[0];if(w){w=St(w),this.hasWhere=w.includes(":where(");for(let e=0;e<c.length;e++)if(w.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=w;for(let e=1;e<v.length;e++){const t=v[e];if(t)if(y.includes(t))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===rt||e===at)i.push("(prefers-reduced-motion:"+(e===rt?"no-preference":nt)+")");else if(e in g)i.push(g[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=st):e.startsWith(">=")||b[e]?(r=">=",s=it):e.startsWith(">")?(r=">",s=it,n=.02):e.startsWith("<")&&(r="<",s=st,n=-.02),s){case st:case it:const c=r?e.replace(r,""):e,l=b[c];l?Object.assign(t,a(l,mt)):Object.assign(t,a(c,mt)),t.unit===mt&&(t.value+=n),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let O="";this.colorScheme&&(O+="."+this.colorScheme+" "),this.prefixSelector&&(O+=this.prefixSelector),this.direction&&(O+="[dir="+this.direction+"] "),this.text=O+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Rt.relations?Rt.relations[this.name].map((e=>", "+O+"."+e+this.suffixSelector)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((e=>r(e,Object.assign(Object.assign({},this),{unit:"",value:this.value[e]})))).join(";"):this.props?Object.keys(this.props).map((e=>r(e,this.props[e]))).join(";"):r(m,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&&xt.includes(e[t.length]))return{origin:et,value:t};return this.matches&&this.matches.test(e)||this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:Ke}:this.symbol&&e.startsWith(this.symbol)?{origin:tt}:this.key&&e.startsWith(this.key+":")?{origin:Ke}:void 0}static extend(e,...t){if(!t.length)return this;const s=Object.assign({},...t),i=(e,t,i)=>{var r;for(const n in s){const a=s[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==t?void 0:t(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>{const s=this.colorNames.indexOf(e);-1!==s?null==Wt||Wt.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=l(t[""]).join(" "));let n=!1;for(const e in t)if(e&&+e>=100){n=!0;break}if(n)for(const e in t)i[e]=l(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?l(t[0]):[0,0,0];const a=[],c=()=>{const c=e-r,l=s.map(((e,t)=>(e-n[t])/c));for(const e of a){const s=e-r,a=n.map(((e,t)=>Math.round(e+l[t]*s)));i[e]=a.join(" "),t[e]=o.call(this,...a)}};for(let o=1;o<100;o++){const d=o%2==0;o in t?(a.length?(e=o,s=l(t[o]),c(),a.length=0,n=s):n=l(t[o]),r=o,d&&(i[o]=n.join(" "))):d&&a.push(o)}a.length&&(e=100,s="100"in t?l(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=l(e).join(" ")}return null==Wt||Wt.insertRule(function(e,t){let s=":root{";for(const i in t)s+="--"+e+(i?"-"+i:"")+":"+t[i]+";";return s+="}",s}(e,i),-1===s?Object.keys(this.colors).length:s),this.rgbColors[e]=i,t}),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1),null==Wt||Wt.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}return this}}let It,Wt;if(Rt.unit="rem",Rt.rgbColors={},Rt.mediaQueries={},Rt.sheets=Nt,Rt.colors={},Rt.classes={},Rt.colorNames=[],Rt.relations={},Rt.colorSchemes=["dark","light"],"undefined"!=typeof window&&(window.MasterStyle=Rt),"undefined"!=typeof document){const e=document.head.querySelector('[id="master-colors"]');if(e){const t=document.head.querySelector('[name="master:colors"]');if(t&&t.content){It=e;const s={},i=t.content.split(",");for(let e=0;e<It.sheet.cssRules.length;e++){const t=It.sheet.cssRules[e].cssText.slice(8,-1).split(";").slice(0,-1);if(t.length){const r=i[e],n=r.length+2,a={};for(const e of t){let[t,s]=e.split(":");t=t.trim().slice(n),t&&(t=t.slice(1)),a[t]=o.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}Rt.extend("colors",s),Wt=It.sheet}}It||(It=document.createElement("style"),It.id="master-colors",document.head.prepend(It),Wt=It.sheet)}const $t=[",",".","#","[","!","*",">","+","~",":","@"],zt="undefined"!=typeof document;let At;zt&&(At=document.createElement("style"),At.id="master-styles");const Et="undefined"!=typeof window,Ct=Et?window.MutationObserver:Object;class Mt extends Ct{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t,s)=>{for(let i=0;i<e.length;i++){const r=e[i];if(r.classList&&!s.includes(r)){s.push(r),r.classList.forEach((e=>{t?c(e):a(e)}));const e=r.children;e.length&&n(e,t,s)}}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1};for(let t=0;t<e.length;t++){const a=e[t],{addedNodes:c,removedNodes:l,type:o,target:d,oldValue:h}=a;if("attributes"===o){if(d.className===h||s.find((e=>e.target===d)))continue;s.push(a)}else c.length&&n(c,!1,i),l.length&&n(l,!0,r)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){if(i.includes(t)||r.includes(t))continue;const s=e?e.split(" "):[],n=t.classList;n.length&&n.forEach((e=>{s.includes(e)||a(e)}));for(const e of s)n.contains(e)||c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},zt){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");let i;for(let t=e.length-1;t>=0;t--){const s=e[t];if("."===s[0]){i=s.slice(1);break}}let r="";for(let e=0;e<i.length;e++){const t=i[e],s=i[e+1];if("\\"===t){if(e++,"\\"!==s){r+=s;continue}}else if($t.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=Mt.findAndNew(r);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t)};e(t.sheet,void 0)}else this.element=At.cloneNode(),null==e||e.prepend(this.element)}Nt.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Nt)e.refresh()}refresh(){if(!this.element)return;const e=At.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Nt.splice(Nt.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features["max-width"],o=r.features["min-width"];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features["max-width"],d=n.features["min-width"];if(!o||!d){s++;break}const h=o.value-d.value;if(h===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features["max-width"],n=t.features["min-width"];if(!r||!n||r.value-n.value!==h)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]))}break}if(h>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features["max-width"],h=r.features["min-width"];if(d){if(h)break;continue}const u=null==h?void 0:h.value;if(u===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features["min-width"];if(!i.features["max-width"]){if(t.hasWhere!==c||r.value!==u||t.order>=n)break;s=e+1}}break}if(u>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features["max-width"];if(o.features["min-width"])continue;const h=null==d?void 0:d.value;if(!h||h>t.value){s++;break}if(h===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features["min-width"],n=i.features["max-width"];if(!(r||n&&n.value===h&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features["min-width"]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features["max-width"]||e.media.features["min-width"]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features["max-width"]||i.features["min-width"])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in Rt.relations&&Rt.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in Rt.classes)for(const t of Rt.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=Mt.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}Mt.Styles=[],Et&&(window.MasterStyleSheet=Mt);class Tt extends Rt{}Tt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,Tt.key=h(x,"weight"),Tt.unit="",Tt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const Vt="var(--font-";class qt extends Rt{}qt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,qt.key=h(x,"family"),qt.values={mono:Vt+"mono)",sans:Vt+"sans)",serif:Vt+"serif)"};class _t extends Rt{}_t.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,_t.key=h(x,ye);const Lt="top",Pt="bottom",Zt="left",Ft="right",Qt="l",Xt="r",Yt="t",Bt="b",Ut="x",Dt="y";class Gt extends Rt{get props(){const e="m"===this.prefix[0]?m:p,t=h(e,Zt),s=h(e,Ft),i=h(e,Lt),r=h(e,Pt);switch(this.prefix[1]){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Gt.id="spacing",Gt.matches=/^[pm][xytblr]?:./;class Ht extends Rt{}Ht.matches=/^w:./,Ht.key=X,Ht.values=Je;class Jt extends Rt{}Jt.matches=/^h:./,Jt.key=Q,Jt.values=Je;class Kt extends Rt{}Kt.matches=/^min-w:./,Kt.key=ze,Kt.values=Je;class es extends Rt{}es.matches=/^min-h:./,es.key=Ee,es.values=Je;class ts extends Rt{}ts.matches=/^ls:./,ts.key=We,ts.unit="em";const ss=h("subpixel",Re),is=h("-webkit-font",Ne),rs=h("-moz-osxfont",Ne);class ns extends Rt{get props(){const e={};switch(this.value){case ss:e[is]=e[rs]=Object.assign(Object.assign({},this),{value:ke});break;case Re:e[is]=Object.assign(Object.assign({},this),{value:Re}),e[rs]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}ns.id="fontSmoothing",ns.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,ns.unit="";class as extends Rt{}as.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,as.key=h(x,Se),as.unit="deg",as.semantics={italic:"italic",oblique:"oblique"};class cs extends Rt{}cs.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,cs.key=h(x,"variant","numeric");class ls extends Rt{}ls.matches=/^lh:./,ls.key=h(ve,Q),ls.unit="";class os extends Rt{}os.matches=/^(object|obj):(contain|cover|fill|scale-down)/,os.key=h(we,"fit");class ds extends Rt{}ds.matches=/^(object|obj):(top|bottom|right|left|center)/,ds.key=h(we,Oe);class hs extends Rt{}hs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,hs.key=h(he,ue);class us extends Rt{constructor(){super(...arguments),this.order=-1}}us.matches=/^t(ext)?:(underline|line-through|overline)/,us.key=h(he,be),us.colorful=!0;class fs extends Rt{}fs.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,fs.key=h(he,fe),fs.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class ms extends Rt{}ms.matches=/^v:./,ms.key=h(me,ue);class ps extends Rt{get props(){return{overflow:Object.assign(Object.assign({},this),{value:ae}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:h(ge,pe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:me}),"-webkit-line-clamp":this}}}ps.id="lines",ps.matches=/^lines:./,ps.unit="";class xs extends Rt{}xs.matches=/^transform:((top|bottom|right|left|center)|\d)/,xs.key=h(fe,K),xs.unit="px";class bs extends Rt{}bs.matches=/^transform:(flat|preserve-3d)(?!\|)/,bs.key=h(fe,Se);class gs extends Rt{}gs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,gs.key=h(fe,ce),gs.values={content:h(I,ce),border:h(u,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class ys extends Rt{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=je;break;case"skew":r=se;break;case te:"3d"===s&&(n=!0),r=se;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===je?16:1)+r})).join(","))}))}}ys.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,ys.key=fe,ys.unit="";class ks extends Rt{constructor(){super(...arguments),this.order=-1}}ks.symbol="~",ks.key=J;class vs extends Rt{}vs.matches=/^~delay:./,vs.key=h(J,ee),vs.unit="ms";class ws extends Rt{}ws.matches=/^~duration:./,ws.key=h(J,re),ws.unit="ms";class Os extends Rt{}Os.matches=/^~property:./,Os.key=h(J,"property");class js extends Rt{}js.matches=/^~easing:./,js.key=h(J,ie);class Ss extends Rt{}Ss.matches=/^max-h:./,Ss.key=Ae,Ss.values=Je;class Ns extends Rt{}Ns.matches=/^max-w:./,Ns.key=$e,Ns.values=Je;class Rs extends Rt{}Rs.matches=/^d:./,Rs.key=ne,Rs.semantics={hidden:de,hide:de,block:U,table:Ce,flex:G,grid:H,contents:"contents","inline-block":h(D,U),"inline-flex":h(D,G),"inline-grid":h(D,H),"inline-table":h(D,Ce)};class Is extends Rt{}Is.matches=/^box:(content|border)(?!\|)/,Is.key=h(ce,"sizing"),Is.values={content:h(I,ce),border:h(u,ce)};class Ws extends Rt{}Ws.key="opacity",Ws.unit="";class $s extends Rt{}$s.key="visibility",$s.semantics={visible:"visible",invisible:ae};class zs extends Rt{}zs.key="clear";class As extends Rt{}As.key="float";class Es extends Rt{}Es.key="isolation",Es.semantics={isolate:"isolate"};class Cs extends Rt{get props(){switch(this.prefix.slice(-2,-1)){case F:return{"overflow-x":this};case Z:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case F:case Z:return 0;default:return-1}}}Cs.id="overflow",Cs.matches=/^(overflow|ovf)(-x|-y)?:./;class Ms extends Rt{get props(){switch(this.prefix.slice(-2,-1)){case F:return{[h(P,F)]:this};case Z:return{[h(P,Z)]:this};default:return{[P]:this}}}}Ms.id="overscrollBehavior",Ms.matches=/^overscroll-behavior(?:-[xy])?:/;class Ts extends Rt{}Ts.matches=/^z:./,Ts.key="z-index",Ts.unit="";class Vs extends Rt{}Vs.matches=/^\@delay:./,Vs.key=h(V,ee),Vs.unit="ms";class qs extends Rt{}qs.matches=/^\@direction:./,qs.key=h(V,q);class _s extends Rt{}_s.matches=/^\@fill-mode:./,_s.key=h(V,le,_);class Ls extends Rt{}Ls.matches=/^\@iteration-count:./,Ls.key=h(V,"iteration","count"),Ls.unit="";class Ps extends Rt{}Ps.matches=/^\@name:./,Ps.key=h(V,"name");class Zs extends Rt{}Zs.matches=/^\@play-state:./,Zs.key=h(V,"play-state");class Fs extends Rt{}Fs.matches=/^\@easing:./,Fs.key=h(V,ie);class Qs extends Rt{constructor(){super(...arguments),this.order=-1}}Qs.symbol="@",Qs.key=V,Qs.unit="";function Xs(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Ut:return{[i]:t,[r]:t};case Dt:return{[n]:t,[a]:t};case Qt:return{[i]:t};case Xt:return{[r]:t};case Yt:return{[n]:t};case Bt:return{[a]:t};default:return{[u+s]:t}}}class Ys extends Rt{get props(){return Xs(this.prefix,this,M)}get order(){return this.prefix===h(u,M)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Ys.id="borderColor",Ys.matches=/^border(-(left|right|top|bottom))?-color:./,Ys.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Ys.colorful=!0,Ys.values={current:b};const Bs=h(u,Lt,Zt,f),Us=h(u,Lt,Ft,f),Ds=h(u,Pt,Zt,f),Gs=h(u,Pt,Ft,f),Hs=h(u,f),Js=[Bs,Us,Ds,Gs];class Ks extends Rt{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Yt:return{[Bs]:this,[Us]:this};case"tl":case"lt":return{[Bs]:this};case"rt":case"tr":return{[Us]:this};case Bt:return{[Ds]:this,[Gs]:this};case"bl":case"lb":return{[Ds]:this};case"br":case"rb":return{[Gs]:this};case Qt:return{[Bs]:this,[Ds]:this};case Xt:return{[Us]:this,[Gs]:this};default:return{[Hs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Js.includes(t)?t:Hs]:this}}get order(){return this.prefix===h(u,f)+":"||"r:"===this.prefix?-1:0}}Ks.id="borderRadius",Ks.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Ks.semantics={rounded:"1e9em",round:"50%"};class ei extends Rt{get props(){return Xs(this.prefix,this,Se)}get order(){return this.prefix===h(u,Se)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderStyle",ei.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class ti extends Rt{get props(){return Xs(this.prefix,this,X)}get order(){return this.prefix===h(u,X)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ti.id="borderWidth",ti.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class si extends Rt{get props(){return Xs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}si.id="border",si.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,si.colorful=!0;class ii extends Rt{}ii.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ii.key=h(E,"attachment");class ri extends Rt{}ri.key=h(E,A,_);class ni extends Rt{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ni.matches=/^(bg|background):text(?!\|)/,ni.key=h(E,oe);class ai extends Rt{}ai.matches=/^(bg|background):transparent(?!\|)/,ai.colorStarts="(bg|background):",ai.key=h(E,M),ai.unit="",ai.colorful=!0,ai.values={current:b};class ci extends Rt{}ci.matches=/^(bg|background):(content|border|padding)(?!\|)/,ci.key=h(E,K),ci.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce)};class li extends Rt{}li.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,li.key=h(E,Oe),li.unit="px";class oi extends Rt{}oi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,oi.key=h(E,C);class di extends Rt{}di.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,di.key=h(E,ye);class hi extends Rt{}hi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,hi.key=h(E,W);class ui extends Rt{constructor(){super(...arguments),this.order=-1}}ui.matches=/^bg:./,ui.key=E,ui.colorful=!0;class fi extends Rt{}fi.matches=/^blend:./,fi.key=h("mix",A,_);class mi extends Rt{}mi.key=Oe,mi.values={abs:"absolute",rel:"relative"},mi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class pi extends Rt{get props(){const e=this.prefix.slice(0,-1);switch(e){case Lt:case Zt:case Ft:case Pt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function xi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===je?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}pi.matches=/^(top|left|right|bottom|center|middle):./;class bi extends Rt{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return xi(this.value,(e=>{switch(e){case Ge:case h(He,N):return je;case h("hue",te):return se}return""}))}}bi.matches=/^bd:./,bi.key=h("backdrop",z);class gi extends Rt{}gi.key=le,gi.colorStarts="fill:",gi.colorful=!0,gi.values={current:b};class yi extends Rt{}yi.key=$,yi.colorful=!0;class ki extends Rt{}ki.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,ki.key=h($,X);class vi extends Rt{get parseValue(){return xi(this.value,(e=>{switch(e){case Ge:case h(He,N):return je;case h("hue",te):return se}return""}))}}vi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,vi.key=z;class wi extends Rt{}wi.key="cursor";class Oi extends Rt{}Oi.key=h("pointer","events"),Oi.semantics={untouchable:"none"};class ji extends Rt{}ji.key="resize";class Si extends Rt{}Si.key=h("touch","action");class Ni extends Rt{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Ni.key=h(R,"drag");class Ri extends Rt{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ri.key=h(R,"select");class Ii extends Rt{}Ii.matches=/^s(?:hadow)?:./,Ii.key=h(ce,N),Ii.colorful=!0;class Wi extends Rt{}Wi.key=h(he,N),Wi.colorful=!0;class $i extends Rt{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===je?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}$i.id="textSize",$i.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class zi extends Rt{}zi.key=h(pe,ge),zi.unit="";class Ai extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,k,w)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ai.matches=/^grid-cols:./,Ai.key=h(H,w),Ai.unit="";class Ei extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,ke,y)]:Object.assign(Object.assign({},this),{value:v}),[h(H,k,S)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ei.key=h(H,S),Ei.unit="";class Ci extends Rt{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case F:return{[h(v,O)]:this};case Z:return{[h(j,O)]:this};default:return{[O]:this}}}}Ci.id="gap",Ci.matches=/^gap(-x|-y)?:./;class Mi extends Rt{}Mi.key=h(pe,Ie);class Ti extends Rt{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Ti.id="variable",Ti.matches=/^\$.+:./,Ti.unit="";class Vi extends Rt{}Vi.matches=/^aspect:./,Vi.key=h("aspect","ratio"),Vi.unit="",Vi.semantics={square:"1/1",video:"16/9"};class qi extends Rt{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}qi.matches=/^box:(slice|clone)(?!\|)/,qi.key=h(ce,be,ge);class _i extends Rt{}_i.key=h(ge,"after");class Li extends Rt{}Li.key=h(ge,"before");class Pi extends Rt{}Pi.key=h(ge,"inside");class Zi extends Rt{}Zi.key=h(G,"shrink"),Zi.unit="";class Fi extends Rt{}Fi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Fi.key=h(G,q),Fi.values={col:v,"col-reverse":h(v,"reverse")};class Qi extends Rt{}Qi.key=h(G,"grow"),Qi.unit="";class Xi extends Rt{}Xi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Xi.key=h(G,"wrap");class Yi extends Rt{}Yi.key=h(G,"basis"),Yi.values=Je;class Bi extends Rt{constructor(){super(...arguments),this.order=-1}}Bi.key=G,Bi.unit="";const Ui="999999";class Di extends Rt{}Di.matches=/^o:./,Di.key="order",Di.values={first:"-999999",last:Ui},Di.unit="";class Gi extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Gi.matches=/^grid-col(-span)?:./,Gi.key=h(H,v),Gi.unit="";class Hi extends Rt{}Hi.matches=/^col-span:./,Hi.key=h(v,Ve);class Ji extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Ji.matches=/^grid-row-span:./,Ji.key=h(H,j),Ji.unit="";class Ki extends Rt{}Ki.matches=/^(font-color:.|font:current)/,Ki.colorStarts="(?:f(ont)?|color):",Ki.colorful=!0,Ki.key=M,Ki.unit="",Ki.values={current:b};class er extends Rt{}er.matches=/^ac:./,er.key=h(ue,I);class tr extends Rt{}tr.matches=/^ai:./,tr.key=h(ue,_e);class sr extends Rt{}sr.matches=/^as:./,sr.key=h(ue,Le);class ir extends Rt{}ir.matches=/^grid-auto-cols:./,ir.key=h(H,ke,w),ir.values={min:h(B,I),max:h(Y,I)};class rr extends Rt{}rr.matches=/^grid-flow:./,rr.key=h(H,ke,y);class nr extends Rt{}nr.key=h(H,ke,S),nr.values={min:h(B,I),max:h(Y,I)};class ar extends Rt{}ar.matches=/^jc:./,ar.key=h(qe,I);class cr extends Rt{}cr.matches=/^ji:./,cr.key=h(qe,_e);class lr extends Rt{}lr.matches=/^js:./,lr.key=h(qe,Le);class or extends Rt{constructor(){super(...arguments),this.order=-1}}or.key=h(Pe,I);class dr extends Rt{constructor(){super(...arguments),this.order=-1}}dr.key=h(Pe,_e);class hr extends Rt{constructor(){super(...arguments),this.order=-1}}hr.key=h(Pe,Le);class ur extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}ur.id="padding",ur.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class fr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}fr.id="margin",fr.matches=/^margin(-(left|right|top|bottom))?:./;class mr extends Rt{}mr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,mr.key=h(he,"overflow");class pr extends Rt{}pr.matches=/^list-style:(inside|outside)(?!\|)/,pr.key=h(Te,Se,Oe);class xr extends Rt{}xr.matches=/^list-style:(none|disc|decimal)(?!\|)/,xr.key=h(Te,Se,Ze);class br extends Rt{constructor(){super(...arguments),this.order=-1}}br.key=h(Te,Se);class gr extends Rt{}gr.key=h(he,be,M),gr.colorStarts="text-decoration:",gr.colorful=!0,gr.values={current:b};class yr extends Rt{}yr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,yr.key=h(he,be,Se);class kr extends Rt{}kr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,kr.key=h(he,be,"thickness"),kr.unit="em";class vr extends Rt{}vr.key=h(he,"indent");class wr extends Rt{}wr.key=I;class Or extends Rt{}Or.key=h(Qe,M),Or.colorStarts="outline:",Or.colorful=!0,Or.values={current:b};class jr extends Rt{}jr.key=h(Qe,Fe);class Sr extends Rt{}Sr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Sr.key=h(Qe,Se);class Nr extends Rt{}Nr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Nr.key=h(Qe,X);class Rr extends Rt{constructor(){super(...arguments),this.order=-1}}Rr.key=Qe,Rr.colorful=!0;class Ir extends Rt{}Ir.matches=/^b(order)?:(collapse|separate)(?!\|)/,Ir.key=h(u,"collapse");class Wr extends Rt{}Wr.key=h(u,Ie);class $r extends Rt{}$r.key=h(Ce,"layout");class zr extends Rt{}zr.key=h("accent",M),zr.colorStarts="accent:",zr.colorful=!0;class Ar extends Rt{}Ar.key="appearance";class Er extends Rt{}Er.key=h("caret",M),Er.matches=/^caret:transparent(?!\|)/,Er.colorStarts="caret:",Er.colorful=!0,Er.values={current:b};class Cr extends Rt{}Cr.key=h(T,L);class Mr extends Rt{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=h(T,m)+"-",t=e+Zt,s=e+Ft,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this}}}}get order(){return this.prefix===h(T,m)+":"||this.prefix===h(T,"m:")?-1:0}}Mr.id="scrollMargin",Mr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Tr extends Rt{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=h(T,p)+"-",t=e+Zt,s=e+Ft,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Ut:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Xt:return{[s]:this};case Yt:return{[i]:this};case Bt:return{[r]:this}}}}get order(){return this.prefix===h(T,p)+":"||this.prefix===h(T,"p:")?-1:0}}Tr.id="scrollPadding",Tr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class Vr extends Rt{}Vr.matches=/^scroll-snap:(start|end|center)/,Vr.key=h(T,Xe,ue);class qr extends Rt{}qr.matches=/^scroll-snap:(normal|always)(?!\|)/,qr.key=h(T,Xe,"stop");class _r extends Rt{}_r.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,_r.key=h(T,Xe,Ze);class Lr extends Rt{}Lr.key="will-change";class Pr extends Rt{}Pr.key=h(he,"underline",Fe);class Zr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}}Zr.matches=/^(?:top|bottom|left|right):./,Zr.key="inset";class Fr extends Rt{constructor(){super(...arguments),this.order=-1}}Fr.matches=/^(columns|cols):./,Fr.key=w,Fr.unit="";class Qr extends Rt{}Qr.key=h("white",xe),Qr.unit="";class Xr extends Rt{}Xr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Xr.key=h(he,"orientation");class Yr extends Rt{}Yr.key=h("writing",_);class Br extends Rt{}Br.key="contain";class Ur extends Rt{}Ur.matches=/^\@duration:./,Ur.key=h(V,re),Ur.unit="ms";class Dr extends Rt{}Dr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Dr.key=h(he,"rendering");class Gr extends Rt{}Gr.key=q;class Hr extends Rt{}Hr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Hr.key=h(he,be,ve);class Jr extends Rt{}Jr.matches=/^grid-col-start:./,Jr.key=h(H,v,De),Jr.unit="";class Kr extends Rt{}Kr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Kr.key=h(Te,Se,W);class en extends Rt{}en.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,en.key=h(Ye,"outside"),en.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce)};class tn extends Rt{}tn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,tn.key=h(Ye,m);class sn extends Rt{}sn.key=h(Ye,W,"threshold"),sn.unit="";class rn extends Rt{}rn.matches=/^clip:./,rn.key=h(oe,"path"),rn.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class nn extends Rt{constructor(){super(...arguments),this.order=-1}}nn.key=H;class an extends Rt{constructor(){super(...arguments),this.order=-1}}an.matches=/^f:./,an.key=x,an.unit="",an.colorful=!0;class cn extends Rt{}cn.key="quotes";class ln extends Rt{constructor(){super(...arguments),this.order=-1}}ln.key=h(H,k);class on extends Rt{}on.key=h(H,j,De),on.unit="";class dn extends Rt{}dn.key=h(H,k,Ue)+"s";class hn extends Rt{}hn.matches=/^grid-template-cols:./,hn.key=h(H,k,w),hn.values={min:h(B,I),max:h(Y,I)};class un extends Rt{}un.key=h(H,k,S),un.values={min:h(B,I),max:h(Y,I)};class fn extends Rt{constructor(){super(...arguments),this.order=-1}}fn.key=h(H,Ue),fn.unit="";class mn extends Rt{}mn.matches=/^grid-col-end:./,mn.key=h(H,v,"end"),mn.unit="";class pn extends Rt{}pn.key=h(H,j,"end"),pn.unit="";class xn extends Rt{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}xn.key=h("mask",W);class bn extends Rt{get props(){return{"-webkit-text-fill-color":this}}}bn.id="textFillColor",bn.matches=/^text-fill-color:./,bn.colorStarts="text-fill:",bn.colorful=!0,bn.values={current:b};class gn extends Rt{get props(){return{"-webkit-text-stroke":this}}}gn.id="textStroke",gn.matches=/^text-stroke:./;class yn extends Rt{get props(){return{"-webkit-text-stroke-width":this}}}yn.id="textStrokeWidth",yn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class kn extends Rt{get props(){return{"-webkit-text-stroke-color":this}}}kn.id="textStrokeColor",kn.matches=/^text-stroke-color:./,kn.colorStarts="text-stroke:",kn.colorful=!0,kn.values={current:b};class vn extends Rt{}vn.key=h($,"dasharray");class wn extends Rt{}wn.key=h($,"dash")+Fe;class On extends Rt{}On.key="x",On.unit="";class jn extends Rt{}jn.key="y",jn.unit="";class Sn extends Rt{}Sn.key="cx",Sn.unit="";class Nn extends Rt{}Nn.key="cy",Nn.unit="";class Rn extends Rt{}Rn.key="rx",Rn.unit="";class In extends Rt{}In.key="ry",In.unit="";class Wn extends Rt{}Wn.key=h(u,W,"outset");class $n extends Rt{}$n.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,$n.key=h(u,W,C);class zn extends Rt{}zn.key=h(u,W,"slice"),zn.unit="";class An extends Rt{}An.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,An.key=h(u,W,"source");class En extends Rt{}En.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,En.key=h(u,W,X);class Cn extends Rt{}Cn.key=h(u,W),Cn.unit="";const Mn=/\{(.*)\}/;class Tn extends Rt{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Mn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.value.length;a++){const t=this.value[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in d&&"'"!==e&&(a++,c(d[t]))}};c(void 0),n();for(const e of i){const i=Mt.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Tn.id=Me,Tn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,Tn.unit="";class Vn extends Rt{}Vn.key="counter-increment",Vn.unit="";class qn extends Rt{}qn.semantics={"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1",height:"1",padding:"0",margin:"-1",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":ke,"margin-right":ke},middle:{top:0,bottom:0,"margin-top":ke,"margin-bottom":ke},"break-spaces":{"white-space":h(ge,xe)+"s"},"break-word":{"overflow-wrap":h(ge,pe),overflow:ae}};const _n="undefined"!=typeof window,Ln=[qn,Tn,Ti,Tt,qt,Ki,Gt,fr,ur,_t,Yi,Xi,Qi,Zi,Fi,Bi,Rs,Ht,Jt,Kt,es,Br,wr,Vn,ts,ns,as,cs,an,ls,os,ds,hs,gr,yr,kr,Hr,us,Pr,mr,Xr,fs,Dr,vr,ms,Fr,Qr,Zr,ps,Ss,Ns,Is,Ws,$s,zs,As,Es,Cs,Ms,Ts,mi,pi,wi,Oi,ji,Si,zi,Mi,Ni,Ri,Wi,$i,bn,yn,kn,gn,Ii,$r,gs,bs,xs,ys,Os,js,ws,vs,ks,Vs,qs,Ur,_s,Ls,Ps,Zs,Fs,Qs,Ys,Ks,ei,ti,Ir,Wr,si,Wn,$n,zn,An,En,Cn,ii,ri,ni,ai,ci,li,oi,di,hi,ui,fi,bi,vi,gi,vn,wn,ki,yi,On,jn,Sn,Nn,Rn,In,Jr,mn,Gi,Ai,on,pn,Ji,Ei,ir,rr,nr,dn,hn,un,ln,fn,nn,Ci,Di,Pi,Li,_i,qi,Vi,Hi,er,tr,sr,ar,cr,lr,or,dr,hr,pr,xr,Kr,br,Or,jr,Sr,Nr,Rr,zr,Ar,Er,Cr,Mr,Tr,Vr,qr,_r,Lr,Yr,Gr,en,tn,sn,rn,cn,xn],Pn=Ln.get=e=>Ln.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function Zn(){if(_n){const e=new Mt(document.head);Mt.root=e,e.observe(document.documentElement)}}Ln.extend=(e,...t)=>{const s=Object.assign({},...t);for(const t in s){const i=Pn(t);if(i){const r=s[t];i.extend(e,r)}}},Rt.extend("colors",e.colors).extend("breakpoints",t.breakpoints),Mt.Styles.push(...Ln);_n&&(window.initMasterCSS=Zn,window.MasterStyles=Ln,window.MasterCSSManual||Zn())})(),i})()}));

@@ -28,3 +28,3 @@ {

},
"version": "1.32.2"
"version": "1.32.3"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc