!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).singlefile={})}(this,(function(e){"use strict";const t=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"],n=1,r=3,a=8,i=[{tagName:"HEAD",accept:e=>!e.childNodes.length||e.childNodes[0].nodeType==n},{tagName:"BODY",accept:e=>!e.childNodes.length}],o=[{tagName:"HTML",accept:e=>!e||e.nodeType!=a},{tagName:"HEAD",accept:e=>!e||e.nodeType!=a&&(e.nodeType!=r||!u(e.textContent))},{tagName:"BODY",accept:e=>!e||e.nodeType!=a},{tagName:"LI",accept:(e,t)=>!e&&t.parentElement&&("UL"==h(t.parentElement)||"OL"==h(t.parentElement))||e&&["LI"].includes(h(e))},{tagName:"DT",accept:e=>!e||["DT","DD"].includes(h(e))},{tagName:"P",accept:e=>e&&["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DETAILS","DIV","DL","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HR","MAIN","NAV","OL","P","PRE","SECTION","TABLE","UL"].includes(h(e))},{tagName:"DD",accept:e=>!e||["DT","DD"].includes(h(e))},{tagName:"RT",accept:e=>!e||["RT","RP"].includes(h(e))},{tagName:"RP",accept:e=>!e||["RT","RP"].includes(h(e))},{tagName:"OPTGROUP",accept:e=>!e||["OPTGROUP"].includes(h(e))},{tagName:"OPTION",accept:e=>!e||["OPTION","OPTGROUP"].includes(h(e))},{tagName:"COLGROUP",accept:e=>!e||e.nodeType!=a&&(e.nodeType!=r||!u(e.textContent))},{tagName:"CAPTION",accept:e=>!e||e.nodeType!=a&&(e.nodeType!=r||!u(e.textContent))},{tagName:"THEAD",accept:e=>!e||["TBODY","TFOOT"].includes(h(e))},{tagName:"TBODY",accept:e=>!e||["TBODY","TFOOT"].includes(h(e))},{tagName:"TFOOT",accept:e=>!e},{tagName:"TR",accept:e=>!e||["TR"].includes(h(e))},{tagName:"TD",accept:e=>!e||["TD","TH"].includes(h(e))},{tagName:"TH",accept:e=>!e||["TD","TH"].includes(h(e))}],l=["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"];function s(e,t){const n=e.doctype;let r="";return n&&(r=" "),r+c(e.documentElement,t)}function c(e,s,u){return e.nodeType==r?function(e){const t=e.parentNode;let r;t&&t.nodeType==n&&(r=h(t));return!r||l.includes(r)?"SCRIPT"==r||"STYLE"==r?e.textContent.replace(/<\//gi,"<\\/").replace(/\/>/gi,"\\/>"):e.textContent:e.textContent.replace(/&/g,"&").replace(/\u00a0/g," ").replace(//g,">")}(e):e.nodeType==a?"\x3c!--"+e.textContent+"--\x3e":e.nodeType==n?function(e,n,r){const a=h(e),l=n&&i.find((t=>a==h(t)&&t.accept(e)));let s="";l&&!e.attributes.length||(s="<"+a.toLowerCase(),Array.from(e.attributes).forEach((t=>s+=function(e,t,n){const r=e.name;let a="";if(!r.match(/["'>/=]/)){let i,o=e.value;n&&"class"==r&&(o=Array.from(t.classList).map((e=>e.trim())).join(" ")),o=o.replace(/&/g,"&").replace(/\u00a0/g," "),o.includes('"')&&(o.includes("'")||!n?o=o.replace(/"/g,"""):i=!0);const l=!n||o.match(/[ \t\n\f\r'"`=<>]/);a+=" ",e.namespace?"http://www.w3.org/XML/1998/namespace"==e.namespaceURI?a+="xml:"+r:"http://www.w3.org/2000/xmlns/"==e.namespaceURI?("xmlns"!==r&&(a+="xmlns:"),a+=r):"http://www.w3.org/1999/xlink"==e.namespaceURI?a+="xlink:"+r:a+=r:a+=r,""!=o&&(a+="=",l&&(a+=i?"'":'"'),a+=o,l&&(a+=i?"'":'"'))}return a}(t,e,n))),s+=">");"TEMPLATE"!=a||e.childNodes.length?Array.from(e.childNodes).forEach((e=>s+=c(e,n,r||"svg"==a))):s+=e.innerHTML;const u=n&&o.find((t=>a==h(t)&&t.accept(e.nextSibling,e)));(r||!u&&!t.includes(a))&&(s+="");return s}(e,s,u):void 0}function u(e){return Boolean(e.match(/^[ \t\n\f\r]/))}function h(e){return e.tagName&&e.tagName.toUpperCase()}const d="single-file-infobar",p="\n.infobar,\n.infobar .infobar-icon,\n.infobar .infobar-link-icon {\n min-inline-size: 28px;\n min-block-size: 28px;\n box-sizing: border-box;\n}\n\n.infobar,\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n opacity: 0.7;\n transition: opacity 250ms;\n}\n\n.infobar:hover,\n.infobar .infobar-close-icon:hover,\n.infobar .infobar-link-icon:hover {\n opacity: 1;\n}\n\n.infobar,\n.infobar-content {\n display: flex;\n}\n\n.infobar {\n position: fixed;\n top: 16px;\n right: 16px;\n margin-inline-start: 16px;\n margin-block-end: 16px;\n color: #2d2d2d;\n background-color: #737373;\n border: 2px solid;\n border-color: #eee;\n border-radius: 16px;\n z-index: 2147483647;\n}\n\n.infobar:valid, .infobar:not(:focus-within) .infobar-content {\n display: none;\n}\n\n.infobar:focus-within {\n background-color: #f9f9f9;\n border-color: #878787;\n border-radius: 8px;\n opacity: 1;\n transition-property: opacity, background-color, border-color, border-radius,\n color;\n}\n\n.infobar-content {\n align-items: center;\n}\n\n.infobar-content span {\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n line-height: 18px;\n word-break: break-word;\n white-space: pre-wrap;\n margin-inline: 4px;\n margin-block: 4px;\n}\n\n.infobar .infobar-icon,\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n cursor: pointer;\n background-position: center;\n background-repeat: no-repeat;\n}\n\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n align-self: flex-start;\n}\n\n.infobar .infobar-icon {\n position: absolute;\n min-inline-size: 24px;\n min-block-size: 24px;\n}\n\n.infobar:focus-within .infobar-icon {\n z-index: -1;\n background-image: none;\n}\n\n.infobar .infobar-close-icon {\n min-inline-size: 22px;\n min-block-size: 22px;\n}\n\n.infobar .infobar-icon {\n background-color: transparent;\n background-size: 70%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHADIRLMaOHwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAPUExURQAAAIqKioyNjY2OjvDw8L2y1DEAAAABdFJOUwBA5thmAAAAAWJLR0QB/wIt3gAAAGNJREFUSMdjYCAJsLi4OBCQx6/CBQwIGIDPCBcXAkYQUsACU+AwlBVQHg6Eg5pgZBGOboIJZugDFwRwoJECJCUOhJI1wZwzqmBUwagCuipgIqTABG9h7YIKaKGAURAFEF/6AQAO4HqSoDP8bgAAAABJRU5ErkJggg==);\n}\n\n.infobar .infobar-link-icon {\n background-size: 60%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHAB8H+DhhoQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAJUExURQAAAICHi4qKioTuJAkAAAABdFJOUwBA5thmAAAAAWJLR0QCZgt8ZAAAAJJJREFUOI3t070NRCEMA2CnYAOyDyPwpHj/Va7hJ3FzV7zy3ET5JIwoAF6Jk4wzAJAkzxAYG9YRTgB+24wBgKmfrGAKTcEfAY4KRlRoIeBTgKOCERVaCPgU4Khge2GqKOBTgKOCERVaAEC/4PNcnyoSWHpjqkhwKxbcig0Q6AorXYF/+A6eIYD1lVbwG/jdA6/kA2THRAURVubcAAAAAElFTkSuQmCC);\n}\n\n.infobar .infobar-close-icon {\n appearance: none;\n background-size: 80%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHAB8VC4EQ6QAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAJUExURQAAAICHi4qKioTuJAkAAAABdFJOUwBA5thmAAAAAWJLR0QCZgt8ZAAAAJtJREFUOI3NkrsBgCAMRLFwBPdxBArcfxXFkO8rbKWAAJfHJ9faf9vuYX/749T5NmShm3bEwbe2SxeuM4+2oxDL1cDoKtVUjRy+tH78Cv2CS+wIiQNC1AEhk4AQeUTMWUJMfUJMSEJMSEY8kIx4IONroaYAimNxsXp1PA7PxwfVL8QnowwoVC0lig07wDDVUjAdbAnjwtow/z/bDW7eI4M2KruJAAAAAElFTkSuQmCC);\n}\n";function m(e,t,n){if(!e.querySelector(d)){let r=t.infobarContent?t.infobarContent:t.saveDate;r=r||"No info";const a=function(e,t,n){const r=e.createElement(t);return n.appendChild(r),Array.from(getComputedStyle(r)).forEach((e=>r.style.setProperty(e,"initial","important"))),r}(e,d,e.body);let i;if(n)i=a.attachShadow({mode:"open"});else{const t=e.createElement("template");t.setAttribute("shadowroot","open"),a.appendChild(t),i=t}const o=e.createElement("div"),l=e.createElement("style");l.textContent=p.replace(/ {2}/g,"").replace(/\n/g,"").replace(/: /g,":").replace(/, /g,","),o.appendChild(l);const s=e.createElement("form");s.classList.add("infobar"),o.appendChild(s);const c=e.createElement("span");c.tabIndex=-1,c.classList.add("infobar-icon"),s.appendChild(c);const u=e.createElement("span");u.tabIndex=-1,u.classList.add("infobar-content");const h=e.createElement("input");h.type="checkbox",h.required=!0,h.classList.add("infobar-close-icon"),u.appendChild(h);const m=e.createElement("span");m.textContent=r,u.appendChild(m);const b=e.createElement("a");if(b.classList.add("infobar-link-icon"),b.target="_blank",b.rel="noopener noreferrer",b.title="Open source URL: "+t.saveUrl,b.href=t.saveUrl,u.appendChild(b),s.appendChild(u),n)i.appendChild(o);else{const t=e.createElement("script");let n=f.toString();n+=g.toString(),n+="refreshInfobarInfo(document, extractInfobarData(document))",n=n.replace(/ == /g,"==").replace(/ > /g,">").replace(/ < /g,"<").replace(/ \+ /g,"+").replace(/ - /g,"-").replace(/ = /g,"=").replace(/ \+= /g,"+=").replace(/ && /g,"&&").replace(/ \|\| /g,"||").replace(/{ /g,"{").replace(/ }/g,"}").replace(/, /g,",").replace(/; /g,";").replace(/ \(/g,"(").replace(/ \)/g,")").replace(/\t/g,"").replace(/\n/g,""),t.textContent=n,o.appendChild(t),i.innerHTML=o.outerHTML}e.body.appendChild(a)}}function g(e){const t=e.evaluate("//comment()",e,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null);let n=t&&t.singleNodeValue;if(n&&n.nodeType==Node.COMMENT_NODE&&n.textContent.includes("SingleFile")){const e=n.textContent.split("\n"),[,,t,...r]=e,a=t.match(/^ url: (.*) ?$/),i=a&&a[1];if(i){let e,t;if(r.length&&(t=r[0].split("saved date: ")[1],t&&r.shift(),r.length>1)){let t=r[0].split("info: ")[1].trim();for(let e=1;e()=>(t||e((t={exports:{}}).exports,t),t.exports),C=(e,t)=>{for(var n in t)y(e,n,{get:t[n],enumerable:!0})},S=A((e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(e){if(0<=e&&e{var t=S();e.encode=function(e){var n,r,a="",i=(r=e)<0?1+(-r<<1):0+(r<<1);do{n=31&i,(i>>>=5)>0&&(n|=32),a+=t.encode(n)}while(i>0);return a},e.decode=function(e,n,r){var a,i,o=e.length,l=0,s=0;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=t.decode(e.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+e.charAt(n-1));a=!!(32&i),l+=(i&=31)<>1;return 1==(1&e)?-t:t}(l),r.rest=n}})),T=A((e=>{e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=a;var i,o,l=(i=function(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var o=e.isAbsolute(n),l=[],s=0,c=0;;){if(s=c,-1===(c=n.indexOf("/",s))){l.push(n.slice(s));break}for(l.push(n.slice(s,c));c=0;c--)"."===(u=l[c])?l.splice(c,1):".."===u?h++:h>0&&(""===u?(l.splice(c+1,h),h=0):(l.splice(c,2),h--));return""===(n=l.join("/"))&&(n=o?"/":"."),i?(i.path=n,a(i)):n},o=[],function(e){for(var t=0;t32&&o.pop(),r});function s(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),o=r(e);if(o&&(e=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),a(i);if(i||t.match(n))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s="/"===t.charAt(0)?t:l(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=s,a(o)):s}e.normalize=l,e.join=s,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=c?u:function(e){return h(e)?"$"+e:e},e.fromSetString=c?u:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||(0!==(r=e.originalColumn-t.originalColumn)||n)||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||(0!==(r=e.originalColumn-t.originalColumn)||n)||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||(0!==(r=e.generatedColumn-t.generatedColumn)||n)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var i=r(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=s(a(i),t)}return l(t)}})),z=A((e=>{var t=T(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function a(){this._array=[],this._set=r?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r=0)return a}else{var i=t.toSetString(e);if(n.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e{var t=T();function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){!function(e,n){var r=e.generatedLine,a=n.generatedLine,i=e.generatedColumn,o=n.generatedColumn;return a>r||a==r&&o>=i||t.compareByGeneratedPositionsInflated(e,n)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n})),R=A((e=>{var t=E(),n=T(),r=z().ArraySet,a=L().MappingList;function i(e){e||(e={}),this._file=n.getArg(e,"file",null),this._sourceRoot=n.getArg(e,"sourceRoot",null),this._skipValidation=n.getArg(e,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new a,this._sourcesContents=null}i.prototype._version=3,i.fromSourceMap=function(e){var t=e.sourceRoot,r=new i({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var a={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(a.source=e.source,null!=t&&(a.source=n.relative(t,a.source)),a.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(a.name=e.name)),r.addMapping(a)})),e.sources.forEach((function(a){var i=a;null!==t&&(i=n.relative(t,a)),r._sources.has(i)||r._sources.add(i);var o=e.sourceContentFor(a);null!=o&&r.setSourceContent(a,o)})),r},i.prototype.addMapping=function(e){var t=n.getArg(e,"generated"),r=n.getArg(e,"original",null),a=n.getArg(e,"source",null),i=n.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,a,i),null!=a&&(a=String(a),this._sources.has(a)||this._sources.add(a)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:a,name:i})},i.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=n.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(e,t,a){var i=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var o=this._sourceRoot;null!=o&&(i=n.relative(o,i));var l=new r,s=new r;this._mappings.unsortedForEach((function(t){if(t.source===i&&null!=t.originalLine){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=a&&(t.source=n.join(a,t.source)),null!=o&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}var c=t.source;null!=c&&!l.has(c)&&l.add(c);var u=t.name;null!=u&&!s.has(u)&&s.add(u)}),this),this._sources=l,this._names=s,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=a&&(t=n.join(a,t)),null!=o&&(t=n.relative(o,t)),this.setSourceContent(t,r))}),this)},i.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}},i.prototype._serializeMappings=function(){for(var e,r,a,i,o=0,l=1,s=0,c=0,u=0,h=0,d="",p=this._mappings.toArray(),m=0,g=p.length;m0){if(!n.compareByGeneratedPositionsInflated(r,p[m-1]))continue;e+=","}e+=t.encode(r.generatedColumn-o),o=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),e+=t.encode(i-h),h=i,e+=t.encode(r.originalLine-1-c),c=r.originalLine-1,e+=t.encode(r.originalColumn-s),s=r.originalColumn,null!=r.name&&(a=this._names.indexOf(r.name),e+=t.encode(a-u),u=a)),d+=e}return d},i.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=i}));C({},{AtKeyword:()=>P,BadString:()=>D,BadUrl:()=>B,CDC:()=>$,CDO:()=>W,Colon:()=>J,Comma:()=>K,Comment:()=>ne,Delim:()=>U,Dimension:()=>H,EOF:()=>I,Function:()=>O,Hash:()=>N,Ident:()=>_,LeftCurlyBracket:()=>ee,LeftParenthesis:()=>X,LeftSquareBracket:()=>G,Number:()=>F,Percentage:()=>q,RightCurlyBracket:()=>te,RightParenthesis:()=>Z,RightSquareBracket:()=>Y,Semicolon:()=>Q,String:()=>M,Url:()=>j,WhiteSpace:()=>V});var I=0,_=1,O=2,P=3,N=4,M=5,D=6,j=7,B=8,U=9,F=10,q=11,H=12,V=13,W=14,$=15,J=16,Q=17,K=18,G=19,Y=20,X=21,Z=22,ee=23,te=24,ne=25;function re(e){return e>=48&&e<=57}function ae(e){return re(e)||e>=65&&e<=70||e>=97&&e<=102}function ie(e){return e>=65&&e<=90}function oe(e){return function(e){return ie(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function le(e){return oe(e)||re(e)||45===e}function se(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function ce(e){return 10===e||13===e||12===e}function ue(e){return ce(e)||32===e||9===e}function he(e,t){return!(92!==e||ce(t)||0===t)}function de(e,t,n){return 45===e?oe(t)||45===t||he(t,n):!!oe(e)||92===e&&he(e,t)}function pe(e,t,n){return 43===e||45===e?re(t)?2:46===t&&re(n)?3:0:46===e?re(t)?2:0:re(e)?1:0}function me(e){return 65279===e||65534===e?1:0}var ge=new Array(128),fe=130,be=131,ye=132,ke=133;for(let e=0;ee.length)return!1;for(let a=t;a=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var _e=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"];function Oe(e=null,t){return null===e||e.length0?me(t.charCodeAt(0)):0,a=Oe(e.lines,n),i=Oe(e.columns,n),o=e.startLine,l=e.startColumn;for(let e=r;e{})){let n=(e=String(e||"")).length,r=Oe(this.offsetAndType,e.length+1),a=Oe(this.balance,e.length+1),i=0,o=0,l=0,s=-1;for(this.offsetAndType=null,this.balance=null,t(e,((e,t,c)=>{switch(e){default:a[i]=n;break;case o:{let e=l&Me;for(l=a[e],o=l>>De,a[i]=e,a[e++]=i;e>De:0}lookupOffset(e){return(e+=this.tokenIndex)0?e>De,this.tokenEnd=t&Me):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e>De,this.tokenEnd=e&Me):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;13===this.tokenType||25===this.tokenType;)this.next()}skipUntilBalanced(e,t){let n,r,a=e;e:for(;a0?this.offsetAndType[a-1]&Me:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:a++;break e;default:this.balance[n]===a&&(a=n)}this.skip(a-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t>De,r,i,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken(((t,n,r,a)=>{e[a]={idx:a,type:_e[t],chunk:this.source.substring(n,r),balance:this.balance[a]}})),e}};function Ue(e,t){function n(t){return t=e.length?void(cString(e+n+1).padStart(s)+" |"+t)).join("\n")}let i=e.split(/\r\n?|\n|\f/),o=Math.max(1,t-r)-1,l=Math.min(t+r,i.length+1),s=Math.max(4,String(l).length)+1,c=0;(n+=($e.length-1)*(i[t-1].substr(0,n-1).match(/\t/g)||[]).length)>Ve&&(c=n-We+3,n=We-2);for(let e=o;e<=l;e++)e>=0&&e0&&i[e].length>c?"โ€ฆ":"")+i[e].substr(c,Ve-2)+(i[e].length>c+Ve-1?"โ€ฆ":""));return[a(o,t),new Array(n+s+2).join("-")+"^",a(t,l)].filter(Boolean).join("\n")}function Qe(e,t,n,r,a){return Object.assign(He("SyntaxError",e),{source:t,offset:n,line:r,column:a,sourceFragment:e=>Je({source:t,line:r,column:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Je({source:t,line:r,column:a},2)}})}function Ke(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let a=e.getNode.call(this,r);if(void 0===a)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,a,t,r),n=!1),t.push(a)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Ge=()=>{},Ye=33,Xe=35,Ze=59,et=123,tt=0;function nt(e){return function(){return this[e]()}}function rt(e){let t=Object.create(null);for(let n in e){let r=e[n],a=r.parse||r;a&&(t[n]=a)}return t}function at(e){let t="",n="",r=!1,a=Ge,i=!1,o=new Ne,l=Object.assign(new Be,function(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:rt(e.atrule),pseudo:rt(e.pseudo),node:rt(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=nt(e.parseContext[n])}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Ke,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>e===et?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>e===et||e===Ze?1:0,consumeUntilExclamationMarkOrSemicolon:e=>e===Ye||e===Ze?1:0,consumeUntilSemicolonIncluded:e=>e===Ze?2:0,createList:()=>new qe,createSingleNodeList:e=>(new qe).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(i)throw e;let r=t.call(this,n);return i=!0,a(e,r),i=!1,r}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),13!==t)return t}while(t!==tt);return tt},charCodeAt:e=>e>=0&&et.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>Ae(t,e,n),cmpStr:(e,n,r)=>Ce(t,e,n,r),consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let n=t.substring(this.tokenStart,Le(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=_e[e].slice(0,-6).replace(/-/g," ").replace(/^./,(e=>e.toUpperCase())),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(Xe)&&(this.next(),r++,n="Name is expected");break;case 11:10===this.tokenType&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){(1!==this.tokenType||!1===this.lookupValue(0,e))&&this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>r?o.getLocationRange(e,t,n):null,getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(null!==t?t.loc.start.offset-o.startOffset:this.tokenStart,null!==r?r.loc.end.offset-o.startOffset:this.tokenStart,n)}return null},error(e,n){let r=typeof n<"u"&&n=0&&ue(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):o.getLocation(this.tokenStart);throw new Qe(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,s){t=e,s=s||{},l.setSource(t,Ue),o.setSource(t,s.offset,s.line,s.column),n=s.filename||"",r=Boolean(s.positions),a="function"==typeof s.onParseError?s.onParseError:Ge,i=!1,l.parseAtrulePrelude=!("parseAtrulePrelude"in s)||Boolean(s.parseAtrulePrelude),l.parseRulePrelude=!("parseRulePrelude"in s)||Boolean(s.parseRulePrelude),l.parseValue=!("parseValue"in s)||Boolean(s.parseValue),l.parseCustomProperty="parseCustomProperty"in s&&Boolean(s.parseCustomProperty);let{context:c="default",onComment:u}=s;if(!(c in l.context))throw new Error("Unknown context `"+c+"`");"function"==typeof u&&l.forEachToken(((e,n,r)=>{if(25===e){let e=l.getLocation(n,r),a=Ce(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);u(a,e)}}));let h=l.context[c].call(l,s);return l.eof||l.error(),h}),{SyntaxError:Qe,config:l.config})}var it,ot,lt,st=(it=R(),ot=1,lt=null!=it?b(v(it)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of w(t))!x.call(e,a)&&a!==n&&y(e,a,{get:()=>t[a],enumerable:!(r=k(t,a))||r.enumerable});return e})(!ot&&it&&it.__esModule?lt:y(lt,"default",{value:it,enumerable:!0}),it)),ct=new Set(["Atrule","Selector","Declaration"]);var ut={};C(ut,{safe:()=>ft,spec:()=>gt});var ht=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},dt=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],pt=dt.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);function mt(e){let t=new Set(e.map((([e,t])=>ht(e)<<16|ht(t))));return function(e,n,r){let a=ht(n,r),i=r.charCodeAt(0);return(45===i&&1!==n&&2!==n&&15!==n||43===i?t.has(e<<16|i<<8):t.has(e<<16|a))&&this.emit(" ",13,!0),a}}var gt=mt(dt),ft=mt(pt),bt=92;function yt(e,t){if("function"!=typeof t)e.children.forEach(this.node,this);else{let n=null;e.children.forEach((e=>{null!==n&&t.call(this,n),this.node(e),n=e}))}}function kt(e){Ue(e,((t,n,r)=>{this.token(t,e.slice(n,r))}))}function wt(e){let t=new Map;for(let n in e.node){let r=e.node[n];"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let r="",a=0,i={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(o,e)},tokenBefore:ft,token(e,t){a=this.tokenBefore(a,e,t),this.emit(t,e,!1),9===e&&t.charCodeAt(0)===bt&&this.emit("\n",13,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(i=n.decorator(i)),n.sourceMap&&(i=function(e){let t=new st.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},a={line:1,column:0},i={generated:a},o=1,l=0,s=!1,c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&ct.has(e.type)){let c=e.loc.start.line,u=e.loc.start.column-1;(r.line!==c||r.column!==u)&&(r.line=c,r.column=u,n.line=o,n.column=l,s&&(s=!1,(n.line!==a.line||n.column!==a.column)&&t.addMapping(i)),s=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}c.call(this,e),s&&ct.has(e.type)&&(a.line=o,a.column=l)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;ti.node(e),children:yt,token:(e,t)=>i.token(e,t),tokenize:kt};return i.node(e),i.result()}}var{hasOwnProperty:vt}=Object.prototype,xt=function(){};function At(e){return"function"==typeof e?e:xt}function Ct(e,t){return function(n,r,a){n.type===t&&e.call(this,n,r,a)}}function St(e,t){let n=t.structure,r=[];for(let e in n){if(!1===vt.call(n,e))continue;let t=n[e],a={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)null===e?a.nullable=!0:"string"==typeof e?a.type="node":Array.isArray(e)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function Et(e,t){let n=e.fields.slice(),r=e.context,a="string"==typeof r;return t&&n.reverse(),function(e,i,o,l){let s;a&&(s=i[r],i[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(l,!1):n.reduce(l,!1))return!0}else if(o(n))return!0}a&&(i[r]=s)}}function Tt({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:a}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:a}}}function zt(e){let t=function(e){let t={};for(let n in e.node)if(vt.call(e.node,n)){let r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=St(0,r)}return t}(e),n={},r={},a=Symbol("break-walk"),i=Symbol("skip-node");for(let e in t)vt.call(t,e)&&null!==t[e]&&(n[e]=Et(t[e],!1),r[e]=Et(t[e],!0));let o=Tt(n),l=Tt(r),s=function(e,s){function c(e,t,n){let r=u.call(m,e,t,n);return r===a||r!==i&&!!(d.hasOwnProperty(e.type)&&d[e.type](e,m,c,p)||h.call(m,e,t,n)===a)}let u=xt,h=xt,d=n,p=(e,t,n,r)=>e||c(t,n,r),m={break:a,skip:i,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof s)u=s;else if(s&&(u=At(s.enter),h=At(s.leave),s.reverse&&(d=r),s.visit)){if(o.hasOwnProperty(s.visit))d=s.reverse?l[s.visit]:o[s.visit];else if(!t.hasOwnProperty(s.visit))throw new Error("Bad value `"+s.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");u=Ct(u,s.visit),h=Ct(h,s.visit)}if(u===xt&&h===xt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return s.break=a,s.skip=i,s.find=function(e,t){let n=null;return s(e,(function(e,r,i){if(t.call(this,e,r,i))return n=e,a})),n},s.findLast=function(e,t){let n=null;return s(e,{reverse:!0,enter(e,r,i){if(t.call(this,e,r,i))return n=e,a}}),n},s.findAll=function(e,t){let n=[];return s(e,(function(e,r,a){t.call(this,e,r,a)&&n.push(e)})),n},s}function Lt(e){return e}function Rt(e,t,n,r){let a;switch(e.type){case"Group":a=function(e,t,n,r){let a=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",i=e.terms.map((e=>Rt(e,t,n,r))).join(a);return e.explicit||n?(r||","===i[0]?"[":"[ ")+i+(r?"]":" ]"):i}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Rt(e.term,t,n,r)+t(function(e){let{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Type":a="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-โˆž":e.min)+","+(null===e.max?"โˆž":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":a="<'"+e.name+"'>";break;case"Keyword":a=e.name;break;case"AtKeyword":a="@"+e.name;break;case"Function":a=e.name+"(";break;case"String":case"Token":a=e.value;break;case"Comma":a=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(a,e)}function It(e,t){let n=Lt,r=!1,a=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),a=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Rt(e,n,r,a)}var _t={offset:0,line:1,column:1};function Ot(e,t){let n=e&&e.loc&&e.loc[t];return n?"line"in n?Pt(n):n:null}function Pt({offset:e,line:t,column:n},r){let a={offset:e,line:t,column:n};if(r){let e=r.split(/\n|\r\n?|\f/);a.offset+=r.length,a.line+=e.length-1,a.column=1===e.length?a.column+r.length:e.pop().length+1}return a}var Nt=function(e,t){let n=He("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Mt=function(e,t,n,r){let a=He("SyntaxMatchError",e),{css:i,mismatchOffset:o,mismatchLength:l,start:s,end:c}=function(e,t){let n,r,a=e.tokens,i=e.longestMatch,o=i1?(n=Ot(l||t,"end")||Pt(_t,h),r=Pt(n)):(n=Ot(l,"start")||Pt(Ot(t,"start")||_t,h.slice(0,s)),r=Ot(l,"end")||Pt(n,h.substr(s,c))),{css:h,mismatchOffset:s,mismatchLength:c,start:n,end:r}}(r,n);return a.rawMessage=e,a.syntax=t?It(t):"",a.css=i,a.mismatchOffset=o,a.mismatchLength=l,a.message=e+"\n syntax: "+a.syntax+"\n value: "+(i||"")+"\n --------"+new Array(a.mismatchOffset+1).join("-")+"^",Object.assign(a,s),a.loc={source:n&&n.loc&&n.loc.source||"",start:s,end:c},a},Dt=new Map,jt=new Map,Bt=45,Ut=function(e){if(Dt.has(e))return Dt.get(e);let t=e.toLowerCase(),n=Dt.get(t);if(void 0===n){let e=qt(t,0),r=e?"":Ht(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Dt.set(e,n),n},Ft=function(e){if(jt.has(e))return jt.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");let r=qt(t,n.length);if(!r&&(t=t.toLowerCase(),jt.has(t))){let n=jt.get(t);return jt.set(e,n),n}let a=r?"":Ht(t,n.length),i=t.substr(0,n.length+a.length),o=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:a,prefix:i,custom:r});return jt.set(e,o),o};function qt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Bt&&e.charCodeAt(t+1)===Bt}function Ht(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Bt&&e.charCodeAt(t+1)!==Bt){let n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var Vt=["initial","inherit","unset","revert","revert-layer"],Wt=43,$t=45,Jt=!0;function Qt(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function Kt(e,t,n){for(;null!==e&&(13===e.type||25===e.type);)e=n(++t);return t}function Gt(e,t,n,r){if(!e)return 0;let a=e.value.charCodeAt(t);if(a===Wt||a===$t){if(n)return 0;t++}for(;t6)return 0}return r}function nn(e,t,n){if(!e)return 0;for(;en(n(t),Zt);){if(++e>6)return 0;t++}return t}var rn=["calc(","-moz-calc(","-webkit-calc("],an=new Map([[2,22],[21,22],[19,20],[23,24]]);function on(e,t){return te.max&&"string"!=typeof e.max)return!0}return!1}function hn(e){return function(t,n,r){return null===t?0:2===t.type&&sn(t.value,rn)?function(e,t){let n=0,r=[],a=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==n)break e;if(n=r.pop(),0===r.length){a++;break e}break;case 2:case 21:case 19:case 23:r.push(n),n=an.get(e.type)}a++}while(e=t(a));return a}(t,n):e(t,n,r)}}function dn(e){return function(t){return null===t||t.type!==e?0:1}}function pn(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||12!==t.type)return 0;let a=Le(t.value,0);if(null!==e){let n=t.value.indexOf("\\",a),r=-1!==n&&cn(t.value,n)?t.value.substring(a,n):t.value.substr(a);if(!1===e.has(r.toLowerCase()))return 0}return un(r,t.value,a)?0:1}}function mn(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&10===t.type&&0===Number(t.value)?1:e(t,n,r)}}var gn={"ident-token":dn(1),"function-token":dn(2),"at-keyword-token":dn(3),"hash-token":dn(4),"string-token":dn(5),"bad-string-token":dn(6),"url-token":dn(7),"bad-url-token":dn(8),"delim-token":dn(9),"number-token":dn(10),"percentage-token":dn(11),"dimension-token":dn(12),"whitespace-token":dn(13),"CDO-token":dn(14),"CDC-token":dn(15),"colon-token":dn(16),"semicolon-token":dn(17),"comma-token":dn(18),"[-token":dn(19),"]-token":dn(20),"(-token":dn(21),")-token":dn(22),"{-token":dn(23),"}-token":dn(24)},fn={string:dn(5),ident:dn(1),percentage:hn((function(e,t,n){return null===e||11!==e.type||un(n,e.value,e.value.length-1)?0:1})),zero:mn(),number:hn((function(e,t,n){if(null===e)return 0;let r=Le(e.value,0);return r!==e.value.length&&!cn(e.value,r)||un(n,e.value,r)?0:1})),integer:hn((function(e,t,n){if(null===e||10!==e.type)return 0;let r=43===on(e.value,0)||45===on(e.value,0)?1:0;for(;rwn,decibel:()=>Sn,flex:()=>Cn,frequency:()=>xn,length:()=>kn,resolution:()=>An,semitones:()=>En,time:()=>vn});var kn=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],wn=["deg","grad","rad","turn"],vn=["s","ms"],xn=["hz","khz"],An=["dpi","dpcm","dppx","x"],Cn=["fr"],Sn=["db"],En=["st"];function Tn(e,t,n){return Object.assign(He("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}C({},{SyntaxError:()=>Tn,generate:()=>It,parse:()=>pr,walk:()=>fr});var zn=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0)),tr={" ":1,"&&":2,"||":3,"|":4};function nr(e){return e.substringToPos(e.findWsEnd(e.pos))}function rr(e){let t=e.pos;for(;t=128||0===er[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function ar(e){let t=e.pos;for(;t57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function ir(e){let t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function or(e){let t=null,n=null;return e.eat(Gn),t=ar(e),e.charCode()===qn?(e.pos++,e.charCode()!==Xn&&(n=ar(e))):n=t,e.eat(Xn),{min:Number(t),max:n?Number(n):0}}function lr(e,t){let n=function(e){let t=null,n=!1;switch(e.charCode()){case Un:e.pos++,t={min:0,max:0};break;case Fn:e.pos++,t={min:1,max:0};break;case $n:e.pos++,t={min:0,max:1};break;case Nn:e.pos++,n=!0,e.charCode()===Gn?t=or(e):e.charCode()===$n?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Gn:t=or(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,e.charCode()===Nn&&e.charCodeAt(e.pos-1)===Fn?lr(e,n):n):t}function sr(e){let t=e.peek();return""===t?null:{type:"Token",value:t}}function cr(e){let t,n=null;return e.eat(Vn),t=rr(e),e.charCode()===jn&&e.nextCharCode()===Bn&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Qn&&(nr(e),n=function(e){let t=null,n=null,r=1;return e.eat(Qn),e.charCode()===Hn&&(e.peek(),r=-1),-1==r&&e.charCode()===Zn?e.peek():(t=r*Number(ar(e)),0!==er[e.charCode()]&&(t+=rr(e))),nr(e),e.eat(qn),nr(e),e.charCode()===Zn?e.peek():(r=1,e.charCode()===Hn&&(e.peek(),r=-1),n=r*Number(ar(e)),0!==er[e.charCode()]&&(n+=rr(e))),e.eat(Kn),{type:"Range",min:t,max:n}}(e)),e.eat(Wn),lr(e,{type:"Type",name:t,opts:n})}function ur(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort(((e,t)=>tr[e]-tr[t]));t.length>0;){r=t.shift();let a=0,i=0;for(;a1&&(e.splice(i,a-i,n(e.slice(i,a),r)),a=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,a-i,n(e.slice(i,a),r))}return r}function hr(e){let t,n=[],r={},a=null,i=e.pos;for(;t=dr(e);)"Spaces"!==t.type&&("Combinator"===t.type?((null===a||"Combinator"===a.type)&&(e.pos=i,e.error("Unexpected combinator")),r[t.value]=!0):null!==a&&"Combinator"!==a.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),a=t,i=e.pos);return null!==a&&"Combinator"===a.type&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:ur(n,r)||" ",disallowEmpty:!1,explicit:!1}}function dr(e){let t=e.charCode();if(t<128&&1===er[t])return function(e){let t=rr(e);return e.charCode()===jn?(e.pos++,{type:"Function",name:t}):lr(e,{type:"Keyword",name:t})}(e);switch(t){case Kn:break;case Qn:return lr(e,function(e){let t;return e.eat(Qn),t=hr(e),e.eat(Kn),t.explicit=!0,e.charCode()===Pn&&(e.pos++,t.disallowEmpty=!0),t}(e));case Vn:return e.nextCharCode()===Dn?function(e){let t;return e.eat(Vn),e.eat(Dn),t=rr(e),e.eat(Dn),e.eat(Wn),lr(e,{type:"Property",name:t})}(e):cr(e);case Yn:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Yn?2:1))};case Mn:return e.pos++,e.eat(Mn),{type:"Combinator",value:"&&"};case qn:return e.pos++,{type:"Comma"};case Dn:return lr(e,{type:"String",value:ir(e)});case On:case Ln:case Rn:case _n:case In:return{type:"Spaces",value:nr(e)};case Jn:return t=e.nextCharCode(),t<128&&1===er[t]?(e.pos++,{type:"AtKeyword",name:rr(e)}):sr(e);case Un:case Fn:case $n:case Nn:case Pn:break;case Gn:if(t=e.nextCharCode(),t<48||t>57)return sr(e);break;default:return sr(e)}}function pr(e){let t=new zn(e),n=hr(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var mr=function(){};function gr(e){return"function"==typeof e?e:mr}function fr(e,t,n){let r=mr,a=mr;if("function"==typeof t?r=t:t&&(r=gr(t.enter),a=gr(t.leave)),r===mr&&a===mr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}a.call(n,t)}(e)}var br={decorator(e){let t=[],n=null;return{...e,node(t){let r=n;n=t,e.node.call(this,t),n=r},emit(e,r,a){t.push({type:r,value:e,node:a?null:n})},result:()=>t}}};function yr(e,t){return"string"==typeof e?function(e){let t=[];return Ue(e,((n,r,a)=>t.push({type:n,value:e.slice(r,a),node:null}))),t}(e):t.generate(e,br)}var kr={type:"Match"},wr={type:"Mismatch"},vr={type:"DisallowEmpty"},xr=40,Ar=41;function Cr(e,t,n){return t===kr&&n===wr||e===kr&&t===kr&&n===kr?e:("If"===e.type&&e.else===wr&&t===kr&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Sr(e){return e.length>2&&e.charCodeAt(e.length-2)===xr&&e.charCodeAt(e.length-1)===Ar}function Er(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Sr(e.name)}function Tr(e,t,n){switch(e){case" ":{let e=kr;for(let n=t.length-1;n>=0;n--){e=Cr(t[n],e,wr)}return e}case"|":{let e=wr,n=null;for(let r=t.length-1;r>=0;r--){let a=t[r];if(Er(a)&&(null===n&&r>0&&Er(t[r-1])&&(n=Object.create(null),e=Cr({type:"Enum",map:n},kr,e)),null!==n)){let e=(Sr(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(e in n)){n[e]=a;continue}}n=null,e=Cr(a,kr,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=wr;for(let r=t.length-1;r>=0;r--){let a,i=t[r];a=t.length>1?Tr(e,t.filter((function(e){return e!==i})),!1):kr,n=Cr(i,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?kr:wr;for(let n=t.length-1;n>=0;n--){let a,i=t[n];a=t.length>1?Tr(e,t.filter((function(e){return e!==i})),!0):kr,r=Cr(i,a,r)}return r}}}function zr(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Tr(e.combinator,e.terms.map(zr),!1);return e.disallowEmpty&&(t=Cr(t,vr,wr)),t}case"Multiplier":return function(e){let t=kr,n=zr(e.term);if(0===e.max)n=Cr(n,vr,wr),t=Cr(n,null,wr),t.then=Cr(kr,kr,t),e.comma&&(t.then.else=Cr({type:"Comma",syntax:e},t,wr));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==kr&&(t=Cr({type:"Comma",syntax:e},t,wr)),t=Cr(n,Cr(kr,kr,t),wr);if(0===e.min)t=Cr(kr,kr,t);else for(let r=0;r=65&&a<=90&&(a|=32),a!==r)return!1}return!0}function Ur(e){return null===e||(18===e.type||2===e.type||21===e.type||19===e.type||23===e.type||function(e){return 9===e.type&&"?"!==e.value}(e))}function Fr(e){return null===e||(22===e.type||20===e.type||24===e.type||9===e.type&&"/"===e.value)}function qr(e,t,n){let r=function(e,t,n){function r(){do{b++,f=by&&(y=b)}function c(){k=k.type===Or?k.prev:{type:Pr,syntax:u.syntax,token:k.token,prev:k},u=u.prev}let u=null,h=null,d=null,p=null,m=0,g=null,f=null,b=-1,y=0,k={type:Ir,syntax:null,token:null,prev:null};for(r();null===g&&++md.tokenIndex)&&(d=p,p=!1);else if(null===d){g=Mr;break}t=d.nextState,h=d.thenStack,u=d.syntaxStack,k=d.matchStack,b=d.tokenIndex,f=bb){for(;b":"<'"+t.name+"'>"));if(!1!==p&&null!==f&&"Type"===t.type&&("custom-ident"===t.name&&1===f.type||"length"===t.name&&"0"===f.value)){null===p&&(p=i(t,d)),t=wr;break}u={syntax:t.syntax,opts:t.syntax.opts||null!==u&&u.opts||null,prev:u},k={type:Or,syntax:t.syntax,token:k.token,prev:k},t=r.match;break}case"Keyword":{let e=t.name;if(null!==f){let n=f.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),Br(n,e)){s(),t=kr;break}}t=wr;break}case"AtKeyword":case"Function":if(null!==f&&Br(f.value,t.name)){s(),t=kr;break}t=wr;break;case"Token":if(null!==f&&f.value===t.value){s(),t=kr;break}t=wr;break;case"Comma":null!==f&&18===f.type?Ur(k.token)?t=wr:(s(),t=Fr(f)?wr:kr):t=Ur(k.token)||Fr(f)?kr:wr;break;case"String":let r="",m=b;for(;m"Type"===e.type&&e.name===t))}function $r(e,t){return Qr(this,e,(e=>"Property"===e.type&&e.name===t))}function Jr(e){return Qr(this,e,(e=>"Keyword"===e.type))}function Qr(e,t,n){let r=Vr.call(e,t);return null!==r&&r.some(n)}function Kr(e){return"node"in e?e.node:Kr(e.match[0])}function Gr(e){return"node"in e?e.node:Gr(e.match[e.match.length-1])}function Yr(e,t,n,r,a){let i=[];return null!==n.matched&&function n(o){if(null!==o.syntax&&o.syntax.type===r&&o.syntax.name===a){let n=Kr(o),r=Gr(o);e.syntax.walk(t,(function(e,t,a){if(e===n){let e=new qe;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);i.push({parent:a,nodes:e})}}))}Array.isArray(o.match)&&o.match.forEach(n)}(n.matched),i}C(Hr,{getTrace:()=>Vr,isKeyword:()=>Jr,isProperty:()=>$r,isType:()=>Wr});var{hasOwnProperty:Xr}=Object.prototype;function Zr(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function ea(e){return Boolean(e)&&Zr(e.offset)&&Zr(e.line)&&Zr(e.column)}function ta(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let a in n){let i=!0;if(!1!==Xr.call(n,a)){if("type"===a)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===a){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)a+=".source";else if(ea(n.loc.start)){if(ea(n.loc.end))continue;a+=".end"}else a+=".start";i=!1}else if(t.hasOwnProperty(a)){i=!1;for(let e=0;!i&&e");else{if(!Array.isArray(r))throw new Error("Wrong value `"+r+"` in `"+e+"."+t+"` structure definition");i.push("List")}}a[t]=i.join(" | ")}return{docs:a,check:ta(e,r)}}var ra=Lr(Vt.join(" | "));function aa(e,t,n){let r={};for(let a in e)e[a].syntax&&(r[a]=n?e[a].syntax:It(e[a].syntax,{compact:t}));return r}function ia(e,t,n){let r={};for(let[a,i]of Object.entries(e))r[a]={prelude:i.prelude&&(n?i.prelude.syntax:It(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&aa(i.descriptors,t,n)};return r}function oa(e,t,n){return{matched:e,iterations:n,error:t,...Hr}}function la(e,t,n,r){let a,i=yr(n,e.syntax);return function(e){for(let t=0;t(Object.defineProperty(i,"syntax",{value:pr(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:Lr(i.syntax,a)}),i.match)})),i}addAtrule_(e,t){!t||(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce(((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n)),Object.create(null)):null})}addProperty_(e,t){!t||(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){!t||(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Nt("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||la(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),a=Ut(t);return r.descriptors?r.descriptors[a.name]||r.descriptors[a.basename]?void 0:new Nt("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new Nt("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return oa(null,n);let r=this.getAtrule(e);return r.prelude?la(this,r.prelude,t||"",!1):oa(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return oa(null,r);let a=this.getAtrule(e),i=Ut(t);return la(this,a.descriptors[i.name]||a.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?oa(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(Ft(e).custom)return oa(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?oa(null,n):la(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?la(this,n,t,!1):oa(null,new Nt("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?(("string"==typeof e||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),la(this,e,t,!1)):oa(null,new Nt("Bad syntax"))}findValueFragments(e,t,n,r){return Yr(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Yr(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){let n=Ut(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){let n=Ft(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(r,a,i,o){if(i.has(a))return i.get(a);i.set(a,!1),null!==o.syntax&&fr(o.syntax,(function(o){if("Type"!==o.type&&"Property"!==o.type)return;let l="Type"===o.type?r.types:r.properties,s="Type"===o.type?t:n;(!hasOwnProperty.call(l,o.name)||e(r,o.name,s,l[o.name]))&&i.set(a,!0)}),this)}let t=new Map,n=new Map;for(let n in this.types)e(this,n,t,this.types[n]);for(let t in this.properties)e(this,t,n,this.properties[t]);return t=[...t.keys()].filter((e=>t.get(e))),n=[...n.keys()].filter((e=>n.get(e))),t.length||n.length?{types:t,properties:n}:null}dump(e,t){return{generic:this.generic,units:this.units,types:aa(this.types,!t,e),properties:aa(this.properties,!t,e),atrules:ia(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function ca(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function ua(e,t){let n=Object.create(null);for(let[r,a]of Object.entries(e))if(a){n[r]={};for(let e of Object.keys(a))t.includes(e)&&(n[r][e]=a[e])}return n}function ha(e,t){let n={...e};for(let[r,a]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(a);break;case"units":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(let[e,t]of Object.entries(a)){let a=n[r][e]||{},i=n[r][e]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(t){i.prelude=t.prelude?ca(i.prelude,t.prelude):i.prelude||null;for(let[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?ca(i.descriptors[e],n):null;Object.keys(i.descriptors).length||(i.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]=ca(n[r][e],t);break;case"scope":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...a};break;case"atrule":case"pseudo":n[r]={...e[r],...ua(a,["parse"])};break;case"node":n[r]={...e[r],...ua(a,["name","structure","parse","generate","walkContext"])}}return n}function da(e){let t=at(e),n=zt(e),r=wt(e),{fromPlainObject:a,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&!(e.children instanceof qe)&&(e.children=(new qe).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof qe&&(e.children=e.children.toArray())}}),t)}}(n),o={lexer:null,createLexer:e=>new sa(e,o,o.lexer.structure),tokenize:Ue,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:a,toPlainObject:i,fork(t){let n=ha({},e);return da("function"==typeof t?t(n,Object.assign):ha(n,t))}};return o.lexer=new sa({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},o),o}var pa={};C(pa,{AnPlusB:()=>ma,Atrule:()=>za,AtrulePrelude:()=>Ma,AttributeSelector:()=>qa,Block:()=>ti,Brackets:()=>di,CDC:()=>bi,CDO:()=>xi,ClassSelector:()=>Ti,Combinator:()=>Oi,Comment:()=>qi,Declaration:()=>Ki,DeclarationList:()=>mo,Dimension:()=>vo,Function:()=>Eo,Hash:()=>_o,IdSelector:()=>Ho,Identifier:()=>jo,MediaFeature:()=>Qo,MediaQuery:()=>Zo,MediaQueryList:()=>al,NestingSelector:()=>cl,Nth:()=>gl,Number:()=>wl,Operator:()=>Sl,Parentheses:()=>Rl,Percentage:()=>Nl,PseudoClassSelector:()=>Ul,PseudoElementSelector:()=>$l,Ratio:()=>Xl,Raw:()=>os,Rule:()=>ds,Selector:()=>ws,SelectorList:()=>Ss,String:()=>Is,StyleSheet:()=>Fs,TypeSelector:()=>Ks,UnicodeRange:()=>rc,Url:()=>gc,Value:()=>zc,WhiteSpace:()=>Oc});var ma={};C(ma,{generate:()=>Ta,name:()=>Ca,parse:()=>Ea,structure:()=>Sa});var ga=43,fa=45,ba=110,ya=!0,ka=!1;function wa(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===ga||r===fa)&&(t&&this.error("Number sign is not allowed"),n++);n0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==ga&&n!==fa&&this.error("Number sign is expected")),va.call(this,0!==t),t===fa?"-"+this.consume(10):this.consume(10)}var Ca="AnPlusB",Sa={a:[String,null],b:[String,null]};function Ea(){let e=this.tokenStart,t=null,n=null;if(10===this.tokenType)va.call(this,ka),n=this.consume(10);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,fa))switch(t="-1",xa.call(this,1,ba),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Aa.call(this);break;case 3:xa.call(this,2,fa),this.next(),this.skipSC(),va.call(this,ya),n="-"+this.consume(10);break;default:xa.call(this,2,fa),wa.call(this,3,ya),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(ga)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(ga)&&(r=1,this.next()),xa.call(this,0,ba),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Aa.call(this);break;case 2:xa.call(this,1,fa),this.next(),this.skipSC(),va.call(this,ya),n="-"+this.consume(10);break;default:xa.call(this,1,fa),wa.call(this,2,ya),this.next(),n=this.substrToCursor(e+r+1)}}else if(12===this.tokenType){let r=this.charCodeAt(this.tokenStart),a=r===ga||r===fa,i=this.tokenStart+a;for(;iNa,name:()=>Ia,parse:()=>Pa,structure:()=>Oa,walkContext:()=>_a});var Ia="Atrule",_a="atrule",Oa={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Pa(e=!1){let t,n,r=this.tokenStart,a=null,i=null;switch(this.eat(3),t=this.substrToCursor(r+1),n=t.toLowerCase(),this.skipSC(),!1===this.eof&&23!==this.tokenType&&17!==this.tokenType&&(a=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,t,e),La):La.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:i=hasOwnProperty.call(this.atrule,n)&&"function"==typeof this.atrule[n].block?this.atrule[n].block.call(this,e):this.Block(Ra.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:t,prelude:a,block:i}}function Na(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var Ma={};C(Ma,{generate:()=>Fa,name:()=>Da,parse:()=>Ua,structure:()=>Ba,walkContext:()=>ja});var Da="AtrulePrelude",ja="atrulePrelude",Ba={children:[[]]};function Ua(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&23!==this.tokenType&&17!==this.tokenType&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Fa(e){this.children(e)}var qa={};C(qa,{generate:()=>ei,name:()=>Ya,parse:()=>Za,structure:()=>Xa});var Ha=36,Va=42,Wa=61,$a=94,Ja=124,Qa=126;function Ka(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Va)?(t=!0,this.next()):this.isDelim(Ja)||this.eat(1),this.isDelim(Ja)?this.charCodeAt(this.tokenStart+1)!==Wa?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Ga(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Wa&&t!==Qa&&t!==$a&&t!==Ha&&t!==Va&&t!==Ja&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Wa&&(this.isDelim(Wa)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Ya="AttributeSelector",Xa={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Za(){let e,t=this.tokenStart,n=null,r=null,a=null;return this.eat(19),this.skipSC(),e=Ka.call(this),this.skipSC(),20!==this.tokenType&&(1!==this.tokenType&&(n=Ga.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(a=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:a}}function ei(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")}var ti={};C(ti,{generate:()=>hi,name:()=>li,parse:()=>ui,structure:()=>ci,walkContext:()=>si});var ni=38;function ri(e){return this.Raw(e,null,!0)}function ai(){return this.parseWithFallback(this.Rule,ri)}function ii(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function oi(){if(17===this.tokenType)return ii.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,ii);return 17===this.tokenType&&this.next(),e}var li="Block",si="block",ci={children:[["Atrule","Rule","Declaration"]]};function ui(e){let t=e?oi:ai,n=this.tokenStart,r=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),ri));break;default:e&&this.isDelim(ni)?r.push(ai.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function hi(e){this.token(23,"{"),this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")})),this.token(24,"}")}var di={};C(di,{generate:()=>fi,name:()=>pi,parse:()=>gi,structure:()=>mi});var pi="Brackets",mi={children:[[]]};function gi(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function fi(e){this.token(9,"["),this.children(e),this.token(9,"]")}var bi={};C(bi,{generate:()=>vi,name:()=>yi,parse:()=>wi,structure:()=>ki});var yi="CDC",ki=[];function wi(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function vi(){this.token(15,"--\x3e")}var xi={};C(xi,{generate:()=>Ei,name:()=>Ai,parse:()=>Si,structure:()=>Ci});var Ai="CDO",Ci=[];function Si(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Ei(){this.token(14,"\x3c!--")}var Ti={};C(Ti,{generate:()=>_i,name:()=>Li,parse:()=>Ii,structure:()=>Ri});var zi=46,Li="ClassSelector",Ri={name:String};function Ii(){return this.eatDelim(zi),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function _i(e){this.token(9,"."),this.token(1,e.name)}var Oi={};C(Oi,{generate:()=>Fi,name:()=>ji,parse:()=>Ui,structure:()=>Bi});var Pi=43,Ni=47,Mi=62,Di=126,ji="Combinator",Bi={name:String};function Ui(){let e,t=this.tokenStart;switch(this.tokenType){case 13:e=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case Mi:case Pi:case Di:this.next();break;case Ni:this.next(),this.eatIdent("deep"),this.eatDelim(Ni);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function Fi(e){this.tokenize(e.name)}var qi={};C(qi,{generate:()=>Qi,name:()=>Wi,parse:()=>Ji,structure:()=>$i});var Hi=42,Vi=47,Wi="Comment",$i={value:String};function Ji(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===Hi&&this.charCodeAt(t-1)===Vi&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Qi(e){this.token(25,"/*"+e.value+"*/")}var Ki={};C(Ki,{generate:()=>uo,name:()=>oo,parse:()=>co,structure:()=>so,walkContext:()=>lo});var Gi=33,Yi=35,Xi=36,Zi=38,eo=42,to=43,no=47;function ro(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function ao(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function io(){let e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&17!==this.tokenType&&!1===this.isDelim(Gi)&&!1===this.isBalanceEdge(e)&&this.error(),t}var oo="Declaration",lo="declaration",so={important:[Boolean,String],property:String,value:["Value","Raw"]};function co(){let e,t=this.tokenStart,n=this.tokenIndex,r=ho.call(this),a=qt(r),i=a?this.parseCustomProperty:this.parseValue,o=a?ao:ro,l=!1;this.skipSC(),this.eat(16);let s=this.tokenIndex;if(a||this.skipSC(),e=i?this.parseWithFallback(io,o):o.call(this,this.tokenIndex),a&&"Value"===e.type&&e.children.isEmpty)for(let t=s-this.tokenIndex;t<=0;t++)if(13===this.lookupType(t)){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(Gi)&&(l=po.call(this),this.skipSC()),!1===this.eof&&17!==this.tokenType&&!1===this.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:l,property:r,value:e}}function uo(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))}function ho(){let e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case eo:case Xi:case to:case Yi:case Zi:this.next();break;case no:this.next(),this.isDelim(no)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function po(){this.eat(9),this.skipSC();let e=this.consume(1);return"important"===e||e}var mo={};C(mo,{generate:()=>wo,name:()=>bo,parse:()=>ko,structure:()=>yo});var go=38;function fo(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var bo="DeclarationList",yo={children:[["Declaration","Atrule","Rule"]]};function ko(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),fo));break;default:this.isDelim(go)?e.push(this.parseWithFallback(this.Rule,fo)):e.push(this.parseWithFallback(this.Declaration,fo))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function wo(e){this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")}))}var vo={};C(vo,{generate:()=>So,name:()=>xo,parse:()=>Co,structure:()=>Ao});var xo="Dimension",Ao={value:String,unit:String};function Co(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function So(e){this.token(12,e.value+e.unit)}var Eo={};C(Eo,{generate:()=>Io,name:()=>To,parse:()=>Ro,structure:()=>Lo,walkContext:()=>zo});var To="Function",zo="function",Lo={name:String,children:[[]]};function Ro(e,t){let n,r=this.tokenStart,a=this.consumeFunctionName(),i=a.toLowerCase();return n=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:a,children:n}}function Io(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var _o={};C(_o,{generate:()=>Do,name:()=>Po,parse:()=>Mo,structure:()=>No,xxx:()=>Oo});var Oo="XXX",Po="Hash",No={value:String};function Mo(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Do(e){this.token(4,"#"+e.value)}var jo={};C(jo,{generate:()=>qo,name:()=>Bo,parse:()=>Fo,structure:()=>Uo});var Bo="Identifier",Uo={name:String};function Fo(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function qo(e){this.token(1,e.name)}var Ho={};C(Ho,{generate:()=>Jo,name:()=>Vo,parse:()=>$o,structure:()=>Wo});var Vo="IdSelector",Wo={name:String};function $o(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Jo(e){this.token(9,"#"+e.name)}var Qo={};C(Qo,{generate:()=>Xo,name:()=>Ko,parse:()=>Yo,structure:()=>Go});var Ko="MediaFeature",Go={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function Yo(){let e,t=this.tokenStart,n=null;if(this.eat(21),this.skipSC(),e=this.consume(1),this.skipSC(),22!==this.tokenType){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:n=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(22),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:n}}function Xo(e){this.token(21,"("),this.token(1,e.name),null!==e.value&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var Zo={};C(Zo,{generate:()=>rl,name:()=>el,parse:()=>nl,structure:()=>tl});var el="MediaQuery",tl={children:[["Identifier","MediaFeature","WhiteSpace"]]};function nl(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break e}e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function rl(e){this.children(e)}var al={};C(al,{generate:()=>sl,name:()=>il,parse:()=>ll,structure:()=>ol});var il="MediaQueryList",ol={children:[["MediaQuery"]]};function ll(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),18===this.tokenType);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function sl(e){this.children(e,(()=>this.token(18,",")))}var cl={};C(cl,{generate:()=>ml,name:()=>hl,parse:()=>pl,structure:()=>dl});var ul=38,hl="NestingSelector",dl={};function pl(){let e=this.tokenStart;return this.eatDelim(ul),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function ml(){this.token(9,"&")}var gl={};C(gl,{generate:()=>kl,name:()=>fl,parse:()=>yl,structure:()=>bl});var fl="Nth",bl={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function yl(){this.skipSC();let e,t=this.tokenStart,n=t,r=null;return e=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(t,n),nth:e,selector:r}}function kl(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))}var wl={};C(wl,{generate:()=>Cl,name:()=>vl,parse:()=>Al,structure:()=>xl});var vl="Number",xl={value:String};function Al(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function Cl(e){this.token(10,e.value)}var Sl={};C(Sl,{generate:()=>Ll,name:()=>El,parse:()=>zl,structure:()=>Tl});var El="Operator",Tl={value:String};function zl(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Ll(e){this.tokenize(e.value)}var Rl={};C(Rl,{generate:()=>Pl,name:()=>Il,parse:()=>Ol,structure:()=>_l});var Il="Parentheses",_l={children:[[]]};function Ol(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function Pl(e){this.token(21,"("),this.children(e),this.token(22,")")}var Nl={};C(Nl,{generate:()=>Bl,name:()=>Ml,parse:()=>jl,structure:()=>Dl});var Ml="Percentage",Dl={value:String};function jl(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function Bl(e){this.token(11,e.value+"%")}var Ul={};C(Ul,{generate:()=>Wl,name:()=>Fl,parse:()=>Vl,structure:()=>Hl,walkContext:()=>ql});var Fl="PseudoClassSelector",ql="function",Hl={name:String,children:[["Raw"],null]};function Vl(){let e,t,n=this.tokenStart,r=null;return this.eat(16),2===this.tokenType?(e=this.consumeFunctionName(),t=e.toLowerCase(),22==this.lookupNonWSType(0)?r=this.createList():hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):e=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function Wl(e){this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var $l={};C($l,{generate:()=>Yl,name:()=>Jl,parse:()=>Gl,structure:()=>Kl,walkContext:()=>Ql});var Jl="PseudoElementSelector",Ql="function",Kl={name:String,children:[["Raw"],null]};function Gl(){let e,t,n=this.tokenStart,r=null;return this.eat(16),this.eat(16),2===this.tokenType?(e=this.consumeFunctionName(),t=e.toLowerCase(),22==this.lookupNonWSType(0)?r=this.createList():hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):e=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function Yl(e){this.token(16,":"),this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Xl={};C(Xl,{generate:()=>is,name:()=>ns,parse:()=>as,structure:()=>rs});var Zl=47,es=46;function ts(){this.skipSC();let e=this.consume(10);for(let t=0;t0&&13===this.lookupType(-1)?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}C(os,{generate:()=>hs,name:()=>ss,parse:()=>us,structure:()=>cs});var ss="Raw",cs={value:String};function us(e,t,n){let r,a=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>a?ls.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(a,r),value:this.substring(a,r)}}function hs(e){this.tokenize(e.value)}var ds={};function ps(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function ms(){let e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&23!==this.tokenType&&this.error(),e}C(ds,{generate:()=>ks,name:()=>gs,parse:()=>ys,structure:()=>bs,walkContext:()=>fs});var gs="Rule",fs="rule",bs={prelude:["SelectorList","Raw"],block:["Block"]};function ys(){let e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(ms,ps):ps.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function ks(e){this.node(e.prelude),this.node(e.block)}var ws={};C(ws,{generate:()=>Cs,name:()=>vs,parse:()=>As,structure:()=>xs});var vs="Selector",xs={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function As(){let e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Cs(e){this.children(e)}var Ss={};C(Ss,{generate:()=>Rs,name:()=>Es,parse:()=>Ls,structure:()=>zs,walkContext:()=>Ts});var Es="SelectorList",Ts="selector",zs={children:[["Selector","Raw"]]};function Ls(){let e=this.createList();for(;!this.eof&&(e.push(this.Selector()),18===this.tokenType);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Rs(e){this.children(e,(()=>this.token(18,",")))}var Is={};C(Is,{generate:()=>Us,name:()=>Ds,parse:()=>Bs,structure:()=>js});C({},{decode:()=>Ns,encode:()=>Ms});var _s=92,Os=34,Ps=39;function Ns(e){let t=e.length,n=e.charCodeAt(0),r=n===Os||n===Ps?1:0,a=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,i="";for(let n=r;n<=a;n++){let r=e.charCodeAt(n);if(r===_s){if(n===a){n!==t-1&&(i=e.substr(n+1));break}if(r=e.charCodeAt(++n),he(_s,r)){let t=n-1,r=Te(e,t);n=r-1,i+=Ie(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else i+=e[n]}return i}function Ms(e,t){let n=t?"'":'"',r=t?Ps:Os,a="",i=!1;for(let t=0;tQs,name:()=>Vs,parse:()=>Js,structure:()=>$s,walkContext:()=>Ws});var qs=33;function Hs(e){return this.Raw(e,null,!1)}var Vs="StyleSheet",Ws="stylesheet",$s={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Js(){let e,t=this.tokenStart,n=this.createList();for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==qs){this.next();continue}e=this.Comment();break;case 14:e=this.CDO();break;case 15:e=this.CDC();break;case 3:e=this.parseWithFallback(this.Atrule,Hs);break;default:e=this.parseWithFallback(this.Rule,Hs)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function Qs(e){this.children(e)}var Ks={};C(Ks,{generate:()=>nc,name:()=>Zs,parse:()=>tc,structure:()=>ec});var Gs=42,Ys=124;function Xs(){1!==this.tokenType&&!1===this.isDelim(Gs)&&this.error("Identifier or asterisk is expected"),this.next()}var Zs="TypeSelector",ec={name:String};function tc(){let e=this.tokenStart;return this.isDelim(Ys)?(this.next(),Xs.call(this)):(Xs.call(this),this.isDelim(Ys)&&(this.next(),Xs.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function nc(e){this.tokenize(e.name)}var rc={};C(rc,{generate:()=>mc,name:()=>hc,parse:()=>pc,structure:()=>dc});var ac=43,ic=45,oc=63;function lc(e,t){let n=0;for(let r=this.tokenStart+e;r6&&this.error("Too many hex digits",r)}return this.next(),n}function sc(e){let t=0;for(;this.isDelim(oc);)++t>e&&this.error("Too many question marks"),this.next()}function cc(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===ac?"Plus sign":"Hyphen minus")+" is expected")}function uc(){let e=0;switch(this.tokenType){case 10:if(e=lc.call(this,1,!0),this.isDelim(oc)){sc.call(this,6-e);break}if(12===this.tokenType||10===this.tokenType){cc.call(this,ic),lc.call(this,1,!1);break}break;case 12:e=lc.call(this,1,!0),e>0&&sc.call(this,6-e);break;default:if(this.eatDelim(ac),1===this.tokenType){e=lc.call(this,0,!0),e>0&&sc.call(this,6-e);break}if(this.isDelim(oc)){this.next(),sc.call(this,5);break}this.error("Hex digit or question mark is expected")}}var hc="UnicodeRange",dc={value:String};function pc(){let e=this.tokenStart;return this.eatIdent("u"),uc.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function mc(e){this.tokenize(e.value)}var gc={};C(gc,{generate:()=>Tc,name:()=>Cc,parse:()=>Ec,structure:()=>Sc});C({},{decode:()=>xc,encode:()=>Ac});var fc=32,bc=92,yc=34,kc=39,wc=40,vc=41;function xc(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===vc?t-2:t-1,a="";for(;n_c,name:()=>Lc,parse:()=>Ic,structure:()=>Rc});var Lc="Value",Rc={children:[[]]};function Ic(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function _c(e){this.children(e)}var Oc={};C(Oc,{generate:()=>jc,name:()=>Nc,parse:()=>Dc,structure:()=>Mc});var Pc=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Nc="WhiteSpace",Mc={value:String};function Dc(){return this.eat(13),Pc}function jc(e){this.token(13,e.value)}var Bc={generic:!0,generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"||||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur( )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( )","calc()":"calc( )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"||||( )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|||||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? , )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env( , ? )","exp()":"exp( )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[ )]|( )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"||||||<-legacy-gradient>","grayscale()":"grayscale( )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( [/ ]? )|hsl( , , , ? )","hsla()":"hsla( [/ ]? )|hsla( , , , ? )",hue:"|","hue-rotate()":"hue-rotate( )","hwb()":"hwb( [|none] [|none] [|none] [/ [|none]]? )","hypot()":"hypot( # )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"|min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( )","keyframes-name":"|","keyframe-block":"# { }","keyframe-block-list":"+","keyframe-selector":"from|to|","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? , )","log()":"log( , ? )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|min-content|max-content|auto] , [||min-content|max-content|auto] )","mod()":"mod( , )","name-repeat":"repeat( [|auto-fill] , + )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [ ,]? )","paint()":"paint( , ? )","perspective()":"perspective( [|none] )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pow()":"pow( , )","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? , )",ratio:" [/ ]?","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from ]? [at ]? , )","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","reversed-counter-name":"reversed( )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","sign()":"sign( )","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia( )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( )","single-animation":"