@master/css
Advanced tools
Comparing version 1.29.0 to 1.30.0
@@ -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:()=>X,StyleSheet:()=>p,Styles:()=>Ln,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>_n,sheets:()=>Q});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"],l=[",",".","#","[","!","*",">","+","~",":","@"],o="undefined"!=typeof document;let d;o&&(d=document.createElement("style"),d.id="master-styles");const h="max-width",u="min-width",f="undefined"!=typeof window,m=f?window.MutationObserver:Object;class p extends m{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={},o){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(l.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=p.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=d.cloneNode(),null==e||e.prepend(this.element)}Q.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 X.classes?X.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 X.classes?X.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Q)e.refresh()}refresh(){if(!this.element)return;const e=d.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(),Q.splice(Q.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[h],o=r.features[u];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[h],d=n.features[u];if(!o||!d){s++;break}const f=o.value-d.value;if(f===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[h],n=t.features[u];if(!r||!n||r.value-n.value!==f)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]))}break}if(f>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[h],f=r.features[u];if(d){if(f)break;continue}const m=null==f?void 0:f.value;if(m===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[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features[u];if(!i.features[h]){if(t.hasWhere!==c||r.value!==m||t.order>=n)break;s=e+1}}break}if(m>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[h];if(o.features[u])continue;const f=null==d?void 0:d.value;if(!f||f>t.value){s++;break}if(f===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[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));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[u],n=i.features[h];if(!(r||n&&n.value===f&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features[u]){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[h]||e.media.features[u]));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[h]||i.features[u])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 X.relations&&X.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 X.classes)for(const t of X.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=p.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}function x(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function b(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}p.Styles=[],f&&(window.MasterStyleSheet=p);const g={"(":")","'":"'","{":"}"},y="matches",k="semantics",v="symbol",w="max-width",O="min-width",j="motion",S="reduce",N="reduced-motion",R="::scrollbar",W="::slider-thumb",I="::slider-runnable-track",$="::search",z="::meter",A="::resizer",E="::progress",M="px",C=["!","*",">","+","~",":","[","@","_"],T=[...C,void 0,"."],V=new RegExp(R,"g"),q=new RegExp($,"g"),L=new RegExp(z,"g"),P=new RegExp(I,"g"),_=new RegExp(W,"g"),Z=new RegExp(A,"g"),F=new RegExp(E,"g"),Q=[];class X{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,{semantics:l,unit:o,colors:d,key:h,values:u,colorful:f,breakpoints:m,mediaQueries:p}=s,x=e;if(f||(d=null),t.origin===k)i=t.value,n=x.slice(t.value.length),this.value=l[t.value];else{if(t.origin===y){if("{"===x[0])i=x;else{const e=x.indexOf(":");this.prefix=x.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=x):i=x.slice(e+1)}}else t.origin===v&&(this.symbol=x[0],i=x.slice(1));let e,s="",r=[],c=0;!function t(n,l,h=""){let f,m=!1;for(n&&(")"===n&&"$"===s.slice(-1)?f=s.length-1:"'"===n&&(m=!0),s+=i[c++]);c<i.length;c++){const p=i[c];if(p===n){if(s+=p,m){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==f&&(s=s.slice(0,f)+s.slice(f).replace(/\$\((.*)\)/,"var(--$1)")),l||(m?r.push(s):(e=a(s,o,d,u),r.push(e.value+e.unit)),h="",s="");break}if(!m&&p in g)t(g[p],void 0===l?0:l+1,h);else if("|"!==p||m&&"path"!==h){if(!n){if("."===p){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===p){e=a(s,o,d,u),r.push(e.value+e.unit,","),s="";continue}if("#"===p&&(s||r.length&&"|"!==i[c-1])||C.includes(p))break}h+=p}s+=p}else n?s+=" ":(e=a(s,o,d,u),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,o,d,u),r.push(e.value+e.unit)),n=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(" ")}n.includes(R)&&(n=n.replace(V,"::-webkit-scrollbar")),n.includes($)&&(n=n.replace(q,"::-webkit-search")),n.includes(W)&&(n=n.replace(_,"::-webkit-slider-thumb")),n.includes(I)&&(n=n.replace(P,"::-webkit-slider-runnable-track")),n.includes(z)&&(n=n.replace(L,"::-webkit-meter")),n.includes(A)&&(n=n.replace(Z,"::-webkit-resizer")),n.includes(E)&&(n=n.replace(F,"::-webkit-progress")),n.includes(":first")&&(n=n.replace(/:first(?![a-z-])/g,":first-child")),n.includes(":last")&&(n=n.replace(/:last(?![a-z-])/g,":last-child")),n.includes(":even")&&(n=n.replace(/:even(?![a-z-])/g,":nth-child(2n)")),n.includes(":odd")&&(n=n.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),n.includes(":nth(")&&(n=n.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),u&&this.value in u&&(this.value=u[this.value]),"!"===n[0]&&(this.important=!0,n=n.slice(1));const b=n.split("@");let T=b[0].replace(/\_/g," ");if(T){this.hasWhere=T.includes(":where(");for(let e=0;e<c.length;e++)if(T.includes(c[e])){this.prioritySelectorIndex=e;break}}this.selector=T;for(let e=1;e<b.length;e++){const t=b[e];if(t)if(t.startsWith("dark")||t.startsWith("light"))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===j||e===N)i.push("(prefers-reduced-motion:"+(e===j?"no-preference":S)+")");else if(e in p)i.push(p[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=w):e.startsWith(">=")||m[e]?(r=">=",s=O):e.startsWith(">")?(r=">",s=O,n=.02):e.startsWith("<")&&(r="<",s=w,n=-.02),s){case w:case O:const c=r?e.replace(r,""):e,l=m[c];l?Object.assign(t,a(l,M)):Object.assign(t,a(c,M)),t.unit===M&&(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 Q="";this.colorScheme&&(Q+="."+this.colorScheme+" "),this.direction&&(Q+="[dir="+this.direction+"] "),this.text=Q+"."+CSS.escape(this.name)+T+(this.name in X.relations?X.relations[this.name].map((e=>", "+Q+"."+e+T)).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(h,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)&&T.includes(e[t.length]))return{origin:k,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:y}:this.symbol&&e.startsWith(this.symbol)?{origin:v}:this.key&&e.startsWith(this.key+":")?{origin:y}:void 0}static extend(e,t,s=!0){if(!t)return;const i=(e,s,i)=>{var r;for(const n in t){const a=t[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==s?void 0:s(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==B||B.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=x(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]=x(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?x(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]=b.call(this,...a)}};for(let l=1;l<100;l++){const o=l%2==0;l in t?(a.length?(e=l,s=x(t[l]),c(),a.length=0,n=s):n=x(t[l]),r=l,o&&(i[l]=n.join(" "))):o&&a.push(l)}a.length&&(e=100,s="100"in t?x(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=x(e).join(" ")}return null==B||B.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==B||B.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&p.refresh()}}let Y,B;if(X.unit="rem",X.rgbColors={},X.mediaQueries={},X.sheets=Q,X.colors={},X.classes={},X.colorNames=[],X.relations={},"undefined"!=typeof window&&(window.MasterStyle=X),"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){Y=e;const s={},i=t.content.split(",");for(let e=0;e<Y.sheet.cssRules.length;e++){const t=Y.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]=b.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}X.extend("colors",s),B=Y.sheet}}Y||(Y=document.createElement("style"),Y.id="master-colors",document.head.prepend(Y),B=Y.sheet)}const U=(...e)=>e.join("-"),D="border",G="radius",H="margin",J="padding",K="font",ee="currentColor",te=",",se="flow",ie="template",re="column",ne="columns",ae="gap",ce="row",le="rows",oe="shadow",de="user",he="content",ue="image",fe="stroke",me="filter",pe="blend",xe="background",be="repeat",ge="color",ye="scroll",ke="animation",ve="direction",we="mode",Oe="behavior",je=U("overscroll",Oe),Se="y",Ne="x",Re="height",We="width",Ie="max",$e="min",ze="block",Ae="inline",Ee="flex",Me="grid",Ce="transition",Te="origin",Ve="delay",qe="rotate",Le="deg",Pe="timing-function",_e="duration",Ze="display",Fe="hidden",Qe="box",Xe="fill",Ye="clip",Be="none",Ue="text",De="align",Ge="transform",He="vertical",Je="word",Ke="space",et="decoration",tt="break",st="size",it="auto",rt="line",nt="object",at="position",ct="rem",lt="style",ot="smoothing",dt="antialiased",ht="spacing",ut=U("letter",ht),ft=U(Ie,We),mt=U($e,We),pt=U(Ie,Re),xt=U($e,Re),bt="table",gt="list",yt="span",kt="justify",vt="items",wt="self",Ot="place",jt="type",St="offset",Nt="outline",Rt="snap",Wt="shape",It="view",$t="area",zt="start",At="blur",Et="drop",Mt={full:"100%",fit:U("fit",he),max:U(Ie,he),min:U($e,he)};for(const e in t.breakpoints)Mt[e]=t.breakpoints[e]/16+"rem";class Ct extends X{}Ct.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,Ct.key=U(K,"weight"),Ct.unit="",Ct.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const Tt="var(--font-";class Vt extends X{}Vt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Vt.key=U(K,"family"),Vt.values={mono:Tt+"mono)",sans:Tt+"sans)",serif:Tt+"serif)"};class qt extends X{}qt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,qt.key=U(K,st);const Lt="top",Pt="bottom",_t="left",Zt="right",Ft="l",Qt="r",Xt="t",Yt="b",Bt="x",Ut="y";class Dt extends X{get props(){const e="m"===this.prefix[0]?H:J,t=U(e,_t),s=U(e,Zt),i=U(e,Lt),r=U(e,Pt);switch(this.prefix[1]){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Dt.id="spacing",Dt.matches=/^[pm][xytblr]?:./;class Gt extends X{}Gt.matches=/^w:./,Gt.key=We,Gt.values=Mt;class Ht extends X{}Ht.matches=/^h:./,Ht.key=Re,Ht.values=Mt;class Jt extends X{}Jt.matches=/^min-w:./,Jt.key=mt,Jt.values=Mt;class Kt extends X{}Kt.matches=/^min-h:./,Kt.key=xt,Kt.values=Mt;class es extends X{}es.matches=/^ls:./,es.key=ut,es.unit="em";const ts=U("subpixel",dt),ss=U("-webkit-font",ot),is=U("-moz-osxfont",ot);class rs extends X{get props(){const e={};switch(this.value){case ts:e[ss]=e[is]=Object.assign(Object.assign({},this),{value:it});break;case dt:e[ss]=Object.assign(Object.assign({},this),{value:dt}),e[is]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}rs.id="fontSmoothing",rs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,rs.unit="";class ns extends X{}ns.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ns.key=U(K,lt),ns.unit="deg",ns.semantics={italic:"italic",oblique:"oblique"};class as extends X{}as.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,as.key=U(K,"variant","numeric");class cs extends X{}cs.matches=/^lh:./,cs.key=U(rt,Re),cs.unit="";class ls extends X{}ls.matches=/^(object|obj):(contain|cover|fill|scale-down)/,ls.key=U(nt,"fit");class os extends X{}os.matches=/^(object|obj):(top|bottom|right|left|center)/,os.key=U(nt,at);class ds extends X{}ds.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,ds.key=U(Ue,De);class hs extends X{constructor(){super(...arguments),this.order=-1}}hs.matches=/^t(ext)?:(underline|line-through|overline)/,hs.key=U(Ue,et),hs.colorful=!0;class us extends X{}us.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,us.key=U(Ue,Ge),us.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class fs extends X{}fs.matches=/^v:./,fs.key=U(He,De);class ms extends X{get props(){return{overflow:Object.assign(Object.assign({},this),{value:Fe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:U(tt,Je)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:He}),"-webkit-line-clamp":this}}}ms.id="lines",ms.matches=/^lines:./,ms.unit="";class ps extends X{}ps.matches=/^transform:((top|bottom|right|left|center)|\d)/,ps.key=U(Ge,Te),ps.unit="px";class xs extends X{}xs.matches=/^transform:(flat|preserve-3d)(?!\|)/,xs.key=U(Ge,lt);class bs extends X{}bs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,bs.key=U(Ge,Qe),bs.values={content:U(he,Qe),border:U(D,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class gs extends X{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=ct;break;case"skew":r=Le;break;case qe:"3d"===s&&(n=!0),r=Le;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===ct?16:1)+r})).join(","))}))}}gs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,gs.key=Ge,gs.unit="";class ys extends X{constructor(){super(...arguments),this.order=-1}}ys.symbol="~",ys.key=Ce;class ks extends X{}ks.matches=/^~delay:./,ks.key=U(Ce,Ve),ks.unit="ms";class vs extends X{}vs.matches=/^~duration:./,vs.key=U(Ce,_e),vs.unit="ms";class ws extends X{}ws.matches=/^~property:./,ws.key=U(Ce,"property");class Os extends X{}Os.matches=/^~easing:./,Os.key=U(Ce,Pe);class js extends X{}js.matches=/^max-h:./,js.key=pt,js.values=Mt;class Ss extends X{}Ss.matches=/^max-w:./,Ss.key=ft,Ss.values=Mt;class Ns extends X{}Ns.matches=/^d:./,Ns.key=Ze,Ns.semantics={hidden:Be,hide:Be,block:ze,table:bt,flex:Ee,grid:Me,contents:"contents","inline-block":U(Ae,ze),"inline-flex":U(Ae,Ee),"inline-grid":U(Ae,Me),"inline-table":U(Ae,bt)};class Rs extends X{}Rs.matches=/^box:(content|border)(?!\|)/,Rs.key=U(Qe,"sizing"),Rs.values={content:U(he,Qe),border:U(D,Qe)};class Ws extends X{}Ws.key="opacity",Ws.unit="";class Is extends X{}Is.key="visibility",Is.semantics={visible:"visible",invisible:Fe};class $s extends X{}$s.key="clear";class zs extends X{}zs.key="float";class As extends X{}As.key="isolation",As.semantics={isolate:"isolate"};class Es extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{"overflow-x":this};case Se:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case Ne:case Se:return 0;default:return-1}}}Es.id="overflow",Es.matches=/^(overflow|ovf)(-x|-y)?:./;class Ms extends X{get props(){switch(this.prefix.slice(-2,-1)){case Ne:return{[U(je,Ne)]:this};case Se:return{[U(je,Se)]:this};default:return{[je]:this}}}}Ms.id="overscrollBehavior",Ms.matches=/^overscroll-behavior(?:-[xy])?:/;class Cs extends X{}Cs.matches=/^z:./,Cs.key="z-index",Cs.unit="";class Ts extends X{}Ts.matches=/^\@delay:./,Ts.key=U(ke,Ve),Ts.unit="ms";class Vs extends X{}Vs.matches=/^\@direction:./,Vs.key=U(ke,ve);class qs extends X{}qs.matches=/^\@fill-mode:./,qs.key=U(ke,Xe,we);class Ls extends X{}Ls.matches=/^\@iteration-count:./,Ls.key=U(ke,"iteration","count"),Ls.unit="";class Ps extends X{}Ps.matches=/^\@name:./,Ps.key=U(ke,"name");class _s extends X{}_s.matches=/^\@play-state:./,_s.key=U(ke,"play-state");class Zs extends X{}Zs.matches=/^\@easing:./,Zs.key=U(ke,Pe);class Fs extends X{constructor(){super(...arguments),this.order=-1}}Fs.symbol="@",Fs.key=ke,Fs.unit="";function Qs(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 Bt:return{[i]:t,[r]:t};case Ut:return{[n]:t,[a]:t};case Ft:return{[i]:t};case Qt:return{[r]:t};case Xt:return{[n]:t};case Yt:return{[a]:t};default:return{[D+s]:t}}}class Xs extends X{get props(){return Qs(this.prefix,this,ge)}get order(){return this.prefix===U(D,ge)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Xs.id="borderColor",Xs.matches=/^border(-(left|right|top|bottom))?-color:./,Xs.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Xs.colorful=!0,Xs.values={current:ee};const Ys=U(D,Lt,_t,G),Bs=U(D,Lt,Zt,G),Us=U(D,Pt,_t,G),Ds=U(D,Pt,Zt,G),Gs=U(D,G),Hs=[Ys,Bs,Us,Ds];class Js extends X{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 Xt:return{[Ys]:this,[Bs]:this};case"tl":case"lt":return{[Ys]:this};case"rt":case"tr":return{[Bs]:this};case Yt:return{[Us]:this,[Ds]:this};case"bl":case"lb":return{[Us]:this};case"br":case"rb":return{[Ds]:this};case Ft:return{[Ys]:this,[Us]:this};case Qt:return{[Bs]:this,[Ds]:this};default:return{[Gs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Hs.includes(t)?t:Gs]:this}}get order(){return this.prefix===U(D,G)+":"||"r:"===this.prefix?-1:0}}Js.id="borderRadius",Js.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Js.semantics={rounded:"1e9em",round:"50%"};class Ks extends X{get props(){return Qs(this.prefix,this,lt)}get order(){return this.prefix===U(D,lt)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Ks.id="borderStyle",Ks.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 ei extends X{get props(){return Qs(this.prefix,this,We)}get order(){return this.prefix===U(D,We)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderWidth",ei.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 ti extends X{get props(){return Qs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ti.id="border",ti.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ti.colorful=!0;class si extends X{}si.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,si.key=U(xe,"attachment");class ii extends X{}ii.key=U(xe,pe,we);class ri extends X{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ri.matches=/^(bg|background):text(?!\|)/,ri.key=U(xe,Ye);class ni extends X{}ni.matches=/^(bg|background):transparent(?!\|)/,ni.colorStarts="(bg|background):",ni.key=U(xe,ge),ni.unit="",ni.colorful=!0,ni.values={current:ee};class ai extends X{}ai.matches=/^(bg|background):(content|border|padding)(?!\|)/,ai.key=U(xe,Te),ai.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe)};class ci extends X{}ci.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,ci.key=U(xe,at),ci.unit="px";class li extends X{}li.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,li.key=U(xe,be);class oi extends X{}oi.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,oi.key=U(xe,st);class di extends X{}di.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,di.key=U(xe,ue);class hi extends X{constructor(){super(...arguments),this.order=-1}}hi.matches=/^bg:./,hi.key=xe,hi.colorful=!0;class ui extends X{}ui.matches=/^blend:./,ui.key=U("mix",pe,we);class fi extends X{}fi.key=at,fi.values={abs:"absolute",rel:"relative"},fi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class mi extends X{get props(){const e=this.prefix.slice(0,-1);switch(e){case Lt:case _t:case Zt: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 pi(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===ct?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}mi.matches=/^(top|left|right|bottom|center|middle):./;class xi extends X{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",qe):return Le}return""}))}}xi.matches=/^bd:./,xi.key=U("backdrop",me);class bi extends X{}bi.key=Xe,bi.colorStarts="fill:",bi.colorful=!0,bi.values={current:ee};class gi extends X{}gi.key=fe,gi.colorful=!0;class yi extends X{}yi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,yi.key=U(fe,We);class ki extends X{get parseValue(){return pi(this.value,(e=>{switch(e){case At:case U(Et,oe):return ct;case U("hue",qe):return Le}return""}))}}ki.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,ki.key=me;class vi extends X{}vi.key="cursor";class wi extends X{}wi.key=U("pointer","events"),wi.semantics={untouchable:"none"};class Oi extends X{}Oi.key="resize";class ji extends X{}ji.key=U("touch","action");class Si extends X{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Si.key=U(de,"drag");class Ni extends X{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ni.key=U(de,"select");class Ri extends X{}Ri.matches=/^s(?:hadow)?:./,Ri.key=U(Qe,oe),Ri.colorful=!0;class Wi extends X{}Wi.key=U(Ue,oe),Wi.colorful=!0;class Ii extends X{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===ct?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ii.id="textSize",Ii.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class $i extends X{}$i.key=U(Je,tt),$i.unit="";class zi extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,ie,ne)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}zi.matches=/^grid-cols:./,zi.key=U(Me,ne),zi.unit="";class Ai extends X{get props(){return{[Ze]:Object.assign(Object.assign({},this),{value:Me}),[U(Me,it,se)]:Object.assign(Object.assign({},this),{value:re}),[U(Me,ie,le)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+te+$e+"max(0"+",1fr))"})}}}Ai.key=U(Me,le),Ai.unit="";class Ei extends X{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case Ne:return{[U(re,ae)]:this};case Se:return{[U(ce,ae)]:this};default:return{[ae]:this}}}}Ei.id="gap",Ei.matches=/^gap(-x|-y)?:./;class Mi extends X{}Mi.key=U(Je,ht);class Ci extends X{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Ci.id="variable",Ci.matches=/^\$.+:./,Ci.unit="";class Ti extends X{}Ti.matches=/^aspect:./,Ti.key=U("aspect","ratio"),Ti.unit="",Ti.semantics={square:"1/1",video:"16/9"};class Vi extends X{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Vi.matches=/^box:(slice|clone)(?!\|)/,Vi.key=U(Qe,et,tt);class qi extends X{}qi.key=U(tt,"after");class Li extends X{}Li.key=U(tt,"before");class Pi extends X{}Pi.key=U(tt,"inside");class _i extends X{}_i.key=U(Ee,"shrink"),_i.unit="";class Zi extends X{}Zi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Zi.key=U(Ee,ve),Zi.values={col:re,"col-reverse":U(re,"reverse")};class Fi extends X{}Fi.key=U(Ee,"grow"),Fi.unit="";class Qi extends X{}Qi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Qi.key=U(Ee,"wrap");class Xi extends X{}Xi.key=U(Ee,"basis"),Xi.values=Mt;class Yi extends X{constructor(){super(...arguments),this.order=-1}}Yi.key=Ee,Yi.unit="";const Bi="999999";class Ui extends X{}Ui.matches=/^o:./,Ui.key="order",Ui.values={first:"-999999",last:Bi},Ui.unit="";class Di extends X{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}}Di.matches=/^grid-col(-span)?:./,Di.key=U(Me,re),Di.unit="";class Gi extends X{}Gi.matches=/^col-span:./,Gi.key=U(re,yt);class Hi extends X{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}}Hi.matches=/^grid-row-span:./,Hi.key=U(Me,ce),Hi.unit="";class Ji extends X{}Ji.matches=/^(font-color:.|font:current)/,Ji.colorStarts="(?:f(ont)?|color):",Ji.colorful=!0,Ji.key=ge,Ji.unit="",Ji.values={current:ee};class Ki extends X{}Ki.matches=/^ac:./,Ki.key=U(De,he);class er extends X{}er.matches=/^ai:./,er.key=U(De,vt);class tr extends X{}tr.matches=/^as:./,tr.key=U(De,wt);class sr extends X{}sr.matches=/^grid-auto-cols:./,sr.key=U(Me,it,ne),sr.values={min:U($e,he),max:U(Ie,he)};class ir extends X{}ir.matches=/^grid-flow:./,ir.key=U(Me,it,se);class rr extends X{}rr.key=U(Me,it,le),rr.values={min:U($e,he),max:U(Ie,he)};class nr extends X{}nr.matches=/^jc:./,nr.key=U(kt,he);class ar extends X{}ar.matches=/^ji:./,ar.key=U(kt,vt);class cr extends X{}cr.matches=/^js:./,cr.key=U(kt,wt);class lr extends X{constructor(){super(...arguments),this.order=-1}}lr.key=U(Ot,he);class or extends X{constructor(){super(...arguments),this.order=-1}}or.key=U(Ot,vt);class dr extends X{constructor(){super(...arguments),this.order=-1}}dr.key=U(Ot,wt);class hr extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}hr.id="padding",hr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class ur extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}ur.id="margin",ur.matches=/^margin(-(left|right|top|bottom))?:./;class fr extends X{}fr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,fr.key=U(Ue,"overflow");class mr extends X{}mr.matches=/^list-style:(inside|outside)(?!\|)/,mr.key=U(gt,lt,at);class pr extends X{}pr.matches=/^list-style:(none|disc|decimal)(?!\|)/,pr.key=U(gt,lt,jt);class xr extends X{constructor(){super(...arguments),this.order=-1}}xr.key=U(gt,lt);class br extends X{}br.key=U(Ue,et,ge),br.colorStarts="text-decoration:",br.colorful=!0,br.values={current:ee};class gr extends X{}gr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,gr.key=U(Ue,et,lt);class yr extends X{}yr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,yr.key=U(Ue,et,"thickness"),yr.unit="em";class kr extends X{}kr.key=U(Ue,"indent");class vr extends X{}vr.key=he;class wr extends X{}wr.key=U(Nt,ge),wr.colorStarts="outline:",wr.colorful=!0,wr.values={current:ee};class Or extends X{}Or.key=U(Nt,St);class jr extends X{}jr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,jr.key=U(Nt,lt);class Sr extends X{}Sr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Sr.key=U(Nt,We);class Nr extends X{constructor(){super(...arguments),this.order=-1}}Nr.key=Nt,Nr.colorful=!0;class Rr extends X{}Rr.matches=/^b(order)?:(collapse|separate)(?!\|)/,Rr.key=U(D,"collapse");class Wr extends X{}Wr.key=U(D,ht);class Ir extends X{}Ir.key=U(bt,"layout");class $r extends X{}$r.key=U("accent",ge),$r.colorStarts="accent:",$r.colorful=!0;class zr extends X{}zr.key="appearance";class Ar extends X{}Ar.key=U("caret",ge),Ar.matches=/^caret:transparent(?!\|)/,Ar.colorStarts="caret:",Ar.colorful=!0,Ar.values={current:ee};class Er extends X{}Er.key=U(ye,Oe);class Mr extends X{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=U(ye,H)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,H)+":"||this.prefix===U(ye,"m:")?-1:0}}Mr.id="scrollMargin",Mr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Cr extends X{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=U(ye,J)+"-",t=e+_t,s=e+Zt,i=e+Lt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Ut:return{[i]:this,[r]:this};case Ft:return{[t]:this};case Qt:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===U(ye,J)+":"||this.prefix===U(ye,"p:")?-1:0}}Cr.id="scrollPadding",Cr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class Tr extends X{}Tr.matches=/^scroll-snap:(start|end|center)/,Tr.key=U(ye,Rt,De);class Vr extends X{}Vr.matches=/^scroll-snap:(normal|always)(?!\|)/,Vr.key=U(ye,Rt,"stop");class qr extends X{}qr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,qr.key=U(ye,Rt,jt);class Lr extends X{}Lr.key="will-change";class Pr extends X{}Pr.key=U(Ue,"underline",St);class _r extends X{get props(){return{[this.prefix.slice(0,-1)]:this}}}_r.matches=/^(?:top|bottom|left|right):./,_r.key="inset";class Zr extends X{constructor(){super(...arguments),this.order=-1}}Zr.matches=/^(columns|cols):./,Zr.key=ne,Zr.unit="";class Fr extends X{}Fr.key=U("white",Ke),Fr.unit="";class Qr extends X{}Qr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Qr.key=U(Ue,"orientation");class Xr extends X{}Xr.key=U("writing",we);class Yr extends X{}Yr.key="contain";class Br extends X{}Br.matches=/^\@duration:./,Br.key=U(ke,_e),Br.unit="ms";class Ur extends X{}Ur.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Ur.key=U(Ue,"rendering");class Dr extends X{}Dr.key=ve;class Gr extends X{}Gr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Gr.key=U(Ue,et,rt);class Hr extends X{}Hr.matches=/^grid-col-start:./,Hr.key=U(Me,re,zt),Hr.unit="";class Jr extends X{}Jr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Jr.key=U(gt,lt,ue);class Kr extends X{}Kr.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,Kr.key=U(Wt,"outside"),Kr.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe)};class en extends X{}en.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,en.key=U(Wt,H);class tn extends X{}tn.key=U(Wt,ue,"threshold"),tn.unit="";class sn extends X{}sn.matches=/^clip:./,sn.key=U(Ye,"path"),sn.values={content:U(he,Qe),border:U(D,Qe),padding:U(J,Qe),margin:U(H,Qe),fill:U(Xe,Qe),stroke:U(fe,Qe),view:U(It,Qe)};class rn extends X{constructor(){super(...arguments),this.order=-1}}rn.key=Me;class nn extends X{constructor(){super(...arguments),this.order=-1}}nn.matches=/^f:./,nn.key=K,nn.unit="",nn.colorful=!0;class an extends X{}an.key="quotes";class cn extends X{constructor(){super(...arguments),this.order=-1}}cn.key=U(Me,ie);class ln extends X{}ln.key=U(Me,ce,zt),ln.unit="";class on extends X{}on.key=U(Me,ie,$t)+"s";class dn extends X{}dn.matches=/^grid-template-cols:./,dn.key=U(Me,ie,ne),dn.values={min:U($e,he),max:U(Ie,he)};class hn extends X{}hn.key=U(Me,ie,le),hn.values={min:U($e,he),max:U(Ie,he)};class un extends X{constructor(){super(...arguments),this.order=-1}}un.key=U(Me,$t),un.unit="";class fn extends X{}fn.matches=/^grid-col-end:./,fn.key=U(Me,re,"end"),fn.unit="";class mn extends X{}mn.key=U(Me,ce,"end"),mn.unit="";class pn extends X{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}pn.key=U("mask",ue);class xn extends X{get props(){return{"-webkit-text-fill-color":this}}}xn.id="textFillColor",xn.matches=/^text-fill-color:./,xn.colorStarts="text-fill:",xn.colorful=!0,xn.values={current:ee};class bn extends X{get props(){return{"-webkit-text-stroke":this}}}bn.id="textStroke",bn.matches=/^text-stroke:./;class gn extends X{get props(){return{"-webkit-text-stroke-width":this}}}gn.id="textStrokeWidth",gn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class yn extends X{get props(){return{"-webkit-text-stroke-color":this}}}yn.id="textStrokeColor",yn.matches=/^text-stroke-color:./,yn.colorStarts="text-stroke:",yn.colorful=!0,yn.values={current:ee};class kn extends X{}kn.key=U(fe,"dasharray");class vn extends X{}vn.key=U(fe,"dash")+St;class wn extends X{}wn.key="x",wn.unit="";class On extends X{}On.key="y",On.unit="";class jn extends X{}jn.key="cx",jn.unit="";class Sn extends X{}Sn.key="cy",Sn.unit="";class Nn extends X{}Nn.key="rx",Nn.unit="";class Rn extends X{}Rn.key="ry",Rn.unit="";class Wn extends X{}Wn.key=U(D,ue,"outset");class In extends X{}In.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,In.key=U(D,ue,be);class $n extends X{}$n.key=U(D,ue,"slice"),$n.unit="";class zn extends X{}zn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,zn.key=U(D,ue,"source");class An extends X{}An.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,An.key=U(D,ue,We);class En extends X{}En.key=U(D,ue),En.unit="";const Mn=/\{(.*)\}/;class Cn extends X{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.name.length;a++){const t=this.name[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 g&&"'"!==e&&(a++,c(g[t]))}};c(void 0),n();for(const e of i){const i=p.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Cn.id="group",Cn.matches=/^{/,Cn.unit="";class Tn extends X{}Tn.key="counter-increment",Tn.unit="";class Vn extends X{}Vn.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":it,"margin-right":it},middle:{top:0,bottom:0,"margin-top":it,"margin-bottom":it},"break-spaces":{"white-space":U(tt,Ke)+"s"},"break-word":{"overflow-wrap":U(tt,Je),overflow:Fe}};const qn="undefined"!=typeof window,Ln=[Vn,Cn,Ci,Ct,Vt,Ji,Dt,ur,hr,qt,Xi,Qi,Fi,_i,Zi,Yi,Ns,Gt,Ht,Jt,Kt,Yr,vr,Tn,es,rs,ns,as,nn,cs,ls,os,ds,br,gr,yr,Gr,hs,Pr,fr,Qr,us,Ur,kr,fs,Zr,Fr,_r,ms,js,Ss,Rs,Ws,Is,$s,zs,As,Es,Ms,Cs,fi,mi,vi,wi,Oi,ji,$i,Mi,Si,Ni,Wi,Ii,xn,gn,yn,bn,Ri,Ir,bs,xs,ps,gs,ws,Os,vs,ks,ys,Ts,Vs,Br,qs,Ls,Ps,_s,Zs,Fs,Xs,Js,Ks,ei,Rr,Wr,ti,Wn,In,$n,zn,An,En,si,ii,ri,ni,ai,ci,li,oi,di,hi,ui,xi,ki,bi,kn,vn,yi,gi,wn,On,jn,Sn,Nn,Rn,Hr,fn,Di,zi,ln,mn,Hi,Ai,sr,ir,rr,on,dn,hn,cn,un,rn,Ei,Ui,Pi,Li,qi,Vi,Ti,Gi,Ki,er,tr,nr,ar,cr,lr,or,dr,mr,pr,Jr,xr,wr,Or,jr,Sr,Nr,$r,zr,Ar,Er,Mr,Cr,Tr,Vr,qr,Lr,Xr,Dr,Kr,en,tn,sn,an,pn],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 _n(){if(qn){const e=new p(document.head);p.root=e,e.observe(document.documentElement)}}Ln.extend=(e,t,s=!0)=>{for(const s in t){const i=Pn(s);if(i){const r=t[s];i.extend(e,r)}}s&&p.refresh()},X.extend("colors",e.colors,!1),X.extend("breakpoints",t.breakpoints,!1),p.Styles.push(...Ln);qn&&(window.initMasterStyles=_n,window.MasterStyles=Ln,window.MasterStylesManual||_n())})(),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:()=>Ct,StyleSheet:()=>m,Styles:()=>Zn,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Qn,sheets:()=>Mt});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"],l=[",",".","#","[","!","*",">","+","~",":","@"],o="undefined"!=typeof document;let d;o&&(d=document.createElement("style"),d.id="master-styles");const h="max-width",u="min-width",f="undefined"!=typeof window,p=f?window.MutationObserver:Object;class m extends p{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={},o){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(l.includes(t))break;r+=t}if(!(r in this.styleOfName)){const e=m.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=d.cloneNode(),null==e||e.prepend(this.element)}Mt.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 Ct.classes?Ct.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 Ct.classes?Ct.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Mt)e.refresh()}refresh(){if(!this.element)return;const e=d.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(),Mt.splice(Mt.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[h],o=r.features[u];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[h],d=n.features[u];if(!o||!d){s++;break}const f=o.value-d.value;if(f===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[h],n=t.features[u];if(!r||!n||r.value-n.value!==f)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features[u]&&e.media.features[h]))}break}if(f>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[h],f=r.features[u];if(d){if(f)break;continue}const p=null==f?void 0:f.value;if(p===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[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features[u];if(!i.features[h]){if(t.hasWhere!==c||r.value!==p||t.order>=n)break;s=e+1}}break}if(p>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[h];if(o.features[u])continue;const f=null==d?void 0:d.value;if(!f||f>t.value){s++;break}if(f===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[u]&&e.media.features[h]),(e=>!e.media.features[u]&&!e.media.features[h]));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[u],n=i.features[h];if(!(r||n&&n.value===f&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features[u]){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[h]||e.media.features[u]));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[h]||i.features[u])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 Ct.relations&&Ct.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 Ct.classes)for(const t of Ct.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=m.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}function x(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function b(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}m.Styles=[],f&&(window.MasterStyleSheet=m);const g={"(":")","'":"'","{":"}"},y=(...e)=>e.join("-"),k="border",v="radius",w="margin",O="padding",j="font",S="currentColor",N=",",R="flow",W="template",I="column",$="columns",z="gap",A="row",E="rows",M="shadow",C="user",T="content",V="image",q="stroke",_="filter",L="blend",P="background",Z="repeat",F="color",Q="scroll",X="animation",Y="direction",B="mode",U="behavior",D=y("overscroll",U),G="y",H="x",J="height",K="width",ee="max",te="min",se="block",ie="inline",re="flex",ne="grid",ae="transition",ce="origin",le="delay",oe="rotate",de="deg",he="timing-function",ue="duration",fe="display",pe="hidden",me="box",xe="fill",be="clip",ge="none",ye="text",ke="align",ve="transform",we="vertical",Oe="word",je="space",Se="decoration",Ne="break",Re="size",We="auto",Ie="line",$e="object",ze="position",Ae="rem",Ee="style",Me="smoothing",Ce="antialiased",Te="spacing",Ve=y("letter",Te),qe=y(ee,K),_e=y(te,K),Le=y(ee,J),Pe=y(te,J),Ze="table",Fe="group",Qe="list",Xe="span",Ye="justify",Be="items",Ue="self",De="place",Ge="type",He="offset",Je="outline",Ke="snap",et="shape",tt="view",st="area",it="start",rt="blur",nt="drop",at={full:"100%",fit:y("fit",T),max:y(ee,T),min:y(te,T)};for(const e in t.breakpoints)at[e]=t.breakpoints[e]/16+"rem";const ct="matches",lt="semantics",ot="symbol",dt="max-width",ht="min-width",ut="motion",ft="reduce",pt="reduced-motion",mt="::scrollbar",xt="::slider-thumb",bt="::slider-runnable-track",gt="::search",yt="::meter",kt="::resizer",vt="::progress",wt="px",Ot=["!","*",">","+","~",":","[","@","_"],jt=[...Ot,void 0,"."],St=new RegExp(mt,"g"),Nt=new RegExp(gt,"g"),Rt=new RegExp(yt,"g"),Wt=new RegExp(bt,"g"),It=new RegExp(xt,"g"),$t=new RegExp(kt,"g"),zt=new RegExp(vt,"g"),At=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,Et=e=>e.split(At).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Mt=[];class Ct{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:d,unit:h,colors:u,key:f,values:p,colorful:m,breakpoints:x,mediaQueries:b}=s,y=e;if(m||(u=null),t.origin===lt)i=t.value,l=y.slice(t.value.length),this.value=d[t.value];else{if(t.origin===ct)if(o===Fe){let e=0;for(;e<y.length&&("{"!==y[e]||"\\"===y[e-1]);e++);n=y.slice(0,e),i=y.slice(e)}else{const e=y.indexOf(":");this.prefix=y.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=y):i=y.slice(e+1)}else t.origin===ot&&(this.symbol=y[0],i=y.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let d,f=!1;for(n&&(")"===n&&"$"===s.slice(-1)?d=s.length-1:"'"===n&&(f=!0),s+=i[c++]);c<i.length;c++){const m=i[c];if(m===n){if(s+=m,f){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==d&&(s=s.slice(0,d)+s.slice(d).replace(/\$\((.*)\)/,"var(--$1)")),l||(f?r.push(s):(e=a(s,h,u,p),r.push(e.value+e.unit)),o="",s="");break}if(!f&&m in g)t(g[m],void 0===l?0:l+1,o);else if("|"!==m||f&&"path"!==o){if(!n){if("."===m){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===m){e=a(s,h,u,p),r.push(e.value+e.unit,","),s="";continue}if("#"===m&&(s||r.length&&"|"!==i[c-1])||Ot.includes(m))break}o+=m}s+=m}else n?s+=" ":(e=a(s,h,u,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,h,u,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(mt)&&(l=l.replace(St,"::-webkit-scrollbar")),l.includes(gt)&&(l=l.replace(Nt,"::-webkit-search")),l.includes(xt)&&(l=l.replace(It,"::-webkit-slider-thumb")),l.includes(bt)&&(l=l.replace(Wt,"::-webkit-slider-runnable-track")),l.includes(yt)&&(l=l.replace(Rt,"::-webkit-meter")),l.includes(kt)&&(l=l.replace($t,"::-webkit-resizer")),l.includes(vt)&&(l=l.replace(zt,"::-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?Et(n):"";const k=l.split("@");let v=k[0];if(v){v=Et(v),this.hasWhere=v.includes(":where(");for(let e=0;e<c.length;e++)if(v.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=v;for(let e=1;e<k.length;e++){const t=k[e];if(t)if(t.startsWith("dark")||t.startsWith("light"))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===ut||e===pt)i.push("(prefers-reduced-motion:"+(e===ut?"no-preference":ft)+")");else if(e in b)i.push(b[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=dt):e.startsWith(">=")||x[e]?(r=">=",s=ht):e.startsWith(">")?(r=">",s=ht,n=.02):e.startsWith("<")&&(r="<",s=dt,n=-.02),s){case dt:case ht:const c=r?e.replace(r,""):e,l=x[c];l?Object.assign(t,a(l,wt)):Object.assign(t,a(c,wt)),t.unit===wt&&(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 w="";this.colorScheme&&(w+="."+this.colorScheme+" "),this.prefixSelector&&(w+=this.prefixSelector),this.direction&&(w+="[dir="+this.direction+"] "),this.text=w+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Ct.relations?Ct.relations[this.name].map((e=>", "+w+"."+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(f,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)&&jt.includes(e[t.length]))return{origin:lt,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:ct}:this.symbol&&e.startsWith(this.symbol)?{origin:ot}:this.key&&e.startsWith(this.key+":")?{origin:ct}:void 0}static extend(e,t,s=!0){if(!t)return;const i=(e,s,i)=>{var r;for(const n in t){const a=t[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==s?void 0:s(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==Vt||Vt.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=x(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]=x(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?x(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]=b.call(this,...a)}};for(let l=1;l<100;l++){const o=l%2==0;l in t?(a.length?(e=l,s=x(t[l]),c(),a.length=0,n=s):n=x(t[l]),r=l,o&&(i[l]=n.join(" "))):o&&a.push(l)}a.length&&(e=100,s="100"in t?x(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=x(e).join(" ")}return null==Vt||Vt.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==Vt||Vt.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}s&&m.refresh()}}let Tt,Vt;if(Ct.unit="rem",Ct.rgbColors={},Ct.mediaQueries={},Ct.sheets=Mt,Ct.colors={},Ct.classes={},Ct.colorNames=[],Ct.relations={},"undefined"!=typeof window&&(window.MasterStyle=Ct),"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){Tt=e;const s={},i=t.content.split(",");for(let e=0;e<Tt.sheet.cssRules.length;e++){const t=Tt.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]=b.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}Ct.extend("colors",s),Vt=Tt.sheet}}Tt||(Tt=document.createElement("style"),Tt.id="master-colors",document.head.prepend(Tt),Vt=Tt.sheet)}class qt extends Ct{}qt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,qt.key=y(j,"weight"),qt.unit="",qt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const _t="var(--font-";class Lt extends Ct{}Lt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Lt.key=y(j,"family"),Lt.values={mono:_t+"mono)",sans:_t+"sans)",serif:_t+"serif)"};class Pt extends Ct{}Pt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Pt.key=y(j,Re);const Zt="top",Ft="bottom",Qt="left",Xt="right",Yt="l",Bt="r",Ut="t",Dt="b",Gt="x",Ht="y";class Jt extends Ct{get props(){const e="m"===this.prefix[0]?w:O,t=y(e,Qt),s=y(e,Xt),i=y(e,Zt),r=y(e,Ft);switch(this.prefix[1]){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Jt.id="spacing",Jt.matches=/^[pm][xytblr]?:./;class Kt extends Ct{}Kt.matches=/^w:./,Kt.key=K,Kt.values=at;class es extends Ct{}es.matches=/^h:./,es.key=J,es.values=at;class ts extends Ct{}ts.matches=/^min-w:./,ts.key=_e,ts.values=at;class ss extends Ct{}ss.matches=/^min-h:./,ss.key=Pe,ss.values=at;class is extends Ct{}is.matches=/^ls:./,is.key=Ve,is.unit="em";const rs=y("subpixel",Ce),ns=y("-webkit-font",Me),as=y("-moz-osxfont",Me);class cs extends Ct{get props(){const e={};switch(this.value){case rs:e[ns]=e[as]=Object.assign(Object.assign({},this),{value:We});break;case Ce:e[ns]=Object.assign(Object.assign({},this),{value:Ce}),e[as]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}cs.id="fontSmoothing",cs.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,cs.unit="";class ls extends Ct{}ls.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,ls.key=y(j,Ee),ls.unit="deg",ls.semantics={italic:"italic",oblique:"oblique"};class os extends Ct{}os.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,os.key=y(j,"variant","numeric");class ds extends Ct{}ds.matches=/^lh:./,ds.key=y(Ie,J),ds.unit="";class hs extends Ct{}hs.matches=/^(object|obj):(contain|cover|fill|scale-down)/,hs.key=y($e,"fit");class us extends Ct{}us.matches=/^(object|obj):(top|bottom|right|left|center)/,us.key=y($e,ze);class fs extends Ct{}fs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,fs.key=y(ye,ke);class ps extends Ct{constructor(){super(...arguments),this.order=-1}}ps.matches=/^t(ext)?:(underline|line-through|overline)/,ps.key=y(ye,Se),ps.colorful=!0;class ms extends Ct{}ms.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,ms.key=y(ye,ve),ms.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class xs extends Ct{}xs.matches=/^v:./,xs.key=y(we,ke);class bs extends Ct{get props(){return{overflow:Object.assign(Object.assign({},this),{value:pe}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:y(Ne,Oe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:we}),"-webkit-line-clamp":this}}}bs.id="lines",bs.matches=/^lines:./,bs.unit="";class gs extends Ct{}gs.matches=/^transform:((top|bottom|right|left|center)|\d)/,gs.key=y(ve,ce),gs.unit="px";class ys extends Ct{}ys.matches=/^transform:(flat|preserve-3d)(?!\|)/,ys.key=y(ve,Ee);class ks extends Ct{}ks.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,ks.key=y(ve,me),ks.values={content:y(T,me),border:y(k,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class vs extends Ct{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=Ae;break;case"skew":r=de;break;case oe:"3d"===s&&(n=!0),r=de;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===Ae?16:1)+r})).join(","))}))}}vs.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,vs.key=ve,vs.unit="";class ws extends Ct{constructor(){super(...arguments),this.order=-1}}ws.symbol="~",ws.key=ae;class Os extends Ct{}Os.matches=/^~delay:./,Os.key=y(ae,le),Os.unit="ms";class js extends Ct{}js.matches=/^~duration:./,js.key=y(ae,ue),js.unit="ms";class Ss extends Ct{}Ss.matches=/^~property:./,Ss.key=y(ae,"property");class Ns extends Ct{}Ns.matches=/^~easing:./,Ns.key=y(ae,he);class Rs extends Ct{}Rs.matches=/^max-h:./,Rs.key=Le,Rs.values=at;class Ws extends Ct{}Ws.matches=/^max-w:./,Ws.key=qe,Ws.values=at;class Is extends Ct{}Is.matches=/^d:./,Is.key=fe,Is.semantics={hidden:ge,hide:ge,block:se,table:Ze,flex:re,grid:ne,contents:"contents","inline-block":y(ie,se),"inline-flex":y(ie,re),"inline-grid":y(ie,ne),"inline-table":y(ie,Ze)};class $s extends Ct{}$s.matches=/^box:(content|border)(?!\|)/,$s.key=y(me,"sizing"),$s.values={content:y(T,me),border:y(k,me)};class zs extends Ct{}zs.key="opacity",zs.unit="";class As extends Ct{}As.key="visibility",As.semantics={visible:"visible",invisible:pe};class Es extends Ct{}Es.key="clear";class Ms extends Ct{}Ms.key="float";class Cs extends Ct{}Cs.key="isolation",Cs.semantics={isolate:"isolate"};class Ts extends Ct{get props(){switch(this.prefix.slice(-2,-1)){case H:return{"overflow-x":this};case G:return{"overflow-y":this};default:return{overflow:this}}}get order(){switch(this.prefix.slice(-2,-1)){case H:case G:return 0;default:return-1}}}Ts.id="overflow",Ts.matches=/^(overflow|ovf)(-x|-y)?:./;class Vs extends Ct{get props(){switch(this.prefix.slice(-2,-1)){case H:return{[y(D,H)]:this};case G:return{[y(D,G)]:this};default:return{[D]:this}}}}Vs.id="overscrollBehavior",Vs.matches=/^overscroll-behavior(?:-[xy])?:/;class qs extends Ct{}qs.matches=/^z:./,qs.key="z-index",qs.unit="";class _s extends Ct{}_s.matches=/^\@delay:./,_s.key=y(X,le),_s.unit="ms";class Ls extends Ct{}Ls.matches=/^\@direction:./,Ls.key=y(X,Y);class Ps extends Ct{}Ps.matches=/^\@fill-mode:./,Ps.key=y(X,xe,B);class Zs extends Ct{}Zs.matches=/^\@iteration-count:./,Zs.key=y(X,"iteration","count"),Zs.unit="";class Fs extends Ct{}Fs.matches=/^\@name:./,Fs.key=y(X,"name");class Qs extends Ct{}Qs.matches=/^\@play-state:./,Qs.key=y(X,"play-state");class Xs extends Ct{}Xs.matches=/^\@easing:./,Xs.key=y(X,he);class Ys extends Ct{constructor(){super(...arguments),this.order=-1}}Ys.symbol="@",Ys.key=X,Ys.unit="";function Bs(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 Gt:return{[i]:t,[r]:t};case Ht:return{[n]:t,[a]:t};case Yt:return{[i]:t};case Bt:return{[r]:t};case Ut:return{[n]:t};case Dt:return{[a]:t};default:return{[k+s]:t}}}class Us extends Ct{get props(){return Bs(this.prefix,this,F)}get order(){return this.prefix===y(k,F)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Us.id="borderColor",Us.matches=/^border(-(left|right|top|bottom))?-color:./,Us.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Us.colorful=!0,Us.values={current:S};const Ds=y(k,Zt,Qt,v),Gs=y(k,Zt,Xt,v),Hs=y(k,Ft,Qt,v),Js=y(k,Ft,Xt,v),Ks=y(k,v),ei=[Ds,Gs,Hs,Js];class ti extends Ct{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 Ut:return{[Ds]:this,[Gs]:this};case"tl":case"lt":return{[Ds]:this};case"rt":case"tr":return{[Gs]:this};case Dt:return{[Hs]:this,[Js]:this};case"bl":case"lb":return{[Hs]:this};case"br":case"rb":return{[Js]:this};case Yt:return{[Ds]:this,[Hs]:this};case Bt:return{[Gs]:this,[Js]:this};default:return{[Ks]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[ei.includes(t)?t:Ks]:this}}get order(){return this.prefix===y(k,v)+":"||"r:"===this.prefix?-1:0}}ti.id="borderRadius",ti.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,ti.semantics={rounded:"1e9em",round:"50%"};class si extends Ct{get props(){return Bs(this.prefix,this,Ee)}get order(){return this.prefix===y(k,Ee)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}si.id="borderStyle",si.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 ii extends Ct{get props(){return Bs(this.prefix,this,K)}get order(){return this.prefix===y(k,K)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ii.id="borderWidth",ii.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 ri extends Ct{get props(){return Bs(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ri.id="border",ri.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ri.colorful=!0;class ni extends Ct{}ni.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ni.key=y(P,"attachment");class ai extends Ct{}ai.key=y(P,L,B);class ci extends Ct{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ci.matches=/^(bg|background):text(?!\|)/,ci.key=y(P,be);class li extends Ct{}li.matches=/^(bg|background):transparent(?!\|)/,li.colorStarts="(bg|background):",li.key=y(P,F),li.unit="",li.colorful=!0,li.values={current:S};class oi extends Ct{}oi.matches=/^(bg|background):(content|border|padding)(?!\|)/,oi.key=y(P,ce),oi.values={content:y(T,me),border:y(k,me),padding:y(O,me)};class di extends Ct{}di.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,di.key=y(P,ze),di.unit="px";class hi extends Ct{}hi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,hi.key=y(P,Z);class ui extends Ct{}ui.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,ui.key=y(P,Re);class fi extends Ct{}fi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,fi.key=y(P,V);class pi extends Ct{constructor(){super(...arguments),this.order=-1}}pi.matches=/^bg:./,pi.key=P,pi.colorful=!0;class mi extends Ct{}mi.matches=/^blend:./,mi.key=y("mix",L,B);class xi extends Ct{}xi.key=ze,xi.values={abs:"absolute",rel:"relative"},xi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class bi extends Ct{get props(){const e=this.prefix.slice(0,-1);switch(e){case Zt:case Qt:case Xt:case Ft: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 gi(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===Ae?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}bi.matches=/^(top|left|right|bottom|center|middle):./;class yi extends Ct{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,M):return Ae;case y("hue",oe):return de}return""}))}}yi.matches=/^bd:./,yi.key=y("backdrop",_);class ki extends Ct{}ki.key=xe,ki.colorStarts="fill:",ki.colorful=!0,ki.values={current:S};class vi extends Ct{}vi.key=q,vi.colorful=!0;class wi extends Ct{}wi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,wi.key=y(q,K);class Oi extends Ct{get parseValue(){return gi(this.value,(e=>{switch(e){case rt:case y(nt,M):return Ae;case y("hue",oe):return de}return""}))}}Oi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,Oi.key=_;class ji extends Ct{}ji.key="cursor";class Si extends Ct{}Si.key=y("pointer","events"),Si.semantics={untouchable:"none"};class Ni extends Ct{}Ni.key="resize";class Ri extends Ct{}Ri.key=y("touch","action");class Wi extends Ct{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Wi.key=y(C,"drag");class Ii extends Ct{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ii.key=y(C,"select");class $i extends Ct{}$i.matches=/^s(?:hadow)?:./,$i.key=y(me,M),$i.colorful=!0;class zi extends Ct{}zi.key=y(ye,M),zi.colorful=!0;class Ai extends Ct{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===Ae?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}Ai.id="textSize",Ai.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class Ei extends Ct{}Ei.key=y(Oe,Ne),Ei.unit="";class Mi extends Ct{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,W,$)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Mi.matches=/^grid-cols:./,Mi.key=y(ne,$),Mi.unit="";class Ci extends Ct{get props(){return{[fe]:Object.assign(Object.assign({},this),{value:ne}),[y(ne,We,R)]:Object.assign(Object.assign({},this),{value:I}),[y(ne,W,E)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+N+te+"max(0"+",1fr))"})}}}Ci.key=y(ne,E),Ci.unit="";class Ti extends Ct{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case H:return{[y(I,z)]:this};case G:return{[y(A,z)]:this};default:return{[z]:this}}}}Ti.id="gap",Ti.matches=/^gap(-x|-y)?:./;class Vi extends Ct{}Vi.key=y(Oe,Te);class qi extends Ct{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}qi.id="variable",qi.matches=/^\$.+:./,qi.unit="";class _i extends Ct{}_i.matches=/^aspect:./,_i.key=y("aspect","ratio"),_i.unit="",_i.semantics={square:"1/1",video:"16/9"};class Li extends Ct{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Li.matches=/^box:(slice|clone)(?!\|)/,Li.key=y(me,Se,Ne);class Pi extends Ct{}Pi.key=y(Ne,"after");class Zi extends Ct{}Zi.key=y(Ne,"before");class Fi extends Ct{}Fi.key=y(Ne,"inside");class Qi extends Ct{}Qi.key=y(re,"shrink"),Qi.unit="";class Xi extends Ct{}Xi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Xi.key=y(re,Y),Xi.values={col:I,"col-reverse":y(I,"reverse")};class Yi extends Ct{}Yi.key=y(re,"grow"),Yi.unit="";class Bi extends Ct{}Bi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Bi.key=y(re,"wrap");class Ui extends Ct{}Ui.key=y(re,"basis"),Ui.values=at;class Di extends Ct{constructor(){super(...arguments),this.order=-1}}Di.key=re,Di.unit="";const Gi="999999";class Hi extends Ct{}Hi.matches=/^o:./,Hi.key="order",Hi.values={first:"-999999",last:Gi},Hi.unit="";class Ji extends Ct{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-col(-span)?:./,Ji.key=y(ne,I),Ji.unit="";class Ki extends Ct{}Ki.matches=/^col-span:./,Ki.key=y(I,Xe);class er extends Ct{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}}er.matches=/^grid-row-span:./,er.key=y(ne,A),er.unit="";class tr extends Ct{}tr.matches=/^(font-color:.|font:current)/,tr.colorStarts="(?:f(ont)?|color):",tr.colorful=!0,tr.key=F,tr.unit="",tr.values={current:S};class sr extends Ct{}sr.matches=/^ac:./,sr.key=y(ke,T);class ir extends Ct{}ir.matches=/^ai:./,ir.key=y(ke,Be);class rr extends Ct{}rr.matches=/^as:./,rr.key=y(ke,Ue);class nr extends Ct{}nr.matches=/^grid-auto-cols:./,nr.key=y(ne,We,$),nr.values={min:y(te,T),max:y(ee,T)};class ar extends Ct{}ar.matches=/^grid-flow:./,ar.key=y(ne,We,R);class cr extends Ct{}cr.key=y(ne,We,E),cr.values={min:y(te,T),max:y(ee,T)};class lr extends Ct{}lr.matches=/^jc:./,lr.key=y(Ye,T);class or extends Ct{}or.matches=/^ji:./,or.key=y(Ye,Be);class dr extends Ct{}dr.matches=/^js:./,dr.key=y(Ye,Ue);class hr extends Ct{constructor(){super(...arguments),this.order=-1}}hr.key=y(De,T);class ur extends Ct{constructor(){super(...arguments),this.order=-1}}ur.key=y(De,Be);class fr extends Ct{constructor(){super(...arguments),this.order=-1}}fr.key=y(De,Ue);class pr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}pr.id="padding",pr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class mr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}mr.id="margin",mr.matches=/^margin(-(left|right|top|bottom))?:./;class xr extends Ct{}xr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,xr.key=y(ye,"overflow");class br extends Ct{}br.matches=/^list-style:(inside|outside)(?!\|)/,br.key=y(Qe,Ee,ze);class gr extends Ct{}gr.matches=/^list-style:(none|disc|decimal)(?!\|)/,gr.key=y(Qe,Ee,Ge);class yr extends Ct{constructor(){super(...arguments),this.order=-1}}yr.key=y(Qe,Ee);class kr extends Ct{}kr.key=y(ye,Se,F),kr.colorStarts="text-decoration:",kr.colorful=!0,kr.values={current:S};class vr extends Ct{}vr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,vr.key=y(ye,Se,Ee);class wr extends Ct{}wr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,wr.key=y(ye,Se,"thickness"),wr.unit="em";class Or extends Ct{}Or.key=y(ye,"indent");class jr extends Ct{}jr.key=T;class Sr extends Ct{}Sr.key=y(Je,F),Sr.colorStarts="outline:",Sr.colorful=!0,Sr.values={current:S};class Nr extends Ct{}Nr.key=y(Je,He);class Rr extends Ct{}Rr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Rr.key=y(Je,Ee);class Wr extends Ct{}Wr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Wr.key=y(Je,K);class Ir extends Ct{constructor(){super(...arguments),this.order=-1}}Ir.key=Je,Ir.colorful=!0;class $r extends Ct{}$r.matches=/^b(order)?:(collapse|separate)(?!\|)/,$r.key=y(k,"collapse");class zr extends Ct{}zr.key=y(k,Te);class Ar extends Ct{}Ar.key=y(Ze,"layout");class Er extends Ct{}Er.key=y("accent",F),Er.colorStarts="accent:",Er.colorful=!0;class Mr extends Ct{}Mr.key="appearance";class Cr extends Ct{}Cr.key=y("caret",F),Cr.matches=/^caret:transparent(?!\|)/,Cr.colorStarts="caret:",Cr.colorful=!0,Cr.values={current:S};class Tr extends Ct{}Tr.key=y(Q,U);class Vr extends Ct{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=y(Q,w)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,w)+":"||this.prefix===y(Q,"m:")?-1:0}}Vr.id="scrollMargin",Vr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class qr extends Ct{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=y(Q,O)+"-",t=e+Qt,s=e+Xt,i=e+Zt,r=e+Ft;switch(this.prefix.slice(-2,-1)){case Gt:return{[t]:this,[s]:this};case Ht:return{[i]:this,[r]:this};case Yt:return{[t]:this};case Bt:return{[s]:this};case Ut:return{[i]:this};case Dt:return{[r]:this}}}}get order(){return this.prefix===y(Q,O)+":"||this.prefix===y(Q,"p:")?-1:0}}qr.id="scrollPadding",qr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class _r extends Ct{}_r.matches=/^scroll-snap:(start|end|center)/,_r.key=y(Q,Ke,ke);class Lr extends Ct{}Lr.matches=/^scroll-snap:(normal|always)(?!\|)/,Lr.key=y(Q,Ke,"stop");class Pr extends Ct{}Pr.matches=/^scroll-snap:(([xy]|block|inline|both)(;(proximity|mandatory))?)(?!\|)/,Pr.key=y(Q,Ke,Ge);class Zr extends Ct{}Zr.key="will-change";class Fr extends Ct{}Fr.key=y(ye,"underline",He);class Qr extends Ct{get props(){return{[this.prefix.slice(0,-1)]:this}}}Qr.matches=/^(?:top|bottom|left|right):./,Qr.key="inset";class Xr extends Ct{constructor(){super(...arguments),this.order=-1}}Xr.matches=/^(columns|cols):./,Xr.key=$,Xr.unit="";class Yr extends Ct{}Yr.key=y("white",je),Yr.unit="";class Br extends Ct{}Br.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Br.key=y(ye,"orientation");class Ur extends Ct{}Ur.key=y("writing",B);class Dr extends Ct{}Dr.key="contain";class Gr extends Ct{}Gr.matches=/^\@duration:./,Gr.key=y(X,ue),Gr.unit="ms";class Hr extends Ct{}Hr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Hr.key=y(ye,"rendering");class Jr extends Ct{}Jr.key=Y;class Kr extends Ct{}Kr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Kr.key=y(ye,Se,Ie);class en extends Ct{}en.matches=/^grid-col-start:./,en.key=y(ne,I,it),en.unit="";class tn extends Ct{}tn.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,tn.key=y(Qe,Ee,V);class sn extends Ct{}sn.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,sn.key=y(et,"outside"),sn.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me)};class rn extends Ct{}rn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,rn.key=y(et,w);class nn extends Ct{}nn.key=y(et,V,"threshold"),nn.unit="";class an extends Ct{}an.matches=/^clip:./,an.key=y(be,"path"),an.values={content:y(T,me),border:y(k,me),padding:y(O,me),margin:y(w,me),fill:y(xe,me),stroke:y(q,me),view:y(tt,me)};class cn extends Ct{constructor(){super(...arguments),this.order=-1}}cn.key=ne;class ln extends Ct{constructor(){super(...arguments),this.order=-1}}ln.matches=/^f:./,ln.key=j,ln.unit="",ln.colorful=!0;class on extends Ct{}on.key="quotes";class dn extends Ct{constructor(){super(...arguments),this.order=-1}}dn.key=y(ne,W);class hn extends Ct{}hn.key=y(ne,A,it),hn.unit="";class un extends Ct{}un.key=y(ne,W,st)+"s";class fn extends Ct{}fn.matches=/^grid-template-cols:./,fn.key=y(ne,W,$),fn.values={min:y(te,T),max:y(ee,T)};class pn extends Ct{}pn.key=y(ne,W,E),pn.values={min:y(te,T),max:y(ee,T)};class mn extends Ct{constructor(){super(...arguments),this.order=-1}}mn.key=y(ne,st),mn.unit="";class xn extends Ct{}xn.matches=/^grid-col-end:./,xn.key=y(ne,I,"end"),xn.unit="";class bn extends Ct{}bn.key=y(ne,A,"end"),bn.unit="";class gn extends Ct{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}gn.key=y("mask",V);class yn extends Ct{get props(){return{"-webkit-text-fill-color":this}}}yn.id="textFillColor",yn.matches=/^text-fill-color:./,yn.colorStarts="text-fill:",yn.colorful=!0,yn.values={current:S};class kn extends Ct{get props(){return{"-webkit-text-stroke":this}}}kn.id="textStroke",kn.matches=/^text-stroke:./;class vn extends Ct{get props(){return{"-webkit-text-stroke-width":this}}}vn.id="textStrokeWidth",vn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class wn extends Ct{get props(){return{"-webkit-text-stroke-color":this}}}wn.id="textStrokeColor",wn.matches=/^text-stroke-color:./,wn.colorStarts="text-stroke:",wn.colorful=!0,wn.values={current:S};class On extends Ct{}On.key=y(q,"dasharray");class jn extends Ct{}jn.key=y(q,"dash")+He;class Sn extends Ct{}Sn.key="x",Sn.unit="";class Nn extends Ct{}Nn.key="y",Nn.unit="";class Rn extends Ct{}Rn.key="cx",Rn.unit="";class Wn extends Ct{}Wn.key="cy",Wn.unit="";class In extends Ct{}In.key="rx",In.unit="";class $n extends Ct{}$n.key="ry",$n.unit="";class zn extends Ct{}zn.key=y(k,V,"outset");class An extends Ct{}An.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,An.key=y(k,V,Z);class En extends Ct{}En.key=y(k,V,"slice"),En.unit="";class Mn extends Ct{}Mn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,Mn.key=y(k,V,"source");class Cn extends Ct{}Cn.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,Cn.key=y(k,V,K);class Tn extends Ct{}Tn.key=y(k,V),Tn.unit="";const Vn=/\{(.*)\}/;class qn extends Ct{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(Vn)[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 g&&"'"!==e&&(a++,c(g[t]))}};c(void 0),n();for(const e of i){const i=m.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}qn.id=Fe,qn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,qn.unit="";class _n extends Ct{}_n.key="counter-increment",_n.unit="";class Ln extends Ct{}Ln.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":We,"margin-right":We},middle:{top:0,bottom:0,"margin-top":We,"margin-bottom":We},"break-spaces":{"white-space":y(Ne,je)+"s"},"break-word":{"overflow-wrap":y(Ne,Oe),overflow:pe}};const Pn="undefined"!=typeof window,Zn=[Ln,qn,qi,qt,Lt,tr,Jt,mr,pr,Pt,Ui,Bi,Yi,Qi,Xi,Di,Is,Kt,es,ts,ss,Dr,jr,_n,is,cs,ls,os,ln,ds,hs,us,fs,kr,vr,wr,Kr,ps,Fr,xr,Br,ms,Hr,Or,xs,Xr,Yr,Qr,bs,Rs,Ws,$s,zs,As,Es,Ms,Cs,Ts,Vs,qs,xi,bi,ji,Si,Ni,Ri,Ei,Vi,Wi,Ii,zi,Ai,yn,vn,wn,kn,$i,Ar,ks,ys,gs,vs,Ss,Ns,js,Os,ws,_s,Ls,Gr,Ps,Zs,Fs,Qs,Xs,Ys,Us,ti,si,ii,$r,zr,ri,zn,An,En,Mn,Cn,Tn,ni,ai,ci,li,oi,di,hi,ui,fi,pi,mi,yi,Oi,ki,On,jn,wi,vi,Sn,Nn,Rn,Wn,In,$n,en,xn,Ji,Mi,hn,bn,er,Ci,nr,ar,cr,un,fn,pn,dn,mn,cn,Ti,Hi,Fi,Zi,Pi,Li,_i,Ki,sr,ir,rr,lr,or,dr,hr,ur,fr,br,gr,tn,yr,Sr,Nr,Rr,Wr,Ir,Er,Mr,Cr,Tr,Vr,qr,_r,Lr,Pr,Zr,Ur,Jr,sn,rn,nn,an,on,gn],Fn=Zn.get=e=>Zn.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 Qn(){if(Pn){const e=new m(document.head);m.root=e,e.observe(document.documentElement)}}Zn.extend=(e,t,s=!0)=>{for(const s in t){const i=Fn(s);if(i){const r=t[s];i.extend(e,r)}}s&&m.refresh()},Ct.extend("colors",e.colors,!1),Ct.extend("breakpoints",t.breakpoints,!1),m.Styles.push(...Zn);Pn&&(window.initMasterStyles=Qn,window.MasterStyles=Zn,window.MasterStylesManual||Qn())})(),i})()})); |
@@ -28,3 +28,3 @@ { | ||
}, | ||
"version": "1.29.0" | ||
"version": "1.30.0" | ||
} |
@@ -17,3 +17,4 @@ import { StyleMedia } from './interfaces/style-media'; | ||
readonly token: string; | ||
readonly selector: string; | ||
readonly prefixSelector: string; | ||
readonly suffixSelector: string; | ||
readonly important: boolean; | ||
@@ -20,0 +21,0 @@ readonly media: StyleMedia; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112538
1997