| 1 |
- !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="<!DOCTYPE "+n.nodeName,n.publicId?(r+=' PUBLIC "'+n.publicId+'"',n.systemId&&(r+=' "'+n.systemId+'"')):n.systemId&&(r+=' SYSTEM "'+n.systemId+'"'),n.internalSubset&&(r+=" ["+n.internalSubset+"]"),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,"<").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+="</"+a.toLowerCase()+">");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-",p="SingleFile",m="single-file-infobar",g="\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 f(e,t,n){if(!e.querySelector(m)){let r;t.infobarContent?r=t.infobarContent.replace(/\\n/g,"\n").replace(/\\t/g,"\t"):t.saveDate&&(r=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,m,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=g.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"),h.title="Close",u.appendChild(h);const d=e.createElement("span");d.textContent=r,u.appendChild(d);const p=e.createElement("a");if(p.classList.add("infobar-link-icon"),p.target="_blank",p.rel="noopener noreferrer",p.title="Open source URL: "+t.saveUrl,p.href=t.saveUrl,u.appendChild(p),s.appendChild(u),n)i.appendChild(o);else{const t=e.createElement("script");let n=y.toString();n+=b.toString(),n+="("+k.toString()+")(document)",t.textContent=n,o.appendChild(t),i.innerHTML=o.outerHTML}e.body.appendChild(a)}}function b(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(p)){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<r.length-1;e++)t+="\n"+r[e].trim();e=t.trim()}return{saveUrl:i,infobarContent:e,saveDate:t}}}}function y(e,{saveUrl:t,infobarContent:n,saveDate:r}){if(t){const a=e.querySelector("single-file-infobar").shadowRoot;a.querySelector(".infobar-content span").textContent=n||r;const i=a.querySelector(".infobar-content .infobar-link-icon");i.href=t,i.title="Open source URL: "+t}}function k(e){const t=b(e);t&&t.saveUrl&&y(e,t)}var w=Object.create,v=Object.defineProperty,x=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,C=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var n in t)v(e,n,{get:t[n],enumerable:!0})},z=E((e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},e.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}})),L=E((e=>{var t=z();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)<<s,s+=5}while(a);r.value=function(e){var t=e>>1;return 1==(1&e)?-t:t}(l),r.rest=n}})),R=E((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<n.length&&"/"===n[c];)c++}var u,h=0;for(c=l.length-1;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;t<o.length;t++)if(o[t].input===e){var n=o[0];return o[0]=o[t],o[t]=n,o[0].result}var r=i(e);return o.unshift({input:e,result:r}),o.length>32&&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)}})),I=E((e=>{var t=R(),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<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,a){var i=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,i),l=this._array.length;(!o||a)&&this._array.push(e),o||(r?this._set.set(e,l):this._set[i]=l)},a.prototype.has=function(e){if(r)return this._set.has(e);var a=t.toSetString(e);return n.call(this._set,a)},a.prototype.indexOf=function(e){if(r){var a=this._set.get(e);if(a>=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<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},e.ArraySet=a})),_=E((e=>{var t=R();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})),O=E((e=>{var t=L(),n=R(),r=I().ArraySet,a=_().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;m<g;m++){if(e="",(r=p[m]).generatedLine!==l)for(o=0;r.generatedLine!==l;)e+=";",l++;else if(m>0){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}));T({},{AtKeyword:()=>D,BadString:()=>U,BadUrl:()=>q,CDC:()=>K,CDO:()=>Q,Colon:()=>G,Comma:()=>X,Comment:()=>ie,Delim:()=>H,Dimension:()=>$,EOF:()=>P,Function:()=>M,Hash:()=>j,Ident:()=>N,LeftCurlyBracket:()=>re,LeftParenthesis:()=>te,LeftSquareBracket:()=>Z,Number:()=>V,Percentage:()=>W,RightCurlyBracket:()=>ae,RightParenthesis:()=>ne,RightSquareBracket:()=>ee,Semicolon:()=>Y,String:()=>F,Url:()=>B,WhiteSpace:()=>J});var P=0,N=1,M=2,D=3,j=4,F=5,U=6,B=7,q=8,H=9,V=10,W=11,$=12,J=13,Q=14,K=15,G=16,Y=17,X=18,Z=19,ee=20,te=21,ne=22,re=23,ae=24,ie=25;function oe(e){return e>=48&&e<=57}function le(e){return oe(e)||e>=65&&e<=70||e>=97&&e<=102}function se(e){return e>=65&&e<=90}function ce(e){return function(e){return se(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function ue(e){return ce(e)||oe(e)||45===e}function he(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function de(e){return 10===e||13===e||12===e}function pe(e){return de(e)||32===e||9===e}function me(e,t){return!(92!==e||de(t)||0===t)}function ge(e,t,n){return 45===e?ce(t)||45===t||me(t,n):!!ce(e)||92===e&&me(e,t)}function fe(e,t,n){return 43===e||45===e?oe(t)?2:46===t&&oe(n)?3:0:46===e?oe(t)?2:0:oe(e)?1:0}function be(e){return 65279===e||65534===e?1:0}var ye=new Array(128),ke=130,we=131,ve=132,xe=133;for(let e=0;e<ye.length;e++)ye[e]=pe(e)&&ke||oe(e)&&we||ce(e)&&ve||he(e)&&xe||e||128;function Ae(e){return e<128?ye[e]:ve}function Ce(e,t){return t<e.length?e.charCodeAt(t):0}function Se(e,t,n){return 13===n&&10===Ce(e,t+1)?2:1}function Ee(e,t,n){let r=e.charCodeAt(t);return se(r)&&(r|=32),r===n}function Te(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let a=t;a<n;a++){let n=r.charCodeAt(a-t),i=e.charCodeAt(a);if(se(i)&&(i|=32),i!==n)return!1}return!0}function ze(e,t){for(;t<e.length&&pe(e.charCodeAt(t));t++);return t}function Le(e,t){for(;t<e.length&&oe(e.charCodeAt(t));t++);return t}function Re(e,t){if(le(Ce(e,(t+=2)-1))){for(let n=Math.min(e.length,t+5);t<n&&le(Ce(e,t));t++);let n=Ce(e,t);pe(n)&&(t+=Se(e,t,n))}return t}function Ie(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!ue(n)){if(me(n,Ce(e,t+1))){t=Re(e,t)-1;continue}break}}return t}function _e(e,t){let n=e.charCodeAt(t);if((43===n||45===n)&&(n=e.charCodeAt(t+=1)),oe(n)&&(t=Le(e,t+1),n=e.charCodeAt(t)),46===n&&oe(e.charCodeAt(t+1))&&(t=Le(e,t+=2)),Ee(e,t,101)){let r=0;n=e.charCodeAt(t+1),(45===n||43===n)&&(r=1,n=e.charCodeAt(t+2)),oe(n)&&(t=Le(e,t+1+r+1))}return t}function Oe(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(41===n){t++;break}me(n,Ce(e,t+1))&&(t=Re(e,t))}return t}function Pe(e){if(1===e.length&&!le(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Ne=["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 Me(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function De(e){let t=e.source,n=t.length,r=t.length>0?be(t.charCodeAt(0)):0,a=Me(e.lines,n),i=Me(e.columns,n),o=e.startLine,l=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);a[e]=o,i[e]=l++,(10===r||13===r||12===r)&&(13===r&&e+1<n&&10===t.charCodeAt(e+1)&&(e++,a[e]=o,i[e]=l),o++,l=1)}a[n]=o,i[n]=l,e.lines=a,e.columns=i,e.computed=!0}var je=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||De(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||De(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},Fe=16777215,Ue=24,Be=new Map([[2,22],[21,22],[19,20],[23,24]]),qe=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=(()=>{})){let n=(e=String(e||"")).length,r=Me(this.offsetAndType,e.length+1),a=Me(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&Fe;for(l=a[e],o=l>>Ue,a[i]=e,a[e++]=i;e<i;e++)a[e]===n&&(a[e]=i);break}case 21:case 2:case 19:case 23:a[i]=l,o=Be.get(e),l=o<<Ue|i}r[i++]=e<<Ue|c,-1===s&&(s=t)})),r[i]=0|n,a[i]=n,a[n]=n;0!==l;){let e=l&Fe;l=a[e],a[e]=n}this.source=e,this.firstCharOffset=-1===s?0:s,this.tokenCount=i,this.offsetAndType=r,this.balance=a,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>Ue:0}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&Fe:this.source.length}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&Te(this.source,this.offsetAndType[e-1]&Fe,this.offsetAndType[e]&Fe,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Fe:this.offsetAndType[this.tokenCount]&Fe:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(this.lookupOffset(t))===e:9===this.tokenType&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Fe,t=this.offsetAndType[t],this.tokenType=t>>Ue,this.tokenEnd=t&Fe):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ue,this.tokenEnd=e&Fe):(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(;a<this.tokenCount&&(n=this.balance[a],!(n<e));a++)switch(r=a>0?this.offsetAndType[a-1]&Fe: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<this.tokenCount;t++){let r=n,a=this.offsetAndType[t],i=a&Fe;n=i,e(a>>Ue,r,i,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken(((t,n,r,a)=>{e[a]={idx:a,type:Ne[t],chunk:this.source.substring(n,r),balance:this.balance[a]}})),e}};function He(e,t){function n(t){return t<l?e.charCodeAt(t):0}function r(){return c=_e(e,c),ge(n(c),n(c+1),n(c+2))?(o=12,void(c=Ie(e,c))):37===n(c)?(o=11,void c++):void(o=10)}function a(){let t=c;return c=Ie(e,c),Te(e,t,c,"url")&&40===n(c)?(c=ze(e,c+1),34===n(c)||39===n(c)?(o=2,void(c=t+4)):void function(){for(o=7,c=ze(e,c);c<e.length;c++){let t=e.charCodeAt(c);switch(Ae(t)){case 41:return void c++;case ke:return c=ze(e,c),41===n(c)||c>=e.length?void(c<e.length&&c++):(c=Oe(e,c),void(o=8));case 34:case 39:case 40:case xe:return c=Oe(e,c),void(o=8);case 92:if(me(t,n(c+1))){c=Re(e,c)-1;break}return c=Oe(e,c),void(o=8)}}}()):40===n(c)?(o=2,void c++):void(o=1)}function i(t){for(t||(t=n(c++)),o=5;c<e.length;c++){let r=e.charCodeAt(c);switch(Ae(r)){case t:return void c++;case ke:if(de(r))return c+=Se(e,c,r),void(o=6);break;case 92:if(c===e.length-1)break;let a=n(c+1);de(a)?c+=Se(e,c+1,a):me(r,a)&&(c=Re(e,c)-1)}}}let o,l=(e=String(e||"")).length,s=be(n(0)),c=s;for(;c<l;){let l=e.charCodeAt(c);switch(Ae(l)){case ke:o=13,c=ze(e,c+1);break;case 34:i();break;case 35:ue(n(c+1))||me(n(c+1),n(c+2))?(o=4,c=Ie(e,c+1)):(o=9,c++);break;case 39:i();break;case 40:o=21,c++;break;case 41:o=22,c++;break;case 43:fe(l,n(c+1),n(c+2))?r():(o=9,c++);break;case 44:o=18,c++;break;case 45:fe(l,n(c+1),n(c+2))?r():45===n(c+1)&&62===n(c+2)?(o=15,c+=3):ge(l,n(c+1),n(c+2))?a():(o=9,c++);break;case 46:fe(l,n(c+1),n(c+2))?r():(o=9,c++);break;case 47:42===n(c+1)?(o=25,c=e.indexOf("*/",c+2),c=-1===c?e.length:c+2):(o=9,c++);break;case 58:o=16,c++;break;case 59:o=17,c++;break;case 60:33===n(c+1)&&45===n(c+2)&&45===n(c+3)?(o=14,c+=4):(o=9,c++);break;case 64:ge(n(c+1),n(c+2),n(c+3))?(o=3,c=Ie(e,c+1)):(o=9,c++);break;case 91:o=19,c++;break;case 92:me(l,n(c+1))?a():(o=9,c++);break;case 93:o=20,c++;break;case 123:o=23,c++;break;case 125:o=24,c++;break;case we:r();break;case ve:a();break;default:o=9,c++}t(o,s,s=c)}}var Ve=null,We=class{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return We.createItem(e)}allocateCursor(e,t){let n;return null!==Ve?(n=Ve,Ve=Ve.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Ve,Ve=e}updateCursors(e,t,n,r){let{cursor:a}=this;for(;null!==a;)a.prev===e&&(a.prev=t),a.next===n&&(a.next=r),a=a.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let n of e){let e=We.createItem(n);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;null!==n.next;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;null!==n.prev;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r,a=this.allocateCursor(null,this.head),i=t;for(;null!==a.next;)r=a.next,a.next=r.next,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r,a=this.allocateCursor(this.tail,null),i=t;for(;null!==a.prev;)r=a.prev,a.prev=r.prev,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(e,t=this){let n=new We;for(let r=this.head;null!==r;r=r.next)n.appendData(e.call(t,r.data,r,this));return n}filter(e,t=this){let n=new We;for(let r=this.head;null!==r;r=r.next)e.call(t,r.data,r,this)&&n.appendData(r.data);return n}nextUntil(e,t,n=this){if(null===e)return;let r=this.allocateCursor(null,e);for(;null!==r.next;){let e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(null===e)return;let r=this.allocateCursor(e,null);for(;null!==r.prev;){let e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let e=new We;for(let t of this)e.appendData(t);return e}prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(We.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(We.createItem(e))}insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,t){return this.insert(We.createItem(e),t)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(We.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(We.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};function $e(e,t){let n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}var Je=100,Qe=60,Ke=" ";function Ge({source:e,line:t,column:n},r){function a(e,t){return i.slice(e,t).map(((t,n)=>String(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+=(Ke.length-1)*(i[t-1].substr(0,n-1).match(/\t/g)||[]).length)>Je&&(c=n-Qe+3,n=Qe-2);for(let e=o;e<=l;e++)e>=0&&e<i.length&&(i[e]=i[e].replace(/\t/g,Ke),i[e]=(c>0&&i[e].length>c?"…":"")+i[e].substr(c,Je-2)+(i[e].length>c+Je-1?"…":""));return[a(o,t),new Array(n+s+2).join("-")+"^",a(t,l)].filter(Boolean).join("\n")}function Ye(e,t,n,r,a){return Object.assign($e("SyntaxError",e),{source:t,offset:n,line:r,column:a,sourceFragment:e=>Ge({source:t,line:r,column:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+Ge({source:t,line:r,column:a},2)}})}function Xe(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 Ze=()=>{},et=33,tt=35,nt=59,rt=123,at=0;function it(e){return function(){return this[e]()}}function ot(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 lt(e){let t="",n="<unknown>",r=!1,a=Ze,i=!1,o=new je,l=Object.assign(new qe,function(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:ot(e.atrule),pseudo:ot(e.pseudo),node:ot(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]=it(e.parseContext[n])}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Xe,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>e===rt?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>e===rt||e===nt?1:0,consumeUntilExclamationMarkOrSemicolon:e=>e===et||e===nt?1:0,consumeUntilSemicolonIncluded:e=>e===nt?2:0,createList:()=>new We,createSingleNodeList:e=>(new We).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!==at);return at},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,n)=>t.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>Ee(t,e,n),cmpStr:(e,n,r)=>Te(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,_e(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Ne[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(tt)&&(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<t.length?o.getLocation(n):this.eof?o.getLocation(function(e,t){for(;t>=0&&pe(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):o.getLocation(this.tokenStart);throw new Ye(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,s){t=e,s=s||{},l.setSource(t,He),o.setSource(t,s.offset,s.line,s.column),n=s.filename||"<unknown>",r=Boolean(s.positions),a="function"==typeof s.onParseError?s.onParseError:Ze,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=Te(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:Ye,config:l.config})}var st,ct,ut,ht=(st=O(),ct=1,ut=null!=st?w(C(st)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of A(t))!S.call(e,a)&&a!==n&&v(e,a,{get:()=>t[a],enumerable:!(r=x(t,a))||r.enumerable});return e})(!ct&&st&&st.__esModule?ut:v(ut,"default",{value:st,enumerable:!0}),st)),dt=new Set(["Atrule","Selector","Declaration"]);var pt={};T(pt,{safe:()=>kt,spec:()=>yt});var mt=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},gt=[[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],["/","*"]],ft=gt.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 bt(e){let t=new Set(e.map((([e,t])=>mt(e)<<16|mt(t))));return function(e,n,r){let a=mt(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 yt=bt(gt),kt=bt(ft),wt=92;function vt(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 xt(e){He(e,((t,n,r)=>{this.token(t,e.slice(n,r))}))}function At(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:kt,token(e,t){a=this.tokenBefore(a,e,t),this.emit(t,e,!1),9===e&&t.charCodeAt(0)===wt&&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 ht.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&&dt.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&&dt.has(e.type)&&(a.line=o,a.column=l)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)10===e.charCodeAt(t)?(o++,l=0):l++;u(e,t,n)};let h=e.result;return e.result=function(){return s&&t.addMapping(i),{css:h(),map:t}},e}(i)),n.mode in pt&&(i.tokenBefore=pt[n.mode]));let o={node:e=>i.node(e),children:vt,token:(e,t)=>i.token(e,t),tokenize:xt};return i.node(e),i.result()}}var{hasOwnProperty:Ct}=Object.prototype,St=function(){};function Et(e){return"function"==typeof e?e:St}function Tt(e,t){return function(n,r,a){n.type===t&&e.call(this,n,r,a)}}function zt(e,t){let n=t.structure,r=[];for(let e in n){if(!1===Ct.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 Lt(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 Rt({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 It(e){let t=function(e){let t={};for(let n in e.node)if(Ct.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]=zt(0,r)}return t}(e),n={},r={},a=Symbol("break-walk"),i=Symbol("skip-node");for(let e in t)Ct.call(t,e)&&null!==t[e]&&(n[e]=Lt(t[e],!1),r[e]=Lt(t[e],!0));let o=Rt(n),l=Rt(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=St,h=St,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=Et(s.enter),h=Et(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=Tt(u,s.visit),h=Tt(h,s.visit)}if(u===St&&h===St)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 _t(e){return e}function Ot(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=>Ot(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 Ot(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 Pt(e,t){let n=_t,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)),Ot(e,n,r,a)}var Nt={offset:0,line:1,column:1};function Mt(e,t){let n=e&&e.loc&&e.loc[t];return n?"line"in n?Dt(n):n:null}function Dt({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 jt=function(e,t){let n=$e("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Ft=function(e,t,n,r){let a=$e("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=i<a.length&&a[i].node||null,l=o!==t?o:null,s=0,c=0,u=0,h="";for(let e=0;e<a.length;e++){let t=a[e].value;e===i&&(c=t.length,s=h.length),null!==l&&a[e].node===l&&(e<=i?u++:u=0),h+=t}return i===a.length||u>1?(n=Mt(l||t,"end")||Dt(Nt,h),r=Dt(n)):(n=Mt(l,"start")||Dt(Mt(t,"start")||Nt,h.slice(0,s)),r=Mt(l,"end")||Dt(n,h.substr(s,c))),{css:h,mismatchOffset:s,mismatchLength:c,start:n,end:r}}(r,n);return a.rawMessage=e,a.syntax=t?Pt(t):"<generic>",a.css=i,a.mismatchOffset=o,a.mismatchLength=l,a.message=e+"\n syntax: "+a.syntax+"\n value: "+(i||"<empty string>")+"\n --------"+new Array(a.mismatchOffset+1).join("-")+"^",Object.assign(a,s),a.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:s,end:c},a},Ut=new Map,Bt=new Map,qt=45,Ht=function(e){if(Ut.has(e))return Ut.get(e);let t=e.toLowerCase(),n=Ut.get(t);if(void 0===n){let e=Wt(t,0),r=e?"":$t(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Ut.set(e,n),n},Vt=function(e){if(Bt.has(e))return Bt.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");let r=Wt(t,n.length);if(!r&&(t=t.toLowerCase(),Bt.has(t))){let n=Bt.get(t);return Bt.set(e,n),n}let a=r?"":$t(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 Bt.set(e,o),o};function Wt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===qt&&e.charCodeAt(t+1)===qt}function $t(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===qt&&e.charCodeAt(t+1)!==qt){let n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var Jt=["initial","inherit","unset","revert","revert-layer"],Qt=43,Kt=45,Gt=!0;function Yt(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function Xt(e,t,n){for(;null!==e&&(13===e.type||25===e.type);)e=n(++t);return t}function Zt(e,t,n,r){if(!e)return 0;let a=e.value.charCodeAt(t);if(a===Qt||a===Kt){if(n)return 0;t++}for(;t<e.value.length;t++)if(!oe(e.value.charCodeAt(t)))return 0;return r+1}function en(e,t,n){let r=!1,a=Xt(e,t,n);if(null===(e=n(a)))return t;if(10!==e.type){if(!Yt(e,Qt)&&!Yt(e,Kt))return t;if(r=!0,a=Xt(n(++a),a,n),null===(e=n(a))||10!==e.type)return 0}if(!r){let t=e.value.charCodeAt(0);if(t!==Qt&&t!==Kt)return 0}return Zt(e,r?0:1,r,a)}var tn=45,nn=63;function rn(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function an(e,t,n){let r=0;for(let a=t;a<e.value.length;a++){let i=e.value.charCodeAt(a);if(i===tn&&n&&0!==r)return an(e,t+r+1,!1),6;if(!le(i)||++r>6)return 0}return r}function on(e,t,n){if(!e)return 0;for(;rn(n(t),nn);){if(++e>6)return 0;t++}return t}var ln=["calc(","-moz-calc(","-webkit-calc("],sn=new Map([[2,22],[21,22],[19,20],[23,24]]);function cn(e,t){return t<e.length?e.charCodeAt(t):0}function un(e,t){return Te(e,0,e.length,t)}function hn(e,t){for(let n=0;n<t.length;n++)if(un(e,t[n]))return!0;return!1}function dn(e,t){return t===e.length-2&&(92===cn(e,t)&&oe(cn(e,t+1)))}function pn(e,t,n){if(e&&"Range"===e.type){let r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||null!==e.min&&r<e.min&&"string"!=typeof e.min||null!==e.max&&r>e.max&&"string"!=typeof e.max)return!0}return!1}function mn(e){return function(t,n,r){return null===t?0:2===t.type&&hn(t.value,ln)?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=sn.get(e.type)}a++}while(e=t(a));return a}(t,n):e(t,n,r)}}function gn(e){return function(t){return null===t||t.type!==e?0:1}}function fn(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||12!==t.type)return 0;let a=_e(t.value,0);if(null!==e){let n=t.value.indexOf("\\",a),r=-1!==n&&dn(t.value,n)?t.value.substring(a,n):t.value.substr(a);if(!1===e.has(r.toLowerCase()))return 0}return pn(r,t.value,a)?0:1}}function bn(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 yn={"ident-token":gn(1),"function-token":gn(2),"at-keyword-token":gn(3),"hash-token":gn(4),"string-token":gn(5),"bad-string-token":gn(6),"url-token":gn(7),"bad-url-token":gn(8),"delim-token":gn(9),"number-token":gn(10),"percentage-token":gn(11),"dimension-token":gn(12),"whitespace-token":gn(13),"CDO-token":gn(14),"CDC-token":gn(15),"colon-token":gn(16),"semicolon-token":gn(17),"comma-token":gn(18),"[-token":gn(19),"]-token":gn(20),"(-token":gn(21),")-token":gn(22),"{-token":gn(23),"}-token":gn(24)},kn={string:gn(5),ident:gn(1),percentage:mn((function(e,t,n){return null===e||11!==e.type||pn(n,e.value,e.value.length-1)?0:1})),zero:bn(),number:mn((function(e,t,n){if(null===e)return 0;let r=_e(e.value,0);return r!==e.value.length&&!dn(e.value,r)||pn(n,e.value,r)?0:1})),integer:mn((function(e,t,n){if(null===e||10!==e.type)return 0;let r=43===cn(e.value,0)||45===cn(e.value,0)?1:0;for(;r<e.value.length;r++)if(!oe(cn(e.value,r)))return 0;return pn(n,e.value,r)?0:1})),"custom-ident":function(e){if(null===e||1!==e.type)return 0;let t=e.value.toLowerCase();return hn(t,Jt)||un(t,"default")?0:1},"custom-property-name":function(e){return null===e||1!==e.type||45!==cn(e.value,0)||45!==cn(e.value,1)?0:1},"hex-color":function(e){if(null===e||4!==e.type)return 0;let t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(let n=1;n<t;n++)if(!le(cn(e.value,n)))return 0;return 1},"id-selector":function(e){return null!==e&&4===e.type&&ge(cn(e.value,1),cn(e.value,2),cn(e.value,3))?1:0},"an-plus-b":function(e,t){let n=0;if(!e)return 0;if(10===e.type)return Zt(e,0,false,n);if(1===e.type&&e.value.charCodeAt(0)===Kt){if(!Ee(e.value,1,110))return 0;switch(e.value.length){case 2:return en(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Kt?0:(n=Xt(t(++n),n,t),Zt(e=t(n),0,Gt,n));default:return e.value.charCodeAt(2)!==Kt?0:Zt(e,3,Gt,n)}}else if(1===e.type||Yt(e,Qt)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!Ee(e.value,0,110))return 0;switch(e.value.length){case 1:return en(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Kt?0:(n=Xt(t(++n),n,t),Zt(e=t(n),0,Gt,n));default:return e.value.charCodeAt(1)!==Kt?0:Zt(e,2,Gt,n)}}else if(12===e.type){let r=e.value.charCodeAt(0),a=r===Qt||r===Kt?1:0,i=a;for(;i<e.value.length&&oe(e.value.charCodeAt(i));i++);return i!==a&&Ee(e.value,i,110)?i+1===e.value.length?en(t(++n),n,t):e.value.charCodeAt(i+1)!==Kt?0:i+2===e.value.length?(n=Xt(t(++n),n,t),Zt(e=t(n),0,Gt,n)):Zt(e,i+2,Gt,n):0}return 0},urange:function(e,t){let n=0;if(null===e||1!==e.type||!Ee(e.value,0,117)||null===(e=t(++n)))return 0;if(rn(e,43))return null===(e=t(++n))?0:1===e.type?on(an(e,0,!0),++n,t):rn(e,nn)?on(1,++n,t):0;if(10===e.type){let r=an(e,1,!0);return 0===r?0:null===(e=t(++n))?n:12===e.type||10===e.type?function(e,t){return e.value.charCodeAt(0)===t}(e,tn)&&an(e,1,!1)?n+1:0:on(r,n,t)}return 12===e.type?on(an(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;let n=0,r=[],a=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 17:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case 21:case 19:case 23:r.push(n),n=sn.get(e.type)}a++}while(e=t(a));return a},"any-value":function(e,t){if(!e)return 0;let n=0,r=[],a=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==n)break e;n=r.pop();break;case 2:case 21:case 19:case 23:r.push(n),n=sn.get(e.type)}a++}while(e=t(a));return a}};function wn(e){let{angle:t,decibel:n,frequency:r,flex:a,length:i,resolution:o,semitones:l,time:s}=e||{};return{dimension:mn(fn(null)),angle:mn(fn(t)),decibel:mn(fn(n)),frequency:mn(fn(r)),flex:mn(fn(a)),length:mn(bn(fn(i))),resolution:mn(fn(o)),semitones:mn(fn(l)),time:mn(fn(s))}}var vn={};T(vn,{angle:()=>An,decibel:()=>zn,flex:()=>Tn,frequency:()=>Sn,length:()=>xn,resolution:()=>En,semitones:()=>Ln,time:()=>Cn});var xn=["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"],An=["deg","grad","rad","turn"],Cn=["s","ms"],Sn=["hz","khz"],En=["dpi","dpcm","dppx","x"],Tn=["fr"],zn=["db"],Ln=["st"];function Rn(e,t,n){return Object.assign($e("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}T({},{SyntaxError:()=>Rn,generate:()=>Pt,parse:()=>fr,walk:()=>kr});var In=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new Rn(e,this.str,this.pos)}},_n=9,On=10,Pn=12,Nn=13,Mn=32,Dn=33,jn=35,Fn=38,Un=39,Bn=40,qn=41,Hn=42,Vn=43,Wn=44,$n=45,Jn=60,Qn=62,Kn=63,Gn=64,Yn=91,Xn=93,Zn=123,er=124,tr=125,nr=8734,rr=new Uint8Array(128).map(((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0)),ar={" ":1,"&&":2,"||":3,"|":4};function ir(e){return e.substringToPos(e.findWsEnd(e.pos))}function or(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n>=128||0===rr[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function lr(e){let t=e.pos;for(;t<e.str.length;t++){let n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function sr(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 cr(e){let t=null,n=null;return e.eat(Zn),t=lr(e),e.charCode()===Wn?(e.pos++,e.charCode()!==tr&&(n=lr(e))):n=t,e.eat(tr),{min:Number(t),max:n?Number(n):0}}function ur(e,t){let n=function(e){let t=null,n=!1;switch(e.charCode()){case Hn:e.pos++,t={min:0,max:0};break;case Vn:e.pos++,t={min:1,max:0};break;case Kn:e.pos++,t={min:0,max:1};break;case jn:e.pos++,n=!0,e.charCode()===Zn?t=cr(e):e.charCode()===Kn?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Zn:t=cr(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()===jn&&e.charCodeAt(e.pos-1)===Vn?ur(e,n):n):t}function hr(e){let t=e.peek();return""===t?null:{type:"Token",value:t}}function dr(e){let t,n=null;return e.eat(Jn),t=or(e),e.charCode()===Bn&&e.nextCharCode()===qn&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Yn&&(ir(e),n=function(e){let t=null,n=null,r=1;return e.eat(Yn),e.charCode()===$n&&(e.peek(),r=-1),-1==r&&e.charCode()===nr?e.peek():(t=r*Number(lr(e)),0!==rr[e.charCode()]&&(t+=or(e))),ir(e),e.eat(Wn),ir(e),e.charCode()===nr?e.peek():(r=1,e.charCode()===$n&&(e.peek(),r=-1),n=r*Number(lr(e)),0!==rr[e.charCode()]&&(n+=or(e))),e.eat(Xn),{type:"Range",min:t,max:n}}(e)),e.eat(Qn),ur(e,{type:"Type",name:t,opts:n})}function pr(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)=>ar[e]-ar[t]));t.length>0;){r=t.shift();let a=0,i=0;for(;a<e.length;a++){let t=e[a];"Combinator"===t.type&&(t.value===r?(-1===i&&(i=a-1),e.splice(a,1),a--):(-1!==i&&a-i>1&&(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 mr(e){let t,n=[],r={},a=null,i=e.pos;for(;t=gr(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:pr(n,r)||" ",disallowEmpty:!1,explicit:!1}}function gr(e){let t=e.charCode();if(t<128&&1===rr[t])return function(e){let t=or(e);return e.charCode()===Bn?(e.pos++,{type:"Function",name:t}):ur(e,{type:"Keyword",name:t})}(e);switch(t){case Xn:break;case Yn:return ur(e,function(e){let t;return e.eat(Yn),t=mr(e),e.eat(Xn),t.explicit=!0,e.charCode()===Dn&&(e.pos++,t.disallowEmpty=!0),t}(e));case Jn:return e.nextCharCode()===Un?function(e){let t;return e.eat(Jn),e.eat(Un),t=or(e),e.eat(Un),e.eat(Qn),ur(e,{type:"Property",name:t})}(e):dr(e);case er:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===er?2:1))};case Fn:return e.pos++,e.eat(Fn),{type:"Combinator",value:"&&"};case Wn:return e.pos++,{type:"Comma"};case Un:return ur(e,{type:"String",value:sr(e)});case Mn:case _n:case On:case Nn:case Pn:return{type:"Spaces",value:ir(e)};case Gn:return t=e.nextCharCode(),t<128&&1===rr[t]?(e.pos++,{type:"AtKeyword",name:or(e)}):hr(e);case Hn:case Vn:case Kn:case jn:case Dn:break;case Zn:if(t=e.nextCharCode(),t<48||t>57)return hr(e);break;default:return hr(e)}}function fr(e){let t=new In(e),n=mr(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var br=function(){};function yr(e){return"function"==typeof e?e:br}function kr(e,t,n){let r=br,a=br;if("function"==typeof t?r=t:t&&(r=yr(t.enter),a=yr(t.leave)),r===br&&a===br)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 wr={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 vr(e,t){return"string"==typeof e?function(e){let t=[];return He(e,((n,r,a)=>t.push({type:n,value:e.slice(r,a),node:null}))),t}(e):t.generate(e,wr)}var xr={type:"Match"},Ar={type:"Mismatch"},Cr={type:"DisallowEmpty"},Sr=40,Er=41;function Tr(e,t,n){return t===xr&&n===Ar||e===xr&&t===xr&&n===xr?e:("If"===e.type&&e.else===Ar&&t===xr&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function zr(e){return e.length>2&&e.charCodeAt(e.length-2)===Sr&&e.charCodeAt(e.length-1)===Er}function Lr(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&zr(e.name)}function Rr(e,t,n){switch(e){case" ":{let e=xr;for(let n=t.length-1;n>=0;n--){e=Tr(t[n],e,Ar)}return e}case"|":{let e=Ar,n=null;for(let r=t.length-1;r>=0;r--){let a=t[r];if(Lr(a)&&(null===n&&r>0&&Lr(t[r-1])&&(n=Object.create(null),e=Tr({type:"Enum",map:n},xr,e)),null!==n)){let e=(zr(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(e in n)){n[e]=a;continue}}n=null,e=Tr(a,xr,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Ar;for(let r=t.length-1;r>=0;r--){let a,i=t[r];a=t.length>1?Rr(e,t.filter((function(e){return e!==i})),!1):xr,n=Tr(i,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?xr:Ar;for(let n=t.length-1;n>=0;n--){let a,i=t[n];a=t.length>1?Rr(e,t.filter((function(e){return e!==i})),!0):xr,r=Tr(i,a,r)}return r}}}function Ir(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Rr(e.combinator,e.terms.map(Ir),!1);return e.disallowEmpty&&(t=Tr(t,Cr,Ar)),t}case"Multiplier":return function(e){let t=xr,n=Ir(e.term);if(0===e.max)n=Tr(n,Cr,Ar),t=Tr(n,null,Ar),t.then=Tr(xr,xr,t),e.comma&&(t.then.else=Tr({type:"Comma",syntax:e},t,Ar));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==xr&&(t=Tr({type:"Comma",syntax:e},t,Ar)),t=Tr(n,Tr(xr,xr,t),Ar);if(0===e.min)t=Tr(xr,xr,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==xr&&(t=Tr({type:"Comma",syntax:e},t,Ar)),t=Tr(n,t,Ar);return t}(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function _r(e,t){return"string"==typeof e&&(e=fr(e)),{type:"MatchGraph",match:Ir(e),syntax:t||null,source:e}}var{hasOwnProperty:Or}=Object.prototype,Pr=0,Nr=1,Mr=2,Dr=3,jr="Match",Fr="Mismatch",Ur="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Br=15e3;function qr(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=t.charCodeAt(n),a=e.charCodeAt(n);if(a>=65&&a<=90&&(a|=32),a!==r)return!1}return!0}function Hr(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 Vr(e){return null===e||(22===e.type||20===e.type||24===e.type||9===e.type&&"/"===e.value)}function Wr(e,t,n){let r=function(e,t,n){function r(){do{b++,f=b<e.length?e[b]:null}while(null!==f&&(13===f.type||25===f.type))}function a(t){let n=b+t;return n<e.length?e[n]:null}function i(e,t){return{nextState:e,matchStack:k,syntaxStack:u,thenStack:h,tokenIndex:b,prev:t}}function o(e){h={nextState:e,matchStack:k,syntaxStack:u,prev:h}}function l(e){d=i(e,d)}function s(){k={type:Nr,syntax:t.syntax,token:f,prev:k},r(),p=null,b>y&&(y=b)}function c(){k=k.type===Mr?k.prev:{type:Dr,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:Pr,syntax:null,token:null,prev:null};for(r();null===g&&++m<Br;)switch(t.type){case"Match":if(null===h){if(null!==f&&(b!==e.length-1||"\\0"!==f.value&&"\\9"!==f.value)){t=Ar;break}g=jr;break}if((t=h.nextState)===Cr){if(h.matchStack===k){t=Ar;break}t=xr}for(;h.syntaxStack!==u;)c();h=h.prev;break;case"Mismatch":if(null!==p&&!1!==p)(null===d||b>d.tokenIndex)&&(d=p,p=!1);else if(null===d){g=Fr;break}t=d.nextState,h=d.thenStack,u=d.syntaxStack,k=d.matchStack,b=d.tokenIndex,f=b<e.length?e[b]:null,d=d.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Ar&&l(t.else),t.then!==xr&&o(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let e=t.syntax.terms;if(t.index===e.length){if(0===t.mask||t.syntax.all){t=Ar;break}t=xr;break}if(t.mask===(1<<e.length)-1){t=xr;break}for(;t.index<e.length;t.index++){let n=1<<t.index;if(0==(t.mask&n)){l(t),o({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==f){let e=f.value.toLowerCase();if(-1!==e.indexOf("\\")&&(e=e.replace(/\\[09].*$/,"")),Or.call(t.map,e)){t=t.map[e];break}}t=Ar;break;case"Generic":{let e=null!==u?u.opts:null,n=b+Math.floor(t.fn(f,a,e));if(!isNaN(n)&&n>b){for(;b<n;)s();t=xr}else t=Ar;break}case"Type":case"Property":{let e="Type"===t.type?"types":"properties",r=Or.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+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=Ar;break}u={syntax:t.syntax,opts:t.syntax.opts||null!==u&&u.opts||null,prev:u},k={type:Mr,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].*$/,"")),qr(n,e)){s(),t=xr;break}}t=Ar;break}case"AtKeyword":case"Function":if(null!==f&&qr(f.value,t.name)){s(),t=xr;break}t=Ar;break;case"Token":if(null!==f&&f.value===t.value){s(),t=xr;break}t=Ar;break;case"Comma":null!==f&&18===f.type?Hr(k.token)?t=Ar:(s(),t=Vr(f)?Ar:xr):t=Hr(k.token)||Vr(f)?xr:Ar;break;case"String":let r="",m=b;for(;m<e.length&&r.length<t.value.length;m++)r+=e[m].value;if(qr(r,t.value)){for(;b<m;)s();t=xr}else t=Ar;break;default:throw new Error("Unknown node type: "+t.type)}switch(g){case null:console.warn("[csstree-match] BREAK after "+Br+" iterations"),g=Ur,k=null;break;case jr:for(;null!==u;)c();break;default:k=null}return{tokens:e,reason:g,iterations:m,match:k,longestMatch:y}}(e,t,n||{});if(null===r.match)return r;let a=r.match,i=r.match={syntax:t.syntax||null,match:[]},o=[i];for(a=function(e){let t=null,n=null,r=e;for(;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}(a).prev;null!==a;){switch(a.type){case Mr:i.match.push(i={syntax:a.syntax,match:[]}),o.push(i);break;case Dr:o.pop(),i=o[o.length-1];break;default:i.match.push({syntax:a.syntax||null,token:a.token.value,node:a.token.node})}a=a.prev}return r}var $r={};function Jr(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}let n=null;return null!==this.matched&&function r(a){if(Array.isArray(a.match)){for(let e=0;e<a.match.length;e++)if(r(a.match[e]))return t(a.syntax)&&n.unshift(a.syntax),!0}else if(a.node===e)return n=t(a.syntax)?[a.syntax]:[],!0;return!1}(this.matched),n}function Qr(e,t){return Yr(this,e,(e=>"Type"===e.type&&e.name===t))}function Kr(e,t){return Yr(this,e,(e=>"Property"===e.type&&e.name===t))}function Gr(e){return Yr(this,e,(e=>"Keyword"===e.type))}function Yr(e,t,n){let r=Jr.call(e,t);return null!==r&&r.some(n)}function Xr(e){return"node"in e?e.node:Xr(e.match[0])}function Zr(e){return"node"in e?e.node:Zr(e.match[e.match.length-1])}function ea(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=Xr(o),r=Zr(o);e.syntax.walk(t,(function(e,t,a){if(e===n){let e=new We;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}T($r,{getTrace:()=>Jr,isKeyword:()=>Gr,isProperty:()=>Kr,isType:()=>Qr});var{hasOwnProperty:ta}=Object.prototype;function na(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function ra(e){return Boolean(e)&&na(e.offset)&&na(e.line)&&na(e.column)}function aa(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!==ta.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(ra(n.loc.start)){if(ra(n.loc.end))continue;a+=".end"}else a+=".start";i=!1}else if(t.hasOwnProperty(a)){i=!1;for(let e=0;!i&&e<t[a].length;e++){let r=t[a][e];switch(r){case String:i="string"==typeof n[a];break;case Boolean:i="boolean"==typeof n[a];break;case null:i=null===n[a];break;default:"string"==typeof r?i=n[a]&&n[a].type===r:Array.isArray(r)&&(i=n[a]instanceof We)}}}else r(n,"Unknown field `"+a+"` for "+e+" node type");i||r(n,"Bad value for `"+e+"."+a+"`")}}for(let a in t)ta.call(t,a)&&!1===ta.call(n,a)&&r(n,"Field `"+e+"."+a+"` is missed")}}function ia(e,t){let n=t.structure,r={type:String,loc:!0},a={type:'"'+e+'"'};for(let t in n){if(!1===ta.call(n,t))continue;let i=[],o=r[t]=Array.isArray(n[t])?n[t].slice():[n[t]];for(let n=0;n<o.length;n++){let r=o[n];if(r===String||r===Boolean)i.push(r.name);else if(null===r)i.push("null");else if("string"==typeof r)i.push("<"+r+">");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:aa(e,r)}}var oa=_r(Jt.join(" | "));function la(e,t,n){let r={};for(let a in e)e[a].syntax&&(r[a]=n?e[a].syntax:Pt(e[a].syntax,{compact:t}));return r}function sa(e,t,n){let r={};for(let[a,i]of Object.entries(e))r[a]={prelude:i.prelude&&(n?i.prelude.syntax:Pt(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&la(i.descriptors,t,n)};return r}function ca(e,t,n){return{matched:e,iterations:n,error:t,...$r}}function ua(e,t,n,r){let a,i=vr(n,e.syntax);return function(e){for(let t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(i)?ca(null,new Error("Matching for a tree with var() is not supported")):(r&&(a=Wr(i,e.cssWideKeywordsSyntax,e)),r&&a.match||(a=Wr(i,t.match,e),a.match)?ca(a.match,null,a.iterations):ca(null,new Ft(a.reason,t.syntax,n,a),a.iterations))}var ha=class{constructor(e,t,n){if(this.cssWideKeywordsSyntax=oa,this.syntax=t,this.generic=!1,this.units={...vn},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||function(e){let t={};if(e.node)for(let n in e.node)if(ta.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]=ia(n,r)}return t}(e),e){if(e.units)for(let t of Object.keys(vn))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(let t in e.types)this.addType_(t,e.types[t]);if(e.generic){this.generic=!0;for(let[e,t]of Object.entries(function(e){return{...yn,...kn,...wn(e)}}(this.units)))this.addType_(e,t)}if(e.atrules)for(let t in e.atrules)this.addAtrule_(t,e.atrules[t]);if(e.properties)for(let t in e.properties)this.addProperty_(t,e.properties[t])}}checkStructure(e){function t(e,t){r.push({node:e,message:t})}let n=this.structure,r=[];return this.syntax.walk(e,(function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")})),!!r.length&&r}createDescriptor(e,t,n,r=null){let a={type:t,name:n},i={type:t,name:n,parent:r,serializable:"string"==typeof e||e&&"string"==typeof e.type,syntax:null,match:null};return"function"==typeof e?i.match=_r(e,a):("string"==typeof e?Object.defineProperty(i,"syntax",{get:()=>(Object.defineProperty(i,"syntax",{value:fr(e)}),i.syntax)}):i.syntax=e,Object.defineProperty(i,"match",{get:()=>(Object.defineProperty(i,"match",{value:_r(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 jt("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||ua(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=Ht(t);return r.descriptors?r.descriptors[a.name]||r.descriptors[a.basename]?void 0:new jt("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new jt("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return ca(null,n);let r=this.getAtrule(e);return r.prelude?ua(this,r.prelude,t||"",!1):ca(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return ca(null,r);let a=this.getAtrule(e),i=Ht(t);return ua(this,a.descriptors[i.name]||a.descriptors[i.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?ca(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(Vt(e).custom)return ca(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?ca(null,n):ua(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?ua(this,n,t,!1):ca(null,new jt("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?(("string"==typeof e||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),ua(this,e,t,!1)):ca(null,new jt("Bad syntax"))}findValueFragments(e,t,n,r){return ea(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return ea(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=Ht(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=Vt(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&&kr(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:la(this.types,!t,e),properties:la(this.properties,!t,e),atrules:sa(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function da(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function pa(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 ma(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?da(i.prelude,t.prelude):i.prelude||null;for(let[e,n]of Object.entries(t.descriptors||{}))i.descriptors[e]=n?da(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]=da(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],...pa(a,["parse"])};break;case"node":n[r]={...e[r],...pa(a,["name","structure","parse","generate","walkContext"])}}return n}function ga(e){let t=lt(e),n=It(e),r=At(e),{fromPlainObject:a,toPlainObject:i}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&!(e.children instanceof We)&&(e.children=(new We).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof We&&(e.children=e.children.toArray())}}),t)}}(n),o={lexer:null,createLexer:e=>new ha(e,o,o.lexer.structure),tokenize:He,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:a,toPlainObject:i,fork(t){let n=ma({},e);return ga("function"==typeof t?t(n,Object.assign):ma(n,t))}};return o.lexer=new ha({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},o),o}var fa={};T(fa,{AnPlusB:()=>ba,Atrule:()=>Ia,AtrulePrelude:()=>Fa,AttributeSelector:()=>Wa,Block:()=>ai,Brackets:()=>gi,CDC:()=>wi,CDO:()=>Si,ClassSelector:()=>Ri,Combinator:()=>Mi,Comment:()=>Wi,Declaration:()=>Xi,DeclarationList:()=>bo,Dimension:()=>Co,Function:()=>Lo,Hash:()=>No,IdSelector:()=>$o,Identifier:()=>Bo,MediaFeature:()=>Yo,MediaQuery:()=>nl,MediaQueryList:()=>ll,NestingSelector:()=>dl,Nth:()=>yl,Number:()=>Al,Operator:()=>zl,Parentheses:()=>Ol,Percentage:()=>jl,PseudoClassSelector:()=>Hl,PseudoElementSelector:()=>Kl,Ratio:()=>ts,Raw:()=>cs,Rule:()=>gs,Selector:()=>As,SelectorList:()=>zs,String:()=>Ps,StyleSheet:()=>Vs,TypeSelector:()=>Xs,UnicodeRange:()=>oc,Url:()=>yc,Value:()=>Ic,WhiteSpace:()=>Mc});var ba={};T(ba,{generate:()=>Ra,name:()=>Ta,parse:()=>La,structure:()=>za});var ya=43,ka=45,wa=110,va=!0,xa=!1;function Aa(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===ya||r===ka)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)oe(this.charCodeAt(n))||this.error("Integer is expected",n)}function Ca(e){return Aa.call(this,0,e)}function Sa(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case wa:n="N is expected";break;case ka:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Ea(){let e=0,t=0,n=this.tokenType;for(;13===n||25===n;)n=this.lookupType(++e);if(10!==n){if(!this.isDelim(ya,e)&&!this.isDelim(ka,e))return null;t=this.isDelim(ya,e)?ya:ka;do{n=this.lookupType(++e)}while(13===n||25===n);10!==n&&(this.skip(e),Ca.call(this,va))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==ya&&n!==ka&&this.error("Number sign is expected")),Ca.call(this,0!==t),t===ka?"-"+this.consume(10):this.consume(10)}var Ta="AnPlusB",za={a:[String,null],b:[String,null]};function La(){let e=this.tokenStart,t=null,n=null;if(10===this.tokenType)Ca.call(this,xa),n=this.consume(10);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,ka))switch(t="-1",Sa.call(this,1,wa),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Ea.call(this);break;case 3:Sa.call(this,2,ka),this.next(),this.skipSC(),Ca.call(this,va),n="-"+this.consume(10);break;default:Sa.call(this,2,ka),Aa.call(this,3,va),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(ya)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(ya)&&(r=1,this.next()),Sa.call(this,0,wa),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Ea.call(this);break;case 2:Sa.call(this,1,ka),this.next(),this.skipSC(),Ca.call(this,va),n="-"+this.consume(10);break;default:Sa.call(this,1,ka),Aa.call(this,2,va),this.next(),n=this.substrToCursor(e+r+1)}}else if(12===this.tokenType){let r=this.charCodeAt(this.tokenStart),a=r===ya||r===ka,i=this.tokenStart+a;for(;i<this.tokenEnd&&oe(this.charCodeAt(i));i++);i===this.tokenStart+a&&this.error("Integer is expected",this.tokenStart+a),Sa.call(this,i-this.tokenStart,wa),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=Ea.call(this)):(Sa.call(this,i-this.tokenStart+1,ka),i+2===this.tokenEnd?(this.next(),this.skipSC(),Ca.call(this,va),n="-"+this.consume(10)):(Aa.call(this,i-this.tokenStart+2,va),this.next(),n=this.substrToCursor(i+1)))}else this.error();return null!==t&&t.charCodeAt(0)===ya&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===ya&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Ra(e){if(e.a){let t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){let n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}var Ia={};function _a(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Oa(){for(let e,t=1;e=this.lookupType(t);t++){if(24===e)return!0;if(23===e||3===e)return!1}return!1}T(Ia,{generate:()=>ja,name:()=>Pa,parse:()=>Da,structure:()=>Ma,walkContext:()=>Na});var Pa="Atrule",Na="atrule",Ma={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Da(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),_a):_a.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(Oa.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:t,prelude:a,block:i}}function ja(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var Fa={};T(Fa,{generate:()=>Va,name:()=>Ua,parse:()=>Ha,structure:()=>qa,walkContext:()=>Ba});var Ua="AtrulePrelude",Ba="atrulePrelude",qa={children:[[]]};function Ha(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 Va(e){this.children(e)}var Wa={};T(Wa,{generate:()=>ri,name:()=>ei,parse:()=>ni,structure:()=>ti});var $a=36,Ja=42,Qa=61,Ka=94,Ga=124,Ya=126;function Xa(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Ja)?(t=!0,this.next()):this.isDelim(Ga)||this.eat(1),this.isDelim(Ga)?this.charCodeAt(this.tokenStart+1)!==Qa?(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 Za(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Qa&&t!==Ya&&t!==Ka&&t!==$a&&t!==Ja&&t!==Ga&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Qa&&(this.isDelim(Qa)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var ei="AttributeSelector",ti={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function ni(){let e,t=this.tokenStart,n=null,r=null,a=null;return this.eat(19),this.skipSC(),e=Xa.call(this),this.skipSC(),20!==this.tokenType&&(1!==this.tokenType&&(n=Za.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 ri(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 ai={};T(ai,{generate:()=>mi,name:()=>ui,parse:()=>pi,structure:()=>di,walkContext:()=>hi});var ii=38;function oi(e){return this.Raw(e,null,!0)}function li(){return this.parseWithFallback(this.Rule,oi)}function si(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function ci(){if(17===this.tokenType)return si.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,si);return 17===this.tokenType&&this.next(),e}var ui="Block",hi="block",di={children:[["Atrule","Rule","Declaration"]]};function pi(e){let t=e?ci:li,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),oi));break;default:e&&this.isDelim(ii)?r.push(li.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function mi(e){this.token(23,"{"),this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")})),this.token(24,"}")}var gi={};T(gi,{generate:()=>ki,name:()=>fi,parse:()=>yi,structure:()=>bi});var fi="Brackets",bi={children:[[]]};function yi(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 ki(e){this.token(9,"["),this.children(e),this.token(9,"]")}var wi={};T(wi,{generate:()=>Ci,name:()=>vi,parse:()=>Ai,structure:()=>xi});var vi="CDC",xi=[];function Ai(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Ci(){this.token(15,"--\x3e")}var Si={};T(Si,{generate:()=>Li,name:()=>Ei,parse:()=>zi,structure:()=>Ti});var Ei="CDO",Ti=[];function zi(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Li(){this.token(14,"\x3c!--")}var Ri={};T(Ri,{generate:()=>Ni,name:()=>_i,parse:()=>Pi,structure:()=>Oi});var Ii=46,_i="ClassSelector",Oi={name:String};function Pi(){return this.eatDelim(Ii),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Ni(e){this.token(9,"."),this.token(1,e.name)}var Mi={};T(Mi,{generate:()=>Vi,name:()=>Bi,parse:()=>Hi,structure:()=>qi});var Di=43,ji=47,Fi=62,Ui=126,Bi="Combinator",qi={name:String};function Hi(){let e,t=this.tokenStart;switch(this.tokenType){case 13:e=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case Fi:case Di:case Ui:this.next();break;case ji:this.next(),this.eatIdent("deep"),this.eatDelim(ji);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function Vi(e){this.tokenize(e.name)}var Wi={};T(Wi,{generate:()=>Yi,name:()=>Qi,parse:()=>Gi,structure:()=>Ki});var $i=42,Ji=47,Qi="Comment",Ki={value:String};function Gi(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===$i&&this.charCodeAt(t-1)===Ji&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Yi(e){this.token(25,"/*"+e.value+"*/")}var Xi={};T(Xi,{generate:()=>mo,name:()=>co,parse:()=>po,structure:()=>ho,walkContext:()=>uo});var Zi=33,eo=35,to=36,no=38,ro=42,ao=43,io=47;function oo(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function lo(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function so(){let e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&17!==this.tokenType&&!1===this.isDelim(Zi)&&!1===this.isBalanceEdge(e)&&this.error(),t}var co="Declaration",uo="declaration",ho={important:[Boolean,String],property:String,value:["Value","Raw"]};function po(){let e,t=this.tokenStart,n=this.tokenIndex,r=go.call(this),a=Wt(r),i=a?this.parseCustomProperty:this.parseValue,o=a?lo:oo,l=!1;this.skipSC(),this.eat(16);let s=this.tokenIndex;if(a||this.skipSC(),e=i?this.parseWithFallback(so,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(Zi)&&(l=fo.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 mo(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 go(){let e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case ro:case to:case ao:case eo:case no:this.next();break;case io:this.next(),this.isDelim(io)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function fo(){this.eat(9),this.skipSC();let e=this.consume(1);return"important"===e||e}var bo={};T(bo,{generate:()=>Ao,name:()=>wo,parse:()=>xo,structure:()=>vo});var yo=38;function ko(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var wo="DeclarationList",vo={children:[["Declaration","Atrule","Rule"]]};function xo(){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),ko));break;default:this.isDelim(yo)?e.push(this.parseWithFallback(this.Rule,ko)):e.push(this.parseWithFallback(this.Declaration,ko))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Ao(e){this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")}))}var Co={};T(Co,{generate:()=>zo,name:()=>So,parse:()=>To,structure:()=>Eo});var So="Dimension",Eo={value:String,unit:String};function To(){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 zo(e){this.token(12,e.value+e.unit)}var Lo={};T(Lo,{generate:()=>Po,name:()=>Ro,parse:()=>Oo,structure:()=>_o,walkContext:()=>Io});var Ro="Function",Io="function",_o={name:String,children:[[]]};function Oo(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 Po(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var No={};T(No,{generate:()=>Uo,name:()=>Do,parse:()=>Fo,structure:()=>jo,xxx:()=>Mo});var Mo="XXX",Do="Hash",jo={value:String};function Fo(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Uo(e){this.token(4,"#"+e.value)}var Bo={};T(Bo,{generate:()=>Wo,name:()=>qo,parse:()=>Vo,structure:()=>Ho});var qo="Identifier",Ho={name:String};function Vo(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Wo(e){this.token(1,e.name)}var $o={};T($o,{generate:()=>Go,name:()=>Jo,parse:()=>Ko,structure:()=>Qo});var Jo="IdSelector",Qo={name:String};function Ko(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Go(e){this.token(9,"#"+e.name)}var Yo={};T(Yo,{generate:()=>tl,name:()=>Xo,parse:()=>el,structure:()=>Zo});var Xo="MediaFeature",Zo={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function el(){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 tl(e){this.token(21,"("),this.token(1,e.name),null!==e.value&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var nl={};T(nl,{generate:()=>ol,name:()=>rl,parse:()=>il,structure:()=>al});var rl="MediaQuery",al={children:[["Identifier","MediaFeature","WhiteSpace"]]};function il(){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 ol(e){this.children(e)}var ll={};T(ll,{generate:()=>hl,name:()=>sl,parse:()=>ul,structure:()=>cl});var sl="MediaQueryList",cl={children:[["MediaQuery"]]};function ul(){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 hl(e){this.children(e,(()=>this.token(18,",")))}var dl={};T(dl,{generate:()=>bl,name:()=>ml,parse:()=>fl,structure:()=>gl});var pl=38,ml="NestingSelector",gl={};function fl(){let e=this.tokenStart;return this.eatDelim(pl),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function bl(){this.token(9,"&")}var yl={};T(yl,{generate:()=>xl,name:()=>kl,parse:()=>vl,structure:()=>wl});var kl="Nth",wl={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function vl(){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 xl(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))}var Al={};T(Al,{generate:()=>Tl,name:()=>Cl,parse:()=>El,structure:()=>Sl});var Cl="Number",Sl={value:String};function El(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function Tl(e){this.token(10,e.value)}var zl={};T(zl,{generate:()=>_l,name:()=>Ll,parse:()=>Il,structure:()=>Rl});var Ll="Operator",Rl={value:String};function Il(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function _l(e){this.tokenize(e.value)}var Ol={};T(Ol,{generate:()=>Dl,name:()=>Pl,parse:()=>Ml,structure:()=>Nl});var Pl="Parentheses",Nl={children:[[]]};function Ml(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 Dl(e){this.token(21,"("),this.children(e),this.token(22,")")}var jl={};T(jl,{generate:()=>ql,name:()=>Fl,parse:()=>Bl,structure:()=>Ul});var Fl="Percentage",Ul={value:String};function Bl(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function ql(e){this.token(11,e.value+"%")}var Hl={};T(Hl,{generate:()=>Ql,name:()=>Vl,parse:()=>Jl,structure:()=>$l,walkContext:()=>Wl});var Vl="PseudoClassSelector",Wl="function",$l={name:String,children:[["Raw"],null]};function Jl(){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 Ql(e){this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Kl={};T(Kl,{generate:()=>es,name:()=>Gl,parse:()=>Zl,structure:()=>Xl,walkContext:()=>Yl});var Gl="PseudoElementSelector",Yl="function",Xl={name:String,children:[["Raw"],null]};function Zl(){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 es(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 ts={};T(ts,{generate:()=>ss,name:()=>is,parse:()=>ls,structure:()=>os});var ns=47,rs=46;function as(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!oe(n)&&n!==rs&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var is="Ratio",os={left:String,right:String};function ls(){let e,t=this.tokenStart,n=as.call(this);return this.skipSC(),this.eatDelim(ns),e=as.call(this),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:n,right:e}}function ss(e){this.token(10,e.left),this.token(9,"/"),this.token(10,e.right)}var cs={};function us(){return this.tokenIndex>0&&13===this.lookupType(-1)?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}T(cs,{generate:()=>ms,name:()=>hs,parse:()=>ps,structure:()=>ds});var hs="Raw",ds={value:String};function ps(e,t,n){let r,a=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>a?us.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(a,r),value:this.substring(a,r)}}function ms(e){this.tokenize(e.value)}var gs={};function fs(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function bs(){let e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&23!==this.tokenType&&this.error(),e}T(gs,{generate:()=>xs,name:()=>ys,parse:()=>vs,structure:()=>ws,walkContext:()=>ks});var ys="Rule",ks="rule",ws={prelude:["SelectorList","Raw"],block:["Block"]};function vs(){let e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(bs,fs):fs.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function xs(e){this.node(e.prelude),this.node(e.block)}var As={};T(As,{generate:()=>Ts,name:()=>Cs,parse:()=>Es,structure:()=>Ss});var Cs="Selector",Ss={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function Es(){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 Ts(e){this.children(e)}var zs={};T(zs,{generate:()=>Os,name:()=>Ls,parse:()=>_s,structure:()=>Is,walkContext:()=>Rs});var Ls="SelectorList",Rs="selector",Is={children:[["Selector","Raw"]]};function _s(){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 Os(e){this.children(e,(()=>this.token(18,",")))}var Ps={};T(Ps,{generate:()=>Hs,name:()=>Us,parse:()=>qs,structure:()=>Bs});T({},{decode:()=>js,encode:()=>Fs});var Ns=92,Ms=34,Ds=39;function js(e){let t=e.length,n=e.charCodeAt(0),r=n===Ms||n===Ds?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===Ns){if(n===a){n!==t-1&&(i=e.substr(n+1));break}if(r=e.charCodeAt(++n),me(Ns,r)){let t=n-1,r=Re(e,t);n=r-1,i+=Pe(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else i+=e[n]}return i}function Fs(e,t){let n=t?"'":'"',r=t?Ds:Ms,a="",i=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);0!==n?n<=31||127===n?(a+="\\"+n.toString(16),i=!0):n===r||n===Ns?(a+="\\"+e.charAt(t),i=!1):(i&&(le(n)||pe(n))&&(a+=" "),a+=e.charAt(t),i=!1):a+="�"}return n+a+n}var Us="String",Bs={value:String};function qs(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:js(this.consume(5))}}function Hs(e){this.token(5,Fs(e.value))}var Vs={};T(Vs,{generate:()=>Ys,name:()=>Js,parse:()=>Gs,structure:()=>Ks,walkContext:()=>Qs});var Ws=33;function $s(e){return this.Raw(e,null,!1)}var Js="StyleSheet",Qs="stylesheet",Ks={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Gs(){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)!==Ws){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,$s);break;default:e=this.parseWithFallback(this.Rule,$s)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function Ys(e){this.children(e)}var Xs={};T(Xs,{generate:()=>ic,name:()=>nc,parse:()=>ac,structure:()=>rc});var Zs=42,ec=124;function tc(){1!==this.tokenType&&!1===this.isDelim(Zs)&&this.error("Identifier or asterisk is expected"),this.next()}var nc="TypeSelector",rc={name:String};function ac(){let e=this.tokenStart;return this.isDelim(ec)?(this.next(),tc.call(this)):(tc.call(this),this.isDelim(ec)&&(this.next(),tc.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ic(e){this.tokenize(e.name)}var oc={};T(oc,{generate:()=>bc,name:()=>mc,parse:()=>fc,structure:()=>gc});var lc=43,sc=45,cc=63;function uc(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let a=this.charCodeAt(r);if(a===sc&&t&&0!==n)return uc.call(this,e+n+1,!1),-1;le(a)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function hc(e){let t=0;for(;this.isDelim(cc);)++t>e&&this.error("Too many question marks"),this.next()}function dc(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===lc?"Plus sign":"Hyphen minus")+" is expected")}function pc(){let e=0;switch(this.tokenType){case 10:if(e=uc.call(this,1,!0),this.isDelim(cc)){hc.call(this,6-e);break}if(12===this.tokenType||10===this.tokenType){dc.call(this,sc),uc.call(this,1,!1);break}break;case 12:e=uc.call(this,1,!0),e>0&&hc.call(this,6-e);break;default:if(this.eatDelim(lc),1===this.tokenType){e=uc.call(this,0,!0),e>0&&hc.call(this,6-e);break}if(this.isDelim(cc)){this.next(),hc.call(this,5);break}this.error("Hex digit or question mark is expected")}}var mc="UnicodeRange",gc={value:String};function fc(){let e=this.tokenStart;return this.eatIdent("u"),pc.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function bc(e){this.tokenize(e.value)}var yc={};T(yc,{generate:()=>Rc,name:()=>Tc,parse:()=>Lc,structure:()=>zc});T({},{decode:()=>Sc,encode:()=>Ec});var kc=32,wc=92,vc=34,xc=39,Ac=40,Cc=41;function Sc(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===Cc?t-2:t-1,a="";for(;n<r&&pe(e.charCodeAt(n));)n++;for(;n<r&&pe(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let n=e.charCodeAt(i);if(n===wc){if(i===r){i!==t-1&&(a=e.substr(i+1));break}if(n=e.charCodeAt(++i),me(wc,n)){let t=i-1,n=Re(e,t);i=n-1,a+=Pe(e.substring(t+1,n))}else 13===n&&10===e.charCodeAt(i+1)&&i++}else a+=e[i]}return a}function Ec(e){let t="",n=!1;for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);0!==a?a<=31||127===a?(t+="\\"+a.toString(16),n=!0):a===kc||a===wc||a===vc||a===xc||a===Ac||a===Cc?(t+="\\"+e.charAt(r),n=!1):(n&&le(a)&&(t+=" "),t+=e.charAt(r),n=!1):t+="�"}return"url("+t+")"}var Tc="Url",zc={value:String};function Lc(){let e,t=this.tokenStart;switch(this.tokenType){case 7:e=Sc(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),e=js(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}}function Rc(e){this.token(7,Ec(e.value))}var Ic={};T(Ic,{generate:()=>Nc,name:()=>_c,parse:()=>Pc,structure:()=>Oc});var _c="Value",Oc={children:[[]]};function Pc(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Nc(e){this.children(e)}var Mc={};T(Mc,{generate:()=>Bc,name:()=>jc,parse:()=>Uc,structure:()=>Fc});var Dc=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),jc="WhiteSpace",Fc={value:String};function Uc(){return this.eat(13),Dc}function Bc(e){this.token(13,e.value)}var qc={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( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","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( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",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":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","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":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","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":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","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-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>|scroll( <axis>? <scroller>? )","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|vertical|horizontal]#","scroll-timeline-name":"none|<custom-ident>#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}},nest:{prelude:"<complex-selector-list>",descriptors:null}},node:fa},Hc={};T(Hc,{AtrulePrelude:()=>Wc,Selector:()=>$c,Value:()=>Qc});function Vc(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:{let e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var Wc={getNode:Vc};var $c={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return 16===this.lookupType(1)?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}}}};function Jc(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var Qc={getNode:Vc,onWhiteSpace(e,t){Jc(e)&&(e.value=" "+e.value),Jc(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))},var:function(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),18===this.tokenType){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(13===this.lookupType(e)){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},Kc={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return(1===this.lookupNonWSType(0)||21===this.lookupNonWSType(0))&&e.push(this.MediaQueryList()),e},block:null}},Gc={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}};function Yc(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Xc(){return this.skipSC(),1===this.tokenType&&16===this.lookupNonWSType(1)?this.createSingleNodeList(this.Declaration()):Zc.call(this)}function Zc(){let e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:e=this.Function(Yc,this.scope.AtrulePrelude);break;case 1:e=this.Identifier();break;case 21:e=this.Parentheses(Xc,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var eu={parse:{prelude(){let e=Zc.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}},tu={"font-face":{parse:{prelude:null,block(){return this.Block(!0)}}},import:Kc,media:Gc,nest:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},page:{parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},supports:eu},nu={parse(){return this.createSingleNodeList(this.SelectorList())}},ru={parse(){return this.createSingleNodeList(this.Selector())}},au={parse(){return this.createSingleNodeList(this.Identifier())}},iu={parse(){return this.createSingleNodeList(this.Nth())}},ou={dir:au,has:nu,lang:au,matches:nu,is:nu,"-moz-any":nu,"-webkit-any":nu,where:nu,not:nu,"nth-child":iu,"nth-last-child":iu,"nth-last-of-type":iu,"nth-of-type":iu,slotted:ru,host:ru,"host-context":ru},lu={};T(lu,{AnPlusB:()=>La,Atrule:()=>Da,AtrulePrelude:()=>Ha,AttributeSelector:()=>ni,Block:()=>pi,Brackets:()=>yi,CDC:()=>Ai,CDO:()=>zi,ClassSelector:()=>Pi,Combinator:()=>Hi,Comment:()=>Gi,Declaration:()=>po,DeclarationList:()=>xo,Dimension:()=>To,Function:()=>Oo,Hash:()=>Fo,IdSelector:()=>Ko,Identifier:()=>Vo,MediaFeature:()=>el,MediaQuery:()=>il,MediaQueryList:()=>ul,NestingSelector:()=>fl,Nth:()=>vl,Number:()=>El,Operator:()=>Il,Parentheses:()=>Ml,Percentage:()=>Bl,PseudoClassSelector:()=>Jl,PseudoElementSelector:()=>Zl,Ratio:()=>ls,Raw:()=>ps,Rule:()=>vs,Selector:()=>Es,SelectorList:()=>_s,String:()=>qs,StyleSheet:()=>Gs,TypeSelector:()=>ac,UnicodeRange:()=>fc,Url:()=>Lc,Value:()=>Pc,WhiteSpace:()=>Uc});var su={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:Hc,atrule:tu,pseudo:ou,node:lu},cu=(e=>ga(ma({},e)))({...qc,...su,...{node:fa}});T({},{decode:()=>hu,encode:()=>du});var uu=92;function hu(e){let t=e.length-1,n="";for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);if(a===uu){if(r===t)break;if(a=e.charCodeAt(++r),me(uu,a)){let t=r-1,a=Re(e,t);r=a-1,n+=Pe(e.substring(t+1,a))}else 13===a&&10===e.charCodeAt(r+1)&&r++}else n+=e[r]}return n}function du(e){let t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);0!==r?r<=31||127===r||r>=48&&r<=57&&(0===n||1===n&&45===e.charCodeAt(0))?t+="\\"+r.toString(16)+" ":ue(r)?t+=e.charAt(n):t+="\\"+e.charAt(n):t+="�"}return t}var{tokenize:pu,parse:mu,generate:gu,lexer:fu,createLexer:bu,walk:yu,find:ku,findLast:wu,findAll:vu,toPlainObject:xu,fromPlainObject:Au,fork:Cu}=cu;const Su=/^'(.*?)'$/,Eu=/^"(.*?)"$/,Tu=["inherit","initial","unset"],zu=["caption","icon","menu","message-box","small-caption","status-bar"],Lu=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],Ru=["normal","italic","oblique"],Iu=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"],_u="[parse-css-font] ";function Ou(e){return new Error(_u+e)}function Pu(e){return(e=e.match(Su)?e.replace(Su,"$1"):e.replace(Eu,"$1")).trim()}function Nu(e,t=0){const n=[{mode:"normal",character:null}],r=[];let a=0,i="",o=null,l=null,s=t,c=e;"("===e[0]&&")"===e[e.length-1]&&(c=e.substring(1,e.length-1),s++);for(let e=0;e<c.length;e++){const t=c[e];if("'"!==t&&'"'!==t||(!0===n[a].isCalculationEnabled?(n.push({mode:"string",isCalculationEnabled:!1,character:t}),a++):"string"===n[a].mode&&n[a].character===t&&"\\"!==c[e-1]&&(n.pop(),a--)),"{"===t?(n.push({mode:"interpolation",isCalculationEnabled:!0}),a++):"}"===t&&(n.pop(),a--),"normal"===n[a].mode&&":"===t){const t=c.substring(e+1);l={type:"value",before:/^(\s*)/.exec(t)[1],after:/(\s*)$/.exec(t)[1],value:t.trim()},l.sourceIndex=l.before.length+e+1+s,o={type:"colon",sourceIndex:e+s,after:l.before,value:":"};break}i+=t}return i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()},i.sourceIndex=i.before.length+s,r.push(i),null!==o&&(o.before=i.after,r.push(o)),null!==l&&r.push(l),r}function Mu(e,t=0){const n=[];let r,a=0,i=!1;r={before:"",after:"",value:""};for(let o=0;o<e.length;o++){const l=e[o];i?(r.value+=l,"{"!==l&&"("!==l||a++,")"!==l&&"}"!==l||a--):-1!==l.search(/\s/)?r.before+=l:("("===l&&(r.type="media-feature-expression",a++),r.value=l,r.sourceIndex=t+o,i=!0),!i||0!==a||")"!==l&&o!==e.length-1&&-1===e[o+1].search(/\s/)||(-1!==["not","only","and"].indexOf(r.value)&&(r.type="keyword"),"media-feature-expression"===r.type&&(r.nodes=Nu(r.value,r.sourceIndex)),n.push(Array.isArray(r.nodes)?new Du(r):new ju(r)),r={before:"",after:"",value:""},i=!1)}for(let e=0;e<n.length;e++)if(r=n[e],e>0&&(n[e-1].after=r.before),void 0===r.type){if(e>0){if("media-feature-expression"===n[e-1].type){r.type="keyword";continue}if("not"===n[e-1].value||"only"===n[e-1].value){r.type="media-type";continue}if("and"===n[e-1].value){r.type="media-feature-expression";continue}"media-type"===n[e-1].type&&(n[e+1]?r.type="media-feature-expression"===n[e+1].type?"keyword":"media-feature-expression":r.type="media-feature-expression")}if(0===e){if(!n[e+1]){r.type="media-type";continue}if(n[e+1]&&("media-feature-expression"===n[e+1].type||"keyword"===n[e+1].type)){r.type="media-type";continue}if(n[e+2]){if("media-feature-expression"===n[e+2].type){r.type="media-type",n[e+1].type="keyword";continue}if("keyword"===n[e+2].type){r.type="keyword",n[e+1].type="media-type";continue}}if(n[e+3]&&"media-feature-expression"===n[e+3].type){r.type="keyword",n[e+1].type="media-type",n[e+2].type="keyword";continue}}}return n}function Du(e){this.constructor(e),this.nodes=e.nodes,void 0===this.after&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),void 0===this.before&&(this.before=this.nodes.length>0?this.nodes[0].before:""),void 0===this.sourceIndex&&(this.sourceIndex=this.before.length),this.nodes.forEach((e=>{e.parent=this}))}function ju(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}Du.prototype=Object.create(ju.prototype),Du.constructor=ju,Du.prototype.walk=function(e,t){const n="string"==typeof e||e instanceof RegExp,r=n?t:e,a="string"==typeof e?new RegExp(e):e;for(let i=0;i<this.nodes.length;i++){const o=this.nodes[i];if((!n||a.test(o.type))&&r&&!1===r(o,i,this.nodes))return!1;if(o.nodes&&!1===o.walk(e,t))return!1}return!0},Du.prototype.each=function(e=(()=>{})){for(let t=0;t<this.nodes.length;t++){if(!1===e(this.nodes[t],t,this.nodes))return!1}return!0};const Fu="___PRESERVED_TOKEN_",Uu={maxLineLen:0,expandVars:!1,uglyComments:!1,cuteComments:!1,debug:!1,output:""},Bu=/url\(\s*(["']?)data:/g,qu=/\s+/g,Hu=/\n/g;const Vu=/(=\s*?["']?)?#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])(\}|[^0-9a-f{][^{]*?\})/gi;const Wu=/@[a-z0-9-_]*keyframes\s+[a-z0-9-_]+\s*{/gi,$u=/(^\s|\s$)/g;const Ju=/"([^\\"])*"/g,Qu=/"(\\.)*"/g,Ku=/"(\\)*"/g,Gu=/'([^\\']|\\.|\\)*'/g,Yu=/progid:DXImageTransform.Microsoft.Alpha\(Opacity=/gi,Xu=/\r\n/g,Zu=/[\r\n]/g,eh=/@variables\s*\{\s*([^}]+)\s*\}/g,th=/\s*([a-z0-9-]+)\s*:\s*([^;}]+)\s*/gi,nh=/var\s*\(\s*([^)]+)\s*\)/g,rh=/calc\(([^;}]*)\)/g,ah=/(^\s*|\s*$)/g,ih=/\( /g,oh=/ \)/g,lh=/\s*filter:\s*progid:DXImageTransform.Microsoft.Matrix\(([^)]+)\);/g,sh=/(^|\})(([^{:])+:)+([^{]*{)/g,ch=/\s+([!{;:>+()\],])/g,uh=/([^\\])\s+([}])/g,hh=/!important/g,dh=/___PSEUDOCLASSCOLON___/g,ph=/:/g,mh=/\s*(animation|animation-delay|animation-duration|transition|transition-delay|transition-duration):\s*([^;}]+)/gi,gh=/(^|\D)0?\.?0(m?s)/gi,fh=/\s*(flex|flex-basis):\s*([^;}]+)/gi,bh=/\s+/,yh=/(hsla?)\(([^)]+)\)/g,kh=/(^\s+|\s+$)/g,wh=/:first-(line|letter)(\{|,)/gi,vh=/^(.*)(@charset)( "[^"]*";)/gi,xh=/^((\s*)(@charset)( [^;]+;\s*))+/gi,Ah=/@(font-face|import|(?:-(?:atsc|khtml|moz|ms|o|wap|webkit)-)?keyframe|media|page|namespace)/gi,Ch=/:(active|after|before|checked|disabled|empty|enabled|first-(?:child|of-type)|focus|hover|last-(?:child|of-type)|link|only-(?:child|of-type)|root|:selection|target|visited)/gi,Sh=/^(.*)(@charset "[^"]*";)/g,Eh=/^(\s*@charset [^;]+;\s*)+/g,Th=/:(lang|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|(?:-(?:atsc|khtml|moz|ms|o|wap|webkit)-)?any)\(/gi,zh=/([:,( ]\s*)(attr|color-stop|from|rgba|to|url|(?:-(?:atsc|khtml|moz|ms|o|wap|webkit)-)?(?:calc|max|min|(?:repeating-)?(?:linear|radial)-gradient)|-webkit-gradient)/gi,Lh=/\s*\/\*/g,Rh=/\*\/\s*/g,Ih=/\band\(/gi,_h=/([^:])not\(/gi,Oh=/\bor\(/gi,Ph=/([!{}:;>+([,])\s+/g,Nh=/;+\}/g,Mh=/([0-9])\.0(ex|ch|r?em|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|g?rad|turn|m?s|k?Hz|dpi|dpcm|dppx|%| |;)/gi,Dh=/:0 0 0 0(;|\})/g,jh=/:0 0 0(;|\})/g,Fh=/(transform-origin|webkit-transform-origin|moz-transform-origin|o-transform-origin|ms-transform-origin|box-shadow):0(;|\})/gi,Uh=/(:|\s)0+\.(\d+)/g,Bh=/rgb\s*\(\s*([0-9,\s]+)\s*\)/gi,qh=/(border|border-top|border-right|border-bottom|border-left|outline|background):none(;|\})/gi,Hh=/progid:DXImageTransform\.Microsoft\.Alpha\(Opacity=/gi,Vh=/\(([-A-Za-z]+):([0-9]+)\/([0-9]+)\)/g,Wh=/___QUERY_FRACTION___/g,$h=/;;+/g,Jh=/(:|\s)(#f00)(;|})/g,Qh=/___PRESERVED_NEWLINE___/g,Kh=/(:|\s)(#000080)(;|})/g,Gh=/(:|\s)(#808080)(;|})/g,Yh=/(:|\s)(#808000)(;|})/g,Xh=/(:|\s)(#800080)(;|})/g,Zh=/(:|\s)(#c0c0c0)(;|})/g,ed=/(:|\s)(#008080)(;|})/g,td=/(:|\s)(#ffa500)(;|})/g,nd=/(:|\s)(#800000)(;|})/g;function rd(e="",t=Uu){const n=[],r=[];let a;const i=e;function o(t){e=e.replace(t,(e=>{const t=e.substring(0,1);if((e=e.slice(1,-1)).indexOf("___PRESERVE_CANDIDATE_COMMENT_")>=0)for(let t=0,r=n.length;t<r;t+=1)e=e.replace("___PRESERVE_CANDIDATE_COMMENT_"+t+"___",n[t]);return e=e.replace(Yu,"alpha(opacity="),r.push(e),t+Fu+(r.length-1)+"___"+t}))}e=function(e,t){const n=Bu,r=e.length-1,a=[];let i,o=0;for(;null!==(i=n.exec(e));){const l=i.index+4;let s=i[1];0===s.length&&(s=")");let c=!1,u=n.lastIndex-1;for(;!1===c&&u+1<=r&&-1!=u;)u=e.indexOf(s,u+1),u>0&&"\\"!==e.charAt(u-1)&&(c=!0,")"!=s&&(u=e.indexOf(")",u)));if(a.push(e.substring(o,i.index)),c){let n=e.substring(l,u);const r=n.split(",");r.length>1&&";base64"==r[0].slice(-7)?n=n.replace(qu,""):(n=n.replace(Hu," "),n=n.replace(qu," "),n=n.replace(kh,"")),t.push(n);const i="url("+Fu+(t.length-1)+"___)";a.push(i),o=u+1}else a.push(e.substring(i.index,n.lastIndex)),o=n.lastIndex}return a.push(e.substring(o)),a.join("")}(e,r),e=function(e,t){const n=[];let r,a=0;for(;;){const i=e.indexOf("/*",a);if(!(i>-1))break;if(r=e.indexOf("*/",i+2),!(r>-1)){r=-2;break}t.push(e.slice(i+2,r)),n.push(e.slice(a,i)),n.push("/*___PRESERVE_CANDIDATE_COMMENT_"+(t.length-1)+"___*/"),a=r+2}return n.push(e.slice(r+2)),n.join("")}(e,n),o(Ju),o(Qu),o(Ku),o(Gu);for(let a=0,i=n.length;a<i;a+=1){const i=n[a],o="___PRESERVE_CANDIDATE_COMMENT_"+a+"___";if("!"!==i.charAt(0))if("\\"!==i.charAt(i.length-1)){if(0===i.length){const t=e.indexOf(o);t>2&&">"===e.charAt(t-3)&&(r.push(""),e=e.replace(o,Fu+(r.length-1)+"___"))}e=e.replace(`/*${o}*/`,"")}else r.push("\\"),e=e.replace(o,Fu+(r.length-1)+"___"),a+=1,r.push(""),e=e.replace("___PRESERVE_CANDIDATE_COMMENT_"+a+"___",Fu+(r.length-1)+"___");else t.cuteComments?r.push(i.substring(1).replace(Xu,"\n")):t.uglyComments?r.push(i.substring(1).replace(Zu,"")):r.push(i),e=e.replace(o,Fu+(r.length-1)+"___")}if(t.expandVars){const t={};a=eh,e=e.replace(a,((e,n)=>(a=th,n.replace(a,((e,n,r)=>(n&&r&&(t[n]=r),""))),""))),a=nh,e=e.replace(a,((e,n)=>t[n]||"none"))}e=e.replace(qu," "),a=rh,e=e.replace(a,((e,t)=>(r.push("calc("+t.replace(ah,"").replace(ih,"(").replace(oh,")")+")"),Fu+(r.length-1)+"___"))),a=lh,e=e.replace(a,((e,t)=>(r.push(t),"filter:progid:DXImageTransform.Microsoft.Matrix("+Fu+(r.length-1)+"___);")));try{a=sh,e=e.replace(a,(e=>e.replace(ph,"___PSEUDOCLASSCOLON___")))}catch(e){}if(e=(e=(e=(e=e.replace(ch,"$1")).replace(uh,"$1$2")).replace(hh," !important")).replace(dh,":"),a=mh,e=e.replace(a,((e,t,n)=>t+":"+(n=n.replace(gh,((e,t,n)=>(r.push("0"+n),t+Fu+(r.length-1)+"___")))))),a=fh,e=function(e,t){const n=Wu;let r,a=0;const i=(e,n)=>{"0"===(e=e.replace($u,"")).charAt(0)&&(t.push(e),r[n]=Fu+(t.length-1)+"___")};for(;;){let t=0;r="";let o=e.slice(a).search(n);if(o<0)break;a+=o,o=a;const l=e.length,s=[];for(;a<l;++a){const n=e.charAt(a);if("{"===n)0===t?s.push(r.replace($u,"")):1===t&&(r=r.split(","),r.forEach(i),s.push(r.join(",").replace($u,""))),r="",t+=1;else if("}"===n){if(2===t)s.push("{"+r.replace($u,"")+"}"),r="";else if(1===t){e=e.slice(0,o)+s.shift()+"{"+s.join("")+e.slice(a);break}t-=1}if(t<0)break;"{"!==n&&"}"!==n&&(r+=n)}}return e}(e=(e=e.replace(a,((e,t,n)=>{let a=n.split(bh);return r.push(a.pop()),a.push(Fu+(r.length-1)+"___"),a=a.join(" "),`${t}:${a}`}))).replace(yh,((e,t,n)=>{const a=[];return n.split(",").forEach((e=>{"0%"===(e=e.replace(kh,""))?(r.push("0%"),a.push(Fu+(r.length-1)+"___")):a.push(e)})),t+"("+a.join(",")+")"})),r),e=e.replace(wh,((e,t,n)=>":first-"+t.toLowerCase()+" "+n)),e=t.cuteComments?(e=e.replace(Lh,"___PRESERVED_NEWLINE___/*")).replace(Rh,"*/___PRESERVED_NEWLINE___"):e.replace(Rh,"*/"),a=vh,e=e.replace(a,((e,t,n,r)=>n.toLowerCase()+r+t)),a=xh,e=e.replace(a,((e,t,n,r,a)=>n+r.toLowerCase()+a)),a=Ah,e=e.replace(a,((e,t)=>"@"+t.toLowerCase())),a=Ch,e=(e=(e=e.replace(a,((e,t)=>":"+t.toLowerCase()))).replace(Sh,"$2$1")).replace(Eh,"$1"),a=Th,e=e.replace(a,((e,t)=>":"+t.toLowerCase()+"(")),a=zh,e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(a,((e,t,n)=>t+n.toLowerCase()))).replace(Ih,"and (")).replace(_h,"$1not (")).replace(Oh,"or (")).replace(Ph,"$1")).replace(Nh,"}")).replace(Mh,"$1$2")).replace(Dh,":0$1")).replace(jh,":0$1"),a=Fh,e=(e=e.replace(a,((e,t,n)=>t.toLowerCase()+":0 0"+n))).replace(Uh,"$1.$2"),a=Bh,e=function(e){const t=Vu,n=[];let r,a=0;for(;null!==(r=t.exec(e));)n.push(e.substring(a,r.index)),r[1]?n.push(r[1]+"#"+(r[2]+r[3]+r[4]+r[5]+r[6]+r[7])):r[2].toLowerCase()==r[3].toLowerCase()&&r[4].toLowerCase()==r[5].toLowerCase()&&r[6].toLowerCase()==r[7].toLowerCase()?n.push("#"+(r[3]+r[5]+r[7]).toLowerCase()):n.push("#"+(r[2]+r[3]+r[4]+r[5]+r[6]+r[7]).toLowerCase()),a=t.lastIndex=t.lastIndex-r[8].length;return n.push(e.substring(a)),n.join("")}(e=e.replace(a,((e,t)=>{const n=t.split(",");let r="#";for(let e=0;e<n.length;e+=1){let t=parseInt(n[e],10);t<16&&(r+="0"),t>255&&(t=255),r+=t.toString(16)}return r}))),e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(Jh,"$1red$3")).replace(Kh,"$1navy$3")).replace(Gh,"$1gray$3")).replace(Yh,"$1olive$3")).replace(Xh,"$1purple$3")).replace(Zh,"$1silver$3")).replace(ed,"$1teal$3")).replace(td,"$1orange$3")).replace(nd,"$1maroon$3"),a=qh,e=(e=(e=(e=e.replace(a,((e,t,n)=>t.toLowerCase()+":0"+n))).replace(Hh,"alpha(opacity=")).replace(Vh,"($1:$2___QUERY_FRACTION___$3)")).replace(Wh,"/"),t.maxLineLen>0){const n=[];let r=[];for(let a=0,i=e.length;a<i;a+=1){const i=e.charAt(a);r.push(i),"}"===i&&r.length>t.maxLineLen&&(n.push(r.join("")),r=[])}r.length&&n.push(r.join("")),e=n.join("\n")}if(e=(e=e.replace($h,";")).replace(ah,""),r.length>1e3)return i;for(let t=r.length-1;t>=0;t--)e=e.replace(Fu+t+"___",r[t],"g");return e=e.replace(Qh,"\n")}const ad="[\\x20\\t\\r\\n\\f]",id=new RegExp("\\\\([\\da-f]{1,6}"+ad+"?|("+ad+")|.)","ig");function od(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){let n;const r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}const r=e.length,a=/^[ \t\n\r\u000c]+/,i=/^[, \t\n\r\u000c]+/,o=/^[^ \t\n\r\u000c]+/,l=/[,]+$/,s=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;let u,h,d,p,m,g=0;const f=[];for(;;){if(n(i),g>=r)return f;u=n(o),h=[],","===u.slice(-1)?(u=u.replace(l,""),y()):b()}function b(){for(n(a),d="",p="in descriptor";;){if(m=e.charAt(g),"in descriptor"===p)if(t(m))d&&(h.push(d),d="",p="after descriptor");else{if(","===m)return g+=1,d&&h.push(d),void y();if("("===m)d+=m,p="in parens";else{if(""===m)return d&&h.push(d),void y();d+=m}}else if("in parens"===p)if(")"===m)d+=m,p="in descriptor";else{if(""===m)return h.push(d),void y();d+=m}else if("after descriptor"===p)if(t(m));else{if(""===m)return void y();p="in descriptor",g-=1}g+=1}}function y(){let t,n,r,a,i,o,l,d,p,m=!1;const g={};for(a=0;a<h.length;a++)i=h[a],o=i[i.length-1],l=i.substring(0,i.length-1),d=parseInt(l,10),p=parseFloat(l),s.test(l)&&"w"===o?((t||n)&&(m=!0),0===d?m=!0:t=d):c.test(l)&&"x"===o?((t||n||r)&&(m=!0),p<0?m=!0:n=p):s.test(l)&&"h"===o?((r||n)&&(m=!0),0===d?m=!0:r=d):m=!0;m?console&&console.log&&console.log('Invalid srcset descriptor found in "'+e+'" at "'+i+'".'):(g.url=u,t&&(g.w=t),n&&(g.d=n),r&&(g.h=r),f.push(g))}}let ld,sd,cd,ud;ld={},ld.removeLeadingAndTrailingHTTPWhitespace=e=>e.replace(/^[ \t\n\r]+/,"").replace(/[ \t\n\r]+$/,""),ld.removeTrailingHTTPWhitespace=e=>e.replace(/[ \t\n\r]+$/,""),ld.isHTTPWhitespaceChar=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,ld.solelyContainsHTTPTokenCodePoints=e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/.test(e),ld.soleyContainsHTTPQuotedStringTokenCodePoints=e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/.test(e),ld.asciiLowercase=e=>e.replace(/[A-Z]/g,(e=>e.toLowerCase())),ld.collectAnHTTPQuotedString=(e,t)=>{let n="";for(t++;;){for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)n+=e[t],++t;if(t>=e.length)break;const r=e[t];if(++t,"\\"!==r)break;if(t>=e.length){n+="\\";break}n+=e[t],++t}return[n,t]};{const{solelyContainsHTTPTokenCodePoints:e}=ld;cd=t=>{let n=`${t.type}/${t.subtype}`;if(0===t.parameters.size)return n;for(let[r,a]of t.parameters)n+=";",n+=r,n+="=",e(a)&&0!==a.length||(a=a.replace(/(["\\])/g,"\\$1"),a=`"${a}"`),n+=a;return n}}{const{removeLeadingAndTrailingHTTPWhitespace:e,removeTrailingHTTPWhitespace:t,isHTTPWhitespaceChar:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:a,asciiLowercase:i,collectAnHTTPQuotedString:o}=ld;sd=l=>{l=e(l);let s=0,c="";for(;s<l.length&&"/"!==l[s];)c+=l[s],++s;if(0===c.length||!r(c))return null;if(s>=l.length)return null;++s;let u="";for(;s<l.length&&";"!==l[s];)u+=l[s],++s;if(u=t(u),0===u.length||!r(u))return null;const h={type:i(c),subtype:i(u),parameters:new Map};for(;s<l.length;){for(++s;n(l[s]);)++s;let e="";for(;s<l.length&&";"!==l[s]&&"="!==l[s];)e+=l[s],++s;if(e=i(e),s<l.length){if(";"===l[s])continue;++s}let c=null;if('"'===l[s])for([c,s]=o(l,s);s<l.length&&";"!==l[s];)++s;else{for(c="";s<l.length&&";"!==l[s];)c+=l[s],++s;if(c=t(c),""===c)continue}e.length>0&&r(e)&&a(c)&&!h.parameters.has(e)&&h.parameters.set(e,c)}return h}}{const e=sd,t=cd,{asciiLowercase:n,solelyContainsHTTPTokenCodePoints:r,soleyContainsHTTPQuotedStringTokenCodePoints:a}=ld;ud=class{constructor(t){t=String(t);const n=e(t);if(null===n)throw new Error(`Could not parse MIME type string "${t}"`);this._type=n.type,this._subtype=n.subtype,this._parameters=new i(n.parameters)}static parse(e){try{return new this(e)}catch(e){return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){if(0===(e=n(String(e))).length)throw new Error("Invalid type: must be a non-empty string");if(!r(e))throw new Error(`Invalid type ${e}: must contain only HTTP token code points`);this._type=e}get subtype(){return this._subtype}set subtype(e){if(0===(e=n(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string");if(!r(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`);this._subtype=e}get parameters(){return this._parameters}toString(){return t(this)}isJavaScript({allowParameters:e=!1}={}){switch(this._type){case"text":switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":return e||0===this._parameters.size;default:return!1}case"application":switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":return e||0===this._parameters.size;default:return!1}default:return!1}}isXML(){return"xml"===this._subtype&&("text"===this._type||"application"===this._type)||this._subtype.endsWith("+xml")}isHTML(){return"html"===this._subtype&&"text"===this._type}};class i{constructor(e){this._map=e}get size(){return this._map.size}get(e){return e=n(String(e)),this._map.get(e)}has(e){return e=n(String(e)),this._map.has(e)}set(e,t){if(e=n(String(e)),t=String(t),!r(e))throw new Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`);if(!a(t))throw new Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`);return this._map.set(e,t)}clear(){this._map.clear()}delete(e){return e=n(String(e)),this._map.delete(e)}forEach(e,t){this._map.forEach(e,t)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}}const hd=(e,t,n)=>globalThis.addEventListener(e,t,n),dd=globalThis.document,pd=globalThis.Document,md=globalThis.JSON;let gd;gd=window._singleFile_fontFaces?window._singleFile_fontFaces:window._singleFile_fontFaces=new Map,dd instanceof pd&&(hd("single-file-new-font-face",(e=>{const t=e.detail,n=Object.assign({},t);delete n.src,gd.set(md.stringify(n),t)})),hd("single-file-delete-font",(e=>{const t=e.detail,n=Object.assign({},t);delete n.src,gd.delete(md.stringify(n))})),hd("single-file-clear-fonts",(()=>gd=new Map)));const fd=d+"on-before-capture",bd=d+"on-after-capture",yd=d+"request-get-adopted-stylesheets",kd=d+"response-get-adopted-stylesheets",wd=d+"unregister-request-get-adopted-stylesheets",vd="data-"+d+"removed-content",xd="data-"+d+"hidden-content",Ad="data-"+d+"kept-content",Cd="data-"+d+"hidden-frame",Sd="data-"+d+"preserved-space-element",Ed="data-"+d+"shadow-root-element",Td="data-"+d+"win-id",zd="data-"+d+"image",Ld="data-"+d+"poster",Rd="data-"+d+"video",Id="data-"+d+"canvas",_d="data-"+d+"movable-style",Od="data-"+d+"input-value",Pd="data-"+d+"lazy-loaded-src",Nd="data-"+d+"stylesheet",Md="data-"+d+"disabled-noscript",Dd="data-"+d+"selected-content",jd="data-"+d+"invalid-element",Fd="data-"+d+"async-script",Ud="*:not(base):not(link):not(meta):not(noscript):not(script):not(style):not(template):not(title)",Bd=["NOSCRIPT","DISABLED-NOSCRIPT","META","LINK","STYLE","TITLE","TEMPLATE","SOURCE","OBJECT","SCRIPT","HEAD","BODY"],qd=/^'(.*?)'$/,Hd=/^"(.*?)"$/,Vd={regular:"400",normal:"400",bold:"700",bolder:"700",lighter:"100"},Wd="single-file-ui-element",$d=m,Jd="data:,",Qd=globalThis.JSON;function Kd(e,t,n){e.querySelectorAll("noscript:not(["+Md+"])").forEach((e=>{e.setAttribute(Md,e.textContent),e.textContent=""})),function(e){e.querySelectorAll("meta[http-equiv=refresh]").forEach((e=>{e.removeAttribute("http-equiv"),e.setAttribute("disabled-http-equiv","refresh")}))}(e),e.head&&e.head.querySelectorAll(Ud).forEach((e=>e.hidden=!0)),e.querySelectorAll("svg foreignObject").forEach((e=>{const t=e.querySelectorAll("html > head > "+Ud+", html > body > "+Ud);t.length&&(Array.from(e.childNodes).forEach((e=>e.remove())),t.forEach((t=>e.appendChild(t))))}));const r=new Map;let a;return t&&e.documentElement?(e.querySelectorAll("button button, a a").forEach((t=>{const n=e.createElement("template");n.setAttribute(jd,""),n.content.appendChild(t.cloneNode(!0)),r.set(t,n),t.replaceWith(n)})),a=Gd(t,e,e.documentElement,n),n.moveStylesInHead&&e.querySelectorAll("body style, body ~ style").forEach((e=>{const n=op(t,e);n&&ep(e,n)&&(e.setAttribute(_d,""),a.markedElements.push(e))}))):a={canvases:[],images:[],posters:[],videos:[],usedFonts:[],shadowRoots:[],markedElements:[]},{canvases:a.canvases,fonts:Array.from(gd.values()),stylesheets:tp(e),images:a.images,posters:a.posters,videos:a.videos,usedFonts:Array.from(a.usedFonts.values()),shadowRoots:a.shadowRoots,referrer:e.referrer,markedElements:a.markedElements,invalidElements:r,scrollPosition:{x:t.scrollX,y:t.scrollY},adoptedStyleSheets:Yd(e.adoptedStyleSheets)}}function Gd(e,t,n,r,a={usedFonts:new Map,canvases:[],images:[],posters:[],videos:[],shadowRoots:[],markedElements:[]},i){if(n.childNodes){Array.from(n.childNodes).filter((t=>t instanceof e.HTMLElement||t instanceof e.SVGElement)).forEach((n=>{let o,l,s;if(!r.autoSaveExternalSave&&(r.removeHiddenElements||r.removeUnusedFonts||r.compressHTML)&&(s=op(e,n),n instanceof e.HTMLElement&&r.removeHiddenElements&&(l=(i||n.closest("html > head"))&&Bd.includes(n.tagName.toUpperCase())||n.closest("details"),l||(o=i||ep(n,s),o&&(n.setAttribute(xd,""),a.markedElements.push(n)))),!o)){if(r.compressHTML&&s){const e=s.getPropertyValue("white-space");e&&e.startsWith("pre")&&(n.setAttribute(Sd,""),a.markedElements.push(n))}r.removeUnusedFonts&&(Xd(s,r,a.usedFonts),Xd(op(e,n,":first-letter"),r,a.usedFonts),Xd(op(e,n,":before"),r,a.usedFonts),Xd(op(e,n,":after"),r,a.usedFonts))}!function(e,t,n,r,a,i,o){const l=n.tagName&&n.tagName.toUpperCase();if("CANVAS"==l)try{a.canvases.push({dataURI:n.toDataURL("image/png",""),backgroundColor:o.getPropertyValue("background-color")}),n.setAttribute(Id,a.canvases.length-1),a.markedElements.push(n)}catch(e){}if("IMG"==l){const t={currentSrc:i?Jd:r.loadDeferredImages&&n.getAttribute(Pd)||n.currentSrc};if(a.images.push(t),n.setAttribute(zd,a.images.length-1),a.markedElements.push(n),n.removeAttribute(Pd),o=o||op(e,n)){t.size=function(e,t,n){let r=t.naturalWidth,a=t.naturalHeight;if(!r&&!a){const i=null==t.getAttribute("style");if(n=n||op(e,t)){let e,o,l,s,c,u,h,d,p=!1;if("content-box"==n.getPropertyValue("box-sizing")){const e=t.style.getPropertyValue("box-sizing"),n=t.style.getPropertyPriority("box-sizing"),r=t.clientWidth;t.style.setProperty("box-sizing","border-box","important"),p=t.clientWidth!=r,e?t.style.setProperty("box-sizing",e,n):t.style.removeProperty("box-sizing")}e=np("padding-left",n),o=np("padding-right",n),l=np("padding-top",n),s=np("padding-bottom",n),p?(c=np("border-left-width",n),u=np("border-right-width",n),h=np("border-top-width",n),d=np("border-bottom-width",n)):c=u=h=d=0,r=Math.max(0,t.clientWidth-e-o-c-u),a=Math.max(0,t.clientHeight-l-s-h-d),i&&t.removeAttribute("style")}}return{pxWidth:r,pxHeight:a}}(e,n,o);const r=o.getPropertyValue("box-shadow"),a=o.getPropertyValue("background-image");r&&"none"!=r||a&&"none"!=a||!(t.size.pxWidth>1||t.size.pxHeight>1)||(t.replaceable=!0,t.backgroundColor=o.getPropertyValue("background-color"),t.objectFit=o.getPropertyValue("object-fit"),t.boxSizing=o.getPropertyValue("box-sizing"),t.objectPosition=o.getPropertyValue("object-position"))}}if("VIDEO"==l){const r=n.currentSrc;if(r&&!r.startsWith("blob:")&&!r.startsWith("data:")){const t=op(e,n.parentNode);a.videos.push({positionParent:t&&t.getPropertyValue("position"),src:r,size:{pxWidth:n.clientWidth,pxHeight:n.clientHeight},currentTime:n.currentTime}),n.setAttribute(Rd,a.videos.length-1)}if(!n.getAttribute("poster")){const e=t.createElement("canvas"),r=e.getContext("2d");e.width=n.clientWidth,e.height=n.clientHeight;try{r.drawImage(n,0,0,e.width,e.height),a.posters.push(e.toDataURL("image/png","")),n.setAttribute(Ld,a.posters.length-1),a.markedElements.push(n)}catch(e){}}}"IFRAME"==l&&i&&r.removeHiddenElements&&(n.setAttribute(Cd,""),a.markedElements.push(n));"INPUT"==l&&("password"!=n.type&&(n.setAttribute(Od,n.value),a.markedElements.push(n)),"radio"!=n.type&&"checkbox"!=n.type||(n.setAttribute(Od,n.checked),a.markedElements.push(n)));"TEXTAREA"==l&&(n.setAttribute(Od,n.value),a.markedElements.push(n));"SELECT"==l&&n.querySelectorAll("option").forEach((e=>{e.selected&&(e.setAttribute(Od,""),a.markedElements.push(e))}));"SCRIPT"==l&&(n.async&&""!=n.getAttribute("async")&&"async"!=n.getAttribute("async")&&(n.setAttribute(Fd,""),a.markedElements.push(n)),n.textContent=n.textContent.replace(/<\/script>/gi,"<\\/script>"))}(e,t,n,r,a,o,s);const c=!(n instanceof e.SVGElement)&&function(e){const t=globalThis.chrome;if(e.openOrClosedShadowRoot)return e.openOrClosedShadowRoot;if(!(t&&t.dom&&t.dom.openOrClosedShadowRoot))return e.shadowRoot;try{return t.dom.openOrClosedShadowRoot(e)}catch(t){return e.shadowRoot}}(n);if(c&&!n.classList.contains(Wd)){const i={};n.setAttribute(Ed,a.shadowRoots.length),a.markedElements.push(n),a.shadowRoots.push(i);try{if(c.adoptedStyleSheets)if(c.adoptedStyleSheets.length)i.adoptedStyleSheets=Yd(c.adoptedStyleSheets);else if(void 0===c.adoptedStyleSheets.length){const e=e=>i.adoptedStyleSheets=e.detail.adoptedStyleSheets;n.addEventListener(kd,e),n.dispatchEvent(new CustomEvent(yd,{bubbles:!0})),n.removeEventListener(kd,e)}}catch(e){}Gd(e,t,c,r,a,o),i.content=c.innerHTML,i.mode=c.mode;try{c.adoptedStyleSheets&&void 0===c.adoptedStyleSheets.length&&n.dispatchEvent(new CustomEvent(wd,{bubbles:!0}))}catch(e){}}Gd(e,t,n,r,a,o),!r.autoSaveExternalSave&&r.removeHiddenElements&&i&&(l||""==n.getAttribute(Ad)?n.parentElement&&(n.parentElement.setAttribute(Ad,""),a.markedElements.push(n.parentElement)):o&&(n.setAttribute(vd,""),a.markedElements.push(n)))}))}return a}function Yd(e){return e?Array.from(e).map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join("\n"))):[]}function Xd(e,t,n){if(e){const r=e.getPropertyValue("font-style")||"normal";e.getPropertyValue("font-family").split(",").forEach((a=>{if(a=Zd(a),!t.loadedFonts||t.loadedFonts.find((e=>Zd(e.family)==a&&e.style==r))){const t=ap(e.getPropertyValue("font-weight")),i=e.getPropertyValue("font-variant")||"normal",o=[a,t,r,i];n.set(Qd.stringify(o),[a,t,r,i])}}))}}function Zd(e=""){return rp((t=e.trim(),t.replace(id,((e,t,n)=>{const r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)})))).toLowerCase();var t}function ep(e,t){let n=!1;if(t){const r=t.getPropertyValue("display"),a=t.getPropertyValue("opacity"),i=t.getPropertyValue("visibility");if(n="none"==r,!n&&("0"==a||"hidden"==i)&&e.getBoundingClientRect){const t=e.getBoundingClientRect();n=!t.width&&!t.height}}return Boolean(n)}function tp(e){if(e){const t=[];return e.querySelectorAll("style").forEach(((n,r)=>{try{const a=e.createElement("style");a.textContent=n.textContent,e.body.appendChild(a);const i=a.sheet;a.remove(),i&&i.cssRules.length==n.sheet.cssRules.length||(n.setAttribute(Nd,r),t[r]=Array.from(n.sheet.cssRules).map((e=>e.cssText)).join("\n"))}catch(e){}})),t}}function np(e,t){if(t.getPropertyValue(e).endsWith("px"))return parseFloat(t.getPropertyValue(e))}function rp(e){return(e=e.match(qd)?e.replace(qd,"$1"):e.replace(Hd,"$1")).trim()}function ap(e){return Vd[e.toLowerCase().trim()]||e}function ip(e){return e.flat?e.flat():e.reduce(((e,t)=>e.concat(Array.isArray(t)?ip(t):t)),[])}function op(e,t,n){try{return e.getComputedStyle(t,n)}catch(e){}}const lp={normalizeFontFamily:Zd,getFontWeight:ap},sp=globalThis.FontFace,cp=globalThis.JSON,up=/url\s*\(\s*'(.*?)'\s*\)/i,hp=/url\s*\(\s*"(.*?)"\s*\)/i,dp=/url\s*\(\s*(.*?)\s*\)/i,pp=/(url|local|-sf-url-original)\(.*?\)\s*(,|$)/g,mp=/^'(.*?)'$/,gp=/^"(.*?)"$/,fp=/^url\(\s*["']?data:font\/(woff2?)/,bp=/^url\(\s*["']?data:application\/x-font-(woff)/,yp=/\.([^.?#]+)((\?|#).*?)?$/,kp=/format\((.*?)\)\s*,?$/,wp=/(.*?)\s*,?$/,vp=/^url\(["']?data:[^,]*,?["']?\)/,xp="local(",Ap="all",Cp={"ultra-condensed":"50%","extra-condensed":"62.5%",condensed:"75%","semi-condensed":"87.5%",normal:"100%","semi-expanded":"112.5%",expanded:"125%","extra-expanded":"150%","ultra-expanded":"200%"},Sp=5e3;async function Ep(e,t,n,r){const a={fonts:new Map,medias:new Map,supports:new Map},i={rules:{processed:0,discarded:0},fonts:{processed:0,discarded:0}};let o=0;return t.forEach((t=>{const n=t.stylesheet.children;if(n)if(i.rules.processed+=n.size,i.rules.discarded+=n.size,t.mediaText&&t.mediaText!=Ap){const r=Op();a.medias.set("media-"+o+"-"+t.mediaText,r),Tp(e,n,o,r)}else Tp(e,n,o,a);o++})),zp(a),await Promise.all([...t].map((async([,e],t)=>{const o=e.stylesheet.children,l=e.mediaText;o&&(l&&l!=Ap?await Lp(o,t,a.medias.get("media-"+t+"-"+l),n,r,i):await Lp(o,t,a,n,r,i),i.rules.discarded-=o.size)}))),i}function Tp(e,t,n,r){let a=0,i=0;t.forEach((t=>{if("Atrule"==t.type&&"media"==t.name&&t.block&&t.block.children&&t.prelude){const i=gu(t.prelude),o=Op();r.medias.set("media-"+n+"-"+a+"-"+i,o),a++,Tp(e,t.block.children,n,o)}else if("Atrule"==t.type&&"supports"==t.name&&t.block&&t.block.children&&t.prelude){const a=gu(t.prelude),o=Op();r.supports.set("supports-"+n+"-"+i+"-"+a,o),i++,Tp(e,t.block.children,n,o)}else if("Atrule"==t.type&&"font-face"==t.name&&t.block&&t.block.children){const e=_p(t);let n=r.fonts.get(e);n||(n=[],r.fonts.set(e,n));const a=Ip(t,"src");if(a){const e=a.match(pp);e&&e.forEach((e=>n.unshift(e)))}}}))}function zp(e){e.fonts.forEach(((t,n)=>{e.fonts.set(n,t.map((e=>{const t=e.match(kp);let n;const r=function(e){const t=(e=e.replace(/url\(-sf-url-original\\\(\\"(.*?)\\"\\\)\\ /g,"")).match(up)||e.match(hp)||e.match(dp);return t&&t[1]}(e);if(t&&t[1]&&(n=t[1].replace(mp,"$1").replace(gp,"$1").toLowerCase()),!n){const t=e.match(fp);if(t&&t[1])n=t[1];else{const t=e.match(bp);t&&t[1]&&(n=t[1])}}if(!n&&r){const e=r.match(yp);e&&e[1]&&(n=e[1])}return{src:e.match(wp)[1],fontUrl:r,format:n}})))})),e.medias.forEach((e=>zp(e))),e.supports.forEach((e=>zp(e)))}async function Lp(e,t,n,r,a,i){const o=[];let l=0,s=0;for(let c=e.head;c;c=c.next){const e=c.data;if("Atrule"==e.type&&"media"==e.name&&e.block&&e.block.children&&e.prelude){const o=gu(e.prelude);await Lp(e.block.children,t,n.medias.get("media-"+t+"-"+l+"-"+o),r,a,i),l++}else if("Atrule"==e.type&&"supports"==e.name&&e.block&&e.block.children&&e.prelude){const o=gu(e.prelude);await Lp(e.block.children,t,n.supports.get("supports-"+t+"-"+s+"-"+o),r,a,i),s++}else if("Atrule"==e.type&&"font-face"==e.name){const t=_p(e),l=n.fonts.get(t);if(l){await Rp(e,l,r,a,i)&&n.fonts.delete(t)}else o.push(c)}}o.forEach((t=>e.remove(t)))}async function Rp(e,t,n,r,a){const i=[];for(let t=e.block.children.head;t;t=t.next)"src"==t.data.property&&i.push(t);i.pop(),i.forEach((t=>e.block.children.remove(t)));const o=e.block.children.filter((e=>"src"==e.property)).tail;if(o){await Promise.all(t.map((async e=>{if(r.has(e.src))e.valid=r.get(e.src);else{if(sp&&e.fontUrl){const t=new sp("test-font",e.src);try{let n;await Promise.race([t.load().then((()=>t.loaded)).then((()=>{e.valid=!0,globalThis.clearTimeout(n)})),new Promise((t=>n=globalThis.setTimeout((()=>{e.valid=!0,t()}),Sp)))])}catch(t){const r=vu(o.data,(e=>"Url"==e.type)),a=Array.from(n).find((([t])=>r.includes(t)&&t.value==e.fontUrl));if(a&&a[1].length){const t=a[1][0];if(t){const n=new sp("test-font","url("+t+")");try{let t;await Promise.race([n.load().then((()=>n.loaded)).then((()=>{e.valid=!0,globalThis.clearTimeout(t)})),new Promise((n=>t=globalThis.setTimeout((()=>{e.valid=!0,n()}),Sp)))])}catch(e){}}}else e.valid=!0}}else e.valid=!0;r.set(e.src,e.valid)}})));const e=(e,n)=>t.find((t=>!t.src.match(vp)&&t.format==e&&(!n||t.valid))),i=e=>t.filter((t=>t==e||t.src.startsWith(xp)));a.fonts.processed+=t.length,a.fonts.discarded+=t.length;const l=e("woff2-variations",!0)||e("woff2",!0)||e("woff",!0);if(l)t=i(l);else{const n=e("truetype-variations",!0)||e("truetype",!0);if(n)t=i(n);else{const n=e("opentype")||e("embedded-opentype");t=n?i(n):t.filter((e=>!e.src.match(vp)&&e.valid||e.src.startsWith(xp)))}}a.fonts.discarded-=t.length,t.reverse();try{o.data.value=mu(t.map((e=>e.src)).join(","),{context:"value",parseCustomProperty:!0})}catch(e){}return!0}return!1}function Ip(e,t){let n;if(e.block.children&&(n=e.block.children.filter((e=>{try{return e.property==t&&!gu(e.value).match(/\\9$/)}catch(n){return e.property==t}})).tail),n)try{return gu(n.data.value)}catch(e){}}function _p(e){return cp.stringify([lp.normalizeFontFamily(Ip(e,"font-family")),lp.getFontWeight(Ip(e,"font-weight")||"400"),Ip(e,"font-style")||"normal",Ip(e,"unicode-range"),(t=Ip(e,"font-stretch"),Cp[t]||t),Ip(e,"font-variant")||"normal",Ip(e,"font-feature-settings"),Ip(e,"font-variation-settings")]);var t}function Op(){return{fonts:new Map,medias:new Map,supports:new Map}}const Pp={normalizeFontFamily:Zd,flatten:ip,getFontWeight:ap,removeQuotes:rp},Np=/\s*,\s*/,Mp=/-/,Dp=/\?/g,jp=/^U\+/i,Fp=[/^normal$/,/^italic$/,/^oblique$/,/^oblique\s+/];function Up(e,t,n,r){const a={rules:{processed:0,discarded:0},fonts:{processed:0,discarded:0}},i={declared:[],used:[]},o=e.createElement("style");let l="";e.body.appendChild(o),t.forEach((t=>{const n=t.stylesheet.children;n&&(a.processed+=n.size,a.discarded+=n.size,Bp(n,i),l=Yp(e,n,o,l))})),n.forEach((e=>{const t=$p(e);t.length&&i.used.push(t),l=Xp(e.children,o,l)})),o.remove(),l+=e.body.innerText,globalThis.getComputedStyle&&r.doc&&(i.used=i.used.map((e=>e.map((e=>{const t=e.match(/^var\((--.*)\)$/);if(t&&t[1]){const n=globalThis.getComputedStyle(r.doc.body).getPropertyValue(t[1]);return n&&n.split(",").map((e=>Pp.normalizeFontFamily(e)))||e}return e})))),i.used=i.used.map((e=>Pp.flatten(e))));let s,c;return i.used.find((e=>e.find((e=>e.match(/^var\(--/)))))?s=[]:(c=new Map,i.used.forEach((e=>e.forEach((e=>{if(i.declared.find((t=>t.fontFamily==e))){const t=r.usedFonts&&r.usedFonts.filter((t=>t[0]==e));t&&t.length&&c.set(e,t)}})))),s=i.declared.filter((e=>!c.has(e.fontFamily)))),t.forEach((e=>{const t=e.stylesheet.children;t&&(qp(t,i.declared,s,c,l),a.rules.discarded-=t.size)})),a}function Bp(e,t){e.forEach((e=>{if("Atrule"==e.type&&("media"==e.name||"supports"==e.name)&&e.block&&e.block.children)Bp(e.block.children,t);else if("Rule"==e.type){const n=$p(e.block);n.length&&t.used.push(n)}else if("Atrule"==e.type&&"font-face"==e.name){const n=Pp.normalizeFontFamily(Wp(e.block.children,"font-family"));if(n){const r=Wp(e.block.children,"font-weight")||"400",a=Wp(e.block.children,"font-style")||"normal",i=Wp(e.block.children,"font-variant")||"normal";r.split(",").forEach((e=>t.declared.push({fontFamily:n,fontWeight:Pp.getFontWeight(Pp.removeQuotes(e)),fontStyle:a,fontVariant:i})))}}}))}function qp(e,t,n,r,a){const i=[];for(let o=e.head;o;o=o.next){const e=o.data;if("Atrule"==e.type&&("media"==e.name||"supports"==e.name)&&e.block&&e.block.children)qp(e.block.children,t,n,r,a);else if("Atrule"==e.type&&"font-face"==e.name){const l=Pp.normalizeFontFamily(Wp(e.block.children,"font-family"));if(l){const s=Wp(e.block.children,"unicode-range");!n.find((e=>e.fontFamily==l))&&em(a,s)&&Hp(e,l,t,r)||i.push(o)}const s=[];for(let t=e.block.children.head;t;t=t.next)"font-display"==t.data.property&&s.push(t);s.length&&s.forEach((t=>e.block.children.remove(t)))}}i.forEach((t=>e.remove(t)))}function Hp(e,t,n,r){let a;const i=r&&r.get(t);if(i&&i.length){let r=Wp(e.block.children,"font-style")||"normal";if(Fp.find((e=>r.trim().match(e)))){const o=Pp.getFontWeight(Wp(e.block.children,"font-weight")||"400"),l=n.filter((e=>e.fontFamily==t&&e.fontStyle==r)).map((e=>e.fontWeight)).sort(((e,t)=>Number.parseInt(e,10)-Number.parseInt(t,10)));let s=i.map((e=>Qp(e,r,l)));a=Vp(o,s),a||(s=i.map((e=>((e=Array.from(e))[2]="normal",Qp(e,r,l))))),a=Vp(o,s)}else a=!0}else a=!0;return a}function Vp(e,t){let n;for(const r of e.split(/[ ,]/))n=n||t.includes(Pp.getFontWeight(Pp.removeQuotes(r)));return n}function Wp(e,t){let n;if(e&&(n=e.filter((e=>e.property==t)).tail),n)try{return Pp.removeQuotes(gu(n.data.value)).toLowerCase()}catch(e){}}function $p(e){let t=e.children.filter((e=>"font-family"==e.property)).tail,n=[];t&&(t.data.value.children?Jp(t.data.value,n):(t=gu(t.data.value),t&&n.push(Pp.normalizeFontFamily(t))));const r=e.children.filter((e=>"font"==e.property)).tail;if(r&&r.data&&r.data.value)try{const e=function(e){const t=gu(e);if(-1!==zu.indexOf(t))return{system:t};const n=e.children,r={lineHeight:"normal",stretch:"normal",style:"normal",variant:"normal",weight:"normal"};let a=!1;for(let e=n.head;e;e=e.next){const t=gu(e.data);if("normal"!==t&&-1===Tu.indexOf(t))if(-1===Lu.indexOf(t))if(-1===Ru.indexOf(t))if(-1===Iu.indexOf(t)){if("Dimension"==e.data.type){if(r.size=gu(e.data),e=e.next,e&&"Operator"==e.data.type&&"/"==e.data.value&&e.next?(e=e.next,r.lineHeight=gu(e.data),e=e.next):"Operator"==n.head.data.type&&"/"==n.head.data.value&&n.head.next&&(r.lineHeight=gu(n.head.next.data),e=n.head.next.next),!e)throw Ou("Missing required font-family.");r.family=[];let t="";for(;e;){for(;e&&"Operator"==e.data.type&&","==e.data.value;)e=e.next;if(e)if("Identifier"==e.data.type)for(;e&&"Identifier"==e.data.type;)t+=" "+gu(e.data),e=e.next;else t=Pu(gu(e.data)),e=e.next;t=t.trim(),t&&(r.family.push(t),t="")}return r}if("normal"!==r.variant)throw Ou("Unknown or unsupported font token: "+r.variant);a||(r.variant=t)}else{if(a)continue;r.stretch=t}else{if(a)continue;r.style=t}else{if(a)continue;r.weight=t}else["style","variant","weight","stretch"].forEach((e=>{r[e]=t})),a=!0}throw Ou("Missing required font-size.")}(r.data.value);e.family.forEach((e=>n.push(Pp.normalizeFontFamily(e))))}catch(e){}return n}function Jp(e,t){let n=e.children.head;for(;n;)if("Identifier"==n.data.type){let e=n.data.name,r=n.next;for(;r&&"Operator"!=r.data.type&&","!=r.data.value;)e+=" "+r.data.name,r=r.next;t.push(Pp.normalizeFontFamily(e)),n=n.next}else if("Function"==n.data.type&&"var"==n.data.name&&n.data.children){const e=n.data.children.head.data.name;t.push(Pp.normalizeFontFamily("var("+e+")"));let r=n.data.children.head.next;for(;r&&"Operator"==r.data.type&&","==r.data.value;)r=r.next;const a=r;a&&(a.data.children?Jp(a.data,t):t.push(Pp.normalizeFontFamily(a.data.value))),n=n.next}else"String"==n.data.type?(t.push(Pp.normalizeFontFamily(n.data.value)),n=n.next):"Operator"==n.data.type&&","==n.data.value&&(n=n.next)}function Qp(e,t,n){let r;if(n=n.map((e=>String(Number.parseInt(e,10)))),e[2]==t){let t=Number(e[1]);n.length>1?(t>=400&&t<=500&&(r=n.find((e=>e>=t&&e<=500)),r||(r=Kp(t,n)),r||(r=Gp(t,n))),t<400&&(r=n.slice().reverse().find((e=>e<=t)),r||(r=Gp(t,n))),t>500&&(r=n.find((e=>e>=t)),r||(r=Kp(t,n)))):r=n[0]}return r}function Kp(e,t){return t.slice().reverse().find((t=>t<e))}function Gp(e,t){return t.find((t=>t>e))}function Yp(e,t,n,r){return t.forEach((t=>{t.block&&t.block.children&&t.prelude&&t.prelude.children&&("Atrule"!=t.type||"media"!=t.name&&"supports"!=t.name?"Rule"==t.type&&(r=Xp(t.block.children,n,r)):r=Yp(e,t.block.children,n,r))})),r}function Xp(e,t,n){const r=Zp(e,"content",t),a=Zp(e,"quotes",t);return n.includes(r)||(n+=r),n.includes(a)||(n+=a),n}function Zp(e,t,n){const r=Wp(e,t)||"";return r?(n.textContent='tmp { content:"'+r+'"}',n.sheet&&n.sheet.cssRules?Pp.removeQuotes(n.sheet.cssRules[0].style.getPropertyValue("content")):r):""}function em(e,t){if(t){const n=t.split(Np);let r;const a=n.filter((t=>{const n=t.split(Mp);let a;if(2==n.length&&(n[0]=tm(n[0]),a="["+n[0]+"-"+tm("U+"+n[1])+"]"),1==n.length)if(n[0].includes("?")){const e=tm(n[0]),t=e;a="["+e.replace(Dp,"0")+"-"+t.replace(Dp,"F")+"]"}else n[0]&&(a="["+tm(n[0])+"]");if(a)try{return new RegExp(a,"u").test(e)}catch(e){return r=!0,!1}return!0}));return!r&&(!n.length||a.length)}return!0}function tm(e){for(e=e.replace(jp,"");e.length<6;)e="0"+e;return"\\u{"+e+"}"}const nm="all",rm=["after","before","first-letter","first-line","placeholder","selection","part","marker"],am="sf-hidden",im="display",om=/-(ms|webkit|moz|o)-/;class lm{constructor(e,t,n){this.doc=e,this.mediaAllInfo=sm(nm);const r=new Map;let a=0;const i=e.createElement("style");e.body.appendChild(i);const o=e.createElement("span");e.body.appendChild(o),t.forEach((t=>{if(!t.scoped){const o=t.stylesheet.children;if(o)if(t.mediaText&&t.mediaText!=nm){const l=sm(t.mediaText);this.mediaAllInfo.medias.set("style-"+a+"-"+t.mediaText,l),cm(e,o,l,a,n,r,i)}else cm(e,o,this.mediaAllInfo,a,n,r,i)}a++})),pm(this.mediaAllInfo),hm(this.mediaAllInfo,[],this.mediaAllInfo,i,o),i.remove(),o.remove()}getMediaAllInfo(){return this.mediaAllInfo}}function sm(e){const t={media:e,elements:new Map,medias:new Map,rules:new Map,pseudoRules:new Map};return e==nm&&(t.matchedStyles=new Map),t}function cm(e,t,n,r,a,i,o){let l=0,s=0;t.forEach((t=>{if(t.block&&t.block.children&&t.prelude&&t.prelude.children)if("Atrule"==t.type&&"media"==t.name){const s=gu(t.prelude),c=sm(s);n.medias.set("rule-"+r+"-"+l+"-"+s,c),l++,cm(e,t.block.children,c,r,a,i,o)}else if("Rule"==t.type){const l=t.prelude.children.toArray(),c=t.prelude.children.toArray().map((e=>gu(e))),u={ruleData:t,mediaInfo:n,ruleIndex:s,sheetIndex:r,matchedSelectors:new Set,declarations:new Set,selectors:l,selectorsText:c};if(!function(e,t){return t.textContent=e+"{}",t.sheet?!t.sheet.cssRules.length:t.sheet}(c.join(","),o)||c.find((e=>e.includes("|"))))for(let n=t.prelude.children.head,r=0;n;n=n.next,r++){const t=c[r];um(e,{selector:n,selectorText:t,ruleInfo:u},a,i)}s++}}))}function um(e,t,n,r){const a=function(e,t){const n=[];let r;i(e={data:mu(gu(e.data),{context:"selector"})}),r&&(t=gu(e.data).trim());a(e),n.length&&(n.forEach((({parentSelector:e,selector:t})=>{0!=e.data.children.size&&t.prev&&"Combinator"!=t.prev.data.type&&"WhiteSpace"!=t.prev.data.type?e.data.children.remove(t):e.data.children.replace(t,mu("*",{context:"selector"}).children.head)})),t=gu(e.data).trim());return t;function a(e,t){if(e.data.children)for(let t=e.data.children.head;t;t=t.next)a(t,e);("PseudoClassSelector"==e.data.type||"PseudoElementSelector"==e.data.type&&(o(e)||rm.includes(e.data.name)))&&n.push({parentSelector:t,selector:e})}function i(e){if(e.data.children)for(let t=e.data.children.head;t;t=t.next)i(t);"TypeSelector"==e.data.type&&e.data.name.includes("|")&&(r=!0,e.data.name=e.data.name.substring(e.data.name.lastIndexOf("|")+1))}function o(e){const t=e.data.name;return t.startsWith("-")||t.startsWith("\\-")}}(t.selector,t.selectorText),i=a!=t.selectorText?a:t.selectorText,o=r.get(i);let l=o;if(!l)try{l=e.querySelectorAll(i),i!="."+am&&(l=Array.from(e.querySelectorAll(i)).filter((e=>!e.classList.contains(am)&&("none"!=e.style.getPropertyValue(im)||"important"!=e.style.getPropertyPriority("display")))))}catch(e){}if(l&&(o||r.set(i,l),l.length))if(a==t.selectorText)l.forEach((e=>function(e,t,n){const r=t.ruleInfo.mediaInfo,a=n.get(e);let i=r.elements.get(e);i||(i=[],a&&i.push({styleInfo:{styleData:a,declarations:new Set}}),r.elements.set(e,i));const o=mm(t.selector.data);o.ruleIndex=t.ruleInfo.ruleIndex,o.sheetIndex=t.ruleInfo.sheetIndex,t.specificity=o,i.push(t)}(e,t,n)));else{let e=t.ruleInfo.mediaInfo.pseudoRules.get(t.ruleInfo.ruleData);e||(e=new Set,t.ruleInfo.mediaInfo.pseudoRules.set(t.ruleInfo.ruleData,e)),e.add(t.selectorText)}}function hm(e,t,n,r,a){e.elements.forEach((r=>function(e,t,n){const r=new Map,a=new Set;return e.forEach((e=>{let t;t=e.styleInfo?e.styleInfo.styleData.children:e.ruleInfo.ruleData.block.children,function(e,t,n,r,a,i){for(let a=t.tail;a;a=a.prev){const t=a.data,o=gu(t);if("Declaration"==t.type&&(o.match(om)||!r.has(t.property)||t.important)&&!dm(o,i)){const a=e.get(t);(!a||t.important&&!a.important)&&(e.set(t,{selectorInfo:n,important:t.important}),o.match(om)||r.add(t.property))}}}(r,t,e,a,0,n)})),r}(r,0,a).forEach(((r,a)=>{if(r.selectorInfo.ruleInfo||e==n){let i;if(r.selectorInfo.ruleInfo){i=r.selectorInfo.ruleInfo;const n=i.ruleData;([e,...t].find((e=>e.rules.get(n)))||e).rules.set(n,i),n&&i.matchedSelectors.add(r.selectorInfo.selectorText)}else{i=r.selectorInfo.styleInfo;const e=i.styleData;n.matchedStyles.get(e)||n.matchedStyles.set(e,i)}i.declarations.has(a)||i.declarations.add(a)}})))),delete e.elements,e.medias.forEach((i=>hm(i,[e,...t],n,r,a)))}function dm(e,t){let n;return t.style=e,t.style.length||e.match(om)||(n=!0),n}function pm(e){e.elements.forEach((e=>e.sort(((e,t)=>{return e.styleInfo&&!t.styleInfo?-1:!e.styleInfo&&t.styleInfo?1:(n=e.specificity,r=t.specificity,n.a>r.a?-1:n.a<r.a?1:n.b>r.b?-1:n.b<r.b?1:n.c>r.c?-1:n.c<r.c?1:n.sheetIndex>r.sheetIndex?-1:n.sheetIndex<r.sheetIndex?1:n.ruleIndex>r.ruleIndex?-1:n.ruleIndex<r.ruleIndex?1:-1);var n,r})))),e.medias.forEach(pm)}function mm(e,t={a:0,b:0,c:0}){return"IdSelector"==e.type&&t.a++,("ClassSelector"==e.type||"AttributeSelector"==e.type||"PseudoClassSelector"==e.type&&"not"!=e.name)&&t.b++,("TypeSelector"==e.type&&"*"!=e.name||"PseudoElementSelector"==e.type)&&t.c++,e.children&&e.children.forEach((e=>mm(e,t))),t}const gm={flatten:ip},fm="all",bm="screen";function ym(e){const t={processed:0,discarded:0};return e.forEach(((n,r)=>{if(wm(n.mediaText||fm,bm)&&n.stylesheet.children){km(n.stylesheet.children,t).forEach((({cssRules:e,cssRule:t})=>e.remove(t)))}else e.delete(r)})),t}function km(e,t,n=[]){for(let r=e.head;r;r=r.next){const a=r.data;"Atrule"==a.type&&"media"==a.name&&a.block&&a.block.children&&a.prelude&&a.prelude.children&&(t.processed++,wm(gu(a.prelude),bm)?km(a.block.children,t,n):(n.push({cssRules:e,cssRule:r}),t.discarded++))}return n}function wm(e,t){return gm.flatten(function(e){const t=[];let n=0,r=0;const a=/^(\s*)url\s*\(/.exec(e);if(null!==a){let r=a[0].length,i=1;for(;i>0;){const t=e[r];"("===t&&i++,")"===t&&i--,r++}t.unshift(new ju({type:"url",value:e.substring(0,r).trim(),sourceIndex:a[1].length,before:a[1],after:/^(\s*)/.exec(e.substring(r))[1]})),n=r}for(let a=n;a<e.length;a++){const i=e[a];if("("===i&&r++,")"===i&&r--,0===r&&","===i){const r=e.substring(n,a),i=/^(\s*)/.exec(r)[1];t.push(new Du({type:"media-query",value:r.trim(),sourceIndex:n+i.length,nodes:Mu(r,n),before:i,after:/(\s*)$/.exec(r)[1]})),n=a+1}}const i=e.substring(n),o=/^(\s*)/.exec(i)[1];return t.push(new Du({type:"media-query",value:i.trim(),sourceIndex:n+o.length,nodes:Mu(i,n),before:o,after:/(\s*)$/.exec(i)[1]})),t}(e).map((e=>vm(e,t)))).find((e=>!e.not&&(e.value==t||e.value==fm)||e.not&&(e.value==fm||e.value!=t)))}function vm(e,t,n=[]){return e.nodes.map(((r,a)=>{if("media-query"==r.type)return vm(r,t,n);if("media-type"==r.type){const t={not:Boolean(a&&"keyword"==e.nodes[0].type&&"not"==e.nodes[0].value),value:r.value};n.find((e=>t.not==e.not&&t.value==e.value))||n.push(t)}})),n.length||n.push({not:!1,value:fm}),n}function xm(e,t,n){const r={processed:0,discarded:0};let a=0;return e.forEach((e=>{if(!e.scoped){const t=e.stylesheet.children;if(t){let i;r.processed+=t.size,r.discarded+=t.size,i=e.mediaText&&"all"!=e.mediaText?n.medias.get("style-"+a+"-"+e.mediaText):n,Am(t,a,i),r.discarded-=t.size}}a++})),t.forEach((e=>function(e,t){const n=[],r=t.matchedStyles.get(e);if(r){let t;for(let a=e.children.head;a&&!t;a=a.next)r.declarations.has(a.data)||n.push(a);n.forEach((t=>e.children.remove(t)))}}(e,n))),r}function Am(e,t,n){let r=0;const a=[];for(let i=e.head;i;i=i.next){const e=i.data;if(e.block&&e.block.children&&e.prelude&&e.prelude.children){if("Atrule"==e.type&&"media"==e.name){const o=gu(e.prelude);Am(e.block.children,t,n.medias.get("rule-"+t+"-"+r+"-"+o)),e.prelude.children.size&&e.block.children.size||a.push(i),r++}else if("Rule"==e.type){const t=n.rules.get(e),r=n.pseudoRules.get(e);t||r?t&&(Cm(e,t,r),e.prelude.children.size&&e.block.children.size||a.push(i)):a.push(i)}}else e&&"Raw"!=e.type&&("Rule"!=e.type||e.prelude&&"Raw"!=e.prelude.type)||a.push(i)}a.forEach((t=>e.remove(t)))}function Cm(e,t,n){const r=[],a=[];let i;for(let r=e.prelude.children.head;r;r=r.next){const e=gu(r.data);n&&n.has(e)&&(i=!0),t.matchedSelectors.has(e)||n&&n.has(e)||a.push(r)}if(!i)for(let n=e.block.children.tail;n;n=n.prev)t.declarations.has(n.data)||r.push(n);r.forEach((t=>e.block.children.remove(t))),a.forEach((t=>e.prelude.children.remove(t)))}const Sm="data:,";function Em(e){e.querySelectorAll("picture").forEach((e=>{const t=e.querySelector("img");if(t){let{src:n,srcset:r}=Tm(t);if(!n){const t=function(e){let t=e.find((e=>e.src)),n=t&&t.src,r=t&&t.srcset;n||(t=e.find((e=>Lm(e.src))),n=t&&t.src,n==Sm&&(n=null));r||(t=e.find((e=>Lm(e.srcset))),r=t&&t.srcset,r==Sm&&(r=null));return{src:n,srcset:r}}(Array.from(e.querySelectorAll("source")).reverse());n=t.src,r||(r=t.srcset)}zm({src:n,srcset:r},t,e)}})),e.querySelectorAll(":not(picture) > img[srcset]").forEach((e=>zm(Tm(e),e)))}function Tm(e){let t=e.getAttribute("src");t==Sm&&(t=null);let n=Lm(e.getAttribute("srcset"));return n==Sm&&(n=null),{src:t,srcset:n}}function zm(e,t,n){e.src?(t.setAttribute("src",e.src),t.setAttribute("srcset",""),t.setAttribute("sizes","")):(t.setAttribute("src",Sm),e.srcset?t.setAttribute("srcset",e.srcset):(t.setAttribute("srcset",""),t.setAttribute("sizes",""))),n&&n.querySelectorAll("source").forEach((e=>e.remove()))}function Lm(e){if(e)try{const t=od(e);if(t.length)return t.find((e=>e.url)).url}catch(e){}}const Rm=["allowfullscreen","async","autofocus","autoplay","checked","compact","controls","declare","default","defaultchecked","defaultmuted","defaultselected","defer","disabled","enabled","formnovalidate","hidden","indeterminate","inert","ismap","itemscope","loop","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","pauseonexit","readonly","required","reversed","scoped","seamless","selected","sortable","truespeed","typemustmatch","visible"],Im=["SCRIPT","STYLE","PRE","TEXTAREA"],_m=["id","class","style","lang","dir","onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmousemove","onmouseout","onkeypress","onkeydown","onkeyup"],Om={FORM:{method:"get"},SCRIPT:{language:"javascript",type:"text/javascript",charset:e=>!e.getAttribute("src")},STYLE:{media:"all",type:"text/css"},LINK:{media:"all"}},Pm=/[ \t\f\r]+/g,Nm=/[\n]+/g,Mm=/^\s+$/,Dm=4294967295,jm=[function(e){1==e.nodeType&&Array.from(e.attributes).forEach((t=>{Rm.includes(t.name)&&e.setAttribute(t.name,"")}))},function(e){3==e.nodeType&&e.previousSibling&&3==e.previousSibling.nodeType&&(e.textContent=e.previousSibling.textContent+e.textContent,e.previousSibling.remove())},function(e,t){if(3==e.nodeType){let n=e.parentElement;if(!(""==n.getAttribute(t.PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME))){const t=e.textContent;let r=Fm(n);for(;r;)n=n.parentElement,r=n&&Fm(n);(!n||r)&&t.length>1&&(e.textContent=t.replace(Pm,function(e){return e.parentElement&&"HEAD"==Um(e.parentElement)?"\n":" "}(e)).replace(Nm,"\n"))}}},function(e){if(8==e.nodeType&&"HTML"!=Um(e.parentElement))return!e.textContent.toLowerCase().trim().startsWith("[if")},function(e){1==e.nodeType&&Array.from(e.attributes).forEach((t=>{if(_m.includes(t.name.toLowerCase())){const n=e.getAttribute(t.name);(""==n||(n||"").match(Mm))&&e.removeAttribute(t.name)}}))},function(e){if(1==e.nodeType){const t=Om[Um(e)];t&&Object.keys(t).forEach((n=>{const r=t[n];("function"==typeof r?r(e):e.getAttribute(n)==r)&&e.removeAttribute(n)}))}},function(e){if(1==e.nodeType&&"SCRIPT"==Um(e)&&"application/ld+json"==e.type&&e.textContent.trim())try{e.textContent=JSON.stringify(JSON.parse(e.textContent))}catch(e){}},e=>function(e,t,n){if(1==e.nodeType&&Um(e)==t.toUpperCase()){let t=e.previousSibling;const r=[];for(;t&&3==t.nodeType&&!t.textContent.trim();)r.push(t),t=t.previousSibling;t&&1==t.nodeType&&t.tagName==e.tagName&&n(e,t)&&(e.textContent=t.textContent+e.textContent,r.forEach((e=>e.remove())),t.remove())}}(e,"style",((e,t)=>e.parentElement&&"HEAD"==Um(e.parentElement)&&e.media==t.media&&e.title==t.title))];function Fm(e){return e&&!Im.includes(Um(e))}function Um(e){return e.tagName&&e.tagName.toUpperCase()}const Bm=["~","+","\\\\","?","%","*",":","|",'"',"<",">","\0-",""],qm="_",Hm={"😀":"grinning-face","😃":"grinning-face-with-big-eyes","😄":"grinning-face-with-smiling-eyes","😁":"beaming-face-with-smiling-eyes","😆":"grinning-squinting-face","😅":"grinning-face-with-sweat","🤣":"rolling-on-the-floor-laughing","😂":"face-with-tears-of-joy","🙂":"slightly-smiling-face","🙃":"upside-down-face","🫠":"melting-face","😉":"winking-face","😊":"smiling-face-with-smiling-eyes","😇":"smiling-face-with-halo","🥰":"smiling-face-with-hearts","😍":"smiling-face-with-heart-eyes","🤩":"star-struck","😘":"face-blowing-a-kiss","😗":"kissing-face","☺":"smiling-face","😚":"kissing-face-with-closed-eyes","😙":"kissing-face-with-smiling-eyes","🥲":"smiling-face-with-tear","😋":"face-savoring-food","😛":"face-with-tongue","😜":"winking-face-with-tongue","🤪":"zany-face","😝":"squinting-face-with-tongue","🤑":"money-mouth-face","🤗":"smiling-face-with-open-hands","🤭":"face-with-hand-over-mouth","🫢":"face-with-open-eyes-and-hand-over-mouth","🫣":"face-with-peeking-eye","🤫":"shushing-face","🤔":"thinking-face","🫡":"saluting-face","🤐":"zipper-mouth-face","🤨":"face-with-raised-eyebrow","😐":"neutral-face","😑":"expressionless-face","😶":"face-without-mouth","🫥":"dotted-line-face","😶🌫️":"face-in-clouds","😏":"smirking-face","😒":"unamused-face","🙄":"face-with-rolling-eyes","😬":"grimacing-face","😮💨":"face-exhaling","🤥":"lying-face","🫨":"⊛-shaking-face","😌":"relieved-face","😔":"pensive-face","😪":"sleepy-face","🤤":"drooling-face","😴":"sleeping-face","😷":"face-with-medical-mask","🤒":"face-with-thermometer","🤕":"face-with-head-bandage","🤢":"nauseated-face","🤮":"face-vomiting","🤧":"sneezing-face","🥵":"hot-face","🥶":"cold-face","🥴":"woozy-face","😵":"face-with-crossed-out-eyes","😵💫":"face-with-spiral-eyes","🤯":"exploding-head","🤠":"cowboy-hat-face","🥳":"partying-face","🥸":"disguised-face","😎":"smiling-face-with-sunglasses","🤓":"nerd-face","🧐":"face-with-monocle","😕":"confused-face","🫤":"face-with-diagonal-mouth","😟":"worried-face","🙁":"slightly-frowning-face","☹":"frowning-face","😮":"face-with-open-mouth","😯":"hushed-face","😲":"astonished-face","😳":"flushed-face","🥺":"pleading-face","🥹":"face-holding-back-tears","😦":"frowning-face-with-open-mouth","😧":"anguished-face","😨":"fearful-face","😰":"anxious-face-with-sweat","😥":"sad-but-relieved-face","😢":"crying-face","😭":"loudly-crying-face","😱":"face-screaming-in-fear","😖":"confounded-face","😣":"persevering-face","😞":"disappointed-face","😓":"downcast-face-with-sweat","😩":"weary-face","😫":"tired-face","🥱":"yawning-face","😤":"face-with-steam-from-nose","😡":"enraged-face","😠":"angry-face","🤬":"face-with-symbols-on-mouth","😈":"smiling-face-with-horns","👿":"angry-face-with-horns","💀":"skull","☠":"skull-and-crossbones","💩":"pile-of-poo","🤡":"clown-face","👹":"ogre","👺":"goblin","👻":"ghost","👽":"alien","👾":"alien-monster","🤖":"robot","😺":"grinning-cat","😸":"grinning-cat-with-smiling-eyes","😹":"cat-with-tears-of-joy","😻":"smiling-cat-with-heart-eyes","😼":"cat-with-wry-smile","😽":"kissing-cat","🙀":"weary-cat","😿":"crying-cat","😾":"pouting-cat","🙈":"see-no-evil-monkey","🙉":"hear-no-evil-monkey","🙊":"speak-no-evil-monkey","💌":"love-letter","💘":"heart-with-arrow","💝":"heart-with-ribbon","💖":"sparkling-heart","💗":"growing-heart","💓":"beating-heart","💞":"revolving-hearts","💕":"two-hearts","💟":"heart-decoration","❣":"heart-exclamation","💔":"broken-heart","❤️🔥":"heart-on-fire","❤️🩹":"mending-heart","❤":"red-heart","🩷":"⊛-pink-heart","🧡":"orange-heart","💛":"yellow-heart","💚":"green-heart","💙":"blue-heart","🩵":"⊛-light-blue-heart","💜":"purple-heart","🤎":"brown-heart","🖤":"black-heart","🩶":"⊛-grey-heart","🤍":"white-heart","💋":"kiss-mark","💯":"hundred-points","💢":"anger-symbol","💥":"collision","💫":"dizzy","💦":"sweat-droplets","💨":"dashing-away","🕳":"hole","💬":"speech-balloon","👁️🗨️":"eye-in-speech-bubble","🗨":"left-speech-bubble","🗯":"right-anger-bubble","💭":"thought-balloon","💤":"zzz","👋":"waving-hand","🤚":"raised-back-of-hand","🖐":"hand-with-fingers-splayed","✋":"raised-hand","🖖":"vulcan-salute","🫱":"rightwards-hand","🫲":"leftwards-hand","🫳":"palm-down-hand","🫴":"palm-up-hand","🫷":"⊛-leftwards-pushing-hand","🫸":"⊛-rightwards-pushing-hand","👌":"ok-hand","🤌":"pinched-fingers","🤏":"pinching-hand","✌":"victory-hand","🤞":"crossed-fingers","🫰":"hand-with-index-finger-and-thumb-crossed","🤟":"love-you-gesture","🤘":"sign-of-the-horns","🤙":"call-me-hand","👈":"backhand-index-pointing-left","👉":"backhand-index-pointing-right","👆":"backhand-index-pointing-up","🖕":"middle-finger","👇":"backhand-index-pointing-down","☝":"index-pointing-up","🫵":"index-pointing-at-the-viewer","👍":"thumbs-up","👎":"thumbs-down","✊":"raised-fist","👊":"oncoming-fist","🤛":"left-facing-fist","🤜":"right-facing-fist","👏":"clapping-hands","🙌":"raising-hands","🫶":"heart-hands","👐":"open-hands","🤲":"palms-up-together","🤝":"handshake","🙏":"folded-hands","✍":"writing-hand","💅":"nail-polish","🤳":"selfie","💪":"flexed-biceps","🦾":"mechanical-arm","🦿":"mechanical-leg","🦵":"leg","🦶":"foot","👂":"ear","🦻":"ear-with-hearing-aid","👃":"nose","🧠":"brain","🫀":"anatomical-heart","🫁":"lungs","🦷":"tooth","🦴":"bone","👀":"eyes","👁":"eye","👅":"tongue","👄":"mouth","🫦":"biting-lip","👶":"baby","🧒":"child","👦":"boy","👧":"girl","🧑":"person","👱":"person-blond-hair","👨":"man","🧔":"person-beard","🧔♂️":"man-beard","🧔♀️":"woman-beard","👨🦰":"man-red-hair","👨🦱":"man-curly-hair","👨🦳":"man-white-hair","👨🦲":"man-bald","👩":"woman","👩🦰":"woman-red-hair","🧑🦰":"person-red-hair","👩🦱":"woman-curly-hair","🧑🦱":"person-curly-hair","👩🦳":"woman-white-hair","🧑🦳":"person-white-hair","👩🦲":"woman-bald","🧑🦲":"person-bald","👱♀️":"woman-blond-hair","👱♂️":"man-blond-hair","🧓":"older-person","👴":"old-man","👵":"old-woman","🙍":"person-frowning","🙍♂️":"man-frowning","🙍♀️":"woman-frowning","🙎":"person-pouting","🙎♂️":"man-pouting","🙎♀️":"woman-pouting","🙅":"person-gesturing-no","🙅♂️":"man-gesturing-no","🙅♀️":"woman-gesturing-no","🙆":"person-gesturing-ok","🙆♂️":"man-gesturing-ok","🙆♀️":"woman-gesturing-ok","💁":"person-tipping-hand","💁♂️":"man-tipping-hand","💁♀️":"woman-tipping-hand","🙋":"person-raising-hand","🙋♂️":"man-raising-hand","🙋♀️":"woman-raising-hand","🧏":"deaf-person","🧏♂️":"deaf-man","🧏♀️":"deaf-woman","🙇":"person-bowing","🙇♂️":"man-bowing","🙇♀️":"woman-bowing","🤦":"person-facepalming","🤦♂️":"man-facepalming","🤦♀️":"woman-facepalming","🤷":"person-shrugging","🤷♂️":"man-shrugging","🤷♀️":"woman-shrugging","🧑⚕️":"health-worker","👨⚕️":"man-health-worker","👩⚕️":"woman-health-worker","🧑🎓":"student","👨🎓":"man-student","👩🎓":"woman-student","🧑🏫":"teacher","👨🏫":"man-teacher","👩🏫":"woman-teacher","🧑⚖️":"judge","👨⚖️":"man-judge","👩⚖️":"woman-judge","🧑🌾":"farmer","👨🌾":"man-farmer","👩🌾":"woman-farmer","🧑🍳":"cook","👨🍳":"man-cook","👩🍳":"woman-cook","🧑🔧":"mechanic","👨🔧":"man-mechanic","👩🔧":"woman-mechanic","🧑🏭":"factory-worker","👨🏭":"man-factory-worker","👩🏭":"woman-factory-worker","🧑💼":"office-worker","👨💼":"man-office-worker","👩💼":"woman-office-worker","🧑🔬":"scientist","👨🔬":"man-scientist","👩🔬":"woman-scientist","🧑💻":"technologist","👨💻":"man-technologist","👩💻":"woman-technologist","🧑🎤":"singer","👨🎤":"man-singer","👩🎤":"woman-singer","🧑🎨":"artist","👨🎨":"man-artist","👩🎨":"woman-artist","🧑✈️":"pilot","👨✈️":"man-pilot","👩✈️":"woman-pilot","🧑🚀":"astronaut","👨🚀":"man-astronaut","👩🚀":"woman-astronaut","🧑🚒":"firefighter","👨🚒":"man-firefighter","👩🚒":"woman-firefighter","👮":"police-officer","👮♂️":"man-police-officer","👮♀️":"woman-police-officer","🕵":"detective","🕵️♂️":"man-detective","🕵️♀️":"woman-detective","💂":"guard","💂♂️":"man-guard","💂♀️":"woman-guard","🥷":"ninja","👷":"construction-worker","👷♂️":"man-construction-worker","👷♀️":"woman-construction-worker","🫅":"person-with-crown","🤴":"prince","👸":"princess","👳":"person-wearing-turban","👳♂️":"man-wearing-turban","👳♀️":"woman-wearing-turban","👲":"person-with-skullcap","🧕":"woman-with-headscarf","🤵":"person-in-tuxedo","🤵♂️":"man-in-tuxedo","🤵♀️":"woman-in-tuxedo","👰":"person-with-veil","👰♂️":"man-with-veil","👰♀️":"woman-with-veil","🤰":"pregnant-woman","🫃":"pregnant-man","🫄":"pregnant-person","🤱":"breast-feeding","👩🍼":"woman-feeding-baby","👨🍼":"man-feeding-baby","🧑🍼":"person-feeding-baby","👼":"baby-angel","🎅":"santa-claus","🤶":"mrs-claus","🧑🎄":"mx-claus","🦸":"superhero","🦸♂️":"man-superhero","🦸♀️":"woman-superhero","🦹":"supervillain","🦹♂️":"man-supervillain","🦹♀️":"woman-supervillain","🧙":"mage","🧙♂️":"man-mage","🧙♀️":"woman-mage","🧚":"fairy","🧚♂️":"man-fairy","🧚♀️":"woman-fairy","🧛":"vampire","🧛♂️":"man-vampire","🧛♀️":"woman-vampire","🧜":"merperson","🧜♂️":"merman","🧜♀️":"mermaid","🧝":"elf","🧝♂️":"man-elf","🧝♀️":"woman-elf","🧞":"genie","🧞♂️":"man-genie","🧞♀️":"woman-genie","🧟":"zombie","🧟♂️":"man-zombie","🧟♀️":"woman-zombie","🧌":"troll","💆":"person-getting-massage","💆♂️":"man-getting-massage","💆♀️":"woman-getting-massage","💇":"person-getting-haircut","💇♂️":"man-getting-haircut","💇♀️":"woman-getting-haircut","🚶":"person-walking","🚶♂️":"man-walking","🚶♀️":"woman-walking","🧍":"person-standing","🧍♂️":"man-standing","🧍♀️":"woman-standing","🧎":"person-kneeling","🧎♂️":"man-kneeling","🧎♀️":"woman-kneeling","🧑🦯":"person-with-white-cane","👨🦯":"man-with-white-cane","👩🦯":"woman-with-white-cane","🧑🦼":"person-in-motorized-wheelchair","👨🦼":"man-in-motorized-wheelchair","👩🦼":"woman-in-motorized-wheelchair","🧑🦽":"person-in-manual-wheelchair","👨🦽":"man-in-manual-wheelchair","👩🦽":"woman-in-manual-wheelchair","🏃":"person-running","🏃♂️":"man-running","🏃♀️":"woman-running","💃":"woman-dancing","🕺":"man-dancing","🕴":"person-in-suit-levitating","👯":"people-with-bunny-ears","👯♂️":"men-with-bunny-ears","👯♀️":"women-with-bunny-ears","🧖":"person-in-steamy-room","🧖♂️":"man-in-steamy-room","🧖♀️":"woman-in-steamy-room","🧗":"person-climbing","🧗♂️":"man-climbing","🧗♀️":"woman-climbing","🤺":"person-fencing","🏇":"horse-racing","⛷":"skier","🏂":"snowboarder","🏌":"person-golfing","🏌️♂️":"man-golfing","🏌️♀️":"woman-golfing","🏄":"person-surfing","🏄♂️":"man-surfing","🏄♀️":"woman-surfing","🚣":"person-rowing-boat","🚣♂️":"man-rowing-boat","🚣♀️":"woman-rowing-boat","🏊":"person-swimming","🏊♂️":"man-swimming","🏊♀️":"woman-swimming","⛹":"person-bouncing-ball","⛹️♂️":"man-bouncing-ball","⛹️♀️":"woman-bouncing-ball","🏋":"person-lifting-weights","🏋️♂️":"man-lifting-weights","🏋️♀️":"woman-lifting-weights","🚴":"person-biking","🚴♂️":"man-biking","🚴♀️":"woman-biking","🚵":"person-mountain-biking","🚵♂️":"man-mountain-biking","🚵♀️":"woman-mountain-biking","🤸":"person-cartwheeling","🤸♂️":"man-cartwheeling","🤸♀️":"woman-cartwheeling","🤼":"people-wrestling","🤼♂️":"men-wrestling","🤼♀️":"women-wrestling","🤽":"person-playing-water-polo","🤽♂️":"man-playing-water-polo","🤽♀️":"woman-playing-water-polo","🤾":"person-playing-handball","🤾♂️":"man-playing-handball","🤾♀️":"woman-playing-handball","🤹":"person-juggling","🤹♂️":"man-juggling","🤹♀️":"woman-juggling","🧘":"person-in-lotus-position","🧘♂️":"man-in-lotus-position","🧘♀️":"woman-in-lotus-position","🛀":"person-taking-bath","🛌":"person-in-bed","🧑🤝🧑":"people-holding-hands","👭":"women-holding-hands","👫":"woman-and-man-holding-hands","👬":"men-holding-hands","💏":"kiss","👩❤️💋👨":"kiss-woman,-man","👨❤️💋👨":"kiss-man,-man","👩❤️💋👩":"kiss-woman,-woman","💑":"couple-with-heart","👩❤️👨":"couple-with-heart-woman,-man","👨❤️👨":"couple-with-heart-man,-man","👩❤️👩":"couple-with-heart-woman,-woman","👪":"family","👨👩👦":"family-man,-woman,-boy","👨👩👧":"family-man,-woman,-girl","👨👩👧👦":"family-man,-woman,-girl,-boy","👨👩👦👦":"family-man,-woman,-boy,-boy","👨👩👧👧":"family-man,-woman,-girl,-girl","👨👨👦":"family-man,-man,-boy","👨👨👧":"family-man,-man,-girl","👨👨👧👦":"family-man,-man,-girl,-boy","👨👨👦👦":"family-man,-man,-boy,-boy","👨👨👧👧":"family-man,-man,-girl,-girl","👩👩👦":"family-woman,-woman,-boy","👩👩👧":"family-woman,-woman,-girl","👩👩👧👦":"family-woman,-woman,-girl,-boy","👩👩👦👦":"family-woman,-woman,-boy,-boy","👩👩👧👧":"family-woman,-woman,-girl,-girl","👨👦":"family-man,-boy","👨👦👦":"family-man,-boy,-boy","👨👧":"family-man,-girl","👨👧👦":"family-man,-girl,-boy","👨👧👧":"family-man,-girl,-girl","👩👦":"family-woman,-boy","👩👦👦":"family-woman,-boy,-boy","👩👧":"family-woman,-girl","👩👧👦":"family-woman,-girl,-boy","👩👧👧":"family-woman,-girl,-girl","🗣":"speaking-head","👤":"bust-in-silhouette","👥":"busts-in-silhouette","🫂":"people-hugging","👣":"footprints","🦰":"red-hair","🦱":"curly-hair","🦳":"white-hair","🦲":"bald","🐵":"monkey-face","🐒":"monkey","🦍":"gorilla","🦧":"orangutan","🐶":"dog-face","🐕":"dog","🦮":"guide-dog","🐕🦺":"service-dog","🐩":"poodle","🐺":"wolf","🦊":"fox","🦝":"raccoon","🐱":"cat-face","🐈":"cat","🐈⬛":"black-cat","🦁":"lion","🐯":"tiger-face","🐅":"tiger","🐆":"leopard","🐴":"horse-face","🫎":"⊛-moose","🫏":"⊛-donkey","🐎":"horse","🦄":"unicorn","🦓":"zebra","🦌":"deer","🦬":"bison","🐮":"cow-face","🐂":"ox","🐃":"water-buffalo","🐄":"cow","🐷":"pig-face","🐖":"pig","🐗":"boar","🐽":"pig-nose","🐏":"ram","🐑":"ewe","🐐":"goat","🐪":"camel","🐫":"two-hump-camel","🦙":"llama","🦒":"giraffe","🐘":"elephant","🦣":"mammoth","🦏":"rhinoceros","🦛":"hippopotamus","🐭":"mouse-face","🐁":"mouse","🐀":"rat","🐹":"hamster","🐰":"rabbit-face","🐇":"rabbit","🐿":"chipmunk","🦫":"beaver","🦔":"hedgehog","🦇":"bat","🐻":"bear","🐻❄️":"polar-bear","🐨":"koala","🐼":"panda","🦥":"sloth","🦦":"otter","🦨":"skunk","🦘":"kangaroo","🦡":"badger","🐾":"paw-prints","🦃":"turkey","🐔":"chicken","🐓":"rooster","🐣":"hatching-chick","🐤":"baby-chick","🐥":"front-facing-baby-chick","🐦":"bird","🐧":"penguin","🕊":"dove","🦅":"eagle","🦆":"duck","🦢":"swan","🦉":"owl","🦤":"dodo","🪶":"feather","🦩":"flamingo","🦚":"peacock","🦜":"parrot","🪽":"⊛-wing","🐦⬛":"⊛-black-bird","🪿":"⊛-goose","🐸":"frog","🐊":"crocodile","🐢":"turtle","🦎":"lizard","🐍":"snake","🐲":"dragon-face","🐉":"dragon","🦕":"sauropod","🦖":"t-rex","🐳":"spouting-whale","🐋":"whale","🐬":"dolphin","🦭":"seal","🐟":"fish","🐠":"tropical-fish","🐡":"blowfish","🦈":"shark","🐙":"octopus","🐚":"spiral-shell","🪸":"coral","🪼":"⊛-jellyfish","🐌":"snail","🦋":"butterfly","🐛":"bug","🐜":"ant","🐝":"honeybee","🪲":"beetle","🐞":"lady-beetle","🦗":"cricket","🪳":"cockroach","🕷":"spider","🕸":"spider-web","🦂":"scorpion","🦟":"mosquito","🪰":"fly","🪱":"worm","🦠":"microbe","💐":"bouquet","🌸":"cherry-blossom","💮":"white-flower","🪷":"lotus","🏵":"rosette","🌹":"rose","🥀":"wilted-flower","🌺":"hibiscus","🌻":"sunflower","🌼":"blossom","🌷":"tulip","🪻":"⊛-hyacinth","🌱":"seedling","🪴":"potted-plant","🌲":"evergreen-tree","🌳":"deciduous-tree","🌴":"palm-tree","🌵":"cactus","🌾":"sheaf-of-rice","🌿":"herb","☘":"shamrock","🍀":"four-leaf-clover","🍁":"maple-leaf","🍂":"fallen-leaf","🍃":"leaf-fluttering-in-wind","🪹":"empty-nest","🪺":"nest-with-eggs","🍄":"mushroom","🍇":"grapes","🍈":"melon","🍉":"watermelon","🍊":"tangerine","🍋":"lemon","🍌":"banana","🍍":"pineapple","🥭":"mango","🍎":"red-apple","🍏":"green-apple","🍐":"pear","🍑":"peach","🍒":"cherries","🍓":"strawberry","🫐":"blueberries","🥝":"kiwi-fruit","🍅":"tomato","🫒":"olive","🥥":"coconut","🥑":"avocado","🍆":"eggplant","🥔":"potato","🥕":"carrot","🌽":"ear-of-corn","🌶":"hot-pepper","🫑":"bell-pepper","🥒":"cucumber","🥬":"leafy-green","🥦":"broccoli","🧄":"garlic","🧅":"onion","🥜":"peanuts","🫘":"beans","🌰":"chestnut","🫚":"⊛-ginger-root","🫛":"⊛-pea-pod","🍞":"bread","🥐":"croissant","🥖":"baguette-bread","🫓":"flatbread","🥨":"pretzel","🥯":"bagel","🥞":"pancakes","🧇":"waffle","🧀":"cheese-wedge","🍖":"meat-on-bone","🍗":"poultry-leg","🥩":"cut-of-meat","🥓":"bacon","🍔":"hamburger","🍟":"french-fries","🍕":"pizza","🌭":"hot-dog","🥪":"sandwich","🌮":"taco","🌯":"burrito","🫔":"tamale","🥙":"stuffed-flatbread","🧆":"falafel","🥚":"egg","🍳":"cooking","🥘":"shallow-pan-of-food","🍲":"pot-of-food","🫕":"fondue","🥣":"bowl-with-spoon","🥗":"green-salad","🍿":"popcorn","🧈":"butter","🧂":"salt","🥫":"canned-food","🍱":"bento-box","🍘":"rice-cracker","🍙":"rice-ball","🍚":"cooked-rice","🍛":"curry-rice","🍜":"steaming-bowl","🍝":"spaghetti","🍠":"roasted-sweet-potato","🍢":"oden","🍣":"sushi","🍤":"fried-shrimp","🍥":"fish-cake-with-swirl","🥮":"moon-cake","🍡":"dango","🥟":"dumpling","🥠":"fortune-cookie","🥡":"takeout-box","🦀":"crab","🦞":"lobster","🦐":"shrimp","🦑":"squid","🦪":"oyster","🍦":"soft-ice-cream","🍧":"shaved-ice","🍨":"ice-cream","🍩":"doughnut","🍪":"cookie","🎂":"birthday-cake","🍰":"shortcake","🧁":"cupcake","🥧":"pie","🍫":"chocolate-bar","🍬":"candy","🍭":"lollipop","🍮":"custard","🍯":"honey-pot","🍼":"baby-bottle","🥛":"glass-of-milk","☕":"hot-beverage","🫖":"teapot","🍵":"teacup-without-handle","🍶":"sake","🍾":"bottle-with-popping-cork","🍷":"wine-glass","🍸":"cocktail-glass","🍹":"tropical-drink","🍺":"beer-mug","🍻":"clinking-beer-mugs","🥂":"clinking-glasses","🥃":"tumbler-glass","🫗":"pouring-liquid","🥤":"cup-with-straw","🧋":"bubble-tea","🧃":"beverage-box","🧉":"mate","🧊":"ice","🥢":"chopsticks","🍽":"fork-and-knife-with-plate","🍴":"fork-and-knife","🥄":"spoon","🔪":"kitchen-knife","🫙":"jar","🏺":"amphora","🌍":"globe-showing-europe-africa","🌎":"globe-showing-americas","🌏":"globe-showing-asia-australia","🌐":"globe-with-meridians","🗺":"world-map","🗾":"map-of-japan","🧭":"compass","🏔":"snow-capped-mountain","⛰":"mountain","🌋":"volcano","🗻":"mount-fuji","🏕":"camping","🏖":"beach-with-umbrella","🏜":"desert","🏝":"desert-island","🏞":"national-park","🏟":"stadium","🏛":"classical-building","🏗":"building-construction","🧱":"brick","🪨":"rock","🪵":"wood","🛖":"hut","🏘":"houses","🏚":"derelict-house","🏠":"house","🏡":"house-with-garden","🏢":"office-building","🏣":"japanese-post-office","🏤":"post-office","🏥":"hospital","🏦":"bank","🏨":"hotel","🏩":"love-hotel","🏪":"convenience-store","🏫":"school","🏬":"department-store","🏭":"factory","🏯":"japanese-castle","🏰":"castle","💒":"wedding","🗼":"tokyo-tower","🗽":"statue-of-liberty","⛪":"church","🕌":"mosque","🛕":"hindu-temple","🕍":"synagogue","⛩":"shinto-shrine","🕋":"kaaba","⛲":"fountain","⛺":"tent","🌁":"foggy","🌃":"night-with-stars","🏙":"cityscape","🌄":"sunrise-over-mountains","🌅":"sunrise","🌆":"cityscape-at-dusk","🌇":"sunset","🌉":"bridge-at-night","♨":"hot-springs","🎠":"carousel-horse","🛝":"playground-slide","🎡":"ferris-wheel","🎢":"roller-coaster","💈":"barber-pole","🎪":"circus-tent","🚂":"locomotive","🚃":"railway-car","🚄":"high-speed-train","🚅":"bullet-train","🚆":"train","🚇":"metro","🚈":"light-rail","🚉":"station","🚊":"tram","🚝":"monorail","🚞":"mountain-railway","🚋":"tram-car","🚌":"bus","🚍":"oncoming-bus","🚎":"trolleybus","🚐":"minibus","🚑":"ambulance","🚒":"fire-engine","🚓":"police-car","🚔":"oncoming-police-car","🚕":"taxi","🚖":"oncoming-taxi","🚗":"automobile","🚘":"oncoming-automobile","🚙":"sport-utility-vehicle","🛻":"pickup-truck","🚚":"delivery-truck","🚛":"articulated-lorry","🚜":"tractor","🏎":"racing-car","🏍":"motorcycle","🛵":"motor-scooter","🦽":"manual-wheelchair","🦼":"motorized-wheelchair","🛺":"auto-rickshaw","🚲":"bicycle","🛴":"kick-scooter","🛹":"skateboard","🛼":"roller-skate","🚏":"bus-stop","🛣":"motorway","🛤":"railway-track","🛢":"oil-drum","⛽":"fuel-pump","🛞":"wheel","🚨":"police-car-light","🚥":"horizontal-traffic-light","🚦":"vertical-traffic-light","🛑":"stop-sign","🚧":"construction","⚓":"anchor","🛟":"ring-buoy","⛵":"sailboat","🛶":"canoe","🚤":"speedboat","🛳":"passenger-ship","⛴":"ferry","🛥":"motor-boat","🚢":"ship","✈":"airplane","🛩":"small-airplane","🛫":"airplane-departure","🛬":"airplane-arrival","🪂":"parachute","💺":"seat","🚁":"helicopter","🚟":"suspension-railway","🚠":"mountain-cableway","🚡":"aerial-tramway","🛰":"satellite","🚀":"rocket","🛸":"flying-saucer","🛎":"bellhop-bell","🧳":"luggage","⌛":"hourglass-done","⏳":"hourglass-not-done","⌚":"watch","⏰":"alarm-clock","⏱":"stopwatch","⏲":"timer-clock","🕰":"mantelpiece-clock","🕛":"twelve-o-clock","🕧":"twelve-thirty","🕐":"one-o-clock","🕜":"one-thirty","🕑":"two-o-clock","🕝":"two-thirty","🕒":"three-o-clock","🕞":"three-thirty","🕓":"four-o-clock","🕟":"four-thirty","🕔":"five-o-clock","🕠":"five-thirty","🕕":"six-o-clock","🕡":"six-thirty","🕖":"seven-o-clock","🕢":"seven-thirty","🕗":"eight-o-clock","🕣":"eight-thirty","🕘":"nine-o-clock","🕤":"nine-thirty","🕙":"ten-o-clock","🕥":"ten-thirty","🕚":"eleven-o-clock","🕦":"eleven-thirty","🌑":"new-moon","🌒":"waxing-crescent-moon","🌓":"first-quarter-moon","🌔":"waxing-gibbous-moon","🌕":"full-moon","🌖":"waning-gibbous-moon","🌗":"last-quarter-moon","🌘":"waning-crescent-moon","🌙":"crescent-moon","🌚":"new-moon-face","🌛":"first-quarter-moon-face","🌜":"last-quarter-moon-face","🌡":"thermometer","☀":"sun","🌝":"full-moon-face","🌞":"sun-with-face","🪐":"ringed-planet","⭐":"star","🌟":"glowing-star","🌠":"shooting-star","🌌":"milky-way","☁":"cloud","⛅":"sun-behind-cloud","⛈":"cloud-with-lightning-and-rain","🌤":"sun-behind-small-cloud","🌥":"sun-behind-large-cloud","🌦":"sun-behind-rain-cloud","🌧":"cloud-with-rain","🌨":"cloud-with-snow","🌩":"cloud-with-lightning","🌪":"tornado","🌫":"fog","🌬":"wind-face","🌀":"cyclone","🌈":"rainbow","🌂":"closed-umbrella","☂":"umbrella","☔":"umbrella-with-rain-drops","⛱":"umbrella-on-ground","⚡":"high-voltage","❄":"snowflake","☃":"snowman","⛄":"snowman-without-snow","☄":"comet","🔥":"fire","💧":"droplet","🌊":"water-wave","🎃":"jack-o-lantern","🎄":"christmas-tree","🎆":"fireworks","🎇":"sparkler","🧨":"firecracker","✨":"sparkles","🎈":"balloon","🎉":"party-popper","🎊":"confetti-ball","🎋":"tanabata-tree","🎍":"pine-decoration","🎎":"japanese-dolls","🎏":"carp-streamer","🎐":"wind-chime","🎑":"moon-viewing-ceremony","🧧":"red-envelope","🎀":"ribbon","🎁":"wrapped-gift","🎗":"reminder-ribbon","🎟":"admission-tickets","🎫":"ticket","🎖":"military-medal","🏆":"trophy","🏅":"sports-medal","🥇":"1st-place-medal","🥈":"2nd-place-medal","🥉":"3rd-place-medal","⚽":"soccer-ball","⚾":"baseball","🥎":"softball","🏀":"basketball","🏐":"volleyball","🏈":"american-football","🏉":"rugby-football","🎾":"tennis","🥏":"flying-disc","🎳":"bowling","🏏":"cricket-game","🏑":"field-hockey","🏒":"ice-hockey","🥍":"lacrosse","🏓":"ping-pong","🏸":"badminton","🥊":"boxing-glove","🥋":"martial-arts-uniform","🥅":"goal-net","⛳":"flag-in-hole","⛸":"ice-skate","🎣":"fishing-pole","🤿":"diving-mask","🎽":"running-shirt","🎿":"skis","🛷":"sled","🥌":"curling-stone","🎯":"bullseye","🪀":"yo-yo","🪁":"kite","🔫":"water-pistol","🎱":"pool-8-ball","🔮":"crystal-ball","🪄":"magic-wand","🎮":"video-game","🕹":"joystick","🎰":"slot-machine","🎲":"game-die","🧩":"puzzle-piece","🧸":"teddy-bear","🪅":"piñata","🪩":"mirror-ball","🪆":"nesting-dolls","♠":"spade-suit","♥":"heart-suit","♦":"diamond-suit","♣":"club-suit","♟":"chess-pawn","🃏":"joker","🀄":"mahjong-red-dragon","🎴":"flower-playing-cards","🎭":"performing-arts","🖼":"framed-picture","🎨":"artist-palette","🧵":"thread","🪡":"sewing-needle","🧶":"yarn","🪢":"knot","👓":"glasses","🕶":"sunglasses","🥽":"goggles","🥼":"lab-coat","🦺":"safety-vest","👔":"necktie","👕":"t-shirt","👖":"jeans","🧣":"scarf","🧤":"gloves","🧥":"coat","🧦":"socks","👗":"dress","👘":"kimono","🥻":"sari","🩱":"one-piece-swimsuit","🩲":"briefs","🩳":"shorts","👙":"bikini","👚":"woman-s-clothes","🪭":"⊛-folding-hand-fan","👛":"purse","👜":"handbag","👝":"clutch-bag","🛍":"shopping-bags","🎒":"backpack","🩴":"thong-sandal","👞":"man-s-shoe","👟":"running-shoe","🥾":"hiking-boot","🥿":"flat-shoe","👠":"high-heeled-shoe","👡":"woman-s-sandal","🩰":"ballet-shoes","👢":"woman-s-boot","🪮":"⊛-hair-pick","👑":"crown","👒":"woman-s-hat","🎩":"top-hat","🎓":"graduation-cap","🧢":"billed-cap","🪖":"military-helmet","⛑":"rescue-worker-s-helmet","📿":"prayer-beads","💄":"lipstick","💍":"ring","💎":"gem-stone","🔇":"muted-speaker","🔈":"speaker-low-volume","🔉":"speaker-medium-volume","🔊":"speaker-high-volume","📢":"loudspeaker","📣":"megaphone","📯":"postal-horn","🔔":"bell","🔕":"bell-with-slash","🎼":"musical-score","🎵":"musical-note","🎶":"musical-notes","🎙":"studio-microphone","🎚":"level-slider","🎛":"control-knobs","🎤":"microphone","🎧":"headphone","📻":"radio","🎷":"saxophone","🪗":"accordion","🎸":"guitar","🎹":"musical-keyboard","🎺":"trumpet","🎻":"violin","🪕":"banjo","🥁":"drum","🪘":"long-drum","🪇":"maracas","🪈":"flute","📱":"mobile-phone","📲":"mobile-phone-with-arrow","☎":"telephone","📞":"telephone-receiver","📟":"pager","📠":"fax-machine","🔋":"battery","🪫":"low-battery","🔌":"electric-plug","💻":"laptop","🖥":"desktop-computer","🖨":"printer","⌨":"keyboard","🖱":"computer-mouse","🖲":"trackball","💽":"computer-disk","💾":"floppy-disk","💿":"optical-disk","📀":"dvd","🧮":"abacus","🎥":"movie-camera","🎞":"film-frames","📽":"film-projector","🎬":"clapper-board","📺":"television","📷":"camera","📸":"camera-with-flash","📹":"video-camera","📼":"videocassette","🔍":"magnifying-glass-tilted-left","🔎":"magnifying-glass-tilted-right","🕯":"candle","💡":"light-bulb","🔦":"flashlight","🏮":"red-paper-lantern","🪔":"diya-lamp","📔":"notebook-with-decorative-cover","📕":"closed-book","📖":"open-book","📗":"green-book","📘":"blue-book","📙":"orange-book","📚":"books","📓":"notebook","📒":"ledger","📃":"page-with-curl","📜":"scroll","📄":"page-facing-up","📰":"newspaper","🗞":"rolled-up-newspaper","📑":"bookmark-tabs","🔖":"bookmark","🏷":"label","💰":"money-bag","🪙":"coin","💴":"yen-banknote","💵":"dollar-banknote","💶":"euro-banknote","💷":"pound-banknote","💸":"money-with-wings","💳":"credit-card","🧾":"receipt","💹":"chart-increasing-with-yen","✉":"envelope","📧":"e-mail","📨":"incoming-envelope","📩":"envelope-with-arrow","📤":"outbox-tray","📥":"inbox-tray","📦":"package","📫":"closed-mailbox-with-raised-flag","📪":"closed-mailbox-with-lowered-flag","📬":"open-mailbox-with-raised-flag","📭":"open-mailbox-with-lowered-flag","📮":"postbox","🗳":"ballot-box-with-ballot","✏":"pencil","✒":"black-nib","🖋":"fountain-pen","🖊":"pen","🖌":"paintbrush","🖍":"crayon","📝":"memo","💼":"briefcase","📁":"file-folder","📂":"open-file-folder","🗂":"card-index-dividers","📅":"calendar","📆":"tear-off-calendar","🗒":"spiral-notepad","🗓":"spiral-calendar","📇":"card-index","📈":"chart-increasing","📉":"chart-decreasing","📊":"bar-chart","📋":"clipboard","📌":"pushpin","📍":"round-pushpin","📎":"paperclip","🖇":"linked-paperclips","📏":"straight-ruler","📐":"triangular-ruler","✂":"scissors","🗃":"card-file-box","🗄":"file-cabinet","🗑":"wastebasket","🔒":"locked","🔓":"unlocked","🔏":"locked-with-pen","🔐":"locked-with-key","🔑":"key","🗝":"old-key","🔨":"hammer","🪓":"axe","⛏":"pick","⚒":"hammer-and-pick","🛠":"hammer-and-wrench","🗡":"dagger","⚔":"crossed-swords","💣":"bomb","🪃":"boomerang","🏹":"bow-and-arrow","🛡":"shield","🪚":"carpentry-saw","🔧":"wrench","🪛":"screwdriver","🔩":"nut-and-bolt","⚙":"gear","🗜":"clamp","⚖":"balance-scale","🦯":"white-cane","🔗":"link","⛓":"chains","🪝":"hook","🧰":"toolbox","🧲":"magnet","🪜":"ladder","⚗":"alembic","🧪":"test-tube","🧫":"petri-dish","🧬":"dna","🔬":"microscope","🔭":"telescope","📡":"satellite-antenna","💉":"syringe","🩸":"drop-of-blood","💊":"pill","🩹":"adhesive-bandage","🩼":"crutch","🩺":"stethoscope","🩻":"x-ray","🚪":"door","🛗":"elevator","🪞":"mirror","🪟":"window","🛏":"bed","🛋":"couch-and-lamp","🪑":"chair","🚽":"toilet","🪠":"plunger","🚿":"shower","🛁":"bathtub","🪤":"mouse-trap","🪒":"razor","🧴":"lotion-bottle","🧷":"safety-pin","🧹":"broom","🧺":"basket","🧻":"roll-of-paper","🪣":"bucket","🧼":"soap","🫧":"bubbles","🪥":"toothbrush","🧽":"sponge","🧯":"fire-extinguisher","🛒":"shopping-cart","🚬":"cigarette","⚰":"coffin","🪦":"headstone","⚱":"funeral-urn","🧿":"nazar-amulet","🪬":"hamsa","🗿":"moai","🪧":"placard","🪪":"identification-card","🏧":"atm-sign","🚮":"litter-in-bin-sign","🚰":"potable-water","♿":"wheelchair-symbol","🚹":"men-s-room","🚺":"women-s-room","🚻":"restroom","🚼":"baby-symbol","🚾":"water-closet","🛂":"passport-control","🛃":"customs","🛄":"baggage-claim","🛅":"left-luggage","⚠":"warning","🚸":"children-crossing","⛔":"no-entry","🚫":"prohibited","🚳":"no-bicycles","🚭":"no-smoking","🚯":"no-littering","🚱":"non-potable-water","🚷":"no-pedestrians","📵":"no-mobile-phones","🔞":"no-one-under-eighteen","☢":"radioactive","☣":"biohazard","⬆":"up-arrow","↗":"up-right-arrow","➡":"right-arrow","↘":"down-right-arrow","⬇":"down-arrow","↙":"down-left-arrow","⬅":"left-arrow","↖":"up-left-arrow","↕":"up-down-arrow","↔":"left-right-arrow","↩":"right-arrow-curving-left","↪":"left-arrow-curving-right","⤴":"right-arrow-curving-up","⤵":"right-arrow-curving-down","🔃":"clockwise-vertical-arrows","🔄":"counterclockwise-arrows-button","🔙":"back-arrow","🔚":"end-arrow","🔛":"on!-arrow","🔜":"soon-arrow","🔝":"top-arrow","🛐":"place-of-worship","⚛":"atom-symbol","🕉":"om","✡":"star-of-david","☸":"wheel-of-dharma","☯":"yin-yang","✝":"latin-cross","☦":"orthodox-cross","☪":"star-and-crescent","☮":"peace-symbol","🕎":"menorah","🔯":"dotted-six-pointed-star","🪯":"⊛-khanda","♈":"aries","♉":"taurus","♊":"gemini","♋":"cancer","♌":"leo","♍":"virgo","♎":"libra","♏":"scorpio","♐":"sagittarius","♑":"capricorn","♒":"aquarius","♓":"pisces","⛎":"ophiuchus","🔀":"shuffle-tracks-button","🔁":"repeat-button","🔂":"repeat-single-button","▶":"play-button","⏩":"fast-forward-button","⏭":"next-track-button","⏯":"play-or-pause-button","◀":"reverse-button","⏪":"fast-reverse-button","⏮":"last-track-button","🔼":"upwards-button","⏫":"fast-up-button","🔽":"downwards-button","⏬":"fast-down-button","⏸":"pause-button","⏹":"stop-button","⏺":"record-button","⏏":"eject-button","🎦":"cinema","🔅":"dim-button","🔆":"bright-button","📶":"antenna-bars","🛜":"⊛-wireless","📳":"vibration-mode","📴":"mobile-phone-off","♀":"female-sign","♂":"male-sign","⚧":"transgender-symbol","✖":"multiply","➕":"plus","➖":"minus","➗":"divide","🟰":"heavy-equals-sign","♾":"infinity","‼":"double-exclamation-mark","⁉":"exclamation-question-mark","❓":"red-question-mark","❔":"white-question-mark","❕":"white-exclamation-mark","❗":"red-exclamation-mark","〰":"wavy-dash","💱":"currency-exchange","💲":"heavy-dollar-sign","⚕":"medical-symbol","♻":"recycling-symbol","⚜":"fleur-de-lis","🔱":"trident-emblem","📛":"name-badge","🔰":"japanese-symbol-for-beginner","⭕":"hollow-red-circle","✅":"check-mark-button","☑":"check-box-with-check","✔":"check-mark","❌":"cross-mark","❎":"cross-mark-button","➰":"curly-loop","➿":"double-curly-loop","〽":"part-alternation-mark","✳":"eight-spoked-asterisk","✴":"eight-pointed-star","❇":"sparkle","©":"copyright","®":"registered","™":"trade-mark","#️⃣":"keycap-#","*️⃣":"keycap-*","0️⃣":"keycap-0","1️⃣":"keycap-1","2️⃣":"keycap-2","3️⃣":"keycap-3","4️⃣":"keycap-4","5️⃣":"keycap-5","6️⃣":"keycap-6","7️⃣":"keycap-7","8️⃣":"keycap-8","9️⃣":"keycap-9","🔟":"keycap-10","🔠":"input-latin-uppercase","🔡":"input-latin-lowercase","🔢":"input-numbers","🔣":"input-symbols","🔤":"input-latin-letters","🅰":"a-button-(blood-type)","🆎":"ab-button-(blood-type)","🅱":"b-button-(blood-type)","🆑":"cl-button","🆒":"cool-button","🆓":"free-button","ℹ":"information","🆔":"id-button","Ⓜ":"circled-m","🆕":"new-button","🆖":"ng-button","🅾":"o-button-(blood-type)","🆗":"ok-button","🅿":"p-button","🆘":"sos-button","🆙":"up!-button","🆚":"vs-button","🈁":"japanese-here-button","🈂":"japanese-service-charge-button","🈷":"japanese-monthly-amount-button","🈶":"japanese-not-free-of-charge-button","🈯":"japanese-reserved-button","🉐":"japanese-bargain-button","🈹":"japanese-discount-button","🈚":"japanese-free-of-charge-button","🈲":"japanese-prohibited-button","🉑":"japanese-acceptable-button","🈸":"japanese-application-button","🈴":"japanese-passing-grade-button","🈳":"japanese-vacancy-button","㊗":"japanese-congratulations-button","㊙":"japanese-secret-button","🈺":"japanese-open-for-business-button","🈵":"japanese-no-vacancy-button","🔴":"red-circle","🟠":"orange-circle","🟡":"yellow-circle","🟢":"green-circle","🔵":"blue-circle","🟣":"purple-circle","🟤":"brown-circle","⚫":"black-circle","⚪":"white-circle","🟥":"red-square","🟧":"orange-square","🟨":"yellow-square","🟩":"green-square","🟦":"blue-square","🟪":"purple-square","🟫":"brown-square","⬛":"black-large-square","⬜":"white-large-square","◼":"black-medium-square","◻":"white-medium-square","◾":"black-medium-small-square","◽":"white-medium-small-square","▪":"black-small-square","▫":"white-small-square","🔶":"large-orange-diamond","🔷":"large-blue-diamond","🔸":"small-orange-diamond","🔹":"small-blue-diamond","🔺":"red-triangle-pointed-up","🔻":"red-triangle-pointed-down","💠":"diamond-with-a-dot","🔘":"radio-button","🔳":"white-square-button","🔲":"black-square-button","🏁":"chequered-flag","🚩":"triangular-flag","🎌":"crossed-flags","🏴":"black-flag","🏳":"white-flag","🏳️🌈":"rainbow-flag","🏳️⚧️":"transgender-flag","🏴☠️":"pirate-flag","🇦🇨":"flag-ascension-island","🇦🇩":"flag-andorra","🇦🇪":"flag-united-arab-emirates","🇦🇫":"flag-afghanistan","🇦🇬":"flag-antigua-and-barbuda","🇦🇮":"flag-anguilla","🇦🇱":"flag-albania","🇦🇲":"flag-armenia","🇦🇴":"flag-angola","🇦🇶":"flag-antarctica","🇦🇷":"flag-argentina","🇦🇸":"flag-american-samoa","🇦🇹":"flag-austria","🇦🇺":"flag-australia","🇦🇼":"flag-aruba","🇦🇽":"flag-åland-islands","🇦🇿":"flag-azerbaijan","🇧🇦":"flag-bosnia-and-herzegovina","🇧🇧":"flag-barbados","🇧🇩":"flag-bangladesh","🇧🇪":"flag-belgium","🇧🇫":"flag-burkina-faso","🇧🇬":"flag-bulgaria","🇧🇭":"flag-bahrain","🇧🇮":"flag-burundi","🇧🇯":"flag-benin","🇧🇱":"flag-st-barthelemy","🇧🇲":"flag-bermuda","🇧🇳":"flag-brunei","🇧🇴":"flag-bolivia","🇧🇶":"flag-caribbean-netherlands","🇧🇷":"flag-brazil","🇧🇸":"flag-bahamas","🇧🇹":"flag-bhutan","🇧🇻":"flag-bouvet-island","🇧🇼":"flag-botswana","🇧🇾":"flag-belarus","🇧🇿":"flag-belize","🇨🇦":"flag-canada","🇨🇨":"flag-cocos-(keeling)-islands","🇨🇩":"flag-congo---kinshasa","🇨🇫":"flag-central-african-republic","🇨🇬":"flag-congo---brazzaville","🇨🇭":"flag-switzerland","🇨🇮":"flag-côte-d-ivoire","🇨🇰":"flag-cook-islands","🇨🇱":"flag-chile","🇨🇲":"flag-cameroon","🇨🇳":"flag-china","🇨🇴":"flag-colombia","🇨🇵":"flag-clipperton-island","🇨🇷":"flag-costa-rica","🇨🇺":"flag-cuba","🇨🇻":"flag-cape-verde","🇨🇼":"flag-curaçao","🇨🇽":"flag-christmas-island","🇨🇾":"flag-cyprus","🇨🇿":"flag-czechia","🇩🇪":"flag-germany","🇩🇬":"flag-diego-garcia","🇩🇯":"flag-djibouti","🇩🇰":"flag-denmark","🇩🇲":"flag-dominica","🇩🇴":"flag-dominican-republic","🇩🇿":"flag-algeria","🇪🇦":"flag-ceuta-and-melilla","🇪🇨":"flag-ecuador","🇪🇪":"flag-estonia","🇪🇬":"flag-egypt","🇪🇭":"flag-western-sahara","🇪🇷":"flag-eritrea","🇪🇸":"flag-spain","🇪🇹":"flag-ethiopia","🇪🇺":"flag-european-union","🇫🇮":"flag-finland","🇫🇯":"flag-fiji","🇫🇰":"flag-falkland-islands","🇫🇲":"flag-micronesia","🇫🇴":"flag-faroe-islands","🇫🇷":"flag-france","🇬🇦":"flag-gabon","🇬🇧":"flag-united-kingdom","🇬🇩":"flag-grenada","🇬🇪":"flag-georgia","🇬🇫":"flag-french-guiana","🇬🇬":"flag-guernsey","🇬🇭":"flag-ghana","🇬🇮":"flag-gibraltar","🇬🇱":"flag-greenland","🇬🇲":"flag-gambia","🇬🇳":"flag-guinea","🇬🇵":"flag-guadeloupe","🇬🇶":"flag-equatorial-guinea","🇬🇷":"flag-greece","🇬🇸":"flag-south-georgia-and-south-sandwich-islands","🇬🇹":"flag-guatemala","🇬🇺":"flag-guam","🇬🇼":"flag-guinea-bissau","🇬🇾":"flag-guyana","🇭🇰":"flag-hong-kong-sar-china","🇭🇲":"flag-heard-and-mcdonald-islands","🇭🇳":"flag-honduras","🇭🇷":"flag-croatia","🇭🇹":"flag-haiti","🇭🇺":"flag-hungary","🇮🇨":"flag-canary-islands","🇮🇩":"flag-indonesia","🇮🇪":"flag-ireland","🇮🇱":"flag-israel","🇮🇲":"flag-isle-of-man","🇮🇳":"flag-india","🇮🇴":"flag-british-indian-ocean-territory","🇮🇶":"flag-iraq","🇮🇷":"flag-iran","🇮🇸":"flag-iceland","🇮🇹":"flag-italy","🇯🇪":"flag-jersey","🇯🇲":"flag-jamaica","🇯🇴":"flag-jordan","🇯🇵":"flag-japan","🇰🇪":"flag-kenya","🇰🇬":"flag-kyrgyzstan","🇰🇭":"flag-cambodia","🇰🇮":"flag-kiribati","🇰🇲":"flag-comoros","🇰🇳":"flag-st-kitts-and-nevis","🇰🇵":"flag-north-korea","🇰🇷":"flag-south-korea","🇰🇼":"flag-kuwait","🇰🇾":"flag-cayman-islands","🇰🇿":"flag-kazakhstan","🇱🇦":"flag-laos","🇱🇧":"flag-lebanon","🇱🇨":"flag-st-lucia","🇱🇮":"flag-liechtenstein","🇱🇰":"flag-sri-lanka","🇱🇷":"flag-liberia","🇱🇸":"flag-lesotho","🇱🇹":"flag-lithuania","🇱🇺":"flag-luxembourg","🇱🇻":"flag-latvia","🇱🇾":"flag-libya","🇲🇦":"flag-morocco","🇲🇨":"flag-monaco","🇲🇩":"flag-moldova","🇲🇪":"flag-montenegro","🇲🇫":"flag-st-martin","🇲🇬":"flag-madagascar","🇲🇭":"flag-marshall-islands","🇲🇰":"flag-north-macedonia","🇲🇱":"flag-mali","🇲🇲":"flag-myanmar-(burma)","🇲🇳":"flag-mongolia","🇲🇴":"flag-macao-sar-china","🇲🇵":"flag-northern-mariana-islands","🇲🇶":"flag-martinique","🇲🇷":"flag-mauritania","🇲🇸":"flag-montserrat","🇲🇹":"flag-malta","🇲🇺":"flag-mauritius","🇲🇻":"flag-maldives","🇲🇼":"flag-malawi","🇲🇽":"flag-mexico","🇲🇾":"flag-malaysia","🇲🇿":"flag-mozambique","🇳🇦":"flag-namibia","🇳🇨":"flag-new-caledonia","🇳🇪":"flag-niger","🇳🇫":"flag-norfolk-island","🇳🇬":"flag-nigeria","🇳🇮":"flag-nicaragua","🇳🇱":"flag-netherlands","🇳🇴":"flag-norway","🇳🇵":"flag-nepal","🇳🇷":"flag-nauru","🇳🇺":"flag-niue","🇳🇿":"flag-new-zealand","🇴🇲":"flag-oman","🇵🇦":"flag-panama","🇵🇪":"flag-peru","🇵🇫":"flag-french-polynesia","🇵🇬":"flag-papua-new-guinea","🇵🇭":"flag-philippines","🇵🇰":"flag-pakistan","🇵🇱":"flag-poland","🇵🇲":"flag-st-pierre-and-miquelon","🇵🇳":"flag-pitcairn-islands","🇵🇷":"flag-puerto-rico","🇵🇸":"flag-palestinian-territories","🇵🇹":"flag-portugal","🇵🇼":"flag-palau","🇵🇾":"flag-paraguay","🇶🇦":"flag-qatar","🇷🇪":"flag-reunion","🇷🇴":"flag-romania","🇷🇸":"flag-serbia","🇷🇺":"flag-russia","🇷🇼":"flag-rwanda","🇸🇦":"flag-saudi-arabia","🇸🇧":"flag-solomon-islands","🇸🇨":"flag-seychelles","🇸🇩":"flag-sudan","🇸🇪":"flag-sweden","🇸🇬":"flag-singapore","🇸🇭":"flag-st-helena","🇸🇮":"flag-slovenia","🇸🇯":"flag-svalbard-and-jan-mayen","🇸🇰":"flag-slovakia","🇸🇱":"flag-sierra-leone","🇸🇲":"flag-san-marino","🇸🇳":"flag-senegal","🇸🇴":"flag-somalia","🇸🇷":"flag-suriname","🇸🇸":"flag-south-sudan","🇸🇹":"flag-são-tome-and-príncipe","🇸🇻":"flag-el-salvador","🇸🇽":"flag-sint-maarten","🇸🇾":"flag-syria","🇸🇿":"flag-eswatini","🇹🇦":"flag-tristan-da-cunha","🇹🇨":"flag-turks-and-caicos-islands","🇹🇩":"flag-chad","🇹🇫":"flag-french-southern-territories","🇹🇬":"flag-togo","🇹🇭":"flag-thailand","🇹🇯":"flag-tajikistan","🇹🇰":"flag-tokelau","🇹🇱":"flag-timor-leste","🇹🇲":"flag-turkmenistan","🇹🇳":"flag-tunisia","🇹🇴":"flag-tonga","🇹🇷":"flag-turkey","🇹🇹":"flag-trinidad-and-tobago","🇹🇻":"flag-tuvalu","🇹🇼":"flag-taiwan","🇹🇿":"flag-tanzania","🇺🇦":"flag-ukraine","🇺🇬":"flag-uganda","🇺🇲":"flag-us-outlying-islands","🇺🇳":"flag-united-nations","🇺🇸":"flag-united-states","🇺🇾":"flag-uruguay","🇺🇿":"flag-uzbekistan","🇻🇦":"flag-vatican-city","🇻🇨":"flag-st-vincent-and-grenadines","🇻🇪":"flag-venezuela","🇻🇬":"flag-british-virgin-islands","🇻🇮":"flag-us-virgin-islands","🇻🇳":"flag-vietnam","🇻🇺":"flag-vanuatu","🇼🇫":"flag-wallis-and-futuna","🇼🇸":"flag-samoa","🇽🇰":"flag-kosovo","🇾🇪":"flag-yemen","🇾🇹":"flag-mayotte","🇿🇦":"flag-south-africa","🇿🇲":"flag-zambia","🇿🇼":"flag-zimbabwe","🏴":"flag-england","🏴":"flag-scotland","🏴":"flag-wales"},Vm=Object.keys(Hm);async function Wm(e,t,n){let r=await $m(t.filenameTemplate,t,n,e)||"";t.replaceEmojisInFilename&&Vm.forEach((e=>r=r.replaceAll(e," _"+Hm[e]+"_ ")));const a=t.filenameReplacementCharacter;if(r=function(e,t=Bm,n=qm){return t.forEach((t=>e=e.replace(new RegExp("["+t+"]+","g"),n))),e=e.replace(/\.\.\//g,"").replace(/^\/+/,"").replace(/\/+/g,"/").replace(/\/$/,"").replace(/\.$/,"").replace(/\.\//g,"."+n).replace(/\/\./g,"/"+n),e}(r,t.filenameReplacedCharacters,a),t.backgroundSave||(r=r.replace(/\//g,a)),!t.keepFilename&&("bytes"==t.filenameMaxLengthUnit&&n.getContentSize(r)>t.filenameMaxLength||r.length>t.filenameMaxLength)){const e=r.match(/(\.[^.]{3,4})$/),n=e&&e[0]&&e[0].length>1?e[0]:"";r="bytes"==t.filenameMaxLengthUnit?await Jm(r,t.filenameMaxLength-n.length):r.substring(0,t.filenameMaxLength-n.length),r=r+"…"+n}return r||(r="Unnamed page"),r}async function $m(e="",t,n,r,a){const i=new URL(t.saveUrl);e=await h(e,"page-title",(()=>t.title||"No title"),a,t.filenameReplacementCharacter),e=await h(e,"page-heading",(()=>t.info.heading||"No heading"),a,t.filenameReplacementCharacter),e=await h(e,"page-language",(()=>t.info.lang||"No language"),a,t.filenameReplacementCharacter),e=await h(e,"page-description",(()=>t.info.description||"No description"),a,t.filenameReplacementCharacter),e=await h(e,"page-author",(()=>t.info.author||"No author"),a,t.filenameReplacementCharacter),e=await h(e,"page-creator",(()=>t.info.creator||"No creator"),a,t.filenameReplacementCharacter),e=await h(e,"page-publisher",(()=>t.info.publisher||"No publisher"),a,t.filenameReplacementCharacter),await u(t.saveDate),await u(t.visitDate,"visit-"),e=await h(e,"url-hash",(()=>i.hash.substring(1)||"No hash"),a,t.filenameReplacementCharacter),e=await h(e,"url-host",(()=>i.host.replace(/\/$/,"")||"No host"),a,t.filenameReplacementCharacter),e=await h(e,"url-hostname",(()=>i.hostname.replace(/\/$/,"")||"No hostname"),a,t.filenameReplacementCharacter);const o=c(i.href);e=await h(e,"url-href",(()=>o||"No href"),void 0===a||a,t.filenameReplacementCharacter),e=await h(e,"url-href-digest-sha-1",o?async()=>n.digest("SHA-1",o):"No href",a,t.filenameReplacementCharacter),e=await h(e,"url-href-flat",(()=>c(i.href)||"No href"),!1,t.filenameReplacementCharacter),e=await h(e,"url-referrer",(()=>c(t.referrer)||"No referrer"),void 0===a||a,t.filenameReplacementCharacter),e=await h(e,"url-referrer-flat",(()=>c(t.referrer)||"No referrer"),!1,t.filenameReplacementCharacter),e=await h(e,"url-password",(()=>i.password||"No password"),a,t.filenameReplacementCharacter),e=await h(e,"url-pathname",(()=>c(i.pathname).replace(/^\//,"").replace(/\/$/,"")||"No pathname"),void 0===a||a,t.filenameReplacementCharacter),e=await h(e,"url-pathname-flat",(()=>c(i.pathname)||"No pathname"),!1,t.filenameReplacementCharacter),e=await h(e,"url-port",(()=>i.port||"No port"),a,t.filenameReplacementCharacter),e=await h(e,"url-protocol",(()=>i.protocol||"No protocol"),a,t.filenameReplacementCharacter),e=await h(e,"url-search",(()=>i.search.substring(1)||"No search"),a,t.filenameReplacementCharacter);const l=Array.from(new URLSearchParams(i.search));for(const[n,r]of l)e=await h(e,"url-search-"+n,(()=>r||""),a,t.filenameReplacementCharacter);e=e.replace(/{\s*url-search-[^}\s]*\s*}/gi,""),e=await h(e,"url-username",(()=>i.username||"No username"),a,t.filenameReplacementCharacter),e=await h(e,"tab-id",(()=>String(t.tabId||"No tab id")),a,t.filenameReplacementCharacter),e=await h(e,"tab-index",(()=>String(t.tabIndex||"No tab index")),a,t.filenameReplacementCharacter),e=await h(e,"url-last-segment",(()=>c(function(e,t){let n=e.pathname.match(/\/([^/]+)$/),r=n&&n[0];r||(n=e.href.match(/([^/]+)\/?$/),r=n&&n[0]);r||(n=r.match(/(.*)\.[^.]+$/),r=n&&n[0]);r||(r=e.hostname.replace(/\/+/g,t).replace(/\/$/,""));n=r.match(/(.*)\.[^.]+$/),n&&n[1]&&(r=n[1]);return r=r.replace(/\/$/,"").replace(/^\//,""),r}(i,t.filenameReplacementCharacter))||"No last segment"),a,t.filenameReplacementCharacter),r&&(e=await h(e,"digest-sha-256",(async()=>n.digest("SHA-256",r)),a,t.filenameReplacementCharacter),e=await h(e,"digest-sha-384",(async()=>n.digest("SHA-384",r)),a,t.filenameReplacementCharacter),e=await h(e,"digest-sha-512",(async()=>n.digest("SHA-512",r)),a,t.filenameReplacementCharacter));const s=t.bookmarkFolders&&t.bookmarkFolders.join("/")||"";return e=await h(e,"bookmark-pathname",(()=>s),void 0===a||a,t.filenameReplacementCharacter),e=await h(e,"bookmark-pathname-flat",(()=>s),!1,t.filenameReplacementCharacter),(e=await h(e,"profile-name",(()=>t.profileName),a,t.filenameReplacementCharacter)).trim();function c(e){try{return decodeURI(e)}catch(t){return e}}async function u(n,r=""){n&&(e=await h(e,r+"datetime-iso",(()=>n.toISOString()),a,t.filenameReplacementCharacter),e=await h(e,r+"date-iso",(()=>n.toISOString().split("T")[0]),a,t.filenameReplacementCharacter),e=await h(e,r+"time-iso",(()=>n.toISOString().split("T")[1].split("Z")[0]),a,t.filenameReplacementCharacter),e=await h(e,r+"date-locale",(()=>n.toLocaleDateString()),a,t.filenameReplacementCharacter),e=await h(e,r+"time-locale",(()=>n.toLocaleTimeString()),a,t.filenameReplacementCharacter),e=await h(e,r+"day-locale",(()=>String(n.getDate()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"month-locale",(()=>String(n.getMonth()+1).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"year-locale",(()=>String(n.getFullYear())),a,t.filenameReplacementCharacter),e=await h(e,r+"datetime-locale",(()=>n.toLocaleString()),a,t.filenameReplacementCharacter),e=await h(e,r+"datetime-utc",(()=>n.toUTCString()),a,t.filenameReplacementCharacter),e=await h(e,r+"day-utc",(()=>String(n.getUTCDate()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"month-utc",(()=>String(n.getUTCMonth()+1).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"year-utc",(()=>String(n.getUTCFullYear())),a,t.filenameReplacementCharacter),e=await h(e,r+"hours-locale",(()=>String(n.getHours()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"minutes-locale",(()=>String(n.getMinutes()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"seconds-locale",(()=>String(n.getSeconds()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"hours-utc",(()=>String(n.getUTCHours()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"minutes-utc",(()=>String(n.getUTCMinutes()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"seconds-utc",(()=>String(n.getUTCSeconds()).padStart(2,"0")),a,t.filenameReplacementCharacter),e=await h(e,r+"time-ms",(()=>String(n.getTime())),a,t.filenameReplacementCharacter))}async function h(e,t,n,r,a){let i,o;if(e){const l="{\\s*"+t.replace(/\W|_/g,"[$&]")+"\\s*}";let s=new RegExp(l+"\\[\\d+(ch)?\\]","g");if(e.match(s)){const t=e.match(s)[0];t.match(/\[(\d+)\]$/)?(i=Number(t.match(/\[(\d+)\]$/)[1]),(isNaN(i)||i<=0)&&(i=null)):(o=Number(t.match(/\[(\d+)ch\]$/)[1]),(isNaN(o)||o<=0)&&(o=null))}else s=new RegExp(l,"g");if(e.match(s)){let t=await n();return r||(t=t.replace(/\/+/g,a)),i?t=await Jm(t,i):o&&(t=t.substring(0,o)),e.replace(s,t)}}return e}}function Jm(e,t){const n=new Blob([e]),r=new FileReader;return r.readAsText(n.slice(0,t)),new Promise(((n,a)=>{r.addEventListener("load",(()=>{e.startsWith(r.result)?n(r.result):Jm(e,t-1).then(n).catch(a)}),!1),r.addEventListener("error",a,!1)}))}const Qm=1048576,Km=["~","+","\\\\","?","%","*",":","|",'"',"<",">","\0-",""],Gm=globalThis.URL,Ym=globalThis.DOMParser,Xm=globalThis.Blob,Zm=globalThis.FileReader,eg=(e,t)=>globalThis.fetch(e,t),tg=globalThis.crypto,ng=globalThis.TextDecoder,rg=globalThis.TextEncoder;async function ag(e,t,n,r,a){if(n)if(t.asBinary){const e=new Zm;e.readAsDataURL(new Xm([n],{type:a+(t.charset?";charset="+t.charset:"")})),n=await new Promise(((t,n)=>{e.addEventListener("load",(()=>t(e.result)),!1),e.addEventListener("error",n,!1)}))}else{const e=new Uint8Array(n.slice(0,4));132==e[0]&&49==e[1]&&149==e[2]&&51==e[3]?r="gb18030":255==e[0]&&254==e[1]?r="utf-16le":254==e[0]&&255==e[1]&&(r="utf-16be");try{n=new ng(r).decode(n)}catch(e){n=new ng(r="utf-8").decode(n)}n=n.replace(/\ufeff/gi,"")}else n=t.asBinary?Jd:"";return{data:n,resourceURL:e,charset:r}}const ig=((og=og||{}).fetch=og.fetch||eg,og.frameFetch=og.frameFetch||og.fetch||eg,{getContent:async function(e,t){let n,r,a,i;const o=og.fetch,l=og.frameFetch;if(t.blockMixedContent&&/^https:/i.test(t.baseURI)&&!/^https:/i.test(e))return ag(e,t);a=t.networkTimeout?new Promise(((e,n)=>{i=e,r=globalThis.setTimeout((()=>n(new Error("network timeout"))),t.networkTimeout)})):new Promise((e=>{i=e}));try{const r=t.acceptHeaders?t.acceptHeaders[t.expectedType]:"*/*";if(t.frameId)try{n=await Promise.race([l(e,{frameId:t.frameId,referrer:t.resourceReferrer,headers:{accept:r}}),a])}catch(t){n=await Promise.race([o(e,{headers:{accept:r}}),a])}else n=await Promise.race([o(e,{referrer:t.resourceReferrer,headers:{accept:r}}),a])}catch(n){return ag(e,t)}finally{i(),t.networkTimeout&&globalThis.clearTimeout(r)}let s;try{s=await n.arrayBuffer()}catch(n){return{data:t.asBinary?Jd:"",resourceURL:e}}e=n.url||e;let c,u="";try{const e=new ud(n.headers.get("content-type"));u=e.type+"/"+e.subtype,c=e.parameters.get("charset")}catch(e){}if(u||(u=function(e,t){if("image"==e){if(n([255,255,255,255],[0,0,1,0]))return"image/x-icon";if(n([255,255,255,255],[0,0,2,0]))return"image/x-icon";if(n([255,255],[78,77]))return"image/bmp";if(n([255,255,255,255,255,255],[71,73,70,56,57,97]))return"image/gif";if(n([255,255,255,255,255,255],[71,73,70,56,59,97]))return"image/gif";if(n([255,255,255,255,0,0,0,0,255,255,255,255,255,255],[82,73,70,70,0,0,0,0,87,69,66,80,86,80]))return"image/webp";if(n([255,255,255,255,255,255,255,255],[137,80,78,71,13,10,26,10]))return"image/png";if(n([255,255,255],[255,216,255]))return"image/jpeg"}if("font"==e){if(n([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,80]))return"application/vnd.ms-fontobject";if(n([255,255,255,255],[0,1,0,0]))return"font/ttf";if(n([255,255,255,255],[79,84,84,79]))return"font/otf";if(n([255,255,255,255],[116,116,99,102]))return"font/collection";if(n([255,255,255,255],[119,79,70,70]))return"font/woff";if(n([255,255,255,255],[119,79,70,50]))return"font/woff2"}function n(e,n){let r=!0,a=0;if(t.byteLength>=n.length){const i=new Uint8Array(t,0,e.length);for(a=0;a<e.length&&r;a++)r=r&&(i[a]&e[a])==n[a];return r}}}(t.expectedType,s)),!c&&t.charset&&(c=t.charset),t.asBinary){if(n.status>=400)return ag(e,t);try{return t.maxResourceSizeEnabled&&s.byteLength>t.maxResourceSize*Qm?ag(e,t):ag(e,t,s,null,u)}catch(n){return ag(e,t)}}else{if(n.status>=400||t.validateTextContentType&&u&&!u.startsWith("text/"))return ag(e,t);if(c||(c="utf-8"),t.maxResourceSizeEnabled&&s.byteLength>t.maxResourceSize*Qm)return ag(e,t,null,c);try{return ag(e,t,s,c,u)}catch(n){return ag(e,t,null,c)}}},parseURL:(e,t)=>void 0===t?new Gm(e):new Gm(e,t),resolveURL(e,t){return this.parseURL(e,t).href},getSearchParams:e=>Array.from(new URLSearchParams(e)),getValidFilename:(e,t=Km,n="_")=>(t.forEach((t=>e=e.replace(new RegExp("["+t+"]+","g"),n))),e=e.replace(/\.\.\//g,"").replace(/^\/+/,"").replace(/\/+/g,"/").replace(/\/$/,"").replace(/\.$/,"").replace(/\.\//g,"."+n).replace(/\/\./g,"/"+n)),parseDocContent(e,t){const n=(new Ym).parseFromString(e,"text/html");n.head||n.documentElement.insertBefore(n.createElement("HEAD"),n.body);let r=n.querySelector("base");return r&&r.getAttribute("href")||(r&&r.remove(),r=n.createElement("base"),r.setAttribute("href",t),n.head.insertBefore(r,n.head.firstChild)),n},parseXMLContent:e=>(new Ym).parseFromString(e,"text/xml"),parseSVGContent(e){const t=(new Ym).parseFromString(e,"image/svg+xml");return t.querySelector("parsererror")?(new Ym).parseFromString(e,"text/html"):t},async digest(e,t){try{return function(e){const t=[],n=new DataView(e);for(let e=0;e<n.byteLength;e+=4){const r="00000000",a=(r+n.getUint32(e).toString(16)).slice(-r.length);t.push(a)}return t.join("")}(await tg.subtle.digest(e,new rg("utf-8").encode(t)))}catch(e){return""}},getContentSize:e=>new Xm([e]).size,formatFilename(e,t){return Wm(e,t,this)},evalTemplate(e,t,n,r){return $m(e,t,this,n,r)},minifyHTML:(e,t)=>function(e,t){!function(e){e.querySelectorAll("style, script:not([src])").forEach((e=>{e.textContent.trim()||e.remove()}))}(e);const n=e.createTreeWalker(e.documentElement,Dm,null,!1);let r=n.nextNode();for(;r;){const e=jm.find((e=>e(r,t))),a=r;r=n.nextNode(),e&&a.remove()}}(e,t),minifyCSSRules:(e,t,n)=>xm(e,t,n),removeUnusedFonts:(e,t,n,r)=>Up(e,t,n,r),removeAlternativeFonts:(e,t,n,r)=>Ep(e,t,n,r),getMediaAllInfo:(e,t,n)=>function(e,t,n){return new lm(e,t,n).getMediaAllInfo()}(e,t,n),compressCSS:(e,t)=>rd(e,t),minifyMedias:e=>ym(e),removeAlternativeImages:e=>Em(e),parseSrcset:e=>od(e),preProcessDoc:(e,t,n)=>Kd(e,t,n),postProcessDoc(e,t,n){!function(e,t,n){if(e.querySelectorAll("["+Md+"]").forEach((e=>{e.textContent=e.getAttribute(Md),e.removeAttribute(Md)})),e.querySelectorAll("meta[disabled-http-equiv]").forEach((e=>{e.setAttribute("http-equiv",e.getAttribute("disabled-http-equiv")),e.removeAttribute("disabled-http-equiv")})),e.head&&e.head.querySelectorAll("*:not(base):not(link):not(meta):not(noscript):not(script):not(style):not(template):not(title)").forEach((e=>e.removeAttribute("hidden"))),!t){const n=[vd,Cd,xd,Sd,zd,Ld,Rd,Id,Od,Ed,Nd,Fd];t=e.querySelectorAll(n.map((e=>"["+e+"]")).join(","))}t.forEach((e=>{e.removeAttribute(vd),e.removeAttribute(xd),e.removeAttribute(Ad),e.removeAttribute(Cd),e.removeAttribute(Sd),e.removeAttribute(zd),e.removeAttribute(Ld),e.removeAttribute(Rd),e.removeAttribute(Id),e.removeAttribute(Od),e.removeAttribute(Ed),e.removeAttribute(Nd),e.removeAttribute(Fd),e.removeAttribute(_d)})),n&&n.forEach(((e,t)=>e.replaceWith(t)))}(e,t,n)},serialize:(e,t)=>s(e,t),removeQuotes:e=>rp(e),appendInfobar:(e,t)=>function(e,t,n){return f(e,t,n)}(e,t),ON_BEFORE_CAPTURE_EVENT_NAME:fd,ON_AFTER_CAPTURE_EVENT_NAME:bd,WIN_ID_ATTRIBUTE_NAME:Td,REMOVED_CONTENT_ATTRIBUTE_NAME:vd,HIDDEN_CONTENT_ATTRIBUTE_NAME:xd,HIDDEN_FRAME_ATTRIBUTE_NAME:Cd,IMAGE_ATTRIBUTE_NAME:zd,POSTER_ATTRIBUTE_NAME:Ld,VIDEO_ATTRIBUTE_NAME:Rd,CANVAS_ATTRIBUTE_NAME:Id,STYLE_ATTRIBUTE_NAME:_d,INPUT_VALUE_ATTRIBUTE_NAME:Od,SHADOW_ROOT_ATTRIBUTE_NAME:Ed,PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME:Sd,STYLESHEET_ATTRIBUTE_NAME:Nd,SELECTED_CONTENT_ATTRIBUTE_NAME:Dd,INVALID_ELEMENT_ATTRIBUTE_NAME:jd,COMMENT_HEADER:"Page saved with SingleFile",COMMENT_HEADER_LEGACY:"Archive processed by SingleFile",SINGLE_FILE_UI_ELEMENT_CLASS:Wd,EMPTY_RESOURCE:Jd,INFOBAR_TAGNAME:$d,WAIT_FOR_USERSCRIPT_PROPERTY_NAME:"_singleFile_waitForUserScript"});var og;const lg={serialize:(e,t)=>s(e,t),getDoctypeString:e=>ig.getDoctypeString(e),appendInfobar:(e,t,n)=>f(e,t,n),extractInfobarData:e=>b(e),displayIcon:(e,t)=>function(e,t){const n=b(e);n.saveUrl&&(f(e,n,t),y(e,n))}(e,t),INFOBAR_TAGNAME:m};e.helper=lg,Object.defineProperty(e,"__esModule",{value:!0})}));
|