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