@bhsd/stylelint-browserify 17.9.1 → 17.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/stylelint.min.js +23 -23
- package/package.json +8 -10
package/bundle/stylelint.min.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";(()=>{var o6=Object.defineProperty;var qk=e=>{throw TypeError(e)};var a6=(e,t,r)=>t in e?o6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>a6(e,typeof t!="symbol"?t+"":t,r),s6=(e,t,r)=>t.has(e)||qk("Cannot "+r);var jh=(e,t,r)=>(s6(e,t,"read from private field"),r?r.call(e):t.get(e)),Wk=(e,t,r)=>t.has(e)?qk("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var l6=Object.create,Tm=Object.defineProperty,u6=Object.getOwnPropertyDescriptor,c6=Object.getOwnPropertyNames,d6=Object.getPrototypeOf,p6=Object.prototype.hasOwnProperty,m6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),N=(e,t)=>{for(var r in t)Tm(e,r,{get:t[r],enumerable:!0})},HA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of c6(t))!p6.call(e,i)&&i!==r&&Tm(e,i,{get:()=>t[i],enumerable:!(n=u6(t,i))||n.enumerable});return e},Z=(e,t,r)=>(r=e!=null?l6(d6(e)):{},HA(t||!e||!e.__esModule?Tm(r,"default",{value:e,enumerable:!0}):r,e)),JA=e=>HA(Tm({},"__esModule",{value:!0}),e),ow={};N(ow,{isAbsolute:()=>Dm,join:()=>aw,normalize:()=>XA,relative:()=>sw});var Dm,aw,XA,sw,Lm=y(()=>{"use strict";Dm=()=>!0,aw=()=>"",XA=()=>{},sw=()=>""}),Ft,Jr,Yp,lw,zr=y(()=>{Ft="all",Jr="error",Yp="warning",lw=Jr});function _k(e){return Object.prototype.toString.call(e)==="[object Object]"}function h6(e){var t,r;return _k(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(_k(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var f6=y(()=>{});function Hc(e){return typeof e=="boolean"||e instanceof Boolean}function Kp(e){return typeof e=="function"||e instanceof Function}function xr(e){return typeof e=="number"||e instanceof Number}function g6(e){return e!==null&&typeof e=="object"}function U(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Sr(e){return h6(e)}function Ge(e,t=void 0){t?console.assert(e,t):console.assert(e)}function mc(e){console.assert(xr(e),`"${e}" must be a number`)}function Vi(e){console.assert($(e),`"${e}" must be a string`)}function Uk(e){return!(!Sr(e)||!xr(e.line)||!xr(e.column))}function b6(e){return!(!Sr(e)||!Uk(e.start)||!Uk(e.end))}var q=y(()=>{f6()}),Ac,uw=y(()=>{Ac=()=>{}}),v6=Y((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],g=h,f,x,w,k,S,z,A,L,E=0,B=g.charCodeAt(E),te=g.length,re=[{nodes:b}],we=0,pe,ae="",$e="",_e="";E<te;)if(B<=32){f=E;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(E,f),w=b[b.length-1],B===n&&we?_e=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!pe||pe&&pe.type==="function"&&pe.value!=="calc")?$e=k:b.push({type:"space",sourceIndex:E,sourceEndIndex:f,value:k}),E=f}else if(B===i||B===o){f=E,x=B===i?"'":'"',k={type:"string",sourceIndex:E,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(z=f;g.charCodeAt(z-1)===a;)z-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(E+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),E=f+1,B=g.charCodeAt(E)}else if(B===s&&g.charCodeAt(E+1)===c)f=g.indexOf("*/",E),k={type:"comment",sourceIndex:E,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(E+2,f),b.push(k),E=f+2,B=g.charCodeAt(E);else if((B===s||B===c)&&pe&&pe.type==="function"&&pe.value==="calc")k=g[E],b.push({type:"word",sourceIndex:E-$e.length,sourceEndIndex:E+k.length,value:k}),E+=1,B=g.charCodeAt(E);else if(B===s||B===l||B===u)k=g[E],b.push({type:"div",sourceIndex:E-$e.length,sourceEndIndex:E+k.length,value:k,before:$e,after:""}),$e="",E+=1,B=g.charCodeAt(E);else if(r===B){f=E;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=E,k={type:"function",sourceIndex:E-ae.length,value:ae,before:g.slice(L+1,f)},E=f,ae==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(z=f;g.charCodeAt(z-1)===a;)z-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);A=f;do A-=1,B=g.charCodeAt(A);while(B<=32);L<A?(E!==A+1?k.nodes=[{type:"word",sourceIndex:E,sourceEndIndex:A+1,value:g.slice(E,A+1)}]:k.nodes=[],k.unclosed&&A+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:A+1,sourceEndIndex:f,value:g.slice(A+1,f)})):(k.after=g.slice(A+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),E=f+1,k.sourceEndIndex=k.unclosed?f:E,B=g.charCodeAt(E),b.push(k)}else we+=1,k.after="",k.sourceEndIndex=E+1,b.push(k),re.push(k),b=k.nodes=[],pe=k;ae=""}else if(n===B&&we)E+=1,B=g.charCodeAt(E),pe.after=_e,pe.sourceEndIndex+=_e.length,_e="",we-=1,re[re.length-1].sourceEndIndex=E,re.pop(),pe=re[we],b=pe.nodes;else{f=E;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<te&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&pe&&pe.type==="function"&&pe.value==="calc"||B===s&&pe.type==="function"&&pe.value==="calc"||B===n&&we));k=g.slice(E,f),r===B?ae=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:E,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:E,sourceEndIndex:f,value:k}),E=f}for(E=re.length-1;E;E-=1)re[E].unclosed=!0,re[E].sourceEndIndex=g.length;return re[0].nodes}}),y6=Y((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),w6=Y((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),k6=Y((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),he=Y((e,t)=>{var r=v6(),n=y6(),i=w6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=k6(),o.walk=n,o.stringify=i,t.exports=o});function at(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var st=y(()=>{});function ge(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ye=y(()=>{});function je(e){var t,r;return ZA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function x6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function ZA(e){return 1+e.name.length}function S6(e){return je(e)+at(e).length}function eN(e){let{prop:t}=e.raws,r=g6(t);return tN([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ie(e){let{between:t,value:r}=e.raws;return eN(e)+tN([t||":",r&&"prefix"in r&&r.prefix])}function C6(e){return ge(e).length}function A6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function tN(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var ee=y(()=>{st(),ye(),q()});function Be(e){let t=e.raws;return t.value&&t.value.raw||e.value}var qe=y(()=>{});function rN(e){return nN.test(e)}var nN,iN=y(()=>{nN=/@\{.+?\}/});function oN(e){return aN.test(e)}var aN,sN=y(()=>{aN=/\$\(.+?\)/});function lN(e){return uN.test(e)}var uN,cN=y(()=>{uN=/#\{.+?\}/s});function dN(e){return pN.test(e)}var pN,mN=y(()=>{pN=/\{.+?\}/s});function Fm(e){return!!(rN(e)||lN(e)||dN(e)||oN(e))}var Mm=y(()=>{iN(),sN(),cN(),mN()});function Re(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||Fm(t)||/__MSG_\S+__/.test(e))}var We=y(()=>{Mm()});function ur(e){return e.type==="root"}function ut(e){return e.type==="rule"}function Ie(e){return e.type==="atrule"}function Yr(e){return e.type==="comment"}function Qi(e){return e.type==="decl"}function cv(e){return e.type==="document"}function hN(e){return e.type==="div"}function An(e){return e.type==="function"}function Jc({type:e}){return e==="word"}function Vk(e){return!!e.source}var fe=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return Qk(e,t);for(let r of e){let n=Qk(r,t);if(n)return n}return!1}function Qk(e,t){if(!Array.isArray(t))return Yk(e,t);for(let r of t){let n=Yk(e,r);if(n)return n}return!1}function Gk(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function Yk(e,t){if(t instanceof RegExp)return Gk(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=Gk(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function R(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var H=y(()=>{Le()});function N6(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:Ie(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var z6=y(()=>{fe()});function E6(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var P6=y(()=>{});function O6(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),o=0;for(let s=0;s<i.length;s++){let l=i[s],u=t.text[s];if(l!==u)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let l=i.length-1-s;if(l<o)break;let u=i[l],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(u!==d)break;n--,a--}return r===n&&(r>t.range[0]?(r--,o--):n<t.range[1]&&(n++,a++)),{text:t.text.slice(o,a),range:[r,n]}}var I6=y(()=>{});function j6(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var T6=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=D6(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,g=(k=(w=Kp(b)?b(...h):b)!=null?w:c)!=null?k:lw;if(l&&g===Yp)return;if((Kp(i)||cw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(M6(e,a.start.line)||fN(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Jr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===Yp&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,m&&(f.url=m),f.fix=R6({...e,line:a.start.line});let x=L6(p,h,n);r.warn(x,f)}function D6(e){if(!e.node)throw new Error(`The "${e.ruleName}" rule provided incorrect position arguments to \`utils.report()\`. To fix, pass a PostCSS \`node\` to the function.`);if(b6(e))return{start:e.start,end:e.end};if("start"in e||"end"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`start\` and \`end\` as valid positions to the function.`);if(B6(e))return e.node.rangeBy({index:e.index,endIndex:e.endIndex});if("index"in e||"endIndex"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`index\` and \`endIndex\` as numbers to the function.`);return"word"in e&&$(e.word)?e.node.rangeBy({word:e.word}):e.node.rangeBy({})}function L6(e,t,r){return E6($(e)?F6(e,...t):e(...t),r)}function F6(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function fN(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Ft])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function M6({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||gN(n,r,o,i))return!1;let s=cw(e)?e.apply:e;return Kp(s)?(s(),$6({fixersData:a,ruleName:r}),!0):!1}function R6({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||gN(t,n,o,i)||!cw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!xr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!xr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>j6(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=N6(l,c),c=O6(l,c),a.push(c.range),c}function gN(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&fN(t,e,n))}function $6({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function B6(e){return!(!Sr(e)||!xr(e.index)||!xr(e.endIndex))}function cw(e){return!(!Sr(e)||!e.node||!Kp(e.apply))}var O=y(()=>{q(),zr(),z6(),P6(),I6(),T6()});function I(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var j=y(()=>{});function It(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var jt=y(()=>{});function dw(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var pw=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)q6(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function q6({possible:e,actual:t,optional:r},n,i){if(t===!1&&!vN.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||dw(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Sr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${io(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${io(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())Kk(e,a)||i(`Invalid option value ${io(a)} for rule "${n}"`);return}if(!Sr(t)||typeof t!="object"||t===null){i(`Invalid option value ${io(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(bN.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())Kk(l,u)||i(`Invalid value ${io(u)} for option "${a}" of rule "${n}"`)}}}function Kk(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function io(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var bN,vN,D=y(()=>{pw(),q(),bN=new Set(["severity","message","url","reportDisables","disableFix"]),vN=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),yN={};N(yN,{default:()=>wN});function W6(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function _6(e){let t=Nc.default.unit(e);Ge(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function U6(e){return e.type==="word"||e.type==="function"?e:void 0}function V6(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(Jc)}function Hk(e){let t=Nc.default.unit(e);return t&&t.unit==="%"}function Jk(e){let t=Nc.default.unit(e);return t&&t.unit===""}var Nc,oo,Th,Xk,Zk,ex,tx,Dh,ao,wN,Q6=y(()=>{Nc=Z(he(),1),q(),ee(),qe(),We(),fe(),H(),O(),j(),jt(),D(),oo="alpha-value-notation",Th=I(oo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Xk={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},Zk=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,ex=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,tx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Dh=/\d/,ao=(e,t)=>(r,n)=>{if(!T(n,oo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,U]},optional:!0}))return;let i=Object.freeze({number:{expFunc:Jk,fixFunc:_6},percentage:{expFunc:Hk,fixFunc:W6}});r.walkDecls(o=>{let a=Be(o),s=Zk.test(o.prop);if(!(s||ex.test(a))||!Dh.test(a))return;let l=(0,Nc.default)(a);l.walk(u=>{let c=s&&Dh.test(u.value),d=u.type==="function"&&tx.test(u.value),p=c?U6(u):d?V6(u):void 0;if(!p)return;let{value:m}=p;if(!Re(m)||!Jk(m)&&!Hk(m))return;let v=e;if(R(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,g=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,It(o,l.toString())};P({message:Th.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:oo,fix:{apply:x,node:o}})})})},ao.ruleName=oo,ao.messages=Th,ao.meta=Xk,wN=ao}),kN={};N(kN,{default:()=>xN});var rx,so,Lh,nx,lo,xN,G6=y(()=>{rx=Z(he(),1),q(),qe(),We(),H(),O(),j(),D(),so="annotation-no-unknown",Lh=I(so,{rejected:e=>`Unknown annotation "${e}"`}),nx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},lo=(e,t)=>(r,n)=>{if(!T(n,so,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,U]},optional:!0}))return;r.walkDecls(i);function i(a){!Re(a.value)||a.important||!a.value.includes("!")||(0,rx.default)(Be(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);R(t,"ignoreAnnotations",u)||P({message:Lh.rejected,messageArgs:[l],node:a,result:n,ruleName:so,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},lo.ruleName=so,lo.messages=Lh,lo.meta=nx,xN=lo});function Ze(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),SN={};N(SN,{default:()=>CN});var uo,Fh,ix,Tn,CN,Y6=y(()=>{q(),et(),Le(),O(),j(),D(),uo="at-rule-allowed-list",Fh=I(uo,{rejected:e=>`Disallowed at-rule "${e}"`}),ix={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},Tn=e=>(t,r)=>{if(!T(r,uo,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Fh.rejected,messageArgs:[a],node:i,result:r,ruleName:uo,word:a})})},Tn.primaryOptionArray=!0,Tn.ruleName=uo,Tn.messages=Fh,Tn.meta=ix,CN=Tn});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var Gi=y(()=>{}),dv,zc,AN,pv,mv,NN,Yi=y(()=>{Gi(),dv=new Set(["document","nest","viewport"]),zc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),AN=new Set(["mixin","scope"]),pv=new Set(["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"]),mv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),NN=Ce(dv,zc,pv,mv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),zN,EN,hc,hv,ox,PN,ON,IN,jN,TN,DN,LN,Hp,FN,$r=y(()=>{zN=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),EN=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),hc=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),hv=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),ox=new Set(["border-color","scrollbar-color"]),PN=new Set([...hv,...ox]),ON=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),IN=new Set(["transition","animation"]),jN=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),TN=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"]),DN=new Set(["accelerator","alt","animation-trigger-behavior","animation-trigger-exit-range","animation-trigger-exit-range-end","animation-trigger-exit-range-start","animation-trigger-range","animation-trigger-range-end","animation-trigger-range-start","animation-trigger-timeline","app-region","audio-level","buffered-rendering","chains","color-profile","color-rendering","column-progression","column-rule-outset","display-align","elevation","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","flow","input-format","inset-area","item-slack","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","line-increment","marker-knockout-left","marker-knockout-right","marker-offset","marker-pattern","marker-segment","mask-position-x","mask-position-y","mask-source-type","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","navigation","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","offset-rotation","pen-action","perspective-origin-x","perspective-origin-y","pitch","pitch-range","play-during","position-try-options","property-name","richness","row-rule-outset","rule-outset","rule-paint-order","running","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-start-target","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar3d-light-color","scrollbar3dlight-color","snap-height","solid-color","solid-opacity","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","supported-color-schemes","text-decoration-blink","text-decoration-line-through","text-decoration-none","text-decoration-overline","text-decoration-skip-inset","text-decoration-trim","text-decoration-underline","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","touch-action-delay","transform-origin-x","transform-origin-y","transform-origin-z","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),LN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),Hp=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),FN=new Set([...Hp.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),MN,K6=y(()=>{MN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","selectedcontent","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}),H6=y(()=>{K6()}),Jp,ax,sx,RN,mw,$N,Ec,fv,gv,lx,Xp,Rm,Pc,Oc,Ii,BN,bv,vv,Zp,ux,qN,cx,WN,Wt=y(()=>{H6(),Gi(),Jp=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),ax=new Set(MN),sx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),RN=Ce(Jp,ax,sx),mw=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),$N=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),Ec=new Set(["before","after","first-line","first-letter"]),fv=new Set(["part"]),gv=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),lx=Ce(gv,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-meter-horizontal-bar","-webkit-meter-horizontal-optimum-value","-webkit-meter-horizontal-suboptimal-value","-webkit-meter-horizontal-even-less-good-value","-webkit-meter-vertical-bar","-webkit-meter-vertical-optimum-value","-webkit-meter-vertical-suboptimal-value","-webkit-meter-vertical-even-less-good-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),Xp=new Set(["content","shadow"]),Rm=Ce(Ec,lx,fv,Xp,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),Pc=new Set(["0%","100%"]),Oc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),Ii=new Set(["nth-child","nth-last-child"]),BN=new Set(["first","right","left","blank","recto","verso","nth"]),bv=new Set(["dir","lang"]),vv=new Set(["has","is","matches","not","where"]),Zp=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),ux=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),qN=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),cx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),WN=Ce(Oc,bv,vv,Ii,cx,ux,Zp,["active-view-transition-type","active-view-transition","active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","even-less-good-value","first-child","first-of-type","focus-visible","focus-within","focus","fullscreen","future","has-slotted","heading","high-value","host-context","host","hover","in-range","indeterminate","invalid","last-child","last-of-type","link","low-value","modal","only-child","only-of-type","open","optimal-value","optional","out-of-range","past","picture-in-picture","placeholder-shown","popover-open","read-only","read-write","required","root","scope","state","suboptimal-value","target","unchecked","unresolved","user-invalid","user-valid","valid","visited","window-inactive"])}),_N,yv,wv,hw,em,kv,fw,Ic,tm,gw,bw,dx,Ki,Er=y(()=>{_N=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),yv=new Set(["hsl","hsla","hwb"]),wv=new Set(["lch","oklch"]),hw=new Set([...yv,...wv]),em=new Set(["oklab","oklch"]),kv=new Set(["lab","lch"]),fw=new Set([...em,...kv]),Ic=new Set(["hsla","rgba"]),tm=new Set(["hsl","rgb"]),gw=new Set([...Ic,...tm]),bw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),dx=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),Ki=new Set([...dx,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,vw,yw,UN,ww,VN,Xr,px,mx,hx,QN,rm,fx,nm,gx,GN,bx,vx,yx,wx,im,kx,kw,jc,xx,Sx,Cx,Ax,Nx,xw,YN,KN,HN,JN,XN,om,zx,Ex,ZN,ez,ji,tz,Px,Ox,rz,Tc,Je=y(()=>{Gi(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),vw=new Set(["block","inline","run-in"]),yw=new Set(["flow","flow-root","table","flex","grid","ruby"]),UN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),ww=new Set(["list-item"]),VN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Xr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),px=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),mx=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),hx=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),QN=Ce(px,mx,hx),rm=new Set(["bolder","lighter"]),fx=new Set(["normal","bold"]),nm=Ce(rm,fx),gx=new Set(["100","200","300","400","500","600","700","800","900"]),GN=new Set(["400","700"]),bx=Ce(Te,nm,gx),vx=Ce(Te,["normal","italic","oblique"]),yx=Ce(Te,["normal","none","small-caps"]),wx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),im=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),kx=Ce(Te,["normal"]),kw=Ce(Te,vx,yx,bx,wx,im,kx,Xr),jc=Ce(Te,["none"]),xx=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Sx=new Set(["infinite"]),Cx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),Ax=new Set(["none","forwards","backwards","both"]),Nx=Ce(Te,["running","paused"]),xw=Ce(Te,jc,xx,Sx,Cx,Ax,Nx),YN=Ce(Te,["auto","span"]),KN=Ce(Te,["auto","span"]),HN=Ce(Te,["auto","span"]),JN=Ce(Te,["none"]),XN=Ce(Te,["none"]),om=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),zx=Ce(Te,["inside","outside"]),Ex=Ce(Te,["none"]),ZN=Ce(Te,om,zx,Ex),ez=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),ji=new Set(["from","to"]),tz=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Px=new Set(["-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-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Ox=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),rz=Ce(Px,Ox,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Tc=new Set(["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"])}),Sw,nz=y(()=>{Sw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),Ti,xv,iz,Xc=y(()=>{Gi(),Ti=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),xv=new Set(["dpi","dpcm","dppx","x"]),iz=Ce(Ti,xv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),oz,J6=y(()=>{oz=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Ix,xe,az,Br,Q,V=y(()=>{Wt(),Er(),Je(),nz(),Xc(),Yi(),J6(),Ix=[...Oc.values(),...Ii.values()].join("|"),xe={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...zc.values()].join("|")}).)*$`,"i")},az={syntaxName:/^syntax$/i},Br={containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Ix})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...bw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...gw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...Sw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...Zp,...Xp].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...Jp,...mw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...ww,...vw,...yw,...UN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...hw.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...fw.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,mathFunction:new RegExp(`\\b(?:${[...Ki.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...nm,...rm])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...GN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...ji.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Pc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Tc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...oz].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Ic.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...tm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...Ti.values()].join("|")})\\b`,"i")}});function sz(e){return!!(e.startsWith("$")||e.includes(".$"))}var lz=y(()=>{});function gt(e){let t=e.prop,r=e.parent;return!(sz(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&ut(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&ut(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var bt=y(()=>{fe(),lz()}),uz={};N(uz,{default:()=>cz});function X6(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:mv.has(t.name.toLowerCase())}function Z6(e,t,r){return e.name.toLowerCase()==="page"&&pv.has(r.name.toLowerCase())&&TN.has(t)}function eB(e,t){return e.name.toLowerCase()==="page"&&jN.has(t)}var co,Mh,jx,po,cz,tB=y(()=>{Yi(),$r(),V(),fe(),et(),bt(),O(),j(),D(),co="at-rule-descriptor-no-unknown",Mh=I(co,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),jx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},po=e=>(t,r)=>{if(!T(r,co,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(xe.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!gt(o))return;let{prop:a,value:s,parent:l}=o;if(eB(i,a)||l&&Ie(l)&&(Z6(i,a,l)||X6(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Mh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:co,result:r})})})},po.ruleName=co,po.messages=Mh,po.meta=jx,cz=po}),dz={};N(dz,{default:()=>pz});var mo,Rh,Tx,ho,pz,rB=y(()=>{V(),ee(),et(),bt(),O(),j(),D(),mo="at-rule-descriptor-value-no-unknown",Rh=I(mo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Tx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ho=e=>(t,r)=>{if(!T(r,mo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(xe.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!gt(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ie(o),c=u+s.length;P({message:Rh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:mo,result:r})})})},ho.ruleName=mo,ho.messages=Rh,ho.meta=Tx,pz=ho}),mz={};N(mz,{default:()=>hz});var fo,$h,Dx,Dn,hz,nB=y(()=>{q(),et(),Le(),O(),j(),D(),fo="at-rule-disallowed-list",$h=I(fo,{rejected:e=>`Disallowed at-rule "${e}"`}),Dx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Dn=e=>(t,r)=>{if(!T(r,fo,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:$h.rejected,messageArgs:[a],node:i,result:r,ruleName:fo,word:a})})},Dn.primaryOptionArray=!0,Dn.ruleName=fo,Dn.messages=$h,Dn.meta=Dx,hz=Dn});function iB(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var oB=y(()=>{});function aB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var sB=y(()=>{});function Zc({node:e,newline:t,action:r}){switch(Ge(t),r){case"add":iB(e,t);break;case"remove":aB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var ed=y(()=>{oB(),q(),sB()});function Ed(e){return e.source&&e.source.start&&e.source.start.line}function Mr(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(Ed(e)===Ed(t))return Mr(t);let r=t.prev();return r&&Ed(t)===Ed(r)?Mr(t):t}var Nn=y(()=>{});function td(e){return e===""||e===void 0?!1:fz.test(e)}var fz,rd=y(()=>{fz=/\n[\r\t ]*\n/});function Pd(e){return e&&e.source&&e.source.start&&e.source.start.line}function gz(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Pd(e)===Pd(t)||Pd(t)===Pd(t.next())?gz(t):t}var lB=y(()=>{});function Lx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function Cw(e){if(!Yr(e))return!1;let t=Mr(e);if(Lx(t,e))return!0;let r=gz(e);if(r&&Lx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
|
|
2
|
-
`)}var
|
|
3
|
-
`)||!
|
|
1
|
+
"use strict";(()=>{var F6=Object.defineProperty;var ix=e=>{throw TypeError(e)};var M6=(e,t,r)=>t in e?F6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>M6(e,typeof t!="symbol"?t+"":t,r),R6=(e,t,r)=>t.has(e)||ix("Cannot "+r);var Vh=(e,t,r)=>(R6(e,t,"read from private field"),r?r.call(e):t.get(e)),ox=(e,t,r)=>t.has(e)?ix("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var $6=Object.create,Hm=Object.defineProperty,B6=Object.getOwnPropertyDescriptor,q6=Object.getOwnPropertyNames,W6=Object.getPrototypeOf,_6=Object.prototype.hasOwnProperty,U6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=(e,t)=>{for(var r in t)Hm(e,r,{get:t[r],enumerable:!0})},yA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of q6(t))!_6.call(e,i)&&i!==r&&Hm(e,i,{get:()=>t[i],enumerable:!(n=B6(t,i))||n.enumerable});return e},X=(e,t,r)=>(r=e!=null?$6(W6(e)):{},yA(t||!e||!e.__esModule?Hm(r,"default",{value:e,enumerable:!0}):r,e)),wA=e=>yA(Hm({},"__esModule",{value:!0}),e),kw={};A(kw,{isAbsolute:()=>Xm,join:()=>xw,normalize:()=>kA,relative:()=>Sw});var Xm,xw,kA,Sw,Jm=y(()=>{"use strict";Xm=()=>!0,xw=()=>"",kA=()=>{},Sw=()=>""}),Mt,Jr,cm,Cw,Er=y(()=>{Mt="all",Jr="error",cm="warning",Cw=Jr});function ax(e){return Object.prototype.toString.call(e)==="[object Object]"}function V6(e){var t,r;return ax(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(ax(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Q6=y(()=>{});function cd(e){return typeof e=="boolean"||e instanceof Boolean}function dm(e){return typeof e=="function"||e instanceof Function}function Sr(e){return typeof e=="number"||e instanceof Number}function Y6(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Cr(e){return V6(e)}function We(e,t=void 0){t?console.assert(e,t):console.assert(e)}function zc(e){console.assert(Sr(e),`"${e}" must be a number`)}function eo(e){console.assert($(e),`"${e}" must be a string`)}function sx(e){return!(!Cr(e)||!Sr(e.line)||!Sr(e.column))}function G6(e){return!(!Cr(e)||!sx(e.start)||!sx(e.end))}var q=y(()=>{Q6()}),Mc,zw=y(()=>{Mc=()=>{}}),K6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],g=h,f,x,w,k,S,E,z,L,N=0,B=g.charCodeAt(N),te=g.length,re=[{nodes:b}],be=0,he,oe="",qe="",Ue="";N<te;)if(B<=32){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(N,f),w=b[b.length-1],B===n&&be?Ue=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!he||he&&he.type==="function"&&he.value!=="calc")?qe=k:b.push({type:"space",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}else if(B===i||B===o){f=N,x=B===i?"'":'"',k={type:"string",sourceIndex:N,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(N+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),N=f+1,B=g.charCodeAt(N)}else if(B===s&&g.charCodeAt(N+1)===c)f=g.indexOf("*/",N),k={type:"comment",sourceIndex:N,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(N+2,f),b.push(k),N=f+2,B=g.charCodeAt(N);else if((B===s||B===c)&&he&&he.type==="function"&&he.value==="calc")k=g[N],b.push({type:"word",sourceIndex:N-qe.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=g.charCodeAt(N);else if(B===s||B===l||B===u)k=g[N],b.push({type:"div",sourceIndex:N-qe.length,sourceEndIndex:N+k.length,value:k,before:qe,after:""}),qe="",N+=1,B=g.charCodeAt(N);else if(r===B){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=N,k={type:"function",sourceIndex:N-oe.length,value:oe,before:g.slice(L+1,f)},N=f,oe==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);z=f;do z-=1,B=g.charCodeAt(z);while(B<=32);L<z?(N!==z+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:z+1,value:g.slice(N,z+1)}]:k.nodes=[],k.unclosed&&z+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:z+1,sourceEndIndex:f,value:g.slice(z+1,f)})):(k.after=g.slice(z+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),N=f+1,k.sourceEndIndex=k.unclosed?f:N,B=g.charCodeAt(N),b.push(k)}else be+=1,k.after="",k.sourceEndIndex=N+1,b.push(k),re.push(k),b=k.nodes=[],he=k;oe=""}else if(n===B&&be)N+=1,B=g.charCodeAt(N),he.after=Ue,he.sourceEndIndex+=Ue.length,Ue="",be-=1,re[re.length-1].sourceEndIndex=N,re.pop(),he=re[be],b=he.nodes;else{f=N;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<te&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&he&&he.type==="function"&&he.value==="calc"||B===s&&he.type==="function"&&he.value==="calc"||B===n&&be));k=g.slice(N,f),r===B?oe=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}for(N=re.length-1;N;N-=1)re[N].unclosed=!0,re[N].sourceEndIndex=g.length;return re[0].nodes}}),H6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),X6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),J6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),ue=G((e,t)=>{var r=K6(),n=H6(),i=X6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=J6(),o.walk=n,o.stringify=i,t.exports=o});function st(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var lt=y(()=>{});function fe(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ye=y(()=>{});function je(e){var t,r;return xA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function Z6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function xA(e){return 1+e.name.length}function eB(e){return je(e)+st(e).length}function SA(e){let{prop:t}=e.raws,r=Y6(t);return CA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ie(e){let{between:t,value:r}=e.raws;return SA(e)+CA([t||":",r&&"prefix"in r&&r.prefix])}function tB(e){return fe(e).length}function rB(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function CA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var J=y(()=>{lt(),ye(),q()});function $e(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Be=y(()=>{});function zA(e){return AA.test(e)}var AA,NA=y(()=>{AA=/@\{.+?\}/});function EA(e){return PA.test(e)}var PA,IA=y(()=>{PA=/\$\(.+?\)/});function OA(e){return jA.test(e)}var jA,TA=y(()=>{jA=/#\{.+?\}/s});function DA(e){return LA.test(e)}var LA,FA=y(()=>{LA=/\{.+?\}/s});function Zm(e){return!!(zA(e)||OA(e)||DA(e)||EA(e))}var eh=y(()=>{NA(),IA(),TA(),FA()});function Re(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||Zm(t)||/__MSG_\S+__/.test(e))}var _e=y(()=>{eh()});function ur(e){return e.type==="root"}function it(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Kr(e){return e.type==="comment"}function to(e){return e.type==="decl"}function Cv(e){return e.type==="document"}function MA(e){return e.type==="div"}function Nn(e){return e.type==="function"}function En({type:e}){return e==="word"}function lx(e){return!!e.source}var me=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return ux(e,t);for(let r of e){let n=ux(r,t);if(n)return n}return!1}function ux(e,t){if(!Array.isArray(t))return dx(e,t);for(let r of t){let n=dx(e,r);if(n)return n}return!1}function cx(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function dx(e,t){if(t instanceof RegExp)return cx(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=cx(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function M(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var K=y(()=>{Le()});function nB(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:Oe(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var iB=y(()=>{me()});function oB(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var aB=y(()=>{});function sB(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),o=0;for(let s=0;s<i.length;s++){let l=i[s],u=t.text[s];if(l!==u)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let l=i.length-1-s;if(l<o)break;let u=i[l],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(u!==d)break;n--,a--}return r===n&&(r>t.range[0]?(r--,o--):n<t.range[1]&&(n++,a++)),{text:t.text.slice(o,a),range:[r,n]}}var lB=y(()=>{});function uB(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var cB=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=dB(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,g=(k=(w=dm(b)?b(...h):b)!=null?w:c)!=null?k:Cw;if(l&&g===cm)return;if((dm(i)||Aw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(hB(e,a.start.line)||RA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Jr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===cm&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,m&&(f.url=m),f.fix=fB({...e,line:a.start.line});let x=pB(p,h,n);r.warn(x,f)}function dB(e){if(!e.node)throw new Error(`The "${e.ruleName}" rule provided incorrect position arguments to \`utils.report()\`. To fix, pass a PostCSS \`node\` to the function.`);if(G6(e))return{start:e.start,end:e.end};if("start"in e||"end"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`start\` and \`end\` as valid positions to the function.`);if(bB(e))return e.node.rangeBy({index:e.index,endIndex:e.endIndex});if("index"in e||"endIndex"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`index\` and \`endIndex\` as numbers to the function.`);return"word"in e&&$(e.word)?e.node.rangeBy({word:e.word}):e.node.rangeBy({})}function pB(e,t,r){return oB($(e)?mB(e,...t):e(...t),r)}function mB(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function RA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Mt])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function hB({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||$A(n,r,o,i))return!1;let s=Aw(e)?e.apply:e;return dm(s)?(s(),gB({fixersData:a,ruleName:r}),!0):!1}function fB({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||$A(t,n,o,i)||!Aw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!Sr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!Sr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>uB(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=nB(l,c),c=sB(l,c),a.push(c.range),c}function $A(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&RA(t,e,n))}function gB({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function bB(e){return!(!Cr(e)||!Sr(e.index)||!Sr(e.endIndex))}function Aw(e){return!(!Cr(e)||!e.node||!dm(e.apply))}var I=y(()=>{q(),Er(),iB(),aB(),lB(),cB()});function O(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var j=y(()=>{});function ft(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var gt=y(()=>{});function Nw(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Ew=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)vB(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function vB({possible:e,actual:t,optional:r},n,i){if(t===!1&&!qA.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||Nw(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Cr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${po(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${po(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())px(e,a)||i(`Invalid option value ${po(a)} for rule "${n}"`);return}if(!Cr(t)||typeof t!="object"||t===null){i(`Invalid option value ${po(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(BA.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())px(l,u)||i(`Invalid value ${po(u)} for option "${a}" of rule "${n}"`)}}}function px(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function po(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var BA,qA,D=y(()=>{Ew(),q(),BA=new Set(["severity","message","url","reportDisables","disableFix"]),qA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),WA={};A(WA,{default:()=>_A});function yB(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function wB(e){let t=Rc.default.unit(e);We(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function kB(e){return e.type==="word"||e.type==="function"?e:void 0}function xB(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(En)}function mx(e){let t=Rc.default.unit(e);return t&&t.unit==="%"}function hx(e){let t=Rc.default.unit(e);return t&&t.unit===""}var Rc,mo,Qh,fx,gx,bx,vx,Yh,ho,_A,SB=y(()=>{Rc=X(ue(),1),q(),J(),Be(),_e(),me(),K(),I(),j(),gt(),D(),mo="alpha-value-notation",Qh=O(mo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fx={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},gx=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,bx=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,vx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Yh=/\d/,ho=(e,t)=>(r,n)=>{if(!T(n,mo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:hx,fixFunc:wB},percentage:{expFunc:mx,fixFunc:yB}});r.walkDecls(o=>{let a=$e(o),s=gx.test(o.prop);if(!(s||bx.test(a))||!Yh.test(a))return;let l=(0,Rc.default)(a);l.walk(u=>{let c=s&&Yh.test(u.value),d=u.type==="function"&&vx.test(u.value),p=c?kB(u):d?xB(u):void 0;if(!p)return;let{value:m}=p;if(!Re(m)||!hx(m)&&!mx(m))return;let v=e;if(M(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,g=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,ft(o,l.toString())};P({message:Qh.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:mo,fix:{apply:x,node:o}})})})},ho.ruleName=mo,ho.messages=Qh,ho.meta=fx,_A=ho}),UA={};A(UA,{default:()=>VA});var yx,fo,Gh,wx,go,VA,CB=y(()=>{yx=X(ue(),1),q(),Be(),_e(),K(),I(),j(),D(),fo="annotation-no-unknown",Gh=O(fo,{rejected:e=>`Unknown annotation "${e}"`}),wx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},go=(e,t)=>(r,n)=>{if(!T(n,fo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Re(a.value)||a.important||!a.value.includes("!")||(0,yx.default)($e(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);M(t,"ignoreAnnotations",u)||P({message:Gh.rejected,messageArgs:[l],node:a,result:n,ruleName:fo,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},go.ruleName=fo,go.messages=Gh,go.meta=wx,VA=go});function Ze(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),QA={};A(QA,{default:()=>YA});var bo,Kh,kx,$n,YA,zB=y(()=>{q(),et(),Le(),I(),j(),D(),bo="at-rule-allowed-list",Kh=O(bo,{rejected:e=>`Disallowed at-rule "${e}"`}),kx={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},$n=e=>(t,r)=>{if(!T(r,bo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Kh.rejected,messageArgs:[a],node:i,result:r,ruleName:bo,word:a})})},$n.primaryOptionArray=!0,$n.ruleName=bo,$n.messages=Kh,$n.meta=kx,YA=$n});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var ro=y(()=>{}),zv,$c,GA,Av,Nv,KA,no=y(()=>{ro(),zv=new Set(["document","nest","viewport"]),$c=new Set(["apply","container","layer","media","scope","starting-style","supports"]),GA=new Set(["mixin","scope"]),Av=new Set(["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"]),Nv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),KA=Ce(zv,$c,Av,Nv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),HA,XA,JA,Ac,Ev,xx,ZA,eN,tN,rN,nN,iN,oN,Bc,Pv,Pr=y(()=>{HA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),XA=new Set(["transition","transition-property","will-change"]),JA=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),Ac=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),Ev=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),xx=new Set(["border-color","scrollbar-color"]),ZA=new Set([...Ev,...xx]),eN=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),tN=new Set(["transition","animation"]),rN=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),nN=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"]),iN=new Set(["accelerator","alt","animation-trigger-behavior","animation-trigger-exit-range","animation-trigger-exit-range-end","animation-trigger-exit-range-start","animation-trigger-range","animation-trigger-range-end","animation-trigger-range-start","animation-trigger-timeline","app-region","audio-level","buffered-rendering","chains","color-profile","color-rendering","column-progression","column-rule-outset","display-align","elevation","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","flow","input-format","inset-area","item-slack","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","line-increment","marker-knockout-left","marker-knockout-right","marker-offset","marker-pattern","marker-segment","mask-position-x","mask-position-y","mask-source-type","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","navigation","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","offset-rotation","pen-action","perspective-origin-x","perspective-origin-y","pitch","pitch-range","play-during","position-try-options","property-name","richness","row-rule-outset","rule-outset","rule-paint-order","running","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-start-target","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar3d-light-color","scrollbar3dlight-color","snap-height","solid-color","solid-opacity","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","supported-color-schemes","text-decoration-blink","text-decoration-line-through","text-decoration-none","text-decoration-overline","text-decoration-skip-inset","text-decoration-trim","text-decoration-underline","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","touch-action-delay","transform-origin-x","transform-origin-y","transform-origin-z","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),oN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),Bc=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),Pv=new Set([...Bc.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),aN,AB=y(()=>{aN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","selectedcontent","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}),NB=y(()=>{AB()}),pm,Sx,Cx,sN,Pw,lN,qc,Iv,mm,zx,hm,th,Wc,_c,$i,uN,Ov,jv,Tv,fm,Ax,Dv,Nx,cN,Tt=y(()=>{NB(),ro(),pm=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),Sx=new Set(aN),Cx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),sN=Ce(pm,Sx,Cx),Pw=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),lN=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),qc=new Set(["before","after","first-line","first-letter"]),Iv=new Set(["part"]),mm=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),zx=Ce(mm,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-meter-horizontal-bar","-webkit-meter-horizontal-optimum-value","-webkit-meter-horizontal-suboptimal-value","-webkit-meter-horizontal-even-less-good-value","-webkit-meter-vertical-bar","-webkit-meter-vertical-optimum-value","-webkit-meter-vertical-suboptimal-value","-webkit-meter-vertical-even-less-good-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),hm=new Set(["content","shadow"]),th=Ce(qc,zx,Iv,hm,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),Wc=new Set(["0%","100%"]),_c=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),$i=new Set(["nth-child","nth-last-child"]),uN=new Set(["first","right","left","blank","recto","verso","nth"]),Ov=new Set(["dir","lang"]),jv=new Set(["ltr","rtl"]),Tv=new Set(["has","is","matches","not","where"]),fm=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Ax=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),Dv=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Nx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),cN=Ce(_c,Ov,Tv,$i,Nx,Ax,fm,["active-view-transition-type","active-view-transition","active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","even-less-good-value","first-child","first-of-type","focus-visible","focus-within","focus","fullscreen","future","has-slotted","heading","high-value","host-context","host","hover","in-range","indeterminate","invalid","last-child","last-of-type","link","low-value","modal","only-child","only-of-type","open","optimal-value","optional","out-of-range","past","picture-in-picture","placeholder-shown","popover-open","read-only","read-write","required","root","scope","state","suboptimal-value","target","unchecked","unresolved","user-invalid","user-valid","valid","visited","window-inactive"])}),dN,Lv,Fv,Iw,gm,Mv,Ow,Uc,bm,jw,Tw,Ex,io,Ir=y(()=>{dN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Lv=new Set(["hsl","hsla","hwb"]),Fv=new Set(["lch","oklch"]),Iw=new Set([...Lv,...Fv]),gm=new Set(["oklab","oklch"]),Mv=new Set(["lab","lch"]),Ow=new Set([...gm,...Mv]),Uc=new Set(["hsla","rgba"]),bm=new Set(["hsl","rgb"]),jw=new Set([...Uc,...bm]),Tw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Ex=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),io=new Set([...Ex,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,Dw,Lw,pN,Fw,mN,Zr,Px,Ix,Ox,hN,vm,jx,ym,Tx,fN,Dx,Lx,Fx,Mx,wm,Rx,Mw,Vc,$x,Bx,qx,Wx,_x,Rw,gN,bN,vN,yN,wN,km,Ux,Vx,kN,xN,Bi,SN,Qx,Yx,CN,Qc,yn,zN,Ke=y(()=>{ro(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),Dw=new Set(["block","inline","run-in"]),Lw=new Set(["flow","flow-root","table","flex","grid","ruby"]),pN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Fw=new Set(["list-item"]),mN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Px=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),Ix=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),Ox=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),hN=Ce(Px,Ix,Ox),vm=new Set(["bolder","lighter"]),jx=new Set(["normal","bold"]),ym=Ce(vm,jx),Tx=new Set(["100","200","300","400","500","600","700","800","900"]),fN=new Set(["400","700"]),Dx=Ce(Te,ym,Tx),Lx=Ce(Te,["normal","italic","oblique"]),Fx=Ce(Te,["normal","none","small-caps"]),Mx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),wm=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Rx=Ce(Te,["normal"]),Mw=Ce(Te,Lx,Fx,Dx,Mx,wm,Rx,Zr),Vc=Ce(Te,["none"]),$x=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Bx=new Set(["infinite"]),qx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),Wx=new Set(["none","forwards","backwards","both"]),_x=Ce(Te,["running","paused"]),Rw=Ce(Te,Vc,$x,Bx,qx,Wx,_x),gN=Ce(Te,["auto","span"]),bN=Ce(Te,["auto","span"]),vN=Ce(Te,["auto","span"]),yN=Ce(Te,["none"]),wN=Ce(Te,["none"]),km=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),Ux=Ce(Te,["inside","outside"]),Vx=Ce(Te,["none"]),kN=Ce(Te,km,Ux,Vx),xN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Bi=new Set(["from","to"]),SN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Qx=new Set(["-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-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Yx=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),CN=Ce(Qx,Yx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Qc=new Set(["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"]),yn=new Map([["caption-side",new Map([["top","block-start"],["bottom","block-end"]])],["clear",new Map([["left","inline-start"],["right","inline-end"]])],["float",new Map([["left","inline-start"],["right","inline-end"]])],["offset-anchor",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["offset-position",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["resize",new Map([["horizontal","inline"],["vertical","block"]])],["text-align",new Map([["left","start"],["right","end"]])],["text-align-last",new Map([["left","start"],["right","end"]])]]),zN=new Map([...yn].map(([e,t])=>[e,new Set(t.values())]))}),qi,Rv,Yc,$w,AN,oo=y(()=>{ro(),qi=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),Rv=new Set(["dpi","dpcm","dppx","x"]),Yc=new Map([["vw",{horizontalInline:"vi",verticalInline:"vb"}],["vh",{horizontalInline:"vb",verticalInline:"vi"}],["svw",{horizontalInline:"svi",verticalInline:"svb"}],["svh",{horizontalInline:"svb",verticalInline:"svi"}],["lvw",{horizontalInline:"lvi",verticalInline:"lvb"}],["lvh",{horizontalInline:"lvb",verticalInline:"lvi"}],["dvw",{horizontalInline:"dvi",verticalInline:"dvb"}],["dvh",{horizontalInline:"dvb",verticalInline:"dvi"}],["cqw",{horizontalInline:"cqi",verticalInline:"cqb"}],["cqh",{horizontalInline:"cqb",verticalInline:"cqi"}]]),$w=new Set([...Yc.values()].flatMap(Object.values)),AN=Ce(qi,Rv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),Bw,NN=y(()=>{Bw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),EN,EB=y(()=>{EN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Gx,Se,PN,dr,Q,V=y(()=>{Tt(),Ir(),Ke(),oo(),Pr(),NN(),no(),EB(),Gx=[..._c.values(),...$i.values()].join("|"),Se={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...$c.values()].join("|")}).)*$`,"i")},PN={syntaxName:/^syntax$/i},dr={propertyAcceptingNames:new RegExp(`^(?:${[...XA].join("|")})$`,"i"),containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i,layoutMappings:new RegExp(`^(?:${[...yn.keys()].join("|")})$`,"i")},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Gx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,axisUnit:new RegExp(`\\d(?:${[...Yc.keys(),...$w].join("|")})\\b`,"i"),classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Tw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...jw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...Bw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...fm,...hm].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...pm,...Pw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Fw,...Dw,...Lw,...pN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,dirPseudoClass:/:dir\(/i,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Iw.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...Ow.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,layoutFlowRelativeKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.values()]))].join("|")})\\b`,"i"),layoutPhysicalKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.keys()]))].join("|")})\\b`,"i"),mathFunction:new RegExp(`\\b(?:${[...io.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...ym,...vm])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...fN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Bi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Wc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Qc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...EN].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Uc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...bm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...qi.values()].join("|")})\\b`,"i")}});function IN(e){return!!(e.startsWith("$")||e.includes(".$"))}var ON=y(()=>{});function ut(e){let t=e.prop,r=e.parent;return!(IN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&it(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&it(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ct=y(()=>{me(),ON()}),jN={};A(jN,{default:()=>TN});function PB(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Nv.has(t.name.toLowerCase())}function IB(e,t,r){return e.name.toLowerCase()==="page"&&Av.has(r.name.toLowerCase())&&nN.has(t)}function OB(e,t){return e.name.toLowerCase()==="page"&&rN.has(t)}var vo,Hh,Kx,yo,TN,jB=y(()=>{no(),Pr(),V(),me(),et(),ct(),I(),j(),D(),vo="at-rule-descriptor-no-unknown",Hh=O(vo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Kx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},yo=e=>(t,r)=>{if(!T(r,vo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s,parent:l}=o;if(OB(i,a)||l&&Oe(l)&&(IB(i,a,l)||PB(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Hh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:vo,result:r})})})},yo.ruleName=vo,yo.messages=Hh,yo.meta=Kx,TN=yo}),DN={};A(DN,{default:()=>LN});var wo,Xh,Hx,ko,LN,TB=y(()=>{V(),J(),et(),ct(),I(),j(),D(),wo="at-rule-descriptor-value-no-unknown",Xh=O(wo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Hx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ko=e=>(t,r)=>{if(!T(r,wo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ie(o),c=u+s.length;P({message:Xh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:wo,result:r})})})},ko.ruleName=wo,ko.messages=Xh,ko.meta=Hx,LN=ko}),FN={};A(FN,{default:()=>MN});var xo,Jh,Xx,Bn,MN,DB=y(()=>{q(),et(),Le(),I(),j(),D(),xo="at-rule-disallowed-list",Jh=O(xo,{rejected:e=>`Disallowed at-rule "${e}"`}),Xx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Bn=e=>(t,r)=>{if(!T(r,xo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:Jh.rejected,messageArgs:[a],node:i,result:r,ruleName:xo,word:a})})},Bn.primaryOptionArray=!0,Bn.ruleName=xo,Bn.messages=Jh,Bn.meta=Xx,MN=Bn});function LB(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var FB=y(()=>{});function MB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var RB=y(()=>{});function dd({node:e,newline:t,action:r}){switch(We(t),r){case"add":LB(e,t);break;case"remove":MB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var pd=y(()=>{FB(),q(),RB()});function _d(e){return e.source&&e.source.start&&e.source.start.line}function $r(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(_d(e)===_d(t))return $r(t);let r=t.prev();return r&&_d(t)===_d(r)?$r(t):t}var Pn=y(()=>{});function md(e){return e===""||e===void 0?!1:RN.test(e)}var RN,hd=y(()=>{RN=/\n[\r\t ]*\n/});function Ud(e){return e&&e.source&&e.source.start&&e.source.start.line}function $N(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Ud(e)===Ud(t)||Ud(t)===Ud(t.next())?$N(t):t}var $B=y(()=>{});function Jx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function qw(e){if(!Kr(e))return!1;let t=$r(e);if(Jx(t,e))return!0;let r=$N(e);if(r&&Jx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
|
|
2
|
+
`)}var Ww=y(()=>{me(),$B(),Pn()});function Wi(e){let t=e.prev();return!t||t.type!=="comment"?!1:!qw(t)}var rh=y(()=>{Ww()});function Gc(e){return e.nodes!==void 0}var nh=y(()=>{});function $v(e){if(e.type!=="atrule")return!1;let t=$r(e);return t===void 0?!1:Oe(t)&&!Gc(t)&&!Gc(e)}var BN=y(()=>{Pn(),nh(),me()});function Zx(e){if(!$v(e))return!1;let t=$r(e);return t&&Oe(t)?t.name===e.name:!1}var BB=y(()=>{Pn(),me(),BN()});function Br(e){let t=e.parent;if(t===void 0||ur(t)&&!qB(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Kr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
|
|
3
|
+
`)||!lx(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[o,a]of r.entries())if(o!==0){if(a===e)return!0;if(!Kr(a)||lx(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function qB({parent:e}){return!!(e&&Cv(e))}var fd=y(()=>{me()});function ih(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var oh=y(()=>{me()}),qN={};A(qN,{default:()=>WN});function WB(e){let t=$r(e);return t&&Oe(t)&&t.name===e.name}var So,Vd,e1,Co,WN,_B=y(()=>{q(),pd(),Pn(),hd(),rh(),me(),BN(),BB(),fd(),oh(),et(),K(),I(),j(),D(),So="at-rule-empty-line-before",Vd=O(So,{expected:"Expected empty line before at-rule",rejected:"Expected no empty line before at-rule"}),e1={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},Co=(e,t,r)=>(n,i)=>{if(!T(i,So,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[$,_]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if(ih(a)||!Ze(a)||M(t,"ignoreAtRules",a.name)||M(t,"ignore","blockless-after-blockless")&&$v(a)||M(t,"ignore","first-nested")&&Br(a)||M(t,"ignore","blockless-after-same-name-blockless")&&Zx(a)||M(t,"ignore","inside-block")&&s||M(t,"ignore","after-comment")&&Wi(a))return;let l=md(a.raws.before),u=o==="always";if((M(t,"except","after-same-name")&&WB(a)||M(t,"except","inside-block")&&s||M(t,"except","first-nested")&&Br(a)||M(t,"except","blockless-after-blockless")&&$v(a)||M(t,"except","blockless-after-same-name-blockless")&&Zx(a))&&(u=!u),u===l)return;let c=u?Vd.expected:Vd.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:So,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Co.ruleName=So,Co.messages=Vd,Co.meta=e1,WN=Co}),UB=G(()=>{"use strict"}),_N=G(()=>{}),_w=G((e,t)=>{"use strict";var r=UB(),n=_N(),i=class UN extends Error{constructor(a,s,l,u,c,d){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),u&&(this.source=u),d&&(this.plugin=d),typeof s<"u"&&typeof l<"u"&&(typeof s=="number"?(this.line=s,this.column=l):(this.line=s.line,this.column=s.column,this.endLine=l.line,this.endColumn=l.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,UN)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(){return""}toString(){let a=this.showSourceCode();return a&&(a=`
|
|
4
4
|
|
|
5
5
|
`+a+`
|
|
6
|
-
`),this.name+": "+this.message+a}};t.exports=i,i.default=i}),
|
|
6
|
+
`),this.name+": "+this.message+a}};t.exports=i,i.default=i}),VN=G((e,t)=>{"use strict";var r=/(<)(\/?style\b)/gi,n=/(<)(!--)/g;function i(l){return typeof l!="string"||!l.includes("<")?l:l.replace(r,"\\3c $2").replace(n,"\\3c $2")}var o={after:`
|
|
7
7
|
`,beforeClose:`
|
|
8
8
|
`,beforeComment:`
|
|
9
9
|
`,beforeDecl:`
|
|
10
10
|
`,beforeOpen:" ",beforeRule:`
|
|
11
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function a(l){return l[0].toUpperCase()+l.slice(1)}var s=class{constructor(l){this.builder=l}atrule(l,u){let c="@"+l.name,
|
|
12
|
-
`)){let m=this.raw(l,null,"indent");if(m.length)for(let v=0;v<p;v++)c+=m}return c}block(l,u){let c=this.raw(l,"between","beforeOpen");this.builder(i(u+
|
|
11
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function a(l){return l[0].toUpperCase()+l.slice(1)}var s=class{constructor(l){this.builder=l}atrule(l,u){let c=l.raws,d="@"+l.name,p=l.params?this.rawValue(l,"params"):"";if(typeof c.afterName<"u"?d+=c.afterName:p&&(d+=" "),l.nodes)this.block(l,d+p);else{let m=(c.between||"")+(u?";":"");this.builder(i(d+p+m),l)}}beforeAfter(l,u){let c;l.type==="decl"?c=this.raw(l,null,"beforeDecl"):l.type==="comment"?c=this.raw(l,null,"beforeComment"):u==="before"?c=this.raw(l,null,"beforeRule"):c=this.raw(l,null,"beforeClose");let d=l.parent,p=0;for(;d&&d.type!=="root";)p+=1,d=d.parent;if(c.includes(`
|
|
12
|
+
`)){let m=this.raw(l,null,"indent");if(m.length)for(let v=0;v<p;v++)c+=m}return c}block(l,u){let c=l.raws,d=typeof c.between<"u"?c.between:this.raw(l,"between","beforeOpen");this.builder(i(u+d)+"{",l,"start");let p;l.nodes&&l.nodes.length?(this.body(l),p=typeof c.after<"u"?c.after:this.raw(l,"after")):p=typeof c.after<"u"?c.after:this.raw(l,"after","emptyBody"),p&&this.builder(i(p)),this.builder("}",l,"end")}body(l){let u=l.nodes,c=u.length-1;for(;c>0&&u[c].type==="comment";)c-=1;let d=this.raw(l,"semicolon"),p=l.type==="document";for(let m=0;m<u.length;m++){let v=u[m],h=v.raws.before;typeof h>"u"&&(h=this.raw(v,"before")),h&&this.builder(p?h:i(h)),this.stringify(v,c!==m||d)}}comment(l){let u=l.raws,c=typeof u.left<"u"?u.left:this.raw(l,"left","commentLeft"),d=typeof u.right<"u"?u.right:this.raw(l,"right","commentRight");this.builder(i("/*"+c+l.text+d+"*/"),l)}decl(l,u){let c=l.raws,d=typeof c.between<"u"?c.between:this.raw(l,"between","colon"),p=l.prop+d+this.rawValue(l,"value");l.important&&(p+=c.important||" !important"),u&&(p+=";"),this.builder(i(p),l)}document(l){this.body(l)}raw(l,u,c){let d;if(c||(c=u),u&&(d=l.raws[u],typeof d<"u"))return d;let p=l.parent;if(c==="before"&&(!p||p.type==="root"&&p.first===l||p&&p.type==="document"))return"";if(!p)return o[c];let m=l.root(),v=m.rawCache||(m.rawCache={});if(typeof v[c]<"u")return v[c];if(c==="before"||c==="after")return this.beforeAfter(l,c);{let h="raw"+a(c);this[h]?d=this[h](m,l):m.walk(b=>{if(d=b.raws[u],typeof d<"u")return!1})}return typeof d>"u"&&(d=o[c]),v[c]=d,d}rawBeforeClose(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length>0&&typeof c.raws.after<"u")return u=c.raws.after,u.includes(`
|
|
13
13
|
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawBeforeComment(l,u){let c;return l.walkComments(d=>{if(typeof d.raws.before<"u")return c=d.raws.before,c.includes(`
|
|
14
14
|
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(l,u){let c;return l.walkDecls(d=>{if(typeof d.raws.before<"u")return c=d.raws.before,c.includes(`
|
|
15
15
|
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(l){let u;return l.walk(c=>{if(c.type!=="decl"&&(u=c.raws.between,typeof u<"u"))return!1}),u}rawBeforeRule(l){let u;return l.walk(c=>{if(c.nodes&&(c.parent!==l||l.first!==c)&&typeof c.raws.before<"u")return u=c.raws.before,u.includes(`
|
|
16
16
|
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawColon(l){let u;return l.walkDecls(c=>{if(typeof c.raws.between<"u")return u=c.raws.between.replace(/[^\s:]/g,""),!1}),u}rawEmptyBody(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length===0&&(u=c.raws.after,typeof u<"u"))return!1}),u}rawIndent(l){if(l.raws.indent)return l.raws.indent;let u;return l.walk(c=>{let d=c.parent;if(d&&d!==l&&d.parent&&d.parent===l&&typeof c.raws.before<"u"){let p=c.raws.before.split(`
|
|
17
|
-
`);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),
|
|
17
|
+
`);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),Uw=G((e,t)=>{"use strict";var r=VN();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Vw=G((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),ah=G((e,t)=>{"use strict";var r=_w(),n=VN(),i=Uw(),{isClean:o,my:a}=Vw();function s(c,d){let p=new c.constructor;for(let m in c){if(!Object.prototype.hasOwnProperty.call(c,m)||m==="proxyCache")continue;let v=c[m],h=typeof v;m==="parent"&&h==="object"?d&&(p[m]=d):m==="source"?p[m]=v:Array.isArray(v)?p[m]=v.map(b=>s(b,p)):(h==="object"&&v!==null&&(v=s(v)),p[m]=v)}return p}function l(c,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,m=1,v=0;for(let h=0;h<c.length;h++){if(m===d.line&&p===d.column){v=h;break}c[h]===`
|
|
18
18
|
`?(p=1,m+=1):p+=1}return v}var u=class{get proxyOf(){return this}constructor(c={}){this.raws={},this[o]=!1,this[a]=!0;for(let d in c)if(d==="nodes"){this.nodes=[];for(let p of c[d])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[d]=c[d]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let d=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let d in c)this[d]=c[d];return this}before(c){return this.parent.insertBefore(this,c),this}clone(c={}){let d=s(this);for(let p in c)d[p]=c[p];return d}cloneAfter(c={}){let d=this.clone(c);return this.parent.insertAfter(this,d),d}cloneBefore(c={}){let d=this.clone(c);return this.parent.insertBefore(this,d),d}error(c,d={}){if(this.source){let{end:p,start:m}=this.rangeBy(d);return this.source.input.error(c,{column:m.column,line:m.line},{column:p.column,line:p.line},d)}return new r(c)}markClean(){this[o]=!0}markDirty(){if(this[o]){this[o]=!1;let c=this;for(;c=c.parent;)c[o]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c={}){let d=this.source.start;if(c.index)d=this.positionInside(c.index);else if(c.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,m=p.slice(l(p,this.source.start),l(p,this.source.end)).indexOf(c.word);m!==-1&&(d=this.positionInside(m))}return d}positionInside(c){let d=this.source.start.column,p=this.source.start.line,m="document"in this.source.input?this.source.input.document:this.source.input.css,v=l(m,this.source.start),h=v+c;for(let b=v;b<h;b++)m[b]===`
|
|
19
|
-
`?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let g=d.get(b.input);g==null&&(g=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:g,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),
|
|
20
|
-
`),x=new Array(f.length),w=0;for(let k=0,S=f.length;k<S;k++)x[k]=w,w+=f[k].length+1;return g[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(g,f={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,f.document&&(this.document=f.document.toString()),f.from&&(!v||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),v&&m){let x=new c(this.css,f);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(g,f,x,w={}){let k,S,z,
|
|
21
|
-
`;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),
|
|
22
|
-
`," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),Ez=Y((e,t)=>{"use strict";var r=zn(),n=zz(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(o){let a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=o.join(s)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),vB=Y((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,g,f,x,w=l.length,k=0,S=[],z=[];function A(){return k}function L(re){throw a.error("Unclosed "+re,k)}function E(){return z.length===0&&k>=w}function B(re){if(z.length)return z.pop();if(k>=w)return;let we=re?re.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let pe=String.fromCharCode(c);h=[pe,pe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=l.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||we){m=k;break}else L("bracket");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?h=["(","(",k]:(h=["brackets",d,k,m],k=m);break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||we){m=k+1;break}else L("string");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||we?m=l.length:L("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function te(re){z.push(re)}return{back:te,endOfFile:E,nextToken:B,position:A}}}),yB=Y((e,t)=>{"use strict";var r=Cz(),n=Pw(),i=Ow(),o=Um(),a=Ez(),s=vB(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){g=!0;break}else if(m==="}"){if(f.length>0){for(h=f.length-1,v=f[h];v&&v[0]==="space";)v=f[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),b&&(d=f[f.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),g&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,g]of d.entries()){if(v=g,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(h=d[f],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=f;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(m.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(m=x[0],f.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(g&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(f,g);return}else break;else if(m==="{"){this.rule(f);return}else if(m==="}"){this.tokenizer.back(f.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!g)for(;f.length&&(x=f[f.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,g)}else this.unknownWord(f)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,g=m.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)h=m[S],b=h[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?f.slice(-1)===","?x=!1:f+=h[1]:x=!1):f+=h[1];if(!x){let S=m.reduce((z,A)=>z+A[1],"");d.raws[p]={raw:S,value:f}}d[p]=f}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),Pz=Y((e,t)=>{"use strict";var r=zn(),n=jw(),i=yB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),Oz=Y((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let o=i.node.rangeBy(i);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(let o in i)this[o]=i[o]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};t.exports=r,r.default=r}),Iz=Y((e,t)=>{"use strict";var r=Oz(),n=class{get content(){return this.css}constructor(i,o,a){this.processor=i,this.messages=[],this.root=o,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,o);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),wB=Y(()=>{}),jz=Y((e,t)=>{"use strict";var r=zn(),n=Iw(),i=bB(),o=Pz(),a=Iz(),s=Um(),l=zw(),{isClean:u,my:c}=Ew(),d=wB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class Tz{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,g,f){this.stringified=!1,this.processed=!1;let x;if(typeof g=="object"&&g!==null&&(g.type==="root"||g.type==="document"))x=p(g);else if(g instanceof Tz||g instanceof a)x=p(g.root),g.map&&(typeof f.map>"u"&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=g.map);else{let w=o;f.syntax&&(w=f.syntax.parse),f.parser&&(w=f.parser),w.parse&&(w=w.parse);try{x=w(g,f)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,f),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,g=l;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=new i(g,this.result.root,this.result.opts).generate();return this.result.css=f[0],this.result.map=f[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),kB=Y((e,t)=>{var r=class{};t.exports=r}),xB=Y((e,t)=>{"use strict";var r=Iw(),n=jz(),i=kB(),o=Um(),a=class{constructor(s=[]){this.version="8.5.10",this.plugins=this.normalize(s)}normalize(){return[]}process(s,l={}){return!this.plugins.length&&!l.parser&&!l.stringifier&&!l.syntax?new i(this,s,l):new n(this,s,l)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),SB=Y((e,t)=>{"use strict";var r=Cz(),n=Pw(),i=zn(),o=Nw(),a=Ow(),s=Iw(),l=hB(),u=jw(),c=jz(),d=zz(),p=_m(),m=Pz(),v=xB(),h=Iz(),b=Um(),g=Ez(),f=zw(),x=Oz();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new g(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Bh,Li,Dz,id=y(()=>{Bh=Z(SB(),1),Li=Bh.default,Dz=Bh.default.Node}),Lz={};N(Lz,{default:()=>Fz});var vo,qh,Rx,yo,Fz,CB=y(()=>{id(),q(),Yi(),et(),H(),O(),j(),D(),vo="at-rule-no-deprecated",qh=I(vo,{rejected:e=>`Deprecated at-rule "${e}"`}),Rx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},yo=(e,t)=>(r,n)=>{T(n,vo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(R(t,"ignoreAtRules",o)||!dv.has(a))return;let s=a==="nest"?()=>{let u=Li.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:qh.rejected,messageArgs:[l],node:i,ruleName:vo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},yo.ruleName=vo,yo.messages=qh,yo.meta=Rx,Fz=yo}),He,Tt=y(()=>{He={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),Mz={};N(Mz,{default:()=>Rz});var wo,Wh,$x,ko,Rz,AB=y(()=>{q(),Yi(),et(),H(),O(),j(),D(),Tt(),wo="at-rule-no-unknown",Wh=I(wo,{rejected:e=>`Unknown at-rule "${e}"`}),$x={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},ko=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,wo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Ze(u))return;let c=u.name;if(o.has(c)||R(t,"ignoreAtRules",u.name)||He.prefix(c)||NN.has(c.toLowerCase()))return;let d=`@${c}`;P({message:Wh.rejected,messageArgs:[d],node:u,ruleName:wo,result:n,word:d})})},ko.ruleName=wo,ko.messages=Wh,ko.meta=$x,Rz=ko}),Bx,qx,Wx,_x,Cr,od=y(()=>{Tt(),Bx=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),qx=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),Wx=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),_x=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),Cr={atRuleName(e){return Bx.has(`@${e.toLowerCase()}`)},selector(e){return qx.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return He.prefix(t).length===0?!1:Wx.has(He.unprefixed(t))},propertyValue(e){return _x.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),$z={};N($z,{default:()=>Bz});var xo,_h,Ux,So,Bz,NB=y(()=>{q(),od(),et(),H(),O(),j(),D(),xo="at-rule-no-vendor-prefix",_h=I(xo,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),Ux={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},So=(e,t)=>(r,n)=>{T(n,xo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,U]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(R(t,"ignoreAtRules",o)||!o.startsWith("-")||!Cr.atRuleName(o))return;let a=()=>{i.name=Cr.unprefix(i.name)},s=`@${o}`;P({message:_h.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:xo,fix:{apply:a,node:i}})})},So.ruleName=xo,So.messages=_h,So.meta=Ux,Bz=So}),qz={};N(qz,{default:()=>Wz});var Co,Uh,Vx,Ao,Wz,zB=y(()=>{q(),et(),ee(),H(),O(),j(),D(),Co="at-rule-prelude-no-invalid",Uh=I(Co,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),Vx={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},Ao=(e,t)=>(r,n)=>{if(!T(n,Co,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(R(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=je(o),d=c+s.length;P({message:Uh.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Co,result:n})})},Ao.ruleName=Co,Ao.messages=Uh,Ao.meta=Vx,Wz=Ao});function EB(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var PB=y(()=>{});function $t(...e){return t=>Sr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),_z={};N(_z,{default:()=>Uz});var No,Vh,Qx,zo,Uz,OB=y(()=>{PB(),et(),q(),O(),j(),Ht(),D(),No="at-rule-property-required-list",Vh=I(No,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),Qx={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},zo=e=>(t,r)=>{if(!T(r,No,{actual:e,possible:[$t($)]}))return;let n=EB(e),i=new Set;t.walkAtRules(o=>{if(!Ze(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:Vh.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:No})}}})},zo.ruleName=No,zo.messages=Vh,zo.meta=Qx,Uz=zo});function Vz(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),ut(e))r+=e.selector;else if(Ie(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var Qz=y(()=>{fe()});function Gz(e,t=ad){if(!e)return e;let[r]=e.split(/\s/,1);return Vi(r),r.replace(t,"")}function Ci(e,t=ad){let r=$(e)?e:Yr(e)?e.text:void 0;if(!r)return!1;let n=Gz(r,t);return n!==void 0&&Yz.has(n)}function IB(e,t=ad){return`${t}${e}`}var am,sm,lm,um,Yz,ad,sd=y(()=>{q(),fe(),am="-disable",sm="-disable-line",lm="-disable-next-line",um="-enable",Yz=new Set([am,sm,lm,um]),ad="stylelint"}),Kz={};N(Kz,{default:()=>Hz});var Eo,Qh,Gx,Po,Hz,jB=y(()=>{Qz(),Bm(),fe(),sd(),H(),O(),j(),D(),Eo="block-no-empty",Qh=I(Eo,{rejected:"Empty block"}),Gx={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Po=(e,t,r)=>(n,i)=>{if(!T(i,Eo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=R(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Dc(u)||s(u)||l(u))return;let c=Vz(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:Qh.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Eo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Yr(d)&&(o||Ci(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Po.ruleName=Eo,Po.messages=Qh,Po.meta=Gx,Hz=Po});function ld(e){return!(Fm(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var ud=y(()=>{Mm()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!ld(e.selector))}var de=y(()=>{ud()}),Jz={};N(Jz,{default:()=>Xz});var Oo,Gh,Yx,Io,Xz,TB=y(()=>{fe(),de(),O(),j(),D(),Oo="block-no-redundant-nested-style-rules",Gh=I(Oo,{rejected:"Redundant nested style rule"}),Yx={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Io=e=>(t,r)=>{T(r,Oo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:Gh.rejected,messageArgs:[],node:n,result:r,ruleName:Oo}))})},Io.ruleName=Oo,Io.messages=Gh,Io.meta=Yx,Xz=Io});function cd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var dd=y(()=>{});function Tw(e){if(!cd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Tw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var Zz=y(()=>{dd()}),eE={};N(eE,{default:()=>tE});var Kx,jo,Yh,Hx,To,tE,DB=y(()=>{Kx=Z(he(),1),Er(),ee(),qe(),Zz(),fe(),V(),O(),j(),jt(),D(),jo="color-function-alias-notation",Yh=I(jo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Hx={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},To=e=>(t,r)=>{if(!T(r,jo,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?tm:Ic;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,Kx.default)(Be(o));a.walk(s=>{if(!An(s)||!Tw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,It(o,a.toString())},p=ie(o)+u,m=p+l.length;P({message:Yh.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:jo,fix:{apply:d,node:o}})})})},To.ruleName=jo,To.messages=Yh,To.meta=Hx,tE=To});function Hi(e){return An(e)&&e.value.toLowerCase()==="var"}var pd=y(()=>{fe()}),rE={};N(rE,{default:()=>iE});function Kh(e){return e!==""?e:" "}function LB(e){return e.some(t=>Hi(t))}function nE(e){return e.type==="div"&&e.value===","}function Jx(e){let t=0;for(let r of e)if(nE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var Xx,Do,Hh,Zx,Lo,iE,FB=y(()=>{Xx=Z(he(),1),Er(),ee(),qe(),Zz(),fe(),pd(),V(),H(),O(),j(),jt(),D(),Do="color-function-notation",Hh=I(Do,{expected:e=>`Expected ${e} color-function notation`}),Zx={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Lo=(e,t)=>(r,n)=>{if(!T(n,Do,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=R(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,Xx.default)(Be(o));a.walk(s=>{if(!An(s)||!Tw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&LB(d)||!gw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!Jx(d)||e==="legacy"&&Jx(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(nE(g)&&(b<2?(g.type="space",g.value=Kh(g.after),b++):(g.value="/",g.before=Kh(g.before),g.after=Kh(g.after))),g)),Ic.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),It(o,a.toString())},m=ie(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:Hh.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:Do,fix:{apply:h,node:o}})})})},Lo.ruleName=Do,Lo.messages=Hh,Lo.meta=Zx,iE=Lo});function oE(e){return aE.test(e)}var aE,sE=y(()=>{aE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function lE({type:e,value:t}){return e==="word"&&oE(t)}var uE=y(()=>{sE()});function md(e){return An(e)&&e.value.toLowerCase()==="url"}var hd=y(()=>{fe()}),cE={};N(cE,{default:()=>dE});function e1(e){return e.length===5||e.length===9}var t1,Fo,Id,r1,Mo,dE,MB=y(()=>{t1=Z(he(),1),ee(),uE(),hd(),V(),O(),j(),D(),Fo="color-hex-alpha",Id=I(Fo,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Mo=e=>(t,r)=>{T(r,Fo,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,t1.default)(n.value).walk(i=>{if(md(i))return!1;if(!lE(i))return;let{value:o}=i;if(e==="always"&&e1(o)||e==="never"&&!e1(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Id.rejected:Id.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:Fo})})})},Mo.ruleName=Fo,Mo.messages=Id,Mo.meta=r1,dE=Mo}),pE={};N(pE,{default:()=>mE});function RB(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function $B(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function BB(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var n1,Ro,Jh,i1,$o,mE,qB=y(()=>{n1=Z(he(),1),ee(),qe(),uE(),hd(),V(),O(),j(),jt(),D(),Ro="color-hex-length",Jh=I(Ro,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),i1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},$o=e=>(t,r)=>{T(r,Ro,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,n1.default)(Be(n));i.walk(o=>{let{value:a}=o;if(md(o))return!1;if(!lE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!RB(a)))return;let s=(e==="long"?BB:$B)(a),l=()=>{o.value=s,It(n,i.toString())},u=ie(n)+o.sourceIndex,c=u+o.value.length;P({message:Jh.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Ro,fix:{apply:l,node:n}})})})},$o.ruleName=Ro,$o.messages=Jh,$o.meta=i1,mE=$o}),o1,hr,Xe,Lt,Xh,Zh,jd,a1,Bo,ef,tf,rf,nf,of,Ln,s1,l1,u1,c1,Td,af,d1,Dd,Ld,sf,Fd,er,lf,hE,WB=y(()=>{o1={grad:.9,turn:360,rad:360/(2*Math.PI)},hr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Lt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Xh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Zh=function(e){return{r:Lt(e.r,0,255),g:Lt(e.g,0,255),b:Lt(e.b,0,255),a:Lt(e.a)}},jd=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},a1=/^#([0-9a-f]{3,8})$/i,Bo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ef=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},tf=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},rf=function(e){return{h:Xh(e.h),s:Lt(e.s,0,100),l:Lt(e.l,0,100),a:Lt(e.a)}},nf=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},of=function(e){return tf((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},Ln=function(e){return{h:(t=ef(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},s1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,l1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,u1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,c1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Td={string:[[function(e){var t=a1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Xe(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Xe(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=u1.exec(e)||c1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Zh({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=s1.exec(e)||l1.exec(e);if(!t)return null;var r,n,i=rf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(o1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return of(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return hr(t)&&hr(r)&&hr(n)?Zh({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!hr(t)||!hr(r)||!hr(n))return null;var a=rf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return of(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!hr(t)||!hr(r)||!hr(n))return null;var a=(function(s){return{h:Xh(s.h),s:Lt(s.s,0,100),v:Lt(s.v,0,100),a:Lt(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return tf(a)},"hsv"]]},af=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},d1=function(e){return typeof e=="string"?af(e.trim(),Td.string):typeof e=="object"&&e!==null?af(e,Td.object):[null,void 0]},Dd=function(e,t){var r=Ln(e);return{h:r.h,s:Lt(r.s+100*t,0,100),l:r.l,a:r.a}},Ld=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},sf=function(e,t){var r=Ln(e);return{h:r.h,s:r.s,l:Lt(r.l+100*t,0,100),a:r.a}},Fd=(function(){function e(t){this.parsed=d1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Xe(Ld(this.rgba),2)},e.prototype.isDark=function(){return Ld(this.rgba)<.5},e.prototype.isLight=function(){return Ld(this.rgba)>=.5},e.prototype.toHex=function(){return t=jd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Bo(Xe(255*o)):"","#"+Bo(r)+Bo(n)+Bo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return jd(this.rgba)},e.prototype.toRgbString=function(){return t=jd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return nf(Ln(this.rgba))},e.prototype.toHslString=function(){return t=nf(Ln(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=ef(this.rgba),{h:Xe(t.h),s:Xe(t.s),v:Xe(t.v),a:Xe(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Dd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Dd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Dd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(sf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(sf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Xe(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Ln(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Xe(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Fd?e:new Fd(e)},lf=[],hE=function(e){e.forEach(function(t){lf.indexOf(t)<0&&(t(Fd,Td),lf.push(t))})}});function _B(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var UB=y(()=>{});function VB(e,t){e.prototype.toHwb=function(){return Cv(Av(this.rgba))},e.prototype.toHwbString=function(){return r=Cv(Av(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([gE,"hwb"]),t.object.push([fE,"hwb"])}var p1,Md,qo,Rd,uf,Cv,Av,cf,fE,m1,gE,QB=y(()=>{p1={grad:.9,turn:360,rad:360/(2*Math.PI)},Md=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},qo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Rd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},uf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Rd(e.w,0,100),b:Rd(e.b,0,100),a:Rd(e.a)};var t},Cv=function(e){return{h:qo(e.h),w:qo(e.w),b:qo(e.b),a:qo(e.a,3)}},Av=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},cf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},fE=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Md(t)||!Md(r)||!Md(n))return null;var a=uf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return cf(a)},m1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,gE=function(e){var t=m1.exec(e);if(!t)return null;var r,n,i=uf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(p1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return cf(i)}});function GB(e,t){e.prototype.toLab=function(){return n=bE(this.rgba),o=n.y/Op,a=n.z/Ip,i=(i=n.x/Pp)>Ai?Math.cbrt(i):(gn*i+16)/116,r={l:116*(o=o>Ai?Math.cbrt(o):(gn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ai?Math.cbrt(a):(gn*a+16)/116)),alpha:n.a},{l:mi(r.l,2),a:mi(r.a,2),b:mi(r.b,2),alpha:mi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),z=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),A=(S+z)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,E=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),E<0&&(E+=360);var B=E-L,te=Math.abs(E-L);te>180&&E<=L?B+=360:te>180&&E>L&&(B-=360);var re=L+E;te<=180?re/=2:re=(L+E<360?re+360:re-360)/2;var we=1-.17*Math.cos(v*(re-30))+.24*Math.cos(2*v*re)+.32*Math.cos(v*(3*re+6))-.2*Math.cos(v*(4*re-63)),pe=c-s,ae=z-S,$e=2*Math.sin(v*B/2)*Math.pow(S*z,.5),_e=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),Ct=1+.045*A,Ue=1+.015*A*we,G=30*Math.exp(-1*Math.pow((re-275)/25,2)),K=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*G);return Math.pow(Math.pow(pe/1/_e,2)+Math.pow(ae/1/Ct,2)+Math.pow($e/1/Ue,2)+K*ae*$e/(1*Ct*1*Ue),.5)})(this.toLab(),n.toLab())/100;return Qt(mi(i,3))},t.object.push([vE,"lab"])}var $d,mi,Qt,Bd,qd,Pp,Op,Ip,h1,bE,Ai,gn,vE,f1,YB=y(()=>{$d=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},mi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Bd=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},qd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Pp=96.422,Op=100,Ip=82.521,h1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:qd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:qd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:qd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},bE=function(e){var t=Bd(e.r),r=Bd(e.g),n=Bd(e.b);return(function(i){return{x:Qt(i.x,0,Pp),y:Qt(i.y,0,Op),z:Qt(i.z,0,Ip),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ai=216/24389,gn=24389/27,vE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!$d(t)||!$d(r)||!$d(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return f1(a)},f1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return h1({x:(Math.pow(r,3)>Ai?Math.pow(r,3):(116*r-16)/gn)*Pp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/gn)*Op,z:(Math.pow(n,3)>Ai?Math.pow(n,3):(116*n-16)/gn)*Ip,a:e.alpha})}});function KB(e,t){e.prototype.toLch=function(){return Nv(zv(this.rgba))},e.prototype.toLchString=function(){return r=Nv(zv(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([wE,"lch"]),t.object.push([yE,"lch"])}var g1,Wd,on,fr,_d,Ud,Vd,Qd,Gd,b1,v1,Fn,an,df,Nv,yE,zv,pf,y1,wE,HB=y(()=>{g1={grad:.9,turn:360,rad:360/(2*Math.PI)},Wd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},fr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},_d=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Ud=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},Vd=96.422,Qd=100,Gd=82.521,b1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:Ud(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Ud(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Ud(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:fr(r.r,0,255),g:fr(r.g,0,255),b:fr(r.b,0,255),a:fr(r.a)}},v1=function(e){var t=_d(e.r),r=_d(e.g),n=_d(e.b);return(function(i){return{x:fr(i.x,0,Vd),y:fr(i.y,0,Qd),z:fr(i.z,0,Gd),a:fr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Fn=216/24389,an=24389/27,df=function(e){return{l:fr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Nv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},yE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!Wd(t)||!Wd(r)||!Wd(n))return null;var a=df({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return pf(a)},zv=function(e){var t=(function(o){var a=v1(o),s=a.x/Vd,l=a.y/Qd,u=a.z/Gd;return s=s>Fn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Fn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Fn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},pf=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,b1({x:(Math.pow(n,3)>Fn?Math.pow(n,3):(116*n-16)/an)*Vd,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*Qd,z:(Math.pow(i,3)>Fn?Math.pow(i,3):(116*i-16)/an)*Gd,a:t.alpha});var t,r,n,i},y1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,wE=function(e){var t=y1.exec(e);if(!t)return null;var r,n,i=df({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(g1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return pf(i)}});function JB(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||o.length>0)return null;let a=Vm(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function XB(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Ev.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Ev.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return Vm(o).rgba}var Ev,Vm,ZB=y(()=>{WB(),Ev=Z(he(),1),UB(),QB(),YB(),HB(),hE([_B,VB,GB,KB,(e,t)=>{t.string.push([JB,"hwb-with-comma"])},(e,t)=>{t.string.push([XB,"gray"])}]),Vm=er}),kE={};N(kE,{default:()=>xE});var mf,Wo,Yd,w1,k1,_o,xE,eq=y(()=>{mf=Z(he(),1),q(),$r(),ZB(),ee(),dd(),We(),V(),Je(),H(),O(),j(),D(),Wo="color-named",Yd=I(Wo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),w1={url:"https://stylelint.io/user-guide/rules/color-named"},k1=new Set(["word","function"]),_o=(e,t)=>(r,n)=>{if(!T(n,Wo,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,U],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(zN.has(o.prop)||R(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,mf.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(R(t,"ignore","inside-function")&&u==="function"||!cd(s))return!1;if(!Re(l)||!k1.has(u))return;if(e==="never"&&u==="word"&&Tc.has(l.toLowerCase())){i(Yd.rejected,[l],o,ie(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=mf.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=Vm(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(Yd.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Wo,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},_o.ruleName=Wo,_o.messages=Yd,_o.meta=w1,xE=_o}),SE={};N(SE,{default:()=>AE});function tq({type:e,value:t}){return e==="word"&&CE.test(t)}var x1,Uo,hf,S1,CE,Vo,AE,rq=y(()=>{x1=Z(he(),1),ee(),qe(),hd(),V(),O(),j(),D(),Uo="color-no-hex",hf=I(Uo,{rejected:e=>`Disallowed hex color "${e}"`}),S1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},CE=/^#[\da-z]+$/i,Vo=e=>(t,r)=>{T(r,Uo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,x1.default)(Be(n)).walk(i=>{if(md(i))return!1;if(!tq(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:hf.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Uo})})})},Vo.ruleName=Uo,Vo.messages=hf,Vo.meta=S1,AE=Vo});function nq(e){return!e.includes("[")}var iq=y(()=>{}),NE={};N(NE,{default:()=>zE});var C1,Qo,ff,A1,Go,zE,oq=y(()=>{C1=Z(he(),1),ee(),iq(),sE(),V(),O(),j(),D(),Qo="color-no-invalid-hex",ff=I(Qo,{rejected:e=>`Invalid hex color "${e}"`}),A1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Go=e=>(t,r)=>{T(r,Qo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&nq(n.value)&&(0,C1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||oE(l))return;let u=ie(n)+a,c=u+l.length;P({message:ff.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Qo})})})},Go.ruleName=Qo,Go.messages=ff,Go.meta=A1,zE=Go});function Lc(e){return!("inline"in e||"inline"in e.raws)}var Qm=y(()=>{}),EE={};N(EE,{default:()=>PE});var Yo,Kd,N1,Ko,PE,aq=y(()=>{q(),ed(),rd(),$m(),sd(),nd(),Wm(),Aw(),Qm(),H(),O(),j(),D(),Yo="comment-empty-line-before",Kd=I(Yo,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),N1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},Ko=(e,t,r)=>(n,i)=>{T(i,Yo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,U]},optional:!0})&&n.walkComments(o=>{if(qm(o)||Ci(o,r.configurationComment)&&R(t,"ignore","stylelint-commands")||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignoreComments",o.text)||Cw(o)||!Lc(o))return;let a=R(t,"except","first-nested")&&Rr(o)?!1:e==="always",s=o.raws.before||"",l=td(s);if(a===l)return;let u=a?Kd.expected:Kd.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:Yo,fix:{apply:()=>Zc({node:o,newline:r.newline,action:c}),node:o.parent}})})},Ko.ruleName=Yo,Ko.messages=Kd,Ko.meta=N1,PE=Ko}),OE={};N(OE,{default:()=>IE});var Ho,gf,z1,Jo,IE,sq=y(()=>{Qm(),O(),j(),D(),Ho="comment-no-empty",gf=I(Ho,{rejected:"Empty comment"}),z1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Jo=e=>(t,r)=>{T(r,Ho,{actual:e})&&t.walkComments(n=>{Lc(n)&&(n.text&&n.text.length!==0||P({message:gf.rejected,messageArgs:[],node:n,result:r,ruleName:Ho}))})},Jo.ruleName=Ho,Jo.messages=gf,Jo.meta=z1,IE=Jo}),jE={};N(jE,{default:()=>TE});var Xo,bf,E1,Zo,TE,lq=y(()=>{q(),O(),j(),D(),Xo="comment-pattern",bf=I(Xo,{expected:e=>`Expected comment to match pattern "${e}"`}),E1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Zo=e=>(t,r)=>{if(!T(r,Xo,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:bf.expected,messageArgs:[e],node:i,result:r,ruleName:Xo})})},Zo.ruleName=Xo,Zo.messages=bf,Zo.meta=E1,TE=Zo});function Pv(e){return[" ",`
|
|
23
|
-
`," ","\r","\f"].includes(e)}var DE=y(()=>{}),LE={};N(LE,{default:()=>FE});function uq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function cq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var ea,sn,P1,ta,FE,dq=y(()=>{Qm(),DE(),O(),j(),D(),ea="comment-whitespace-inside",sn=I(ea,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),P1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},ta=e=>(t,r)=>{T(r,ea,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Lc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let g=l.length,f=g+u.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!Pv(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let g=i.length-m.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!Pv(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:ea,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(g===sn.expectedClosing?cq:uq)(n)},node:n}})}})},ta.ruleName=ea,ta.messages=sn,ta.meta=P1,FE=ta});function pq(e,t){if(!Array.isArray(t))return O1(e,t);for(let r of t){let n=O1(e,r);if(n)return n}return!1}function O1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var mq=y(()=>{q()}),ME={};N(ME,{default:()=>RE});var ra,vf,I1,Mn,RE,hq=y(()=>{q(),mq(),Le(),O(),j(),D(),ra="comment-word-disallowed-list",vf=I(ra,{rejected:e=>`Disallowed word matching pattern "${e}"`}),I1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Mn=e=>(t,r)=>{T(r,ra,{actual:e,possible:[$,U]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||pq(i,e);o&&P({message:vf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ra})})},Mn.primaryOptionArray=!0,Mn.ruleName=ra,Mn.messages=vf,Mn.meta=I1,RE=Mn}),$E={};N($E,{default:()=>BE});var yf,na,wf,j1,T1,ia,BE,fq=y(()=>{yf=Z(he(),1),ee(),V(),q(),Je(),et(),bt(),We(),O(),j(),D(),na="container-name-pattern",wf=I(na,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),j1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},T1=new Set(["and","or","none","not"]),ia=e=>(t,r)=>{var s,l,u,c;if(!T(r,na,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(Br.containerNameAndShorthandName,d=>{if(!gt(d))return;let p=(0,yf.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Re(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(xe.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,yf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;T1.has(h.toLowerCase())||n.test(h)||a(je(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:na,message:wf.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},ia.ruleName=na,ia.messages=wf,ia.meta=j1,BE=ia}),qE={};N(qE,{default:()=>WE});var oa,kf,D1,aa,WE,gq=y(()=>{q(),ee(),V(),O(),j(),D(),oa="custom-media-pattern",kf=I(oa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),D1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},aa=e=>(t,r)=>{if(!T(r,oa,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=je(i);P({message:kf.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=kf,aa.meta=D1,WE=aa});function bq(e){var i;let t=Ov.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Ov.set(e,{result:n,before:r}),n}var Ov,vq=y(()=>{Ov=new WeakMap});function Dw(e){return Dc(e)?bq(e).slice(Vz(e).length):""}var Lw=y(()=>{Qz(),Bm(),vq()});function _E(e){let t=e.prev();return t?ut(t)||Ie(t):!1}var UE=y(()=>{fe()});function ft(e){return e.startsWith("--")}var dr=y(()=>{});function Gm(e){return!/[\n\r]/.test(e)}var Ym=y(()=>{}),VE={};N(VE,{default:()=>QE});function L1(e){let t=Mr(e);return t!=null&&Qi(t)&&ft(t.prop)}var sa,Hd,F1,la,QE,yq=y(()=>{fe(),Lw(),ed(),Nn(),rd(),UE(),$m(),dr(),nd(),Ym(),bt(),H(),O(),j(),D(),sa="custom-property-empty-line-before",Hd=I(sa,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),F1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},la=(e,t,r)=>(n,i)=>{T(i,sa,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!gt(o)||!ft(a)||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignore","after-custom-property")&&L1(o)||R(t,"ignore","first-nested")&&Rr(o)||R(t,"ignore","inside-single-line-block")&&s!=null&&(Ie(s)||ut(s))&&Gm(Dw(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Rr(o)||R(t,"except","after-block")&&_E(o)||R(t,"except","after-comment")&&Di(o)||R(t,"except","after-custom-property")&&L1(o))&&(l=!l);let u=td(o.raws.before);if(l===u)return;let c=l?Hd.expected:Hd.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:sa,fix:{apply:()=>Zc({node:o,newline:r.newline,action:d}),node:o.parent}})})},la.ruleName=sa,la.messages=Hd,la.meta=F1,QE=la}),GE={};N(GE,{default:()=>YE});function M1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var R1,ua,xf,$1,B1,ca,YE,wq=y(()=>{R1=Z(he(),1),V(),ee(),pd(),O(),j(),D(),ua="custom-property-no-missing-var-function",xf=I(ua,{rejected:e=>`Missing var function for "${e}"`}),$1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},B1=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ca=e=>(t,r)=>{if(!T(r,ua,{actual:e}))return;let n=new Set;t.walkAtRules(xe.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(Br.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(B1.has(a.toLowerCase())||(0,R1.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&Hi(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&M1(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!M1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ie(a)+o.sourceIndex,u=l+s.length;P({message:xf.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ua})}},ca.ruleName=ua,ca.messages=xf,ca.meta=$1,YE=ca});function Pr(e){return!(sz(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||Fm(e))}var Or=y(()=>{Mm(),lz()}),KE={};N(KE,{default:()=>HE});var q1,da,Sf,W1,pa,HE,kq=y(()=>{q1=Z(he(),1),ee(),V(),q(),dr(),Or(),pd(),O(),j(),D(),da="custom-property-pattern",Sf=I(da,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),W1={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},pa=e=>(t,r)=>{if(!T(r,da,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!ft(a)||!Pr(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,q1.default)(l).walk(u=>{if(!Hi(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(xe.propertyName,a=>{let{params:s}=a;i(s)||o(je(a),s,a)});function o(a,s,l){P({result:r,ruleName:da,message:Sf.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},pa.ruleName=da,pa.messages=Sf,pa.meta=W1,HE=pa});function xq(e){return ut(e)||Ie(e)||ur(e)}function Km(e,t){function r(n){if(xq(n)&&n.nodes&&n.nodes.length){let i=[];for(let o of n.nodes)o.type==="decl"&&i.push(o),r(o);i.length&&t(i.forEach.bind(i))}}r(e)}var Hm=y(()=>{fe()}),JE={};N(JE,{default:()=>XE});var ma,Cf,_1,ha,XE,Sq=y(()=>{q(),Hm(),dr(),Or(),H(),O(),j(),D(),ma="declaration-block-no-duplicate-custom-properties",Cf=I(ma,{rejected:e=>`Duplicate custom property "${e}"`}),_1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ha=(e,t)=>(r,n)=>{T(n,ma,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&Km(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Pr(s)||!ft(s)||R(t,"ignoreProperties",s))){if(o.has(s)){P({message:Cf.rejected,messageArgs:[s],node:a,result:n,ruleName:ma,word:s});return}o.add(s)}})})},ha.ruleName=ma,ha.messages=Cf,ha.meta=_1,XE=ha}),U1=y(()=>{});function ct(e){return e>=48&&e<=57}function Zr(e){return ct(e)||e>=65&&e<=70||e>=97&&e<=102}function Fw(e){return e>=65&&e<=90}function Cq(e){return e>=97&&e<=122}function Aq(e){return Fw(e)||Cq(e)}function Nq(e){return e>=128}function cm(e){return Aq(e)||Nq(e)||e===95}function ZE(e){return cm(e)||ct(e)||e===45}function zq(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function dm(e){return e===10||e===13||e===12}function wn(e){return dm(e)||e===32||e===9}function yr(e,t){return!(e!==92||dm(t)||t===0)}function jp(e,t,r){return e===45?cm(t)||t===45||yr(t,r):cm(e)?!0:e===92?yr(e,t):!1}function Af(e,t,r){return e===43||e===45?ct(t)?2:t===46&&ct(r)?3:0:e===46?ct(t)?2:0:ct(e)?1:0}function eP(e){return e===65279||e===65534?1:0}function Nf(e){return e<128?Tp[e]:pm}var Tp,V1,fc,Iv,pm,jv,mm=y(()=>{Tp=new Array(128),V1=128,fc=130,Iv=131,pm=132,jv=133;for(let e=0;e<Tp.length;e++)Tp[e]=wn(e)&&fc||ct(e)&&Iv||cm(e)&&pm||zq(e)&&jv||e||V1});function Ni(e,t){return t<e.length?e.charCodeAt(t):0}function Tv(e,t,r){return r===13&&Ni(e,t+1)===10?2:1}function zi(e,t,r){let n=e.charCodeAt(t);return Fw(n)&&(n=n|32),n===r}function Fc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Fw(a)&&(a=a|32),a!==o)return!1}return!0}function Eq(e,t){for(;t>=0&&wn(e.charCodeAt(t));t--);return t+1}function Jd(e,t){for(;t<e.length&&wn(e.charCodeAt(t));t++);return t}function zf(e,t){for(;t<e.length&&ct(e.charCodeAt(t));t++);return t}function Fi(e,t){if(t+=2,Zr(Ni(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Zr(Ni(e,t));t++);let r=Ni(e,t);wn(r)&&(t+=Tv(e,t,r))}return t}function Xd(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!ZE(r)){if(yr(r,Ni(e,t+1))){t=Fi(e,t)-1;continue}break}}return t}function Jm(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),ct(r)&&(t=zf(e,t+1),r=e.charCodeAt(t)),r===46&&ct(e.charCodeAt(t+1))&&(t+=2,t=zf(e,t)),zi(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),ct(r)&&(t=zf(e,t+1+n+1))}return t}function Ef(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}yr(r,Ni(e,t+1))&&(t=Fi(e,t))}return t}function tP(e){if(e.length===1&&!Zr(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Dv=y(()=>{mm()}),hm,rP=y(()=>{hm=["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 fm(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var nP=y(()=>{});function Q1(e){let t=e.source,r=t.length,n=t.length>0?eP(t.charCodeAt(0)):0,i=fm(e.lines,r),o=fm(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Lv||u===Fv||u===iP)&&(u===Fv&&l+1<r&&t.charCodeAt(l+1)===Lv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Lv,iP,Fv,oP,Pq=y(()=>{nP(),mm(),Lv=10,iP=12,Fv=13,oP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||Q1(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||Q1(this),{source:r,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]}}}}});function G1(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Rn,fa,Dr,Vt,aP,Oq=y(()=>{nP(),Dv(),rP(),_t=16777215,Ut=24,Rn=1,fa=2,Dr=new Uint8Array(32),Dr[2]=22,Dr[21]=22,Dr[19]=20,Dr[23]=24,Vt=new Uint8Array(32),Vt[2]=Rn,Vt[21]=Rn,Vt[19]=Rn,Vt[23]=Rn,Vt[22]=fa,Vt[20]=fa,Vt[24]=fa,aP=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=()=>{}){e=String(e||"");let r=e.length,n=fm(this.offsetAndType,e.length+1),i=fm(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Dr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Dr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Fc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[G1(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[G1(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Rn}isBlockCloserTokenType(e){return Vt[e]===fa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Dr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Dr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&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]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(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>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:hm[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function Xm(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=Jm(e,u),jp(r(u),r(u+1),r(u+2))){c=12,u=Xd(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=Xd(e,u),Fc(e,d,u,"url")&&r(u)===40){if(u=Jd(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch(Nf(p)){case d:u++;return;case fc:if(dm(p)){u+=Tv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);dm(m)?u+=Tv(e,u+1,m):yr(p,m)&&(u=Fi(e,u)-1);break}}}function a(){for(c=7,u=Jd(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch(Nf(d)){case 41:u++;return;case fc:if(u=Jd(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=Ef(e,u),c=8;return;case 34:case 39:case 40:case jv:u=Ef(e,u),c=8;return;case 92:if(yr(d,r(u+1))){u=Fi(e,u)-1;break}u=Ef(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=eP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch(Nf(d)){case fc:c=13,u=Jd(e,u+1);break;case 34:o();break;case 35:ZE(r(u+1))||yr(r(u+1),r(u+2))?(c=4,u=Xd(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:Af(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Af(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):jp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Af(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 47:r(u+1)===42?(c=25,u=e.indexOf("*/",u+2),u=u===-1?e.length:u+2):(c=9,u++);break;case 58:c=16,u++;break;case 59:c=17,u++;break;case 60:r(u+1)===33&&r(u+2)===45&&r(u+3)===45?(c=14,u=u+4):(c=9,u++);break;case 64:jp(r(u+1),r(u+2),r(u+3))?(c=3,u=Xd(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:yr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Iv:n();break;case pm:i();break;default:c=9,u++}t(c,l,l=u)}}var pr=y(()=>{mm(),Dv(),U1(),U1(),rP(),mm(),Dv(),Pq(),Oq()}),ln,Mc,Mw=y(()=>{ln=null,Mc=class dn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return dn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new dn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new dn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(dn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(dn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(dn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function gm(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
24
|
-
`)}})}var
|
|
19
|
+
`?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let g=d.get(b.input);g==null&&(g=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:g,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),Qw=G((e,t)=>{"use strict";var r=ah(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Yw=G((e,t)=>{"use strict";var r=ah(),n=class extends r{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};t.exports=n,n.default=n}),In=G((e,t)=>{"use strict";var r=Qw(),n=Yw(),i=ah(),{isClean:o,my:a}=Vw(),s,l,u,c;function d(v){return v.map(h=>(h.nodes&&(h.nodes=d(h.nodes)),delete h.source,h))}function p(v){if(v[o]=!1,v.proxyOf.nodes)for(let h of v.proxyOf.nodes)p(h)}var m=class QN extends i{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...h){for(let b of h){let g=this.normalize(b,this.last);for(let f of g)this.proxyOf.nodes.push(f)}return this.markDirty(),this}each(h){if(!this.proxyOf.nodes)return;let b=this.getIterator(),g,f;for(;this.indexes[b]<this.proxyOf.nodes.length&&(g=this.indexes[b],f=h(this.proxyOf.nodes[g],g),f!==!1);)this.indexes[b]+=1;return delete this.indexes[b],f}every(h){return this.nodes.every(h)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let h=this.lastEach;return this.indexes[h]=0,h}index(h){return typeof h=="number"?h:(h.proxyOf&&(h=h.proxyOf),this.proxyOf.nodes.indexOf(h))}insertAfter(h,b){let g=this.index(h),f=this.normalize(b,this.proxyOf.nodes[g]).reverse();g=this.index(h);for(let w of f)this.proxyOf.nodes.splice(g+1,0,w);let x;for(let w in this.indexes)x=this.indexes[w],g<x&&(this.indexes[w]=x+f.length);return this.markDirty(),this}insertBefore(h,b){let g=this.index(h),f=g===0?"prepend":!1,x=this.normalize(b,this.proxyOf.nodes[g],f).reverse();g=this.index(h);for(let k of x)this.proxyOf.nodes.splice(g,0,k);let w;for(let k in this.indexes)w=this.indexes[k],g<=w&&(this.indexes[k]=w+x.length);return this.markDirty(),this}normalize(h,b){if(typeof h=="string")h=d(l(h).nodes);else if(typeof h>"u")h=[];else if(Array.isArray(h)){h=h.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type==="root"&&this.type!=="document"){h=h.nodes.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type)h=[h];else if(h.prop){if(typeof h.value>"u")throw new Error("Value field is missed in node creation");typeof h.value!="string"&&(h.value=String(h.value)),h=[new n(h)]}else if(h.selector||h.selectors)h=[new c(h)];else if(h.name)h=[new s(h)];else if(h.text)h=[new r(h)];else throw new Error("Unknown node type in node creation");return h.map(g=>(g[a]||QN.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[o]&&p(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(g.raws.before=b.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...h){h=h.reverse();for(let b of h){let g=this.normalize(b,this.first,"prepend").reverse();for(let f of g)this.proxyOf.nodes.unshift(f);for(let f in this.indexes)this.indexes[f]=this.indexes[f]+g.length}return this.markDirty(),this}push(h){return h.parent=this,this.proxyOf.nodes.push(h),this}removeAll(){for(let h of this.proxyOf.nodes)h.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(h){h=this.index(h),this.proxyOf.nodes[h].parent=void 0,this.proxyOf.nodes.splice(h,1);let b;for(let g in this.indexes)b=this.indexes[g],b>=h&&(this.indexes[g]=b-1);return this.markDirty(),this}some(h){return this.nodes.some(h)}walk(h){return this.each((b,g)=>{let f;try{f=h(b,g)}catch(x){throw b.addToError(x)}return f!==!1&&b.walk&&(f=b.walk(h)),f})}walkAtRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="atrule"&&h.test(g.name))return b(g,f)}):this.walk((g,f)=>{if(g.type==="atrule"&&g.name===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="atrule")return b(g,f)}))}walkComments(h){return this.walk((b,g)=>{if(b.type==="comment")return h(b,g)})}walkDecls(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="decl"&&h.test(g.prop))return b(g,f)}):this.walk((g,f)=>{if(g.type==="decl"&&g.prop===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="decl")return b(g,f)}))}walkRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="rule"&&h.test(g.selector))return b(g,f)}):this.walk((g,f)=>{if(g.type==="rule"&&g.selector===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="rule")return b(g,f)}))}};m.registerParse=v=>{l=v},m.registerRule=v=>{c=v},m.registerAtRule=v=>{s=v},m.registerRoot=v=>{u=v},t.exports=m,m.default=m,m.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,s.prototype):v.type==="rule"?Object.setPrototypeOf(v,c.prototype):v.type==="decl"?Object.setPrototypeOf(v,n.prototype):v.type==="comment"?Object.setPrototypeOf(v,r.prototype):v.type==="root"&&Object.setPrototypeOf(v,u.prototype),v[a]=!0,v.nodes&&v.nodes.forEach(h=>{m.rebuild(h)})}}),YN=G((e,t)=>{"use strict";var r=In(),n=class extends r{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};t.exports=n,n.default=n,r.registerAtRule(n)}),Gw=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[])}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o}),VB=G(()=>{}),QB=G((e,t)=>{var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=(o,a=21)=>(s=a)=>{let l="",u=s|0;for(;u--;)l+=o[Math.random()*o.length|0];return l},i=(o=21)=>{let a="",s=o|0;for(;s--;)a+=r[Math.random()*64|0];return a};t.exports={nanoid:i,customAlphabet:n}}),GN=G(()=>{}),KN=G(()=>{}),YB=G((e,t)=>{var r=class{};t.exports=r}),Kw=G((e,t)=>{"use strict";var{nanoid:r}=QB(),{isAbsolute:n,resolve:i}=(Jm(),wA(kw)),{SourceMapConsumer:o,SourceMapGenerator:a}=GN(),{fileURLToPath:s,pathToFileURL:l}=KN(),u=_w(),c=YB(),d=_N(),p=Symbol("lineToIndexCache"),m=!!(o&&a),v=!!(i&&n);function h(g){if(g[p])return g[p];let f=g.css.split(`
|
|
20
|
+
`),x=new Array(f.length),w=0;for(let k=0,S=f.length;k<S;k++)x[k]=w,w+=f[k].length+1;return g[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(g,f={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,f.document&&(this.document=f.document.toString()),f.from&&(!v||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),v&&m){let x=new c(this.css,f);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(g,f,x,w={}){let k,S,E,z,L;if(f&&typeof f=="object"){let B=f,te=x;if(typeof B.offset=="number"){z=B.offset;let re=this.fromOffset(z);f=re.line,x=re.col}else f=B.line,x=B.column,z=this.fromLineAndColumn(f,x);if(typeof te.offset=="number"){E=te.offset;let re=this.fromOffset(E);S=re.line,k=re.col}else S=te.line,k=te.column,E=this.fromLineAndColumn(te.line,te.column)}else if(x)z=this.fromLineAndColumn(f,x);else{z=f;let B=this.fromOffset(z);f=B.line,x=B.col}let N=this.origin(f,x,S,k);return N?L=new u(g,N.endLine===void 0?N.line:{column:N.column,line:N.line},N.endLine===void 0?N.column:{column:N.endColumn,line:N.endLine},N.source,N.file,w.plugin):L=new u(g,S===void 0?f:{column:x,line:f},S===void 0?x:{column:k,line:S},this.css,this.file,w.plugin),L.input={column:x,endColumn:k,endLine:S,endOffset:E,line:f,offset:z,source:this.css},this.file&&(l&&(L.input.url=l(this.file).toString()),L.input.file=this.file),L}fromLineAndColumn(g,f){return h(this)[g-1]+f-1}fromOffset(g){let f=h(this),x=f[f.length-1],w=0;if(g>=x)w=f.length-1;else{let k=f.length-2,S;for(;w<k;)if(S=w+(k-w>>1),g<f[S])k=S-1;else if(g>=f[S+1])w=S+1;else{w=S;break}}return{col:g-f[w]+1,line:w+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:i(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,f,x,w){if(!this.map)return!1;let k=this.map.consumer(),S=k.originalPositionFor({column:f,line:g});if(!S.source)return!1;let E;typeof x=="number"&&(E=k.originalPositionFor({column:w,line:x}));let z;n(S.source)?z=l(S.source):z=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let L={column:S.column,endColumn:E&&E.column,endLine:E&&E.line,line:S.line,url:z.toString()};if(z.protocol==="file:")if(s)L.file=s(z);else throw new Error("file: protocol is not available in this PostCSS build");let N=k.sourceContentFor(S.source);return N&&(L.source=N),L}toJSON(){let g={};for(let f of["hasBOM","css","file","id"])this[f]!=null&&(g[f]=this[f]);return this.map&&(g.map={...this.map},g.map.consumerCache&&(g.map.consumerCache=void 0)),g}};t.exports=b,b.default=b,d&&d.registerInput&&d.registerInput(b)}),GB=G((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Jm(),wA(kw)),{SourceMapConsumer:a,SourceMapGenerator:s}=GN(),{pathToFileURL:l}=KN(),u=Kw(),c=!!(a&&s),d=!!(r&&i&&n&&o),p=class{constructor(m,v,h,b){this.stringify=m,this.mapOpts=h.map||{},this.root=v,this.opts=h,this.css=b,this.originalCSS=b,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let m;for(let v=this.root.nodes.length-1;v>=0;v--)m=this.root.nodes[v],m.type==="comment"&&m.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(v)}else if(this.css){let m;for(;(m=this.css.lastIndexOf("/*#"))!==-1;){let v=this.css.indexOf("*/",m+3);if(v===-1)break;for(;m>0&&this.css[m-1]===`
|
|
21
|
+
`;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),sh=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,s,l){let u=super.normalize(a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let c of u)c.raws.before=s.raws.before}return u}removeChild(a,s){let l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o,r.registerRoot(o)}),HN=G((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
|
|
22
|
+
`," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),XN=G((e,t)=>{"use strict";var r=In(),n=HN(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(o){let a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=o.join(s)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),KB=G((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,g,f,x,w=l.length,k=0,S=[],E=[],z=-1;function L(){return k}function N(be){throw a.error("Unclosed "+be,k)}function B(){return E.length===0&&k>=w}function te(be){if(E.length)return E.pop();if(k>=w)return;let he=be?be.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);h=[oe,oe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=l.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||he){m=k;break}else N("bracket");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else k<=z?h=["(","(",k]:(m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?(z=m===-1?w:m,h=["(","(",k]):(h=["brackets",d,k,m],k=m));break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||he){m=k+1;break}else N("string");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||he?m=l.length:N("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function re(be){E.push(be)}return{back:re,endOfFile:B,nextToken:te,position:L}}}),HB=G((e,t)=>{"use strict";var r=YN(),n=Qw(),i=Yw(),o=sh(),a=XN(),s=KB(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){g=!0;break}else if(m==="}"){if(f.length>0){for(h=f.length-1,v=f[h];v&&v[0]==="space";)v=f[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),b&&(d=f[f.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),g&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,g]of d.entries()){if(v=g,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(h=d[f],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=f;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(m.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(m=x[0],f.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(g&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(f,g);return}else break;else if(m==="{"){this.rule(f);return}else if(m==="}"){this.tokenizer.back(f.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!g)for(;f.length&&(x=f[f.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,g)}else this.unknownWord(f)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,g=m.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)h=m[S],b=h[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?f.slice(-1)===","?x=!1:f+=h[1]:x=!1):f+=h[1];if(!x){let S=m.reduce((E,z)=>E+z[1],"");d.raws[p]={raw:S,value:f}}d[p]=f}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),JN=G((e,t)=>{"use strict";var r=In(),n=Kw(),i=HB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),ZN=G((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let o=i.node.rangeBy(i);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(let o in i)this[o]=i[o]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};t.exports=r,r.default=r}),eE=G((e,t)=>{"use strict";var r=ZN(),n=class{get content(){return this.css}constructor(i,o,a){this.processor=i,this.messages=[],this.root=o,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,o);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),XB=G(()=>{}),tE=G((e,t)=>{"use strict";var r=In(),n=Gw(),i=GB(),o=JN(),a=eE(),s=sh(),l=Uw(),{isClean:u,my:c}=Vw(),d=XB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class rE{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,g,f){this.stringified=!1,this.processed=!1;let x;if(typeof g=="object"&&g!==null&&(g.type==="root"||g.type==="document"))x=p(g);else if(g instanceof rE||g instanceof a)x=p(g.root),g.map&&(typeof f.map>"u"&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=g.map);else{let w=o;f.syntax&&(w=f.syntax.parse),f.parser&&(w=f.parser),w.parse&&(w=w.parse);try{x=w(g,f)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,f),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,g=l;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=this.result.root.source;if(b.map===void 0&&!(f&&f.input&&f.input.map)){let w="";return g(this.result.root,k=>{w+=k}),this.result.css=w,this.result}let x=new i(g,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),JB=G((e,t)=>{var r=class{};t.exports=r}),ZB=G((e,t)=>{"use strict";var r=Gw(),n=tE(),i=JB(),o=sh(),a=class{constructor(s=[]){this.version="8.5.13",this.plugins=this.normalize(s)}normalize(){return[]}process(s,l={}){return!this.plugins.length&&!l.parser&&!l.stringifier&&!l.syntax?new i(this,s,l):new n(this,s,l)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),eq=G((e,t)=>{"use strict";var r=YN(),n=Qw(),i=In(),o=_w(),a=Yw(),s=Gw(),l=VB(),u=Kw(),c=tE(),d=HN(),p=ah(),m=JN(),v=ZB(),h=eE(),b=sh(),g=XN(),f=Uw(),x=ZN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new g(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Zh,_i,nE,gd=y(()=>{Zh=X(eq(),1),_i=Zh.default,nE=Zh.default.Node}),iE={};A(iE,{default:()=>oE});var zo,ef,t1,Ao,oE,tq=y(()=>{gd(),q(),no(),et(),K(),I(),j(),D(),zo="at-rule-no-deprecated",ef=O(zo,{rejected:e=>`Deprecated at-rule "${e}"`}),t1={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},Ao=(e,t)=>(r,n)=>{T(n,zo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(M(t,"ignoreAtRules",o)||!zv.has(a))return;let s=a==="nest"?()=>{let u=_i.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:ef.rejected,messageArgs:[l],node:i,ruleName:zo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},Ao.ruleName=zo,Ao.messages=ef,Ao.meta=t1,oE=Ao}),Xe,Dt=y(()=>{Xe={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),aE={};A(aE,{default:()=>sE});var No,tf,r1,Eo,sE,rq=y(()=>{q(),no(),et(),K(),I(),j(),D(),Dt(),No="at-rule-no-unknown",tf=O(No,{rejected:e=>`Unknown at-rule "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Eo=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,No,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Ze(u))return;let c=u.name;if(o.has(c)||M(t,"ignoreAtRules",u.name)||Xe.prefix(c)||KA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:tf.rejected,messageArgs:[d],node:u,ruleName:No,result:n,word:d})})},Eo.ruleName=No,Eo.messages=tf,Eo.meta=r1,sE=Eo}),n1,i1,o1,a1,zr,bd=y(()=>{Dt(),n1=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),i1=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),o1=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),a1=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),zr={atRuleName(e){return n1.has(`@${e.toLowerCase()}`)},selector(e){return i1.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Xe.prefix(t).length===0?!1:o1.has(Xe.unprefixed(t))},propertyValue(e){return a1.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),lE={};A(lE,{default:()=>uE});var Po,rf,s1,Io,uE,nq=y(()=>{q(),bd(),et(),K(),I(),j(),D(),Po="at-rule-no-vendor-prefix",rf=O(Po,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),s1={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Io=(e,t)=>(r,n)=>{T(n,Po,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(M(t,"ignoreAtRules",o)||!o.startsWith("-")||!zr.atRuleName(o))return;let a=()=>{i.name=zr.unprefix(i.name)},s=`@${o}`;P({message:rf.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:Po,fix:{apply:a,node:i}})})},Io.ruleName=Po,Io.messages=rf,Io.meta=s1,uE=Io}),cE={};A(cE,{default:()=>dE});var Oo,nf,l1,jo,dE,iq=y(()=>{q(),et(),J(),K(),I(),j(),D(),Oo="at-rule-prelude-no-invalid",nf=O(Oo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),l1={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},jo=(e,t)=>(r,n)=>{if(!T(n,Oo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(M(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=je(o),d=c+s.length;P({message:nf.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Oo,result:n})})},jo.ruleName=Oo,jo.messages=nf,jo.meta=l1,dE=jo});function oq(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var aq=y(()=>{});function Bt(...e){return t=>Cr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),pE={};A(pE,{default:()=>mE});var To,of,u1,Do,mE,sq=y(()=>{aq(),et(),q(),I(),j(),Ht(),D(),To="at-rule-property-required-list",of=O(To,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Do=e=>(t,r)=>{if(!T(r,To,{actual:e,possible:[Bt($)]}))return;let n=oq(e),i=new Set;t.walkAtRules(o=>{if(!Ze(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:of.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:To})}}})},Do.ruleName=To,Do.messages=of,Do.meta=u1,mE=Do});function hE(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),it(e))r+=e.selector;else if(Oe(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var fE=y(()=>{me()});function gE(e,t=vd){if(!e)return e;let[r]=e.split(/\s/,1);return eo(r),r.replace(t,"")}function ji(e,t=vd){let r=$(e)?e:Kr(e)?e.text:void 0;if(!r)return!1;let n=gE(r,t);return n!==void 0&&bE.has(n)}function lq(e,t=vd){return`${t}${e}`}var xm,Sm,Cm,zm,bE,vd,yd=y(()=>{q(),me(),xm="-disable",Sm="-disable-line",Cm="-disable-next-line",zm="-enable",bE=new Set([xm,Sm,Cm,zm]),vd="stylelint"}),vE={};A(vE,{default:()=>yE});var Lo,af,c1,Fo,yE,uq=y(()=>{fE(),nh(),me(),yd(),K(),I(),j(),D(),Lo="block-no-empty",af=O(Lo,{rejected:"Empty block"}),c1={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Fo=(e,t,r)=>(n,i)=>{if(!T(i,Lo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=M(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Gc(u)||s(u)||l(u))return;let c=hE(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:af.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Lo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Kr(d)&&(o||ji(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Fo.ruleName=Lo,Fo.messages=af,Fo.meta=c1,yE=Fo});function wd(e){return!(Zm(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var kd=y(()=>{eh()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!wd(e.selector))}var de=y(()=>{kd()}),wE={};A(wE,{default:()=>kE});var Mo,sf,d1,Ro,kE,cq=y(()=>{me(),de(),I(),j(),D(),Mo="block-no-redundant-nested-style-rules",sf=O(Mo,{rejected:"Redundant nested style rule"}),d1={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Ro=e=>(t,r)=>{T(r,Mo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:sf.rejected,messageArgs:[],node:n,result:r,ruleName:Mo}))})},Ro.ruleName=Mo,Ro.messages=sf,Ro.meta=d1,kE=Ro});function xd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var Sd=y(()=>{});function Hw(e){if(!xd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Hw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var xE=y(()=>{Sd()}),SE={};A(SE,{default:()=>CE});var p1,$o,lf,m1,Bo,CE,dq=y(()=>{p1=X(ue(),1),Ir(),J(),Be(),xE(),me(),V(),I(),j(),gt(),D(),$o="color-function-alias-notation",lf=O($o,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m1={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},Bo=e=>(t,r)=>{if(!T(r,$o,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?bm:Uc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,p1.default)($e(o));a.walk(s=>{if(!Nn(s)||!Hw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,ft(o,a.toString())},p=ie(o)+u,m=p+l.length;P({message:lf.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:$o,fix:{apply:d,node:o}})})})},Bo.ruleName=$o,Bo.messages=lf,Bo.meta=m1,CE=Bo});function ao(e){return Nn(e)&&e.value.toLowerCase()==="var"}var Cd=y(()=>{me()}),zE={};A(zE,{default:()=>NE});function uf(e){return e!==""?e:" "}function pq(e){return e.some(t=>ao(t))}function AE(e){return e.type==="div"&&e.value===","}function h1(e){let t=0;for(let r of e)if(AE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var f1,qo,cf,g1,Wo,NE,mq=y(()=>{f1=X(ue(),1),Ir(),J(),Be(),xE(),me(),Cd(),V(),K(),I(),j(),gt(),D(),qo="color-function-notation",cf=O(qo,{expected:e=>`Expected ${e} color-function notation`}),g1={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Wo=(e,t)=>(r,n)=>{if(!T(n,qo,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=M(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,f1.default)($e(o));a.walk(s=>{if(!Nn(s)||!Hw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&pq(d)||!jw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!h1(d)||e==="legacy"&&h1(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(AE(g)&&(b<2?(g.type="space",g.value=uf(g.after),b++):(g.value="/",g.before=uf(g.before),g.after=uf(g.after))),g)),Uc.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),ft(o,a.toString())},m=ie(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:cf.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:qo,fix:{apply:h,node:o}})})})},Wo.ruleName=qo,Wo.messages=cf,Wo.meta=g1,NE=Wo});function EE(e){return PE.test(e)}var PE,IE=y(()=>{PE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function OE({type:e,value:t}){return e==="word"&&EE(t)}var jE=y(()=>{IE()});function zd(e){return Nn(e)&&e.value.toLowerCase()==="url"}var Ad=y(()=>{me()}),TE={};A(TE,{default:()=>DE});function b1(e){return e.length===5||e.length===9}var v1,_o,Qd,y1,Uo,DE,hq=y(()=>{v1=X(ue(),1),J(),jE(),Ad(),V(),I(),j(),D(),_o="color-hex-alpha",Qd=O(_o,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),y1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Uo=e=>(t,r)=>{T(r,_o,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,v1.default)(n.value).walk(i=>{if(zd(i))return!1;if(!OE(i))return;let{value:o}=i;if(e==="always"&&b1(o)||e==="never"&&!b1(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Qd.rejected:Qd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:_o})})})},Uo.ruleName=_o,Uo.messages=Qd,Uo.meta=y1,DE=Uo}),LE={};A(LE,{default:()=>FE});function fq(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function gq(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function bq(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var w1,Vo,df,k1,Qo,FE,vq=y(()=>{w1=X(ue(),1),J(),Be(),jE(),Ad(),V(),I(),j(),gt(),D(),Vo="color-hex-length",df=O(Vo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),k1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Qo=e=>(t,r)=>{T(r,Vo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,w1.default)($e(n));i.walk(o=>{let{value:a}=o;if(zd(o))return!1;if(!OE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!fq(a)))return;let s=(e==="long"?bq:gq)(a),l=()=>{o.value=s,ft(n,i.toString())},u=ie(n)+o.sourceIndex,c=u+o.value.length;P({message:df.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Vo,fix:{apply:l,node:n}})})})},Qo.ruleName=Vo,Qo.messages=df,Qo.meta=k1,FE=Qo}),x1,fr,Je,Ft,pf,mf,Yd,S1,Yo,hf,ff,gf,bf,vf,qn,C1,z1,A1,N1,Gd,yf,E1,Kd,Hd,wf,Xd,er,kf,ME,yq=y(()=>{x1={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ft=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},pf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},mf=function(e){return{r:Ft(e.r,0,255),g:Ft(e.g,0,255),b:Ft(e.b,0,255),a:Ft(e.a)}},Yd=function(e){return{r:Je(e.r),g:Je(e.g),b:Je(e.b),a:Je(e.a,3)}},S1=/^#([0-9a-f]{3,8})$/i,Yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},hf=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},ff=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},gf=function(e){return{h:pf(e.h),s:Ft(e.s,0,100),l:Ft(e.l,0,100),a:Ft(e.a)}},bf=function(e){return{h:Je(e.h),s:Je(e.s),l:Je(e.l),a:Je(e.a,3)}},vf=function(e){return ff((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qn=function(e){return{h:(t=hf(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},C1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,A1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,N1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gd={string:[[function(e){var t=S1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Je(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=A1.exec(e)||N1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:mf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=C1.exec(e)||z1.exec(e);if(!t)return null;var r,n,i=gf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(x1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return vf(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return fr(t)&&fr(r)&&fr(n)?mf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=gf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return vf(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=(function(s){return{h:pf(s.h),s:Ft(s.s,0,100),v:Ft(s.v,0,100),a:Ft(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return ff(a)},"hsv"]]},yf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},E1=function(e){return typeof e=="string"?yf(e.trim(),Gd.string):typeof e=="object"&&e!==null?yf(e,Gd.object):[null,void 0]},Kd=function(e,t){var r=qn(e);return{h:r.h,s:Ft(r.s+100*t,0,100),l:r.l,a:r.a}},Hd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},wf=function(e,t){var r=qn(e);return{h:r.h,s:r.s,l:Ft(r.l+100*t,0,100),a:r.a}},Xd=(function(){function e(t){this.parsed=E1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Je(Hd(this.rgba),2)},e.prototype.isDark=function(){return Hd(this.rgba)<.5},e.prototype.isLight=function(){return Hd(this.rgba)>=.5},e.prototype.toHex=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Yo(Je(255*o)):"","#"+Yo(r)+Yo(n)+Yo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Yd(this.rgba)},e.prototype.toRgbString=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return bf(qn(this.rgba))},e.prototype.toHslString=function(){return t=bf(qn(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=hf(this.rgba),{h:Je(t.h),s:Je(t.s),v:Je(t.v),a:Je(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Kd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Je(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qn(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Je(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Xd?e:new Xd(e)},kf=[],ME=function(e){e.forEach(function(t){kf.indexOf(t)<0&&(t(Xd,Gd),kf.push(t))})}});function wq(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var kq=y(()=>{});function xq(e,t){e.prototype.toHwb=function(){return Bv(qv(this.rgba))},e.prototype.toHwbString=function(){return r=Bv(qv(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([$E,"hwb"]),t.object.push([RE,"hwb"])}var P1,Jd,Go,Zd,xf,Bv,qv,Sf,RE,I1,$E,Sq=y(()=>{P1={grad:.9,turn:360,rad:360/(2*Math.PI)},Jd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Go=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Zd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},xf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Zd(e.w,0,100),b:Zd(e.b,0,100),a:Zd(e.a)};var t},Bv=function(e){return{h:Go(e.h),w:Go(e.w),b:Go(e.b),a:Go(e.a,3)}},qv=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},Sf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},RE=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Jd(t)||!Jd(r)||!Jd(n))return null;var a=xf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Sf(a)},I1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$E=function(e){var t=I1.exec(e);if(!t)return null;var r,n,i=xf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(P1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Sf(i)}});function Cq(e,t){e.prototype.toLab=function(){return n=BE(this.rgba),o=n.y/Qp,a=n.z/Yp,i=(i=n.x/Vp)>Ti?Math.cbrt(i):(bn*i+16)/116,r={l:116*(o=o>Ti?Math.cbrt(o):(bn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ti?Math.cbrt(a):(bn*a+16)/116)),alpha:n.a},{l:wi(r.l,2),a:wi(r.a,2),b:wi(r.b,2),alpha:wi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),z=(S+E)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,N=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),N<0&&(N+=360);var B=N-L,te=Math.abs(N-L);te>180&&N<=L?B+=360:te>180&&N>L&&(B-=360);var re=L+N;te<=180?re/=2:re=(L+N<360?re+360:re-360)/2;var be=1-.17*Math.cos(v*(re-30))+.24*Math.cos(2*v*re)+.32*Math.cos(v*(3*re+6))-.2*Math.cos(v*(4*re-63)),he=c-s,oe=E-S,qe=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Ue=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),At=1+.045*z,Ve=1+.015*z*be,Y=30*Math.exp(-1*Math.pow((re-275)/25,2)),H=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*Y);return Math.pow(Math.pow(he/1/Ue,2)+Math.pow(oe/1/At,2)+Math.pow(qe/1/Ve,2)+H*oe*qe/(1*At*1*Ve),.5)})(this.toLab(),n.toLab())/100;return Qt(wi(i,3))},t.object.push([qE,"lab"])}var ep,wi,Qt,tp,rp,Vp,Qp,Yp,O1,BE,Ti,bn,qE,j1,zq=y(()=>{ep=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},wi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},tp=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},rp=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Vp=96.422,Qp=100,Yp=82.521,O1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:rp(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:rp(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:rp(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},BE=function(e){var t=tp(e.r),r=tp(e.g),n=tp(e.b);return(function(i){return{x:Qt(i.x,0,Vp),y:Qt(i.y,0,Qp),z:Qt(i.z,0,Yp),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ti=216/24389,bn=24389/27,qE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!ep(t)||!ep(r)||!ep(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return j1(a)},j1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return O1({x:(Math.pow(r,3)>Ti?Math.pow(r,3):(116*r-16)/bn)*Vp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/bn)*Qp,z:(Math.pow(n,3)>Ti?Math.pow(n,3):(116*n-16)/bn)*Yp,a:e.alpha})}});function Aq(e,t){e.prototype.toLch=function(){return Wv(_v(this.rgba))},e.prototype.toLchString=function(){return r=Wv(_v(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([_E,"lch"]),t.object.push([WE,"lch"])}var T1,np,on,gr,ip,op,ap,sp,lp,D1,L1,Wn,an,Cf,Wv,WE,_v,zf,F1,_E,Nq=y(()=>{T1={grad:.9,turn:360,rad:360/(2*Math.PI)},np=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},gr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},ip=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},op=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},ap=96.422,sp=100,lp=82.521,D1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:op(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:op(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:op(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:gr(r.r,0,255),g:gr(r.g,0,255),b:gr(r.b,0,255),a:gr(r.a)}},L1=function(e){var t=ip(e.r),r=ip(e.g),n=ip(e.b);return(function(i){return{x:gr(i.x,0,ap),y:gr(i.y,0,sp),z:gr(i.z,0,lp),a:gr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Wn=216/24389,an=24389/27,Cf=function(e){return{l:gr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Wv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},WE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!np(t)||!np(r)||!np(n))return null;var a=Cf({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return zf(a)},_v=function(e){var t=(function(o){var a=L1(o),s=a.x/ap,l=a.y/sp,u=a.z/lp;return s=s>Wn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Wn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Wn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},zf=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,D1({x:(Math.pow(n,3)>Wn?Math.pow(n,3):(116*n-16)/an)*ap,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*sp,z:(Math.pow(i,3)>Wn?Math.pow(i,3):(116*i-16)/an)*lp,a:t.alpha});var t,r,n,i},F1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_E=function(e){var t=F1.exec(e);if(!t)return null;var r,n,i=Cf({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(T1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return zf(i)}});function Eq(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||o.length>0)return null;let a=lh(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Pq(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Uv.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Uv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return lh(o).rgba}var Uv,lh,Iq=y(()=>{yq(),Uv=X(ue(),1),kq(),Sq(),zq(),Nq(),ME([wq,xq,Cq,Aq,(e,t)=>{t.string.push([Eq,"hwb-with-comma"])},(e,t)=>{t.string.push([Pq,"gray"])}]),lh=er}),UE={};A(UE,{default:()=>VE});var Af,Ko,up,M1,R1,Ho,VE,Oq=y(()=>{Af=X(ue(),1),q(),Pr(),Iq(),J(),Sd(),_e(),V(),Ke(),K(),I(),j(),D(),Ko="color-named",up=O(Ko,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),M1={url:"https://stylelint.io/user-guide/rules/color-named"},R1=new Set(["word","function"]),Ho=(e,t)=>(r,n)=>{if(!T(n,Ko,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(HA.has(o.prop)||M(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,Af.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(M(t,"ignore","inside-function")&&u==="function"||!xd(s))return!1;if(!Re(l)||!R1.has(u))return;if(e==="never"&&u==="word"&&Qc.has(l.toLowerCase())){i(up.rejected,[l],o,ie(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=Af.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=lh(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(up.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Ko,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Ho.ruleName=Ko,Ho.messages=up,Ho.meta=M1,VE=Ho}),QE={};A(QE,{default:()=>GE});function jq({type:e,value:t}){return e==="word"&&YE.test(t)}var $1,Xo,Nf,B1,YE,Jo,GE,Tq=y(()=>{$1=X(ue(),1),J(),Be(),Ad(),V(),I(),j(),D(),Xo="color-no-hex",Nf=O(Xo,{rejected:e=>`Disallowed hex color "${e}"`}),B1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},YE=/^#[\da-z]+$/i,Jo=e=>(t,r)=>{T(r,Xo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,$1.default)($e(n)).walk(i=>{if(zd(i))return!1;if(!jq(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:Nf.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Xo})})})},Jo.ruleName=Xo,Jo.messages=Nf,Jo.meta=B1,GE=Jo});function Dq(e){return!e.includes("[")}var Lq=y(()=>{}),KE={};A(KE,{default:()=>HE});var q1,Zo,Ef,W1,ea,HE,Fq=y(()=>{q1=X(ue(),1),J(),Lq(),IE(),V(),I(),j(),D(),Zo="color-no-invalid-hex",Ef=O(Zo,{rejected:e=>`Invalid hex color "${e}"`}),W1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},ea=e=>(t,r)=>{T(r,Zo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&Dq(n.value)&&(0,q1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||EE(l))return;let u=ie(n)+a,c=u+l.length;P({message:Ef.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Zo})})})},ea.ruleName=Zo,ea.messages=Ef,ea.meta=W1,HE=ea});function Kc(e){return!("inline"in e||"inline"in e.raws)}var uh=y(()=>{}),XE={};A(XE,{default:()=>JE});var ta,cp,_1,ra,JE,Mq=y(()=>{q(),pd(),hd(),rh(),yd(),fd(),oh(),Ww(),uh(),K(),I(),j(),D(),ta="comment-empty-line-before",cp=O(ta,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),_1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},ra=(e,t,r)=>(n,i)=>{T(i,ta,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(ih(o)||ji(o,r.configurationComment)&&M(t,"ignore","stylelint-commands")||M(t,"ignore","after-comment")&&Wi(o)||M(t,"ignoreComments",o.text)||qw(o)||!Kc(o))return;let a=M(t,"except","first-nested")&&Br(o)?!1:e==="always",s=o.raws.before||"",l=md(s);if(a===l)return;let u=a?cp.expected:cp.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:ta,fix:{apply:()=>dd({node:o,newline:r.newline,action:c}),node:o.parent}})})},ra.ruleName=ta,ra.messages=cp,ra.meta=_1,JE=ra}),ZE={};A(ZE,{default:()=>eP});var na,Pf,U1,ia,eP,Rq=y(()=>{uh(),I(),j(),D(),na="comment-no-empty",Pf=O(na,{rejected:"Empty comment"}),U1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},ia=e=>(t,r)=>{T(r,na,{actual:e})&&t.walkComments(n=>{Kc(n)&&(n.text&&n.text.length!==0||P({message:Pf.rejected,messageArgs:[],node:n,result:r,ruleName:na}))})},ia.ruleName=na,ia.messages=Pf,ia.meta=U1,eP=ia}),tP={};A(tP,{default:()=>rP});var oa,If,V1,aa,rP,$q=y(()=>{q(),I(),j(),D(),oa="comment-pattern",If=O(oa,{expected:e=>`Expected comment to match pattern "${e}"`}),V1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},aa=e=>(t,r)=>{if(!T(r,oa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:If.expected,messageArgs:[e],node:i,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=If,aa.meta=V1,rP=aa});function Vv(e){return[" ",`
|
|
23
|
+
`," ","\r","\f"].includes(e)}var nP=y(()=>{}),iP={};A(iP,{default:()=>oP});function Bq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function qq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var sa,sn,Q1,la,oP,Wq=y(()=>{uh(),nP(),I(),j(),D(),sa="comment-whitespace-inside",sn=O(sa,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),Q1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},la=e=>(t,r)=>{T(r,sa,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Kc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let g=l.length,f=g+u.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!Vv(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let g=i.length-m.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!Vv(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:sa,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(g===sn.expectedClosing?qq:Bq)(n)},node:n}})}})},la.ruleName=sa,la.messages=sn,la.meta=Q1,oP=la});function _q(e,t){if(!Array.isArray(t))return Y1(e,t);for(let r of t){let n=Y1(e,r);if(n)return n}return!1}function Y1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var Uq=y(()=>{q()}),aP={};A(aP,{default:()=>sP});var ua,Of,G1,_n,sP,Vq=y(()=>{q(),Uq(),Le(),I(),j(),D(),ua="comment-word-disallowed-list",Of=O(ua,{rejected:e=>`Disallowed word matching pattern "${e}"`}),G1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},_n=e=>(t,r)=>{T(r,ua,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||_q(i,e);o&&P({message:Of.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ua})})},_n.primaryOptionArray=!0,_n.ruleName=ua,_n.messages=Of,_n.meta=G1,sP=_n}),lP={};A(lP,{default:()=>uP});var jf,ca,Tf,K1,H1,da,uP,Qq=y(()=>{jf=X(ue(),1),J(),V(),q(),Ke(),et(),ct(),_e(),I(),j(),D(),ca="container-name-pattern",Tf=O(ca,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),K1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},H1=new Set(["and","or","none","not"]),da=e=>(t,r)=>{var s,l,u,c;if(!T(r,ca,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(dr.containerNameAndShorthandName,d=>{if(!ut(d))return;let p=(0,jf.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Re(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(Se.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,jf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;H1.has(h.toLowerCase())||n.test(h)||a(je(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:ca,message:Tf.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},da.ruleName=ca,da.messages=Tf,da.meta=K1,uP=da}),cP={};A(cP,{default:()=>dP});var pa,Df,X1,ma,dP,Yq=y(()=>{q(),J(),V(),I(),j(),D(),pa="custom-media-pattern",Df=O(pa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),X1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},ma=e=>(t,r)=>{if(!T(r,pa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=je(i);P({message:Df.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:pa})})},ma.ruleName=pa,ma.messages=Df,ma.meta=X1,dP=ma});function Gq(e){var i;let t=Qv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Qv.set(e,{result:n,before:r}),n}var Qv,Kq=y(()=>{Qv=new WeakMap});function Xw(e){return Gc(e)?Gq(e).slice(hE(e).length):""}var Jw=y(()=>{fE(),nh(),Kq()});function pP(e){let t=e.prev();return t?it(t)||Oe(t):!1}var mP=y(()=>{me()});function yt(e){return e.startsWith("--")}var pr=y(()=>{});function ch(e){return!/[\n\r]/.test(e)}var dh=y(()=>{}),hP={};A(hP,{default:()=>fP});function J1(e){let t=$r(e);return t!=null&&to(t)&&yt(t.prop)}var ha,dp,Z1,fa,fP,Hq=y(()=>{me(),Jw(),pd(),Pn(),hd(),mP(),rh(),pr(),fd(),dh(),ct(),K(),I(),j(),D(),ha="custom-property-empty-line-before",dp=O(ha,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),Z1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},fa=(e,t,r)=>(n,i)=>{T(i,ha,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!ut(o)||!yt(a)||M(t,"ignore","after-comment")&&Wi(o)||M(t,"ignore","after-custom-property")&&J1(o)||M(t,"ignore","first-nested")&&Br(o)||M(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||it(s))&&ch(Xw(s)))return;let l=e==="always";(M(t,"except","first-nested")&&Br(o)||M(t,"except","after-block")&&pP(o)||M(t,"except","after-comment")&&Wi(o)||M(t,"except","after-custom-property")&&J1(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?dp.expected:dp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ha,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},fa.ruleName=ha,fa.messages=dp,fa.meta=Z1,fP=fa}),gP={};A(gP,{default:()=>bP});function e0({type:e,value:t}){return e==="word"&&t.startsWith("--")}var t0,ga,Lf,r0,n0,ba,bP,Xq=y(()=>{t0=X(ue(),1),V(),J(),Cd(),I(),j(),D(),ga="custom-property-no-missing-var-function",Lf=O(ga,{rejected:e=>`Missing var function for "${e}"`}),r0={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},n0=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ba=e=>(t,r)=>{if(!T(r,ga,{actual:e}))return;let n=new Set;t.walkAtRules(Se.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(dr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(n0.has(a.toLowerCase())||(0,t0.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&ao(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&e0(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!e0(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ie(a)+o.sourceIndex,u=l+s.length;P({message:Lf.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ga})}},ba.ruleName=ga,ba.messages=Lf,ba.meta=r0,bP=ba});function Or(e){return!(IN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||Zm(e))}var jr=y(()=>{eh(),ON()}),vP={};A(vP,{default:()=>yP});var i0,va,Ff,o0,ya,yP,Jq=y(()=>{i0=X(ue(),1),J(),V(),q(),pr(),jr(),Cd(),I(),j(),D(),va="custom-property-pattern",Ff=O(va,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),o0={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ya=e=>(t,r)=>{if(!T(r,va,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Or(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,i0.default)(l).walk(u=>{if(!ao(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(Se.propertyName,a=>{let{params:s}=a;i(s)||o(je(a),s,a)});function o(a,s,l){P({result:r,ruleName:va,message:Ff.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},ya.ruleName=va,ya.messages=Ff,ya.meta=o0,yP=ya});function Zq(e){return it(e)||Oe(e)||ur(e)}function ph(e,t){function r(n){if(Zq(n)&&n.nodes&&n.nodes.length){let i=[];for(let o of n.nodes)o.type==="decl"&&i.push(o),r(o);i.length&&t(i.forEach.bind(i))}}r(e)}var mh=y(()=>{me()}),wP={};A(wP,{default:()=>kP});var wa,Mf,a0,ka,kP,e9=y(()=>{q(),mh(),pr(),jr(),K(),I(),j(),D(),wa="declaration-block-no-duplicate-custom-properties",Mf=O(wa,{rejected:e=>`Duplicate custom property "${e}"`}),a0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ka=(e,t)=>(r,n)=>{T(n,wa,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&ph(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Or(s)||!yt(s)||M(t,"ignoreProperties",s))){if(o.has(s)){P({message:Mf.rejected,messageArgs:[s],node:a,result:n,ruleName:wa,word:s});return}o.add(s)}})})},ka.ruleName=wa,ka.messages=Mf,ka.meta=a0,kP=ka}),s0=y(()=>{});function pt(e){return e>=48&&e<=57}function en(e){return pt(e)||e>=65&&e<=70||e>=97&&e<=102}function Zw(e){return e>=65&&e<=90}function t9(e){return e>=97&&e<=122}function r9(e){return Zw(e)||t9(e)}function n9(e){return e>=128}function Am(e){return r9(e)||n9(e)||e===95}function xP(e){return Am(e)||pt(e)||e===45}function i9(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Nm(e){return e===10||e===13||e===12}function xn(e){return Nm(e)||e===32||e===9}function wr(e,t){return!(e!==92||Nm(t)||t===0)}function Gp(e,t,r){return e===45?Am(t)||t===45||wr(t,r):Am(e)?!0:e===92?wr(e,t):!1}function Rf(e,t,r){return e===43||e===45?pt(t)?2:t===46&&pt(r)?3:0:e===46?pt(t)?2:0:pt(e)?1:0}function SP(e){return e===65279||e===65534?1:0}function $f(e){return e<128?Kp[e]:Em}var Kp,l0,Nc,Yv,Em,Gv,Pm=y(()=>{Kp=new Array(128),l0=128,Nc=130,Yv=131,Em=132,Gv=133;for(let e=0;e<Kp.length;e++)Kp[e]=xn(e)&&Nc||pt(e)&&Yv||Am(e)&&Em||i9(e)&&Gv||e||l0});function Di(e,t){return t<e.length?e.charCodeAt(t):0}function Kv(e,t,r){return r===13&&Di(e,t+1)===10?2:1}function Li(e,t,r){let n=e.charCodeAt(t);return Zw(n)&&(n=n|32),n===r}function Hc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Zw(a)&&(a=a|32),a!==o)return!1}return!0}function o9(e,t){for(;t>=0&&xn(e.charCodeAt(t));t--);return t+1}function pp(e,t){for(;t<e.length&&xn(e.charCodeAt(t));t++);return t}function Bf(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function Ui(e,t){if(t+=2,en(Di(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&en(Di(e,t));t++);let r=Di(e,t);xn(r)&&(t+=Kv(e,t,r))}return t}function mp(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!xP(r)){if(wr(r,Di(e,t+1))){t=Ui(e,t)-1;continue}break}}return t}function hh(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),pt(r)&&(t=Bf(e,t+1),r=e.charCodeAt(t)),r===46&&pt(e.charCodeAt(t+1))&&(t+=2,t=Bf(e,t)),Li(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),pt(r)&&(t=Bf(e,t+1+n+1))}return t}function qf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}wr(r,Di(e,t+1))&&(t=Ui(e,t))}return t}function CP(e){if(e.length===1&&!en(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Hv=y(()=>{Pm()}),Im,zP=y(()=>{Im=["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 Om(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var AP=y(()=>{});function u0(e){let t=e.source,r=t.length,n=t.length>0?SP(t.charCodeAt(0)):0,i=Om(e.lines,r),o=Om(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Xv||u===Jv||u===NP)&&(u===Jv&&l+1<r&&t.charCodeAt(l+1)===Xv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Xv,NP,Jv,EP,a9=y(()=>{AP(),Pm(),Xv=10,NP=12,Jv=13,EP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||u0(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||u0(this),{source:r,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]}}}}});function c0(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Un,xa,Fr,Vt,PP,s9=y(()=>{AP(),Hv(),zP(),_t=16777215,Ut=24,Un=1,xa=2,Fr=new Uint8Array(32),Fr[2]=22,Fr[21]=22,Fr[19]=20,Fr[23]=24,Vt=new Uint8Array(32),Vt[2]=Un,Vt[21]=Un,Vt[19]=Un,Vt[23]=Un,Vt[22]=xa,Vt[20]=xa,Vt[24]=xa,PP=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=()=>{}){e=String(e||"");let r=e.length,n=Om(this.offsetAndType,e.length+1),i=Om(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Fr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Fr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Hc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[c0(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[c0(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Un}isBlockCloserTokenType(e){return Vt[e]===xa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Fr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Fr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&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]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(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>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:Im[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function fh(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=hh(e,u),Gp(r(u),r(u+1),r(u+2))){c=12,u=mp(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=mp(e,u),Hc(e,d,u,"url")&&r(u)===40){if(u=pp(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch($f(p)){case d:u++;return;case Nc:if(Nm(p)){u+=Kv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);Nm(m)?u+=Kv(e,u+1,m):wr(p,m)&&(u=Ui(e,u)-1);break}}}function a(){for(c=7,u=pp(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch($f(d)){case 41:u++;return;case Nc:if(u=pp(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=qf(e,u),c=8;return;case 34:case 39:case 40:case Gv:u=qf(e,u),c=8;return;case 92:if(wr(d,r(u+1))){u=Ui(e,u)-1;break}u=qf(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=SP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch($f(d)){case Nc:c=13,u=pp(e,u+1);break;case 34:o();break;case 35:xP(r(u+1))||wr(r(u+1),r(u+2))?(c=4,u=mp(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Rf(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Gp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 47:r(u+1)===42?(c=25,u=e.indexOf("*/",u+2),u=u===-1?e.length:u+2):(c=9,u++);break;case 58:c=16,u++;break;case 59:c=17,u++;break;case 60:r(u+1)===33&&r(u+2)===45&&r(u+3)===45?(c=14,u=u+4):(c=9,u++);break;case 64:Gp(r(u+1),r(u+2),r(u+3))?(c=3,u=mp(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:wr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Yv:n();break;case Em:i();break;default:c=9,u++}t(c,l,l=u)}}var mr=y(()=>{Pm(),Hv(),s0(),s0(),zP(),Pm(),Hv(),a9(),s9()}),ln,Xc,ek=y(()=>{ln=null,Xc=class pn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(pn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(pn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function jm(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
24
|
+
`)}})}var tk=y(()=>{});function d0({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(v,h){return u.slice(v,h).map((b,g)=>String(v+g+1).padStart(p)+" |"+b).join(`
|
|
25
25
|
`)}let s=`
|
|
26
|
-
`.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(
|
|
27
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function
|
|
28
|
-
`+
|
|
29
|
-
`,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=
|
|
26
|
+
`.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(ey.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Hp&&(m=r-Zv+3,r=Zv-2);for(let v=c;v<=d;v++)v>=0&&v<u.length&&(u[v]=u[v].replace(/\t/g,ey),u[v]=(m>0&&u[v].length>m?"…":"")+u[v].substr(m,Hp-2)+(u[v].length>m+Hp-1?"…":""));return[a(c,t),new Array(r+p+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
|
|
27
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function p0(e,t,r,n,i,o=1,a=1){return Object.assign(jm("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
|
|
28
|
+
`+d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var Hp,Zv,ey,l9=y(()=>{tk(),Hp=100,Zv=60,ey=" "});function u9(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var c9=y(()=>{});function d9(e){return function(){return this[e]()}}function Wf(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function p9(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Wf(e.atrule),pseudo:Wf(e.pseudo),node:Wf(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=d9(n);break}return{config:t,...t,...t.node}}function m9(e){let t="",r="<unknown>",n=!1,i=mn,o=!1,a=new EP,s=Object.assign(new PP,p9(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:u9,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===ty?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===ty||u===Xp?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===IP||u===Xp?1:0},consumeUntilSemicolonIncluded(u){return u===Xp?2:0},createList:mn,createSingleNodeList:mn,getFirstListNode:mn,getLastListNode:mn,parseWithFallback(u,c){let d=this.tokenIndex;try{return u.call(this)}catch(p){if(o)throw p;this.skip(d-this.tokenIndex);let m=c.call(this);return o=!0,i(p,m),o=!1,m}},lookupNonWSType(u){let c;do if(c=this.lookupType(u++),c!==13&&c!==25)return c;while(c!==ry);return ry},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,c){return t.substring(u,c)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,c){return Li(t,u,c)},cmpStr(u,c,d){return Hc(t,u,c,d)},consume(u){let c=this.tokenStart;return this.eat(u),this.substrToCursor(c)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let c=t.substring(this.tokenStart,hh(t,this.tokenStart));return this.eat(u),c},eat(u){if(this.tokenType!==u){let c=Im[u].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),d=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,p=this.tokenStart;switch(u){case 1:this.tokenType===2||this.tokenType===7?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case 4:this.isDelim(OP)&&(this.next(),p++,d="Name is expected");break;case 11:this.tokenType===10&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==1||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,c){return n?a.getLocationRange(u,c,r):null},getLocationFromList(u){if(n){let c=this.getFirstListNode(u),d=this.getLastListNode(u);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,d!==null?d.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(u,c){let d=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(o9(t,t.length-1)):a.getLocation(this.tokenStart);throw new p0(u||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}}),l=()=>({filename:r,source:t,tokenCount:s.tokenCount,getTokenType:u=>s.getTokenType(u),getTokenTypeName:u=>Im[s.getTokenType(u)],getTokenStart:u=>s.getTokenStart(u),getTokenEnd:u=>s.getTokenEnd(u),getTokenValue:u=>s.source.substring(s.getTokenStart(u),s.getTokenEnd(u)),substring:(u,c)=>s.source.substring(u,c),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:u=>s.getBlockTokenPairIndex(u),getLocation:u=>a.getLocation(u,r),getRangeLocation:(u,c)=>a.getLocationRange(u,c,r)});return Object.assign(function(u,c){t=u,c=c||{},s.setSource(t,fh),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:mn,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,s.parseValue="parseValue"in c?!!c.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;let{context:d="default",list:p=!0,onComment:m,onToken:v}=c;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");Object.assign(s,p?TP:jP),Array.isArray(v)?s.forEachToken((b,g,f)=>{v.push({type:b,start:g,end:f})}):typeof v=="function"&&s.forEachToken(v.bind(l())),typeof m=="function"&&s.forEachToken((b,g,f)=>{if(b===25){let x=s.getLocation(g,f),w=Hc(t,f-2,f,"*/")?t.slice(g+2,f-2):t.slice(g+2,f);m(w,x)}});let h=s.context[d].call(s,c);return s.eof||s.error(),h},{SyntaxError:p0,config:s.config})}var mn,IP,OP,Xp,ty,ry,jP,TP,h9=y(()=>{ek(),l9(),mr(),c9(),mn=()=>{},IP=33,OP=35,Xp=59,ty=123,ry=0,jP={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},TP={createList(){return new Xc},createSingleNodeList(e){return new Xc().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),DP,f9=y(()=>{DP=()=>{}}),ny={};A(ny,{safe:()=>rk,spec:()=>MP});function m0(e){let t=new Set(e.map(([r,n])=>Jp(r)<<16|Jp(n)));return function(r,n,i){let o=Jp(n,i),a=i.charCodeAt(0),s=a===FP&&n!==1&&n!==2&&n!==15||a===LP?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var LP,FP,Jp,_f,h0,MP,rk,g9=y(()=>{LP=43,FP=45,Jp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),_f=[[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],["/","*"]],h0=_f.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,"-"]]),MP=m0(_f),rk=m0(h0)});function b9(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function v9(e){let t=new Map;for(let[r,n]of Object.entries(e.node))typeof(n.generate||n)=="function"&&t.set(r,n.generate||n);return function(r,n){let i="",o=0,a={node(l){if(t.has(l.type))t.get(l.type).call(s,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:rk,token(l,u,c){o=this.tokenBefore(o,l,u),!c&&o&1&&this.emit(" ",13,!0),this.emit(u,l,!1),l===9&&u.charCodeAt(0)===RP&&this.emit(`
|
|
29
|
+
`,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=DP(a)),n.mode in ny&&(a.tokenBefore=ny[n.mode]));let s={node:l=>a.node(l),children:b9,token:(l,u)=>a.token(l,u),tokenize:l=>fh(l,(u,c,d)=>{a.token(u,l.slice(c,d),c!==0)})};return a.node(r),a.result()}}var RP,y9=y(()=>{mr(),f9(),g9(),RP=92}),$P,w9=y(()=>{$P=()=>({})});function f0(e){return typeof e=="function"?e:Ci}function g0(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function k9(e,t){let r=t.structure,n=[];for(let i in r){if(gh.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let s of o)s===null?a.nullable=!0:typeof s=="string"?a.type="node":Array.isArray(s)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function x9(e){let t={};for(let r in e.node)if(gh.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=k9(r,n)}return t}function b0(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,l){let u;i&&(u=a[n],a[n]=o);for(let c of r){let d=o[c.name];if(!c.nullable||d){if(c.type==="list"){if(t?d.reduceRight(l,!1):d.reduce(l,!1))return!0}else if(s(d))return!0}}i&&(a[n]=u)}}function v0({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function S9(e){let t=x9(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)gh.call(t,u)&&t[u]!==null&&(r[u]=b0(t[u],!1),n[u]=b0(t[u],!0));let a=v0(r),s=v0(n),l=function(u,c){function d(g,f,x){let w=p.call(b,g,f,x);return w===i?!0:w===o?!1:!!(v.hasOwnProperty(g.type)&&v[g.type](g,b,d,h)||m.call(b,g,f,x)===i)}let p=Ci,m=Ci,v=r,h=(g,f,x,w)=>g||d(f,x,w),b={break:i,skip:o,root:u,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")p=c;else if(c&&(p=f0(c.enter),m=f0(c.leave),c.reverse&&(v=n),c.visit)){if(a.hasOwnProperty(c.visit))v=c.reverse?s[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");p=g0(p,c.visit),m=g0(m,c.visit)}if(p===Ci&&m===Ci)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(u)};return l.break=i,l.skip=o,l.find=function(u,c){let d=null;return l(u,function(p,m,v){if(c.call(this,p,m,v))return d=p,i}),d},l.findLast=function(u,c){let d=null;return l(u,{reverse:!0,enter(p,m,v){if(c.call(this,p,m,v))return d=p,i}}),d},l.findAll=function(u,c){let d=[];return l(u,function(p,m,v){c.call(this,p,m,v)&&d.push(p)}),d},l}var gh,Ci,C9=y(()=>{({hasOwnProperty:gh}=Object.prototype),Ci=function(){}});function z9(e){return e}function A9(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function N9(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function E9(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Tm(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Tm(e,t,r,n){let i;switch(e.type){case"Group":i=E9(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Tm(e.term,t,r,n)+t(A9(e),e);case"Boolean":i="<boolean-expr["+Tm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(N9(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function P9(e,t){let r=z9,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Tm(e,r,n,i)}var I9=y(()=>{});function O9(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,s=0,l=0,u="",c,d;for(let p=0;p<r.length;p++){let m=r[p].value;p===n&&(s=m.length,a=u.length),o!==null&&r[p].node===o&&(p<=n?l++:l=0),u+=m}return n===r.length||l>1?(c=hp(o||t,"end")||yc(iy,u),d=yc(c)):(c=hp(o,"start")||yc(hp(t,"start")||iy,u.slice(0,a)),d=hp(o,"end")||yc(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function hp(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?yc(r):r:null}function yc({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var iy,Zp,BP,j9=y(()=>{tk(),I9(),iy={offset:0,line:1,column:1},Zp=function(e,t){let r=jm("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},BP=function(e,t,r,n){let i=jm("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=O9(n,r);return i.rawMessage=e,i.syntax=t?P9(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
|
|
30
30
|
syntax: `+i.syntax+`
|
|
31
31
|
value: `+(o||"<empty string>")+`
|
|
32
|
-
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function
|
|
32
|
+
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function nk(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)===Jc}function qP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)!==Jc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function T9(e){if(wc.has(e))return wc.get(e);let t=e.toLowerCase(),r=wc.get(t);if(r===void 0){let n=nk(t,0),i=n?"":qP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return wc.set(e,r),r}function D9(e){if(hn.has(e))return hn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=nk(t,r.length);if(!n&&(t=t.toLowerCase(),hn.has(t))){let s=hn.get(t);return hn.set(e,s),s}let i=n?"":qP(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return hn.set(e,a),a}var wc,hn,Jc,em,oy,ik=y(()=>{wc=new Map,hn=new Map,Jc=45,em=T9,oy=D9}),bh,ok=y(()=>{bh=["initial","inherit","unset","revert","revert-layer"]});function ay(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Ec(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Qr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Vi||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!pt(e.value.charCodeAt(t)))return 0;return n+1}function Uf(e,t,r){let n=!1,i=Ec(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(ay(e,Vi)||ay(e,tr)){if(n=!0,i=Ec(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==Vi&&o!==tr)return 0}return Qr(e,n?0:1,n,i)}function L9(e,t){let r=0;if(!e)return 0;if(e.type===10)return Qr(e,0,WP,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!Li(e.value,1,tm))return 0;switch(e.value.length){case 2:return Uf(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(2)!==tr?0:Qr(e,3,fn,r)}}else if(e.type===1||ay(e,Vi)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Li(e.value,0,tm))return 0;switch(e.value.length){case 1:return Uf(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(1)!==tr?0:Qr(e,2,fn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Vi||n===tr?1:0,o=i;for(;o<e.value.length&&pt(e.value.charCodeAt(o));o++);return o===i||!Li(e.value,o,tm)?0:o+1===e.value.length?Uf(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r)):Qr(e,o+2,fn,r)}return 0}var Vi,tr,tm,fn,WP,F9=y(()=>{mr(),Vi=43,tr=45,tm=110,fn=!0,WP=!1});function sy(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function M9(e,t){return e.value.charCodeAt(0)===t}function kc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===ak&&r&&n!==0)return kc(e,t+n+1,!1),6;if(!en(o)||++n>6)return 0}return n}function fp(e,t,r){if(!e)return 0;for(;sy(r(t),sk);){if(++e>6)return 0;t++}return t}function R9(e,t){let r=0;if(e===null||e.type!==1||!Li(e.value,0,UP)||(e=t(++r),e===null))return 0;if(sy(e,_P))return e=t(++r),e===null?0:e.type===1?fp(kc(e,0,!0),++r,t):sy(e,sk)?fp(1,++r,t):0;if(e.type===10){let n=kc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!M9(e,ak)||!kc(e,1,!1)?0:r+1:fp(n,r,t))}return e.type===12?fp(kc(e,1,!0),++r,t):0}var _P,ak,sk,UP,$9=y(()=>{mr(),_P=43,ak=45,sk=63,UP=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function VP(e,t){return Hc(e,0,e.length,t)}function QP(e,t){for(let r=0;r<t.length;r++)if(VP(e,t[r]))return!0;return!1}function YP(e,t){return t!==e.length-2?!1:lr(e,t)===92&&pt(lr(e,t+1))}function vh(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function B9(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function Yt(e,t){return function(r,n,i){return r===null?0:r.type===2&&QP(r.value,t)?B9(r,n):e(r,n,i)}}function Me(e){return function(t){return t===null||t.type!==e?0:1}}function q9(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return QP(t,bh)||VP(t,"default")?0:1}function GP(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function W9(e){return!GP(e)||e.value==="--"?0:1}function _9(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!en(lr(e.value,r)))return 0;return 1}function U9(e){return e===null||e.type!==4||!Gp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function V9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 17:if(r===0)break e;break;case 9:if(r===0&&e.value==="!")break e;break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function Q9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function Mr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=hh(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!YP(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return vh(n,t.value,i)?0:1}}function Y9(e,t,r){return e===null||e.type!==11||vh(r,e.value,e.value.length-1)?0:1}function KP(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,r,n)}}function G9(e,t,r){if(e===null)return 0;let n=hh(e.value,0);return n!==e.value.length&&!YP(e.value,n)||vh(r,e.value,n)?0:1}function K9(e,t,r){if(e===null||e.type!==10)return 0;let n=lr(e.value,0)===43||lr(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!pt(lr(e.value,n)))return 0;return vh(r,e.value,n)?0:1}function H9(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Yt(Mr(null),yr),angle:Yt(Mr(t),yr),decibel:Yt(Mr(r),yr),frequency:Yt(Mr(n),yr),flex:Yt(Mr(i),yr),length:Yt(KP(Mr(o)),yr),resolution:Yt(Mr(a),yr),semitones:Yt(Mr(s),yr),time:Yt(Mr(l),yr)}}function X9(e){let t=new Set;for(let r of JP)if(Array.isArray(e[r]))for(let n of e[r])t.add(n.toLowerCase());return function(r){return r===null?0:r.type===9&&r.value==="%"||r.type===1&&t.has(r.value.toLowerCase())?1:0}}function J9(e){return{...HP,...XP,...H9(e),"attr-unit":X9(e)}}var gp,bp,vp,y0,w0,k0,yp,wp,Vf,x0,yr,yh,HP,XP,JP,Z9=y(()=>{ok(),F9(),$9(),mr(),gp=["calc(","-moz-calc(","-webkit-calc("],bp=["min(","max(","clamp("],vp=["round(","mod(","rem("],y0=["sin(","cos(","tan("],w0=["asin(","acos(","atan(","atan2("],k0=["pow(","sqrt(","log(","exp(","sign("],yp=["hypot("],wp=["abs("],Vf=[...gp,...bp,...vp,...y0,...k0,...yp,...wp],x0=[...gp,...bp,...vp,...yp,...wp],yr=[...gp,...bp,...vp,...w0,...yp,...wp],yh=new Map([[2,22],[21,22],[19,20],[23,24]]),HP={"ident-token":Me(1),"function-token":Me(2),"at-keyword-token":Me(3),"hash-token":Me(4),"string-token":Me(5),"bad-string-token":Me(6),"url-token":Me(7),"bad-url-token":Me(8),"delim-token":Me(9),"number-token":Me(10),"percentage-token":Me(11),"dimension-token":Me(12),"whitespace-token":Me(13),"CDO-token":Me(14),"CDC-token":Me(15),"colon-token":Me(16),"semicolon-token":Me(17),"comma-token":Me(18),"[-token":Me(19),"]-token":Me(20),"(-token":Me(21),")-token":Me(22),"{-token":Me(23),"}-token":Me(24)},XP={string:Me(5),ident:Me(1),percentage:Yt(Y9,x0),zero:KP(),number:Yt(G9,Vf),integer:Yt(K9,Vf),"custom-ident":q9,"dashed-ident":GP,"custom-property-name":W9,"hex-color":_9,"id-selector":U9,"an-plus-b":L9,urange:R9,"declaration-value":V9,"any-value":Q9},JP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),ly={};A(ly,{angle:()=>eI,decibel:()=>oI,flex:()=>iI,frequency:()=>rI,length:()=>ZP,resolution:()=>nI,semitones:()=>aI,time:()=>tI});var ZP,eI,tI,rI,nI,iI,oI,aI,eW=y(()=>{ZP=["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"],eI=["deg","grad","rad","turn"],tI=["s","ms"],rI=["hz","khz"],nI=["dpi","dpcm","dppx","x"],iI=["fr"],oI=["db"],aI=["st"]});function tW(e,t,r){return Object.assign(jm("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
33
33
|
`+t+`
|
|
34
|
-
--`+new Array((r||t.length)+1).join("-")+"^"})}var A9=y(()=>{Rw()}),a0,s0,l0,u0,c0,Tf,RP,N9=y(()=>{A9(),a0=9,s0=10,l0=12,u0=13,c0=32,Tf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),RP=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)}isNameCharCode(e=this.charCode()){return e<128&&Tf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==u0&&t!==s0&&t!==l0&&t!==c0&&t!==a0)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 C9(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Tf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function d0(e){let t=null,r=null;return e.eat(qc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===ah?(e.pos++,e.skipWs(),e.charCode()!==ym&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(ym),{min:Number(t),max:r?Number(r):0}}function z9(e){let t=null,r=!1;switch(e.charCode()){case Yw:e.pos++,t={min:0,max:0};break;case oh:e.pos++,t={min:1,max:0};break;case Bc:e.pos++,t={min:0,max:1};break;case ih:e.pos++,r=!0,e.charCode()===qc?t=d0(e):e.charCode()===Bc?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case qc:t=d0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function en(e,t){let r=z9(e);return r!==null?(r.term=t,e.charCode()===ih&&e.charCodeAt(e.pos-1)===oh||e.charCode()===Bc&&e.charCodeAt(e.pos-1)===ym?en(e,r):r):t}function Df(e){let t=e.peek();return t===""?null:en(e,{type:"Token",value:t})}function E9(e){let t;return e.eat(sh),e.eat($c),t=e.scanWord(),e.eat($c),e.eat(vm),en(e,{type:"Property",name:t})}function P9(e){let t=null,r=null,n=1;return e.eat(Ri),e.charCode()===Yv&&(e.peek(),n=-1),n==-1&&e.charCode()===Hv?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(ah),e.skipWs(),e.charCode()===Hv?e.peek():(n=1,e.charCode()===Yv&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(kn),{type:"Range",min:t,max:r}}function O9(e){let t,r=null;if(e.eat(sh),t=e.scanWord(),t==="boolean-expr"){e.eat(Ri);let n=nh(e,kn);return e.eat(kn),e.eat(vm),en(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===Qw&&e.nextCharCode()===Gw&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ri&&(e.skipWs(),r=P9(e)),e.eat(vm),en(e,{type:"Type",name:t,opts:r})}function I9(e){let t=e.scanWord();return e.charCode()===Qw?(e.pos++,{type:"Function",name:t}):en(e,{type:"Keyword",name:t})}function j9(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>Jv[i]-Jv[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function nh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?nh(e,Gw):D9(e);if(!s)break;if(s.type!=="Spaces"){if(a){if(s.terms.length===0){a=!1;continue}if(s.combinator===" "){for(;s.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},s.terms.shift());s=s.terms[0]}}s.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[s.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(s),i=s,o=e.pos,a=s.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:j9(n,r)||" ",disallowEmpty:!1,explicit:!1}}function T9(e){let t;return e.eat(Ri),t=nh(e,kn),e.eat(kn),t.explicit=!0,e.charCode()===Vw&&(e.pos++,t.disallowEmpty=!0),t}function D9(e){let t=e.charCode();switch(t){case kn:break;case Ri:return en(e,T9(e));case sh:return e.nextCharCode()===$c?E9(e):O9(e);case Kv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Kv?2:1))};case Gv:return e.pos++,e.eat(Gv),{type:"Combinator",value:"&&"};case ah:return e.pos++,{type:"Comma"};case $c:return en(e,{type:"String",value:e.scanString()});case UP:case BP:case qP:case _P:case WP:return{type:"Spaces",value:e.scanSpaces()};case VP:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Df(e);case Yw:case oh:case Bc:case ih:case Vw:break;case qc:if(t=e.nextCharCode(),t<48||t>57)return Df(e);break;default:return e.isNameCharCode(t)?I9(e):Df(e)}}function $P(e){let t=new RP(e),r=nh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var BP,qP,WP,_P,UP,Vw,ih,Gv,$c,Qw,Gw,Yw,oh,ah,Yv,sh,vm,Bc,VP,Ri,kn,qc,Kv,ym,Hv,Jv,QP=y(()=>{N9(),BP=9,qP=10,WP=12,_P=13,UP=32,Vw=33,ih=35,Gv=38,$c=39,Qw=40,Gw=41,Yw=42,oh=43,ah=44,Yv=45,sh=60,vm=62,Bc=63,VP=64,Ri=91,kn=93,qc=123,Kv=124,ym=125,Hv=8734,Jv={" ":1,"&&":2,"||":3,"|":4}}),L9=y(()=>{}),GP=y(()=>{QP(),L9()});function F9(e){let t=[];return Xm(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function M9(e,t){return typeof e=="string"?F9(e):t.generate(e,YP)}var YP,R9=y(()=>{pr(),YP={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function ht(e,t,r){return t===ze&&r===De||e===ze&&t===ze&&r===ze?e:(e.type==="If"&&e.else===De&&t===ze&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function KP(e){return e.length>2&&e.charCodeAt(e.length-2)===HP&&e.charCodeAt(e.length-1)===JP}function p0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&KP(e.name)}function Wr(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function bc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=bc(e.match,t,r),e.then=bc(e.then,t,r),e.else=bc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function Xv(e,t,r){switch(e){case" ":{let n=ze;for(let i=t.length-1;i>=0;i--){let o=t[i];n=ht(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(p0(a)&&(i===null&&o>0&&p0(t[o-1])&&(i=Object.create(null),n=ht({type:"Enum",map:i},ze,n)),i!==null)){let s=(KP(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=ht(a,ze,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Xv(e,t.filter(function(s){return s!==o}),!1):a=ze,n=ht(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?ze:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Xv(e,t.filter(function(s){return s!==o}),!0):a=ze,n=ht(o,a,n)}return n}}}function $9(e){let t=ze,r=vi(e.term);if(e.max===0)r=ht(r,lh,De),t=ht(r,null,De),t.then=ht(ze,ze,t),e.comma&&(t.then.else=ht({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==ze&&(t=ht({type:"Comma",syntax:e},t,De)),t=ht(r,ht(ze,ze,t),De);if(e.min===0)t=ht(ze,ze,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==ze&&(t=ht({type:"Comma",syntax:e},t,De)),t=ht(r,t,De);return t}function vi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Xv(e.combinator,e.terms.map(vi),!1);return e.disallowEmpty&&(t=ht(t,lh,De)),t}case"Multiplier":return $9(e);case"Boolean":{let t=vi(e.term),r=vi(Wr([Wr([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Wr([{type:"Type",name:"!boolean-group"},Wr([{type:"Multiplier",comma:!1,min:0,max:0,term:Wr([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Wr([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=vi(Wr([{type:"Type",name:"!term"},Wr([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return bc(n,{"!term":t,"!self":r}),bc(r,{"!boolean-group":n}),r}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 e.value.length===3?{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 ap(e,t){return typeof e=="string"&&(e=$P(e)),{type:"MatchGraph",match:vi(e),syntax:t||null,source:e}}var ze,De,lh,HP,JP,XP=y(()=>{QP(),ze={type:"Match"},De={type:"Mismatch"},lh={type:"DisallowEmpty"},HP=40,JP=41});function B9(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Lf(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function q9(e){return e.type!==9?!1:e.value!=="?"}function m0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||q9(e)}function h0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function W9(e,t,r){function n(){do f++,g=f<e.length?e[f]:null;while(g!==null&&(g.type===13||g.type===25))}function i(k){let S=f+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:f,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:eO,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:wm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===wm?w=w.prev:w={type:Kw,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,g=null,f=-1,x=0,w={type:ZP,syntax:null,token:null,prev:null};for(n();b===null&&++h<ty;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=De;break}b=ey;break}if(t=p.nextState,t===lh)if(p.matchStack===w){t=De;break}else t=ze;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||f>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=tO;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,f=m.tokenIndex,g=f<e.length?e[f]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==ze&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let z=t.syntax.terms;if(t.index===z.length){if(t.mask===0||t.syntax.all){t=De;break}t=ze;break}if(t.mask===(1<<z.length)-1){t=ze;break}for(;t.index<z.length;t.index++){let A=1<<t.index;if((t.mask&A)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|A}),t=z[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let z=g.value.toLowerCase();if(z.indexOf("\\")!==-1&&(z=z.replace(/\\[09].*$/,"")),Zv.call(t.map,z)){t=t.map[z];break}}t=De;break;case"Generic":{let z=d!==null?d.opts:null,A=f+Math.floor(t.fn(g,i,z));if(!isNaN(A)&&A>f){for(;f<A;)l();t=ze}else t=De;break}case"Type":case"Property":{let z=t.type==="Type"?"types":"properties",A=Zv.call(r,z)?r[z][t.name]:null;if(!A||!A.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=A.matchRef||A.match;break}case"Keyword":{let z=t.name;if(g!==null){let A=g.value;if(A.indexOf("\\")!==-1&&(A=A.replace(/\\[09].*$/,"")),Lf(A,z)){l(),t=ze;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Lf(g.value,t.name)){l(),t=ze;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=ze;break}t=De;break;case"Comma":g!==null&&g.type===18?m0(w.token)?t=De:(l(),t=h0(g)?De:ze):t=m0(w.token)||h0(g)?ze:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Lf(k,t.value)){for(;f<S;)l();t=ze}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(nO+=h,b){case null:console.warn("[csstree-match] BREAK after "+ty+" iterations"),b=rO,w=null;break;case ey:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function f0(e,t,r){let n=W9(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=B9(i).prev;i!==null;){switch(i.type){case wm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Kw:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var Zv,ZP,eO,wm,Kw,ey,tO,rO,ty,nO,_9=y(()=>{XP(),{hasOwnProperty:Zv}=Object.prototype,ZP=0,eO=1,wm=2,Kw=3,ey="Match",tO="Mismatch",rO="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",ty=15e3,nO=0}),iO={};N(iO,{getTrace:()=>oO,isKeyword:()=>Q9,isProperty:()=>V9,isType:()=>U9});function oO(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function U9(e,t){return Hw(this,e,r=>r.type==="Type"&&r.name===t)}function V9(e,t){return Hw(this,e,r=>r.type==="Property"&&r.name===t)}function Q9(e){return Hw(this,e,t=>t.type==="Keyword")}function Hw(e,t,r){let n=oO.call(e,t);return n===null?!1:n.some(r)}var G9=y(()=>{});function Ff(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function g0(e){return!!e&&Ff(e.offset)&&Ff(e.line)&&Ff(e.column)}function Y9(e,t){return function(r,n){if(!r||r.constructor!==Object)return n(r,"Type of node should be an Object");for(let i in r){let o=!0;if(Ei.call(r,i)!==!1){if(i==="type")r.type!==e&&n(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!g0(r.loc.start))i+=".start";else if(!g0(r.loc.end))i+=".end";else continue;o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let a=0;!o&&a<t[i].length;a++){let s=t[i][a];switch(s){case String:o=typeof r[i]=="string";break;case Boolean:o=typeof r[i]=="boolean";break;case null:o=r[i]===null;break;default:typeof s=="string"?o=r[i]&&r[i].type===s:Array.isArray(s)&&(o=r[i]instanceof Mc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Ei.call(t,i)&&Ei.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function aO(e,t){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(aO(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function K9(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Ei.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=aO(a,e+"."+o)}return{docs:i,check:Y9(e,n)}}function H9(e){let t={};if(e.node){for(let r in e.node)if(Ei.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=K9(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Ei,J9=y(()=>{Mw(),{hasOwnProperty:Ei}=Object.prototype});function X9(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function Z9(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...iO}}function sp(e,t,r,n){let i=M9(r,e.syntax),o;return X9(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=f0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=f0(i,t.match,e),!o.match)?Gr(null,new bP(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var ry,eW=y(()=>{t9(),qw(),Ww(),x9(),S9(),GP(),R9(),XP(),_9(),G9(),J9(),ry=class{constructor(e,t,r){if(this.cssWideKeywords=eh,this.syntax=t,this.generic=!1,this.units={...Qv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||H9(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(Qv))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(k9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=ap(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=ap(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:$P(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:ap(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=Z9(a)?ap({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}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((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),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 Mp("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!sp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=Rp(t);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[i.name]&&!n.descriptors[i.basename])return new Mp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Mp("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?sp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=Rp(t);return sp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(_v(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):sp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=Rp(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=_v(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Mf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function tW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Rf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?tW(o,r):o};return n}function ny(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Mf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Mf(l.descriptors[u],c):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Mf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Rf(e[n],i);break;case"atrule":case"pseudo":r[n]=Rf(e[n],i,["parse"]);break;case"node":r[n]=Rf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var rW=y(()=>{});function sO(e){let t=Fq(e),r=Qq(e),n=qq(e),{fromPlainObject:i,toPlainObject:o}=gP(r),a={lexer:null,createLexer:s=>new ry(s,a,a.lexer.structure),tokenize:Xm,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=ny({},e);return sO(typeof s=="function"?s(l):ny(l,s))}};return a.lexer=new ry({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var lO,nW=y(()=>{pr(),Mq(),Wq(),_q(),Gq(),eW(),rW(),lO=e=>sO(ny({},e))}),uO,iW=y(()=>{uO={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],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>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","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>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","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|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-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 [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","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>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","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>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","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()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"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","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|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( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","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( <radial-size>? [at <position>]? )","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>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","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-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","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>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|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>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","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>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <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> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"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","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","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]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","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":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","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>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","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( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","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>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","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":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","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|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","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]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","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>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","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>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-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":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-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","-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>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","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,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-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","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-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-content-zooming":"none|zoom","-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-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-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-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-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>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-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","-webkit-user-select":"auto|none|text|all","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>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","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-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-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":"<visual-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>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","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-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","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-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","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 [0,∞]>{1,4} [/ <length-percentage [0,∞]>{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>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","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",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","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","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","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":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","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]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-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","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","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-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","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||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","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-emoji":"normal|text|emoji|unicode","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-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|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'>",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'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","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]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","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:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",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":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-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|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|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:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","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","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",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-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"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-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","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":"<'opacity'>","stroke-width":"<svg-length>","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-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","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-inset":"<length>{1,2}|auto","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":"auto|[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-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","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-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","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|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-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":"[<visual-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",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",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","position-try-options":"<'position-try-fallbacks'>",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",speak:"auto|never|always","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>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<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>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},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-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","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},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},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]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}}}),cO={};N(cO,{generate:()=>oW,name:()=>mO,parse:()=>dO,structure:()=>hO});function Bp(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===zt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)ct(this.charCodeAt(r))||this.error("Integer is expected",r)}function yi(e){return Bp.call(this,0,e)}function _r(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case vc:r="N is expected";break;case zt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function $f(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(zt,e)){t=this.isDelim(rr,e)?rr:zt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),yi.call(this,Qr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==zt&&this.error("Number sign is expected")),yi.call(this,t!==0),t===zt?"-"+this.consume(10):this.consume(10)}function dO(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)yi.call(this,pO),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,zt))switch(t="-1",_r.call(this,1,vc),this.tokenEnd-this.tokenStart){case 2:this.next(),r=$f.call(this);break;case 3:_r.call(this,2,zt),this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10);break;default:_r.call(this,2,zt),Bp.call(this,3,Qr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),_r.call(this,0,vc),this.tokenEnd-this.tokenStart){case 1:this.next(),r=$f.call(this);break;case 2:_r.call(this,1,zt),this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10);break;default:_r.call(this,1,zt),Bp.call(this,2,Qr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===zt,o=this.tokenStart+i;for(;o<this.tokenEnd&&ct(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),_r.call(this,o-this.tokenStart,vc),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=$f.call(this)):(_r.call(this,o-this.tokenStart+1,zt),o+2===this.tokenEnd?(this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10)):(Bp.call(this,o-this.tokenStart+2,Qr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function oW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,zt,vc,Qr,pO,mO,hO,fO=y(()=>{pr(),rr=43,zt=45,vc=110,Qr=!0,pO=!1,mO="AnPlusB",hO={a:[String,null],b:[String,null]}}),gO={};N(gO,{generate:()=>sW,name:()=>vO,parse:()=>bO,structure:()=>wO,walkContext:()=>yO});function b0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function aW(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function bO(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),b0):i=b0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(aW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function sW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var vO,yO,wO,kO=y(()=>{vO="Atrule",yO="atrule",wO={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),xO={};N(xO,{generate:()=>lW,name:()=>CO,parse:()=>SO,structure:()=>NO,walkContext:()=>AO});function SO(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function lW(e){this.children(e)}var CO,AO,NO,zO=y(()=>{CO="AtrulePrelude",AO="atrulePrelude",NO={children:[[]]}}),EO={};N(EO,{generate:()=>dW,name:()=>TO,parse:()=>PO,structure:()=>DO});function uW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Jw)?(t=!0,this.next()):this.isDelim(km)||this.eat(1),this.isDelim(km)?this.charCodeAt(this.tokenStart+1)!==yc?(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 cW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==yc&&t!==jO&&t!==IO&&t!==OO&&t!==Jw&&t!==km&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==yc&&(this.isDelim(yc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function PO(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=uW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=cW.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function dW(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var OO,Jw,yc,IO,km,jO,TO,DO,LO=y(()=>{OO=36,Jw=42,yc=61,IO=94,km=124,jO=126,TO="AttributeSelector",DO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),FO={};N(FO,{generate:()=>mW,name:()=>BO,parse:()=>RO,structure:()=>WO,walkContext:()=>qO});function MO(){return this.Raw(null,!0)}function v0(){return this.parseWithFallback(this.Rule,MO)}function y0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function pW(){if(this.tokenType===17)return y0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,y0);return this.tokenType===17&&this.next(),e}function RO(e){let t=e?pW:v0,r=this.tokenStart,n=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:n.push(this.parseWithFallback(this.Atrule.bind(this,e),MO));break;default:e&&this.isDelim($O)?n.push(v0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function mW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var $O,BO,qO,WO,_O=y(()=>{$O=38,BO="Block",qO="block",WO={children:[["Atrule","Rule","Declaration"]]}}),UO={};N(UO,{generate:()=>hW,name:()=>QO,parse:()=>VO,structure:()=>GO});function VO(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function hW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var QO,GO,YO=y(()=>{QO="Brackets",GO={children:[[]]}}),KO={};N(KO,{generate:()=>fW,name:()=>JO,parse:()=>HO,structure:()=>XO});function HO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function fW(){this.token(15,"-->")}var JO,XO,ZO=y(()=>{JO="CDC",XO=[]}),eI={};N(eI,{generate:()=>gW,name:()=>rI,parse:()=>tI,structure:()=>nI});function tI(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function gW(){this.token(14,"<!--")}var rI,nI,iI=y(()=>{rI="CDO",nI=[]}),oI={};N(oI,{generate:()=>bW,name:()=>lI,parse:()=>aI,structure:()=>uI});function aI(){return this.eatDelim(sI),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function bW(e){this.token(9,"."),this.token(1,e.name)}var sI,lI,uI,cI=y(()=>{sI=46,lI="ClassSelector",uI={name:String}}),dI={};N(dI,{generate:()=>vW,name:()=>gI,parse:()=>pI,structure:()=>bI});function pI(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case hI:case mI:case fI:this.next();break;case iy:this.next(),this.eatIdent("deep"),this.eatDelim(iy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function vW(e){this.tokenize(e.name)}var mI,iy,hI,fI,gI,bI,vI=y(()=>{mI=43,iy=47,hI=62,fI=126,gI="Combinator",bI={name:String}}),yI={};N(yI,{generate:()=>yW,name:()=>SI,parse:()=>wI,structure:()=>CI});function wI(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===kI&&this.charCodeAt(t-1)===xI&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function yW(e){this.token(25,"/*"+e.value+"*/")}var kI,xI,SI,CI,AI=y(()=>{kI=42,xI=47,SI="Comment",CI={value:String}}),NI={};N(NI,{generate:()=>wW,name:()=>PI,parse:()=>zI,structure:()=>OI});function w0(e){return this.lookupTypeNonSC(1)===1&&EI.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function zI(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>II[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function wW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var EI,PI,OI,II,jI=y(()=>{EI=new Set([16,22,0]),PI="Condition",OI={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},II={media:w0,container:w0,supports(){return this.SupportsDeclaration()}}}),TI={};N(TI,{generate:()=>CW,name:()=>BI,parse:()=>DI,structure:()=>WI,walkContext:()=>qI});function kW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function xW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function SW(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Xw)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function DI(){let e=this.tokenStart,t=this.tokenIndex,r=AW.call(this),n=Bw(r),i=n?this.parseCustomProperty:this.parseValue,o=n?xW:kW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(SW,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Xw)&&(a=NW.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function CW(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function AW(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case RI:case FI:case $I:case LI:case MI:this.next();break;case oy:this.next(),this.isDelim(oy)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function NW(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var Xw,LI,FI,MI,RI,$I,oy,BI,qI,WI,_I=y(()=>{qw(),Xw=33,LI=35,FI=36,MI=38,RI=42,$I=43,oy=47,BI="Declaration",qI="declaration",WI={important:[Boolean,String],property:String,value:["Value","Raw"]}}),UI={};N(UI,{generate:()=>zW,name:()=>GI,parse:()=>VI,structure:()=>YI});function Bf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function VI(){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),Bf));break;default:this.isDelim(QI)?e.push(this.parseWithFallback(this.Rule,Bf)):e.push(this.parseWithFallback(this.Declaration,Bf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function zW(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var QI,GI,YI,KI=y(()=>{QI=38,GI="DeclarationList",YI={children:[["Declaration","Atrule","Rule"]]}}),HI={};N(HI,{generate:()=>EW,name:()=>XI,parse:()=>JI,structure:()=>ZI});function JI(){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 EW(e){this.token(12,e.value+e.unit)}var XI,ZI,ej=y(()=>{XI="Dimension",ZI={value:String,unit:String}}),tj={};N(tj,{generate:()=>PW,name:()=>ij,parse:()=>rj,structure:()=>oj});function rj(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(nj)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function PW(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var nj,ij,oj,aj=y(()=>{nj=47,ij="Feature",oj={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),sj={};N(sj,{generate:()=>IW,name:()=>uj,parse:()=>lj,structure:()=>cj});function OW(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function lj(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=OW.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function IW(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var uj,cj,dj=y(()=>{uj="FeatureFunction",cj={kind:String,feature:String,value:["Declaration","Selector"]}}),pj={};N(pj,{generate:()=>jW,name:()=>gj,parse:()=>mj,structure:()=>bj});function qf(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(ay,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(ay)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function k0(e){if(this.skipSC(),this.isDelim(hj)||this.isDelim(fj)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(sy)?(this.next(),t+"="):t}if(this.isDelim(sy))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function mj(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=qf.call(this),n=k0.call(this,r.type==="Identifier"),i=qf.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=k0.call(this),a=qf.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function jW(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var ay,hj,sy,fj,gj,bj,vj=y(()=>{ay=47,hj=60,sy=61,fj=62,gj="FeatureRange",bj={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}}),yj={};N(yj,{generate:()=>TW,name:()=>kj,parse:()=>wj,structure:()=>Sj,walkContext:()=>xj});function wj(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=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:n,children:o}}function TW(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var kj,xj,Sj,Cj=y(()=>{kj="Function",xj="function",Sj={name:String,children:[[]]}}),Aj={};N(Aj,{generate:()=>DW,name:()=>zj,parse:()=>Nj,structure:()=>Ej});function Nj(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function DW(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var zj,Ej,Pj=y(()=>{zj="GeneralEnclosed",Ej={kind:String,function:[String,null],children:[[]]}}),Oj={};N(Oj,{generate:()=>LW,name:()=>Tj,parse:()=>Ij,structure:()=>Dj,xxx:()=>jj});function Ij(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function LW(e){this.token(4,"#"+e.value)}var jj,Tj,Dj,Lj=y(()=>{jj="XXX",Tj="Hash",Dj={value:String}}),Fj={};N(Fj,{generate:()=>FW,name:()=>Rj,parse:()=>Mj,structure:()=>$j});function Mj(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function FW(e){this.token(1,e.name)}var Rj,$j,Bj=y(()=>{Rj="Identifier",$j={name:String}}),qj={};N(qj,{generate:()=>MW,name:()=>_j,parse:()=>Wj,structure:()=>Uj});function Wj(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function MW(e){this.token(9,"#"+e.name)}var _j,Uj,Vj=y(()=>{_j="IdSelector",Uj={name:String}}),Qj={};N(Qj,{generate:()=>RW,name:()=>Kj,parse:()=>Gj,structure:()=>Hj});function Gj(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(Yj);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function RW(e){this.tokenize(e.name)}var Yj,Kj,Hj,Jj=y(()=>{Yj=46,Kj="Layer",Hj={name:String}}),Xj={};N(Xj,{generate:()=>$W,name:()=>eT,parse:()=>Zj,structure:()=>tT});function Zj(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function $W(e){this.children(e,()=>this.token(18,","))}var eT,tT,rT=y(()=>{eT="LayerList",tT={children:[["Layer"]]}}),nT={};N(nT,{generate:()=>BW,name:()=>oT,parse:()=>iT,structure:()=>aT});function iT(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function BW(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var oT,aT,sT=y(()=>{oT="MediaQuery",aT={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),lT={};N(lT,{generate:()=>qW,name:()=>cT,parse:()=>uT,structure:()=>dT});function uT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function qW(e){this.children(e,()=>this.token(18,","))}var cT,dT,pT=y(()=>{cT="MediaQueryList",dT={children:[["MediaQuery"]]}}),mT={};N(mT,{generate:()=>WW,name:()=>gT,parse:()=>hT,structure:()=>bT});function hT(){let e=this.tokenStart;return this.eatDelim(fT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function WW(){this.token(9,"&")}var fT,gT,bT,vT=y(()=>{fT=38,gT="NestingSelector",bT={}}),yT={};N(yT,{generate:()=>_W,name:()=>kT,parse:()=>wT,structure:()=>xT});function wT(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function _W(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var kT,xT,ST=y(()=>{kT="Nth",xT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),CT={};N(CT,{generate:()=>UW,name:()=>NT,parse:()=>AT,structure:()=>zT});function AT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function UW(e){this.token(10,e.value)}var NT,zT,ET=y(()=>{NT="Number",zT={value:String}}),PT={};N(PT,{generate:()=>VW,name:()=>IT,parse:()=>OT,structure:()=>jT});function OT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function VW(e){this.tokenize(e.value)}var IT,jT,TT=y(()=>{IT="Operator",jT={value:String}}),DT={};N(DT,{generate:()=>QW,name:()=>FT,parse:()=>LT,structure:()=>MT});function LT(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function QW(e){this.token(21,"("),this.children(e),this.token(22,")")}var FT,MT,RT=y(()=>{FT="Parentheses",MT={children:[[]]}}),$T={};N($T,{generate:()=>GW,name:()=>qT,parse:()=>BT,structure:()=>WT});function BT(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function GW(e){this.token(11,e.value+"%")}var qT,WT,_T=y(()=>{qT="Percentage",WT={value:String}}),UT={};N(UT,{generate:()=>YW,name:()=>QT,parse:()=>VT,structure:()=>YT,walkContext:()=>GT});function VT(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function YW(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var QT,GT,YT,KT=y(()=>{QT="PseudoClassSelector",GT="function",YT={name:String,children:[["Raw"],null]}}),HT={};N(HT,{generate:()=>KW,name:()=>XT,parse:()=>JT,structure:()=>e4,walkContext:()=>ZT});function JT(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function KW(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var XT,ZT,e4,t4=y(()=>{XT="PseudoElementSelector",ZT="function",e4={name:String,children:[["Raw"],null]}}),r4={};N(r4,{generate:()=>HW,name:()=>i4,parse:()=>n4,structure:()=>o4});function x0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function n4(){let e=this.tokenStart,t=x0.call(this),r=null;return this.skipSC(),this.isDelim(ly)&&(this.eatDelim(ly),r=x0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function HW(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var ly,i4,o4,a4=y(()=>{ly=47,i4="Ratio",o4={left:["Number","Function"],right:["Number","Function",null]}}),s4={};N(s4,{generate:()=>XW,name:()=>u4,parse:()=>l4,structure:()=>c4});function JW(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function l4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=JW.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function XW(e){this.tokenize(e.value)}var u4,c4,d4=y(()=>{u4="Raw",c4={value:String}}),p4={};N(p4,{generate:()=>e_,name:()=>h4,parse:()=>m4,structure:()=>g4,walkContext:()=>f4});function S0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function ZW(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function m4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(ZW,S0):r=S0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function e_(e){this.node(e.prelude),this.node(e.block)}var h4,f4,g4,b4=y(()=>{h4="Rule",f4="rule",g4={prelude:["SelectorList","Raw"],block:["Block"]}}),v4={};N(v4,{generate:()=>t_,name:()=>w4,parse:()=>y4,structure:()=>k4});function y4(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function t_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var w4,k4,x4=y(()=>{w4="Scope",k4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),S4={};N(S4,{generate:()=>r_,name:()=>A4,parse:()=>C4,structure:()=>N4});function C4(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function r_(e){this.children(e)}var A4,N4,z4=y(()=>{A4="Selector",N4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),E4={};N(E4,{generate:()=>n_,name:()=>O4,parse:()=>P4,structure:()=>j4,walkContext:()=>I4});function P4(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function n_(e){this.children(e,()=>this.token(18,","))}var O4,I4,j4,T4=y(()=>{O4="SelectorList",I4="selector",j4={children:[["Selector","Raw"]]}}),D4={};N(D4,{decode:()=>Zw,encode:()=>L4});function Zw(e){let t=e.length,r=e.charCodeAt(0),n=r===ek||r===tk?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let s=e.charCodeAt(a);if(s===xm){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),yr(xm,s)){let l=a-1,u=Fi(e,l);a=u-1,o+=tP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function L4(e,t){let r=t?"'":'"',n=t?tk:ek,i="",o=!1;for(let a=0;a<e.length;a++){let s=e.charCodeAt(a);if(s===0){i+="�";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===xm?(i+="\\"+e.charAt(a),o=!1):(o&&(Zr(s)||wn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var xm,ek,tk,rk=y(()=>{pr(),xm=92,ek=34,tk=39}),F4={};N(F4,{generate:()=>i_,name:()=>R4,parse:()=>M4,structure:()=>$4});function M4(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Zw(this.consume(5))}}function i_(e){this.token(5,L4(e.value))}var R4,$4,B4=y(()=>{rk(),R4="String",$4={value:String}}),q4={};N(q4,{generate:()=>o_,name:()=>U4,parse:()=>W4,structure:()=>Q4,walkContext:()=>V4});function C0(){return this.Raw(null,!1)}function W4(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==_4){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,C0);break;default:r=this.parseWithFallback(this.Rule,C0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function o_(e){this.children(e)}var _4,U4,V4,Q4,G4=y(()=>{_4=33,U4="StyleSheet",V4="stylesheet",Q4={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),Y4={};N(Y4,{generate:()=>a_,name:()=>H4,parse:()=>K4,structure:()=>J4});function K4(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function a_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var H4,J4,X4=y(()=>{H4="SupportsDeclaration",J4={declaration:"Declaration"}}),Z4={};N(Z4,{generate:()=>s_,name:()=>rD,parse:()=>eD,structure:()=>nD});function Wf(){this.tokenType!==1&&this.isDelim(tD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function eD(){let e=this.tokenStart;return this.isDelim(uy)?(this.next(),Wf.call(this)):(Wf.call(this),this.isDelim(uy)&&(this.next(),Wf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function s_(e){this.tokenize(e.name)}var tD,uy,rD,nD,iD=y(()=>{tD=42,uy=124,rD="TypeSelector",nD={name:String}}),oD={};N(oD,{generate:()=>c_,name:()=>sD,parse:()=>aD,structure:()=>lD});function cc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===ik&&t&&r!==0)return cc.call(this,e+r+1,!1),-1;Zr(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function lp(e){let t=0;for(;this.isDelim(Sm);)++t>e&&this.error("Too many question marks"),this.next()}function l_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===nk?"Plus sign":"Hyphen minus")+" is expected")}function u_(){let e=0;switch(this.tokenType){case 10:if(e=cc.call(this,1,!0),this.isDelim(Sm)){lp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){l_.call(this,ik),cc.call(this,1,!1);break}break;case 12:e=cc.call(this,1,!0),e>0&&lp.call(this,6-e);break;default:if(this.eatDelim(nk),this.tokenType===1){e=cc.call(this,0,!0),e>0&&lp.call(this,6-e);break}if(this.isDelim(Sm)){this.next(),lp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function aD(){let e=this.tokenStart;return this.eatIdent("u"),u_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function c_(e){this.tokenize(e.value)}var nk,ik,Sm,sD,lD,uD=y(()=>{pr(),nk=43,ik=45,Sm=63,sD="UnicodeRange",lD={value:String}});function d_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===ok?t-2:t-1,i="";for(;r<n&&wn(e.charCodeAt(r));)r++;for(;r<n&&wn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===Cm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),yr(Cm,a)){let s=o-1,l=Fi(e,s);o=l-1,i+=tP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function p_(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===cD||i===Cm||i===dD||i===pD||i===mD||i===ok?(t+="\\"+e.charAt(n),r=!1):(r&&Zr(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var cD,Cm,dD,pD,mD,ok,hD=y(()=>{pr(),cD=32,Cm=92,dD=34,pD=39,mD=40,ok=41}),fD={};N(fD,{generate:()=>m_,name:()=>bD,parse:()=>gD,structure:()=>vD});function gD(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=d_(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(),t=Zw(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(e,this.tokenStart),value:t}}function m_(e){this.token(7,p_(e.value))}var bD,vD,yD=y(()=>{hD(),rk(),bD="Url",vD={value:String}}),wD={};N(wD,{generate:()=>h_,name:()=>xD,parse:()=>kD,structure:()=>SD});function kD(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function h_(e){this.children(e)}var xD,SD,CD=y(()=>{xD="Value",SD={children:[[]]}}),AD={};N(AD,{generate:()=>f_,name:()=>ED,parse:()=>ND,structure:()=>PD});function ND(){return this.eat(13),zD}function f_(e){this.token(13,e.value)}var zD,ED,PD,OD=y(()=>{zD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),ED="WhiteSpace",PD={value:String}}),ak={};N(ak,{AnPlusB:()=>cO,Atrule:()=>gO,AtrulePrelude:()=>xO,AttributeSelector:()=>EO,Block:()=>FO,Brackets:()=>UO,CDC:()=>KO,CDO:()=>eI,ClassSelector:()=>oI,Combinator:()=>dI,Comment:()=>yI,Condition:()=>NI,Declaration:()=>TI,DeclarationList:()=>UI,Dimension:()=>HI,Feature:()=>tj,FeatureFunction:()=>sj,FeatureRange:()=>pj,Function:()=>yj,GeneralEnclosed:()=>Aj,Hash:()=>Oj,IdSelector:()=>qj,Identifier:()=>Fj,Layer:()=>Qj,LayerList:()=>Xj,MediaQuery:()=>nT,MediaQueryList:()=>lT,NestingSelector:()=>mT,Nth:()=>yT,Number:()=>CT,Operator:()=>PT,Parentheses:()=>DT,Percentage:()=>$T,PseudoClassSelector:()=>UT,PseudoElementSelector:()=>HT,Ratio:()=>r4,Raw:()=>s4,Rule:()=>p4,Scope:()=>v4,Selector:()=>S4,SelectorList:()=>E4,String:()=>F4,StyleSheet:()=>q4,SupportsDeclaration:()=>Y4,TypeSelector:()=>Z4,UnicodeRange:()=>oD,Url:()=>fD,Value:()=>wD,WhiteSpace:()=>AD});var ID=y(()=>{fO(),kO(),zO(),LO(),_O(),YO(),ZO(),iI(),cI(),vI(),AI(),jI(),_I(),KI(),ej(),aj(),dj(),vj(),Cj(),Pj(),Lj(),Bj(),Vj(),Jj(),rT(),sT(),pT(),vT(),ST(),ET(),TT(),RT(),_T(),KT(),t4(),a4(),d4(),b4(),x4(),z4(),T4(),B4(),G4(),X4(),iD(),uD(),yD(),CD(),OD()}),jD,g_=y(()=>{Ww(),iW(),ID(),jD={generic:!0,cssWideKeywords:eh,...uO,node:ak}});function TD(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,RD)&&this.cmpChar(this.tokenStart+1,cy)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===MD||t===LD||t===cy||t===FD)return this.Operator();t===DD&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var DD,LD,cy,FD,MD,RD,$D=y(()=>{DD=35,LD=42,cy=43,FD=45,MD=47,RD=117}),BD,b_=y(()=>{$D(),BD={getNode:TD}});function v_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function y_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===dy&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case UD:case QD:case YD:case VD:return this.Combinator();case dy:return this.ClassSelector();case _D:case GD:return this.TypeSelector();case qD:return this.IdSelector();case WD:return this.NestingSelector()}break}}}var qD,WD,_D,UD,VD,dy,QD,GD,YD,KD,w_=y(()=>{qD=35,WD=38,_D=42,UD=43,VD=47,dy=46,QD=62,GD=124,YD=126,KD={onWhiteSpace:v_,getNode:y_}});function k_(){return this.createSingleNodeList(this.Raw(null,!1))}var x_=y(()=>{});function S_(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var C_=y(()=>{});function A0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var HD,A_=y(()=>{$D(),x_(),C_(),HD={getNode:TD,onWhiteSpace(e,t){A0(e)&&(e.value=" "+e.value),A0(t.last)&&(t.last.value+=" ")},expression:k_,var:S_}}),JD={};N(JD,{AtrulePrelude:()=>BD,Selector:()=>KD,Value:()=>HD});var N_=y(()=>{b_(),w_(),A_()}),N0,XD,z_=y(()=>{N0=new Set(["none","and","not","or"]),XD={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);N0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),ZD,E_=y(()=>{ZD={parse:{prelude:null,block(){return this.Block(!0)}}}}),_f,eL,P_=y(()=>{_f={},eL={parse:{prelude(){let e=this.createList();switch(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 this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,_f)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,_f)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),tL,O_=y(()=>{tL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),rL,I_=y(()=>{rL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),nL,j_=y(()=>{nL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),iL,T_=y(()=>{iL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),oL,D_=y(()=>{oL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),aL,L_=y(()=>{aL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),sL,F_=y(()=>{sL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),lL,M_=y(()=>{z_(),E_(),P_(),O_(),I_(),j_(),T_(),D_(),L_(),F_(),lL={container:XD,"font-face":ZD,import:eL,layer:tL,media:rL,nest:nL,page:iL,scope:oL,"starting-style":aL,supports:sL}});function R_(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var $_=y(()=>{}),Ur,up,z0,E0,ga,uL,B_=y(()=>{$_(),Ur={parse(){return this.createSingleNodeList(this.SelectorList())}},up={parse(){return this.createSingleNodeList(this.Selector())}},z0={parse(){return this.createSingleNodeList(this.Identifier())}},E0={parse:R_},ga={parse(){return this.createSingleNodeList(this.Nth())}},uL={dir:z0,has:Ur,lang:E0,matches:Ur,is:Ur,"-moz-any":Ur,"-webkit-any":Ur,where:Ur,not:Ur,"nth-child":ga,"nth-last-child":ga,"nth-last-of-type":ga,"nth-of-type":ga,slotted:up,host:up,"host-context":up}}),cL={};N(cL,{AnPlusB:()=>dO,Atrule:()=>bO,AtrulePrelude:()=>SO,AttributeSelector:()=>PO,Block:()=>RO,Brackets:()=>VO,CDC:()=>HO,CDO:()=>tI,ClassSelector:()=>aI,Combinator:()=>pI,Comment:()=>wI,Condition:()=>zI,Declaration:()=>DI,DeclarationList:()=>VI,Dimension:()=>JI,Feature:()=>rj,FeatureFunction:()=>lj,FeatureRange:()=>mj,Function:()=>wj,GeneralEnclosed:()=>Nj,Hash:()=>Ij,IdSelector:()=>Wj,Identifier:()=>Mj,Layer:()=>Gj,LayerList:()=>Zj,MediaQuery:()=>iT,MediaQueryList:()=>uT,NestingSelector:()=>hT,Nth:()=>wT,Number:()=>AT,Operator:()=>OT,Parentheses:()=>LT,Percentage:()=>BT,PseudoClassSelector:()=>VT,PseudoElementSelector:()=>JT,Ratio:()=>n4,Raw:()=>l4,Rule:()=>m4,Scope:()=>y4,Selector:()=>C4,SelectorList:()=>P4,String:()=>M4,StyleSheet:()=>W4,SupportsDeclaration:()=>K4,TypeSelector:()=>eD,UnicodeRange:()=>aD,Url:()=>gD,Value:()=>kD,WhiteSpace:()=>ND});var q_=y(()=>{fO(),kO(),zO(),LO(),_O(),YO(),ZO(),iI(),cI(),vI(),AI(),jI(),_I(),KI(),ej(),aj(),dj(),vj(),Cj(),Pj(),Lj(),Bj(),Vj(),Jj(),rT(),sT(),pT(),vT(),ST(),ET(),TT(),RT(),_T(),KT(),t4(),a4(),d4(),b4(),x4(),z4(),T4(),B4(),G4(),X4(),iD(),uD(),yD(),CD(),OD()}),dL,W_=y(()=>{N_(),M_(),B_(),q_(),dL={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:JD,atrule:lL,pseudo:uL,node:cL}}),pL,__=y(()=>{ID(),pL={node:ak}}),mL,U_=y(()=>{nW(),g_(),W_(),__(),mL=lO({...jD,...dL,...pL})}),V_=y(()=>{}),Q_=Y(()=>{}),G_,Y_,tn,K_,hL,H_,fL,sk,J_,X_,Z_,e8,lk,Ji=y(()=>{U_(),V_(),Mw(),GP(),qw(),G_=Z(Q_(),1),rk(),hD(),{tokenize:Y_,parse:tn,generate:K_,lexer:hL,createLexer:H_,walk:fL,find:sk,findLast:J_,findAll:X_,toPlainObject:Z_,fromPlainObject:e8,fork:lk}=mL}),gL={};N(gL,{default:()=>bL});var $n,cp,P0,ba,Uf,O0,va,bL,t8=y(()=>{Ji(),q(),$r(),Hm(),dr(),Or(),We(),Je(),H(),O(),j(),D(),Tt(),$n="declaration-block-no-duplicate-properties",cp=I($n,{rejected:e=>`Duplicate property "${e}"`}),P0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},ba=e=>"children"in e&&e.children instanceof Mc,Uf=(e,t,r)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=t[n];if(typeof i>"u"||typeof o>"u"||i.type!==o.type)return!1;let a="name"in i?String(i.name):"",s="name"in o?String(o.name):"";if(i.type==="Identifier"&&ft(a)&&o.type==="Identifier"&&ft(s)||i.type==="Identifier"&&o.type==="Identifier"&&PN.has(r.toLowerCase())&&Tc.has(a.toLowerCase())&&Tc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=ba(i)?i.children.toArray():null,d=ba(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(Uf(c,d,r))continue;return!1}}return!0},O0=(e,t,r)=>{if(e===t)return!0;if(!(Re(e)&&Re(t)))return!1;let n,i;try{n=tn(e,{context:"value"}),i=tn(t,{context:"value"})}catch{return!1}let o=ba(n)?n.children.toArray():[],a=ba(i)?i.children.toArray():[];return Uf(o,a,r)},va=(e,t)=>(r,n)=>{if(!T(n,$n,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,U]},optional:!0}))return;let i=R(t,"ignore","consecutive-duplicates"),o=R(t,"ignore","consecutive-duplicates-with-different-values"),a=R(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=R(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};Km(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Pr(p)||ft(p)||R(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(A=>A.prop.toLowerCase()===m);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!h&&x,k=b===c.length-1,S=He.unprefixed(v)===He.unprefixed(f),z=()=>{let A=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:cp.rejected,messageArgs:[L],node:A,result:n,ruleName:$n,word:L,fix:{apply:l(A),node:A.parent}})};if(o||a||s){if(!k||s&&!S){z();return}if(a&&O0(v,f,p)){z();return}return v!==f?void 0:P({message:cp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:$n,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||z()})})},va.ruleName=$n,va.messages=cp,va.meta=P0,bL=va}),vL={};N(vL,{default:()=>yL});var Vf,Bn,dp,I0,j0,T0,D0,ya,yL,r8=y(()=>{Vf=Z(he(),1),q(),pw(),Je(),Hm(),$r(),H(),O(),j(),D(),Tt(),Bn="declaration-block-no-redundant-longhand-properties",dp=I(Bn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),I0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},j0=new Map([["font-synthesis",e=>{var a,s,l;let t=(a=e.get("font-synthesis-weight"))==null?void 0:a.value.trim(),r=(s=e.get("font-synthesis-style"))==null?void 0:s.value.trim(),n=(l=e.get("font-synthesis-small-caps"))==null?void 0:l.value.trim(),i=u=>u==="none"||u==="auto";if(!i(t)||!i(r)||!i(n))return;let o=[];return t==="auto"&&o.push("weight"),r==="auto"&&o.push("style"),n==="auto"&&o.push("small-caps"),o.length===0?"none":o.join(" ")}],["grid-column",e=>{var n,i;let t=(n=e.get("grid-column-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-column-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-row",e=>{var n,i;let t=(n=e.get("grid-row-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-row-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-template",e=>{var a,s,l;let t=(a=e.get("grid-template-areas"))==null?void 0:a.value.trim(),r=(s=e.get("grid-template-columns"))==null?void 0:s.value.trim(),n=(l=e.get("grid-template-rows"))==null?void 0:l.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(u=>u[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((u,c)=>`${u} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var a,s,l,u;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,Vf.default)(d),m=[];{let v=[];p.nodes.forEach(h=>{if(h.type==="div"&&h.value===","){m.push(v),v=[];return}v.push(h)}),m.push(v)}return m.map(v=>Vf.default.stringify(v).trim()).filter(v=>v.length>0)},r=t((a=e.get("transition-delay"))==null?void 0:a.value),n=t((s=e.get("transition-duration"))==null?void 0:s.value),i=t((l=e.get("transition-timing-function"))==null?void 0:l.value),o=t((u=e.get("transition-property"))==null?void 0:u.value);if(r.length&&n.length&&i.length&&o.length)return o.map((c,d)=>[c,n[d%n.length],i[d%i.length],r[d%r.length]].filter($).join(" ")).join(", ")}]]),T0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],D0=(e,t,r)=>{let n=j0.get(e);if(n===void 0){let i=t.map(o=>{var a;return(a=r.get(o))==null?void 0:a.value.trim()}).filter(Boolean);return i.length>0?i.join(" "):void 0}return n(r)},ya=(e,t)=>(r,n)=>{var a;if(!T(n,Bn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,U],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of hc.entries())if(!R(t,"ignoreShorthands",s))for(let u of l){if(o.includes(u))continue;let c=i.get(u)||[];c.push(s),i.set(u,c)}Km(r,s=>{let l=new Map,u=new Map,c=new Map;s(d=>{let p=d.value.trim();if(Te.has(d.value))return;let m=d.prop.toLowerCase(),v=He.unprefixed(m),h=He.prefix(m);hc.has(v)&&c.set(m,p);let b=i.get(v);if(b)for(let g of b){let f=h+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Bn,result:n,node:d,word:d.prop,message:dp.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=l.get(f)||[],w=u.get(f)||[];x.push(m),l.set(f,x),w.push(d),u.set(f,w);let k=new Set(hc.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>h+te);if(!dw(S.slice().sort(),x.slice().sort()))continue;let z=u.get(f)||[],A=z.reduce((te,re)=>re.important?te+1:te,0);if(A&&A!==z.length)continue;let[L]=z,E;if(L){let te=new Map(z.map(re=>[re.prop.toLowerCase(),re]));E=D0(f,S,te)}let B=L&&E?()=>{let te=L.clone({prop:f,value:E});L.replaceWith(te),z.forEach(re=>re.remove()),T0.includes(g)&&l.forEach((re,we)=>{l.set(we,re.filter(pe=>!x.includes(pe)))})}:void 0;P({ruleName:Bn,result:n,node:d,word:d.prop,message:dp.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},ya.ruleName=Bn,ya.messages=dp,ya.meta=I0,yL=ya}),wL={};N(wL,{default:()=>kL});var wa,Qf,L0,ka,kL,n8=y(()=>{Hm(),O(),j(),Gi(),D(),Tt(),$r(),wa="declaration-block-no-shorthand-property-overrides",Qf=I(wa,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),L0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},ka=e=>(t,r)=>{T(r,wa,{actual:e})&&Km(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=He.unprefixed(a).toLowerCase(),l=He.prefix(a).toLowerCase(),u=hc.get(s),c=EN.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:wa,result:r,node:o,message:Qf.rejected,messageArgs:[a,m||""],word:a})}})})},ka.ruleName=wa,ka.messages=Qf,ka.meta=L0,kL=ka}),xL={};N(xL,{default:()=>SL});var xa,Gf,F0,Sa,SL,i8=y(()=>{Lw(),q(),Ym(),O(),j(),D(),xa="declaration-block-single-line-max-declarations",Gf=I(xa,{expected:e=>`Too many declarations, maximum ${e}`}),F0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Sa=e=>(t,r)=>{T(r,xa,{actual:e,possible:[xr]})&&t.walkRules(n=>{let i=Dw(n);!Gm(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:Gf.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:xa})})},Sa.ruleName=xa,Sa.messages=Gf,Sa.meta=F0,SL=Sa});function M0(e){let t=Mr(e);return t!==void 0&&Qi(t)&>(t)&&!ft(t.prop||"")}var o8=y(()=>{Nn(),dr(),fe(),bt()}),CL={};N(CL,{default:()=>AL});var Ca,pp,R0,Aa,AL,a8=y(()=>{fe(),Lw(),ed(),rd(),UE(),$m(),o8(),dr(),nd(),Wm(),Ym(),bt(),H(),O(),j(),D(),Ca="declaration-empty-line-before",pp=I(Ca,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),R0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},Aa=(e,t,r)=>(n,i)=>{T(i,Ca,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||qm(o)||!Ie(s)&&!ut(s)&&!ur(s)||!gt(o)||ft(a)||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignore","after-declaration")&&M0(o)||R(t,"ignore","first-nested")&&Rr(o)||R(t,"ignore","inside-single-line-block")&&Gm(Dw(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Rr(o)||R(t,"except","after-block")&&_E(o)||R(t,"except","after-comment")&&Di(o)||R(t,"except","after-declaration")&&M0(o))&&(l=!l);let u=td(o.raws.before);if(l===u)return;let c=l?pp.expected:pp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:Ca,fix:{apply:()=>Zc({node:o,newline:r.newline,action:d}),node:o.parent}})})},Aa.ruleName=Ca,Aa.messages=pp,Aa.meta=R0,AL=Aa});function NL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var zL=y(()=>{}),EL={};N(EL,{default:()=>PL});var Na,Yf,$0,za,PL,s8=y(()=>{q(),zL(),O(),j(),D(),Na="declaration-no-important",Yf=I(Na,{rejected:"Disallowed !important"}),$0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},za=e=>(t,r)=>{T(r,Na,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=NL(n.toString());Ge(i),P({message:Yf.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Na})})},za.ruleName=Na,za.messages=Yf,za.meta=$0,PL=za});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Ir=y(()=>{});function Am(e){return t=>Sr(t)?Object.values(t).every(r=>e(r)):!1}var uk=y(()=>{q()}),OL={};N(OL,{default:()=>IL});var B0,Ea,Kf,q0,W0,Pa,IL,l8=y(()=>{B0=Z(he(),1),q(),Ir(),Le(),V(),O(),j(),uk(),D(),Ea="declaration-property-max-values",Kf=I(Ea,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),q0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},W0=e=>e.type==="word"||e.type==="function"||e.type==="string",Pa=e=>(t,r)=>{T(r,Ea,{actual:e,possible:[Am(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,B0.default)(o).nodes.filter(W0).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];mc(l),!(a<=l)&&P({message:Kf.expected,messageArgs:[i,l],node:n,result:r,ruleName:Ea})})},Pa.ruleName=Ea,Pa.messages=Kf,Pa.meta=q0,IL=Pa});function u8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var c8=y(()=>{});function Xi(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Re(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=u8(e.value,"").replace("\\0","").replace("\\9","");return jL.default.unit(t)||{unit:null,number:null}}var jL,Zi=y(()=>{jL=Z(he(),1),c8(),We()}),TL={};N(TL,{default:()=>DL});var _0,Oa,Hf,U0,Ia,DL,d8=y(()=>{_0=Z(he(),1),ee(),Zi(),q(),Le(),H(),O(),j(),Ht(),D(),Oa="declaration-property-unit-allowed-list",Hf=I(Oa,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),U0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ia=(e,t)=>(r,n)=>{T(n,Oa,{actual:e,possible:[$t($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,_0.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||R(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=Xi(c);if(!d||u.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,m=p+c.value.length;P({message:Hf.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Oa})})})},Ia.ruleName=Oa,Ia.messages=Hf,Ia.meta=U0,DL=Ia}),LL={};N(LL,{default:()=>FL});var V0,ja,Jf,Q0,Ta,FL,p8=y(()=>{V0=Z(he(),1),ee(),Zi(),q(),hd(),Le(),V(),O(),j(),Ht(),D(),ja="declaration-property-unit-disallowed-list",Jf=I(ja,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ta=e=>(t,r)=>{T(r,ja,{actual:e,possible:[$t($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,V0.default)(o).walk(u=>{if(md(u))return!1;if(u.type==="string")return;let{unit:c}=Xi(u);if(!c||!l.has(c.toLowerCase()))return;let d=ie(n)+u.sourceIndex,p=d+u.value.length;P({message:Jf.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:ja})})})},Ta.ruleName=ja,Ta.messages=Jf,Ta.meta=Q0,FL=Ta}),ML={};N(ML,{default:()=>RL});var Da,Xf,G0,La,RL,m8=y(()=>{q(),ee(),Le(),H(),O(),j(),Ht(),D(),Da="declaration-property-value-allowed-list",Xf=I(Da,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},La=e=>(t,r)=>{if(!T(r,Da,{actual:e,possible:[$t($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>R(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:Xf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Da})})},La.ruleName=Da,La.messages=Xf,La.meta=G0,RL=La}),$L={};N($L,{default:()=>BL});var Fa,Zf,Y0,Ma,BL,h8=y(()=>{q(),ee(),Le(),H(),O(),j(),Ht(),D(),Fa="declaration-property-value-disallowed-list",Zf=I(Fa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),Y0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ma=e=>(t,r)=>{if(!T(r,Fa,{actual:e,possible:[$t($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!R(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:Zf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Fa})})},Ma.ruleName=Fa,Ma.messages=Zf,Ma.meta=Y0,BL=Ma}),qL={};N(qL,{default:()=>WL});var K0,Ra,mp,H0,hp,J0,X0,$a,WL,f8=y(()=>{K0=Z(he(),1),q(),Er(),ee(),qe(),bt(),We(),V(),H(),O(),j(),jt(),$r(),D(),Ra="declaration-property-value-keyword-no-deprecated",mp=I(Ra,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),H0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},hp={activecaption:"canvas",appworkspace:"canvas",background:"canvas",inactivecaption:"canvas",infobackground:"canvas",menu:"canvas",scrollbar:"canvas",window:"canvas",activeborder:"ButtonBorder",inactiveborder:"ButtonBorder",threeddarkshadow:"ButtonBorder",threedhighlight:"ButtonBorder",threedlightshadow:"ButtonBorder",threedshadow:"ButtonBorder",windowframe:"ButtonBorder",captiontext:"CanvasText",infotext:"CanvasText",menutext:"CanvasText",windowtext:"CanvasText",buttonhighlight:"ButtonFace",buttonshadow:"ButtonFace",threedface:"ButtonFace",inactivecaptiontext:"GrayText"},J0=[...hv.values()].map(e=>[e,hp]),X0=new Map([["appearance",{button:"auto",checkbox:"auto",listbox:"auto",menulist:"auto",meter:"auto","progress-bar":"auto","push-button":"auto",radio:"auto",searchfield:"auto","slider-horizontal":"auto","square-button":"auto",textarea:"auto"}],["image-rendering",{optimizeQuality:"smooth",optimizeSpeed:"pixelated"}],["overflow",{overlay:"auto"}],["overflow-x",{overlay:"auto"}],["overflow-y",{overlay:"auto"}],["text-justify",{distribute:"inter-character"}],["text-orientation",{"sideways-right":"sideways"}],["user-select",{element:"contain"}],["zoom",{reset:"1"}],["border-color",hp],["scrollbar-color",hp],["text-decoration",["blink"]],["text-decoration-line",["blink"]],["box-sizing",["padding-box"]],["image-orientation",["flip"]],["min-height",["intrinsic","min-intrinsic"]],["min-width",["intrinsic","min-intrinsic"]],["max-height",["intrinsic","min-intrinsic"]],["max-width",["intrinsic","min-intrinsic"]],["height",["intrinsic","min-intrinsic"]],["width",["intrinsic","min-intrinsic"]],["word-break",["break-word"]],...J0]),$a=(e,t)=>(r,n)=>{T(n,Ra,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,U]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!gt(i)||R(t,"ignoreKeywords",a))return;let s=X0.get(o.toLowerCase());if(!s)return;let l=(0,K0.default)(Be(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Re(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!bw.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=mp.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=mp.expected,b=[d,x],v=()=>{c.value=x,It(i,l.toString())}}let g=ie(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Ra,index:g,endIndex:f,fix:{apply:v,node:i}})})})},$a.ruleName=Ra,$a.messages=mp,$a.meta=H0,WL=$a});function g8(e){return YL?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function b8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===it&&e.source.codePointAt(e.cursor+3)===it}function Yt(e){return e>=48&&e<=57}function v8(e){return e>=65&&e<=90}function y8(e){return e>=97&&e<=122}function Pi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function w8(e){return y8(e)||v8(e)}function $i(e){return w8(e)||k8(e)||e===95}function ck(e){return $i(e)||Yt(e)||e===it}function k8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Bi(e)||e>=65536}function x8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Nm(e){return e===Sn||e===xn||e===12}function vn(e){return e===32||e===Sn||e===9||e===xn||e===12}function Bi(e){return e>=55296&&e<=57343}function eo(e){var t;return e.source.codePointAt(e.cursor)===92&&!Nm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function zm(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===it?t.source.codePointAt(t.cursor+1)===it||!!$i((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Nm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!$i((i=t.source.codePointAt(t.cursor))!=null?i:-1)||eo(t)}function Z0(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===Cn||e.source.codePointAt(e.cursor)===it?!!Yt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Yt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Yt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Yt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function S8(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function C8(e){return e.source.codePointAt(e.cursor)===it&&e.source.codePointAt(e.cursor+1)===it&&e.source.codePointAt(e.cursor+2)===62}function A8(e){switch(e){case C.OpenParen:return C.CloseParen;case C.CloseParen:return C.OpenParen;case C.OpenCurly:return C.CloseCurly;case C.CloseCurly:return C.OpenCurly;case C.OpenSquare:return C.CloseSquare;case C.CloseSquare:return C.OpenSquare;default:return null}}function N8(e){switch(e[0]){case C.OpenParen:return[C.CloseParen,")",-1,-1,void 0];case C.CloseParen:return[C.OpenParen,"(",-1,-1,void 0];case C.OpenCurly:return[C.CloseCurly,"}",-1,-1,void 0];case C.CloseCurly:return[C.OpenCurly,"{",-1,-1,void 0];case C.OpenSquare:return[C.CloseSquare,"]",-1,-1,void 0];case C.CloseSquare:return[C.OpenSquare,"[",-1,-1,void 0];default:return null}}function z8(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function uh(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new _c(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Fr;if(Pi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Pi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();vn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Bi(a)||a>1114111?Fr:a}return r===0||Bi(r)?Fr:r}function ch(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Bi(i))r.push(Fr),t.advanceCodePoint(+(i>65535)+1);else if(ck(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!eo(t))return r;t.advanceCodePoint(),r.push(uh(e,t))}}}function E8(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(ck(r)||eo(t))){let n=Em.Unrestricted;zm(0,t)&&(n=Em.ID);let i=ch(e,t);return[C.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[C.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function P8(e,t){var n,i,o,a,s,l;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==Cn&&t.source.codePointAt(t.cursor)!==it||t.advanceCodePoint();Yt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Yt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Yt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Yt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==it&&t.source.codePointAt(t.cursor+1)!==Cn||!Yt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Yt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function eg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===it?r="-":o===Cn&&(r="+")}let n=P8(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(zm(0,t)){let o=ch(e,t);return[C.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[C.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[C.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function O8(e){var t;for(;vn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[C.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function I8(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Nm(o)){t.unreadCodePoint();let a=[C.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Bi(o)?r+=String.fromCodePoint(Fr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Nm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(uh(e,t))}}}function j8(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function tg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();eo(t)?(t.advanceCodePoint(),uh(e,t)):t.advanceCodePoint()}}function T8(e,t){var n,i,o,a;for(;vn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(vn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();vn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(tg(e,t),[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let s=t.source.codePointAt(t.cursor);if(s===34||s===39||s===40||x8(s!=null?s:-1)){tg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(eo(t)){t.advanceCodePoint(),r+=String.fromCodePoint(uh(e,t));continue}tg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Bi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Fr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function rg(e,t){var n,i;let r=ch(e,t);if(t.source.codePointAt(t.cursor)!==40)return[C.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(j8(r)){t.advanceCodePoint();let o=0;for(;;){let a=vn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=vn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return T8(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function D8(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==Cn||e.source.codePointAt(e.cursor+2)!==63&&!Pi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function L8(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Pi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===it&&Pi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Pi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:l,endOfRange:l}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function kt(e,t){let r=_L(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function _L(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new KL(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:F8};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[C.EOF,"",-1,-1,void 0];if(l===47&&S8(i))return z8(o,i);if(n&&(l===117||l===85)&&D8(i))return L8(0,i);if($i(l))return rg(o,i);if(Yt(l))return eg(o,i);switch(l){case 44:return i.advanceCodePoint(),[C.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[C.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[C.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[C.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[C.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[C.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[C.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[C.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[C.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return I8(o,i);case 35:return E8(o,i);case Cn:case 46:return Z0(i)?eg(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case Sn:case xn:case 12:case 9:case 32:return O8(i);case it:return Z0(i)?eg(o,i):C8(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):zm(0,i)?rg(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return b8(i)?(i.advanceCodePoint(4),[C.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[C.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),zm(0,i)){let u=ch(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(eo(i))return rg(o,i);i.advanceCodePoint();let u=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new wr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.source.codePointAt(i.cursor)===void 0}}}function F8(){}function M8(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...UL(r));e[1]=n,e[4].value=t}function dh(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=UL(r);n[0]===101&&py(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function UL(e){let t=0;if(e[0]===0)e.splice(0,1,Fr),t=1;else if(e[0]===it&&e[1]===it)t=2;else if(e[0]===it&&e[1])t=2,$i(e[1])||(t+=py(e,1,e[1]));else{if(e[0]===it&&!e[1])return[92,e[0]];$i(e[0])?t=1:(t=1,t+=py(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?ck(e[r])||(r+=R8(e,r,e[r])):(e.splice(r,1,Fr),r++);return e}function R8(e,t,r){return e.splice(t,1,92,r),1}function py(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function Wc(e){return!!Array.isArray(e)&&!(e.length<4)&&!!HL.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function Nt(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function VL(e){return!!e&&e[0]===C.Colon}function rn(e){return!!e&&e[0]===C.Comma}function ph(e){return!!e&&e[0]===C.Comment}function Bt(e){return!!e&&e[0]===C.Delim}function Ee(e){return!!e&&e[0]===C.Dimension}function Kt(e){return!!e&&e[0]===C.EOF}function $8(e){return!!e&&e[0]===C.Function}function Qe(e){return!!e&&e[0]===C.Ident}function Ne(e){return!!e&&e[0]===C.Number}function Ye(e){return!!e&&e[0]===C.Percentage}function QL(e){return!!e&&e[0]===C.Semicolon}function B8(e){return!!e&&e[0]===C.String}function q8(e){return!!e&&e[0]===C.URL}function dk(e){return!!e&&e[0]===C.Whitespace}function to(e){return!!e&&e[0]===C.OpenParen}function W8(e){return!!e&&e[0]===C.CloseParen}function _8(e){return!!e&&e[0]===C.OpenSquare}function GL(e){return!!e&&e[0]===C.OpenCurly}var _c,wr,ir,YL,xn,it,Sn,Cn,Fr,C,ne,Em,KL,HL,rt=y(()=>{_c=class extends Error{constructor(t,r,n,i){super(t);_(this,"sourceStart");_(this,"sourceEnd");_(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},wr=class extends _c{constructor(t,r,n,i,o){super(t,r,n,i);_(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},YL=typeof globalThis<"u"&&"structuredClone"in globalThis,xn=13,it=45,Sn=10,Cn=43,Fr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(C||(C={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Em||(Em={})),KL=class{constructor(e){_(this,"cursor",0);_(this,"source","");_(this,"representationStart",0);_(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},HL=Object.values(C)});function wi(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function mh(e,t){let r=t[0];if(to(r)||GL(r)||_8(r)){let n=V8(e,t);return{advance:n.advance,node:n.node}}if($8(r)){let n=U8(e,t);return{advance:n.advance,node:n.node}}if(dk(r)){let n=JL(e,t);return{advance:n.advance,node:n.node}}if(ph(r)){let n=Q8(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new ue(r)}}function U8(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new _c("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new Rt(t[0],i,r)};if(W8(i))return{advance:n+1,node:new Rt(t[0],i,r)};if(Nt(i)){let a=XL(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=mh(e,t.slice(n));n+=o.advance,r.push(o.node)}}function V8(e,t){let r=A8(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new _c("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Pm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Pm(t[0],o,n)};if(Nt(o)){let s=XL(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=mh(e,t.slice(i));i+=a.advance,n.push(a.node)}}function JL(e,t){let r=0;for(;;){let n=t[r];if(!dk(n))return{advance:r,node:new Pt(t.slice(0,r))};r++}}function Q8(e,t){return{advance:1,node:new hh(t[0])}}function XL(e,t){let r=[],n=0;for(;;){if(dk(t[n])){let i=JL(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!ph(t[n]))return{advance:n,nodes:r};r.push(new hh(t[n])),n++}}function ro(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=mh(r,n.slice(o));i.push(s.node),o+=s.advance}}function ZL(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=mh(r,e.slice(a));o.push(l.node),a+=l.advance}}function G8(e,t,r){if(e.length===0)return;let n=wi(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function En(e,t,r){e.length!==0&&G8(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function eF(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function jr(e){return Pm.isSimpleBlockNode(e)}function Ke(e){return Rt.isFunctionNode(e)}function Uc(e){return Pt.isWhitespaceNode(e)}function pk(e){return hh.isCommentNode(e)}function Et(e){return Uc(e)||pk(e)}function le(e){return ue.isTokenNode(e)}function qt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[qt(i)[0],qt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Oe,ng,Rt,Pm,Pt,hh,ue,xt=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Oe||(Oe={})),ng=class{constructor(){_(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=wi(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},Rt=class my extends ng{constructor(r,n,i){super();_(this,"type",Oe.Function);_(this,"name");_(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>Wc(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return my.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof my&&r.type===Oe.Function}},Pm=class hy extends ng{constructor(r,n,i){super();_(this,"type",Oe.SimpleBlock);_(this,"startToken");_(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=N8(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>Wc(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return hy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof hy&&r.type===Oe.SimpleBlock}},Pt=class fy{constructor(t){_(this,"type",Oe.Whitespace);_(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return fy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof fy&&t.type===Oe.Whitespace}},hh=class gy{constructor(t){_(this,"type",Oe.Comment);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return gy.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof gy&&t.type===Oe.Comment}},ue=class by{constructor(t){_(this,"type",Oe.Token);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return by.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof by&&t.type===Oe.Token}}});function Ot(e){return e.replace(nF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function pt(e,t){if(!Ee(e)||!Ee(t))return t;let r=Ot(e[4].unit),n=Ot(t[4].unit);if(r===n)return t;let i=fk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[C.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return dh(s,e[4].unit),s}function Y8(e){if(!Ee(e))return e;let t=Ot(e[4].unit),r=iF[t];if(t===r)return e;let n=fk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[C.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return dh(a,r),a}function K8(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ne(r)&&Ne(n)){let o=r[4].value+n[4].value;return new ue([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ye(r)&&Ye(n)){let o=r[4].value+n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=pt(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value+n[4].value;return new ue([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ne(r)&&(Ee(n)||Ye(n))||Ne(n)&&(Ee(r)||Ye(r)))&&((i=t.onParseError)==null||i.call(t,new hk(Vc.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function H8(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ne(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ye(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function wt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(le(i)){r.push(i);continue}let o=wt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function J8(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ne(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ye(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ne(t)&&Ye(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:t[4].unit}])}if(Ne(t)&&Ee(r)){let n=t[4].value*r[4].value;return new ue([C.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return-1}function qi(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Qe(i))continue;let o=Ot(i[4].value);switch(o){case"e":e.splice(r,1,new ue([C.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new ue([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new ue([C.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new ue([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new ue([C.Number,"NaN",i[2],i[3],{value:Number.NaN,type:ne.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new ue(a))}}}return e}function fh(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function dt(e,t,r){return Ee(t)?fd(e,t[4].unit,r):Ye(t)?X8(e,r):Ne(t)?Ar(e,r):-1}function fd(e,t,r){let n=e.tokens();return{inputs:[new ue([C.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?ne.Integer:ne.Number,unit:t}])],operation:fh}}function X8(e,t){let r=e.tokens();return{inputs:[new ue([C.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:fh}}function Ar(e,t){let r=e.tokens();return{inputs:[new ue([C.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:fh}}function Z8(e,t){let r=t.value;return Ne(r)?fd(e,"rad",Math.acos(r[4].value)):-1}function e7(e,t){let r=t.value;return Ne(r)?fd(e,"rad",Math.asin(r[4].value)):-1}function t7(e,t){let r=t.value;return Ne(r)?fd(e,"rad",Math.atan(r[4].value)):-1}function gh(e){return Ee(e)||Ne(e)}function mk(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=Ot(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==Ot(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&Ot(e[4].unit)===Ot(t[4].unit):e[0]===t[0])}function r7(e,t,r){let n=t.value;if(!gh(n))return-1;let i=pt(n,r.value);return Nr(n,i)?fd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function n7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ye(n)?-1:dt(e,n,Math.abs(n[4].value))}function i7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ye(o))return-1;let a=pt(o,r.value);if(!Nr(o,a))return-1;let s=pt(o,n.value);return Nr(o,s)?dt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function o7(e,t){let r=t.value;if(!gh(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=Qc.get("rad")(r[4].value);break;case"grad":n=Wi.get("rad")(r[4].value);break;case"turn":n=_i.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function a7(e,t){let r=t.value;return Ne(r)?Ar(e,Math.exp(r[4].value)):-1}function s7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ye(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return dt(e,n,a)}function eS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ye(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return dt(e,n,a)}function tS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ye(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return dt(e,n,a)}function l7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=pt(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,dt(e,n,o)}function u7(e,t,r){let n=t.value,i=r.value;return!Ne(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function c7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=pt(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,dt(e,n,o)}function tF(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[C.Dimension,`${n}px`,t[2],t[3],{value:n,type:ne.Integer,unit:"px"}],o=pt(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return dt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return dt(e,t,pt(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,dt(e,t,pt(t,o)[4].value)}return dt(e,t,t[4].value)}function d7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ye(o))return-1;let a=pt(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=wt(dt(e,o,s),i);return p===-1?-1:tF(e,p.value,i)}break}}else s=Number.NaN;return dt(e,o,s)}function p7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ye(n)?-1:Ar(e,Math.sign(n[4].value))}function m7(e,t){let r=t.value;if(!gh(r))return-1;let n=r[4].value;if(Ee(r))switch(Ot(r[4].unit)){case"rad":break;case"deg":n=Qc.get("rad")(r[4].value);break;case"grad":n=Wi.get("rad")(r[4].value);break;case"turn":n=_i.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function h7(e,t){let r=t.value;return Ne(r)?Ar(e,Math.sqrt(r[4].value)):-1}function f7(e,t){let r=t.value;if(!gh(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(Ot(r[4].unit)){case"rad":i=yy.get("deg")(n);break;case"deg":i=n,o=Qc.get("rad")(n);break;case"grad":i=Wi.get("deg")(n),o=Wi.get("rad")(n);break;case"turn":i=_i.get("deg")(n),o=_i.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function g7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ne(r)&&Ne(n)){let o=r[4].value-n[4].value;return new ue([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ye(r)&&Ye(n)){let o=r[4].value-n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=pt(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value-n[4].value;return new ue([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ne(r)&&(Ee(n)||Ye(n))||Ne(n)&&(Ee(r)||Ye(r)))&&((i=t.onParseError)==null||i.call(t,new hk(Vc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function b7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ne(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!le(r))return-1;let n=r.value;if(!Ne(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ne(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function vy(e){if(Array.isArray(e)){let r=e.filter(n=>!(Uc(n)&&pk(n)));return r.length===1&&vy(r[0])}if(!le(e))return!1;let t=e.value;return!!Qe(t)&&oF.test(t[4].value)}function v7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=pt(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=pt(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return dt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return dt(e,a,a[4].value);let u=t.fixed===-1?y7(w7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(aF))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let f=c+b;if(!(f+v<d)){h.push(d);break}if(h.push(f),f+l[4].value-v>d)break}let g=u();return dt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return dt(e,a,Number((p*(d-c)+c).toFixed(5)))}function y7(e=.34944106645296036,t=.19228640875738723,r=.8784393832007205,n=.04850964319275053){return()=>{let i=((e|=0)+(t|=0)|0)+(n|=0)|0;return n=n+1|0,e=t^t>>>9,t=(r|=0)+(r<<3)|0,r=(r=r<<21|r>>>11)+i|0,(i>>>0)/4294967296}}function w7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function yt(e,t,r){let n=qi([...e.value.filter(o=>!Et(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:fh};let i=0;for(;i<n.length;){let o=n[i];if(jr(o)&&to(o.startToken)){let a=yt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(Ke(o)){let a=Om.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!Bt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:H8}):n.splice(i,3,{inputs:[o,l],operation:J8})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!Bt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:g7}):n.splice(i,3,{inputs:[o,l],operation:K8})}return n.length===1&&un(n[0])?n[0]:-1}function gr(e,t,r,n){let i=k7(e,t,r);return i===-1?-1:n(e,i,r)}function k7(e,t,r){let n=qi([...e.value.filter(o=>!Et(o))],t),i=wt(yt(Mt(e,n),t,r),r);return i===-1?-1:i}function fp(e,t,r,n){let i=x7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function x7(e,t,r){let n=qi([...e.value.filter(l=>!Et(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(le(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=wt(yt(Mt(e,i),t,r),r);if(a===-1)return-1;let s=wt(yt(Mt(e,o),t,r),r);return s===-1?-1:[a,s]}function gp(e,t,r,n){let i=rF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function rF(e,t,r,n){let i=qi([...t.filter(a=>!Et(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];le(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=wt(yt(Mt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function S7(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Qe(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!le(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Qe(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=wt(yt(Mt(e,[u]),r,n),n);if(c===-1||!Ne(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Mt(e,t){return new Rt([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function C7(e,t,r){return new Rt([C.Function,"max(",e.name[2],e.name[3],{value:"max"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new ue([C.Comma,",",...qt(t),void 0]),r])}function A7(e){if(e===-1)return-1;if(Ke(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ne(t)?new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Ye(t)?new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function N7(e){if(e===-1)return-1;if(Ke(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ne(t)?new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new Rt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])])}function z7(e){if(e===-1)return-1;if(Ke(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ye(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function E7(e,t=13){if(e===-1)return-1;if(t<=0||Ke(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ne(r)?r[1]=n:Ye(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function P7(e){return e===-1?-1:(Ke(e)||Ee(e.value)&&(e.value=Y8(e.value)),e)}function O7(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=P7(r)),r=E7(r,t==null?void 0:t.precision),r=z7(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=A7(r),r=N7(r)),r}function I7(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(Wc(n))t.set(r,n);else if(typeof n=="string"){let i=_L({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function j7(e,t){let r=I7(t==null?void 0:t.globals);return T7(e,n=>{if(!Ke(n))return;let i=Om.get(n.getName().toLowerCase());if(!i)return;let o=O7(wt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function T7(e,t){for(let r=0;r<e.length;r++){let n=e[r];En(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];le(l)&&Bt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Pt([[C.Whitespace," ",...qt(i.node),void 0]]));let u=i.parent.value[o+1];!u||Et(u)||le(u)&&(rn(u.value)||VL(u.value)||QL(u.value)||Bt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Pt([[C.Whitespace," ",...qt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var rS,hk,Vc,nF,iF,nS,Qc,Wi,iS,oS,aS,sS,lS,uS,cS,dS,pS,yy,mS,_i,fk,oF,aF,Om,hS,D7,L7=y(()=>{xt(),rt(),rS=class extends Error{constructor(t,r,n){super(t);_(this,"sourceStart");_(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},hk=class extends rS{constructor(t,r){super(t,...qt(r));_(this,"componentValues");this.componentValues=r}},Vc={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},nF=/[A-Z]/g,iF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},nS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),Qc=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Wi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),iS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),oS=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),aS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),sS=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),lS=new Map([["ms",e=>e],["s",e=>e/1e3]]),uS=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),cS=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),dS=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),pS=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),yy=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),mS=new Map([["ms",e=>1e3*e],["s",e=>e]]),_i=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),fk=new Map([["cm",nS],["mm",sS],["q",pS],["in",oS],["pc",uS],["pt",cS],["px",dS],["ms",lS],["s",mS],["deg",Qc],["grad",Wi],["rad",yy],["turn",_i],["hz",iS],["khz",aS]]),oF=/^none$/i,aF=String.fromCodePoint(0),Om=new Map([["abs",function(e,t,r){return gr(e,t,r,n7)}],["acos",function(e,t,r){return gr(e,t,r,Z8)}],["asin",function(e,t,r){return gr(e,t,r,e7)}],["atan",function(e,t,r){return gr(e,t,r,t7)}],["atan2",function(e,t,r){return fp(e,t,r,r7)}],["calc",yt],["clamp",function(e,t,r){let n=qi([...e.value.filter(h=>!Et(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let g=n[b];if(le(g)&&rn(g.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(g)}}let s=vy(i),l=vy(a);if(s&&l)return yt(Mt(e,o),t,r);let u=wt(yt(Mt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=wt(yt(Mt(e,a),t,r),r);return h===-1?-1:tS((c=e,d=u,p=h,new Rt([C.Function,"min(",c.name[2],c.name[3],{value:"min"}],[C.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new ue([C.Comma,",",...qt(d),void 0]),p])),[u,h],r)}if(l){let h=wt(yt(Mt(e,i),t,r),r);return h===-1?-1:eS(C7(e,h,u),[h,u],r)}var c,d,p;let m=wt(yt(Mt(e,i),t,r),r);if(m===-1)return-1;let v=wt(yt(Mt(e,a),t,r),r);return v===-1?-1:i7(e,m,u,v,r)}],["cos",function(e,t,r){return gr(e,t,r,o7)}],["exp",function(e,t,r){return gr(e,t,r,a7)}],["hypot",function(e,t,r){return gp(e,t,r,s7)}],["log",function(e,t,r){return gp(e,t,r,b7)}],["max",function(e,t,r){return gp(e,t,r,eS)}],["min",function(e,t,r){return gp(e,t,r,tS)}],["mod",function(e,t,r){return fp(e,t,r,l7)}],["pow",function(e,t,r){return fp(e,t,r,u7)}],["random",function(e,t,r){let n=S7(e,e.value.filter(c=>!Et(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=rF(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:v7(e,i,s,l,u,r)}],["rem",function(e,t,r){return fp(e,t,r,c7)}],["round",function(e,t,r){let n=qi([...e.value.filter(c=>!Et(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&le(p)&&Qe(p.value)){let m=p.value[4].value.toLowerCase();if(hS.has(m)){i=m;continue}}if(le(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=wt(yt(Mt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=pt([C.Dimension,"1px",l.value[2],l.value[3],{value:1,type:ne.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:tF(e,l.value,r);s.push(new ue([C.Number,"1",l.value[2],l.value[3],{value:1,type:ne.Integer}]))}let u=wt(yt(Mt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),d7(e,i,l,u,r))}],["sign",function(e,t,r){return gr(e,t,r,p7)}],["sin",function(e,t,r){return gr(e,t,r,m7)}],["sqrt",function(e,t,r){return gr(e,t,r,h7)}],["tan",function(e,t,r){return gr(e,t,r,f7)}]]),hS=new Set(["nearest","line-width","up","down","to-zero"]),D7=new Set(Om.keys())}),sF,F7=y(()=>{sF={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ 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> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function M7(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=R7(t,i))}return t}function R7(e,t){let r={};return r.atrules=$7(e.atrules,t.atrules),r.properties=wy(e.properties,t.properties),r.types=wy(e.types,t.types),r.cssWideKeywords=B7(e.cssWideKeywords,t.cssWideKeywords),r.units=q7(e.units,t.units),r}function $7(e,t){var n,i;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r=structuredClone(e);for(let[o,a]of Object.entries(t)){let s=(i=r[o])!=null?i:{};s.prelude=_7(s.prelude,a.prelude),s.descriptors=wy(s.descriptors,a.descriptors),r[o]=s}return r}function wy(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t))r[i]=W7(r[i],o);return r}function B7(e,t){var r;return typeof e>"u"||typeof t>"u"?(r=e!=null?e:t)!=null?r:[]:Array.from(new Set([...e,...t]))}function q7(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t)){let a=r[i];r[i]=a?Array.from(new Set([...a,...o])):o}return r}function W7(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function _7(e,t){if(typeof e>"u"||typeof t>"u")return e!=null?e:t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}var U7=y(()=>{});function lF(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=hL.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=ky.get(n);if(i)return i;let{lexer:o}=lk(M7(uF,r));return ky.set(n,o),o}var uF,ky,cF=y(()=>{Ji(),F7(),U7(),{next:uF}=sF,ky=new Map});function V7(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==gk;)r=r.parent}var gk,Q7=y(()=>{fe(),gk="STOP"});function bh(e,t){let r;return V7(e,n=>{if(t(n))return r=n,gk}),r}var vh=y(()=>{Q7()});function dF(e){return!!bh(e,G7)}function G7(e){return Ie(e)&&!zc.has(e.name.toLowerCase())}var pF=y(()=>{vh(),fe(),Yi()});function mF(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var hF=y(()=>{Le()}),fF={};N(fF,{default:()=>vF});function gF(e){return!!sk(e,t=>t.type==="Function"&&bF.has(t.name.toLowerCase()))}function Y7(e){let t=!1;return En(e,({node:r})=>{if(!(!Ke(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===C.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function K7(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=ro(kt({css:e}),{});if(Y7(i))return["skip-validation",-1,-1];let o=[],a=j7([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case Vc.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case Vc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=eF(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=tn(s,{context:"value",positions:!0});if(gF(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,h,b;return m.forEach(g=>{d===v&&(h=g),v+=g[1].length,p===v&&(b=g)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var br,qn,fS,gS,bF,ig,og,Ba,vF,H7=y(()=>{L7(),rt(),Ji(),xt(),V(),q(),ee(),uw(),qe(),cF(),dr(),fe(),pF(),bt(),Or(),We(),hF(),O(),j(),Ht(),uk(),D(),br="declaration-property-value-no-unknown",qn=I(br,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),fS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},gS=/^syntax$/i,bF=new Set(["clamp","min","max","env"]),ig=new WeakMap,og=1e4,Ba=(e,t)=>(r,n)=>{var c;if(!T(n,br,{actual:e},{actual:t,possible:{ignoreProperties:[$t($,U)],propertiesSyntax:[Am($)],typesSyntax:[Am($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Ac(`We've deprecated the "propertiesSyntax" option of "${br}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Ac(`We've deprecated the "typesSyntax" option of "${br}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(d,p)=>mF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(xe.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!ft(p))){for(let m of d.nodes)if(Qi(m)&&gS.test(m.prop)){let v=m.value.trim(),h=D4.decode(v);if(h===v||h==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=h}}});let l=Object.keys(o).length>0||Object.keys(a).length>0?lF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=ig.get(l);u||(u=new Set,ig.set(l,u)),r.walkDecls(d=>{var E;let{prop:p}=d,m=Be(d);if(/^-moz-initial$/i.test(m)||!gt(d)||dF(d)||!Pr(p)||!Re(m)||ft(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=ft(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=K7(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<og&&u.add(v);return}if(h==="invalid"){let B=ie(d),te=m,re=B,we=re+te.length;b!==-1&&g!==-1&&(te=m.slice(b,g),re=B+b,we=re+te.length),P({message:qn.rejectedMath,messageArgs:[p,te],node:d,index:re,endIndex:we,result:n,ruleName:br});return}let f;try{if(f=tn(m,{context:"value",positions:!0}),gF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ie(d),te=B+m.length;P({message:qn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:te,result:n,ruleName:br});return}let{error:x}=l.matchProperty((E=s.get(p))!=null?E:p,f);if(!x){v&&u.size<og&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let z=ie(d),A=m.slice(S.start.offset,S.end.offset),L=sk(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(L!=null&&L.loc){let B=m.slice(L.loc.start.offset,L.loc.end.offset),te=z+L.loc.start.offset,re=te+B.length;P({message:qn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:re,result:n,ruleName:br});return}P({message:qn.rejected,messageArgs:[p,A],node:d,index:z+S.start.offset,endIndex:z+S.end.offset,result:n,ruleName:br})})},Ba.ruleName=br,Ba.messages=qn,Ba.meta=fS,vF=Ba}),yF={};N(yF,{default:()=>SF});function bS(e){return wF.test(e)?1:kF.test(e)?2:xF.test(e)?3:0}function J7(e,t){return bS(e)-bS(t)}function X7(e){return e.map(t=>t[4].value).sort(J7).join(" ").toLowerCase()}function Z7(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(ph),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([C.Whitespace," ",-1,-1,void 0]),u.push([C.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var qa,ag,vS,wF,kF,xF,yS,wS,kS,Wa,SF,eU=y(()=>{rt(),Je(),ee(),qe(),We(),V(),O(),j(),jt(),D(),qa="display-notation",ag=I(qa,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),vS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},wF=new RegExp(`^(?:${[...vw.values()].join("|")})$`,"i"),kF=new RegExp(`^(?:${[...yw.values()].join("|")})$`,"i"),xF=new RegExp(`^(?:${[...ww.values()].join("|")})$`,"i"),yS=/^display$/i,wS={"block list-item":["block","flow","list-item"],block:["block","flow"],flex:["block","flex"],"flow list-item":["block","flow","list-item"],flow:["block","flow"],"flow-root":["block","flow-root"],grid:["block","grid"],"inline list-item":["inline","flow","list-item"],inline:["inline","flow"],"inline-block":["inline","flow-root"],"inline-flex":["inline","flex"],"inline-grid":["inline","grid"],"inline-table":["inline","table"],"list-item":["block","flow","list-item"],ruby:["inline","ruby"],"run-in":["run-in","flow"],table:["block","table"]},kS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Wa=e=>(t,r)=>{T(r,qa,{actual:e,possible:["short","full"]})&&t.walkDecls(yS,n=>{let i=Be(n);if(!Q.displayKeyword.test(i)||!Re(i))return;let o=kt({css:i});if(o.some(p=>!(Nt(p)||Kt(p)||Qe(p))))return;let a=o.filter(Qe);if(!a.length)return;let s=X7(a),l=e==="short"?kS[s]:wS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ie(n);P({message:ag.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:qa,fix:{apply:()=>{It(n,Z7(o,u,c,l))},node:n}})})},Wa.ruleName=qa,Wa.messages=ag,Wa.meta=vS,SF=Wa});function qp(e){return e.toString().trim().length!==0&&Number(e)==e}var CF=y(()=>{});function xS(e){if(!e)return!1;if(im.has(e))return!0;let t=AF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||Ti.has(r.toLowerCase()))}var AF,tU=y(()=>{AF=Z(he(),1),Je(),Xc()});function gd(e){return e.toLowerCase().startsWith("var(")}var bd=y(()=>{});function rU(e,t,r){return e.value=e.value+r+t.value,e}function bk(e){let t=[],r=(0,NF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!zF.has(a.type))return;let u=a.value.toLowerCase();if(!Re(u)||gd(u))return;let c=Xr.has(u);if(!c&&kw.has(u)||!c&&xS(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&im.has(u)&&!(!d||xy(d)||v.find(xy))||p&&p.value==="/"&&m&&xS(m.value)||qp(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];Ge(b),rU(b,h,o),i=!1,o=null}else t.push(h)}),t}var NF,zF,xy,vk=y(()=>{NF=Z(he(),1),Je(),q(),CF(),We(),tU(),bd(),zF=new Set(["word","string","space","div"]),xy=e=>e.type==="div"&&e.value===","}),EF={};N(EF,{default:()=>PF});function nU(e){return!!(QN.has(e)||e==="BlinkMacSystemFont")}function iU(e){return!/^[-a-z]+$/i.test(e)}function oU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var _a,sg,SS,CS,Ua,PF,aU=y(()=>{Je(),vk(),We(),bd(),V(),O(),j(),D(),_a="font-family-name-quotes",sg=I(_a,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),SS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},CS=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Ua=e=>(t,r)=>{if(!T(r,_a,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(Br.fontFamilyAndShorthandName,o=>{if(!Re(o.value))return;let a=CS(bk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(gd(l))return;if(Xr.has(s.toLowerCase())||nU(s))return u?i("rejected",o,a):void 0;let c=oU(s),d=iU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:_a,message:sg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Ua.ruleName=_a,Ua.messages=sg,Ua.meta=SS,PF=Ua}),OF={};N(OF,{default:()=>IF});var Va,lg,AS,NS,Qa,IF,sU=y(()=>{q(),ee(),vk(),Je(),H(),V(),O(),j(),D(),Va="font-family-no-duplicate-names",lg=I(Va,{rejected:e=>`Duplicate font-family name "${e}"`}),AS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},NS=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),Qa=(e,t)=>(r,n)=>{if(!T(n,Va,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,U]},optional:!0}))return;r.walkDecls(Br.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=bk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(R(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(NS(u)){if(a.has(c.toLowerCase())){i(c,ie(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Va,message:lg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Qa.ruleName=Va,Qa.messages=lg,Qa.meta=AS,IF=Qa}),jF={};N(jF,{default:()=>TF});var Ga,ug,zS,ES,PS,Ya,TF,lU=y(()=>{id(),q(),Je(),ee(),vk(),fe(),We(),bd(),H(),V(),O(),j(),D(),Ga="font-family-no-missing-generic-family-keyword",ug=I(Ga,{rejected:"Missing generic font family"}),zS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},ES=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),PS=e=>{let t=Li.list.comma(e).pop();return t!=null&&(gd(t)||!Re(t))},Ya=(e,t)=>(r,n)=>{if(!T(n,Ga,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,U]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(Br.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Ie(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&VN.has(o.value.toLowerCase())||PS(o.value))return;let s=bk(o.value);if(s.length===0||s.some(p=>ES(p))||s.some(p=>R(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];Ge(l);let u=ie(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:Ga,message:ug.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},Ya.ruleName=Ga,Ya.messages=ug,Ya.meta=zS,TF=Ya}),DF={};N(DF,{default:()=>LF});function Sy(e){return e!==void 0&&e.type==="div"}function uU(e,t,r){return!(e.type!=="word"||Sy(r[t-1])||Sy(r[t+1]))}var OS,Ka,Ha,IS,jS,TS,cg,Ja,LF,cU=y(()=>{OS=Z(he(),1),Je(),V(),q(),ee(),qe(),CF(),We(),bd(),H(),O(),j(),jt(),D(),Ka="font-weight-notation",Ha=I(Ka,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),IS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},jS="normal",TS=new Map([["normal","400"],["bold","700"]]),cg=new Map([["400","normal"],["700","bold"]]),Ja=(e,t)=>(r,n)=>{if(!T(n,Ka,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=R(t,"ignore","relative");r.walkDecls(Br.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,OS.default)(Be(a)),u=l.nodes,c=u.some((d,p,m)=>qp(d.value)&&!Sy(m[p-1]));for(let[d,p]of u.entries()){if(!uU(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===jS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Re(u)||gd(u))return;let c=u.toLowerCase();if(i&&rm.has(c))return;let d=m=>()=>{s.value=m,It(a,l.toString())};if(e==="numeric"){if(!qp(c)&&nm.has(c)){let m=TS.get(c);return m?p(Ha.expectedWithActual,[u,m],s,d(m)):p(Ha.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&qp(c)&&cg.has(c)){let m=cg.get(c);Vi(m);let v=d(m);return p(Ha.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ie(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:Ka,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},Ja.ruleName=Ka,Ja.messages=Ha,Ja.meta=IS,LF=Ja}),FF={};N(FF,{default:()=>MF});function dU(e){let t=e.prop.toLowerCase();if(ft(t))return!1;let r=e.prev();for(;r;){if(r.type==="decl"&&r.prop.toLowerCase()===t)return!0;r=r.prev()}return!1}var DS,Xa,dg,LS,Wn,MF,pU=y(()=>{DS=Z(he(),1),q(),ee(),dr(),dd(),Le(),O(),j(),D(),Xa="function-allowed-list",dg=I(Xa,{rejected:e=>`Disallowed function "${e}"`}),LS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Wn=(e,t)=>(r,n)=>{var o;if(!T(n,Xa,{actual:e,possible:[$,U]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,U]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,DS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!cd(s)||Pe(c,e)&&(!Pe(c,i)||dU(a)))return;let d=ie(a)+u,p=d+c.length;P({message:dg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:Xa})})})},Wn.primaryOptionArray=!0,Wn.ruleName=Xa,Wn.messages=dg,Wn.meta=LS,MF=Wn}),RF={};N(RF,{default:()=>WF});function mU(e){let t=kt({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;dh(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=kt({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!Bt(r)||r[4].value!=="#")return;let i=t[n+1];if(!GL(i))return;let o=t[n+2];!Bt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),ro(t)}function FS(e){if(jr(e))return!0;if(Ke(e)){let t=e.getName().toLowerCase();return!!(Ki.has(t)||t==="var")}return le(e)?BF.has(e.value[0]):!1}function bp(e=" "){return new Pt([[C.Whitespace,e,-1,-1,void 0]])}function hU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;Et(s);)s=e.value[++t];for(FS(s)&&(r=s,s=e.value[++t]);Et(s);)i.push(s),s=e.value[++t];for(le(s)&&Bt(s.value)&&$F.has(s.value[4].value)&&(a=s,s=e.value[++t]);Et(s);)o.push(s),s=e.value[++t];for(FS(s)&&(n=s,s=e.value[++t]);Et(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||QL(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new qF(r,i,n,o,a),t]}var Za,cn,MS,$F,RS,$S,es,BF,qF,WF,fU=y(()=>{var e,Cy,r;xt(),rt(),ee(),qe(),Er(),V(),O(),j(),jt(),D(),q(),Za="function-calc-no-unspaced-operator",cn=I(Za,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),MS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},$F=new Set(["+","-"]),RS=new RegExp(`^(?:${[...Ki].join("|")})$`,"i"),$S=/\n|\r\n/,es=n=>(i,o)=>{if(!T(o,Za,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:Za,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=Be(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=mU(l);if(u.length===0)return;let c=ie(s),d=()=>It(s,eF([u]));function p(h,b,g){b[g].some(Uc)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,g),d()})}function m(h,b){if(le(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=g;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>dh(g,k)))return}if(Qe(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>M8(g,k)))return}}if(le(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(h,b){h[b].forEach(g=>{if(!Uc(g))return;let f=g.toString();if(f===" ")return;let x=f.search($S);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=bp(x===-1?" ":f.slice(x)).value,d()})})}En(u,({node:h,state:b})=>{if(!b)return;if(Ke(h))b.inMathFunction=RS.test(h.getName().toLowerCase());else if(!jr(h)||!to(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=hU(h,g),!f){g++;continue}f.operator||m(h,f),f.operator&&(p(h,f,"before"),p(h,f,"after"),v(f,"before"),v(f,"after")),g=h.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},BF=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),qF=(r=class{constructor(n,i,o,a,s){Wk(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return jh(this,e,Cy)[4].value}get operatorCharPosition(){return jh(this,e,Cy)[2]}insertWhitespace(n,i){Ge(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,bp())}insertOperatorAfterFirstOperand(n){Ge(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){Ge(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new ue([C.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[bp()]):this.after=[bp()]}},e=new WeakSet,Cy=function(){var n;return Ge(Bt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),es.ruleName=Za,es.messages=cn,es.meta=MS,WF=es}),_F={};N(_F,{default:()=>UF});var BS,ts,pg,qS,_n,UF,gU=y(()=>{BS=Z(he(),1),q(),ee(),dd(),Le(),O(),j(),D(),ts="function-disallowed-list",pg=I(ts,{rejected:e=>`Disallowed function "${e}"`}),qS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},_n=e=>(t,r)=>{T(r,ts,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,BS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!cd(i)||!Pe(s,e))return;let l=ie(n)+a,u=l+s.length;P({message:pg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ts})})})},_n.primaryOptionArray=!0,_n.ruleName=ts,_n.messages=pg,_n.meta=qS,UF=_n});function vd(e,t,r){let n=(0,Ay.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||U(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,Ay.default)(e.slice(i.sourceIndex+o.length)).nodes;Ge(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var Ay,yd=y(()=>{Ay=Z(he(),1),q()}),VF={};N(VF,{default:()=>YF});function bU(e,t){let r=t?QF:GF,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var mg,rs,hg,WS,fg,_S,US,Un,QF,GF,VS,QS,GS,ns,YF,vU=y(()=>{mg=Z(he(),1),ee(),yd(),We(),O(),j(),D(),Tt(),rs="function-linear-gradient-no-nonstandard-direction",hg=I(rs,{rejected:"Nonstandard direction"}),WS={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},fg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",_S=new RegExp(`${fg}\\(`,"i"),US=new RegExp(`^${fg}$`,"i"),Un=/top|left|bottom|right/i,QF=new RegExp(`^to (${Un.source})(?: (${Un.source}))?$`,"i"),GF=new RegExp(`^(${Un.source})(?: (${Un.source}))?$`,"i"),VS=/[\d.]/,QS=/^[\d.]+(?:deg|grad|rad|turn)$/,GS=/\bin\b/i,ns=e=>(t,r)=>{T(r,rs,{actual:e})&&t.walkDecls(n=>{_S.test(n.value)&&(0,mg.default)(n.value).walk(i=>{i.type==="function"&&vd(mg.default.stringify(i).toLowerCase(),US,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Re(l)||l.startsWith("var(")||GS.test(l))return;if(VS.test(l.charAt(0))){if(QS.test(l))return;c();return}if(!Un.test(l))return;let u=!He.prefix(i.value);bU(l,u)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:hg.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:rs})}})})})},ns.ruleName=rs,ns.messages=hg,ns.meta=WS,YF=ns}),KF={};N(KF,{default:()=>HF});var YS,is,gg,KS,vp,os,HF,yU=y(()=>{YS=Z(he(),1),q(),Er(),ee(),qe(),dd(),We(),H(),O(),j(),jt(),D(),is="function-name-case",gg=I(is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),KS={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},vp=new Map;for(let e of _N)vp.set(e.toLowerCase(),e);os=(e,t)=>(r,n)=>{T(n,is,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Re(i.value))return;let o=(0,YS.default)(Be(i));o.walk(a=>{if(a.type!=="function"||!cd(a))return;let s=a.value,l=s.toLowerCase();if(R(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&vp.has(l)?u=vp.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,It(i,o.toString())};P({message:gg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:is,fix:{apply:p,node:i}})})})},os.ruleName=is,os.messages=gg,os.meta=KS,HF=os}),JF,wU=y(()=>{JF=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function kU(e){return e.startsWith("--")}var xU=y(()=>{}),XF={};N(XF,{default:()=>ZF});var as,bg,HS,ss,ZF,SU=y(()=>{xt(),wU(),rt(),q(),ee(),xU(),We(),H(),O(),j(),D(),as="function-no-unknown",bg=I(as,{rejected:e=>`Unknown function "${e}"`}),HS={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},ss=(e,t)=>(r,n)=>{T(n,as,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Re(o)&&En(ro(kt({css:o})),({node:a})=>{if(!Ke(a))return;let s=a.getName();if(kU(s)||R(t,"ignoreFunctions",s)||JF.includes(s.toLowerCase()))return;let l=ie(i),u=l+a.name[2],c=l+a.name[3];P({message:bg.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:as})})})},ss.ruleName=as,ss.messages=bg,ss.meta=HS,ZF=ss});function yh(e){return e.length===0?!0:lN(e)||dN(e)||oN(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!rN(e):!(e.startsWith("@")&&eM.test(e)||e.includes("$")&&tM.test(e)&&!e.endsWith("/"))}var eM,tM,wh=y(()=>{iN(),sN(),cN(),mN(),eM=/^@@?[\w-]+$/,tM=/^[$\s\w+\-,./*'"@#?]+$/}),rM={};N(rM,{default:()=>nM});var ls,vg,JS,yg,us,nM,CU=y(()=>{V(),yd(),wh(),O(),j(),D(),ls="function-url-no-scheme-relative",vg=I(ls,{rejected:"Disallowed scheme-relative url"}),JS={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},yg=(e,t,r)=>{vd(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!yh(o)||!o.startsWith("//")||P({message:vg.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:ls})})},us=e=>(t,r)=>{T(r,ls,{actual:e})&&(t.walkDecls(n=>{yg(n,n.toString(),r)}),t.walkAtRules(xe.importName,n=>{yg(n,n.toString(),r)}))},us.ruleName=ls,us.messages=vg,us.meta=JS,nM=us}),iM={};N(iM,{default:()=>oM});var cs,wg,XS,ds,oM,AU=y(()=>{rt(),ee(),yd(),st(),qe(),bt(),wh(),V(),H(),O(),j(),D(),cs="function-url-quotes",wg=I(cs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),XS={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},ds=(e,t)=>(r,n)=>{if(!T(n,cs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=R(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=f.toString();break;case"atrule":h.params=f.toString();break}}}function s(h,b,g){vd(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:z,...A}=S,L=wg[z],E=[w.value.toLowerCase()],B=a(h,w,z,k);P({...A,node:h,fix:{apply:B,node:h},message:L,messageArgs:E,result:n,ruleName:cs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!gt(h))return;let b=Be(h),g=ie(h);s(h,b,g)}function u(h){let b=at(h),g=je(h);s(h,b,g)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,g=(k=h[0])!=null?k:"",f=h.lastIndexOf(g);f>0&&(b=h.slice(1,f));let x=kt({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!q8(w)}function m(h,b){let g=h.trimStart();if(!yh(g))return;let f=e==="always";i&&o.has(h.trim())&&(f=!f);let x=g.startsWith("'")||g.startsWith('"');if(x&&p(g)||f&&x||!f&&!x)return;let w=f?"expected":"rejected",k=b+h.length-g.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},ds.ruleName=cs,ds.messages=wg,ds.meta=XS,oM=ds});function aM(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var sM=y(()=>{}),lM={};N(lM,{default:()=>uM});var ps,kg,ZS,Vn,uM,NU=y(()=>{q(),yd(),sM(),wh(),Le(),O(),j(),D(),ps="function-url-scheme-allowed-list",kg=I(ps,{rejected:e=>`Disallowed URL scheme "${e}:"`}),ZS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Vn=e=>(t,r)=>{T(r,ps,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{vd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!yh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=aM(s);l!==null&&(Pe(l,e)||P({message:kg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ps}))})})},Vn.primaryOptionArray=!0,Vn.ruleName=ps,Vn.messages=kg,Vn.meta=ZS,uM=Vn}),cM={};N(cM,{default:()=>dM});var ms,xg,eC,Qn,dM,zU=y(()=>{q(),yd(),sM(),wh(),Le(),O(),j(),D(),ms="function-url-scheme-disallowed-list",xg=I(ms,{rejected:e=>`Disallowed URL scheme "${e}:"`}),eC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Qn=e=>(t,r)=>{T(r,ms,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{vd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!yh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=aM(s);l!==null&&Pe(l,e)&&P({message:xg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ms})})})},Qn.primaryOptionArray=!0,Qn.ruleName=ms,Qn.messages=xg,Qn.meta=eC,dM=Qn}),pM={};N(pM,{default:()=>mM});function EU(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(yv.has(r))return t[0+n];if(wv.has(r))return t[2+n]}var Sg,hs,Cg,tC,fs,mM,PU=y(()=>{Sg=Z(he(),1),Er(),ee(),qe(),We(),V(),O(),j(),jt(),D(),hs="hue-degree-notation",Cg=I(hs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},fs=e=>(t,r)=>{T(r,hs,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Sg.default)(Be(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!hw.has(a))return;let s=EU(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Sg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ie(n),h=()=>{s.value=p,It(n,i.toString())};P({message:Cg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:hs,fix:{apply:h,node:n}})})})},fs.ruleName=hs,fs.messages=Cg,fs.meta=tC,mM=fs});function hM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var fM=y(()=>{}),gM={};N(gM,{default:()=>bM});var gs,bs,yp,rC,Ag,vs,bM,OU=y(()=>{gs=Z(he(),1),ee(),V(),st(),O(),j(),fM(),D(),bs="import-notation",yp=I(bs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),rC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Ag=(e,t,r)=>()=>{let n=e.params.slice(r);hM(e,`${t}${n}`)},vs=e=>(t,r)=>{if(!T(r,bs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(xe.importName,n);function n(i){var l;let o=at(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=je(i),s=(0,gs.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:bs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=gs.default.stringify(u),b=gs.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Ag(i,g,c),x=yp.expected;P({...v,message:x,messageArgs:[h,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${gs.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Ag(i,h,c),f=yp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},vs.ruleName=bs,vs.messages=yp,vs.meta=rC,bM=vs}),vM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),IU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();if(!n[s])return;n=n[s]}return n}t.exports=e.default}),jU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),TU=Y((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),kh=Y(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(vM());e.unesc=t.default;var r=o(IU());e.getProp=r.default;var n=o(jU());e.ensureObject=n.default;var i=o(TU());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=kh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),vt=Y(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),yk=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(vt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=l(h))||b&&h&&typeof h.length=="number"){g&&(h=g);var f=0;return function(){return f>=h.length?{done:!0}:{done:!1,value:h[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=h[g];return f}function c(h,b){for(var g=0;g<b.length;g++){var f=b[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function d(h,b,g){return b&&c(h.prototype,b),g&&c(h,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},m(h,b)}var v=(function(h){p(b,h);function b(f){var x;return x=h.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=b.prototype;return g.append=function(f){return f.parent=this,this.nodes.push(f),this},g.prepend=function(f){f.parent=this,this.nodes.unshift(f);for(var x in this.indexes)this.indexes[x]++;return this},g.at=function(f){return this.nodes[f]},g.index=function(f){return typeof f=="number"?f:this.nodes.indexOf(f)},g.removeChild=function(f){f=this.index(f),this.at(f).parent=void 0,this.nodes.splice(f,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=f&&(this.indexes[w]=x-1);return this},g.removeAll=function(){for(var f=s(this.nodes),x;!(x=f()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],z=2;z<arguments.length;z++)S.push(arguments[z]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var A;for(var L in this.indexes)A=this.indexes[L],k<A&&(this.indexes[L]=A+arguments.length-1);return this},g.insertBefore=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],z=2;z<arguments.length;z++)S.push(arguments[z]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var A;for(var L in this.indexes)A=this.indexes[L],A>=k&&(this.indexes[L]=A+arguments.length-1);return this},g._findChildAtPosition=function(f,x){var w=void 0;return this.each(function(k){if(k.atPosition){var S=k.atPosition(f,x);if(S)return w=S,!1}else if(k.isAtPosition(f,x))return w=k,!1}),w},g.atPosition=function(f,x){if(this.isAtPosition(f,x))return this._findChildAtPosition(f,x)||this},g._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},g.each=function(f){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var w,k;this.indexes[x]<this.length&&(w=this.indexes[x],k=f(this.at(w),w),k!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],k===!1)return!1}},g.walk=function(f){return this.each(function(x,w){var k=f(x,w);if(k!==!1&&x.length&&(k=x.walk(f)),k===!1)return!1})},g.walkAttributes=function(f){var x=this;return this.walk(function(w){if(w.type===n.ATTRIBUTE)return f.call(x,w)})},g.walkClasses=function(f){var x=this;return this.walk(function(w){if(w.type===n.CLASS)return f.call(x,w)})},g.walkCombinators=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMBINATOR)return f.call(x,w)})},g.walkComments=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMMENT)return f.call(x,w)})},g.walkIds=function(f){var x=this;return this.walk(function(w){if(w.type===n.ID)return f.call(x,w)})},g.walkNesting=function(f){var x=this;return this.walk(function(w){if(w.type===n.NESTING)return f.call(x,w)})},g.walkPseudos=function(f){var x=this;return this.walk(function(w){if(w.type===n.PSEUDO)return f.call(x,w)})},g.walkTags=function(f){var x=this;return this.walk(function(w){if(w.type===n.TAG)return f.call(x,w)})},g.walkUniversals=function(f){var x=this;return this.walk(function(w){if(w.type===n.UNIVERSAL)return f.call(x,w)})},g.split=function(f){var x=this,w=[];return this.reduce(function(k,S,z){var A=f.call(x,S);return w.push(S),A?(k.push(w),w=[]):z===x.length-1&&k.push(w),k},[])},g.map=function(f){return this.nodes.map(f)},g.reduce=function(f,x){return this.nodes.reduce(f,x)},g.every=function(f){return this.nodes.every(f)},g.some=function(f){return this.nodes.some(f)},g.filter=function(f){return this.nodes.filter(f)},g.sort=function(f){return this.nodes.sort(f)},g.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),yM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),wM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),wk=Y((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,g=c.length;b<g;){var f=c.charAt(b++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<g){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(f)?w="\\"+f:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?w="\\"+x.toString(16).toUpperCase()+" ":f=="\\"||!m&&(f=='"'&&p==f||f=="'"&&p==f)||m&&a.test(f)?w="\\"+f:w=f;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,z,A){return z&&z.length%2?S:(z||"")+A}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),kM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(wk()),n=kh(),i=a(nn()),o=vt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),xM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),SM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),kk=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(wk()),n=kh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),CM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(kk()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),AM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),NM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),DU=Y((e,t)=>{"use strict";t.exports=()=>()=>{}}),zM=Y(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(wk()),r=a(vM()),n=a(kk()),i=vt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var z=0;z<S.length;z++){var A=S[z];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function l(k,S,z){return S&&s(k.prototype,S),z&&s(k,z),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,A){return z.__proto__=A,z},c(k,S)}var d=DU(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,z=null,A=k,L=A.match(p);return L&&(z=L[1],A=L[2]),A=(0,r.default)(A),A!==k&&(S=!0),{deprecatedUsage:S,unescaped:A,quoteMark:z}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),z=S.quoteMark,A=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=A,k.quoteMark=z,k}var f=(function(k){u(S,k);function S(A){var L;return A===void 0&&(A={}),L=k.call(this,g(A))||this,L.type=i.ATTRIBUTE,L.raws=L.raws||{},Object.defineProperty(L.raws,"unquoted",{get:d(function(){return L.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return L.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),L._constructed=!0,L}var z=S.prototype;return z._syncRawValue=function(){var A=(0,t.default)(this._value,x[this.quoteMark]);A===this._value?this.raws&&delete this.raws.value:this.raws.value=A},z._handleEscapes=function(A,L){if(this._constructed){var E=(0,t.default)(L,{isIdentifier:!0});E!==L?this.raws[A]=E:delete this.raws[A]}},z._spacesFor=function(A){var L={before:"",after:""},E=this.spaces[A]||{},B=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(L,E,B)},z._stringFor=function(A,L,E){L===void 0&&(L=A),E===void 0&&(E=w);var B=this._spacesFor(L);return E(this.stringifyProperty(A),B)},z.offsetOf=function(A){var L=1,E=this._spacesFor("attribute");if(L+=E.before.length,A==="namespace"||A==="ns")return this.namespace?L:-1;if(A==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),A==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=E.after.length;var B=this._spacesFor("operator");L+=B.before.length;var te=this.stringifyProperty("operator");if(A==="operator")return te?L:-1;L+=te.length,L+=B.after.length;var re=this._spacesFor("value");L+=re.before.length;var we=this.stringifyProperty("value");if(A==="value")return we?L:-1;L+=we.length,L+=re.after.length;var pe=this._spacesFor("insensitive");return L+=pe.before.length,A==="insensitive"&&this.insensitive?L:-1},z.toString=function(){var A=this,L=[this.rawSpaceBefore,"["];return L.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(L.push(this._stringFor("operator")),L.push(this._stringFor("value")),L.push(this._stringFor("insensitiveFlag","insensitive",function(E,B){return E.length>0&&!A.quoted&&B.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(B.before=" "),w(E,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(A){if(!this._constructed){this._quoteMark=A;return}this._quoteMark!==A&&(this._quoteMark=A,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(A){if(this._constructed){var L=b(A),E=L.deprecatedUsage,B=L.unescaped,te=L.quoteMark;if(E&&m(),B===this._value&&te===this._quoteMark)return;this._value=B,this._quoteMark=te,this._syncRawValue()}else this._value=A}},{key:"insensitive",get:function(){return this._insensitive},set:function(A){A||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=A}},{key:"attribute",get:function(){return this._attribute},set:function(A){this._handleEscapes("attribute",A),this._attribute=A}}]),S})(n.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),EM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(kk()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),PM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),OM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),LU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),IM=Y(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var g=62;e.greaterThan=g;var f=32;e.space=f;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var z=92;e.backslash=z;var A=13;e.cr=A;var L=12;e.feed=L;var E=10;e.newline=E;var B=9;e.tab=B;var te=x;e.str=te;var re=-1;e.comment=re;var we=-2;e.word=we;var pe=-3;e.combinator=pe}),FU=Y(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(IM()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var g=b,f;do{if(f=h.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(h,g)+1:g++}while(g<h.length);return g-1}function p(h,b){var g=b,f=h.charCodeAt(g+1);if(!a[f])if(l[f]){var x=0;do g++,x++,f=h.charCodeAt(g+1);while(l[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],g=h.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,z=0,A,L,E,B,te,re,we,pe,ae,$e,_e,Ct,Ue;function G(K,M){if(h.safe)g+=M,ae=g.length-1;else throw h.error("Unclosed "+K,k,S-w,S)}for(;S<x;){switch(A=g.charCodeAt(S),A===t.newline&&(w=S,k+=1),A){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:ae=S;do ae+=1,A=g.charCodeAt(ae),A===t.newline&&(w=ae,k+=1);while(A===t.space||A===t.newline||A===t.tab||A===t.cr||A===t.feed);Ue=t.space,B=k,E=ae-w-1,z=ae;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:ae=S;do ae+=1,A=g.charCodeAt(ae);while(A===t.plus||A===t.greaterThan||A===t.tilde||A===t.pipe);Ue=t.combinator,B=k,E=S-w,z=ae;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:ae=S,Ue=A,B=k,E=S-w,z=ae+1;break;case t.singleQuote:case t.doubleQuote:Ct=A===t.singleQuote?"'":'"',ae=S;do for(te=!1,ae=g.indexOf(Ct,ae+1),ae===-1&&G("quote",Ct),re=ae;g.charCodeAt(re-1)===t.backslash;)re-=1,te=!te;while(te);Ue=t.str,B=k,E=S-w,z=ae+1;break;default:A===t.slash&&g.charCodeAt(S+1)===t.asterisk?(ae=g.indexOf("*/",S+2)+1,ae===0&&G("comment","*/"),L=g.slice(S,ae+1),pe=L.split(`
|
|
36
|
-
`),we=pe.length-1,we>0?($e=k+we,_e=ae-pe[we].length):($e=k,_e=w),Ue=t.comment,k=$e,B=$e,E=ae-_e):A===t.slash?(ae=S,Ue=A,B=k,E=S-w,z=ae+1):(ae=d(g,S),Ue=t.word,B=k,E=ae-w),z=ae+1;break}b.push([Ue,k,S-w,B,E,S,z]),_e&&(w=_e,_e=null),S=z}return b}}),MU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=z(yM()),n=z(wM()),i=z(kM()),o=z(xM()),a=z(SM()),s=z(CM()),l=z(AM()),u=z(NM()),c=S(zM()),d=z(EM()),p=z(PM()),m=z(OM()),v=z(LU()),h=S(FU()),b=S(IM()),g=S(vt()),f=kh(),x,w;function k(G){if(typeof WeakMap!="function")return null;var K=new WeakMap,M=new WeakMap;return(k=function(W){return W?M:K})(G)}function S(G,K){if(!K&&G&&G.__esModule)return G;if(G===null||typeof G!="object"&&typeof G!="function")return{default:G};var M=k(K);if(M&&M.has(G))return M.get(G);var W={},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in G)if(F!=="default"&&Object.prototype.hasOwnProperty.call(G,F)){var X=J?Object.getOwnPropertyDescriptor(G,F):null;X&&(X.get||X.set)?Object.defineProperty(W,F,X):W[F]=G[F]}return W.default=G,M&&M.set(G,W),W}function z(G){return G&&G.__esModule?G:{default:G}}function A(G,K){for(var M=0;M<K.length;M++){var W=K[M];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,W.key,W)}}function L(G,K,M){return K&&A(G.prototype,K),M&&A(G,M),Object.defineProperty(G,"prototype",{writable:!1}),G}var E=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},E,(w={},w[b.comment]=!0,w));function te(G){return{line:G[h.FIELDS.START_LINE],column:G[h.FIELDS.START_COL]}}function re(G){return{line:G[h.FIELDS.END_LINE],column:G[h.FIELDS.END_COL]}}function we(G,K,M,W){return{start:{line:G,column:K},end:{line:M,column:W}}}function pe(G){return we(G[h.FIELDS.START_LINE],G[h.FIELDS.START_COL],G[h.FIELDS.END_LINE],G[h.FIELDS.END_COL])}function ae(G,K){if(G)return we(G[h.FIELDS.START_LINE],G[h.FIELDS.START_COL],K[h.FIELDS.END_LINE],K[h.FIELDS.END_COL])}function $e(G,K){var M=G[K];if(typeof M=="string")return M.indexOf("\\")!==-1&&((0,f.ensureObject)(G,"raws"),G[K]=(0,f.unesc)(M),G.raws[K]===void 0&&(G.raws[K]=M)),G}function _e(G,K){for(var M=-1,W=[];(M=G.indexOf(K,M+1))!==-1;)W.push(M);return W}function Ct(){var G=Array.prototype.concat.apply([],arguments);return G.filter(function(K,M){return M===G.indexOf(K)})}var Ue=(function(){function G(M,W){W===void 0&&(W={}),this.rule=M,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var J=ae(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:J}),this.root.errorGenerator=this._errorGenerator();var F=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(F),this.current=F,this.loop()}var K=G.prototype;return K._errorGenerator=function(){var M=this;return function(W,J){return typeof M.rule=="string"?new Error(W):M.rule.error(W,J)}},K.attribute=function(){var M=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)M.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var J=M.length,F={source:we(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(J===1&&!~[b.word].indexOf(M[0][h.FIELDS.TYPE]))return this.expected("attribute",M[0][h.FIELDS.START_POS]);for(var X=0,me="",ve="",oe=null,Fe=!1;X<J;){var nt=M[X],be=this.content(nt),Ve=M[X+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Fe=!0,this.options.lossy)break;if(oe){(0,f.ensureObject)(F,"spaces",oe);var Tr=F.spaces[oe].after||"";F.spaces[oe].after=Tr+be;var mr=(0,f.getProp)(F,"raws","spaces",oe,"after")||null;mr&&(F.raws.spaces[oe].after=mr+be)}else me=me+be,ve=ve+be;break;case b.asterisk:if(Ve[h.FIELDS.TYPE]===b.equals)F.operator=be,oe="operator";else if((!F.namespace||oe==="namespace"&&!Fe)&&Ve){me&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=me,ve=""),F.namespace=(F.namespace||"")+be;var Dt=(0,f.getProp)(F,"raws","namespace")||null;Dt&&(F.raws.namespace+=be),oe="namespace"}Fe=!1;break;case b.dollar:if(oe==="value"){var mt=(0,f.getProp)(F,"raws","value");F.value+="$",mt&&(F.raws.value=mt+"$");break}case b.caret:Ve[h.FIELDS.TYPE]===b.equals&&(F.operator=be,oe="operator"),Fe=!1;break;case b.combinator:if(be==="~"&&Ve[h.FIELDS.TYPE]===b.equals&&(F.operator=be,oe="operator"),be!=="|"){Fe=!1;break}Ve[h.FIELDS.TYPE]===b.equals?(F.operator=be,oe="operator"):!F.namespace&&!F.attribute&&(F.namespace=!0),Fe=!1;break;case b.word:if(Ve&&this.content(Ve)==="|"&&M[X+2]&&M[X+2][h.FIELDS.TYPE]!==b.equals&&!F.operator&&!F.namespace)F.namespace=be,oe="namespace";else if(!F.attribute||oe==="attribute"&&!Fe){me&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ve,ve=""),F.attribute=(F.attribute||"")+be;var Xt=(0,f.getProp)(F,"raws","attribute")||null;Xt&&(F.raws.attribute+=be),oe="attribute"}else if(!F.value&&F.value!==""||oe==="value"&&!(Fe||F.quoteMark)){var Zt=(0,f.unesc)(be),qr=(0,f.getProp)(F,"raws","value")||"",Nd=F.value||"";F.value=Nd+Zt,F.quoteMark=null,(Zt!==be||qr)&&((0,f.ensureObject)(F,"raws"),F.raws.value=(qr||Nd)+be),oe="value"}else{var zd=be==="i"||be==="I";(F.value||F.value==="")&&(F.quoteMark||Fe)?(F.insensitive=zd,(!zd||be==="I")&&((0,f.ensureObject)(F,"raws"),F.raws.insensitiveFlag=be),oe="insensitive",me&&((0,f.ensureObject)(F,"spaces","insensitive"),F.spaces.insensitive.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","insensitive"),F.raws.spaces.insensitive.before=ve,ve="")):(F.value||F.value==="")&&(oe="value",F.value+=be,F.raws.value&&(F.raws.value+=be))}Fe=!1;break;case b.str:if(!F.attribute||!F.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var no=(0,c.unescapeValue)(be),Z5=no.unescaped,e6=no.quoteMark;F.value=Z5,F.quoteMark=e6,oe="value",(0,f.ensureObject)(F,"raws"),F.raws.value=be,Fe=!1;break;case b.equals:if(!F.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],be);if(F.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});F.operator=F.operator?F.operator+be:be,oe="operator",Fe=!1;break;case b.comment:if(oe)if(Fe||Ve&&Ve[h.FIELDS.TYPE]===b.space||oe==="insensitive"){var t6=(0,f.getProp)(F,"spaces",oe,"after")||"",r6=(0,f.getProp)(F,"raws","spaces",oe,"after")||t6;(0,f.ensureObject)(F,"raws","spaces",oe),F.raws.spaces[oe].after=r6+be}else{var n6=F[oe]||"",i6=(0,f.getProp)(F,"raws",oe)||n6;(0,f.ensureObject)(F,"raws"),F.raws[oe]=i6+be}else ve=ve+be;break;default:return this.error('Unexpected "'+be+'" found.',{index:nt[h.FIELDS.START_POS]})}X++}$e(F,"attribute"),$e(F,"namespace"),this.newNode(new c.default(F)),this.position++},K.parseWhitespaceEquivalentTokens=function(M){M<0&&(M=this.tokens.length);var W=this.position,J=[],F="",X=void 0;do if(E[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(F+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var me={};F&&(me.before=F,F=""),X=new o.default({value:this.content(),source:pe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:me}),J.push(X)}while(++this.position<M);if(F){if(X)X.spaces.after=F;else if(!this.options.lossy){var ve=this.tokens[W],oe=this.tokens[this.position-1];J.push(new l.default({value:"",source:we(ve[h.FIELDS.START_LINE],ve[h.FIELDS.START_COL],oe[h.FIELDS.END_LINE],oe[h.FIELDS.END_COL]),sourceIndex:ve[h.FIELDS.START_POS],spaces:{before:F,after:""}}))}}return J},K.convertWhitespaceNodesToSpace=function(M,W){var J=this;W===void 0&&(W=!1);var F="",X="";M.forEach(function(ve){var oe=J.lossySpace(ve.spaces.before,W),Fe=J.lossySpace(ve.rawSpaceBefore,W);F+=oe+J.lossySpace(ve.spaces.after,W&&oe.length===0),X+=oe+ve.value+J.lossySpace(ve.rawSpaceAfter,W&&Fe.length===0)}),X===F&&(X=void 0);var me={space:F,rawSpace:X};return me},K.isNamedCombinator=function(M){return M===void 0&&(M=this.position),this.tokens[M+0]&&this.tokens[M+0][h.FIELDS.TYPE]===b.slash&&this.tokens[M+1]&&this.tokens[M+1][h.FIELDS.TYPE]===b.word&&this.tokens[M+2]&&this.tokens[M+2][h.FIELDS.TYPE]===b.slash},K.namedCombinator=function(){if(this.isNamedCombinator()){var M=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(M).toLowerCase(),J={};W!==M&&(J.value="/"+M+"/");var F=new p.default({value:"/"+W+"/",source:we(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:J});return this.position=this.position+3,F}else this.unexpected()},K.combinator=function(){var M=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var J=this.parseWhitespaceEquivalentTokens(W);if(J.length>0){var F=this.current.last;if(F){var X=this.convertWhitespaceNodesToSpace(J),me=X.space,ve=X.rawSpace;ve!==void 0&&(F.rawSpaceAfter+=ve),F.spaces.after+=me}else J.forEach(function(qr){return M.newNode(qr)})}return}var oe=this.currToken,Fe=void 0;W>this.position&&(Fe=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:pe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):E[this.currToken[h.FIELDS.TYPE]]||Fe||this.unexpected(),nt){if(Fe){var be=this.convertWhitespaceNodesToSpace(Fe),Ve=be.space,Tr=be.rawSpace;nt.spaces.before=Ve,nt.rawSpaceBefore=Tr}}else{var mr=this.convertWhitespaceNodesToSpace(Fe,!0),Dt=mr.space,mt=mr.rawSpace;mt||(mt=Dt);var Xt={},Zt={spaces:{}};Dt.endsWith(" ")&&mt.endsWith(" ")?(Xt.before=Dt.slice(0,Dt.length-1),Zt.spaces.before=mt.slice(0,mt.length-1)):Dt[0]===" "&&mt[0]===" "?(Xt.after=Dt.slice(1),Zt.spaces.after=mt.slice(1)):Zt.value=mt,nt=new p.default({value:" ",source:ae(oe,this.tokens[this.position-1]),sourceIndex:oe[h.FIELDS.START_POS],spaces:Xt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},K.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var M=new n.default({source:{start:te(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(M),this.current=M,this.position++},K.comment=function(){var M=this.currToken;this.newNode(new o.default({value:this.content(),source:pe(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},K.error=function(M,W){throw this.root.error(M,W)},K.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},K.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},K.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},K.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},K.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},K.namespace=function(){var M=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(M);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(M);this.unexpectedPipe()},K.nesting=function(){if(this.nextToken){var M=this.content(this.nextToken);if(M==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:pe(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},K.parentheses=function(){var M=this.current.last,W=1;if(this.position++,M&&M.type===g.PSEUDO){var J=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),F=this.current;for(M.append(J),this.current=J;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=re(this.currToken),this.current.parent.source.end=re(this.currToken),this.position++);this.current=F}else{for(var X=this.currToken,me="(",ve;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,ve=this.currToken,me+=this.parseParenthesisToken(this.currToken),this.position++;M?M.appendToPropertyAndEscape("value",me,me):this.newNode(new l.default({value:me,source:we(X[h.FIELDS.START_LINE],X[h.FIELDS.START_COL],ve[h.FIELDS.END_LINE],ve[h.FIELDS.END_COL]),sourceIndex:X[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},K.pseudo=function(){for(var M=this,W="",J=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(F,X){W+=F,M.newNode(new u.default({value:W,source:ae(J,M.currToken),sourceIndex:J[h.FIELDS.START_POS]})),X>1&&M.nextToken&&M.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&M.error("Misplaced parenthesis.",{index:M.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},K.space=function(){var M=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(M),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(M),this.position++):this.combinator()},K.string=function(){var M=this.currToken;this.newNode(new l.default({value:this.content(),source:pe(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},K.universal=function(M){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var J=this.currToken;this.newNode(new d.default({value:this.content(),source:pe(J),sourceIndex:J[h.FIELDS.START_POS]}),M),this.position++},K.splitWord=function(M,W){for(var J=this,F=this.nextToken,X=this.content();F&&~[b.dollar,b.caret,b.equals,b.word].indexOf(F[h.FIELDS.TYPE]);){this.position++;var me=this.content();if(X+=me,me.lastIndexOf("\\")===me.length-1){var ve=this.nextToken;ve&&ve[h.FIELDS.TYPE]===b.space&&(X+=this.requiredSpace(this.content(ve)),this.position++)}F=this.nextToken}var oe=_e(X,".").filter(function(Ve){var Tr=X[Ve-1]==="\\",mr=/^\d+\.\d+%$/.test(X);return!Tr&&!mr}),Fe=_e(X,"#").filter(function(Ve){return X[Ve-1]!=="\\"}),nt=_e(X,"#{");nt.length&&(Fe=Fe.filter(function(Ve){return!~nt.indexOf(Ve)}));var be=(0,v.default)(Ct([0].concat(oe,Fe)));be.forEach(function(Ve,Tr){var mr=be[Tr+1]||X.length,Dt=X.slice(Ve,mr);if(Tr===0&&W)return W.call(J,Dt,be.length);var mt,Xt=J.currToken,Zt=Xt[h.FIELDS.START_POS]+be[Tr],qr=we(Xt[1],Xt[2]+Ve,Xt[3],Xt[2]+(mr-1));if(~oe.indexOf(Ve)){var Nd={value:Dt.slice(1),source:qr,sourceIndex:Zt};mt=new i.default($e(Nd,"value"))}else if(~Fe.indexOf(Ve)){var zd={value:Dt.slice(1),source:qr,sourceIndex:Zt};mt=new a.default($e(zd,"value"))}else{var no={value:Dt,source:qr,sourceIndex:Zt};$e(no,"value"),mt=new s.default(no)}J.newNode(mt,M),M=null}),this.position++},K.word=function(M){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(M)},K.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},K.parse=function(M){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:M&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},K.expected=function(M,W,J){if(Array.isArray(M)){var F=M.pop();M=M.join(", ")+" or "+F}var X=/^[aeiou]/.test(M[0])?"an":"a";return J?this.error("Expected "+X+" "+M+', found "'+J+'" instead.',{index:W}):this.error("Expected "+X+" "+M+".",{index:W})},K.requiredSpace=function(M){return this.options.lossy?" ":M},K.optionalSpace=function(M){return this.options.lossy?"":M},K.lossySpace=function(M,W){return this.options.lossy?W?" ":"":M},K.parseParenthesisToken=function(M){var W=this.content(M);return M[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},K.newNode=function(M,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),M.namespace=W,$e(M,"namespace")),this.spaces&&(M.spaces.before=this.spaces,this.spaces=""),this.current.append(M)},K.content=function(M){return M===void 0&&(M=this.currToken),this.css.slice(M[h.FIELDS.START_POS],M[h.FIELDS.END_POS])},K.locateNextMeaningfulToken=function(M){M===void 0&&(M=this.position+1);for(var W=M;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},L(G,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),G})();e.default=Ue,t.exports=e.default}),RU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(MU());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,l){this.func=s||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var l=Object.assign({},this.options,s);return l.lossless===!1},a._root=function(s,l){l===void 0&&(l={});var u=new r.default(s,this._parseOptions(l));return u.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,l){l===void 0&&(l={});var u=this._root(s,l),c=this.func(u);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return l.updateSelector&&typeof s!="string"&&(d=u.toString(),s.selector=d),{transform:c,root:u,string:d}},a.astSync=function(s,l){return this._runSync(s,l).root},a.processSync=function(s,l){var u=this._runSync(s,l);return u.string||u.root.toString()},o})();e.default=i,t.exports=e.default}),$U=Y(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(zM()),r=m(kM()),n=m(PM()),i=m(xM()),o=m(SM()),a=m(OM()),s=m(NM()),l=m(yM()),u=m(wM()),c=m(AM()),d=m(CM()),p=m(EM());function m(E){return E&&E.__esModule?E:{default:E}}var v=function(E){return new t.default(E)};e.attribute=v;var h=function(E){return new r.default(E)};e.className=h;var b=function(E){return new n.default(E)};e.combinator=b;var g=function(E){return new i.default(E)};e.comment=g;var f=function(E){return new o.default(E)};e.id=f;var x=function(E){return new a.default(E)};e.nesting=x;var w=function(E){return new s.default(E)};e.pseudo=w;var k=function(E){return new l.default(E)};e.root=k;var S=function(E){return new u.default(E)};e.selector=S;var z=function(E){return new c.default(E)};e.string=z;var A=function(E){return new d.default(E)};e.tag=A;var L=function(E){return new p.default(E)};e.universal=L}),BU=Y(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=f,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=vt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,z){return i(z)&&z.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var g=o.bind(null,t.UNIVERSAL);e.isUniversal=g;function f(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!f(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),qU=Y(e=>{"use strict";e.__esModule=!0;var t=vt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=$U();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=BU();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),lt=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(RU()),n=o(qU());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function ot(e){var l,u;let t=e.nodes.findIndex(c=>!Ny(c)),r=e.nodes.findLastIndex(c=>!Ny(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var nC,Ny,St=y(()=>{nC=Z(lt(),1),{isComment:Ny}=nC.default});function Se(e,t,r){if(e)try{return(0,jM.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var jM,Ae=y(()=>{jM=Z(lt(),1)}),TM={};N(TM,{default:()=>DM});var ys,Ng,iC,ws,DM,WU=y(()=>{V(),ye(),St(),de(),Ae(),O(),j(),D(),ys="keyframe-block-no-duplicate-selectors",Ng=I(ys,{rejected:e=>`Duplicate keyframe selector "${e}"`}),iC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},ws=e=>(t,r)=>{T(r,ys,{actual:e})&&t.walkAtRules(xe.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=Se(ge(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=ot(s),d=l.toLowerCase();if(i.has(d)){P({message:Ng.rejected,messageArgs:[l],node:o,result:r,ruleName:ys,index:u,endIndex:c});return}i.add(d)}))})})},ws.ruleName=ys,ws.messages=Ng,ws.meta=iC,DM=ws}),LM={};N(LM,{default:()=>FM});var ks,zg,oC,xs,FM,_U=y(()=>{q(),V(),zL(),O(),j(),D(),ks="keyframe-declaration-no-important",zg=I(ks,{rejected:"Disallowed !important"}),oC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},xs=e=>(t,r)=>{T(r,ks,{actual:e})&&t.walkAtRules(xe.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=NL(i.toString());Ge(o),P({message:zg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:ks})})})},xs.ruleName=ks,xs.messages=zg,xs.meta=oC,FM=xs}),MM={};N(MM,{default:()=>RM});function UU(e){let t=e.nodes.filter(i=>!(Wp.default.isComment(i)||Wp.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(Wp.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!ji.has(n)&&!Pc.has(n)))return[r,n]}function Eg(e,t){let r=e.get(t);return Vi(r),r}function VU(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var Wp,Ss,Pg,aC,sC,Og,Cs,RM,QU=y(()=>{q(),Je(),V(),ye(),Ae(),Wp=Z(lt(),1),Wt(),O(),j(),D(),Ss="keyframe-selector-notation",Pg=I(Ss,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),aC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},sC=new Map([["0%","from"],["100%","to"]]),Og=new Map([["from","0%"],["to","100%"]]),Cs=e=>(t,r)=>{if(!T(r,Ss,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>ji.has(s),fixFunc:s=>Eg(sC,s)},percentage:{expFunc:s=>Pc.has(s),fixFunc:s=>Eg(Og,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>ji.has(u))?!0:Pc.has(s),fixFunc:s=>Eg(Og,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(xe.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?VU(s):[];s.walkRules(a,u=>{let c=ge(u),d=Se(c,r,u);d&&d.each(p=>{let m=UU(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),g=()=>{v.value=b,u.selector=d.toString()};P({message:Pg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Ss,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Cs.ruleName=Ss,Cs.messages=Pg,Cs.meta=aC,RM=Cs});function GU(e){return!Fm(e)}var YU=y(()=>{Mm()}),$M={};N($M,{default:()=>BM});var As,Ig,lC,Ns,BM,KU=y(()=>{q(),ee(),V(),YU(),O(),j(),D(),As="keyframes-name-pattern",Ig=I(As,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),lC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ns=e=>(t,r)=>{if(!T(r,As,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.keyframesName,i=>{let o=i.params;if(!GU(o)||n.test(o))return;let a=je(i),s=a+o.length;P({index:a,endIndex:s,message:Ig.expected,messageArgs:[o,e],node:i,ruleName:As,result:r})})},Ns.ruleName=As,Ns.messages=Ig,Ns.meta=lC,BM=Ns}),qM={};N(qM,{default:()=>WM});var jg,zs,Tg,uC,Es,WM,HU=y(()=>{jg=Z(he(),1),V(),q(),ee(),O(),j(),D(),zs="layer-name-pattern",Tg=I(zs,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),uC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Es=e=>(t,r)=>{if(!T(r,zs,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.layerName,o=>{let{params:a}=o;a&&(0,jg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(xe.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,jg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=je(l)+s,c=u+a.length;P({message:Tg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:zs,result:r})}},Es.ruleName=zs,Es.messages=Tg,Es.meta=uC,WM=Es});function JU(e){return e.type==="function"&&Ki.has(e.value.toLowerCase())}var XU=y(()=>{Er()}),_M={};N(_M,{default:()=>UM});function ZU({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function eV(e){return e.toLowerCase()==="line-height"}function tV(e){return e.toLowerCase()==="flex"}function rV(e){return Ti.has(e.toLowerCase())}function nV(e){return e.toLowerCase()==="fr"}function iV(e){return Number.parseFloat(e)===0}function oV(e){return e===""}var wp,Ps,Dg,cC,Os,UM,aV=y(()=>{wp=Z(he(),1),ee(),fe(),q(),st(),qe(),dr(),XU(),et(),bt(),Xc(),V(),H(),O(),j(),fM(),jt(),D(),Ps="length-zero-no-unit",Dg=I(Ps,{rejected:"Disallowed unit"}),cC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Os=(e,t)=>(r,n)=>{if(!T(n,Ps,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,U],ignorePreludeOfAtRules:[$,U]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(JU(u)||An(u)&&R(t,"ignoreFunctions",d))return!1;if(!Jc(u))return;let m=wp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!iV(v)||oV(h)||!rV(h)||nV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":hM(s,c.toString());break;case"decl":It(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Dg.rejected,messageArgs:[],node:s,result:n,ruleName:Ps,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||R(t,"ignorePreludeOfAtRules",s.name))return;let l=je(s),u=(0,wp.default)(at(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!gt(s)||eV(l)||tV(l)||R(t,"ignore","custom-properties")&&ft(l))return;let c=ie(s),d=(0,wp.default)(Be(s));d.walk((p,m,v)=>{if(!ZU(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Os.ruleName=Ps,Os.messages=Dg,Os.meta=cC,UM=Os}),VM={};N(VM,{default:()=>GM});function sV(e,t){let r=Number.parseFloat(e);return kv.has(t)?`${r}%`:(em.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${QM(r,e)}%`)}function lV(e,t){let r=Number.parseFloat(e);return em.has(t)?(r/=100,`${QM(r,e)}`):`${r}`}function QM(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function uV({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Lg,Is,Fg,dC,js,GM,cV=y(()=>{Lg=Z(he(),1),Er(),ee(),qe(),We(),V(),O(),j(),jt(),D(),Is="lightness-notation",Fg=I(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),dC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},js=e=>(t,r)=>{T(r,Is,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Lg.default)(Be(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!fw.has(a))return;let s=uV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Lg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?sV(l,a):lV(l,a),m=ie(n),v=()=>{s.value=p,It(n,i.toString())};P({message:Fg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Is,fix:{apply:v,node:n}})})})},js.ruleName=Is,js.messages=Fg,js.meta=dC,GM=js}),YM={};N(YM,{default:()=>KM});function pC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var mC,Ts,Mg,hC,Ds,KM,dV=y(()=>{mC=Z(lt(),1),fe(),q(),Bm(),de(),H(),O(),j(),D(),Ts="max-nesting-depth",Mg=I(Ts,{expected:e=>`Too deep nesting, maximum ${e}`}),hC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Ds=(e,t)=>{let r=o=>Ie(o)&&R(t,"ignoreAtRules",o.name),n=o=>ut(o)&&R(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,Ts,{actual:e,possible:[xr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,U],ignoreRules:[$,U],ignorePseudoClasses:[$,U]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Dc(l)||ut(l)&&!ce(l)||i(l,0)>e&&P({ruleName:Ts,result:a,node:l,message:Mg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Ie(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,mC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!R(t,"ignoreRules",d)).every(d=>pC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&R(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=pC(d);return p?R(t,"ignorePseudoClasses",p):!1}):!1}return R(t,"ignore","blockless-at-rules")&&Ie(o)&&o.every(c=>!Qi(c))||R(t,"ignore","pseudo-classes")&&ut(o)&&l(o.selector)||ut(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},Ds.ruleName=Ts,Ds.messages=Mg,Ds.meta=hC,KM=Ds});function HM(e){return!!(le(e)&&Ne(e.value)||Ke(e)&&u3.has(e.getName().toLowerCase()))}function pV(e){return le(e)&&Ee(e.value)}function wd(e){return le(e)&&Qe(e.value)}function mV(e){return Ke(e)&&e.getName().toLowerCase()==="env"}function wc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(!wd(n)||t!==-1)return!1;t=r}}return t!==-1&&new Ck(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function hV(e){let t=wc(e);return t===!1?t:new Ak(t)}function dc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Oe.Whitespace&&o.type!==Oe.Comment){if(r!==-1)return!1;if(HM(o)){let a=JM(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(mV(o))r=i,n=i;else if(pV(o))r=i,n=i;else{if(t||!wd(o))return!1;r=i,n=i}}}return r!==-1&&new Nk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function JM(e){let t=-1,r=-1,n=fV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!Et(o))return-1}return[t,r]}function fV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!Et(i)){if(le(i)){let o=i.value;if(Bt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!HM(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function gV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Oe.Token){let l=s.value;if(VL(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=wc(t);if(i===!1)return!1;let o=dc(r);return o!==!1&&new zk(i,n,o)}function bV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Oe.Token){let i=n.value;if(Bt(i)){if(i[4].value===Hr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function ki(e){if(e.length!==1&&e.length!==2||!Bt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Hr.EQ:return Hr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!Bt(e[1])||e[1][4].value!==Hr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function vV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Oe.Token){let m=p.value;if(Bt(m)){let v=bV(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=wc(d);if(m){let h=dc(p,!0);return!!h&&new Sh(m,n,h)}let v=wc(p);if(v){let h=dc(d,!0);return!!h&&new Ek(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=dc(o,!0),u=wc(a),c=dc(s,!0);if(!l||!u||!c)return!1;{let d=ki(n);if(d===!1||d===Hr.EQ)return!1;let p=ki(i);if(p===!1||p===Hr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new Pk(u,l,n,c,i)}function XM(e,t=[],r=[]){if(!to(e.startToken))return!1;let n=hV(e.value);if(n!==!1)return new kc(n,t,r);let i=gV(e.value);if(i!==!1)return new kc(i,t,r);let o=vV(e.value);return o!==!1&&new kc(o,t,r)}function fC(e){if(!Qe(e))return!1;switch(e[4].value.toLowerCase()){case Si.Not:return Si.Not;case Si.Only:return Si.Only;default:return!1}}function yV(e){{let t=xk(e);if(t!==!1)return new _p(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!Uc(l)&&!pk(l)){if(le(l)){let u=l.value;if(t===-1&&Qe(u)&&fC(u)){t=s;continue}if(r===-1&&Qe(u)&&!fC(u)){r=s;continue}if(n===-1&&Qe(u)&&Ok.test(u[4].value)){if(n=s,gC(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];t!==-1?(i=e.slice(0,t+1).flatMap(s=>s.tokens()),r!==-1&&(o=e.slice(t+1,r+1).flatMap(s=>s.tokens()))):r!==-1&&(o=e.slice(0,r+1).flatMap(s=>s.tokens()));let a=gC(e.slice(Math.max(t,r,n)+1));return a===!1?new Gc(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new Gc(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function wV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=kV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Oe.Whitespace&&a.type!==Oe.Comment){if(t||t!==!1||!jr(a)||(a.normalize(),t=kd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new l3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function ZM(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=xV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Oe.Whitespace&&a.type!==Oe.Comment){if(t||t!==!1||!jr(a)||(a.normalize(),t=kd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new s3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function xk(e){let t=t3(e);if(t!==!1)return new kr(t);let r=ZM(e);if(r!==!1)return new kr(r);let n=wV(e);if(n!==!1)return new kr(n);let i=e3(e);return i!==!1&&new kr(i)}function gC(e){let t=t3(e);if(t!==!1)return new kr(t);let r=ZM(e);if(r!==!1)return new kr(r);let n=e3(e);return n!==!1&&new kr(n)}function e3(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Oe.Whitespace&&l.type!==Oe.Comment){if(!jr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!to(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=XM(r,n,i);if(o!==!1)return new Kr(o);let a=xk(r.value);return a!==!1?new Kr(a,n,i):new Kr(new xh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function kd(e){if(!to(e.startToken))return!1;let t=XM(e,[e.startToken],[e.endToken]);if(t!==!1)return new Kr(t);let r=xk(e.value);return r!==!1?new Kr(r,[e.startToken],[e.endToken]):new Kr(new xh(e))}function t3(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Oe.Whitespace&&i.type!==Oe.Comment){if(wd(i)){let o=i.value;if(p3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&jr(i)){i.normalize();let o=kd(i);if(o===!1)return!1;r=new c3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function kV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(wd(n)){let i=n.value;if(m3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&jr(n)){n.normalize();let i=kd(n);return i!==!1&&{advance:r,node:new d3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function xV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(wd(n)){let i=n.value;if(Ok.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&jr(n)){n.normalize();let i=kd(n);return i!==!1&&{advance:r,node:new a3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function xd(e,t){let r=ZL(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=yV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Sk(r[i]):o}).filter(n=>!!n)}function SV(e,t){return xd(kt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function CV(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Nt(e[o])){if(Qe(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Nt(n[o])){if(Qe(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new zy(r,null,n):new zy(r,xd(g8(n),t))}function AV(e,t){return CV(kt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function r3(e){return xh.isGeneralEnclosed(e)}function NV(e){return Ak.isMediaFeatureBoolean(e)}function n3(e){return Nk.isMediaFeatureValue(e)}function xi(e){return zk.isMediaFeaturePlain(e)}function Im(e){return i3(e)||o3(e)||zV(e)}function i3(e){return Sh.isMediaFeatureRangeNameValue(e)}function o3(e){return Ek.isMediaFeatureRangeValueName(e)}function zV(e){return Pk.isMediaFeatureRangeValueNameValue(e)}function Pn(e){return kc.isMediaFeature(e)}function EV(e){return Gc.isMediaQueryWithType(e)}function On(e){return Sk.isMediaQueryInvalid(e)}var se,kr,Kr,Gc,_p,Sk,xh,a3,s3,l3,u3,Ck,Ak,Nk,zk,or,ar,Hr,Si,Sh,Ek,Pk,kc,c3,d3,p3,m3,Ok,zy,bC,Jt=y(()=>{xt(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(se||(se={})),kr=class Ey{constructor(t){_(this,"type",se.MediaCondition);_(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return Ey.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Ey&&t.type===se.MediaCondition}},Kr=class Py{constructor(t,r=[],n=[]){_(this,"type",se.MediaInParens);_(this,"media");_(this,"before");_(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Nt(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Py.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Py&&t.type===se.MediaInParens}},Gc=class fn{constructor(t,r,n,i){_(this,"type",se.MediaQueryWithType);_(this,"modifier");_(this,"mediaType");_(this,"and");_(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Qe(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]]),new _p(this.media)]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new _p(this.media).negateQuery()]:t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Qe(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return fn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof fn&&t.type===se.MediaQueryWithType}},_p=class Up{constructor(t){_(this,"type",se.MediaQueryWithoutType);_(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new Up(new kr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new kr(new Kr(t,[[C.Whitespace," ",-1,-1,void 0],[C.OpenParen,"(",-1,-1,void 0]],[[C.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[C.Whitespace," ",-1,-1,void 0])),[new Gc([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"all",-1,-1,{value:"all"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"and",-1,-1,{value:"and"}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return Up.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof Up&&t.type===se.MediaQueryWithoutType}},Sk=class Vp{constructor(t){_(this,"type",se.MediaQueryInvalid);_(this,"media");this.media=t}negateQuery(){return[new Vp(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=wi(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return Vp.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof Vp&&t.type===se.MediaQueryInvalid}},xh=class Oy{constructor(t){_(this,"type",se.GeneralEnclosed);_(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Nt(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Oy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Oy&&t.type===se.GeneralEnclosed}},a3=class Iy{constructor(t,r){_(this,"type",se.MediaAnd);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Nt(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Iy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Iy&&t.type===se.MediaAnd}},s3=class jy{constructor(t,r,n=[],i=[]){_(this,"type",se.MediaConditionListWithAnd);_(this,"leading");_(this,"list");_(this,"before");_(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Nt(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=wi(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return jy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof jy&&t.type===se.MediaConditionListWithAnd}},l3=class Ty{constructor(t,r,n=[],i=[]){_(this,"type",se.MediaConditionListWithOr);_(this,"leading");_(this,"list");_(this,"before");_(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Nt(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=wi(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Ty.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Ty&&t.type===se.MediaConditionListWithOr}},u3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),Ck=class Dy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeatureName);_(this,"name");_(this,"before");_(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Dy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Dy&&t.type===se.MediaFeatureName}},Ak=class Ly{constructor(t){_(this,"type",se.MediaFeatureBoolean);_(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Ly.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Ly&&t.type===se.MediaFeatureBoolean}},Nk=class Fy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeatureValue);_(this,"value");_(this,"before");_(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=wi(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Fy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Fy&&t.type===se.MediaFeatureValue}},zk=class My{constructor(t,r,n){_(this,"type",se.MediaFeaturePlain);_(this,"name");_(this,"colon");_(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return My.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof My&&t.type===se.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Hr||(Hr={})),Sh=class Ry{constructor(t,r,n){_(this,"type",se.MediaFeatureRangeNameValue);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return ki(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return Ry.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof Ry&&t.type===se.MediaFeatureRangeNameValue}},Ek=class $y{constructor(t,r,n){_(this,"type",se.MediaFeatureRangeValueName);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return ki(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return $y.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof $y&&t.type===se.MediaFeatureRangeValueName}},Pk=class By{constructor(t,r,n,i,o){_(this,"type",se.MediaFeatureRangeValueNameValue);_(this,"name");_(this,"valueOne");_(this,"valueOneOperator");_(this,"valueTwo");_(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return ki(this.valueOneOperator)}valueTwoOperatorKind(){return ki(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return By.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof By&&t.type===se.MediaFeatureRangeValueNameValue}},kc=class qy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeature);_(this,"feature");_(this,"before");_(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Nt(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return qy.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof qy&&t.type===se.MediaFeature}},c3=class Wy{constructor(t,r){_(this,"type",se.MediaNot);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Nt(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return Wy.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof Wy&&t.type===se.MediaNot}},d3=class _y{constructor(t,r){_(this,"type",se.MediaOr);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return _y.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof _y&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Si||(Si={})),p3=/^not$/i,m3=/^or$/i,Ok=/^and$/i,zy=class Uy{constructor(t,r,n){_(this,"type",se.CustomMedia);_(this,"name");_(this,"mediaQueryList",null);_(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Qe(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Qe(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Nt(r))return!!Qe(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Nt(r))return!!Qe(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([C.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return Uy.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof Uy&&t.type===se.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(bC||(bC={}))});function Ik(e,t){let r=kt({css:e});return ZL(r).flatMap(n=>n.flatMap(i=>{if(!jr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return xd(o,{preserveInvalidMediaQueries:!0}).filter(a=>!On(a))})).forEach(n=>{n.walk(({node:i})=>{if(Pn(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}r3(i)&&PV(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===C.Colon||l&&l[0]===C.Delim&&Vy.test(l[4].value)||u&&u[0]===C.Delim&&Vy.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function PV(e){let t=e.value.value;if(Wc(t)||t.length===0||Wc(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;vC(n)||a===C.Ident&&vC(o[i-1])||yC(n)||a===C.Ident&&yC(o[i+1])||r.push(n.value)}),r}function vC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function yC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var Vy,jk=y(()=>{rt(),Jt(),xt(),Vy=/[<>=]/});function Ui(e){return e.startsWith("--")}var Sd=y(()=>{}),h3={};N(h3,{default:()=>f3});var Ls,Rg,wC,Gn,f3,OV=y(()=>{q(),ee(),V(),jk(),st(),Sd(),Le(),O(),j(),D(),Ls="media-feature-name-allowed-list",Rg=I(Ls,{rejected:e=>`Disallowed media feature name "${e}"`}),wC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Gn=e=>(t,r)=>{T(r,Ls,{actual:e,possible:[$,U]})&&t.walkAtRules(xe.mediaName,n=>{Ik(at(n),i=>{let[,,o,a,{value:s}]=i;if(Ui(s)||Pe(s,e))return;let l=je(n);P({message:Rg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ls,result:r})})})},Gn.primaryOptionArray=!0,Gn.ruleName=Ls,Gn.messages=Rg,Gn.meta=wC,f3=Gn}),g3={};N(g3,{default:()=>b3});var Fs,$g,kC,Yn,b3,IV=y(()=>{q(),ee(),V(),jk(),st(),Sd(),Le(),O(),j(),D(),Fs="media-feature-name-disallowed-list",$g=I(Fs,{rejected:e=>`Disallowed media feature name "${e}"`}),kC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Yn=e=>(t,r)=>{T(r,Fs,{actual:e,possible:[$,U]})&&t.walkAtRules(xe.mediaName,n=>{Ik(at(n),i=>{let[,,o,a,{value:s}]=i;if(Ui(s)||!Pe(s,e))return;let l=je(n);P({message:$g.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Fs,result:r})})})},Yn.primaryOptionArray=!0,Yn.ruleName=Fs,Yn.messages=$g,Yn.meta=kC,b3=Yn}),Bg,xc,xC,SC,Tk,v3,Qp,Ch=y(()=>{Gi(),Bg=new Set(["device-aspect-ratio","device-height","device-width"]),xc=Ce(Bg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),xC=new Set([...xc].flatMap(e=>[`min-${e}`,`max-${e}`])),SC=new Set(["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","environment-blending","forced-colors","grid","hover","inverted-colors","light-level","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-color-gamut","video-dynamic-range"]),Tk=Ce(Bg,xc,xC,SC),v3=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),Qp=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),y3={};N(y3,{default:()=>w3});var Ms,qg,CC,Rs,w3,jV=y(()=>{q(),ee(),V(),jk(),st(),Sd(),Ch(),H(),O(),j(),D(),Tt(),Ms="media-feature-name-no-unknown",qg=I(Ms,{rejected:e=>`Unknown media feature name "${e}"`}),CC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Rs=(e,t)=>(r,n)=>{T(n,Ms,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,U]},optional:!0})&&r.walkAtRules(xe.mediaName,i=>{Ik(at(i),o=>{let[,,a,s,{value:l}]=o;if(Ui(l)||R(t,"ignoreMediaFeatureNames",l)||He.prefix(l)||Tk.has(l.toLowerCase()))return;let u=je(i);P({message:qg.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Ms,result:n})})})},Rs.ruleName=Ms,Rs.messages=qg,Rs.meta=CC,w3=Rs}),k3={};N(k3,{default:()=>x3});var $s,Wg,AC,NC,Bs,x3,TV=y(()=>{q(),V(),od(),H(),O(),j(),D(),$s="media-feature-name-no-vendor-prefix",Wg=I($s,{rejected:"Vendor-prefixed media feature name"}),AC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},NC=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Bs=(e,t)=>(r,n)=>{T(n,$s,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,U]}})&&r.walkAtRules(xe.mediaName,i=>{let o=i.params;if(!Cr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${NC.join("|")}`,"gi"));if(a)for(let s of a){if(R(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:Wg.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:$s,fix:{apply:l,node:i}})}})},Bs.ruleName=$s,Bs.messages=Wg,Bs.meta=AC,x3=Bs});function In(e){return SV(at(e),{preserveInvalidMediaQueries:!0})}var jn=y(()=>{Jt(),st()}),S3={};N(S3,{default:()=>C3});var qs,_g,zC,Ws,C3,DV=y(()=>{Jt(),rt(),xt(),V(),ee(),q(),Le(),jn(),O(),j(),Ht(),D(),qs="media-feature-name-unit-allowed-list",_g=I(qs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),zC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ws=e=>(t,r)=>{if(!T(r,qs,{actual:e,possible:[$t($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(xe.mediaName,o=>{Q.dimension.test(o.params)&&In(o).forEach(a=>{if(On(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(xi(l)||Im(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!le(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==C.Dimension||d.includes(h.unit.toLowerCase()))return;let b=je(o);P({message:_g.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:qs})},s)})})},Ws.ruleName=qs,Ws.messages=_g,Ws.meta=zC,C3=Ws}),A3={};N(A3,{default:()=>N3});var _s,Ug,EC,Us,N3,LV=y(()=>{Jt(),xt(),q(),ee(),V(),Le(),H(),jn(),O(),j(),Ht(),D(),_s="media-feature-name-value-allowed-list",Ug=I(_s,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),EC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Us=e=>(t,r)=>{T(r,_s,{actual:e,possible:[$t($,U)]})&&t.walkAtRules(xe.mediaName,n=>{In(n).forEach(i=>{if(On(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Pn(a)){s.mediaFeatureName=a.getName();return}if(!n3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||R(e,d,c))return;let p=je(n),[m,v]=qt(u);P({index:p+m,endIndex:p+v+1,message:Ug.rejected,messageArgs:[l,c],node:n,ruleName:_s,result:r})},o)})})},Us.ruleName=_s,Us.messages=Ug,Us.meta=EC,N3=Us}),z3={};N(z3,{default:()=>E3});var Vs,Vg,PC,OC,Qs,E3,FV=y(()=>{rt(),xt(),Jt(),Xc(),Ch(),Er(),q(),ee(),V(),hF(),jn(),O(),j(),Ht(),D(),Tt(),Vs="media-feature-name-value-no-unknown",Vg=I(Vs,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),PC=/^(?:min|max)-/i,OC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Qs=(e,t)=>(r,n)=>{if(!T(n,Vs,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[$t($,U)]},optional:!0}))return;let i=(u,c)=>mF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===C.Ident){let w=He.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=v3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=Qp.get(g);if(!f){d(u,m,v,h);return}if(p===C.Number){if(b.type===ne.Integer){if(f.has("integer")||f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||b.value===1&&f.has("mq-boolean"))return;d(u,m,v,h);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(u,m,v,h);return}if(p===C.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&xv.has(w)||f.has("length")&&Ti.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=Qp.get(u.mediaFeatureName);m&&Ki.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...qt(c))}function s(u,c,d){let p=Qp.get(u.mediaFeatureName);p&&p.has("ratio")&&JM(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...qt(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(Ke(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(xe.mediaName,u=>{let c=(p,m,v,h)=>{let b=je(u);P({message:Vg.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Vs,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};In(u).forEach(p=>{On(p)||p.walk(({node:m,state:v})=>{if(v){if(Pn(m)){let h=m.getName(),b=He.unprefixed(h.toLowerCase());if(!Tk.has(b))return;b=b.replace(PC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||n3(m)&&l(v,m,c)}},d)})})},Qs.ruleName=Vs,Qs.messages=Vg,Qs.meta=OC,E3=Qs}),P3={};N(P3,{default:()=>O3});var Gs,Qg,IC,Ys,O3,MV=y(()=>{Jt(),xt(),rt(),ee(),V(),H(),jn(),Ch(),O(),j(),D(),Gs="media-feature-range-notation",Qg=I(Gs,{expected:e=>`Expected "${e}" media feature range notation`}),IC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},Ys=(e,t)=>(r,n)=>{if(!T(n,Gs,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=R(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(xe.mediaName,a=>{if(o&&!o.test(a.params))return;let s=In(a);s.forEach(l=>{On(l)||l.walk(({node:u,parent:c})=>{if(!Im(u)&&!xi(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!xc.has(p))return;let m=e;if(i){let x=(i3(u)||o3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=xi(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&xi(u)||m==="context"&&Im(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:w=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new Sh(new Ck(new ue([C.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&xi(u)&&Pn(c)?v({node:u,parent:c}):void 0,[b,g]=qt(u),f=je(a);P({message:Qg.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:Gs,fix:{apply:h,node:a}})})})})},Ys.ruleName=Gs,Ys.messages=Qg,Ys.meta=IC,O3=Ys}),I3={};N(I3,{default:()=>j3});function jC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(Ke(n)&&(r=R(t,"ignoreFunctions",n.getName()),r))return!1}),r}var Ks,Gg,TC,Yg,DC,Hs,j3,RV=y(()=>{xt(),Jt(),q(),ee(),V(),Sd(),H(),jn(),Ch(),O(),j(),D(),Ks="media-query-no-invalid",Gg=I(Ks,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),TC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},Yg=/^(?:min|max)-/i,DC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},Hs=(e,t)=>(r,n)=>{if(!T(n,Ks,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0}))return;r.walkAtRules(xe.mediaName,o=>{let a=je(o);In(o).forEach(s=>{if(On(s)){if(jC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(r3(l)){if(jC(s,t))return;i(o,a,l);return}if(xi(l)){let c=l.getName();if(Ui(c)){i(o,a,u,"custom");return}return}if(Im(l)){let c=l.getName().toLowerCase();if(Ui(c)){i(o,a,u,"custom");return}if(Yg.test(c)){i(o,a,u,"min_max_in_range");return}if(!xc.has(c)){i(o,a,u,"discrete");return}return}if(NV(l)){let c=l.getName();Yg.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=qt(s);P({message:Gg.rejected,messageArgs:[s.toString(),l?TC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:Ks,result:n})}},Hs.ruleName=Ks,Hs.messages=Gg,Hs.meta=DC,j3=Hs}),T3={};N(T3,{default:()=>D3});var Js,Kg,LC,Xs,D3,$V=y(()=>{V(),q(),ee(),nz(),Jt(),et(),rt(),H(),jn(),O(),j(),xt(),D(),Js="media-type-no-deprecated",Kg=I(Js,{rejected:e=>`Deprecated media type "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},Xs=(e,t)=>(r,n)=>{T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,U]},optional:!0})&&r.walkAtRules(xe.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||In(i).forEach(o=>{if(!EV(o))return;let a=o.getMediaType();if(!Sw.has(a.toLowerCase())||R(t,"ignoreMediaTypes",a))return;let s=je(i),[l,u]=qt({tokens:()=>o.mediaType.filter(Qe)});P({message:Kg.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:Js,result:n})})})},Xs.ruleName=Js,Xs.messages=Kg,Xs.meta=LC,D3=Xs});function BV(e,t){let r=e.map(n=>{let i=[],o=n.indexOf(t);for(;o!==-1;)i.push(o),o=n.indexOf(t,o+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let o=r[n],a=r[i];if(!(o&&o.length===0||a&&a.length===0)&&!dw(o,a))return!1}return!0}function qV(e){let t=new Set(e.flat());return t.delete("."),[...t]}function WV(e){return qV(e).filter(t=>!BV(e,t))}var _V=y(()=>{pw()}),L3={};N(L3,{default:()=>F3});var FC,Zs,el,MC,tl,F3,UV=y(()=>{FC=Z(he(),1),q(),ee(),_V(),We(),V(),O(),j(),D(),Zs="named-grid-areas-no-invalid",el=I(Zs,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),MC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},tl=e=>(t,r)=>{T(r,Zs,{actual:e})&&t.walkDecls(Br.gridAreaNames,n=>{let{value:i}=n;if(!Re(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,FC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(el.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(el.expectedSameNumber,[],l.index,l.endIndex);return}let u=WV(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));Ge(p),c(el.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ie(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:Zs})}})},tl.ruleName=Zs,tl.messages=el,tl.meta=MC,F3=tl});function Qy(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(cv(n))return!0;if("document"in n&&n.document instanceof Dz&&cv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var M3=y(()=>{id(),fe()}),R3={};N(R3,{default:()=>$3});function RC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&R(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var rl,Hg,$C,nl,$3,VV=y(()=>{Ji(),V(),q(),ee(),st(),ye(),M3(),et(),de(),H(),O(),j(),D(),rl="nesting-selector-no-missing-scoping-root",Hg=I(rl,{rejected:"Missing scoping root"}),$C={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},nl=(e,t)=>(r,n)=>{if(!T(n,rl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(Qy(o)||!ce(o)||RC(o,t))return;let a;try{a=tn(ge(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(xe.scopeName,o=>{if(Qy(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||RC(o,t))return;let a;try{a=tn(at(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,je(o))});function i(o,a,s=0){fL(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:Hg.rejected,node:o,result:n,ruleName:rl,index:u,endIndex:c})}})}},nl.ruleName=rl,nl.messages=Hg,nl.meta=$C,$3=nl});function Dk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function yn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(QV(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=kp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&e.nodes.length===1&&e.nodes[0].type==="selector"&&GV(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Sc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=kp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Sc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=kp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=yn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=kp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Sc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=yn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function kp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=yn(n,t);Dk(i,r)<0||(r=i)}),r}function QV(e){return Sc.default.isPseudoElement(e)}function GV(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Sc,B3=y(()=>{Sc=Z(lt(),1)});function Lk(e){let t=e.parent;return t?Ie(t)?t:ut(t)?Lk(t):null:null}var q3=y(()=>{fe()});function W3(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=BC(e,n);return r.reduce((o,a)=>BC(o,a),i)}}}function BC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var _3=y(()=>{});function pc(e,t){let r=Gy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Gy.set(e,r);let n=e.toString(),i=hi.get(n);if(i)return r.set(t,i),i;let o=YV(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),hi.size>=V3){let s=hi.keys().next().value;s!==void 0&&hi.delete(s)}return hi.set(n,a),a}function YV(e){return _C(e),qC(e),e.walk(t=>{_C(t),qC(t)}),U3(e),e}function qC(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function U3(e){if(nr.default.isContainer(e)){if(e.each(U3),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=HV(e.nodes))}}function WC(e){var t;return(t=Q3.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function KV(e,t){let r=WC(e)-WC(t);return r!==0?r:String(e).localeCompare(String(t))}function HV(e){let t=[],r=[];return e.forEach(n=>{nr.default.isCombinator(n)||nr.default.isPseudoElement(n)?(t.push(r,[n]),r=[]):r.push(n)}),t.push(r),t.forEach(n=>n.sort(KV)),t.flat()}function _C(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,Gy,hi,V3,Q3,G3=y(()=>{nr=Z(lt(),1),Gy=new WeakMap,hi=new Map,V3=1e4,Q3=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function bn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function JV(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...bn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...bn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>UC(a)-UC(s)),n.push(...o)}e.removeAll();for(let i=n.length-1;i>=0;i--)n[i].remove(),n[i].parent=e,e.nodes.unshift(n[i])}function UC(e){return sr.default.isPseudoElement(e)?Yy.pseudoElement:Yy[e.type]}function VC(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...bn(s)})):(s.prepend(sr.default.combinator({value:" ",...bn(s)})),s.prepend(sr.default.nesting({...bn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...QC(t,!0)):u.replaceWith(...QC(t)))});for(let u of l)JV(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...bn(e)});return n.forEach(a=>{i.append(a)}),i}function QC(e,t=!1){if(t||!XV(e.nodes)){let r=sr.default.pseudo({value:":is",...bn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function XV(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,Yy,ZV=y(()=>{sr=Z(lt(),1),Yy={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function Yc(e,t){let r=Hy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Hy.set(e,r);let n=Se(ge(e),t,e);if(!n)return[];let i,o=[];{let s=e.parent;for(;s;)o.push(s),s=s.parent}o.reverse();for(let s of o){if(Ie(s)&&s.name==="scope"){i=Se(":where(:scope)",t,s);continue}if(!ut(s))continue;if(!ce(s))return[];let l=Se(ge(s),t,s);if(!l)return[];i?i=VC(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:VC(Ky.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:Ky.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var Ky,Hy,Ah=y(()=>{ZV(),fe(),ye(),de(),Ae(),Ky=Z(lt(),1),Hy=new WeakMap}),Y3={};N(Y3,{default:()=>H3});function eQ(e,t){if(e.nodes.length===0)return;e=pc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||Rm.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function K3(e){return e.nodes?e.some(t=>Qi(t)||Ie(t)&&K3(t)):!1}var il,Jg,GC,ol,H3,tQ=y(()=>{B3(),fe(),q3(),St(),de(),_3(),G3(),H(),Wt(),O(),Ah(),j(),D(),il="no-descending-specificity",Jg=I(il,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),GC={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},ol=(e,t)=>(r,n)=>{if(!T(n,il,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=R(t,"ignore","selectors-within-list"),o=W3();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!K3(s))return;let l=o.getContext(s,Lk(s));Yc(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=eQ(s,n);if(!d)return;let p=yn(s),{selector:m,index:v,endIndex:h}=ot(l),{selector:b}=ot(s);b=b===m?"":b;let g={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},f=c.get(d);if(!f){c.set(d,[g]);return}for(let S of f)if(Dk(p,S.specificity)<0){P({ruleName:il,result:n,node:u,message:Jg.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},ol.ruleName=il,ol.messages=Jg,ol.meta=GC,H3=ol}),J3={};N(J3,{default:()=>X3});function xp(e){return Jy.default.stringify(e).replace(/\s/g,"")}function rQ(e){if(!e.length)return[];let t=" ",r=[],n=[],i=[];for(let a of e)if(!(a.type==="space"||a.type==="comment")){if(!n.length){if(a.type==="function"&&(a.value==="supports"||a.value==="layer")){r.push(xp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(xp(a));continue}}if(a.type==="div"&&a.value===","){n.push(xp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(xp(i)),n.length&&!r.length)return n;if(!n.length&&r.length)return[r.join(t)];let o=r.join(t);return n.map(a=>o+t+a)}var Jy,al,Xg,YC,sl,X3,nQ=y(()=>{Jy=Z(he(),1),V(),st(),hd(),O(),j(),D(),al="no-duplicate-at-import-rules",Xg=I(al,{rejected:e=>`Duplicate @import rule ${e}`}),YC={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},sl=e=>(t,r)=>{if(!T(r,al,{actual:e}))return;let n={};t.walkAtRules(xe.importName,i=>{let[o,...a]=(0,Jy.default)(at(i)).nodes;if(!o)return;let s=md(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=rQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:Xg.rejected,messageArgs:[s],node:i,result:r,ruleName:al,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},sl.ruleName=al,sl.messages=Xg,sl.meta=YC,X3=sl});function Nh(e){let t=e.parent;return t?Ie(t)&&t.name.toLowerCase()==="keyframes":!1}var zh=y(()=>{fe()}),Z3={};N(Z3,{default:()=>eR});var KC,ll,Zg,HC,ul,eR,iQ=y(()=>{KC=Z(lt(),1),q(),q3(),ye(),St(),zh(),de(),_3(),G3(),H(),Ae(),O(),Ah(),j(),D(),ll="no-duplicate-selectors",Zg=I(ll,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),HC={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},ul=(e,t)=>(r,n)=>{if(!T(n,ll,{actual:e},{actual:t,possible:{disallowInList:[Hc],ignoreSelectors:[$,U]},optional:!0}))return;let i=t&&t.disallowInList,o=W3();function a(c,d,p,m,v){P({result:n,ruleName:ll,node:c,message:Zg.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=Se(ge(c),n,c))==null||p.each(m=>{var x,w,k,S,z,A;let v=pc(m,n).string;if(R(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((A=(z=(S=c.source)==null?void 0:S.start)==null?void 0:z.line)!=null?A:1)-1});return}let{index:b,endIndex:g,selector:f}=ot(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=Yc(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=pc(w,n).string;return R(t,"ignoreSelectors",k)}))return;let m=KC.default.root({nodes:p,value:""}),v=pc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let b=ge(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){Yc(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,z,A,L,E;let b=pc(h,n).string;if(R(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((z=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?z:1)+((E=(L=(A=c.source)==null?void 0:A.start)==null?void 0:L.line)!=null?E:1)-1});return}let{index:f,endIndex:x,selector:w}=ot(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Nh(c)||!ce(c))return;let d=o.getContext(c,Lk(c));if(i){u(c,d);return}s(c),l(c,d)})},ul.ruleName=ll,ul.messages=Zg,ul.meta=HC,eR=ul}),tR={};N(tR,{default:()=>rR});var cl,eb,JC,dl,rR,oQ=y(()=>{sd(),O(),j(),D(),cl="no-empty-source",eb=I(cl,{rejected:"Empty source"}),JC={url:"https://stylelint.io/user-guide/rules/no-empty-source"},dl=(e,t,r)=>(n,i)=>{var a;if(!T(i,cl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!Ci(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:eb.rejected,messageArgs:[],node:n,result:i,ruleName:cl})},dl.ruleName=cl,dl.messages=eb,dl.meta=JC,rR=dl}),nR={};N(nR,{default:()=>iR});var Kn,Sp,XC,pl,iR,aQ=y(()=>{q(),ye(),O(),j(),D(),Kn="no-invalid-double-slash-comments",Sp=I(Kn,{rejected:"Invalid double-slash CSS comment"}),XC={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},pl=(e,t,r)=>(n,i)=>{T(i,Kn,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:Sp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn})}),n.walkRules(o=>{var u;let a=ge(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),Vi(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:Sp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn,index:m,endIndex:h})}l+=c.length+1}}))},pl.ruleName=Kn,pl.messages=Sp,pl.meta=XC,iR=pl}),oR={};N(oR,{default:()=>aR});var ml,tb,ZC,hl,aR,sQ=y(()=>{q(),fe(),et(),de(),H(),O(),j(),D(),ml="no-invalid-position-at-import-rule",tb=I(ml,{rejected:"Invalid position for @import rule"}),ZC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},hl=(e,t)=>(r,n)=>{if(!T(n,ml,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Ie(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!R(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Ie(o)&&a==="import"&&i&&P({message:tb.rejected,messageArgs:[],node:o,result:n,ruleName:ml,word:o.toString()})})},hl.ruleName=ml,hl.messages=tb,hl.meta=ZC,aR=hl}),sR={};N(sR,{default:()=>lR});var fl,rb,e2,gl,lR,lQ=y(()=>{Yi(),fe(),q(),vh(),M3(),bt(),H(),O(),j(),D(),fl="no-invalid-position-declaration",rb=I(fl,{rejected:"Invalid position for declaration"}),e2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},gl=(e,t)=>(r,n)=>{if(!T(n,fl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=a=>Ie(a)&&R(t,"ignoreAtRules",a.name),o=a=>Ie(a)&&AN.has(a.name.toLowerCase());r.walkDecls(a=>{if(Qy(a,{inline:!0})||!gt(a))return;let{parent:s}=a;if(s&&!(ut(s)||o(s))){if(Ie(s)){let l=s.name.toLowerCase();if(zc.has(l)){if(bh(a,u=>ut(u)||o(u)||i(u)))return}else return}P({message:rb.rejected,messageArgs:[],node:a,result:n,ruleName:fl})}})},gl.ruleName=fl,gl.messages=rb,gl.meta=e2,lR=gl}),uR={};N(uR,{default:()=>gR});function bl(){return 0}function uQ(){return 1}function cR(e){return e.replace(Zy," ")}function dR(e,t){if(!jm.test(e))return e;let r=(0,pR.default)(e);return r.walk(n=>{t(n)&&(n.value=cR(n.value))}),r.toString()}function cQ(e){return dR(e,t=>t.type==="string")}function nb(e,t){if(!e)return;let r=t?fR.test(t.toLowerCase()):!1;return dR(e,n=>n.type==="string"&&!r||n.type==="comment")}function dQ(e){return jm.test(e)?(0,Xy.default)(t=>{t.walk(r=>{r.value&&(mR(r)||hR(r))&&(r.value=cR(r.value))})}).processSync(e):e}var Xy,pR,mR,hR,vl,ib,t2,r2,ob,jm,Zy,n2,fR,i2,yl,gR,pQ=y(()=>{Xy=Z(lt(),1),pR=Z(he(),1),ee(),st(),qe(),ye(),O(),j(),D(),{isAttribute:mR,isComment:hR}=Xy.default,vl="no-irregular-whitespace",ib=I(vl,{rejected:"Irregular whitespace"}),t2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},r2=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],ob=r2.join(""),jm=new RegExp(`[${ob}]`),Zy=new RegExp(`[${ob}]+`,"g"),n2=["grid","grid-template","grid-template-areas"],fR=new RegExp(`^(?:${n2.join("|")})$`,"i"),i2=e=>Array.from(e.matchAll(Zy)).map(t=>({index:t.index,length:t[0].length})),yl=e=>(t,r)=>{var o;if(!T(r,vl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!jm.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=i2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:vl,result:r,message:ib.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,bl),i(a,a.name,uQ),i(a,a.raws.afterName,ZA),i(a,cQ(at(a)),je),i(a,a.raws.between,S6),i(a,a.raws.after,x6)}),t.walkRules(a=>{i(a,a.raws.before,bl),i(a,dQ(ge(a)),bl),i(a,a.raws.between,C6),i(a,a.raws.after,A6)}),t.walkDecls(a=>{i(a,a.raws.before,bl),i(a,nb(a.prop),bl),i(a,nb(a.raws.between),eN),i(a,nb(Be(a),a.prop),ie)})},yl.ruleName=vl,yl.messages=ib,yl.meta=t2,gR=yl});function mQ(e){let t=[],r=(0,bR.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Re(a)){i=!0,t.length=0;return}if(gd(a)||xw.has(a))return;let{unit:s}=Xi(o);s||s===""||t.push(o)}),t}var bR,hQ=y(()=>{bR=Z(he(),1),Je(),Zi(),We(),bd()}),vR={};N(vR,{default:()=>yR});var wl,ab,o2,kl,yR,fQ=y(()=>{Je(),V(),ee(),hQ(),O(),j(),D(),wl="no-unknown-animations",ab=I(wl,{rejected:e=>`Unknown animation "${e}"`}),o2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},kl=e=>(t,r)=>{if(!T(r,wl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=mQ(o.value);if(a.length===0)return;for(let s of a){if(jc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ie(o);P({result:r,ruleName:wl,message:ab.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},kl.ruleName=wl,kl.messages=ab,kl.meta=o2,yR=kl});function gQ(e){return AV(at(e),{preserveInvalidMediaQueries:!0})}var bQ=y(()=>{Jt(),st()}),wR={};N(wR,{default:()=>kR});var xl,sb,a2,Sl,kR,vQ=y(()=>{V(),Jt(),ee(),Sd(),bQ(),jn(),O(),j(),D(),xl="no-unknown-custom-media",sb=I(xl,{rejected:e=>`Unknown custom media query "${e}"`}),a2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Sl=e=>(t,r)=>{if(!T(r,xl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.customMediaName,a=>{let s=gQ(a);s&&n.add(s.getName())});t.walkAtRules(xe.mediaName,o=>{Q.customProperty.test(o.params)&&In(o).forEach(a=>{On(a)||a.walk(({node:s})=>{if(!Pn(s))return;let[,l,u,c]=s.getNameToken();if(!Ui(l)||n.has(l))return;let d=je(o),p=d+u,m=d+c+1;P({message:sb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:xl})})})})},Sl.ruleName=xl,Sl.messages=sb,Sl.meta=a2,kR=Sl}),xR={};N(xR,{default:()=>SR});var s2,Cl,lb,l2,Al,SR,yQ=y(()=>{s2=Z(he(),1),V(),ee(),pd(),O(),j(),D(),Cl="no-unknown-custom-properties",lb=I(Cl,{rejected:e=>`Unknown custom property "${e}"`}),l2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},Al=e=>(t,r)=>{if(!T(r,Cl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(Br.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,s2.default)(a).walk(s=>{if(!Hi(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ie(o);P({result:r,ruleName:Cl,message:lb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},Al.ruleName=Cl,Al.messages=lb,Al.meta=l2,SR=Al}),CR={};N(CR,{default:()=>AR});var Nl,ub,u2,zl,AR,wQ=y(()=>{rt(),xt(),ee(),q(),st(),qe(),Ir(),Le(),H(),O(),j(),uk(),D(),Nl="number-max-precision",ub=I(Nl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),u2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},zl=(e,t)=>(r,n)=>{var l;if(!T(n,Nl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,U],ignoreUnits:[$,U],insideFunctions:[Am(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,je,at(u))}),r.walkDecls(u=>{o(u,ie,Be(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(R(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};En(ro(kt({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(Ke(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!le(d))return;let[m,v,h,b,g]=d.value;if(m!==C.Number&&m!==C.Dimension&&m!==C.Percentage)return;let f=0;if(m===C.Dimension){let k=g.unit;if(f=k.length,R(t,"ignoreUnits",k))return}else if(m===C.Percentage&&(f=1,R(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Nl,node:u,index:w+h,endIndex:w+(b+1)-f,message:ub.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},zl.ruleName=Nl,zl.messages=ub,zl.meta=u2,AR=zl}),NR={};N(NR,{default:()=>zR});var El,cb,c2,Hn,zR,kQ=y(()=>{q(),Or(),Le(),O(),j(),D(),El="property-allowed-list",cb=I(El,{rejected:e=>`Disallowed property "${e}"`}),c2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},Hn=e=>(t,r)=>{T(r,El,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Pr(i)&&(Pe(i,e)||P({message:cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:El}))})},Hn.primaryOptionArray=!0,Hn.ruleName=El,Hn.messages=cb,Hn.meta=c2,zR=Hn}),ER={};N(ER,{default:()=>PR});var Pl,db,d2,Jn,PR,xQ=y(()=>{q(),Or(),Le(),O(),j(),D(),Pl="property-disallowed-list",db=I(Pl,{rejected:e=>`Disallowed property "${e}"`}),d2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},Jn=e=>(t,r)=>{T(r,Pl,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Pr(i)&&Pe(i,e)&&P({message:db.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Pl})})},Jn.primaryOptionArray=!0,Jn.ruleName=Pl,Jn.messages=db,Jn.meta=d2,PR=Jn}),OR={};N(OR,{default:()=>IR});function p2(e){switch(e){case"top-to-bottom":return["top","bottom"];case"bottom-to-top":return["bottom","top"];case"left-to-right":return["left","right"];case"right-to-left":return["right","left"]}}function SQ(e){let[t,r]=p2(e.block),[n,i]=p2(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of Hp){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var Xn,Cp,m2,Ol,IR,CQ=y(()=>{$r(),q(),dr(),Or(),H(),O(),j(),D(),Xn="property-layout-mappings",Cp=I(Xn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Ol=(e,t)=>(r,n)=>{var u,c;if(!T(n,Xn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?SQ({block:o,inline:a}):null;function l(d,p){P({message:Cp.rejected,messageArgs:[d,p.prop],word:p.prop,node:p,result:n,ruleName:Xn})}r.walkDecls(d=>{let{prop:p}=d;if(Pr(p)&&!ft(p)&&!R(t,"ignoreProperties",p))if(e==="physical"){if(!FN.has(p))return;l("flow-relative",d)}else{if(!Hp.has(p))return;if(!s){l("physical",d);return}let m=s.get(p);if(!m)return;P({message:Cp.expected,messageArgs:[p,m],word:p,node:d,result:n,ruleName:Xn,fix:{apply:()=>{d.prop=m},node:d}})}})},Ol.ruleName=Xn,Ol.messages=Cp,Ol.meta=m2,IR=Ol}),jR={};N(jR,{default:()=>TR});var h2,Il,Ap,f2,g2,b2,jl,TR,AQ=y(()=>{h2=Z(he(),1),q(),qe(),bt(),fe(),H(),O(),j(),jt(),D(),Il="property-no-deprecated",Ap=I(Il,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),f2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},g2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},b2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},jl=(e,t)=>(r,n)=>{T(n,Il,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!gt(i))return;let{prop:o,value:a}=i;if(R(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=b2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=Ap.expected,d=[o,l],u=()=>{i.prop=l;let p=g2[s];if(p){let m=(0,h2.default)(Be(i));m.walk(v=>{if(!Jc(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),It(i,m.toString())}}):(c=Ap.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:Il,fix:{apply:u,node:i}})})},jl.ruleName=Il,jl.messages=Ap,jl.meta=f2,TR=jl}),DR={};N(DR,{default:()=>LR});var Tl,pb,v2,Dl,LR,NQ=y(()=>{fe(),q(),$r(),vh(),dr(),pF(),bt(),Or(),H(),O(),j(),D(),Tt(),Tl="property-no-unknown",pb=I(Tl,{rejected:e=>`Unknown property "${e}"`}),v2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Dl=(e,t)=>(r,n)=>{if(!T(n,Tl,{actual:e},{actual:t,possible:{ignoreProperties:[$,U],checkPrefixed:[Hc],ignoreSelectors:[$,U],ignoreAtRules:[$,U]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!gt(s)||dF(s)||!Pr(l)||ft(l)||!i&&He.prefix(l)||R(t,"ignoreProperties",l))return;let u=s.parent;u&&ut(u)&&R(t,"ignoreSelectors",u.selector)||bh(s,c=>Ie(c)&&R(t,"ignoreAtRules",c.name))||o.getProperty(l)||DN.has(l.toLowerCase())||i&&LN.has(l.toLowerCase())||P({message:pb.rejected,messageArgs:[l],node:s,result:n,ruleName:Tl,word:l})}},Dl.ruleName=Tl,Dl.messages=pb,Dl.meta=v2,LR=Dl}),FR={};N(FR,{default:()=>MR});var Ll,mb,y2,Fl,MR,zQ=y(()=>{q(),Je(),od(),H(),O(),j(),D(),Ll="property-no-vendor-prefix",mb=I(Ll,{rejected:e=>`Vendor-prefixed property "${e}"`}),y2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Fl=(e,t)=>(r,n)=>{T(n,Ll,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,U]}})&&r.walkDecls(i=>{let o=i.prop;if(R(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!Cr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=Cr.unprefix(i.prop)};P({message:mb.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:Ll,fix:{apply:a,node:i}})})},Fl.ruleName=Ll,Fl.messages=mb,Fl.meta=y2,MR=Fl}),RR={};N(RR,{default:()=>BR});function EQ(e){return!!bh(e,({type:t})=>t==="rule")}function PQ(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function OQ(e){let t=e.nodes.find(r=>!Ph(r));return Eh(t)}function IQ(e){let t=e.nodes.find(r=>!Ph(r)&&!Fk(r));return Eh(t)}function jQ(e,t,r){let n=e.nodes.find(i=>!Ph(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,$R({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function TQ(e,t,r){let n=e.nodes.find(Fk),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(Eh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var w2,Ml,hb,k2,Eh,Ph,Fk,x2,$R,Rl,BR,DQ=y(()=>{w2=Z(lt(),1),vh(),ye(),de(),Ae(),O(),j(),D(),Ml="relative-selector-nesting-notation",hb=I(Ml,{expected:e=>`Expected ${e} nesting notation`}),k2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:Eh,isComment:Ph,isNesting:Fk,isSelector:x2,nesting:$R}=w2.default,Rl=e=>(t,r)=>{T(r,Ml,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!EQ(n))return;let i=Se(ge(n),r,n);i&&i.each(o=>{if(!x2(o))return;let a=OQ(o),s;if(e==="explicit"){if(PQ(o)&&!a)return;s=()=>jQ(o,n,i)}else{if(a||!IQ(o))return;s=()=>TQ(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:hb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Ml,result:r,fix:{apply:s,node:n}})})})},Rl.ruleName=Ml,Rl.messages=hb,Rl.meta=k2,BR=Rl});function LQ(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!Cw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var FQ=y(()=>{Aw()}),qR={};N(qR,{default:()=>WR});function S2(e){let t=Mr(e);return t!=null&&t.type==="rule"}var $l,Np,C2,Bl,WR,MQ=y(()=>{ed(),Nn(),rd(),FQ(),nd(),Wm(),Ym(),de(),H(),O(),j(),D(),$l="rule-empty-line-before",Np=I($l,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),C2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Bl=(e,t,r)=>(n,i)=>{if(!T(i,$l,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!ce(a)||qm(a))return;if(R(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(R(t,"ignore","first-nested")&&Rr(a))return;let s=a.parent&&a.parent.type!=="root";if(R(t,"ignore","inside-block")&&s||o.includes("multi-line")&&Gm(a.toString()))return;let l=o.includes("always");(R(t,"except","first-nested")&&Rr(a)||R(t,"except","after-rule")&&S2(a)||R(t,"except","inside-block-and-after-rule")&&s&&S2(a)||R(t,"except","after-single-line-comment")&&LQ(a)||R(t,"except","inside-block")&&s)&&(l=!l);let u=td(a.raws.before);if(l===u)return;let c=l?Np.expected:Np.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:$l,fix:{apply:()=>Zc({node:a,newline:r.newline,action:d}),node:a.parent}})})},Bl.ruleName=$l,Bl.messages=Np,Bl.meta=C2,WR=Bl}),_R={};N(_R,{default:()=>UR});function RQ(e,t){let r=e.parent;for(;r;){if(Ie(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var ql,fb,A2,Zn,UR,$Q=y(()=>{fe(),q(),de(),Le(),O(),j(),D(),ql="rule-nesting-at-rule-required-list",fb=I(ql,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),A2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},Zn=e=>(t,r)=>{if(!T(r,ql,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(RQ(i,n)||P({message:fb.expected,messageArgs:n,node:i,result:r,ruleName:ql}))})},Zn.primaryOptionArray=!0,Zn.ruleName=ql,Zn.messages=fb,Zn.meta=A2,UR=Zn}),VR={};N(VR,{default:()=>QR});function BQ(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Wl,gb,N2,_l,QR,qQ=y(()=>{q(),zh(),de(),Le(),H(),O(),j(),Ht(),D(),Wl="rule-selector-property-disallowed-list",gb=I(Wl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},_l=(e,t)=>(r,n)=>{if(!T(n,Wl,{actual:e,possible:[$t($,U)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=R(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Nh(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!BQ(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:gb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Wl,word:c})})})},_l.ruleName=Wl,_l.messages=gb,_l.meta=N2,QR=_l}),GR={};N(GR,{default:()=>YR});function WQ(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Ul,bb,z2,Vl,YR,_Q=y(()=>{Ji(),Wt(),q(),ye(),de(),V(),O(),j(),D(),Ul="selector-anb-no-unmatchable",bb=I(Ul,{rejected:e=>`Unmatchable An+B selector "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Vl=e=>(t,r)=>{T(r,Ul,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=ge(n),o;try{o=tn(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!Oc.has(l.name)&&!Ii.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;Ge(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;WQ(c.nth)&&P({message:bb.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Ul})})})}})},Vl.ruleName=Ul,Vl.messages=bb,Vl.meta=z2,YR=Vl}),KR={};N(KR,{default:()=>HR});var Ql,vb,E2,ei,HR,UQ=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),j(),D(),Ql="selector-attribute-name-disallowed-list",vb=I(Ql,{rejected:e=>`Disallowed name "${e}"`}),E2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},ei=e=>(t,r)=>{T(r,Ql,{actual:e,possible:[$,U]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=Se(ge(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:vb.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:Ql})}))})},ei.primaryOptionArray=!0,ei.ruleName=Ql,ei.messages=vb,ei.meta=E2,HR=ei}),JR={};N(JR,{default:()=>XR});var Gl,yb,P2,ti,XR,VQ=y(()=>{ye(),de(),q(),V(),Ae(),O(),j(),D(),Gl="selector-attribute-operator-allowed-list",yb=I(Gl,{rejected:e=>`Disallowed operator "${e}"`}),P2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ti=e=>(t,r)=>{if(!T(r,Gl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:yb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Gl})}))})},ti.primaryOptionArray=!0,ti.ruleName=Gl,ti.messages=yb,ti.meta=P2,XR=ti}),ZR={};N(ZR,{default:()=>e$});var Yl,wb,O2,ri,e$,QQ=y(()=>{ye(),de(),q(),V(),Ae(),O(),j(),D(),Yl="selector-attribute-operator-disallowed-list",wb=I(Yl,{rejected:e=>`Disallowed operator "${e}"`}),O2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},ri=e=>(t,r)=>{if(!T(r,Yl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:wb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Yl})}))})},ri.primaryOptionArray=!0,ri.ruleName=Yl,ri.messages=wb,ri.meta=O2,e$=ri});function GQ(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(t$,"").replace(r$,"");return!(n$.test(t)||ew.test(t.charAt(0))||t.charAt(0)==="-"&&ew.test(t.charAt(1)))}var t$,r$,n$,ew,YQ=y(()=>{t$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,r$=/\\./g,n$=/[^\w-]/,ew=/\d/}),i$={};N(i$,{default:()=>o$});var Kl,kb,I2,Hl,o$,KQ=y(()=>{ye(),de(),YQ(),V(),Ae(),O(),j(),D(),Kl="selector-attribute-quotes",kb=I(Kl,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),I2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},Hl=e=>(t,r)=>{T(r,Kl,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=Se(ge(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:kb[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:Kl,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!GQ(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},Hl.ruleName=Kl,Hl.messages=kb,Hl.meta=I2,o$=Hl});function Oh(e){return!!(ji.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||a$.test(e))}var a$,Ih=y(()=>{Je(),a$=new RegExp(`^(?:${[...tz.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),s$={};N(s$,{default:()=>l$});var Jl,xb,j2,Xl,l$,HQ=y(()=>{q(),ye(),Ih(),de(),V(),Ae(),O(),j(),D(),Jl="selector-class-pattern",xb=I(Jl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),j2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},Xl=e=>(t,r)=>{if(!T(r,Jl,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(Oh)||((o=Se(ge(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:Jl,message:xb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},Xl.ruleName=Jl,Xl.messages=xb,Xl.meta=j2,l$=Xl});function u$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var c$=y(()=>{}),d$={};N(d$,{default:()=>p$});function JQ(e){return e.replace(/\s+/g," ")}var Zl,Sb,T2,ni,p$,XQ=y(()=>{ye(),c$(),de(),q(),Ae(),O(),j(),D(),Zl="selector-combinator-allowed-list",Sb=I(Zl,{rejected:e=>`Disallowed combinator "${e}"`}),T2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ni=e=>(t,r)=>{T(r,Zl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=Se(ge(n),r,n))==null||i.walkCombinators(o=>{if(!u$(o))return;let{value:a}=o,s=JQ(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:Zl,message:Sb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ni.primaryOptionArray=!0,ni.ruleName=Zl,ni.messages=Sb,ni.meta=T2,p$=ni}),m$={};N(m$,{default:()=>h$});function ZQ(e){return e.replace(/\s+/g," ")}var eu,Cb,D2,ii,h$,eG=y(()=>{ye(),c$(),de(),q(),Ae(),O(),j(),D(),eu="selector-combinator-disallowed-list",Cb=I(eu,{rejected:e=>`Disallowed combinator "${e}"`}),D2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ii=e=>(t,r)=>{T(r,eu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=Se(ge(n),r,n))==null||i.walkCombinators(o=>{if(!u$(o))return;let{value:a}=o,s=ZQ(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:eu,message:Cb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ii.primaryOptionArray=!0,ii.ruleName=eu,ii.messages=Cb,ii.meta=D2,h$=ii}),f$={};N(f$,{default:()=>g$});var tu,Ab,L2,oi,g$,tG=y(()=>{q(),ye(),St(),zh(),de(),Le(),H(),Ae(),O(),j(),D(),tu="selector-disallowed-list",Ab=I(tu,{rejected:e=>`Disallowed selector "${e}"`}),L2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},oi=(e,t)=>(r,n)=>{if(!T(n,tu,{actual:e,possible:[$,U]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[Hc]},optional:!0}))return;let i=R(t,"ignore","inside-block"),o=R(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Nh(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:tu,message:Ab.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=ge(s);if(!a){l(u,0,u.length);return}(c=Se(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=ot(d);l(p,m,v)})})},oi.primaryOptionArray=!0,oi.ruleName=tu,oi.messages=Ab,oi.meta=L2,g$=oi}),b$={};N(b$,{default:()=>v$});var ru,Nb,F2,nu,v$,rG=y(()=>{q(),ye(),de(),V(),Ae(),O(),j(),D(),ru="selector-id-pattern",Nb=I(ru,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),F2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},nu=e=>(t,r)=>{if(!T(r,ru,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:ru,message:Nb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},nu.ruleName=ru,nu.messages=Nb,nu.meta=F2,v$=nu}),y$={};N(y$,{default:()=>w$});var iu,zb,M2,ou,w$,nG=y(()=>{q(),ye(),St(),Ir(),de(),V(),H(),Ae(),O(),j(),D(),iu="selector-max-attribute",zb=I(iu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),M2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},ou=(e,t)=>(r,n)=>{if(!T(n,iu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,U]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{R(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=ot(o);P({ruleName:iu,result:n,node:a,message:zb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=Se(ge(o),n,o))==null||a.each(s=>{i(s,o)}))})},ou.ruleName=iu,ou.messages=zb,ou.meta=M2,w$=ou}),k$={};N(k$,{default:()=>x$});var au,Eb,R2,su,x$,iG=y(()=>{ye(),St(),Ir(),de(),V(),Ae(),O(),j(),D(),au="selector-max-class",Eb=I(au,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),R2={url:"https://stylelint.io/user-guide/rules/selector-max-class"},su=e=>(t,r)=>{if(!T(r,au,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=ot(i);P({ruleName:au,result:r,node:o,message:Eb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},su.ruleName=au,su.messages=Eb,su.meta=R2,x$=su}),S$={};N(S$,{default:()=>C$});var lu,Pb,$2,uu,C$,oG=y(()=>{ye(),St(),Ir(),de(),V(),Ae(),O(),j(),D(),lu="selector-max-combinators",Pb=I(lu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),$2={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},uu=e=>(t,r)=>{if(!T(r,lu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=ot(i);P({ruleName:lu,result:r,node:o,message:Pb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},uu.ruleName=lu,uu.messages=Pb,uu.meta=$2,C$=uu}),A$={};N(A$,{default:()=>N$});var B2,Ob,Ib,q2,cu,jb,W2,du,N$,aG=y(()=>{B2=Z(lt(),1),q(),ye(),St(),Ir(),de(),V(),H(),Ae(),O(),j(),D(),{isCombinator:Ob,isPseudo:Ib,isRoot:q2}=B2.default,cu="selector-max-compound-selectors",jb=I(cu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),W2={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},du=(e,t)=>(r,n)=>{if(!T(n,cu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;function i(a){let s=Ib(a)?a.value:a.toString();return R(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(q2(a)||Ib(a))&&l.reduce((u,c,d,p)=>!Ob(c)||d===0||d===p.length-1||Ob(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=ot(a);P({ruleName:cu,result:n,node:s,message:jb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=Se(ge(a),n,a))==null||s.each(l=>{o(l,a)}))})},du.ruleName=cu,du.messages=jb,du.meta=W2,N$=du});function sG(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return vv.has(t)||Ii.has(t)}return!1}var lG=y(()=>{Wt()}),z$={};N(z$,{default:()=>E$});var pu,Tb,_2,mu,E$,uG=y(()=>{q(),ye(),St(),lG(),Ir(),de(),V(),H(),Ae(),O(),j(),D(),pu="selector-max-id",Tb=I(pu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),_2={url:"https://stylelint.io/user-guide/rules/selector-max-id"},mu=(e,t)=>(r,n)=>{if(!T(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,U]},optional:!0}))return;function i(o){let a=o;for(;a;){if(sG(a)&&R(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=Se(ge(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=ot(s);P({ruleName:pu,result:n,node:o,message:Tb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},mu.ruleName=pu,mu.messages=Tb,mu.meta=_2,E$=mu}),P$={};N(P$,{default:()=>O$});var hu,Db,U2,fu,O$,cG=y(()=>{ye(),St(),Ir(),de(),Wt(),V(),Ae(),O(),j(),D(),hu="selector-max-pseudo-class",Db=I(hu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),U2={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},fu=e=>(t,r)=>{if(!T(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||Ec.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=ot(i);P({ruleName:hu,result:r,node:o,message:Db.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=Se(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=Db,fu.meta=U2,O$=fu}),I$={};N(I$,{default:()=>j$});var gu,Lb,V2,Fb,bu,j$,dG=y(()=>{B3(),q(),St(),de(),H(),O(),Ah(),j(),D(),gu="selector-max-specificity",Lb=I(gu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),V2={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Fb=()=>({a:0,b:0,c:0}),bu=(e,t)=>(r,n)=>{if(!T(n,gu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;let i=c=>R(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Fb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Fb();let p=yn(c),m=yn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));mc(a),mc(s),mc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&Yc(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=yn(m,{customSpecificity:o});if(Dk(v,u)>0){let{index:h,endIndex:b,selector:g}=ot(d),{selector:f}=ot(m);f=f===g?"":f,P({ruleName:gu,result:n,node:c,message:Lb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},bu.ruleName=gu,bu.messages=Lb,bu.meta=V2,j$=bu}),Mk,T$=y(()=>{"use strict";Mk=[]}),D$=Y((e,t)=>{"use strict";t.exports=[]});function L$(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||F$.default.includes(t)||Mk.includes(t))}var F$,M$=y(()=>{T$(),F$=Z(D$(),1)});function pG(e){for(let t of e)if(!Pv(t))return!1;return!0}var mG=y(()=>{DE()});function Cd(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(Oc.has(o)||Ii.has(o)||bv.has(o)||fv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Ad=y(()=>{Wt()}),R$={};N(R$,{default:()=>$$});function hG(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>vG(r))}function fG(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>yG(r))}function gG(e){return!!(e.prev()&&!Kc(e.prev())||e.next()&&!Kc(e.next()))}function bG(e){return wG(e.prev())}function Kc(e){return e?e.type==="combinator":!1}function vG(e){return e?Kc(e)&&$(e.value)&&pG(e.value):!1}function yG(e){return e?Kc(e)&&e.value===">":!1}function wG(e){return Kc(e)&&e.value==="+"}var vu,Mb,Q2,yu,$$,kG=y(()=>{q(),ye(),St(),M$(),Ih(),Ir(),mG(),de(),Ad(),V(),H(),Ae(),O(),j(),D(),vu="selector-max-type",Mb=I(vu,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-max-type"},yu=(e,t)=>(r,n)=>{if(!T(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,U]},optional:!0}))return;let i=R(t,"ignore","descendant"),o=R(t,"ignore","child"),a=R(t,"ignore","compounded"),s=R(t,"ignore","next-sibling"),l=R(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{R(t,"ignoreTypes",m.value)||i&&hG(m)||o&&fG(m)||a&&gG(m)||s&&bG(m)||l&&m.value&&L$(m.value)||Cd(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=ot(c);P({ruleName:vu,result:n,node:d,message:Mb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(Oh)||(d=Se(ge(c),n,c))==null||d.each(p=>{u(p,c)})})},yu.ruleName=vu,yu.messages=Mb,yu.meta=Q2,$$=yu}),B$={};N(B$,{default:()=>q$});var wu,Rb,G2,ku,q$,xG=y(()=>{ye(),St(),Ir(),de(),q(),V(),H(),Ae(),O(),j(),D(),wu="selector-max-universal",Rb=I(wu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),G2={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},ku=(e,t)=>(r,n)=>{if(!T(n,wu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;R(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=ot(o);P({ruleName:wu,result:n,node:a,message:Rb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=Se(ge(o),n,o))==null||a.each(s=>{i(s,o)}))})},ku.ruleName=wu,ku.messages=Rb,ku.meta=G2,q$=ku}),W$={};N(W$,{default:()=>_$});var xu,$b,Y2,Su,_$,SG=y(()=>{q(),ye(),St(),de(),Ae(),O(),j(),D(),xu="selector-nested-pattern",$b=I(xu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Su=(e,t)=>(r,n)=>{if(!T(n,xu,{actual:e,possible:[U,$]},{actual:t,possible:{splitList:[Hc]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!ce(s))return;let l=ge(s);o?(u=Se(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=ot(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:xu,message:$b.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Su.ruleName=xu,Su.messages=$b,Su.meta=Y2,_$=Su});function U$(e){return e.startsWith(":--")}var V$=y(()=>{}),Q$={};N(Q$,{default:()=>G$});var K2,ai,Cu,H2,J2,X2,Z2,Au,G$,CG=y(()=>{K2=Z(lt(),1),Wt(),q(),ye(),V$(),de(),ud(),Ad(),V(),H(),Ae(),O(),j(),D(),ai="selector-no-deprecated",Cu=I(ai,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:J2}=K2.default,X2={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},Z2={content:"slotted"},Au=(e,t)=>(r,n)=>{T(n,ai,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=ge(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=Se(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!ld(c)||U$(c))return;let p,m;if(J2(u)){p=c.slice(2);let g=p.toLowerCase();if(!Xp.has(g))return;let f=Z2[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!Zp.has(g))return;let f=X2[g];f&&(m=`:${f}`)}if(R(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=Cu.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=Cu.rejected,b=[c]),P({result:n,ruleName:ai,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;Cd(u)&&(R(t,"ignoreSelectors",d)||!Jp.has(d.toLowerCase())&&!mw.has(d)||P({result:n,ruleName:ai,message:Cu.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Au.ruleName=ai,Au.messages=Cu,Au.meta=H2,G$=Au});function tw(e){return Y$.default.isPseudoClass(e)&&e.nodes.length>0&&K$.has(e.value.toLowerCase())}var Y$,K$,H$=y(()=>{Y$=Z(lt(),1),K$=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function AG(e){let t=Oi.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{NG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Oi.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function NG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=rw(e);return[...t,...r].filter(n=>n.length)}function rw(e){let t=[],r=[[]];return e.each(n=>{if(Oi.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Oi.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Oi.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=rw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(tw(n)){let i=[];n.each(o=>{let a=rw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Oi,zG=y(()=>{Oi=Z(lt(),1),H$()}),J$={};N(J$,{default:()=>Z$});function X$(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(tw(t))return X$(t);let r=[e],n=e;for(;(n=n.prev())&&!(At.default.isCombinator(n)||At.default.isPseudoElement(n));)At.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(At.default.isCombinator(i)||At.default.isPseudoElement(i));)At.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(At.default.isIdentifier(i)||At.default.isClassName(i)||At.default.isAttribute(i)||At.default.isTag(i)||tw(i));)r.splice(-1,1);return r}var At,Nu,Bb,eA,zu,Z$,EG=y(()=>{At=Z(lt(),1),zG(),St(),zh(),H$(),de(),Ad(),V(),H(),O(),Ah(),j(),D(),Nu="selector-no-qualifying-type",Bb=I(Nu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),eA={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},zu=(e,t)=>(r,n)=>{if(!T(n,Nu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=R(t,"ignore","id"),o=R(t,"ignore","class"),a=R(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Nh(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=AG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!Cd(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=X$(h);for(let w of g)if(At.default.isIdentifier(w)&&!i||At.default.isClassName(w)&&!o||At.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,z;d?{index:S,endIndex:z}=ot(c):(S=(x=v.sourceIndex)!=null?x:0,z=S+v.value.length),P({ruleName:Nu,result:n,node:s,message:Bb.rejected,messageArgs:[k,v.value],index:S,endIndex:z});break}})}Yc(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},zu.ruleName=Nu,zu.messages=Bb,zu.meta=eA,Z$=zu}),e5={};N(e5,{default:()=>t5});var Eu,qb,tA,Pu,t5,PG=y(()=>{q(),ye(),od(),de(),V(),H(),Ae(),O(),j(),D(),Eu="selector-no-vendor-prefix",qb=I(Eu,{rejected:e=>`Vendor-prefixed selector "${e}"`}),tA={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},Pu=(e,t)=>(r,n)=>{T(n,Eu,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=Se(ge(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!Cr.selector(s)||R(t,"ignoreSelectors",s))return;let l=()=>{a.value=Cr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Eu,message:qb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},Pu.ruleName=Eu,Pu.messages=qb,Pu.meta=tA,t5=Pu}),r5={};N(r5,{default:()=>i5});function OG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&nw(o[0])).map(o=>(Ge(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();Ge(i),Ge(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=n5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function IG(e,t,r){let n=s=>{for(let l of s)Ge(l.nodes[0]),l.nodes[0].rawSpaceBefore=" ",l.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for(Ge(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);fi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var rA,nA,iA,oA,Wb,aA,sA,Ou,_b,lA,nw,fi,uA,Iu,n5,i5,jG=y(()=>{rA=Z(lt(),1),q(),ye(),de(),V(),Ae(),O(),j(),D(),{isAttribute:nA,isClassName:iA,isIdentifier:oA,isPseudoClass:Wb,isTag:aA,isUniversal:sA}=rA.default,Ou="selector-not-notation",_b=I(Ou,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),lA={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},nw=e=>Wb(e)||nA(e)||iA(e)||sA(e)||oA(e)||aA(e),fi=e=>Wb(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",uA=e=>{if(e.length>1)return!1;Ge(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:nw(t)&&!fi(t):!0},Iu=e=>(t,r)=>{T(r,Ou,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=Se(ge(n),r,n);i&&i.walkPseudos(o=>{if(!fi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&fi(u)))return;l=()=>IG(u,n,i)}else{let u=o.nodes;if(uA(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>OG(o,n,i))}P({message:_b.expected,messageArgs:[e],node:n,result:r,ruleName:Ou,index:a,endIndex:s,fix:{apply:l,node:n}})})})},n5=({parent:e,sourceIndex:t})=>{Ge(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!fi(o)),i=n===-1?r[r.length-1]:r[n-1];return Ge(i),i},Iu.ruleName=Ou,Iu.messages=_b,Iu.meta=lA,i5=Iu}),o5={};N(o5,{default:()=>a5});var ju,Ub,cA,si,a5,TG=y(()=>{V(),q(),ee(),st(),ye(),et(),de(),Le(),Ae(),O(),j(),D(),ju="selector-pseudo-class-allowed-list",Ub=I(ju,{rejected:e=>`Disallowed pseudo-class "${e}"`}),cA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},si=e=>(t,r)=>{if(!T(r,ju,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Se(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:Ub.rejected,messageArgs:[l],node:o,result:r,ruleName:ju,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(ge(i),i)}),t.walkAtRules(xe.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(at(i),i,je(i))})},si.primaryOptionArray=!0,si.ruleName=ju,si.messages=Ub,si.meta=cA,a5=si}),s5={};N(s5,{default:()=>l5});var Tu,Vb,dA,li,l5,DG=y(()=>{V(),q(),ee(),st(),ye(),et(),de(),Le(),Ae(),O(),j(),D(),Tu="selector-pseudo-class-disallowed-list",Vb=I(Tu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),dA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},li=e=>(t,r)=>{if(!T(r,Tu,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Se(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:Vb.rejected,messageArgs:[l],node:o,result:r,ruleName:Tu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(ge(i),i)}),t.walkAtRules(xe.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(at(i),i,je(i))})},li.primaryOptionArray=!0,li.ruleName=Tu,li.messages=Vb,li.meta=dA,l5=li}),u5={};N(u5,{default:()=>c5});var Du,Qb,pA,Lu,c5,LG=y(()=>{Wt(),q(),ee(),st(),ye(),fe(),V$(),et(),de(),ud(),H(),Ae(),O(),j(),D(),Tt(),Du="selector-pseudo-class-no-unknown",Qb=I(Du,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),pA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Lu=(e,t)=>(r,n)=>{if(!T(n,Du,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,U]},optional:!0}))return;function i(o,a){var s;(s=Se(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!ld(u)||U$(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(Ec.has(c)||R(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=He.prefix(c),p;if(Ie(a)&&a.name==="page"){if(BN.has(c))return;p=je(a)+l.sourceIndex}else if(Rm.has(c)&&!d)p=l.sourceIndex;else{if(d||WN.has(c))return;let v=l;do if(v=v.prev(),v&&v.value.slice(0,2)==="::")break;while(v);if(v){let h=v.value.toLowerCase().slice(2);if(gv.has(h)&&qN.has(c))return}p=l.sourceIndex}let m=p+l.value.length;P({message:Qb.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Du,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=ge(o)}else if(Ie(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=at(o)}a&&a.includes(":")&&i(a,o)})},Lu.ruleName=Du,Lu.messages=Qb,Lu.meta=pA,c5=Lu}),d5={};N(d5,{default:()=>p5});var Fu,Gb,mA,ui,p5,FG=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),j(),D(),Fu="selector-pseudo-element-allowed-list",Gb=I(Fu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),mA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},ui=e=>(t,r)=>{T(r,Fu,{actual:e,possible:[$,U]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=Se(ge(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:Gb.rejected,messageArgs:[a],node:n,result:r,ruleName:Fu})}))})},ui.primaryOptionArray=!0,ui.ruleName=Fu,ui.messages=Gb,ui.meta=mA,p5=ui}),m5={};N(m5,{default:()=>h5});var Mu,Yb,hA,Ru,h5,MG=y(()=>{ye(),de(),Wt(),V(),Ae(),O(),j(),D(),Mu="selector-pseudo-element-colon-notation",Yb=I(Mu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),hA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Ru=e=>(t,r)=>{if(!T(r,Mu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!ce(i))return;let o=Se(ge(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!Ec.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:Yb.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Mu,fix:{apply:u,node:i}})})})},Ru.ruleName=Mu,Ru.messages=Yb,Ru.meta=hA,h5=Ru}),f5={};N(f5,{default:()=>g5});var $u,Kb,fA,ci,g5,RG=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),j(),D(),$u="selector-pseudo-element-disallowed-list",Kb=I($u,{rejected:e=>`Disallowed pseudo-element "${e}"`}),fA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},ci=e=>(t,r)=>{T(r,$u,{actual:e,possible:[$,U]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=Se(ge(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:Kb.rejected,messageArgs:[a],node:n,result:r,ruleName:$u})}))})},ci.primaryOptionArray=!0,ci.ruleName=$u,ci.messages=Kb,ci.meta=fA,g5=ci}),b5={};N(b5,{default:()=>v5});var Bu,Hb,gA,qu,v5,$G=y(()=>{q(),ye(),de(),ud(),V(),H(),Ae(),Wt(),O(),j(),D(),Tt(),Bu="selector-pseudo-element-no-unknown",Hb=I(Bu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),gA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},qu=(e,t)=>(r,n)=>{T(n,Bu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,U]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=Se(ge(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!ld(s)||s.slice(0,2)!=="::"||R(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(He.prefix(l)||Rm.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:Hb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Bu,result:n})}))})},qu.ruleName=Bu,qu.messages=Hb,qu.meta=gA,v5=qu}),y5={};N(y5,{default:()=>w5});var Wu,Jb,bA,vA,yA,wA,_u,w5,BG=y(()=>{q(),ye(),Ih(),de(),Ad(),Wt(),H(),Ae(),O(),j(),D(),Wu="selector-type-case",Jb=I(Wu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),bA={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},vA=/(?:[^.#[:a-z-]|^)[a-z]/i,yA=/[A-Z]/,wA=/[a-z]/,_u=(e,t)=>(r,n)=>{T(n,Wu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!vA.test(o)||e==="lower"&&!yA.test(o)||e==="upper"&&!wA.test(o)||!ce(i)||i.selectors.some(Oh))return;let a=Se(ge(i),n,i);a&&a.walkTags(s=>{if(!Cd(s)||$N.has(s.value)||R(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:Jb.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Wu,result:n,fix:{apply:m,node:i}})})})},_u.ruleName=Wu,_u.messages=Jb,_u.meta=bA,w5=_u}),k5={};N(k5,{default:()=>C5});function qG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Rk.default.isPseudoElement(t)&&x5.has(t.value)}function WG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Rk.default.isPseudoClass(t)&&S5.has(t.value)}var Rk,kA,Uu,Xb,xA,SA,x5,S5,Vu,C5,_G=y(()=>{T$(),Rk=Z(lt(),1),kA=Z(D$(),1),q(),ye(),Wt(),M$(),Ih(),de(),Ad(),H(),Ae(),O(),j(),D(),Uu="selector-type-no-unknown",Xb=I(Uu,{rejected:e=>`Unknown type selector "${e}"`}),xA={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},SA=/(?:[^.#[:a-z-]|^)[a-z]/i,x5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),S5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),Vu=(e,t)=>(r,n)=>{T(n,Uu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,U],ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{var o;SA.test(i.selector)&&ce(i)&&(i.selectors.some(Oh)||((o=Se(ge(i),n,i))==null||o.walkTags(a=>{if(!Cd(a)||R(t,"ignore","custom-elements")&&L$(a.value)||R(t,"ignore","default-namespace")&&typeof a.namespace!="string"||R(t,"ignoreNamespaces",a.namespace)||R(t,"ignoreTypes",a.value)||qG(a)||WG(a))return;let s=a.value,l=s.toLowerCase(),u=[...kA.default,"hatch","hatchpath","hatchPath"];if(RN.has(l)||u.includes(s)||Mk.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:Xb.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Uu,result:n})})))})},Vu.ruleName=Uu,Vu.messages=Xb,Vu.meta=xA,C5=Vu}),A5={};N(A5,{default:()=>N5});function iw(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return UG(i,o,a,s)?[e]:VG(i,o,a,s)?[e,t]:QG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function UG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function VG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function QG(e,t,r,n){return t===n}function GG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Cc.default)(e).nodes){if(hN(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(Hi(a)&&(n?o=!0:i=!0),Jc(a)||An(a)){let s=Cc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function YG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):iw(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):iw(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ie(t),k=w+t.value.length;P({message:Gp.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:gi,fix:{apply:x,node:t}})}var Cc,gi,Gp,CA,AA,NA,Qu,N5,KG=y(()=>{Cc=Z(he(),1),ee(),bt(),Or(),We(),pd(),H(),O(),j(),D(),Tt(),fe(),gi="shorthand-property-no-redundant-values",Gp=I(gi,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),CA={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},AA=new Set(["margin","margin-block","margin-inline","padding","padding-block","padding-inline","border-color","border-style","border-width","border-radius","border-block-color","border-block-style","border-block-width","border-inline-color","border-inline-style","border-inline-width","gap","grid-gap","overflow","overscroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-inline","scroll-padding","scroll-padding-block","scroll-padding-inline","inset","inset-block","inset-inline"]),NA=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),Qu=(e,t)=>(r,n)=>{T(n,gi,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!gt(i)||!Pr(o)||!Re(a))return;let s=He.unprefixed(o.toLowerCase());if(!AA.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:z}=GG(a);if(k){YG(n,i,x,w,S,z);return}}let l=[];for(let x of(0,Cc.default)(a).nodes){if(hN(x)||Hi(x))return;(Jc(x)||An(x))&&l.push(Cc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=iw(u,c,d,p);if(R(t,"ignore","four-into-three-edge-values")&&NA.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ie(i),f=g+i.value.length;P({message:Gp.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:gi,fix:{apply:b,node:i}})})},Qu.ruleName=gi,Qu.messages=Gp,Qu.meta=CA,N5=Qu}),z5={};N(z5,{default:()=>E5});var Gu,Zb,ev,zA,Yu,E5,HG=y(()=>{rt(),ee(),ud(),H(),O(),j(),D(),Gu="string-no-newline",Zb=/\r?\n/,ev=I(Gu,{rejected:"Newline in string"}),zA={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Yu=(e,t)=>(r,n)=>{if(!T(n,Gu,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(R(t,"ignore","at-rule-preludes"))break;o(a,a.params,je);break;case"decl":if(R(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){Zb.test(a.selector)&&ld(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){Zb.test(s)&&kt({css:s},{onParseError:u=>{if(!(u instanceof wr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:ev.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:Gu})}})}},Yu.ruleName=Gu,Yu.messages=ev,Yu.meta=zA,E5=Yu}),P5={};N(P5,{default:()=>O5});var Ku,tv,EA,PA,Hu,O5,JG=y(()=>{rt(),Ji(),V(),ee(),O(),j(),D(),Ku="syntax-string-no-invalid",tv=I(Ku,{rejected:e=>`Invalid syntax string "${e}"`}),EA={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},PA=lk({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,Hu=e=>(t,r)=>{T(r,Ku,{actual:e})&&t.walkAtRules(xe.propertyName,n=>{n.walkDecls(az.syntaxName,i=>{kt({css:i.value}).filter(o=>B8(o)).forEach(o=>{let{error:a}=PA.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:l}=a;if(s!=="SyntaxMatchError"||l!=="Mismatch")return;let u=ie(i);P({message:tv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:Ku})})})})},Hu.ruleName=Ku,Hu.messages=tv,Hu.meta=EA,O5=Hu}),I5={};N(I5,{default:()=>j5});var OA,Ju,rv,IA,jA,Xu,j5,XG=y(()=>{OA=Z(he(),1),$r(),ee(),qe(),Zi(),q(),V(),H(),O(),j(),D(),Tt(),Ju="time-min-milliseconds",rv=I(Ju,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),IA={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},jA=new Set(["animation-delay","transition-delay"]),Xu=(e,t)=>(r,n)=>{if(!T(n,Ju,{actual:e,possible:xr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=R(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=He.unprefixed(c.prop.toLowerCase()),m=(0,OA.default)(Be(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=Xi(h);ON.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),IN.has(p)&&(v=a(f,b,v),!(l(f)||o&&v!==1)&&u(c,g,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&jA.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ie(c)+d,v=m+p;P({result:n,ruleName:Ju,message:rv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},Xu.ruleName=Ju,Xu.messages=rv,Xu.meta=IA,j5=Xu}),T5={};N(T5,{default:()=>D5});var TA,Zu,nv,DA,di,D5,ZG=y(()=>{TA=Z(he(),1),ee(),V(),q(),Zi(),H(),O(),j(),Ht(),D(),Zu="unit-allowed-list",nv=I(Zu,{rejected:e=>`Disallowed unit "${e}"`}),DA={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},di=(e,t)=>(r,n)=>{if(!T(n,Zu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[$t($,U)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,TA.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||R(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=Xi(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&R(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:nv.rejected,messageArgs:[d],node:a,result:n,ruleName:Zu})}))}r.walkAtRules(xe.mediaName,a=>o(a,a.params,je)),r.walkDecls(a=>o(a,a.value,ie))},di.primaryOptionArray=!0,di.ruleName=Zu,di.messages=nv,di.meta=DA,D5=di});function L5(e){if(!F5.test(e.prop))return!1;let t=e.parent;return!t||!Ie(t)?!1:M5.test(t.name)}var F5,M5,R5=y(()=>{fe(),F5=/^unicode-range$/i,M5=/^font-face$/i}),$5={};N($5,{default:()=>B5});function LA(e){return kt({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var ec,iv,FA,pi,B5,eY=y(()=>{rt(),xt(),Jt(),ee(),V(),q(),st(),qe(),R5(),H(),O(),j(),Ht(),D(),ec="unit-disallowed-list",iv=I(ec,{rejected:e=>`Disallowed unit "${e}"`}),FA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},pi=(e,t)=>(r,n)=>{if(!T(n,ec,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[$t($,U)],ignoreMediaFeatureNames:[$t($,U)]}}))return;let i=[e].flat();function o(s){if(!Ke(s))return!1;let l=s.getName().toLowerCase();return l==="url"||R(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==C.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&R(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:iv.rejected,messageArgs:[m],node:s,result:n,ruleName:ec})}r.walkAtRules(xe.mediaName,s=>{let l=at(s);Q.dimension.test(l)&&xd(LA(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Pn(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,je,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(L5(s))return;let l=Be(s);if(!Q.dimension.test(l))return;let u={ignored:!1};En(ro(LA(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},pi.primaryOptionArray=!0,pi.ruleName=ec,pi.messages=iv,pi.meta=FA,B5=pi}),q5={};N(q5,{default:()=>W5});var zp,tc,ov,MA,RA,rc,W5,tY=y(()=>{rt(),xt(),Jt(),ee(),V(),q(),st(),qe(),et(),bt(),We(),R5(),H(),Xc(),O(),j(),D(),Tt(),zp=new Set(iz),zp.delete("x"),tc="unit-no-unknown",ov=I(tc,{rejected:e=>`Unknown unit "${e}"`}),MA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},RA=/^(?:min-|max-)?resolution$/i,rc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,tc,{actual:e},{actual:t,possible:{ignoreUnits:[$,U],ignoreFunctions:[$,U]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([...zp,...d])}else i=zp;let a=d=>{if(!Q.dimension.test(d))return;let p=kt({css:d});if(p.some(m=>m[0]===C.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(Ke(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||R(t,"ignoreFunctions",w)){v.ignored=!0;return}if(He.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==C.Dimension||R(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&v.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(b+1)-f.length;P({message:ov.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:tc})};r.walkAtRules(xe.mediaName,d=>{if(!Ze(d))return;let p=at(d),m=a(p);m&&xd(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Pn(b)){let f=b.getName();RA.test(f)&&(g.allowX=!0)}else(Ke(b)||le(b))&&s(d,je,b,g)},h)})}),r.walkDecls(d=>{if(!gt(d)||L5(d))return;let p=Be(d);if(!Re(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};En(ro(m),({node:h,state:b})=>{b&&(b.ignored||(Ke(h)||le(h))&&s(d,ie,h,b))},v)})},rc.ruleName=tc,rc.messages=ov,rc.meta=MA,W5=rc});function rY(e){let t=e.toLowerCase();return!(JN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var nY=y(()=>{Je()});function iY(e){let t=e.toLowerCase();return!(XN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var oY=y(()=>{Je()}),_5={};N(_5,{default:()=>U5});var $A,nc,av,BA,qA,WA,_A,Ep,ic,U5,aY=y(()=>{$A=Z(he(),1),Je(),q(),ee(),qe(),Zi(),nY(),oY(),We(),V(),H(),O(),j(),D(),nc="value-keyword-case",av=I(nc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),BA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},qA=new Set(["+","-","/","*","%"]),WA=new Set(["grid-row","grid-row-start","grid-row-end"]),_A=new Set(["grid-column","grid-column-start","grid-column-end"]),Ep=new Map;for(let e of ez)Ep.set(e.toLowerCase(),e);ic=(e,t)=>(r,n)=>{T(n,nc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,U],ignoreKeywords:[$,U],ignoreFunctions:[$,U],camelCaseSvgKeywords:[Hc]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Re(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,$A.default)(Be(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(rz.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&R(t,"ignoreFunctions",c))return!1;let{unit:p}=Xi(u);if(u.type!=="word"||!Re(c)||o.includes("#")||qA.has(c)||p||s==="animation"&&!xw.has(d)&&!jc.has(d)||s==="animation-name"&&!jc.has(d)||s==="font"&&!kw.has(d)&&!Xr.has(d)||s==="font-family"&&!Xr.has(d)||s==="counter-increment"&&rY(d)||s==="counter-reset"&&iY(d)||WA.has(s)&&!YN.has(d)||_A.has(s)&&!KN.has(d)||s==="grid-area"&&!HN.has(d)||s==="list-style"&&!ZN.has(d)&&!om.has(d)||s==="list-style-type"&&!om.has(d)||R(t,"ignoreKeywords",c)||R(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&Ep.has(m)&&h?v=Ep.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:av.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:nc,fix:{apply:f,node:i}})})})},ic.ruleName=nc,ic.messages=av,ic.meta=BA,U5=ic}),V5={};N(V5,{default:()=>Q5});var UA,oc,sv,VA,ac,Q5,sY=y(()=>{UA=Z(he(),1),ee(),od(),bt(),Or(),V(),H(),O(),j(),jt(),D(),q(),oc="value-no-vendor-prefix",sv=I(oc,{rejected:e=>`Vendor-prefixed value "${e}"`}),VA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},ac=(e,t)=>(r,n)=>{T(n,oc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,U]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!gt(i)||!Pr(i.prop))return;let a=(0,UA.default)(o);a.walk(s=>{if(!Cr.propertyValue(s.value)||R(t,"ignoreValues",s.value))return;let l=ie(i)+s.sourceIndex,u=()=>{s.value=Cr.unprefix(s.value),It(i,a.toString())};P({message:sv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:oc,fix:{apply:u,node:i}})})})},ac.ruleName=oc,ac.messages=sv,ac.meta=VA,Q5=ac}),lY=Y((e,t)=>{"use strict";t.exports=()=>{}});Lm();var $k={noDeprecation:!0,cwd(){return"/"}},uY=()=>{},cY={};zr();q();zr();zr();function G5(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=($k.noDeprecation?[]:e.messages.filter(s=>s.stylelintType==="deprecation")).map(s=>({text:s.text,reference:s.stylelintReference})),o=e.messages.filter(s=>s.stylelintType==="invalidOption").map(s=>({text:s.text})),a=e.messages.filter(s=>s.stylelintType==="parseError");e.messages=e.messages.filter(s=>s.stylelintType!=="deprecation"&&s.stylelintType!=="invalidOption"&&s.stylelintType!=="parseError"),r={source:n,deprecations:i,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map(s=>({line:s.line,column:s.column,endLine:s.endLine,endColumn:s.endColumn,fix:s.fix,rule:s.rule,severity:s.severity,text:s.text,url:s.url})),ignored:e.stylelint.ignored,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Jr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var dY=(e={})=>{let t=e.cwd||$k.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};uw();var pY=()=>!0,mY=m6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(Q6(),yN)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(G6(),kN)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(Y6(),SN)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(tB(),uz)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(rB(),dz)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(nB(),mz)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(pB(),vz)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(CB(),Lz)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(AB(),Mz)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(NB(),$z)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(zB(),qz)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(OB(),_z)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(jB(),Kz)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(TB(),Jz)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(DB(),eE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(FB(),rE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(MB(),cE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(qB(),pE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(eq(),kE)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(rq(),SE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(oq(),NE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(aq(),EE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(sq(),OE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(lq(),jE)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(dq(),LE)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(hq(),ME)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(fq(),$E)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(gq(),qE)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(yq(),VE)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(wq(),GE)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(kq(),KE)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(Sq(),JE)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(t8(),gL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(r8(),vL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(n8(),wL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(i8(),xL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(a8(),CL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(s8(),EL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(l8(),OL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(d8(),TL)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(p8(),LL)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(m8(),ML)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(h8(),$L)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(f8(),qL)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(H7(),fF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(eU(),yF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(aU(),EF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(sU(),OF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(lU(),jF)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(cU(),DF)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(pU(),FF)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(fU(),RF)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(gU(),_F)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(vU(),VF)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(yU(),KF)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(SU(),XF)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(CU(),rM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(AU(),iM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(NU(),lM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(zU(),cM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(PU(),pM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(OU(),gM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(WU(),TM)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(_U(),LM)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(QU(),MM)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(KU(),$M)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(HU(),qM)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(aV(),_M)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(cV(),VM)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(dV(),YM)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(OV(),h3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(IV(),g3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(jV(),y3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(TV(),k3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(DV(),S3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(LV(),A3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(FV(),z3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(MV(),P3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(RV(),I3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>($V(),T3)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(UV(),L3)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(VV(),R3)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(tQ(),Y3)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(nQ(),J3)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(iQ(),Z3)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(oQ(),tR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(aQ(),nR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(sQ(),oR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(lQ(),sR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(pQ(),uR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(fQ(),vR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(vQ(),wR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(yQ(),xR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(wQ(),CR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(kQ(),NR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(xQ(),ER)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(CQ(),OR)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(AQ(),jR)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(NQ(),DR)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(zQ(),FR)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(DQ(),RR)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(MQ(),qR)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>($Q(),_R)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(qQ(),VR)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(_Q(),GR)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(UQ(),KR)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(VQ(),JR)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(QQ(),ZR)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(KQ(),i$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(HQ(),s$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(XQ(),d$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(eG(),m$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(tG(),f$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(rG(),b$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(nG(),y$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(iG(),k$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(oG(),S$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(aG(),A$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(uG(),z$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(cG(),P$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(dG(),I$)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(kG(),R$)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(xG(),B$)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(SG(),W$)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(CG(),Q$)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(EG(),J$)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(PG(),e5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(jG(),r5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),o5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DG(),s5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(LG(),u5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(FG(),d5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(MG(),m5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(RG(),f5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>($G(),b5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(BG(),y5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(_G(),k5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(KG(),A5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(HG(),z5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(JG(),P5)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(XG(),I5)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZG(),T5)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(eY(),$5)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(tY(),q5)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(aY(),_5)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(sY(),V5))}),QA=new Map;function hY(e){let t=QA.get(e);return t||(t=mY(`./${e}/index.mjs`).then(r=>r.default),QA.set(e,t)),t}var fY=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-no-unknown","value-keyword-case","value-no-vendor-prefix"],Y5={};for(let e of fY)Object.defineProperty(Y5,e,{get(){return hY(e)},enumerable:!0,configurable:!0});var Bk=Y5;function K5(e,t){var r;return gY(e)?Bk[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function gY(e){return e in Bk}q();function bY(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Sr(r)&&Sr(n)?e:[e]}async function vY(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await K5(r,e);i?t[r]=bY(n,i):t[r]=[]}return e.rules=t,e}var yY=(e,t)=>{let r={...t},n=["fix","computeEditInfo","ignoreDisables","quiet","validate"];for(let i of n){let o=e._options[i];o&&(r[i]=i==="fix"||o)}return r},wY=async(e,t,{config:r})=>({config:await vY(yY(e,r))}),H5=({stylelint:e,filePath:t})=>wY(e,t,{config:e._options.config}),kY=()=>[];function xY(e,t){return e.startsWith("_")?void 0:t}function SY(e){return JSON.stringify(e,xY)}var CY=()=>SY;Lm();id();var AY=()=>{};cF();var NY=()=>{};id();var zY=e=>e,J5=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,EY=Li();async function PY(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?zY(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=J5(e._options.fix),s=t!=null?t:await OY(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await NY(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await EY.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function OY(e){return{parse:await(e?Promise.resolve().then(()=>Z(lY(),1)).then(t=>t.default):Li.parse),stringify:Li.stringify}}var IY=async()=>[],jY=()=>{},TY=()=>Promise.resolve(!1),DY=()=>!1;zr();sd();zr();sd();q();fe();Qm();rt();function lv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function LY(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Ft]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,z,A,L,E,B,te,re,we,pe,ae,$e,_e,Ct,Ue,G,K,M,W;if(Yr(w)){if(i){i===w&&(i=null);return}let J=w.next();if(!(!Lc(w)&&Ci(w.text,o)&&J&&Yr(J)&&(w.text.includes("--")||J.text.startsWith("--")))){p(w,w.source,w.text);return}let F=(z=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?z:0,X=w.clone(),me=J;for(;!Lc(me)&&!Ci(me.text,o);){let ve=(E=(L=(A=me.source)==null?void 0:A.end)==null?void 0:L.line)!=null?E:0;if(F+1!==ve)break;X.text+=`
|
|
37
|
-
${
|
|
38
|
-
`,s={configurationComment:r.configurationComment||
|
|
34
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}var rW=y(()=>{tk()}),S0,C0,z0,A0,N0,Qf,sI,nW=y(()=>{rW(),S0=9,C0=10,z0=12,A0=13,N0=32,Qf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),sI=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)}isNameCharCode(e=this.charCode()){return e<128&&Qf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==A0&&t!==C0&&t!==z0&&t!==N0&&t!==S0)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 tW(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Qf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function E0(e){let t=null,r=null;return e.eat(td),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Sh?(e.pos++,e.skipWs(),e.charCode()!==Lm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Lm),{min:Number(t),max:r?Number(r):0}}function iW(e){let t=null,r=!1;switch(e.charCode()){case dk:e.pos++,t={min:0,max:0};break;case xh:e.pos++,t={min:1,max:0};break;case ed:e.pos++,t={min:0,max:1};break;case kh:e.pos++,r=!0,e.charCode()===td?t=E0(e):e.charCode()===ed?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case td:t=E0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function tn(e,t){let r=iW(e);return r!==null?(r.term=t,e.charCode()===kh&&e.charCodeAt(e.pos-1)===xh||e.charCode()===ed&&e.charCodeAt(e.pos-1)===Lm?tn(e,r):r):t}function Yf(e){let t=e.peek();return t===""?null:tn(e,{type:"Token",value:t})}function oW(e){let t;return e.eat(Ch),e.eat(Zc),t=e.scanWord(),e.eat(Zc),e.eat(Dm),tn(e,{type:"Property",name:t})}function aW(e){let t=null,r=null,n=1;return e.eat(Qi),e.charCode()===cy&&(e.peek(),n=-1),n==-1&&e.charCode()===py?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Sh),e.skipWs(),e.charCode()===py?e.peek():(n=1,e.charCode()===cy&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Sn),{type:"Range",min:t,max:r}}function sW(e){let t,r=null;if(e.eat(Ch),t=e.scanWord(),t==="boolean-expr"){e.eat(Qi);let n=wh(e,Sn);return e.eat(Sn),e.eat(Dm),tn(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===uk&&e.nextCharCode()===ck&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Qi&&(e.skipWs(),r=aW(e)),e.eat(Dm),tn(e,{type:"Type",name:t,opts:r})}function lW(e){let t=e.scanWord();return e.charCode()===uk?(e.pos++,{type:"Function",name:t}):tn(e,{type:"Keyword",name:t})}function uW(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>my[i]-my[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function wh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?wh(e,ck):dW(e);if(!s)break;if(s.type!=="Spaces"){if(a){if(s.terms.length===0){a=!1;continue}if(s.combinator===" "){for(;s.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},s.terms.shift());s=s.terms[0]}}s.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[s.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(s),i=s,o=e.pos,a=s.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:uW(n,r)||" ",disallowEmpty:!1,explicit:!1}}function cW(e){let t;return e.eat(Qi),t=wh(e,Sn),e.eat(Sn),t.explicit=!0,e.charCode()===lk&&(e.pos++,t.disallowEmpty=!0),t}function dW(e){let t=e.charCode();switch(t){case Sn:break;case Qi:return tn(e,cW(e));case Ch:return e.nextCharCode()===Zc?oW(e):sW(e);case dy:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===dy?2:1))};case uy:return e.pos++,e.eat(uy),{type:"Combinator",value:"&&"};case Sh:return e.pos++,{type:"Comma"};case Zc:return tn(e,{type:"String",value:e.scanString()});case mI:case uI:case cI:case pI:case dI:return{type:"Spaces",value:e.scanSpaces()};case hI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Yf(e);case dk:case xh:case ed:case kh:case lk:break;case td:if(t=e.nextCharCode(),t<48||t>57)return Yf(e);break;default:return e.isNameCharCode(t)?lW(e):Yf(e)}}function lI(e){let t=new sI(e),r=wh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var uI,cI,dI,pI,mI,lk,kh,uy,Zc,uk,ck,dk,xh,Sh,cy,Ch,Dm,ed,hI,Qi,Sn,td,dy,Lm,py,my,fI=y(()=>{nW(),uI=9,cI=10,dI=12,pI=13,mI=32,lk=33,kh=35,uy=38,Zc=39,uk=40,ck=41,dk=42,xh=43,Sh=44,cy=45,Ch=60,Dm=62,ed=63,hI=64,Qi=91,Sn=93,td=123,dy=124,Lm=125,py=8734,my={" ":1,"&&":2,"||":3,"|":4}}),pW=y(()=>{}),gI=y(()=>{fI(),pW()});function mW(e){let t=[];return fh(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function hW(e,t){return typeof e=="string"?mW(e):t.generate(e,bI)}var bI,fW=y(()=>{mr(),bI={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function vt(e,t,r){return t===Ne&&r===De||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===De&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function vI(e){return e.length>2&&e.charCodeAt(e.length-2)===yI&&e.charCodeAt(e.length-1)===wI}function P0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&vI(e.name)}function _r(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Pc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Pc(e.match,t,r),e.then=Pc(e.then,t,r),e.else=Pc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function hy(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=vt(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(P0(a)&&(i===null&&o>0&&P0(t[o-1])&&(i=Object.create(null),n=vt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(vI(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=vt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=vt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=vt(o,a,n)}return n}}}function gW(e){let t=Ne,r=zi(e.term);if(e.max===0)r=vt(r,zh,De),t=vt(r,null,De),t.then=vt(Ne,Ne,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,vt(Ne,Ne,t),De);if(e.min===0)t=vt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,t,De);return t}function zi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=hy(e.combinator,e.terms.map(zi),!1);return e.disallowEmpty&&(t=vt(t,zh,De)),t}case"Multiplier":return gW(e);case"Boolean":{let t=zi(e.term),r=zi(_r([_r([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),_r([{type:"Type",name:"!boolean-group"},_r([{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=zi(_r([{type:"Type",name:"!term"},_r([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Pc(n,{"!term":t,"!self":r}),Pc(r,{"!boolean-group":n}),r}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 e.value.length===3?{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 kp(e,t){return typeof e=="string"&&(e=lI(e)),{type:"MatchGraph",match:zi(e),syntax:t||null,source:e}}var Ne,De,zh,yI,wI,kI=y(()=>{fI(),Ne={type:"Match"},De={type:"Mismatch"},zh={type:"DisallowEmpty"},yI=40,wI=41});function bW(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Gf(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function vW(e){return e.type!==9?!1:e.value!=="?"}function I0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||vW(e)}function O0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function yW(e,t,r){function n(){do f++,g=f<e.length?e[f]:null;while(g!==null&&(g.type===13||g.type===25))}function i(k){let S=f+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:f,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:SI,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:Fm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===Fm?w=w.prev:w={type:pk,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,g=null,f=-1,x=0,w={type:xI,syntax:null,token:null,prev:null};for(n();b===null&&++h<by;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=De;break}b=gy;break}if(t=p.nextState,t===zh)if(p.matchStack===w){t=De;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||f>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=CI;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,f=m.tokenIndex,g=f<e.length?e[f]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==Ne&&a(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(t.mask===0||t.syntax.all){t=De;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.length;t.index++){let z=1<<t.index;if((t.mask&z)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|z}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let E=g.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),fy.call(t.map,E)){t=t.map[E];break}}t=De;break;case"Generic":{let E=d!==null?d.opts:null,z=f+Math.floor(t.fn(g,i,E));if(!isNaN(z)&&z>f){for(;f<z;)l();t=Ne}else t=De;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",z=fy.call(r,E)?r[E][t.name]:null;if(!z||!z.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=z.matchRef||z.match;break}case"Keyword":{let E=t.name;if(g!==null){let z=g.value;if(z.indexOf("\\")!==-1&&(z=z.replace(/\\[09].*$/,"")),Gf(z,E)){l(),t=Ne;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Gf(g.value,t.name)){l(),t=Ne;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=Ne;break}t=De;break;case"Comma":g!==null&&g.type===18?I0(w.token)?t=De:(l(),t=O0(g)?De:Ne):t=I0(w.token)||O0(g)?Ne:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Gf(k,t.value)){for(;f<S;)l();t=Ne}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(AI+=h,b){case null:console.warn("[csstree-match] BREAK after "+by+" iterations"),b=zI,w=null;break;case gy:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function j0(e,t,r){let n=yW(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=bW(i).prev;i!==null;){switch(i.type){case Fm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case pk:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var fy,xI,SI,Fm,pk,gy,CI,zI,by,AI,wW=y(()=>{kI(),{hasOwnProperty:fy}=Object.prototype,xI=0,SI=1,Fm=2,pk=3,gy="Match",CI="Mismatch",zI="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",by=15e3,AI=0}),NI={};A(NI,{getTrace:()=>EI,isKeyword:()=>SW,isProperty:()=>xW,isType:()=>kW});function EI(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function kW(e,t){return mk(this,e,r=>r.type==="Type"&&r.name===t)}function xW(e,t){return mk(this,e,r=>r.type==="Property"&&r.name===t)}function SW(e){return mk(this,e,t=>t.type==="Keyword")}function mk(e,t,r){let n=EI.call(e,t);return n===null?!1:n.some(r)}var CW=y(()=>{});function Kf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function T0(e){return!!e&&Kf(e.offset)&&Kf(e.line)&&Kf(e.column)}function zW(e,t){return function(r,n){if(!r||r.constructor!==Object)return n(r,"Type of node should be an Object");for(let i in r){let o=!0;if(Fi.call(r,i)!==!1){if(i==="type")r.type!==e&&n(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!T0(r.loc.start))i+=".start";else if(!T0(r.loc.end))i+=".end";else continue;o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let a=0;!o&&a<t[i].length;a++){let s=t[i][a];switch(s){case String:o=typeof r[i]=="string";break;case Boolean:o=typeof r[i]=="boolean";break;case null:o=r[i]===null;break;default:typeof s=="string"?o=r[i]&&r[i].type===s:Array.isArray(s)&&(o=r[i]instanceof Xc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Fi.call(t,i)&&Fi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function PI(e,t){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(PI(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function AW(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Fi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=PI(a,e+"."+o)}return{docs:i,check:zW(e,n)}}function NW(e){let t={};if(e.node){for(let r in e.node)if(Fi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=AW(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Fi,EW=y(()=>{ek(),{hasOwnProperty:Fi}=Object.prototype});function PW(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function IW(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...NI}}function xp(e,t,r,n){let i=hW(r,e.syntax),o;return PW(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=j0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=j0(i,t.match,e),!o.match)?Gr(null,new BP(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var vy,OW=y(()=>{j9(),ik(),ok(),Z9(),eW(),gI(),fW(),kI(),wW(),CW(),EW(),vy=class{constructor(e,t,r){if(this.cssWideKeywords=bh,this.syntax=t,this.generic=!1,this.units={...ly},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||NW(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(ly))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(J9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=kp(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=kp(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:lI(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:kp(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=IW(a)?kp({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}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((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),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 Zp("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!xp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=em(t);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[i.name]&&!n.descriptors[i.basename])return new Zp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Zp("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?xp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=em(t);return xp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(oy(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):xp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=em(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=oy(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Hf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function jW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Xf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?jW(o,r):o};return n}function yy(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Hf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Hf(l.descriptors[u],c):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Hf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Xf(e[n],i);break;case"atrule":case"pseudo":r[n]=Xf(e[n],i,["parse"]);break;case"node":r[n]=Xf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var TW=y(()=>{});function II(e){let t=m9(e),r=S9(e),n=v9(e),{fromPlainObject:i,toPlainObject:o}=$P(r),a={lexer:null,createLexer:s=>new vy(s,a,a.lexer.structure),tokenize:fh,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=yy({},e);return II(typeof s=="function"?s(l):yy(l,s))}};return a.lexer=new vy({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var OI,DW=y(()=>{mr(),h9(),y9(),w9(),C9(),OW(),TW(),OI=e=>II(yy({},e))}),jI,LW=y(()=>{jI={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],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>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","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>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","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|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-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 [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","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>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","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>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","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()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"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","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|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( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","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( <radial-size>? [at <position>]? )","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>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","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-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","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>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|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>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","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>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <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> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"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","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","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]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","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":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","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>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","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( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","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>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","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":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","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|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","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]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","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>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","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>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-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":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-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","-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>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","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,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-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","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-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-content-zooming":"none|zoom","-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-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-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-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-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>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-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","-webkit-user-select":"auto|none|text|all","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>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","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-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-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":"<visual-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>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","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-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","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-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","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 [0,∞]>{1,4} [/ <length-percentage [0,∞]>{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>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","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",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","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","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","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":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","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]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-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","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","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-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","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||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","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-emoji":"normal|text|emoji|unicode","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-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|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'>",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'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","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]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","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:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",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":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-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|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|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:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","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","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",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-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"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-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","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":"<'opacity'>","stroke-width":"<svg-length>","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-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","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-inset":"<length>{1,2}|auto","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":"auto|[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-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","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-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","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|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-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":"[<visual-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",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",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","position-try-options":"<'position-try-fallbacks'>",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",speak:"auto|never|always","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>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<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>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},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-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","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},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},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]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}}}),TI={};A(TI,{generate:()=>FW,name:()=>FI,parse:()=>DI,structure:()=>MI});function rm(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Pt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)pt(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ai(e){return rm.call(this,0,e)}function Ur(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case Ic:r="N is expected";break;case Pt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Jf(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(Pt,e)){t=this.isDelim(rr,e)?rr:Pt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ai.call(this,Yr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Pt&&this.error("Number sign is expected")),Ai.call(this,t!==0),t===Pt?"-"+this.consume(10):this.consume(10)}function DI(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ai.call(this,LI),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Pt))switch(t="-1",Ur.call(this,1,Ic),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Jf.call(this);break;case 3:Ur.call(this,2,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,2,Pt),rm.call(this,3,Yr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),Ur.call(this,0,Ic),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Jf.call(this);break;case 2:Ur.call(this,1,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,1,Pt),rm.call(this,2,Yr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Pt,o=this.tokenStart+i;for(;o<this.tokenEnd&&pt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ur.call(this,o-this.tokenStart,Ic),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Jf.call(this)):(Ur.call(this,o-this.tokenStart+1,Pt),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10)):(rm.call(this,o-this.tokenStart+2,Yr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function FW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,Pt,Ic,Yr,LI,FI,MI,RI=y(()=>{mr(),rr=43,Pt=45,Ic=110,Yr=!0,LI=!1,FI="AnPlusB",MI={a:[String,null],b:[String,null]}}),$I={};A($I,{generate:()=>RW,name:()=>qI,parse:()=>BI,structure:()=>_I,walkContext:()=>WI});function D0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function MW(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function BI(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),D0):i=D0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(MW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function RW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var qI,WI,_I,UI=y(()=>{qI="Atrule",WI="atrule",_I={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),VI={};A(VI,{generate:()=>$W,name:()=>YI,parse:()=>QI,structure:()=>KI,walkContext:()=>GI});function QI(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function $W(e){this.children(e)}var YI,GI,KI,HI=y(()=>{YI="AtrulePrelude",GI="atrulePrelude",KI={children:[[]]}}),XI={};A(XI,{generate:()=>WW,name:()=>rO,parse:()=>JI,structure:()=>nO});function BW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(hk)?(t=!0,this.next()):this.isDelim(Mm)||this.eat(1),this.isDelim(Mm)?this.charCodeAt(this.tokenStart+1)!==Oc?(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 qW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Oc&&t!==tO&&t!==eO&&t!==ZI&&t!==hk&&t!==Mm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Oc&&(this.isDelim(Oc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function JI(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=BW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=qW.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function WW(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var ZI,hk,Oc,eO,Mm,tO,rO,nO,iO=y(()=>{ZI=36,hk=42,Oc=61,eO=94,Mm=124,tO=126,rO="AttributeSelector",nO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),oO={};A(oO,{generate:()=>UW,name:()=>uO,parse:()=>sO,structure:()=>dO,walkContext:()=>cO});function aO(){return this.Raw(null,!0)}function L0(){return this.parseWithFallback(this.Rule,aO)}function F0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function _W(){if(this.tokenType===17)return F0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,F0);return this.tokenType===17&&this.next(),e}function sO(e){let t=e?_W:L0,r=this.tokenStart,n=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:n.push(this.parseWithFallback(this.Atrule.bind(this,e),aO));break;default:e&&this.isDelim(lO)?n.push(L0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function UW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var lO,uO,cO,dO,pO=y(()=>{lO=38,uO="Block",cO="block",dO={children:[["Atrule","Rule","Declaration"]]}}),mO={};A(mO,{generate:()=>VW,name:()=>fO,parse:()=>hO,structure:()=>gO});function hO(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function VW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var fO,gO,bO=y(()=>{fO="Brackets",gO={children:[[]]}}),vO={};A(vO,{generate:()=>QW,name:()=>wO,parse:()=>yO,structure:()=>kO});function yO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function QW(){this.token(15,"-->")}var wO,kO,xO=y(()=>{wO="CDC",kO=[]}),SO={};A(SO,{generate:()=>YW,name:()=>zO,parse:()=>CO,structure:()=>AO});function CO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function YW(){this.token(14,"<!--")}var zO,AO,NO=y(()=>{zO="CDO",AO=[]}),EO={};A(EO,{generate:()=>GW,name:()=>OO,parse:()=>PO,structure:()=>jO});function PO(){return this.eatDelim(IO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function GW(e){this.token(9,"."),this.token(1,e.name)}var IO,OO,jO,TO=y(()=>{IO=46,OO="ClassSelector",jO={name:String}}),DO={};A(DO,{generate:()=>KW,name:()=>$O,parse:()=>LO,structure:()=>BO});function LO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case MO:case FO:case RO:this.next();break;case wy:this.next(),this.eatIdent("deep"),this.eatDelim(wy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function KW(e){this.tokenize(e.name)}var FO,wy,MO,RO,$O,BO,qO=y(()=>{FO=43,wy=47,MO=62,RO=126,$O="Combinator",BO={name:String}}),WO={};A(WO,{generate:()=>HW,name:()=>QO,parse:()=>_O,structure:()=>YO});function _O(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===UO&&this.charCodeAt(t-1)===VO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function HW(e){this.token(25,"/*"+e.value+"*/")}var UO,VO,QO,YO,GO=y(()=>{UO=42,VO=47,QO="Comment",YO={value:String}}),KO={};A(KO,{generate:()=>XW,name:()=>JO,parse:()=>HO,structure:()=>ZO});function M0(e){return this.lookupTypeNonSC(1)===1&&XO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function HO(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>ej[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function XW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var XO,JO,ZO,ej,tj=y(()=>{XO=new Set([16,22,0]),JO="Condition",ZO={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},ej={media:M0,container:M0,supports(){return this.SupportsDeclaration()}}}),rj={};A(rj,{generate:()=>t_,name:()=>uj,parse:()=>nj,structure:()=>dj,walkContext:()=>cj});function JW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function ZW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function e_(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(fk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function nj(){let e=this.tokenStart,t=this.tokenIndex,r=r_.call(this),n=nk(r),i=n?this.parseCustomProperty:this.parseValue,o=n?ZW:JW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(e_,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(fk)&&(a=n_.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function t_(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function r_(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case sj:case oj:case lj:case ij:case aj:this.next();break;case ky:this.next(),this.isDelim(ky)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function n_(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var fk,ij,oj,aj,sj,lj,ky,uj,cj,dj,pj=y(()=>{ik(),fk=33,ij=35,oj=36,aj=38,sj=42,lj=43,ky=47,uj="Declaration",cj="declaration",dj={important:[Boolean,String],property:String,value:["Value","Raw"]}}),mj={};A(mj,{generate:()=>i_,name:()=>gj,parse:()=>hj,structure:()=>bj});function Zf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function hj(){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),Zf));break;default:this.isDelim(fj)?e.push(this.parseWithFallback(this.Rule,Zf)):e.push(this.parseWithFallback(this.Declaration,Zf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function i_(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var fj,gj,bj,vj=y(()=>{fj=38,gj="DeclarationList",bj={children:[["Declaration","Atrule","Rule"]]}}),yj={};A(yj,{generate:()=>o_,name:()=>kj,parse:()=>wj,structure:()=>xj});function wj(){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 o_(e){this.token(12,e.value+e.unit)}var kj,xj,Sj=y(()=>{kj="Dimension",xj={value:String,unit:String}}),Cj={};A(Cj,{generate:()=>a_,name:()=>Nj,parse:()=>zj,structure:()=>Ej});function zj(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Aj)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function a_(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var Aj,Nj,Ej,Pj=y(()=>{Aj=47,Nj="Feature",Ej={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),Ij={};A(Ij,{generate:()=>l_,name:()=>jj,parse:()=>Oj,structure:()=>Tj});function s_(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Oj(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=s_.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function l_(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var jj,Tj,Dj=y(()=>{jj="FeatureFunction",Tj={kind:String,feature:String,value:["Declaration","Selector"]}}),Lj={};A(Lj,{generate:()=>u_,name:()=>$j,parse:()=>Fj,structure:()=>Bj});function eg(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(xy,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(xy)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function R0(e){if(this.skipSC(),this.isDelim(Mj)||this.isDelim(Rj)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Sy)?(this.next(),t+"="):t}if(this.isDelim(Sy))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Fj(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=eg.call(this),n=R0.call(this,r.type==="Identifier"),i=eg.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=R0.call(this),a=eg.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function u_(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var xy,Mj,Sy,Rj,$j,Bj,qj=y(()=>{xy=47,Mj=60,Sy=61,Rj=62,$j="FeatureRange",Bj={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}}),Wj={};A(Wj,{generate:()=>c_,name:()=>Uj,parse:()=>_j,structure:()=>Qj,walkContext:()=>Vj});function _j(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=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:n,children:o}}function c_(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var Uj,Vj,Qj,Yj=y(()=>{Uj="Function",Vj="function",Qj={name:String,children:[[]]}}),Gj={};A(Gj,{generate:()=>d_,name:()=>Hj,parse:()=>Kj,structure:()=>Xj});function Kj(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function d_(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var Hj,Xj,Jj=y(()=>{Hj="GeneralEnclosed",Xj={kind:String,function:[String,null],children:[[]]}}),Zj={};A(Zj,{generate:()=>p_,name:()=>rT,parse:()=>eT,structure:()=>nT,xxx:()=>tT});function eT(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function p_(e){this.token(4,"#"+e.value)}var tT,rT,nT,iT=y(()=>{tT="XXX",rT="Hash",nT={value:String}}),oT={};A(oT,{generate:()=>m_,name:()=>sT,parse:()=>aT,structure:()=>lT});function aT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function m_(e){this.token(1,e.name)}var sT,lT,uT=y(()=>{sT="Identifier",lT={name:String}}),cT={};A(cT,{generate:()=>h_,name:()=>pT,parse:()=>dT,structure:()=>mT});function dT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function h_(e){this.token(9,"#"+e.name)}var pT,mT,hT=y(()=>{pT="IdSelector",mT={name:String}}),fT={};A(fT,{generate:()=>f_,name:()=>vT,parse:()=>gT,structure:()=>yT});function gT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(bT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function f_(e){this.tokenize(e.name)}var bT,vT,yT,wT=y(()=>{bT=46,vT="Layer",yT={name:String}}),kT={};A(kT,{generate:()=>g_,name:()=>ST,parse:()=>xT,structure:()=>CT});function xT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function g_(e){this.children(e,()=>this.token(18,","))}var ST,CT,zT=y(()=>{ST="LayerList",CT={children:[["Layer"]]}}),AT={};A(AT,{generate:()=>b_,name:()=>ET,parse:()=>NT,structure:()=>PT});function NT(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function b_(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var ET,PT,IT=y(()=>{ET="MediaQuery",PT={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),OT={};A(OT,{generate:()=>v_,name:()=>TT,parse:()=>jT,structure:()=>DT});function jT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function v_(e){this.children(e,()=>this.token(18,","))}var TT,DT,LT=y(()=>{TT="MediaQueryList",DT={children:[["MediaQuery"]]}}),FT={};A(FT,{generate:()=>y_,name:()=>$T,parse:()=>MT,structure:()=>BT});function MT(){let e=this.tokenStart;return this.eatDelim(RT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function y_(){this.token(9,"&")}var RT,$T,BT,qT=y(()=>{RT=38,$T="NestingSelector",BT={}}),WT={};A(WT,{generate:()=>w_,name:()=>UT,parse:()=>_T,structure:()=>VT});function _T(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function w_(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var UT,VT,QT=y(()=>{UT="Nth",VT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),YT={};A(YT,{generate:()=>k_,name:()=>KT,parse:()=>GT,structure:()=>HT});function GT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function k_(e){this.token(10,e.value)}var KT,HT,XT=y(()=>{KT="Number",HT={value:String}}),JT={};A(JT,{generate:()=>x_,name:()=>e4,parse:()=>ZT,structure:()=>t4});function ZT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function x_(e){this.tokenize(e.value)}var e4,t4,r4=y(()=>{e4="Operator",t4={value:String}}),n4={};A(n4,{generate:()=>S_,name:()=>o4,parse:()=>i4,structure:()=>a4});function i4(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function S_(e){this.token(21,"("),this.children(e),this.token(22,")")}var o4,a4,s4=y(()=>{o4="Parentheses",a4={children:[[]]}}),l4={};A(l4,{generate:()=>C_,name:()=>c4,parse:()=>u4,structure:()=>d4});function u4(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function C_(e){this.token(11,e.value+"%")}var c4,d4,p4=y(()=>{c4="Percentage",d4={value:String}}),m4={};A(m4,{generate:()=>z_,name:()=>f4,parse:()=>h4,structure:()=>b4,walkContext:()=>g4});function h4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function z_(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var f4,g4,b4,v4=y(()=>{f4="PseudoClassSelector",g4="function",b4={name:String,children:[["Raw"],null]}}),y4={};A(y4,{generate:()=>A_,name:()=>k4,parse:()=>w4,structure:()=>S4,walkContext:()=>x4});function w4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function A_(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var k4,x4,S4,C4=y(()=>{k4="PseudoElementSelector",x4="function",S4={name:String,children:[["Raw"],null]}}),z4={};A(z4,{generate:()=>N_,name:()=>N4,parse:()=>A4,structure:()=>E4});function $0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function A4(){let e=this.tokenStart,t=$0.call(this),r=null;return this.skipSC(),this.isDelim(Cy)&&(this.eatDelim(Cy),r=$0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function N_(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Cy,N4,E4,P4=y(()=>{Cy=47,N4="Ratio",E4={left:["Number","Function"],right:["Number","Function",null]}}),I4={};A(I4,{generate:()=>P_,name:()=>j4,parse:()=>O4,structure:()=>T4});function E_(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function O4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=E_.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function P_(e){this.tokenize(e.value)}var j4,T4,D4=y(()=>{j4="Raw",T4={value:String}}),L4={};A(L4,{generate:()=>O_,name:()=>M4,parse:()=>F4,structure:()=>$4,walkContext:()=>R4});function B0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function I_(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function F4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(I_,B0):r=B0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function O_(e){this.node(e.prelude),this.node(e.block)}var M4,R4,$4,B4=y(()=>{M4="Rule",R4="rule",$4={prelude:["SelectorList","Raw"],block:["Block"]}}),q4={};A(q4,{generate:()=>j_,name:()=>_4,parse:()=>W4,structure:()=>U4});function W4(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function j_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var _4,U4,V4=y(()=>{_4="Scope",U4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),Q4={};A(Q4,{generate:()=>T_,name:()=>G4,parse:()=>Y4,structure:()=>K4});function Y4(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function T_(e){this.children(e)}var G4,K4,H4=y(()=>{G4="Selector",K4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),X4={};A(X4,{generate:()=>D_,name:()=>Z4,parse:()=>J4,structure:()=>tD,walkContext:()=>eD});function J4(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function D_(e){this.children(e,()=>this.token(18,","))}var Z4,eD,tD,rD=y(()=>{Z4="SelectorList",eD="selector",tD={children:[["Selector","Raw"]]}}),nD={};A(nD,{decode:()=>gk,encode:()=>iD});function gk(e){let t=e.length,r=e.charCodeAt(0),n=r===bk||r===vk?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let s=e.charCodeAt(a);if(s===Rm){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),wr(Rm,s)){let l=a-1,u=Ui(e,l);a=u-1,o+=CP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function iD(e,t){let r=t?"'":'"',n=t?vk:bk,i="",o=!1;for(let a=0;a<e.length;a++){let s=e.charCodeAt(a);if(s===0){i+="�";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===Rm?(i+="\\"+e.charAt(a),o=!1):(o&&(en(s)||xn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Rm,bk,vk,yk=y(()=>{mr(),Rm=92,bk=34,vk=39}),oD={};A(oD,{generate:()=>L_,name:()=>sD,parse:()=>aD,structure:()=>lD});function aD(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:gk(this.consume(5))}}function L_(e){this.token(5,iD(e.value))}var sD,lD,uD=y(()=>{yk(),sD="String",lD={value:String}}),cD={};A(cD,{generate:()=>F_,name:()=>mD,parse:()=>dD,structure:()=>fD,walkContext:()=>hD});function q0(){return this.Raw(null,!1)}function dD(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==pD){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,q0);break;default:r=this.parseWithFallback(this.Rule,q0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function F_(e){this.children(e)}var pD,mD,hD,fD,gD=y(()=>{pD=33,mD="StyleSheet",hD="stylesheet",fD={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),bD={};A(bD,{generate:()=>M_,name:()=>yD,parse:()=>vD,structure:()=>wD});function vD(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function M_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var yD,wD,kD=y(()=>{yD="SupportsDeclaration",wD={declaration:"Declaration"}}),xD={};A(xD,{generate:()=>R_,name:()=>zD,parse:()=>SD,structure:()=>AD});function tg(){this.tokenType!==1&&this.isDelim(CD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function SD(){let e=this.tokenStart;return this.isDelim(zy)?(this.next(),tg.call(this)):(tg.call(this),this.isDelim(zy)&&(this.next(),tg.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function R_(e){this.tokenize(e.name)}var CD,zy,zD,AD,ND=y(()=>{CD=42,zy=124,zD="TypeSelector",AD={name:String}}),ED={};A(ED,{generate:()=>q_,name:()=>ID,parse:()=>PD,structure:()=>OD});function xc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===kk&&t&&r!==0)return xc.call(this,e+r+1,!1),-1;en(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Sp(e){let t=0;for(;this.isDelim($m);)++t>e&&this.error("Too many question marks"),this.next()}function $_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===wk?"Plus sign":"Hyphen minus")+" is expected")}function B_(){let e=0;switch(this.tokenType){case 10:if(e=xc.call(this,1,!0),this.isDelim($m)){Sp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){$_.call(this,kk),xc.call(this,1,!1);break}break;case 12:e=xc.call(this,1,!0),e>0&&Sp.call(this,6-e);break;default:if(this.eatDelim(wk),this.tokenType===1){e=xc.call(this,0,!0),e>0&&Sp.call(this,6-e);break}if(this.isDelim($m)){this.next(),Sp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function PD(){let e=this.tokenStart;return this.eatIdent("u"),B_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function q_(e){this.tokenize(e.value)}var wk,kk,$m,ID,OD,jD=y(()=>{mr(),wk=43,kk=45,$m=63,ID="UnicodeRange",OD={value:String}});function W_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===xk?t-2:t-1,i="";for(;r<n&&xn(e.charCodeAt(r));)r++;for(;r<n&&xn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===Bm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),wr(Bm,a)){let s=o-1,l=Ui(e,s);o=l-1,i+=CP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function __(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===TD||i===Bm||i===DD||i===LD||i===FD||i===xk?(t+="\\"+e.charAt(n),r=!1):(r&&en(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var TD,Bm,DD,LD,FD,xk,MD=y(()=>{mr(),TD=32,Bm=92,DD=34,LD=39,FD=40,xk=41}),RD={};A(RD,{generate:()=>U_,name:()=>BD,parse:()=>$D,structure:()=>qD});function $D(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=W_(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(),t=gk(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(e,this.tokenStart),value:t}}function U_(e){this.token(7,__(e.value))}var BD,qD,WD=y(()=>{MD(),yk(),BD="Url",qD={value:String}}),_D={};A(_D,{generate:()=>V_,name:()=>VD,parse:()=>UD,structure:()=>QD});function UD(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function V_(e){this.children(e)}var VD,QD,YD=y(()=>{VD="Value",QD={children:[[]]}}),GD={};A(GD,{generate:()=>Q_,name:()=>XD,parse:()=>KD,structure:()=>JD});function KD(){return this.eat(13),HD}function Q_(e){this.token(13,e.value)}var HD,XD,JD,ZD=y(()=>{HD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),XD="WhiteSpace",JD={value:String}}),Sk={};A(Sk,{AnPlusB:()=>TI,Atrule:()=>$I,AtrulePrelude:()=>VI,AttributeSelector:()=>XI,Block:()=>oO,Brackets:()=>mO,CDC:()=>vO,CDO:()=>SO,ClassSelector:()=>EO,Combinator:()=>DO,Comment:()=>WO,Condition:()=>KO,Declaration:()=>rj,DeclarationList:()=>mj,Dimension:()=>yj,Feature:()=>Cj,FeatureFunction:()=>Ij,FeatureRange:()=>Lj,Function:()=>Wj,GeneralEnclosed:()=>Gj,Hash:()=>Zj,IdSelector:()=>cT,Identifier:()=>oT,Layer:()=>fT,LayerList:()=>kT,MediaQuery:()=>AT,MediaQueryList:()=>OT,NestingSelector:()=>FT,Nth:()=>WT,Number:()=>YT,Operator:()=>JT,Parentheses:()=>n4,Percentage:()=>l4,PseudoClassSelector:()=>m4,PseudoElementSelector:()=>y4,Ratio:()=>z4,Raw:()=>I4,Rule:()=>L4,Scope:()=>q4,Selector:()=>Q4,SelectorList:()=>X4,String:()=>oD,StyleSheet:()=>cD,SupportsDeclaration:()=>bD,TypeSelector:()=>xD,UnicodeRange:()=>ED,Url:()=>RD,Value:()=>_D,WhiteSpace:()=>GD});var eL=y(()=>{RI(),UI(),HI(),iO(),pO(),bO(),xO(),NO(),TO(),qO(),GO(),tj(),pj(),vj(),Sj(),Pj(),Dj(),qj(),Yj(),Jj(),iT(),uT(),hT(),wT(),zT(),IT(),LT(),qT(),QT(),XT(),r4(),s4(),p4(),v4(),C4(),P4(),D4(),B4(),V4(),H4(),rD(),uD(),gD(),kD(),ND(),jD(),WD(),YD(),ZD()}),tL,Y_=y(()=>{ok(),LW(),eL(),tL={generic:!0,cssWideKeywords:bh,...jI,node:Sk}});function rL(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,sL)&&this.cmpChar(this.tokenStart+1,Ay)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===aL||t===iL||t===Ay||t===oL)return this.Operator();t===nL&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var nL,iL,Ay,oL,aL,sL,lL=y(()=>{nL=35,iL=42,Ay=43,oL=45,aL=47,sL=117}),uL,G_=y(()=>{lL(),uL={getNode:rL}});function K_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function H_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Ny&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case mL:case fL:case bL:case hL:return this.Combinator();case Ny:return this.ClassSelector();case pL:case gL:return this.TypeSelector();case cL:return this.IdSelector();case dL:return this.NestingSelector()}break}}}var cL,dL,pL,mL,hL,Ny,fL,gL,bL,vL,X_=y(()=>{cL=35,dL=38,pL=42,mL=43,hL=47,Ny=46,fL=62,gL=124,bL=126,vL={onWhiteSpace:K_,getNode:H_}});function J_(){return this.createSingleNodeList(this.Raw(null,!1))}var Z_=y(()=>{});function e8(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var t8=y(()=>{});function W0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var yL,r8=y(()=>{lL(),Z_(),t8(),yL={getNode:rL,onWhiteSpace(e,t){W0(e)&&(e.value=" "+e.value),W0(t.last)&&(t.last.value+=" ")},expression:J_,var:e8}}),wL={};A(wL,{AtrulePrelude:()=>uL,Selector:()=>vL,Value:()=>yL});var n8=y(()=>{G_(),X_(),r8()}),_0,kL,i8=y(()=>{_0=new Set(["none","and","not","or"]),kL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);_0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),xL,o8=y(()=>{xL={parse:{prelude:null,block(){return this.Block(!0)}}}}),rg,SL,a8=y(()=>{rg={},SL={parse:{prelude(){let e=this.createList();switch(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 this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,rg)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,rg)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),CL,s8=y(()=>{CL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),zL,l8=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),AL,u8=y(()=>{AL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),NL,c8=y(()=>{NL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),EL,d8=y(()=>{EL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),PL,p8=y(()=>{PL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),IL,m8=y(()=>{IL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),OL,h8=y(()=>{i8(),o8(),a8(),s8(),l8(),u8(),c8(),d8(),p8(),m8(),OL={container:kL,"font-face":xL,import:SL,layer:CL,media:zL,nest:AL,page:NL,scope:EL,"starting-style":PL,supports:IL}});function f8(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var g8=y(()=>{}),Vr,Cp,U0,V0,Sa,jL,b8=y(()=>{g8(),Vr={parse(){return this.createSingleNodeList(this.SelectorList())}},Cp={parse(){return this.createSingleNodeList(this.Selector())}},U0={parse(){return this.createSingleNodeList(this.Identifier())}},V0={parse:f8},Sa={parse(){return this.createSingleNodeList(this.Nth())}},jL={dir:U0,has:Vr,lang:V0,matches:Vr,is:Vr,"-moz-any":Vr,"-webkit-any":Vr,where:Vr,not:Vr,"nth-child":Sa,"nth-last-child":Sa,"nth-last-of-type":Sa,"nth-of-type":Sa,slotted:Cp,host:Cp,"host-context":Cp}}),TL={};A(TL,{AnPlusB:()=>DI,Atrule:()=>BI,AtrulePrelude:()=>QI,AttributeSelector:()=>JI,Block:()=>sO,Brackets:()=>hO,CDC:()=>yO,CDO:()=>CO,ClassSelector:()=>PO,Combinator:()=>LO,Comment:()=>_O,Condition:()=>HO,Declaration:()=>nj,DeclarationList:()=>hj,Dimension:()=>wj,Feature:()=>zj,FeatureFunction:()=>Oj,FeatureRange:()=>Fj,Function:()=>_j,GeneralEnclosed:()=>Kj,Hash:()=>eT,IdSelector:()=>dT,Identifier:()=>aT,Layer:()=>gT,LayerList:()=>xT,MediaQuery:()=>NT,MediaQueryList:()=>jT,NestingSelector:()=>MT,Nth:()=>_T,Number:()=>GT,Operator:()=>ZT,Parentheses:()=>i4,Percentage:()=>u4,PseudoClassSelector:()=>h4,PseudoElementSelector:()=>w4,Ratio:()=>A4,Raw:()=>O4,Rule:()=>F4,Scope:()=>W4,Selector:()=>Y4,SelectorList:()=>J4,String:()=>aD,StyleSheet:()=>dD,SupportsDeclaration:()=>vD,TypeSelector:()=>SD,UnicodeRange:()=>PD,Url:()=>$D,Value:()=>UD,WhiteSpace:()=>KD});var v8=y(()=>{RI(),UI(),HI(),iO(),pO(),bO(),xO(),NO(),TO(),qO(),GO(),tj(),pj(),vj(),Sj(),Pj(),Dj(),qj(),Yj(),Jj(),iT(),uT(),hT(),wT(),zT(),IT(),LT(),qT(),QT(),XT(),r4(),s4(),p4(),v4(),C4(),P4(),D4(),B4(),V4(),H4(),rD(),uD(),gD(),kD(),ND(),jD(),WD(),YD(),ZD()}),DL,y8=y(()=>{n8(),h8(),b8(),v8(),DL={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:wL,atrule:OL,pseudo:jL,node:TL}}),LL,w8=y(()=>{eL(),LL={node:Sk}}),FL,k8=y(()=>{DW(),Y_(),y8(),w8(),FL=OI({...tL,...DL,...LL})}),x8=y(()=>{}),S8=G(()=>{}),C8,z8,qr,A8,ML,N8,Ni,Ck,E8,P8,I8,O8,zk,On=y(()=>{k8(),x8(),ek(),gI(),ik(),C8=X(S8(),1),yk(),MD(),{tokenize:z8,parse:qr,generate:A8,lexer:ML,createLexer:N8,walk:Ni,find:Ck,findLast:E8,findAll:P8,toPlainObject:I8,fromPlainObject:O8,fork:zk}=FL}),RL={};A(RL,{default:()=>$L});var Vn,zp,Q0,Ca,ng,Y0,za,$L,j8=y(()=>{On(),q(),Pr(),mh(),pr(),jr(),_e(),Ke(),K(),I(),j(),D(),Dt(),Vn="declaration-block-no-duplicate-properties",zp=O(Vn,{rejected:e=>`Duplicate property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Ca=e=>"children"in e&&e.children instanceof Xc,ng=(e,t,r)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=t[n];if(typeof i>"u"||typeof o>"u"||i.type!==o.type)return!1;let a="name"in i?String(i.name):"",s="name"in o?String(o.name):"";if(i.type==="Identifier"&&yt(a)&&o.type==="Identifier"&&yt(s)||i.type==="Identifier"&&o.type==="Identifier"&&ZA.has(r.toLowerCase())&&Qc.has(a.toLowerCase())&&Qc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=Ca(i)?i.children.toArray():null,d=Ca(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(ng(c,d,r))continue;return!1}}return!0},Y0=(e,t,r)=>{if(e===t)return!0;if(!(Re(e)&&Re(t)))return!1;let n,i;try{n=qr(e,{context:"value"}),i=qr(t,{context:"value"})}catch{return!1}let o=Ca(n)?n.children.toArray():[],a=Ca(i)?i.children.toArray():[];return ng(o,a,r)},za=(e,t)=>(r,n)=>{if(!T(n,Vn,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,_]},optional:!0}))return;let i=M(t,"ignore","consecutive-duplicates"),o=M(t,"ignore","consecutive-duplicates-with-different-values"),a=M(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=M(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};ph(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Or(p)||yt(p)||M(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(z=>z.prop.toLowerCase()===m);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!h&&x,k=b===c.length-1,S=Xe.unprefixed(v)===Xe.unprefixed(f),E=()=>{let z=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:zp.rejected,messageArgs:[L],node:z,result:n,ruleName:Vn,word:L,fix:{apply:l(z),node:z.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&Y0(v,f,p)){E();return}return v!==f?void 0:P({message:zp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:Vn,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||E()})})},za.ruleName=Vn,za.messages=zp,za.meta=Q0,$L=za}),BL={};A(BL,{default:()=>qL});var ig,Qn,Ap,G0,K0,H0,X0,Aa,qL,T8=y(()=>{ig=X(ue(),1),q(),Ew(),Ke(),mh(),Pr(),K(),I(),j(),D(),Dt(),Qn="declaration-block-no-redundant-longhand-properties",Ap=O(Qn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},K0=new Map([["font-synthesis",e=>{var a,s,l;let t=(a=e.get("font-synthesis-weight"))==null?void 0:a.value.trim(),r=(s=e.get("font-synthesis-style"))==null?void 0:s.value.trim(),n=(l=e.get("font-synthesis-small-caps"))==null?void 0:l.value.trim(),i=u=>u==="none"||u==="auto";if(!i(t)||!i(r)||!i(n))return;let o=[];return t==="auto"&&o.push("weight"),r==="auto"&&o.push("style"),n==="auto"&&o.push("small-caps"),o.length===0?"none":o.join(" ")}],["grid-column",e=>{var n,i;let t=(n=e.get("grid-column-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-column-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-row",e=>{var n,i;let t=(n=e.get("grid-row-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-row-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-template",e=>{var a,s,l;let t=(a=e.get("grid-template-areas"))==null?void 0:a.value.trim(),r=(s=e.get("grid-template-columns"))==null?void 0:s.value.trim(),n=(l=e.get("grid-template-rows"))==null?void 0:l.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(u=>u[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((u,c)=>`${u} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var a,s,l,u;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,ig.default)(d),m=[];{let v=[];p.nodes.forEach(h=>{if(h.type==="div"&&h.value===","){m.push(v),v=[];return}v.push(h)}),m.push(v)}return m.map(v=>ig.default.stringify(v).trim()).filter(v=>v.length>0)},r=t((a=e.get("transition-delay"))==null?void 0:a.value),n=t((s=e.get("transition-duration"))==null?void 0:s.value),i=t((l=e.get("transition-timing-function"))==null?void 0:l.value),o=t((u=e.get("transition-property"))==null?void 0:u.value);if(r.length&&n.length&&i.length&&o.length)return o.map((c,d)=>[c,n[d%n.length],i[d%i.length],r[d%r.length]].filter($).join(" ")).join(", ")}]]),H0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],X0=(e,t,r)=>{let n=K0.get(e);if(n===void 0){let i=t.map(o=>{var a;return(a=r.get(o))==null?void 0:a.value.trim()}).filter(Boolean);return i.length>0?i.join(" "):void 0}return n(r)},Aa=(e,t)=>(r,n)=>{var a;if(!T(n,Qn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,_],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of Ac.entries())if(!M(t,"ignoreShorthands",s))for(let u of l){if(o.includes(u))continue;let c=i.get(u)||[];c.push(s),i.set(u,c)}ph(r,s=>{let l=new Map,u=new Map,c=new Map;s(d=>{let p=d.value.trim();if(Te.has(d.value))return;let m=d.prop.toLowerCase(),v=Xe.unprefixed(m),h=Xe.prefix(m);Ac.has(v)&&c.set(m,p);let b=i.get(v);if(b)for(let g of b){let f=h+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Qn,result:n,node:d,word:d.prop,message:Ap.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=l.get(f)||[],w=u.get(f)||[];x.push(m),l.set(f,x),w.push(d),u.set(f,w);let k=new Set(Ac.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>h+te);if(!Nw(S.slice().sort(),x.slice().sort()))continue;let E=u.get(f)||[],z=E.reduce((te,re)=>re.important?te+1:te,0);if(z&&z!==E.length)continue;let[L]=E,N;if(L){let te=new Map(E.map(re=>[re.prop.toLowerCase(),re]));N=X0(f,S,te)}let B=L&&N?()=>{let te=L.clone({prop:f,value:N});L.replaceWith(te),E.forEach(re=>re.remove()),H0.includes(g)&&l.forEach((re,be)=>{l.set(be,re.filter(he=>!x.includes(he)))})}:void 0;P({ruleName:Qn,result:n,node:d,word:d.prop,message:Ap.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},Aa.ruleName=Qn,Aa.messages=Ap,Aa.meta=G0,qL=Aa}),WL={};A(WL,{default:()=>_L});var Na,og,J0,Ea,_L,D8=y(()=>{mh(),I(),j(),ro(),D(),Dt(),Pr(),Na="declaration-block-no-shorthand-property-overrides",og=O(Na,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),J0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Ea=e=>(t,r)=>{T(r,Na,{actual:e})&&ph(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Xe.unprefixed(a).toLowerCase(),l=Xe.prefix(a).toLowerCase(),u=Ac.get(s),c=JA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:Na,result:r,node:o,message:og.rejected,messageArgs:[a,m||""],word:a})}})})},Ea.ruleName=Na,Ea.messages=og,Ea.meta=J0,_L=Ea}),UL={};A(UL,{default:()=>VL});var Pa,ag,Z0,Ia,VL,L8=y(()=>{Jw(),q(),dh(),I(),j(),D(),Pa="declaration-block-single-line-max-declarations",ag=O(Pa,{expected:e=>`Too many declarations, maximum ${e}`}),Z0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Ia=e=>(t,r)=>{T(r,Pa,{actual:e,possible:[Sr]})&&t.walkRules(n=>{let i=Xw(n);!ch(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:ag.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:Pa})})},Ia.ruleName=Pa,Ia.messages=ag,Ia.meta=Z0,VL=Ia});function eS(e){let t=$r(e);return t!==void 0&&to(t)&&ut(t)&&!yt(t.prop||"")}var F8=y(()=>{Pn(),pr(),me(),ct()}),QL={};A(QL,{default:()=>YL});var Oa,Np,tS,ja,YL,M8=y(()=>{me(),Jw(),pd(),hd(),mP(),rh(),F8(),pr(),fd(),oh(),dh(),ct(),K(),I(),j(),D(),Oa="declaration-empty-line-before",Np=O(Oa,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),tS={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},ja=(e,t,r)=>(n,i)=>{T(i,Oa,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||ih(o)||!Oe(s)&&!it(s)&&!ur(s)||!ut(o)||yt(a)||M(t,"ignore","after-comment")&&Wi(o)||M(t,"ignore","after-declaration")&&eS(o)||M(t,"ignore","first-nested")&&Br(o)||M(t,"ignore","inside-single-line-block")&&ch(Xw(s)))return;let l=e==="always";(M(t,"except","first-nested")&&Br(o)||M(t,"except","after-block")&&pP(o)||M(t,"except","after-comment")&&Wi(o)||M(t,"except","after-declaration")&&eS(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?Np.expected:Np.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:Oa,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},ja.ruleName=Oa,ja.messages=Np,ja.meta=tS,YL=ja});function GL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var KL=y(()=>{}),HL={};A(HL,{default:()=>XL});var Ta,sg,rS,Da,XL,R8=y(()=>{q(),KL(),I(),j(),D(),Ta="declaration-no-important",sg=O(Ta,{rejected:"Disallowed !important"}),rS={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Da=e=>(t,r)=>{T(r,Ta,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=GL(n.toString());We(i),P({message:sg.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Ta})})},Da.ruleName=Ta,Da.messages=sg,Da.meta=rS,XL=Da});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Tr=y(()=>{});function qm(e){return t=>Cr(t)?Object.values(t).every(r=>e(r)):!1}var Ak=y(()=>{q()}),JL={};A(JL,{default:()=>ZL});var nS,La,lg,iS,oS,Fa,ZL,$8=y(()=>{nS=X(ue(),1),q(),Tr(),Le(),V(),I(),j(),Ak(),D(),La="declaration-property-max-values",lg=O(La,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),iS={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},oS=e=>e.type==="word"||e.type==="function"||e.type==="string",Fa=e=>(t,r)=>{T(r,La,{actual:e,possible:[qm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,nS.default)(o).nodes.filter(oS).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];zc(l),!(a<=l)&&P({message:lg.expected,messageArgs:[i,l],node:n,result:r,ruleName:La})})},Fa.ruleName=La,Fa.messages=lg,Fa.meta=iS,ZL=Fa});function B8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var q8=y(()=>{});function jn(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Re(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=B8(e.value,"").replace("\\0","").replace("\\9","");return eF.default.unit(t)||{unit:null,number:null}}var eF,Tn=y(()=>{eF=X(ue(),1),q8(),_e()}),tF={};A(tF,{default:()=>rF});var aS,Ma,ug,sS,Ra,rF,W8=y(()=>{aS=X(ue(),1),J(),Tn(),q(),Le(),K(),I(),j(),Ht(),D(),Ma="declaration-property-unit-allowed-list",ug=O(Ma,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ra=(e,t)=>(r,n)=>{T(n,Ma,{actual:e,possible:[Bt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,aS.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||M(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=jn(c);if(!d||u.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,m=p+c.value.length;P({message:ug.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Ma})})})},Ra.ruleName=Ma,Ra.messages=ug,Ra.meta=sS,rF=Ra}),nF={};A(nF,{default:()=>iF});var lS,$a,cg,uS,Ba,iF,_8=y(()=>{lS=X(ue(),1),J(),Tn(),q(),Ad(),Le(),V(),I(),j(),Ht(),D(),$a="declaration-property-unit-disallowed-list",cg=O($a,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),uS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ba=e=>(t,r)=>{T(r,$a,{actual:e,possible:[Bt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,lS.default)(o).walk(u=>{if(zd(u))return!1;if(u.type==="string")return;let{unit:c}=jn(u);if(!c||!l.has(c.toLowerCase()))return;let d=ie(n)+u.sourceIndex,p=d+u.value.length;P({message:cg.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:$a})})})},Ba.ruleName=$a,Ba.messages=cg,Ba.meta=uS,iF=Ba}),oF={};A(oF,{default:()=>aF});var qa,dg,cS,Wa,aF,U8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),qa="declaration-property-value-allowed-list",dg=O(qa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),cS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Wa=e=>(t,r)=>{if(!T(r,qa,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>M(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:dg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:qa})})},Wa.ruleName=qa,Wa.messages=dg,Wa.meta=cS,aF=Wa}),sF={};A(sF,{default:()=>lF});var _a,pg,dS,Ua,lF,V8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),_a="declaration-property-value-disallowed-list",pg=O(_a,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ua=e=>(t,r)=>{if(!T(r,_a,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!M(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:pg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:_a})})},Ua.ruleName=_a,Ua.messages=pg,Ua.meta=dS,lF=Ua}),uF={};A(uF,{default:()=>cF});var pS,Va,Ep,mS,Pp,hS,fS,Qa,cF,Q8=y(()=>{pS=X(ue(),1),q(),Ir(),J(),Be(),ct(),_e(),V(),K(),I(),j(),gt(),Pr(),D(),Va="declaration-property-value-keyword-no-deprecated",Ep=O(Va,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),mS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Pp={activecaption:"canvas",appworkspace:"canvas",background:"canvas",inactivecaption:"canvas",infobackground:"canvas",menu:"canvas",scrollbar:"canvas",window:"canvas",activeborder:"ButtonBorder",inactiveborder:"ButtonBorder",threeddarkshadow:"ButtonBorder",threedhighlight:"ButtonBorder",threedlightshadow:"ButtonBorder",threedshadow:"ButtonBorder",windowframe:"ButtonBorder",captiontext:"CanvasText",infotext:"CanvasText",menutext:"CanvasText",windowtext:"CanvasText",buttonhighlight:"ButtonFace",buttonshadow:"ButtonFace",threedface:"ButtonFace",inactivecaptiontext:"GrayText"},hS=[...Ev.values()].map(e=>[e,Pp]),fS=new Map([["appearance",{button:"auto",checkbox:"auto",listbox:"auto",menulist:"auto",meter:"auto","progress-bar":"auto","push-button":"auto",radio:"auto",searchfield:"auto","slider-horizontal":"auto","square-button":"auto",textarea:"auto"}],["image-rendering",{optimizeQuality:"smooth",optimizeSpeed:"pixelated"}],["overflow",{overlay:"auto"}],["overflow-x",{overlay:"auto"}],["overflow-y",{overlay:"auto"}],["text-justify",{distribute:"inter-character"}],["text-orientation",{"sideways-right":"sideways"}],["user-select",{element:"contain"}],["zoom",{reset:"1"}],["border-color",Pp],["scrollbar-color",Pp],["text-decoration",["blink"]],["text-decoration-line",["blink"]],["box-sizing",["padding-box"]],["image-orientation",["flip"]],["min-height",["intrinsic","min-intrinsic"]],["min-width",["intrinsic","min-intrinsic"]],["max-height",["intrinsic","min-intrinsic"]],["max-width",["intrinsic","min-intrinsic"]],["height",["intrinsic","min-intrinsic"]],["width",["intrinsic","min-intrinsic"]],["word-break",["break-word"]],...hS]),Qa=(e,t)=>(r,n)=>{T(n,Va,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!ut(i)||M(t,"ignoreKeywords",a))return;let s=fS.get(o.toLowerCase());if(!s)return;let l=(0,pS.default)($e(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Re(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Tw.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=Ep.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=Ep.expected,b=[d,x],v=()=>{c.value=x,ft(i,l.toString())}}let g=ie(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Va,index:g,endIndex:f,fix:{apply:v,node:i}})})})},Qa.ruleName=Va,Qa.messages=Ep,Qa.meta=mS,cF=Qa});function Y8(e){return gF?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function G8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===ot&&e.source.codePointAt(e.cursor+3)===ot}function Gt(e){return e>=48&&e<=57}function K8(e){return e>=65&&e<=90}function H8(e){return e>=97&&e<=122}function Mi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function X8(e){return H8(e)||K8(e)}function Yi(e){return X8(e)||J8(e)||e===95}function Nk(e){return Yi(e)||Gt(e)||e===ot}function J8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Gi(e)||e>=65536}function Z8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Wm(e){return e===zn||e===Cn||e===12}function wn(e){return e===32||e===zn||e===9||e===Cn||e===12}function Gi(e){return e>=55296&&e<=57343}function so(e){var t;return e.source.codePointAt(e.cursor)===92&&!Wm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function _m(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Yi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Wm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Yi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||so(t)}function gS(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===An||e.source.codePointAt(e.cursor)===ot?!!Gt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Gt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Gt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Gt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function e7(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function t7(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function r7(e){switch(e){case C.OpenParen:return C.CloseParen;case C.CloseParen:return C.OpenParen;case C.OpenCurly:return C.CloseCurly;case C.CloseCurly:return C.OpenCurly;case C.OpenSquare:return C.CloseSquare;case C.CloseSquare:return C.OpenSquare;default:return null}}function n7(e){switch(e[0]){case C.OpenParen:return[C.CloseParen,")",-1,-1,void 0];case C.CloseParen:return[C.OpenParen,"(",-1,-1,void 0];case C.OpenCurly:return[C.CloseCurly,"}",-1,-1,void 0];case C.CloseCurly:return[C.OpenCurly,"{",-1,-1,void 0];case C.OpenSquare:return[C.CloseSquare,"]",-1,-1,void 0];case C.CloseSquare:return[C.OpenSquare,"[",-1,-1,void 0];default:return null}}function i7(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Ah(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new nd(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Rr;if(Mi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Mi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();wn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Gi(a)||a>1114111?Rr:a}return r===0||Gi(r)?Rr:r}function Nh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Gi(i))r.push(Rr),t.advanceCodePoint(+(i>65535)+1);else if(Nk(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!so(t))return r;t.advanceCodePoint(),r.push(Ah(e,t))}}}function o7(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Nk(r)||so(t))){let n=Um.Unrestricted;_m(0,t)&&(n=Um.ID);let i=Nh(e,t);return[C.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[C.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function a7(e,t){var n,i,o,a,s,l;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==An&&t.source.codePointAt(t.cursor)!==ot||t.advanceCodePoint();Gt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Gt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Gt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Gt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==ot&&t.source.codePointAt(t.cursor+1)!==An||!Gt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Gt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function mg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===An&&(r="+")}let n=a7(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(_m(0,t)){let o=Nh(e,t);return[C.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[C.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[C.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function s7(e){var t;for(;wn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[C.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function l7(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Wm(o)){t.unreadCodePoint();let a=[C.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Gi(o)?r+=String.fromCodePoint(Rr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Wm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Ah(e,t))}}}function u7(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function hg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();so(t)?(t.advanceCodePoint(),Ah(e,t)):t.advanceCodePoint()}}function c7(e,t){var n,i,o,a;for(;wn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(wn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();wn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(hg(e,t),[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let s=t.source.codePointAt(t.cursor);if(s===34||s===39||s===40||Z8(s!=null?s:-1)){hg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(so(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Ah(e,t));continue}hg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Gi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Rr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function fg(e,t){var n,i;let r=Nh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[C.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(u7(r)){t.advanceCodePoint();let o=0;for(;;){let a=wn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=wn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return c7(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function d7(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==An||e.source.codePointAt(e.cursor+2)!==63&&!Mi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function p7(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Mi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===ot&&Mi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Mi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:l,endOfRange:l}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function St(e,t){let r=dF(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function dF(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new bF(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:m7};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[C.EOF,"",-1,-1,void 0];if(l===47&&e7(i))return i7(o,i);if(n&&(l===117||l===85)&&d7(i))return p7(0,i);if(Yi(l))return fg(o,i);if(Gt(l))return mg(o,i);switch(l){case 44:return i.advanceCodePoint(),[C.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[C.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[C.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[C.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[C.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[C.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[C.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[C.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[C.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return l7(o,i);case 35:return o7(o,i);case An:case 46:return gS(i)?mg(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case zn:case Cn:case 12:case 9:case 32:return s7(i);case ot:return gS(i)?mg(o,i):t7(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):_m(0,i)?fg(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return G8(i)?(i.advanceCodePoint(4),[C.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[C.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),_m(0,i)){let u=Nh(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(so(i))return fg(o,i);i.advanceCodePoint();let u=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new kr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.source.codePointAt(i.cursor)===void 0}}}function m7(){}function h7(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...pF(r));e[1]=n,e[4].value=t}function Eh(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=pF(r);n[0]===101&&Ey(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function pF(e){let t=0;if(e[0]===0)e.splice(0,1,Rr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Yi(e[1])||(t+=Ey(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Yi(e[0])?t=1:(t=1,t+=Ey(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Nk(e[r])||(r+=f7(e,r,e[r])):(e.splice(r,1,Rr),r++);return e}function f7(e,t,r){return e.splice(t,1,92,r),1}function Ey(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function rd(e){return!!Array.isArray(e)&&!(e.length<4)&&!!vF.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function Et(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function mF(e){return!!e&&e[0]===C.Colon}function rn(e){return!!e&&e[0]===C.Comma}function Ph(e){return!!e&&e[0]===C.Comment}function qt(e){return!!e&&e[0]===C.Delim}function Ee(e){return!!e&&e[0]===C.Dimension}function Kt(e){return!!e&&e[0]===C.EOF}function g7(e){return!!e&&e[0]===C.Function}function Ye(e){return!!e&&e[0]===C.Ident}function Ae(e){return!!e&&e[0]===C.Number}function Ge(e){return!!e&&e[0]===C.Percentage}function hF(e){return!!e&&e[0]===C.Semicolon}function b7(e){return!!e&&e[0]===C.String}function v7(e){return!!e&&e[0]===C.URL}function Ek(e){return!!e&&e[0]===C.Whitespace}function lo(e){return!!e&&e[0]===C.OpenParen}function y7(e){return!!e&&e[0]===C.CloseParen}function w7(e){return!!e&&e[0]===C.OpenSquare}function fF(e){return!!e&&e[0]===C.OpenCurly}var nd,kr,ir,gF,Cn,ot,zn,An,Rr,C,ne,Um,bF,vF,rt=y(()=>{nd=class extends Error{constructor(t,r,n,i){super(t);U(this,"sourceStart");U(this,"sourceEnd");U(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},kr=class extends nd{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},gF=typeof globalThis<"u"&&"structuredClone"in globalThis,Cn=13,ot=45,zn=10,An=43,Rr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(C||(C={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Um||(Um={})),bF=class{constructor(e){U(this,"cursor",0);U(this,"source","");U(this,"representationStart",0);U(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},vF=Object.values(C)});function Ei(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function Ih(e,t){let r=t[0];if(lo(r)||fF(r)||w7(r)){let n=x7(e,t);return{advance:n.advance,node:n.node}}if(g7(r)){let n=k7(e,t);return{advance:n.advance,node:n.node}}if(Ek(r)){let n=yF(e,t);return{advance:n.advance,node:n.node}}if(Ph(r)){let n=S7(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new pe(r)}}function k7(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new nd("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new $t(t[0],i,r)};if(y7(i))return{advance:n+1,node:new $t(t[0],i,r)};if(Et(i)){let a=wF(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Ih(e,t.slice(n));n+=o.advance,r.push(o.node)}}function x7(e,t){let r=r7(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new nd("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Vm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Vm(t[0],o,n)};if(Et(o)){let s=wF(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Ih(e,t.slice(i));i+=a.advance,n.push(a.node)}}function yF(e,t){let r=0;for(;;){let n=t[r];if(!Ek(n))return{advance:r,node:new Ot(t.slice(0,r))};r++}}function S7(e,t){return{advance:1,node:new Oh(t[0])}}function wF(e,t){let r=[],n=0;for(;;){if(Ek(t[n])){let i=yF(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Ph(t[n]))return{advance:n,nodes:r};r.push(new Oh(t[n])),n++}}function uo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=Ih(r,n.slice(o));i.push(s.node),o+=s.advance}}function kF(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=Ih(r,e.slice(a));o.push(l.node),a+=l.advance}}function C7(e,t,r){if(e.length===0)return;let n=Ei(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function Dn(e,t,r){e.length!==0&&C7(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function xF(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Dr(e){return Vm.isSimpleBlockNode(e)}function He(e){return $t.isFunctionNode(e)}function id(e){return Ot.isWhitespaceNode(e)}function Pk(e){return Oh.isCommentNode(e)}function It(e){return id(e)||Pk(e)}function le(e){return pe.isTokenNode(e)}function Wt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Wt(i)[0],Wt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Ie,gg,$t,Vm,Ot,Oh,pe,Ct=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Ie||(Ie={})),gg=class{constructor(){U(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=Ei(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},$t=class Py extends gg{constructor(r,n,i){super();U(this,"type",Ie.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Py.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Py&&r.type===Ie.Function}},Vm=class Iy extends gg{constructor(r,n,i){super();U(this,"type",Ie.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=n7(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Iy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Iy&&r.type===Ie.SimpleBlock}},Ot=class Oy{constructor(t){U(this,"type",Ie.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Oy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof Oy&&t.type===Ie.Whitespace}},Oh=class jy{constructor(t){U(this,"type",Ie.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return jy.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof jy&&t.type===Ie.Comment}},pe=class Ty{constructor(t){U(this,"type",Ie.Token);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return Ty.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Ty&&t.type===Ie.Token}}});function jt(e){return e.replace(zF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function ht(e,t){if(!Ee(e)||!Ee(t))return t;let r=jt(e[4].unit),n=jt(t[4].unit);if(r===n)return t;let i=jk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[C.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return Eh(s,e[4].unit),s}function z7(e){if(!Ee(e))return e;let t=jt(e[4].unit),r=AF[t];if(t===r)return e;let n=jk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[C.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return Eh(a,r),a}function A7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value+n[4].value;return new pe([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value+n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value+n[4].value;return new pe([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ok(od.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function N7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function xt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(le(i)){r.push(i);continue}let o=xt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function E7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ge(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:t[4].unit}])}if(Ae(t)&&Ee(r)){let n=t[4].value*r[4].value;return new pe([C.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return-1}function Ki(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Ye(i))continue;let o=jt(i[4].value);switch(o){case"e":e.splice(r,1,new pe([C.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new pe([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new pe([C.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new pe([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new pe([C.Number,"NaN",i[2],i[3],{value:Number.NaN,type:ne.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new pe(a))}}}return e}function jh(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function mt(e,t,r){return Ee(t)?Nd(e,t[4].unit,r):Ge(t)?P7(e,r):Ae(t)?Ar(e,r):-1}function Nd(e,t,r){let n=e.tokens();return{inputs:[new pe([C.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?ne.Integer:ne.Number,unit:t}])],operation:jh}}function P7(e,t){let r=e.tokens();return{inputs:[new pe([C.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:jh}}function Ar(e,t){let r=e.tokens();return{inputs:[new pe([C.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:jh}}function I7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.acos(r[4].value)):-1}function O7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.asin(r[4].value)):-1}function j7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.atan(r[4].value)):-1}function Th(e){return Ee(e)||Ae(e)}function Ik(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=jt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==jt(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&jt(e[4].unit)===jt(t[4].unit):e[0]===t[0])}function T7(e,t,r){let n=t.value;if(!Th(n))return-1;let i=ht(n,r.value);return Nr(n,i)?Nd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function D7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:mt(e,n,Math.abs(n[4].value))}function L7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,r.value);if(!Nr(o,a))return-1;let s=ht(o,n.value);return Nr(o,s)?mt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function F7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function M7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.exp(r[4].value)):-1}function R7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return mt(e,n,a)}function bS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return mt(e,n,a)}function vS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return mt(e,n,a)}function $7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function B7(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function q7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function SF(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[C.Dimension,`${n}px`,t[2],t[3],{value:n,type:ne.Integer,unit:"px"}],o=ht(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return mt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return mt(e,t,ht(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,mt(e,t,ht(t,o)[4].value)}return mt(e,t,t[4].value)}function W7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=xt(mt(e,o,s),i);return p===-1?-1:SF(e,p.value,i)}break}}else s=Number.NaN;return mt(e,o,s)}function _7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:Ar(e,Math.sign(n[4].value))}function U7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function V7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.sqrt(r[4].value)):-1}function Q7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":i=Ly.get("deg")(n);break;case"deg":i=n,o=ad.get("rad")(n);break;case"grad":i=Hi.get("deg")(n),o=Hi.get("rad")(n);break;case"turn":i=Xi.get("deg")(n),o=Xi.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function Y7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value-n[4].value;return new pe([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value-n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value-n[4].value;return new pe([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ok(od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function G7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ae(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!le(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ae(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function Dy(e){if(Array.isArray(e)){let r=e.filter(n=>!(id(n)&&Pk(n)));return r.length===1&&Dy(r[0])}if(!le(e))return!1;let t=e.value;return!!Ye(t)&&NF.test(t[4].value)}function K7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=ht(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=ht(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return mt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return mt(e,a,a[4].value);let u=t.fixed===-1?H7(X7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(EF))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let f=c+b;if(!(f+v<d)){h.push(d);break}if(h.push(f),f+l[4].value-v>d)break}let g=u();return mt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return mt(e,a,Number((p*(d-c)+c).toFixed(5)))}function H7(e=.34944106645296036,t=.19228640875738723,r=.8784393832007205,n=.04850964319275053){return()=>{let i=((e|=0)+(t|=0)|0)+(n|=0)|0;return n=n+1|0,e=t^t>>>9,t=(r|=0)+(r<<3)|0,r=(r=r<<21|r>>>11)+i|0,(i>>>0)/4294967296}}function X7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function kt(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:jh};let i=0;for(;i<n.length;){let o=n[i];if(Dr(o)&&lo(o.startToken)){let a=kt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(He(o)){let a=Qm.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:N7}):n.splice(i,3,{inputs:[o,l],operation:E7})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:Y7}):n.splice(i,3,{inputs:[o,l],operation:A7})}return n.length===1&&un(n[0])?n[0]:-1}function br(e,t,r,n){let i=J7(e,t,r);return i===-1?-1:n(e,i,r)}function J7(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t),i=xt(kt(Rt(e,n),t,r),r);return i===-1?-1:i}function Ip(e,t,r,n){let i=Z7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function Z7(e,t,r){let n=Ki([...e.value.filter(l=>!It(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(le(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=xt(kt(Rt(e,i),t,r),r);if(a===-1)return-1;let s=xt(kt(Rt(e,o),t,r),r);return s===-1?-1:[a,s]}function Op(e,t,r,n){let i=CF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function CF(e,t,r,n){let i=Ki([...t.filter(a=>!It(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];le(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=xt(kt(Rt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function eU(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Ye(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!le(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Ye(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=xt(kt(Rt(e,[u]),r,n),n);if(c===-1||!Ae(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Rt(e,t){return new $t([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function tU(e,t,r){return new $t([C.Function,"max(",e.name[2],e.name[3],{value:"max"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new pe([C.Comma,",",...Wt(t),void 0]),r])}function rU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Ge(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function nU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ae(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])])}function iU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ge(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function oU(e,t=13){if(e===-1)return-1;if(t<=0||He(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ge(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function aU(e){return e===-1?-1:(He(e)||Ee(e.value)&&(e.value=z7(e.value)),e)}function sU(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=aU(r)),r=oU(r,t==null?void 0:t.precision),r=iU(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=rU(r),r=nU(r)),r}function lU(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(rd(n))t.set(r,n);else if(typeof n=="string"){let i=dF({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function uU(e,t){let r=lU(t==null?void 0:t.globals);return cU(e,n=>{if(!He(n))return;let i=Qm.get(n.getName().toLowerCase());if(!i)return;let o=sU(xt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function cU(e,t){for(let r=0;r<e.length;r++){let n=e[r];Dn(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];le(l)&&qt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Ot([[C.Whitespace," ",...Wt(i.node),void 0]]));let u=i.parent.value[o+1];!u||It(u)||le(u)&&(rn(u.value)||mF(u.value)||hF(u.value)||qt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Ot([[C.Whitespace," ",...Wt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var yS,Ok,od,zF,AF,wS,ad,Hi,kS,xS,SS,CS,zS,AS,NS,ES,PS,Ly,IS,Xi,jk,NF,EF,Qm,OS,dU,pU=y(()=>{Ct(),rt(),yS=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Ok=class extends yS{constructor(t,r){super(t,...Wt(r));U(this,"componentValues");this.componentValues=r}},od={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},zF=/[A-Z]/g,AF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},wS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),ad=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Hi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),kS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),xS=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),SS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),CS=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),zS=new Map([["ms",e=>e],["s",e=>e/1e3]]),AS=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),NS=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),ES=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),PS=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),Ly=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),IS=new Map([["ms",e=>1e3*e],["s",e=>e]]),Xi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),jk=new Map([["cm",wS],["mm",CS],["q",PS],["in",xS],["pc",AS],["pt",NS],["px",ES],["ms",zS],["s",IS],["deg",ad],["grad",Hi],["rad",Ly],["turn",Xi],["hz",kS],["khz",SS]]),NF=/^none$/i,EF=String.fromCodePoint(0),Qm=new Map([["abs",function(e,t,r){return br(e,t,r,D7)}],["acos",function(e,t,r){return br(e,t,r,I7)}],["asin",function(e,t,r){return br(e,t,r,O7)}],["atan",function(e,t,r){return br(e,t,r,j7)}],["atan2",function(e,t,r){return Ip(e,t,r,T7)}],["calc",kt],["clamp",function(e,t,r){let n=Ki([...e.value.filter(h=>!It(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let g=n[b];if(le(g)&&rn(g.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(g)}}let s=Dy(i),l=Dy(a);if(s&&l)return kt(Rt(e,o),t,r);let u=xt(kt(Rt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=xt(kt(Rt(e,a),t,r),r);return h===-1?-1:vS((c=e,d=u,p=h,new $t([C.Function,"min(",c.name[2],c.name[3],{value:"min"}],[C.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new pe([C.Comma,",",...Wt(d),void 0]),p])),[u,h],r)}if(l){let h=xt(kt(Rt(e,i),t,r),r);return h===-1?-1:bS(tU(e,h,u),[h,u],r)}var c,d,p;let m=xt(kt(Rt(e,i),t,r),r);if(m===-1)return-1;let v=xt(kt(Rt(e,a),t,r),r);return v===-1?-1:L7(e,m,u,v,r)}],["cos",function(e,t,r){return br(e,t,r,F7)}],["exp",function(e,t,r){return br(e,t,r,M7)}],["hypot",function(e,t,r){return Op(e,t,r,R7)}],["log",function(e,t,r){return Op(e,t,r,G7)}],["max",function(e,t,r){return Op(e,t,r,bS)}],["min",function(e,t,r){return Op(e,t,r,vS)}],["mod",function(e,t,r){return Ip(e,t,r,$7)}],["pow",function(e,t,r){return Ip(e,t,r,B7)}],["random",function(e,t,r){let n=eU(e,e.value.filter(c=>!It(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=CF(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:K7(e,i,s,l,u,r)}],["rem",function(e,t,r){return Ip(e,t,r,q7)}],["round",function(e,t,r){let n=Ki([...e.value.filter(c=>!It(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&le(p)&&Ye(p.value)){let m=p.value[4].value.toLowerCase();if(OS.has(m)){i=m;continue}}if(le(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=xt(kt(Rt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=ht([C.Dimension,"1px",l.value[2],l.value[3],{value:1,type:ne.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:SF(e,l.value,r);s.push(new pe([C.Number,"1",l.value[2],l.value[3],{value:1,type:ne.Integer}]))}let u=xt(kt(Rt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),W7(e,i,l,u,r))}],["sign",function(e,t,r){return br(e,t,r,_7)}],["sin",function(e,t,r){return br(e,t,r,U7)}],["sqrt",function(e,t,r){return br(e,t,r,V7)}],["tan",function(e,t,r){return br(e,t,r,Q7)}]]),OS=new Set(["nearest","line-width","up","down","to-zero"]),dU=new Set(Qm.keys())}),PF,mU=y(()=>{PF={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ 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> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function hU(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=fU(t,i))}return t}function fU(e,t){let r={};return r.atrules=gU(e.atrules,t.atrules),r.properties=Fy(e.properties,t.properties),r.types=Fy(e.types,t.types),r.cssWideKeywords=bU(e.cssWideKeywords,t.cssWideKeywords),r.units=vU(e.units,t.units),r}function gU(e,t){var n,i;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r=structuredClone(e);for(let[o,a]of Object.entries(t)){let s=(i=r[o])!=null?i:{};s.prelude=wU(s.prelude,a.prelude),s.descriptors=Fy(s.descriptors,a.descriptors),r[o]=s}return r}function Fy(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t))r[i]=yU(r[i],o);return r}function bU(e,t){var r;return typeof e>"u"||typeof t>"u"?(r=e!=null?e:t)!=null?r:[]:Array.from(new Set([...e,...t]))}function vU(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t)){let a=r[i];r[i]=a?Array.from(new Set([...a,...o])):o}return r}function yU(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function wU(e,t){if(typeof e>"u"||typeof t>"u")return e!=null?e:t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}var kU=y(()=>{});function IF(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=ML.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=My.get(n);if(i)return i;let{lexer:o}=zk(hU(OF,r));return My.set(n,o),o}var OF,My,jF=y(()=>{On(),mU(),kU(),{next:OF}=PF,My=new Map});function xU(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Tk;)r=r.parent}var Tk,SU=y(()=>{me(),Tk="STOP"});function Ji(e,t){let r;return xU(e,n=>{if(t(n))return r=n,Tk}),r}var Ed=y(()=>{SU()});function TF(e){return!!Ji(e,CU)}function CU(e){return Oe(e)&&!$c.has(e.name.toLowerCase())}var DF=y(()=>{Ed(),me(),no()});function LF(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var FF=y(()=>{Le()}),MF={};A(MF,{default:()=>BF});function RF(e){return!!Ck(e,t=>t.type==="Function"&&$F.has(t.name.toLowerCase()))}function zU(e){let t=!1;return Dn(e,({node:r})=>{if(!(!He(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===C.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function AU(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=uo(St({css:e}),{});if(zU(i))return["skip-validation",-1,-1];let o=[],a=uU([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case od.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=xF(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=qr(s,{context:"value",positions:!0});if(RF(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,h,b;return m.forEach(g=>{d===v&&(h=g),v+=g[1].length,p===v&&(b=g)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var vr,Yn,jS,TS,$F,bg,vg,Ya,BF,NU=y(()=>{pU(),rt(),On(),Ct(),V(),q(),J(),zw(),Be(),jF(),pr(),me(),DF(),ct(),jr(),_e(),FF(),I(),j(),Ht(),Ak(),D(),vr="declaration-property-value-no-unknown",Yn=O(vr,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),jS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},TS=/^syntax$/i,$F=new Set(["clamp","min","max","env"]),bg=new WeakMap,vg=1e4,Ya=(e,t)=>(r,n)=>{var c;if(!T(n,vr,{actual:e},{actual:t,possible:{ignoreProperties:[Bt($,_)],propertiesSyntax:[qm($)],typesSyntax:[qm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Mc(`We've deprecated the "propertiesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Mc(`We've deprecated the "typesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(d,p)=>LF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(Se.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!yt(p))){for(let m of d.nodes)if(to(m)&&TS.test(m.prop)){let v=m.value.trim(),h=nD.decode(v);if(h===v||h==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=h}}});let l=Object.keys(o).length>0||Object.keys(a).length>0?IF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=bg.get(l);u||(u=new Set,bg.set(l,u)),r.walkDecls(d=>{var N;let{prop:p}=d,m=$e(d);if(/^-moz-initial$/i.test(m)||!ut(d)||TF(d)||!Or(p)||!Re(m)||yt(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=yt(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=AU(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<vg&&u.add(v);return}if(h==="invalid"){let B=ie(d),te=m,re=B,be=re+te.length;b!==-1&&g!==-1&&(te=m.slice(b,g),re=B+b,be=re+te.length),P({message:Yn.rejectedMath,messageArgs:[p,te],node:d,index:re,endIndex:be,result:n,ruleName:vr});return}let f;try{if(f=qr(m,{context:"value",positions:!0}),RF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ie(d),te=B+m.length;P({message:Yn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:te,result:n,ruleName:vr});return}let{error:x}=l.matchProperty((N=s.get(p))!=null?N:p,f);if(!x){v&&u.size<vg&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ie(d),z=m.slice(S.start.offset,S.end.offset),L=Ck(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(L!=null&&L.loc){let B=m.slice(L.loc.start.offset,L.loc.end.offset),te=E+L.loc.start.offset,re=te+B.length;P({message:Yn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:re,result:n,ruleName:vr});return}P({message:Yn.rejected,messageArgs:[p,z],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:vr})})},Ya.ruleName=vr,Ya.messages=Yn,Ya.meta=jS,BF=Ya}),qF={};A(qF,{default:()=>VF});function DS(e){return WF.test(e)?1:_F.test(e)?2:UF.test(e)?3:0}function EU(e,t){return DS(e)-DS(t)}function PU(e){return e.map(t=>t[4].value).sort(EU).join(" ").toLowerCase()}function IU(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Ph),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([C.Whitespace," ",-1,-1,void 0]),u.push([C.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var Ga,yg,LS,WF,_F,UF,FS,MS,RS,Ka,VF,OU=y(()=>{rt(),Ke(),J(),Be(),_e(),V(),I(),j(),gt(),D(),Ga="display-notation",yg=O(Ga,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),LS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},WF=new RegExp(`^(?:${[...Dw.values()].join("|")})$`,"i"),_F=new RegExp(`^(?:${[...Lw.values()].join("|")})$`,"i"),UF=new RegExp(`^(?:${[...Fw.values()].join("|")})$`,"i"),FS=/^display$/i,MS={"block list-item":["block","flow","list-item"],block:["block","flow"],flex:["block","flex"],"flow list-item":["block","flow","list-item"],flow:["block","flow"],"flow-root":["block","flow-root"],grid:["block","grid"],"inline list-item":["inline","flow","list-item"],inline:["inline","flow"],"inline-block":["inline","flow-root"],"inline-flex":["inline","flex"],"inline-grid":["inline","grid"],"inline-table":["inline","table"],"list-item":["block","flow","list-item"],ruby:["inline","ruby"],"run-in":["run-in","flow"],table:["block","table"]},RS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Ka=e=>(t,r)=>{T(r,Ga,{actual:e,possible:["short","full"]})&&t.walkDecls(FS,n=>{let i=$e(n);if(!Q.displayKeyword.test(i)||!Re(i))return;let o=St({css:i});if(o.some(p=>!(Et(p)||Kt(p)||Ye(p))))return;let a=o.filter(Ye);if(!a.length)return;let s=PU(a),l=e==="short"?RS[s]:MS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ie(n);P({message:yg.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ga,fix:{apply:()=>{ft(n,IU(o,u,c,l))},node:n}})})},Ka.ruleName=Ga,Ka.messages=yg,Ka.meta=LS,VF=Ka});function nm(e){return e.toString().trim().length!==0&&Number(e)==e}var QF=y(()=>{});function $S(e){if(!e)return!1;if(wm.has(e))return!0;let t=YF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||qi.has(r.toLowerCase()))}var YF,jU=y(()=>{YF=X(ue(),1),Ke(),oo()});function Pd(e){return e.toLowerCase().startsWith("var(")}var Id=y(()=>{});function TU(e,t,r){return e.value=e.value+r+t.value,e}function Dk(e){let t=[],r=(0,GF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!KF.has(a.type))return;let u=a.value.toLowerCase();if(!Re(u)||Pd(u))return;let c=Zr.has(u);if(!c&&Mw.has(u)||!c&&$S(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&wm.has(u)&&!(!d||Ry(d)||v.find(Ry))||p&&p.value==="/"&&m&&$S(m.value)||nm(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];We(b),TU(b,h,o),i=!1,o=null}else t.push(h)}),t}var GF,KF,Ry,Lk=y(()=>{GF=X(ue(),1),Ke(),q(),QF(),_e(),jU(),Id(),KF=new Set(["word","string","space","div"]),Ry=e=>e.type==="div"&&e.value===","}),HF={};A(HF,{default:()=>XF});function DU(e){return!!(hN.has(e)||e==="BlinkMacSystemFont")}function LU(e){return!/^[-a-z]+$/i.test(e)}function FU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ha,wg,BS,qS,Xa,XF,MU=y(()=>{Ke(),Lk(),_e(),Id(),V(),I(),j(),D(),Ha="font-family-name-quotes",wg=O(Ha,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),BS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},qS=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Xa=e=>(t,r)=>{if(!T(r,Ha,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(dr.fontFamilyAndShorthandName,o=>{if(!Re(o.value))return;let a=qS(Dk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(Pd(l))return;if(Zr.has(s.toLowerCase())||DU(s))return u?i("rejected",o,a):void 0;let c=FU(s),d=LU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ha,message:wg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Xa.ruleName=Ha,Xa.messages=wg,Xa.meta=BS,XF=Xa}),JF={};A(JF,{default:()=>ZF});var Ja,kg,WS,_S,Za,ZF,RU=y(()=>{q(),J(),Lk(),Ke(),K(),V(),I(),j(),D(),Ja="font-family-no-duplicate-names",kg=O(Ja,{rejected:e=>`Duplicate font-family name "${e}"`}),WS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},_S=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),Za=(e,t)=>(r,n)=>{if(!T(n,Ja,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Dk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(M(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(_S(u)){if(a.has(c.toLowerCase())){i(c,ie(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Ja,message:kg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Za.ruleName=Ja,Za.messages=kg,Za.meta=WS,ZF=Za}),eM={};A(eM,{default:()=>tM});var es,xg,US,VS,QS,ts,tM,$U=y(()=>{gd(),q(),Ke(),J(),Lk(),me(),_e(),Id(),K(),V(),I(),j(),D(),es="font-family-no-missing-generic-family-keyword",xg=O(es,{rejected:"Missing generic font family"}),US={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},VS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),QS=e=>{let t=_i.list.comma(e).pop();return t!=null&&(Pd(t)||!Re(t))},ts=(e,t)=>(r,n)=>{if(!T(n,es,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&mN.has(o.value.toLowerCase())||QS(o.value))return;let s=Dk(o.value);if(s.length===0||s.some(p=>VS(p))||s.some(p=>M(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];We(l);let u=ie(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:es,message:xg.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},ts.ruleName=es,ts.messages=xg,ts.meta=US,tM=ts}),rM={};A(rM,{default:()=>nM});function $y(e){return e!==void 0&&e.type==="div"}function BU(e,t,r){return!(e.type!=="word"||$y(r[t-1])||$y(r[t+1]))}var YS,rs,ns,GS,KS,HS,Sg,is,nM,qU=y(()=>{YS=X(ue(),1),Ke(),V(),q(),J(),Be(),QF(),_e(),Id(),K(),I(),j(),gt(),D(),rs="font-weight-notation",ns=O(rs,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),GS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},KS="normal",HS=new Map([["normal","400"],["bold","700"]]),Sg=new Map([["400","normal"],["700","bold"]]),is=(e,t)=>(r,n)=>{if(!T(n,rs,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=M(t,"ignore","relative");r.walkDecls(dr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,YS.default)($e(a)),u=l.nodes,c=u.some((d,p,m)=>nm(d.value)&&!$y(m[p-1]));for(let[d,p]of u.entries()){if(!BU(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===KS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Re(u)||Pd(u))return;let c=u.toLowerCase();if(i&&vm.has(c))return;let d=m=>()=>{s.value=m,ft(a,l.toString())};if(e==="numeric"){if(!nm(c)&&ym.has(c)){let m=HS.get(c);return m?p(ns.expectedWithActual,[u,m],s,d(m)):p(ns.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&nm(c)&&Sg.has(c)){let m=Sg.get(c);eo(m);let v=d(m);return p(ns.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ie(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:rs,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},is.ruleName=rs,is.messages=ns,is.meta=GS,nM=is}),iM={};A(iM,{default:()=>oM});function WU(e){let t=e.prop.toLowerCase();if(yt(t))return!1;let r=e.prev();for(;r;){if(r.type==="decl"&&r.prop.toLowerCase()===t)return!0;r=r.prev()}return!1}var XS,os,Cg,JS,Gn,oM,_U=y(()=>{XS=X(ue(),1),q(),J(),pr(),Sd(),Le(),I(),j(),D(),os="function-allowed-list",Cg=O(os,{rejected:e=>`Disallowed function "${e}"`}),JS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Gn=(e,t)=>(r,n)=>{var o;if(!T(n,os,{actual:e,possible:[$,_]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,_]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,XS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!xd(s)||Pe(c,e)&&(!Pe(c,i)||WU(a)))return;let d=ie(a)+u,p=d+c.length;P({message:Cg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:os})})})},Gn.primaryOptionArray=!0,Gn.ruleName=os,Gn.messages=Cg,Gn.meta=JS,oM=Gn}),aM={};A(aM,{default:()=>cM});function UU(e){let t=St({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;Eh(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=St({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!qt(r)||r[4].value!=="#")return;let i=t[n+1];if(!fF(i))return;let o=t[n+2];!qt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),uo(t)}function ZS(e){if(Dr(e))return!0;if(He(e)){let t=e.getName().toLowerCase();return!!(io.has(t)||t==="var")}return le(e)?lM.has(e.value[0]):!1}function jp(e=" "){return new Ot([[C.Whitespace,e,-1,-1,void 0]])}function VU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;It(s);)s=e.value[++t];for(ZS(s)&&(r=s,s=e.value[++t]);It(s);)i.push(s),s=e.value[++t];for(le(s)&&qt(s.value)&&sM.has(s.value[4].value)&&(a=s,s=e.value[++t]);It(s);)o.push(s),s=e.value[++t];for(ZS(s)&&(n=s,s=e.value[++t]);It(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||hF(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new uM(r,i,n,o,a),t]}var as,cn,eC,sM,tC,rC,ss,lM,uM,cM,QU=y(()=>{var e,By,r;Ct(),rt(),J(),Be(),Ir(),V(),I(),j(),gt(),D(),q(),as="function-calc-no-unspaced-operator",cn=O(as,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),eC={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},sM=new Set(["+","-"]),tC=new RegExp(`^(?:${[...io].join("|")})$`,"i"),rC=/\n|\r\n/,ss=n=>(i,o)=>{if(!T(o,as,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:as,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=$e(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=UU(l);if(u.length===0)return;let c=ie(s),d=()=>ft(s,xF([u]));function p(h,b,g){b[g].some(id)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,g),d()})}function m(h,b){if(le(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=g;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Eh(g,k)))return}if(Ye(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>h7(g,k)))return}}if(le(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(h,b){h[b].forEach(g=>{if(!id(g))return;let f=g.toString();if(f===" ")return;let x=f.search(rC);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=jp(x===-1?" ":f.slice(x)).value,d()})})}Dn(u,({node:h,state:b})=>{if(!b)return;if(He(h))b.inMathFunction=tC.test(h.getName().toLowerCase());else if(!Dr(h)||!lo(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=VU(h,g),!f){g++;continue}f.operator||m(h,f),f.operator&&(p(h,f,"before"),p(h,f,"after"),v(f,"before"),v(f,"after")),g=h.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},lM=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),uM=(r=class{constructor(n,i,o,a,s){ox(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Vh(this,e,By)[4].value}get operatorCharPosition(){return Vh(this,e,By)[2]}insertWhitespace(n,i){We(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,jp())}insertOperatorAfterFirstOperand(n){We(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){We(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new pe([C.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[jp()]):this.after=[jp()]}},e=new WeakSet,By=function(){var n;return We(qt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),ss.ruleName=as,ss.messages=cn,ss.meta=eC,cM=ss}),dM={};A(dM,{default:()=>pM});var nC,ls,zg,iC,Kn,pM,YU=y(()=>{nC=X(ue(),1),q(),J(),Sd(),Le(),I(),j(),D(),ls="function-disallowed-list",zg=O(ls,{rejected:e=>`Disallowed function "${e}"`}),iC={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Kn=e=>(t,r)=>{T(r,ls,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,nC.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!xd(i)||!Pe(s,e))return;let l=ie(n)+a,u=l+s.length;P({message:zg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ls})})})},Kn.primaryOptionArray=!0,Kn.ruleName=ls,Kn.messages=zg,Kn.meta=iC,pM=Kn});function Od(e,t,r){let n=(0,qy.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||_(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,qy.default)(e.slice(i.sourceIndex+o.length)).nodes;We(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var qy,jd=y(()=>{qy=X(ue(),1),q()}),mM={};A(mM,{default:()=>gM});function GU(e,t){let r=t?hM:fM,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Ag,us,Ng,oC,Eg,aC,sC,Hn,hM,fM,lC,uC,cC,cs,gM,KU=y(()=>{Ag=X(ue(),1),J(),jd(),_e(),I(),j(),D(),Dt(),us="function-linear-gradient-no-nonstandard-direction",Ng=O(us,{rejected:"Nonstandard direction"}),oC={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Eg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",aC=new RegExp(`${Eg}\\(`,"i"),sC=new RegExp(`^${Eg}$`,"i"),Hn=/top|left|bottom|right/i,hM=new RegExp(`^to (${Hn.source})(?: (${Hn.source}))?$`,"i"),fM=new RegExp(`^(${Hn.source})(?: (${Hn.source}))?$`,"i"),lC=/[\d.]/,uC=/^[\d.]+(?:deg|grad|rad|turn)$/,cC=/\bin\b/i,cs=e=>(t,r)=>{T(r,us,{actual:e})&&t.walkDecls(n=>{aC.test(n.value)&&(0,Ag.default)(n.value).walk(i=>{i.type==="function"&&Od(Ag.default.stringify(i).toLowerCase(),sC,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Re(l)||l.startsWith("var(")||cC.test(l))return;if(lC.test(l.charAt(0))){if(uC.test(l))return;c();return}if(!Hn.test(l))return;let u=!Xe.prefix(i.value);GU(l,u)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Ng.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:us})}})})})},cs.ruleName=us,cs.messages=Ng,cs.meta=oC,gM=cs}),bM={};A(bM,{default:()=>vM});var dC,ds,Pg,pC,Tp,ps,vM,HU=y(()=>{dC=X(ue(),1),q(),Ir(),J(),Be(),Sd(),_e(),K(),I(),j(),gt(),D(),ds="function-name-case",Pg=O(ds,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pC={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Tp=new Map;for(let e of dN)Tp.set(e.toLowerCase(),e);ps=(e,t)=>(r,n)=>{T(n,ds,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Re(i.value))return;let o=(0,dC.default)($e(i));o.walk(a=>{if(a.type!=="function"||!xd(a))return;let s=a.value,l=s.toLowerCase();if(M(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Tp.has(l)?u=Tp.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,ft(i,o.toString())};P({message:Pg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:ds,fix:{apply:p,node:i}})})})},ps.ruleName=ds,ps.messages=Pg,ps.meta=pC,vM=ps}),yM,XU=y(()=>{yM=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function JU(e){return e.startsWith("--")}var ZU=y(()=>{}),wM={};A(wM,{default:()=>kM});var ms,Ig,mC,hs,kM,eV=y(()=>{Ct(),XU(),rt(),q(),J(),ZU(),_e(),K(),I(),j(),D(),ms="function-no-unknown",Ig=O(ms,{rejected:e=>`Unknown function "${e}"`}),mC={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},hs=(e,t)=>(r,n)=>{T(n,ms,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Re(o)&&Dn(uo(St({css:o})),({node:a})=>{if(!He(a))return;let s=a.getName();if(JU(s)||M(t,"ignoreFunctions",s)||yM.includes(s.toLowerCase()))return;let l=ie(i),u=l+a.name[2],c=l+a.name[3];P({message:Ig.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:ms})})})},hs.ruleName=ms,hs.messages=Ig,hs.meta=mC,kM=hs});function Dh(e){return e.length===0?!0:OA(e)||DA(e)||EA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!zA(e):!(e.startsWith("@")&&xM.test(e)||e.includes("$")&&SM.test(e)&&!e.endsWith("/"))}var xM,SM,Lh=y(()=>{NA(),IA(),TA(),FA(),xM=/^@@?[\w-]+$/,SM=/^[$\s\w+\-,./*'"@#?]+$/}),CM={};A(CM,{default:()=>zM});var fs,Og,hC,jg,gs,zM,tV=y(()=>{V(),jd(),Lh(),I(),j(),D(),fs="function-url-no-scheme-relative",Og=O(fs,{rejected:"Disallowed scheme-relative url"}),hC={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},jg=(e,t,r)=>{Od(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Dh(o)||!o.startsWith("//")||P({message:Og.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:fs})})},gs=e=>(t,r)=>{T(r,fs,{actual:e})&&(t.walkDecls(n=>{jg(n,n.toString(),r)}),t.walkAtRules(Se.importName,n=>{jg(n,n.toString(),r)}))},gs.ruleName=fs,gs.messages=Og,gs.meta=hC,zM=gs}),AM={};A(AM,{default:()=>NM});var bs,Tg,fC,vs,NM,rV=y(()=>{rt(),J(),jd(),lt(),Be(),ct(),Lh(),V(),K(),I(),j(),D(),bs="function-url-quotes",Tg=O(bs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),fC={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},vs=(e,t)=>(r,n)=>{if(!T(n,bs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=M(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=f.toString();break;case"atrule":h.params=f.toString();break}}}function s(h,b,g){Od(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:E,...z}=S,L=Tg[E],N=[w.value.toLowerCase()],B=a(h,w,E,k);P({...z,node:h,fix:{apply:B,node:h},message:L,messageArgs:N,result:n,ruleName:bs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!ut(h))return;let b=$e(h),g=ie(h);s(h,b,g)}function u(h){let b=st(h),g=je(h);s(h,b,g)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,g=(k=h[0])!=null?k:"",f=h.lastIndexOf(g);f>0&&(b=h.slice(1,f));let x=St({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!v7(w)}function m(h,b){let g=h.trimStart();if(!Dh(g))return;let f=e==="always";i&&o.has(h.trim())&&(f=!f);let x=g.startsWith("'")||g.startsWith('"');if(x&&p(g)||f&&x||!f&&!x)return;let w=f?"expected":"rejected",k=b+h.length-g.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},vs.ruleName=bs,vs.messages=Tg,vs.meta=fC,NM=vs});function EM(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var PM=y(()=>{}),IM={};A(IM,{default:()=>OM});var ys,Dg,gC,Xn,OM,nV=y(()=>{q(),jd(),PM(),Lh(),Le(),I(),j(),D(),ys="function-url-scheme-allowed-list",Dg=O(ys,{rejected:e=>`Disallowed URL scheme "${e}:"`}),gC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Xn=e=>(t,r)=>{T(r,ys,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&(Pe(l,e)||P({message:Dg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ys}))})})},Xn.primaryOptionArray=!0,Xn.ruleName=ys,Xn.messages=Dg,Xn.meta=gC,OM=Xn}),jM={};A(jM,{default:()=>TM});var ws,Lg,bC,Jn,TM,iV=y(()=>{q(),jd(),PM(),Lh(),Le(),I(),j(),D(),ws="function-url-scheme-disallowed-list",Lg=O(ws,{rejected:e=>`Disallowed URL scheme "${e}:"`}),bC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Jn=e=>(t,r)=>{T(r,ws,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&Pe(l,e)&&P({message:Lg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ws})})})},Jn.primaryOptionArray=!0,Jn.ruleName=ws,Jn.messages=Lg,Jn.meta=bC,TM=Jn}),DM={};A(DM,{default:()=>LM});function oV(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(Lv.has(r))return t[0+n];if(Fv.has(r))return t[2+n]}var Fg,ks,Mg,vC,xs,LM,aV=y(()=>{Fg=X(ue(),1),Ir(),J(),Be(),_e(),V(),I(),j(),gt(),D(),ks="hue-degree-notation",Mg=O(ks,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),vC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},xs=e=>(t,r)=>{T(r,ks,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Fg.default)($e(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Iw.has(a))return;let s=oV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Fg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ie(n),h=()=>{s.value=p,ft(n,i.toString())};P({message:Mg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ks,fix:{apply:h,node:n}})})})},xs.ruleName=ks,xs.messages=Mg,xs.meta=vC,LM=xs});function FM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var MM=y(()=>{}),RM={};A(RM,{default:()=>$M});var Ss,Cs,Dp,yC,Rg,zs,$M,sV=y(()=>{Ss=X(ue(),1),J(),V(),lt(),I(),j(),MM(),D(),Cs="import-notation",Dp=O(Cs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),yC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Rg=(e,t,r)=>()=>{let n=e.params.slice(r);FM(e,`${t}${n}`)},zs=e=>(t,r)=>{if(!T(r,Cs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(Se.importName,n);function n(i){var l;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=je(i),s=(0,Ss.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:Cs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=Ss.default.stringify(u),b=Ss.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Rg(i,g,c),x=Dp.expected;P({...v,message:x,messageArgs:[h,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${Ss.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Rg(i,h,c),f=Dp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},zs.ruleName=Cs,zs.messages=Dp,zs.meta=yC,$M=zs}),BM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),lV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();if(!n[s])return;n=n[s]}return n}t.exports=e.default}),uV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),cV=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),Fh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(BM());e.unesc=t.default;var r=o(lV());e.getProp=r.default;var n=o(uV());e.ensureObject=n.default;var i=o(cV());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=Fh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),wt=G(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),Fk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(wt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=l(h))||b&&h&&typeof h.length=="number"){g&&(h=g);var f=0;return function(){return f>=h.length?{done:!0}:{done:!1,value:h[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=h[g];return f}function c(h,b){for(var g=0;g<b.length;g++){var f=b[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function d(h,b,g){return b&&c(h.prototype,b),g&&c(h,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},m(h,b)}var v=(function(h){p(b,h);function b(f){var x;return x=h.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=b.prototype;return g.append=function(f){return f.parent=this,this.nodes.push(f),this},g.prepend=function(f){f.parent=this,this.nodes.unshift(f);for(var x in this.indexes)this.indexes[x]++;return this},g.at=function(f){return this.nodes[f]},g.index=function(f){return typeof f=="number"?f:this.nodes.indexOf(f)},g.removeChild=function(f){f=this.index(f),this.at(f).parent=void 0,this.nodes.splice(f,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=f&&(this.indexes[w]=x-1);return this},g.removeAll=function(){for(var f=s(this.nodes),x;!(x=f()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var z;for(var L in this.indexes)z=this.indexes[L],k<z&&(this.indexes[L]=z+arguments.length-1);return this},g.insertBefore=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var z;for(var L in this.indexes)z=this.indexes[L],z>=k&&(this.indexes[L]=z+arguments.length-1);return this},g._findChildAtPosition=function(f,x){var w=void 0;return this.each(function(k){if(k.atPosition){var S=k.atPosition(f,x);if(S)return w=S,!1}else if(k.isAtPosition(f,x))return w=k,!1}),w},g.atPosition=function(f,x){if(this.isAtPosition(f,x))return this._findChildAtPosition(f,x)||this},g._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},g.each=function(f){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var w,k;this.indexes[x]<this.length&&(w=this.indexes[x],k=f(this.at(w),w),k!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],k===!1)return!1}},g.walk=function(f){return this.each(function(x,w){var k=f(x,w);if(k!==!1&&x.length&&(k=x.walk(f)),k===!1)return!1})},g.walkAttributes=function(f){var x=this;return this.walk(function(w){if(w.type===n.ATTRIBUTE)return f.call(x,w)})},g.walkClasses=function(f){var x=this;return this.walk(function(w){if(w.type===n.CLASS)return f.call(x,w)})},g.walkCombinators=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMBINATOR)return f.call(x,w)})},g.walkComments=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMMENT)return f.call(x,w)})},g.walkIds=function(f){var x=this;return this.walk(function(w){if(w.type===n.ID)return f.call(x,w)})},g.walkNesting=function(f){var x=this;return this.walk(function(w){if(w.type===n.NESTING)return f.call(x,w)})},g.walkPseudos=function(f){var x=this;return this.walk(function(w){if(w.type===n.PSEUDO)return f.call(x,w)})},g.walkTags=function(f){var x=this;return this.walk(function(w){if(w.type===n.TAG)return f.call(x,w)})},g.walkUniversals=function(f){var x=this;return this.walk(function(w){if(w.type===n.UNIVERSAL)return f.call(x,w)})},g.split=function(f){var x=this,w=[];return this.reduce(function(k,S,E){var z=f.call(x,S);return w.push(S),z?(k.push(w),w=[]):E===x.length-1&&k.push(w),k},[])},g.map=function(f){return this.nodes.map(f)},g.reduce=function(f,x){return this.nodes.reduce(f,x)},g.every=function(f){return this.nodes.every(f)},g.some=function(f){return this.nodes.some(f)},g.filter=function(f){return this.nodes.filter(f)},g.sort=function(f){return this.nodes.sort(f)},g.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),qM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),WM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),Mk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,g=c.length;b<g;){var f=c.charAt(b++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<g){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(f)?w="\\"+f:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?w="\\"+x.toString(16).toUpperCase()+" ":f=="\\"||!m&&(f=='"'&&p==f||f=="'"&&p==f)||m&&a.test(f)?w="\\"+f:w=f;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,E,z){return E&&E.length%2?S:(E||"")+z}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),_M=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Mk()),n=Fh(),i=a(nn()),o=wt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),UM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),VM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),Rk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Mk()),n=Fh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),QM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),YM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),GM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),dV=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),KM=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(Mk()),r=a(BM()),n=a(Rk()),i=wt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var z=S[E];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(k,z.key,z)}}function l(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,z){return E.__proto__=z,E},c(k,S)}var d=dV(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,E=null,z=k,L=z.match(p);return L&&(E=L[1],z=L[2]),z=(0,r.default)(z),z!==k&&(S=!0),{deprecatedUsage:S,unescaped:z,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),E=S.quoteMark,z=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=z,k.quoteMark=E,k}var f=(function(k){u(S,k);function S(z){var L;return z===void 0&&(z={}),L=k.call(this,g(z))||this,L.type=i.ATTRIBUTE,L.raws=L.raws||{},Object.defineProperty(L.raws,"unquoted",{get:d(function(){return L.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return L.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),L._constructed=!0,L}var E=S.prototype;return E._syncRawValue=function(){var z=(0,t.default)(this._value,x[this.quoteMark]);z===this._value?this.raws&&delete this.raws.value:this.raws.value=z},E._handleEscapes=function(z,L){if(this._constructed){var N=(0,t.default)(L,{isIdentifier:!0});N!==L?this.raws[z]=N:delete this.raws[z]}},E._spacesFor=function(z){var L={before:"",after:""},N=this.spaces[z]||{},B=this.raws.spaces&&this.raws.spaces[z]||{};return Object.assign(L,N,B)},E._stringFor=function(z,L,N){L===void 0&&(L=z),N===void 0&&(N=w);var B=this._spacesFor(L);return N(this.stringifyProperty(z),B)},E.offsetOf=function(z){var L=1,N=this._spacesFor("attribute");if(L+=N.before.length,z==="namespace"||z==="ns")return this.namespace?L:-1;if(z==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),z==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=N.after.length;var B=this._spacesFor("operator");L+=B.before.length;var te=this.stringifyProperty("operator");if(z==="operator")return te?L:-1;L+=te.length,L+=B.after.length;var re=this._spacesFor("value");L+=re.before.length;var be=this.stringifyProperty("value");if(z==="value")return be?L:-1;L+=be.length,L+=re.after.length;var he=this._spacesFor("insensitive");return L+=he.before.length,z==="insensitive"&&this.insensitive?L:-1},E.toString=function(){var z=this,L=[this.rawSpaceBefore,"["];return L.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(L.push(this._stringFor("operator")),L.push(this._stringFor("value")),L.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!z.quoted&&B.before.length===0&&!(z.spaces.value&&z.spaces.value.after)&&(B.before=" "),w(N,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var z=this.quoteMark;return z==="'"||z==='"'},set:function(z){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(z){if(!this._constructed){this._quoteMark=z;return}this._quoteMark!==z&&(this._quoteMark=z,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(z){if(this._constructed){var L=b(z),N=L.deprecatedUsage,B=L.unescaped,te=L.quoteMark;if(N&&m(),B===this._value&&te===this._quoteMark)return;this._value=B,this._quoteMark=te,this._syncRawValue()}else this._value=z}},{key:"insensitive",get:function(){return this._insensitive},set:function(z){z||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=z}},{key:"attribute",get:function(){return this._attribute},set:function(z){this._handleEscapes("attribute",z),this._attribute=z}}]),S})(n.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),HM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),XM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),JM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),pV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),ZM=G(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var g=62;e.greaterThan=g;var f=32;e.space=f;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var E=92;e.backslash=E;var z=13;e.cr=z;var L=12;e.feed=L;var N=10;e.newline=N;var B=9;e.tab=B;var te=x;e.str=te;var re=-1;e.comment=re;var be=-2;e.word=be;var he=-3;e.combinator=he}),mV=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(ZM()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var g=b,f;do{if(f=h.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(h,g)+1:g++}while(g<h.length);return g-1}function p(h,b){var g=b,f=h.charCodeAt(g+1);if(!a[f])if(l[f]){var x=0;do g++,x++,f=h.charCodeAt(g+1);while(l[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],g=h.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,z,L,N,B,te,re,be,he,oe,qe,Ue,At,Ve;function Y(H,R){if(h.safe)g+=R,oe=g.length-1;else throw h.error("Unclosed "+H,k,S-w,S)}for(;S<x;){switch(z=g.charCodeAt(S),z===t.newline&&(w=S,k+=1),z){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:oe=S;do oe+=1,z=g.charCodeAt(oe),z===t.newline&&(w=oe,k+=1);while(z===t.space||z===t.newline||z===t.tab||z===t.cr||z===t.feed);Ve=t.space,B=k,N=oe-w-1,E=oe;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:oe=S;do oe+=1,z=g.charCodeAt(oe);while(z===t.plus||z===t.greaterThan||z===t.tilde||z===t.pipe);Ve=t.combinator,B=k,N=S-w,E=oe;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:oe=S,Ve=z,B=k,N=S-w,E=oe+1;break;case t.singleQuote:case t.doubleQuote:At=z===t.singleQuote?"'":'"',oe=S;do for(te=!1,oe=g.indexOf(At,oe+1),oe===-1&&Y("quote",At),re=oe;g.charCodeAt(re-1)===t.backslash;)re-=1,te=!te;while(te);Ve=t.str,B=k,N=S-w,E=oe+1;break;default:z===t.slash&&g.charCodeAt(S+1)===t.asterisk?(oe=g.indexOf("*/",S+2)+1,oe===0&&Y("comment","*/"),L=g.slice(S,oe+1),he=L.split(`
|
|
36
|
+
`),be=he.length-1,be>0?(qe=k+be,Ue=oe-he[be].length):(qe=k,Ue=w),Ve=t.comment,k=qe,B=qe,N=oe-Ue):z===t.slash?(oe=S,Ve=z,B=k,N=S-w,E=oe+1):(oe=d(g,S),Ve=t.word,B=k,N=oe-w),E=oe+1;break}b.push([Ve,k,S-w,B,N,S,E]),Ue&&(w=Ue,Ue=null),S=E}return b}}),hV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(qM()),n=E(WM()),i=E(_M()),o=E(UM()),a=E(VM()),s=E(QM()),l=E(YM()),u=E(GM()),c=S(KM()),d=E(HM()),p=E(XM()),m=E(JM()),v=E(pV()),h=S(mV()),b=S(ZM()),g=S(wt()),f=Fh(),x,w;function k(Y){if(typeof WeakMap!="function")return null;var H=new WeakMap,R=new WeakMap;return(k=function(W){return W?R:H})(Y)}function S(Y,H){if(!H&&Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var R=k(H);if(R&&R.has(Y))return R.get(Y);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in Y)if(F!=="default"&&Object.prototype.hasOwnProperty.call(Y,F)){var ee=Z?Object.getOwnPropertyDescriptor(Y,F):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,F,ee):W[F]=Y[F]}return W.default=Y,R&&R.set(Y,W),W}function E(Y){return Y&&Y.__esModule?Y:{default:Y}}function z(Y,H){for(var R=0;R<H.length;R++){var W=H[R];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Y,W.key,W)}}function L(Y,H,R){return H&&z(Y.prototype,H),R&&z(Y,R),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var N=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},N,(w={},w[b.comment]=!0,w));function te(Y){return{line:Y[h.FIELDS.START_LINE],column:Y[h.FIELDS.START_COL]}}function re(Y){return{line:Y[h.FIELDS.END_LINE],column:Y[h.FIELDS.END_COL]}}function be(Y,H,R,W){return{start:{line:Y,column:H},end:{line:R,column:W}}}function he(Y){return be(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],Y[h.FIELDS.END_LINE],Y[h.FIELDS.END_COL])}function oe(Y,H){if(Y)return be(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],H[h.FIELDS.END_LINE],H[h.FIELDS.END_COL])}function qe(Y,H){var R=Y[H];if(typeof R=="string")return R.indexOf("\\")!==-1&&((0,f.ensureObject)(Y,"raws"),Y[H]=(0,f.unesc)(R),Y.raws[H]===void 0&&(Y.raws[H]=R)),Y}function Ue(Y,H){for(var R=-1,W=[];(R=Y.indexOf(H,R+1))!==-1;)W.push(R);return W}function At(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(H,R){return R===Y.indexOf(H)})}var Ve=(function(){function Y(R,W){W===void 0&&(W={}),this.rule=R,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:Z}),this.root.errorGenerator=this._errorGenerator();var F=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(F),this.current=F,this.loop()}var H=Y.prototype;return H._errorGenerator=function(){var R=this;return function(W,Z){return typeof R.rule=="string"?new Error(W):R.rule.error(W,Z)}},H.attribute=function(){var R=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)R.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var Z=R.length,F={source:be(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(Z===1&&!~[b.word].indexOf(R[0][h.FIELDS.TYPE]))return this.expected("attribute",R[0][h.FIELDS.START_POS]);for(var ee=0,ge="",we="",ae=null,Fe=!1;ee<Z;){var nt=R[ee],ve=this.content(nt),Qe=R[ee+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Fe=!0,this.options.lossy)break;if(ae){(0,f.ensureObject)(F,"spaces",ae);var Lr=F.spaces[ae].after||"";F.spaces[ae].after=Lr+ve;var hr=(0,f.getProp)(F,"raws","spaces",ae,"after")||null;hr&&(F.raws.spaces[ae].after=hr+ve)}else ge=ge+ve,we=we+ve;break;case b.asterisk:if(Qe[h.FIELDS.TYPE]===b.equals)F.operator=ve,ae="operator";else if((!F.namespace||ae==="namespace"&&!Fe)&&Qe){ge&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ge,ge=""),we&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ge,we=""),F.namespace=(F.namespace||"")+ve;var Lt=(0,f.getProp)(F,"raws","namespace")||null;Lt&&(F.raws.namespace+=ve),ae="namespace"}Fe=!1;break;case b.dollar:if(ae==="value"){var bt=(0,f.getProp)(F,"raws","value");F.value+="$",bt&&(F.raws.value=bt+"$");break}case b.caret:Qe[h.FIELDS.TYPE]===b.equals&&(F.operator=ve,ae="operator"),Fe=!1;break;case b.combinator:if(ve==="~"&&Qe[h.FIELDS.TYPE]===b.equals&&(F.operator=ve,ae="operator"),ve!=="|"){Fe=!1;break}Qe[h.FIELDS.TYPE]===b.equals?(F.operator=ve,ae="operator"):!F.namespace&&!F.attribute&&(F.namespace=!0),Fe=!1;break;case b.word:if(Qe&&this.content(Qe)==="|"&&R[ee+2]&&R[ee+2][h.FIELDS.TYPE]!==b.equals&&!F.operator&&!F.namespace)F.namespace=ve,ae="namespace";else if(!F.attribute||ae==="attribute"&&!Fe){ge&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ge,ge=""),we&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=we,we=""),F.attribute=(F.attribute||"")+ve;var Jt=(0,f.getProp)(F,"raws","attribute")||null;Jt&&(F.raws.attribute+=ve),ae="attribute"}else if(!F.value&&F.value!==""||ae==="value"&&!(Fe||F.quoteMark)){var Zt=(0,f.unesc)(ve),Wr=(0,f.getProp)(F,"raws","value")||"",qd=F.value||"";F.value=qd+Zt,F.quoteMark=null,(Zt!==ve||Wr)&&((0,f.ensureObject)(F,"raws"),F.raws.value=(Wr||qd)+ve),ae="value"}else{var Wd=ve==="i"||ve==="I";(F.value||F.value==="")&&(F.quoteMark||Fe)?(F.insensitive=Wd,(!Wd||ve==="I")&&((0,f.ensureObject)(F,"raws"),F.raws.insensitiveFlag=ve),ae="insensitive",ge&&((0,f.ensureObject)(F,"spaces","insensitive"),F.spaces.insensitive.before=ge,ge=""),we&&((0,f.ensureObject)(F,"raws","spaces","insensitive"),F.raws.spaces.insensitive.before=we,we="")):(F.value||F.value==="")&&(ae="value",F.value+=ve,F.raws.value&&(F.raws.value+=ve))}Fe=!1;break;case b.str:if(!F.attribute||!F.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var co=(0,c.unescapeValue)(ve),I6=co.unescaped,O6=co.quoteMark;F.value=I6,F.quoteMark=O6,ae="value",(0,f.ensureObject)(F,"raws"),F.raws.value=ve,Fe=!1;break;case b.equals:if(!F.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],ve);if(F.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});F.operator=F.operator?F.operator+ve:ve,ae="operator",Fe=!1;break;case b.comment:if(ae)if(Fe||Qe&&Qe[h.FIELDS.TYPE]===b.space||ae==="insensitive"){var j6=(0,f.getProp)(F,"spaces",ae,"after")||"",T6=(0,f.getProp)(F,"raws","spaces",ae,"after")||j6;(0,f.ensureObject)(F,"raws","spaces",ae),F.raws.spaces[ae].after=T6+ve}else{var D6=F[ae]||"",L6=(0,f.getProp)(F,"raws",ae)||D6;(0,f.ensureObject)(F,"raws"),F.raws[ae]=L6+ve}else we=we+ve;break;default:return this.error('Unexpected "'+ve+'" found.',{index:nt[h.FIELDS.START_POS]})}ee++}qe(F,"attribute"),qe(F,"namespace"),this.newNode(new c.default(F)),this.position++},H.parseWhitespaceEquivalentTokens=function(R){R<0&&(R=this.tokens.length);var W=this.position,Z=[],F="",ee=void 0;do if(N[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(F+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var ge={};F&&(ge.before=F,F=""),ee=new o.default({value:this.content(),source:he(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ge}),Z.push(ee)}while(++this.position<R);if(F){if(ee)ee.spaces.after=F;else if(!this.options.lossy){var we=this.tokens[W],ae=this.tokens[this.position-1];Z.push(new l.default({value:"",source:be(we[h.FIELDS.START_LINE],we[h.FIELDS.START_COL],ae[h.FIELDS.END_LINE],ae[h.FIELDS.END_COL]),sourceIndex:we[h.FIELDS.START_POS],spaces:{before:F,after:""}}))}}return Z},H.convertWhitespaceNodesToSpace=function(R,W){var Z=this;W===void 0&&(W=!1);var F="",ee="";R.forEach(function(we){var ae=Z.lossySpace(we.spaces.before,W),Fe=Z.lossySpace(we.rawSpaceBefore,W);F+=ae+Z.lossySpace(we.spaces.after,W&&ae.length===0),ee+=ae+we.value+Z.lossySpace(we.rawSpaceAfter,W&&Fe.length===0)}),ee===F&&(ee=void 0);var ge={space:F,rawSpace:ee};return ge},H.isNamedCombinator=function(R){return R===void 0&&(R=this.position),this.tokens[R+0]&&this.tokens[R+0][h.FIELDS.TYPE]===b.slash&&this.tokens[R+1]&&this.tokens[R+1][h.FIELDS.TYPE]===b.word&&this.tokens[R+2]&&this.tokens[R+2][h.FIELDS.TYPE]===b.slash},H.namedCombinator=function(){if(this.isNamedCombinator()){var R=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(R).toLowerCase(),Z={};W!==R&&(Z.value="/"+R+"/");var F=new p.default({value:"/"+W+"/",source:be(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:Z});return this.position=this.position+3,F}else this.unexpected()},H.combinator=function(){var R=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(W);if(Z.length>0){var F=this.current.last;if(F){var ee=this.convertWhitespaceNodesToSpace(Z),ge=ee.space,we=ee.rawSpace;we!==void 0&&(F.rawSpaceAfter+=we),F.spaces.after+=ge}else Z.forEach(function(Wr){return R.newNode(Wr)})}return}var ae=this.currToken,Fe=void 0;W>this.position&&(Fe=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:he(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):N[this.currToken[h.FIELDS.TYPE]]||Fe||this.unexpected(),nt){if(Fe){var ve=this.convertWhitespaceNodesToSpace(Fe),Qe=ve.space,Lr=ve.rawSpace;nt.spaces.before=Qe,nt.rawSpaceBefore=Lr}}else{var hr=this.convertWhitespaceNodesToSpace(Fe,!0),Lt=hr.space,bt=hr.rawSpace;bt||(bt=Lt);var Jt={},Zt={spaces:{}};Lt.endsWith(" ")&&bt.endsWith(" ")?(Jt.before=Lt.slice(0,Lt.length-1),Zt.spaces.before=bt.slice(0,bt.length-1)):Lt[0]===" "&&bt[0]===" "?(Jt.after=Lt.slice(1),Zt.spaces.after=bt.slice(1)):Zt.value=bt,nt=new p.default({value:" ",source:oe(ae,this.tokens[this.position-1]),sourceIndex:ae[h.FIELDS.START_POS],spaces:Jt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},H.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var R=new n.default({source:{start:te(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(R),this.current=R,this.position++},H.comment=function(){var R=this.currToken;this.newNode(new o.default({value:this.content(),source:he(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.error=function(R,W){throw this.root.error(R,W)},H.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},H.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},H.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},H.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},H.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},H.namespace=function(){var R=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(R);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(R);this.unexpectedPipe()},H.nesting=function(){if(this.nextToken){var R=this.content(this.nextToken);if(R==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:he(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},H.parentheses=function(){var R=this.current.last,W=1;if(this.position++,R&&R.type===g.PSEUDO){var Z=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),F=this.current;for(R.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=re(this.currToken),this.current.parent.source.end=re(this.currToken),this.position++);this.current=F}else{for(var ee=this.currToken,ge="(",we;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,we=this.currToken,ge+=this.parseParenthesisToken(this.currToken),this.position++;R?R.appendToPropertyAndEscape("value",ge,ge):this.newNode(new l.default({value:ge,source:be(ee[h.FIELDS.START_LINE],ee[h.FIELDS.START_COL],we[h.FIELDS.END_LINE],we[h.FIELDS.END_COL]),sourceIndex:ee[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},H.pseudo=function(){for(var R=this,W="",Z=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(F,ee){W+=F,R.newNode(new u.default({value:W,source:oe(Z,R.currToken),sourceIndex:Z[h.FIELDS.START_POS]})),ee>1&&R.nextToken&&R.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&R.error("Misplaced parenthesis.",{index:R.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},H.space=function(){var R=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(R),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(R),this.position++):this.combinator()},H.string=function(){var R=this.currToken;this.newNode(new l.default({value:this.content(),source:he(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.universal=function(R){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new d.default({value:this.content(),source:he(Z),sourceIndex:Z[h.FIELDS.START_POS]}),R),this.position++},H.splitWord=function(R,W){for(var Z=this,F=this.nextToken,ee=this.content();F&&~[b.dollar,b.caret,b.equals,b.word].indexOf(F[h.FIELDS.TYPE]);){this.position++;var ge=this.content();if(ee+=ge,ge.lastIndexOf("\\")===ge.length-1){var we=this.nextToken;we&&we[h.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(we)),this.position++)}F=this.nextToken}var ae=Ue(ee,".").filter(function(Qe){var Lr=ee[Qe-1]==="\\",hr=/^\d+\.\d+%$/.test(ee);return!Lr&&!hr}),Fe=Ue(ee,"#").filter(function(Qe){return ee[Qe-1]!=="\\"}),nt=Ue(ee,"#{");nt.length&&(Fe=Fe.filter(function(Qe){return!~nt.indexOf(Qe)}));var ve=(0,v.default)(At([0].concat(ae,Fe)));ve.forEach(function(Qe,Lr){var hr=ve[Lr+1]||ee.length,Lt=ee.slice(Qe,hr);if(Lr===0&&W)return W.call(Z,Lt,ve.length);var bt,Jt=Z.currToken,Zt=Jt[h.FIELDS.START_POS]+ve[Lr],Wr=be(Jt[1],Jt[2]+Qe,Jt[3],Jt[2]+(hr-1));if(~ae.indexOf(Qe)){var qd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new i.default(qe(qd,"value"))}else if(~Fe.indexOf(Qe)){var Wd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new a.default(qe(Wd,"value"))}else{var co={value:Lt,source:Wr,sourceIndex:Zt};qe(co,"value"),bt=new s.default(co)}Z.newNode(bt,R),R=null}),this.position++},H.word=function(R){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(R)},H.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},H.parse=function(R){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:R&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},H.expected=function(R,W,Z){if(Array.isArray(R)){var F=R.pop();R=R.join(", ")+" or "+F}var ee=/^[aeiou]/.test(R[0])?"an":"a";return Z?this.error("Expected "+ee+" "+R+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+R+".",{index:W})},H.requiredSpace=function(R){return this.options.lossy?" ":R},H.optionalSpace=function(R){return this.options.lossy?"":R},H.lossySpace=function(R,W){return this.options.lossy?W?" ":"":R},H.parseParenthesisToken=function(R){var W=this.content(R);return R[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},H.newNode=function(R,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),R.namespace=W,qe(R,"namespace")),this.spaces&&(R.spaces.before=this.spaces,this.spaces=""),this.current.append(R)},H.content=function(R){return R===void 0&&(R=this.currToken),this.css.slice(R[h.FIELDS.START_POS],R[h.FIELDS.END_POS])},H.locateNextMeaningfulToken=function(R){R===void 0&&(R=this.position+1);for(var W=R;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},L(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=Ve,t.exports=e.default}),fV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(hV());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,l){this.func=s||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var l=Object.assign({},this.options,s);return l.lossless===!1},a._root=function(s,l){l===void 0&&(l={});var u=new r.default(s,this._parseOptions(l));return u.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,l){l===void 0&&(l={});var u=this._root(s,l),c=this.func(u);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return l.updateSelector&&typeof s!="string"&&(d=u.toString(),s.selector=d),{transform:c,root:u,string:d}},a.astSync=function(s,l){return this._runSync(s,l).root},a.processSync=function(s,l){var u=this._runSync(s,l);return u.string||u.root.toString()},o})();e.default=i,t.exports=e.default}),gV=G(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(KM()),r=m(_M()),n=m(XM()),i=m(UM()),o=m(VM()),a=m(JM()),s=m(GM()),l=m(qM()),u=m(WM()),c=m(YM()),d=m(QM()),p=m(HM());function m(N){return N&&N.__esModule?N:{default:N}}var v=function(N){return new t.default(N)};e.attribute=v;var h=function(N){return new r.default(N)};e.className=h;var b=function(N){return new n.default(N)};e.combinator=b;var g=function(N){return new i.default(N)};e.comment=g;var f=function(N){return new o.default(N)};e.id=f;var x=function(N){return new a.default(N)};e.nesting=x;var w=function(N){return new s.default(N)};e.pseudo=w;var k=function(N){return new l.default(N)};e.root=k;var S=function(N){return new u.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var z=function(N){return new d.default(N)};e.tag=z;var L=function(N){return new p.default(N)};e.universal=L}),bV=G(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=f,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=wt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,E){return i(E)&&E.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var g=o.bind(null,t.UNIVERSAL);e.isUniversal=g;function f(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!f(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),vV=G(e=>{"use strict";e.__esModule=!0;var t=wt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=gV();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=bV();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),dt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(fV()),n=o(vV());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function at(e){var l,u;let t=e.nodes.findIndex(c=>!Wy(c)),r=e.nodes.findLastIndex(c=>!Wy(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var wC,Wy,zt=y(()=>{wC=X(dt(),1),{isComment:Wy}=wC.default});function xe(e,t,r){if(e)try{return(0,e3.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var e3,ze=y(()=>{e3=X(dt(),1)}),t3={};A(t3,{default:()=>r3});var As,$g,kC,Ns,r3,yV=y(()=>{V(),ye(),zt(),de(),ze(),I(),j(),D(),As="keyframe-block-no-duplicate-selectors",$g=O(As,{rejected:e=>`Duplicate keyframe selector "${e}"`}),kC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},Ns=e=>(t,r)=>{T(r,As,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=xe(fe(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=at(s),d=l.toLowerCase();if(i.has(d)){P({message:$g.rejected,messageArgs:[l],node:o,result:r,ruleName:As,index:u,endIndex:c});return}i.add(d)}))})})},Ns.ruleName=As,Ns.messages=$g,Ns.meta=kC,r3=Ns}),n3={};A(n3,{default:()=>i3});var Es,Bg,xC,Ps,i3,wV=y(()=>{q(),V(),KL(),I(),j(),D(),Es="keyframe-declaration-no-important",Bg=O(Es,{rejected:"Disallowed !important"}),xC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Ps=e=>(t,r)=>{T(r,Es,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=GL(i.toString());We(o),P({message:Bg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:Es})})})},Ps.ruleName=Es,Ps.messages=Bg,Ps.meta=xC,i3=Ps}),o3={};A(o3,{default:()=>a3});function kV(e){let t=e.nodes.filter(i=>!(im.default.isComment(i)||im.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(im.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Bi.has(n)&&!Wc.has(n)))return[r,n]}function qg(e,t){let r=e.get(t);return eo(r),r}function xV(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var im,Is,Wg,SC,CC,_g,Os,a3,SV=y(()=>{q(),Ke(),V(),ye(),ze(),im=X(dt(),1),Tt(),I(),j(),D(),Is="keyframe-selector-notation",Wg=O(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),SC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},CC=new Map([["0%","from"],["100%","to"]]),_g=new Map([["from","0%"],["to","100%"]]),Os=e=>(t,r)=>{if(!T(r,Is,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Bi.has(s),fixFunc:s=>qg(CC,s)},percentage:{expFunc:s=>Wc.has(s),fixFunc:s=>qg(_g,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Bi.has(u))?!0:Wc.has(s),fixFunc:s=>qg(_g,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(Se.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?xV(s):[];s.walkRules(a,u=>{let c=fe(u),d=xe(c,r,u);d&&d.each(p=>{let m=kV(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),g=()=>{v.value=b,u.selector=d.toString()};P({message:Wg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Is,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Os.ruleName=Is,Os.messages=Wg,Os.meta=SC,a3=Os});function CV(e){return!Zm(e)}var zV=y(()=>{eh()}),s3={};A(s3,{default:()=>l3});var js,Ug,zC,Ts,l3,AV=y(()=>{q(),J(),V(),zV(),I(),j(),D(),js="keyframes-name-pattern",Ug=O(js,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),zC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ts=e=>(t,r)=>{if(!T(r,js,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.keyframesName,i=>{let o=i.params;if(!CV(o)||n.test(o))return;let a=je(i),s=a+o.length;P({index:a,endIndex:s,message:Ug.expected,messageArgs:[o,e],node:i,ruleName:js,result:r})})},Ts.ruleName=js,Ts.messages=Ug,Ts.meta=zC,l3=Ts}),u3={};A(u3,{default:()=>c3});var Vg,Ds,Qg,AC,Ls,c3,NV=y(()=>{Vg=X(ue(),1),V(),q(),J(),I(),j(),D(),Ds="layer-name-pattern",Qg=O(Ds,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),AC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ls=e=>(t,r)=>{if(!T(r,Ds,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.layerName,o=>{let{params:a}=o;a&&(0,Vg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(Se.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,Vg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=je(l)+s,c=u+a.length;P({message:Qg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:Ds,result:r})}},Ls.ruleName=Ds,Ls.messages=Qg,Ls.meta=AC,c3=Ls});function EV(e){return e.type==="function"&&io.has(e.value.toLowerCase())}var PV=y(()=>{Ir()}),d3={};A(d3,{default:()=>p3});function IV({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function OV(e){return e.toLowerCase()==="line-height"}function jV(e){return e.toLowerCase()==="flex"}function TV(e){return qi.has(e.toLowerCase())}function DV(e){return e.toLowerCase()==="fr"}function LV(e){return Number.parseFloat(e)===0}function FV(e){return e===""}var Lp,Fs,Yg,NC,Ms,p3,MV=y(()=>{Lp=X(ue(),1),J(),me(),q(),lt(),Be(),pr(),PV(),et(),ct(),oo(),V(),K(),I(),j(),MM(),gt(),D(),Fs="length-zero-no-unit",Yg=O(Fs,{rejected:"Disallowed unit"}),NC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Ms=(e,t)=>(r,n)=>{if(!T(n,Fs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(EV(u)||Nn(u)&&M(t,"ignoreFunctions",d))return!1;if(!En(u))return;let m=Lp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!LV(v)||FV(h)||!TV(h)||DV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":FM(s,c.toString());break;case"decl":ft(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Yg.rejected,messageArgs:[],node:s,result:n,ruleName:Fs,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||M(t,"ignorePreludeOfAtRules",s.name))return;let l=je(s),u=(0,Lp.default)(st(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!ut(s)||OV(l)||jV(l)||M(t,"ignore","custom-properties")&&yt(l))return;let c=ie(s),d=(0,Lp.default)($e(s));d.walk((p,m,v)=>{if(!IV(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Ms.ruleName=Fs,Ms.messages=Yg,Ms.meta=NC,p3=Ms}),m3={};A(m3,{default:()=>f3});function RV(e,t){let r=Number.parseFloat(e);return Mv.has(t)?`${r}%`:(gm.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${h3(r,e)}%`)}function $V(e,t){let r=Number.parseFloat(e);return gm.has(t)?(r/=100,`${h3(r,e)}`):`${r}`}function h3(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function BV({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Gg,Rs,Kg,EC,$s,f3,qV=y(()=>{Gg=X(ue(),1),Ir(),J(),Be(),_e(),V(),I(),j(),gt(),D(),Rs="lightness-notation",Kg=O(Rs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),EC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},$s=e=>(t,r)=>{T(r,Rs,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Gg.default)($e(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Ow.has(a))return;let s=BV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Gg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?RV(l,a):$V(l,a),m=ie(n),v=()=>{s.value=p,ft(n,i.toString())};P({message:Kg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Rs,fix:{apply:v,node:n}})})})},$s.ruleName=Rs,$s.messages=Kg,$s.meta=EC,f3=$s}),g3={};A(g3,{default:()=>b3});function PC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var IC,Bs,Hg,OC,qs,b3,WV=y(()=>{IC=X(dt(),1),me(),q(),nh(),de(),K(),I(),j(),D(),Bs="max-nesting-depth",Hg=O(Bs,{expected:e=>`Too deep nesting, maximum ${e}`}),OC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},qs=(e,t)=>{let r=o=>Oe(o)&&M(t,"ignoreAtRules",o.name),n=o=>it(o)&&M(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,Bs,{actual:e,possible:[Sr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,_],ignoreRules:[$,_],ignorePseudoClasses:[$,_]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Gc(l)||it(l)&&!ce(l)||i(l,0)>e&&P({ruleName:Bs,result:a,node:l,message:Hg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Oe(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,IC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!M(t,"ignoreRules",d)).every(d=>PC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&M(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=PC(d);return p?M(t,"ignorePseudoClasses",p):!1}):!1}return M(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!to(c))||M(t,"ignore","pseudo-classes")&&it(o)&&l(o.selector)||it(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},qs.ruleName=Bs,qs.messages=Hg,qs.meta=OC,b3=qs});function v3(e){return!!(le(e)&&Ae(e.value)||He(e)&&O3.has(e.getName().toLowerCase()))}function _V(e){return le(e)&&Ee(e.value)}function Td(e){return le(e)&&Ye(e.value)}function UV(e){return He(e)&&e.getName().toLowerCase()==="env"}function jc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(!Td(n)||t!==-1)return!1;t=r}}return t!==-1&&new qk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function VV(e){let t=jc(e);return t===!1?t:new Wk(t)}function Sc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Ie.Whitespace&&o.type!==Ie.Comment){if(r!==-1)return!1;if(v3(o)){let a=y3(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(UV(o))r=i,n=i;else if(_V(o))r=i,n=i;else{if(t||!Td(o))return!1;r=i,n=i}}}return r!==-1&&new _k(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function y3(e){let t=-1,r=-1,n=QV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!It(o))return-1}return[t,r]}function QV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!It(i)){if(le(i)){let o=i.value;if(qt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!v3(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function YV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Ie.Token){let l=s.value;if(mF(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=jc(t);if(i===!1)return!1;let o=Sc(r);return o!==!1&&new Uk(i,n,o)}function GV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Ie.Token){let i=n.value;if(qt(i)){if(i[4].value===Xr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function Pi(e){if(e.length!==1&&e.length!==2||!qt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Xr.EQ:return Xr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!qt(e[1])||e[1][4].value!==Xr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function KV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Ie.Token){let m=p.value;if(qt(m)){let v=GV(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=jc(d);if(m){let h=Sc(p,!0);return!!h&&new Rh(m,n,h)}let v=jc(p);if(v){let h=Sc(d,!0);return!!h&&new Vk(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=Sc(o,!0),u=jc(a),c=Sc(s,!0);if(!l||!u||!c)return!1;{let d=Pi(n);if(d===!1||d===Xr.EQ)return!1;let p=Pi(i);if(p===!1||p===Xr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new Qk(u,l,n,c,i)}function w3(e,t=[],r=[]){if(!lo(e.startToken))return!1;let n=VV(e.value);if(n!==!1)return new Tc(n,t,r);let i=YV(e.value);if(i!==!1)return new Tc(i,t,r);let o=KV(e.value);return o!==!1&&new Tc(o,t,r)}function jC(e){if(!Ye(e))return!1;switch(e[4].value.toLowerCase()){case Oi.Not:return Oi.Not;case Oi.Only:return Oi.Only;default:return!1}}function HV(e){{let t=$k(e);if(t!==!1)return new om(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!id(l)&&!Pk(l)){if(le(l)){let u=l.value;if(t===-1&&Ye(u)&&jC(u)){t=s;continue}if(r===-1&&Ye(u)&&!jC(u)){r=s;continue}if(n===-1&&Ye(u)&&Yk.test(u[4].value)){if(n=s,TC(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];t!==-1?(i=e.slice(0,t+1).flatMap(s=>s.tokens()),r!==-1&&(o=e.slice(t+1,r+1).flatMap(s=>s.tokens()))):r!==-1&&(o=e.slice(0,r+1).flatMap(s=>s.tokens()));let a=TC(e.slice(Math.max(t,r,n)+1));return a===!1?new sd(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new sd(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function XV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=JV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new I3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function k3(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=ZV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new P3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function $k(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=XV(e);if(n!==!1)return new xr(n);let i=x3(e);return i!==!1&&new xr(i)}function TC(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=x3(e);return n!==!1&&new xr(n)}function x3(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Ie.Whitespace&&l.type!==Ie.Comment){if(!Dr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!lo(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=w3(r,n,i);if(o!==!1)return new Hr(o);let a=$k(r.value);return a!==!1?new Hr(a,n,i):new Hr(new Mh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function Dd(e){if(!lo(e.startToken))return!1;let t=w3(e,[e.startToken],[e.endToken]);if(t!==!1)return new Hr(t);let r=$k(e.value);return r!==!1?new Hr(r,[e.startToken],[e.endToken]):new Hr(new Mh(e))}function S3(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Ie.Whitespace&&i.type!==Ie.Comment){if(Td(i)){let o=i.value;if(D3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(i)){i.normalize();let o=Dd(i);if(o===!1)return!1;r=new j3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function JV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(L3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new T3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function ZV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(Yk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new E3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function Ld(e,t){let r=kF(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=HV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Bk(r[i]):o}).filter(n=>!!n)}function eQ(e,t){return Ld(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function tQ(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Et(e[o])){if(Ye(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Et(n[o])){if(Ye(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new _y(r,null,n):new _y(r,Ld(Y8(n),t))}function rQ(e,t){return tQ(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function C3(e){return Mh.isGeneralEnclosed(e)}function nQ(e){return Wk.isMediaFeatureBoolean(e)}function z3(e){return _k.isMediaFeatureValue(e)}function Ii(e){return Uk.isMediaFeaturePlain(e)}function Ym(e){return A3(e)||N3(e)||iQ(e)}function A3(e){return Rh.isMediaFeatureRangeNameValue(e)}function N3(e){return Vk.isMediaFeatureRangeValueName(e)}function iQ(e){return Qk.isMediaFeatureRangeValueNameValue(e)}function Ln(e){return Tc.isMediaFeature(e)}function oQ(e){return sd.isMediaQueryWithType(e)}function Fn(e){return Bk.isMediaQueryInvalid(e)}var se,xr,Hr,sd,om,Bk,Mh,E3,P3,I3,O3,qk,Wk,_k,Uk,or,ar,Xr,Oi,Rh,Vk,Qk,Tc,j3,T3,D3,L3,Yk,_y,DC,Xt=y(()=>{Ct(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(se||(se={})),xr=class Uy{constructor(t){U(this,"type",se.MediaCondition);U(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return Uy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Uy&&t.type===se.MediaCondition}},Hr=class Vy{constructor(t,r=[],n=[]){U(this,"type",se.MediaInParens);U(this,"media");U(this,"before");U(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Vy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Vy&&t.type===se.MediaInParens}},sd=class gn{constructor(t,r,n,i){U(this,"type",se.MediaQueryWithType);U(this,"modifier");U(this,"mediaType");U(this,"and");U(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Ye(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new gn([],[[C.Ident,r,-1,-1,{value:r}]]),new om(this.media)]:[new gn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new om(this.media).negateQuery()]:t?[new gn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new gn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Ye(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return gn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof gn&&t.type===se.MediaQueryWithType}},om=class am{constructor(t){U(this,"type",se.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new am(new xr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new xr(new Hr(t,[[C.Whitespace," ",-1,-1,void 0],[C.OpenParen,"(",-1,-1,void 0]],[[C.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[C.Whitespace," ",-1,-1,void 0])),[new sd([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"all",-1,-1,{value:"all"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"and",-1,-1,{value:"and"}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return am.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof am&&t.type===se.MediaQueryWithoutType}},Bk=class sm{constructor(t){U(this,"type",se.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new sm(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=Ei(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return sm.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof sm&&t.type===se.MediaQueryInvalid}},Mh=class Qy{constructor(t){U(this,"type",se.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Et(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Qy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Qy&&t.type===se.GeneralEnclosed}},E3=class Yy{constructor(t,r){U(this,"type",se.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Et(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Yy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Yy&&t.type===se.MediaAnd}},P3=class Gy{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithAnd);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return Gy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Gy&&t.type===se.MediaConditionListWithAnd}},I3=class Ky{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithOr);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Ky.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Ky&&t.type===se.MediaConditionListWithOr}},O3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),qk=class Hy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureName);U(this,"name");U(this,"before");U(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Hy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Hy&&t.type===se.MediaFeatureName}},Wk=class Xy{constructor(t){U(this,"type",se.MediaFeatureBoolean);U(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Xy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Xy&&t.type===se.MediaFeatureBoolean}},_k=class Jy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureValue);U(this,"value");U(this,"before");U(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ei(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Jy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Jy&&t.type===se.MediaFeatureValue}},Uk=class Zy{constructor(t,r,n){U(this,"type",se.MediaFeaturePlain);U(this,"name");U(this,"colon");U(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return Zy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof Zy&&t.type===se.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Xr||(Xr={})),Rh=class ew{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return ew.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof ew&&t.type===se.MediaFeatureRangeNameValue}},Vk=class tw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return tw.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof tw&&t.type===se.MediaFeatureRangeValueName}},Qk=class rw{constructor(t,r,n,i,o){U(this,"type",se.MediaFeatureRangeValueNameValue);U(this,"name");U(this,"valueOne");U(this,"valueOneOperator");U(this,"valueTwo");U(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return Pi(this.valueOneOperator)}valueTwoOperatorKind(){return Pi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return rw.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof rw&&t.type===se.MediaFeatureRangeValueNameValue}},Tc=class nw{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeature);U(this,"feature");U(this,"before");U(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Et(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return nw.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof nw&&t.type===se.MediaFeature}},j3=class iw{constructor(t,r){U(this,"type",se.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Et(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return iw.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof iw&&t.type===se.MediaNot}},T3=class ow{constructor(t,r){U(this,"type",se.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return ow.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof ow&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Oi||(Oi={})),D3=/^not$/i,L3=/^or$/i,Yk=/^and$/i,_y=class aw{constructor(t,r,n){U(this,"type",se.CustomMedia);U(this,"name");U(this,"mediaQueryList",null);U(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([C.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return aw.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof aw&&t.type===se.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(DC||(DC={}))});function Gk(e,t){let r=St({css:e});return kF(r).flatMap(n=>n.flatMap(i=>{if(!Dr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return Ld(o,{preserveInvalidMediaQueries:!0}).filter(a=>!Fn(a))})).forEach(n=>{n.walk(({node:i})=>{if(Ln(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}C3(i)&&aQ(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===C.Colon||l&&l[0]===C.Delim&&sw.test(l[4].value)||u&&u[0]===C.Delim&&sw.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function aQ(e){let t=e.value.value;if(rd(t)||t.length===0||rd(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;LC(n)||a===C.Ident&&LC(o[i-1])||FC(n)||a===C.Ident&&FC(o[i+1])||r.push(n.value)}),r}function LC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function FC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var sw,Kk=y(()=>{rt(),Xt(),Ct(),sw=/[<>=]/});function Zi(e){return e.startsWith("--")}var Fd=y(()=>{}),F3={};A(F3,{default:()=>M3});var Ws,Xg,MC,Zn,M3,sQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),Le(),I(),j(),D(),Ws="media-feature-name-allowed-list",Xg=O(Ws,{rejected:e=>`Disallowed media feature name "${e}"`}),MC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Zn=e=>(t,r)=>{T(r,Ws,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Gk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||Pe(s,e))return;let l=je(n);P({message:Xg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ws,result:r})})})},Zn.primaryOptionArray=!0,Zn.ruleName=Ws,Zn.messages=Xg,Zn.meta=MC,M3=Zn}),R3={};A(R3,{default:()=>$3});var _s,Jg,RC,ei,$3,lQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),Le(),I(),j(),D(),_s="media-feature-name-disallowed-list",Jg=O(_s,{rejected:e=>`Disallowed media feature name "${e}"`}),RC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},ei=e=>(t,r)=>{T(r,_s,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Gk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||!Pe(s,e))return;let l=je(n);P({message:Jg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:_s,result:r})})})},ei.primaryOptionArray=!0,ei.ruleName=_s,ei.messages=Jg,ei.meta=RC,$3=ei}),Zg,Dc,$C,BC,Hk,B3,lm,$h=y(()=>{ro(),Zg=new Set(["device-aspect-ratio","device-height","device-width"]),Dc=Ce(Zg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),$C=new Set([...Dc].flatMap(e=>[`min-${e}`,`max-${e}`])),BC=new Set(["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","environment-blending","forced-colors","grid","hover","inverted-colors","light-level","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-color-gamut","video-dynamic-range"]),Hk=Ce(Zg,Dc,$C,BC),B3=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),lm=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),q3={};A(q3,{default:()=>W3});var Us,eb,qC,Vs,W3,uQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),$h(),K(),I(),j(),D(),Dt(),Us="media-feature-name-no-unknown",eb=O(Us,{rejected:e=>`Unknown media feature name "${e}"`}),qC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Vs=(e,t)=>(r,n)=>{T(n,Us,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{Gk(st(i),o=>{let[,,a,s,{value:l}]=o;if(Zi(l)||M(t,"ignoreMediaFeatureNames",l)||Xe.prefix(l)||Hk.has(l.toLowerCase()))return;let u=je(i);P({message:eb.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Us,result:n})})})},Vs.ruleName=Us,Vs.messages=eb,Vs.meta=qC,W3=Vs}),_3={};A(_3,{default:()=>U3});var Qs,tb,WC,_C,Ys,U3,cQ=y(()=>{q(),V(),bd(),K(),I(),j(),D(),Qs="media-feature-name-no-vendor-prefix",tb=O(Qs,{rejected:"Vendor-prefixed media feature name"}),WC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},_C=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Ys=(e,t)=>(r,n)=>{T(n,Qs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(Se.mediaName,i=>{let o=i.params;if(!zr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${_C.join("|")}`,"gi"));if(a)for(let s of a){if(M(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:tb.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Qs,fix:{apply:l,node:i}})}})},Ys.ruleName=Qs,Ys.messages=tb,Ys.meta=WC,U3=Ys});function Mn(e){return eQ(st(e),{preserveInvalidMediaQueries:!0})}var Rn=y(()=>{Xt(),lt()}),V3={};A(V3,{default:()=>Q3});var Gs,rb,UC,Ks,Q3,dQ=y(()=>{Xt(),rt(),Ct(),V(),J(),q(),Le(),Rn(),I(),j(),Ht(),D(),Gs="media-feature-name-unit-allowed-list",rb=O(Gs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),UC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ks=e=>(t,r)=>{if(!T(r,Gs,{actual:e,possible:[Bt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(Se.mediaName,o=>{Q.dimension.test(o.params)&&Mn(o).forEach(a=>{if(Fn(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(Ii(l)||Ym(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!le(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==C.Dimension||d.includes(h.unit.toLowerCase()))return;let b=je(o);P({message:rb.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:Gs})},s)})})},Ks.ruleName=Gs,Ks.messages=rb,Ks.meta=UC,Q3=Ks}),Y3={};A(Y3,{default:()=>G3});var Hs,nb,VC,Xs,G3,pQ=y(()=>{Xt(),Ct(),q(),J(),V(),Le(),K(),Rn(),I(),j(),Ht(),D(),Hs="media-feature-name-value-allowed-list",nb=O(Hs,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),VC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Xs=e=>(t,r)=>{T(r,Hs,{actual:e,possible:[Bt($,_)]})&&t.walkAtRules(Se.mediaName,n=>{Mn(n).forEach(i=>{if(Fn(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Ln(a)){s.mediaFeatureName=a.getName();return}if(!z3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||M(e,d,c))return;let p=je(n),[m,v]=Wt(u);P({index:p+m,endIndex:p+v+1,message:nb.rejected,messageArgs:[l,c],node:n,ruleName:Hs,result:r})},o)})})},Xs.ruleName=Hs,Xs.messages=nb,Xs.meta=VC,G3=Xs}),K3={};A(K3,{default:()=>H3});var Js,ib,QC,YC,Zs,H3,mQ=y(()=>{rt(),Ct(),Xt(),oo(),$h(),Ir(),q(),J(),V(),FF(),Rn(),I(),j(),Ht(),D(),Dt(),Js="media-feature-name-value-no-unknown",ib=O(Js,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),QC=/^(?:min|max)-/i,YC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Zs=(e,t)=>(r,n)=>{if(!T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Bt($,_)]},optional:!0}))return;let i=(u,c)=>LF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===C.Ident){let w=Xe.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=B3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=lm.get(g);if(!f){d(u,m,v,h);return}if(p===C.Number){if(b.type===ne.Integer){if(f.has("integer")||f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||b.value===1&&f.has("mq-boolean"))return;d(u,m,v,h);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(u,m,v,h);return}if(p===C.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&Rv.has(w)||f.has("length")&&qi.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=lm.get(u.mediaFeatureName);m&&io.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...Wt(c))}function s(u,c,d){let p=lm.get(u.mediaFeatureName);p&&p.has("ratio")&&y3(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...Wt(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(He(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(Se.mediaName,u=>{let c=(p,m,v,h)=>{let b=je(u);P({message:ib.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Js,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Mn(u).forEach(p=>{Fn(p)||p.walk(({node:m,state:v})=>{if(v){if(Ln(m)){let h=m.getName(),b=Xe.unprefixed(h.toLowerCase());if(!Hk.has(b))return;b=b.replace(QC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||z3(m)&&l(v,m,c)}},d)})})},Zs.ruleName=Js,Zs.messages=ib,Zs.meta=YC,H3=Zs}),X3={};A(X3,{default:()=>J3});var el,ob,GC,tl,J3,hQ=y(()=>{Xt(),Ct(),rt(),J(),V(),K(),Rn(),$h(),I(),j(),D(),el="media-feature-range-notation",ob=O(el,{expected:e=>`Expected "${e}" media feature range notation`}),GC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},tl=(e,t)=>(r,n)=>{if(!T(n,el,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=M(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(Se.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Mn(a);s.forEach(l=>{Fn(l)||l.walk(({node:u,parent:c})=>{if(!Ym(u)&&!Ii(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!Dc.has(p))return;let m=e;if(i){let x=(A3(u)||N3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=Ii(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&Ii(u)||m==="context"&&Ym(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:w=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new Rh(new qk(new pe([C.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&Ii(u)&&Ln(c)?v({node:u,parent:c}):void 0,[b,g]=Wt(u),f=je(a);P({message:ob.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:el,fix:{apply:h,node:a}})})})})},tl.ruleName=el,tl.messages=ob,tl.meta=GC,J3=tl}),Z3={};A(Z3,{default:()=>eR});function KC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(He(n)&&(r=M(t,"ignoreFunctions",n.getName()),r))return!1}),r}var rl,ab,HC,sb,XC,nl,eR,fQ=y(()=>{Ct(),Xt(),q(),J(),V(),Fd(),K(),Rn(),$h(),I(),j(),D(),rl="media-query-no-invalid",ab=O(rl,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),HC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},sb=/^(?:min|max)-/i,XC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},nl=(e,t)=>(r,n)=>{if(!T(n,rl,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(Se.mediaName,o=>{let a=je(o);Mn(o).forEach(s=>{if(Fn(s)){if(KC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(C3(l)){if(KC(s,t))return;i(o,a,l);return}if(Ii(l)){let c=l.getName();if(Zi(c)){i(o,a,u,"custom");return}return}if(Ym(l)){let c=l.getName().toLowerCase();if(Zi(c)){i(o,a,u,"custom");return}if(sb.test(c)){i(o,a,u,"min_max_in_range");return}if(!Dc.has(c)){i(o,a,u,"discrete");return}return}if(nQ(l)){let c=l.getName();sb.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Wt(s);P({message:ab.rejected,messageArgs:[s.toString(),l?HC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:rl,result:n})}},nl.ruleName=rl,nl.messages=ab,nl.meta=XC,eR=nl}),tR={};A(tR,{default:()=>rR});var il,lb,JC,ol,rR,gQ=y(()=>{V(),q(),J(),NN(),Xt(),et(),rt(),K(),Rn(),I(),j(),Ct(),D(),il="media-type-no-deprecated",lb=O(il,{rejected:e=>`Deprecated media type "${e}"`}),JC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},ol=(e,t)=>(r,n)=>{T(n,il,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||Mn(i).forEach(o=>{if(!oQ(o))return;let a=o.getMediaType();if(!Bw.has(a.toLowerCase())||M(t,"ignoreMediaTypes",a))return;let s=je(i),[l,u]=Wt({tokens:()=>o.mediaType.filter(Ye)});P({message:lb.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:il,result:n})})})},ol.ruleName=il,ol.messages=lb,ol.meta=JC,rR=ol});function bQ(e,t){let r=e.map(n=>{let i=[],o=n.indexOf(t);for(;o!==-1;)i.push(o),o=n.indexOf(t,o+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let o=r[n],a=r[i];if(!(o&&o.length===0||a&&a.length===0)&&!Nw(o,a))return!1}return!0}function vQ(e){let t=new Set(e.flat());return t.delete("."),[...t]}function yQ(e){return vQ(e).filter(t=>!bQ(e,t))}var wQ=y(()=>{Ew()}),nR={};A(nR,{default:()=>iR});var ZC,al,sl,e2,ll,iR,kQ=y(()=>{ZC=X(ue(),1),q(),J(),wQ(),_e(),V(),I(),j(),D(),al="named-grid-areas-no-invalid",sl=O(al,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),e2={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},ll=e=>(t,r)=>{T(r,al,{actual:e})&&t.walkDecls(dr.gridAreaNames,n=>{let{value:i}=n;if(!Re(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,ZC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(sl.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(sl.expectedSameNumber,[],l.index,l.endIndex);return}let u=yQ(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));We(p),c(sl.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ie(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:al})}})},ll.ruleName=al,ll.messages=sl,ll.meta=e2,iR=ll});function lw(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Cv(n))return!0;if("document"in n&&n.document instanceof nE&&Cv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var oR=y(()=>{gd(),me()}),aR={};A(aR,{default:()=>sR});function t2(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&M(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var ul,ub,r2,cl,sR,xQ=y(()=>{On(),V(),q(),J(),lt(),ye(),oR(),et(),de(),K(),I(),j(),D(),ul="nesting-selector-no-missing-scoping-root",ub=O(ul,{rejected:"Missing scoping root"}),r2={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},cl=(e,t)=>(r,n)=>{if(!T(n,ul,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(lw(o)||!ce(o)||t2(o,t))return;let a;try{a=qr(fe(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(Se.scopeName,o=>{if(lw(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||t2(o,t))return;let a;try{a=qr(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,je(o))});function i(o,a,s=0){Ni(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:ub.rejected,node:o,result:n,ruleName:ul,index:u,endIndex:c})}})}},cl.ruleName=ul,cl.messages=ub,cl.meta=r2,sR=cl});function Xk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function kn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(SQ(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&e.nodes.length===1&&e.nodes[0].type==="selector"&&CQ(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Lc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Lc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Fp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Lc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Fp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=kn(n,t);Xk(i,r)<0||(r=i)}),r}function SQ(e){return Lc.default.isPseudoElement(e)}function CQ(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Lc,lR=y(()=>{Lc=X(dt(),1)});function Jk(e){let t=e.parent;return t?Oe(t)?t:it(t)?Jk(t):null:null}var uR=y(()=>{me()});function cR(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=n2(e,n);return r.reduce((o,a)=>n2(o,a),i)}}}function n2(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var dR=y(()=>{});function Cc(e,t){let r=uw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,uw.set(e,r);let n=e.toString(),i=ki.get(n);if(i)return r.set(t,i),i;let o=zQ(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ki.size>=mR){let s=ki.keys().next().value;s!==void 0&&ki.delete(s)}return ki.set(n,a),a}function zQ(e){return a2(e),i2(e),e.walk(t=>{a2(t),i2(t)}),pR(e),e}function i2(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function pR(e){if(nr.default.isContainer(e)){if(e.each(pR),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=NQ(e.nodes))}}function o2(e){var t;return(t=hR.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function AQ(e,t){let r=o2(e)-o2(t);return r!==0?r:String(e).localeCompare(String(t))}function NQ(e){let t=[],r=[];return e.forEach(n=>{nr.default.isCombinator(n)||nr.default.isPseudoElement(n)?(t.push(r,[n]),r=[]):r.push(n)}),t.push(r),t.forEach(n=>n.sort(AQ)),t.flat()}function a2(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,uw,ki,mR,hR,fR=y(()=>{nr=X(dt(),1),uw=new WeakMap,ki=new Map,mR=1e4,hR=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function vn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function EQ(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...vn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...vn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>s2(a)-s2(s)),n.push(...o)}e.removeAll();for(let i=n.length-1;i>=0;i--)n[i].remove(),n[i].parent=e,e.nodes.unshift(n[i])}function s2(e){return sr.default.isPseudoElement(e)?cw.pseudoElement:cw[e.type]}function l2(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...vn(s)})):(s.prepend(sr.default.combinator({value:" ",...vn(s)})),s.prepend(sr.default.nesting({...vn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...u2(t,!0)):u.replaceWith(...u2(t)))});for(let u of l)EQ(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...vn(e)});return n.forEach(a=>{i.append(a)}),i}function u2(e,t=!1){if(t||!PQ(e.nodes)){let r=sr.default.pseudo({value:":is",...vn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function PQ(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,cw,IQ=y(()=>{sr=X(dt(),1),cw={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function ld(e,t){let r=pw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,pw.set(e,r);let n=xe(fe(e),t,e);if(!n)return[];let i,o=[];{let s=e.parent;for(;s;)o.push(s),s=s.parent}o.reverse();for(let s of o){if(Oe(s)&&s.name==="scope"){i=xe(":where(:scope)",t,s);continue}if(!it(s))continue;if(!ce(s))return[];let l=xe(fe(s),t,s);if(!l)return[];i?i=l2(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:l2(dw.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:dw.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var dw,pw,Bh=y(()=>{IQ(),me(),ye(),de(),ze(),dw=X(dt(),1),pw=new WeakMap}),gR={};A(gR,{default:()=>vR});function OQ(e,t){if(e.nodes.length===0)return;e=Cc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||th.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function bR(e){return e.nodes?e.some(t=>to(t)||Oe(t)&&bR(t)):!1}var dl,cb,c2,pl,vR,jQ=y(()=>{lR(),me(),uR(),zt(),de(),dR(),fR(),K(),Tt(),I(),Bh(),j(),D(),dl="no-descending-specificity",cb=O(dl,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),c2={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},pl=(e,t)=>(r,n)=>{if(!T(n,dl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=M(t,"ignore","selectors-within-list"),o=cR();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!bR(s))return;let l=o.getContext(s,Jk(s));ld(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=OQ(s,n);if(!d)return;let p=kn(s),{selector:m,index:v,endIndex:h}=at(l),{selector:b}=at(s);b=b===m?"":b;let g={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},f=c.get(d);if(!f){c.set(d,[g]);return}for(let S of f)if(Xk(p,S.specificity)<0){P({ruleName:dl,result:n,node:u,message:cb.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},pl.ruleName=dl,pl.messages=cb,pl.meta=c2,vR=pl}),yR={};A(yR,{default:()=>wR});function Mp(e){return mw.default.stringify(e).replace(/\s/g,"")}function TQ(e){if(!e.length)return[];let t=" ",r=[],n=[],i=[];for(let a of e)if(!(a.type==="space"||a.type==="comment")){if(!n.length){if(a.type==="function"&&(a.value==="supports"||a.value==="layer")){r.push(Mp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Mp(a));continue}}if(a.type==="div"&&a.value===","){n.push(Mp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Mp(i)),n.length&&!r.length)return n;if(!n.length&&r.length)return[r.join(t)];let o=r.join(t);return n.map(a=>o+t+a)}var mw,ml,db,d2,hl,wR,DQ=y(()=>{mw=X(ue(),1),V(),lt(),Ad(),I(),j(),D(),ml="no-duplicate-at-import-rules",db=O(ml,{rejected:e=>`Duplicate @import rule ${e}`}),d2={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},hl=e=>(t,r)=>{if(!T(r,ml,{actual:e}))return;let n={};t.walkAtRules(Se.importName,i=>{let[o,...a]=(0,mw.default)(st(i)).nodes;if(!o)return;let s=zd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=TQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:db.rejected,messageArgs:[s],node:i,result:r,ruleName:ml,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},hl.ruleName=ml,hl.messages=db,hl.meta=d2,wR=hl});function Md(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var Rd=y(()=>{me()}),kR={};A(kR,{default:()=>xR});var p2,fl,pb,m2,gl,xR,LQ=y(()=>{p2=X(dt(),1),q(),uR(),ye(),zt(),Rd(),de(),dR(),fR(),K(),ze(),I(),Bh(),j(),D(),fl="no-duplicate-selectors",pb=O(fl,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),m2={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},gl=(e,t)=>(r,n)=>{if(!T(n,fl,{actual:e},{actual:t,possible:{disallowInList:[cd],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=cR();function a(c,d,p,m,v){P({result:n,ruleName:fl,node:c,message:pb.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=xe(fe(c),n,c))==null||p.each(m=>{var x,w,k,S,E,z;let v=Cc(m,n).string;if(M(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((z=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?z:1)-1});return}let{index:b,endIndex:g,selector:f}=at(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=ld(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=Cc(w,n).string;return M(t,"ignoreSelectors",k)}))return;let m=p2.default.root({nodes:p,value:""}),v=Cc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let b=fe(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){ld(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,E,z,L,N;let b=Cc(h,n).string;if(M(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((E=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(L=(z=c.source)==null?void 0:z.start)==null?void 0:L.line)!=null?N:1)-1});return}let{index:f,endIndex:x,selector:w}=at(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Md(c)||!ce(c))return;let d=o.getContext(c,Jk(c));if(i){u(c,d);return}s(c),l(c,d)})},gl.ruleName=fl,gl.messages=pb,gl.meta=m2,xR=gl}),SR={};A(SR,{default:()=>CR});var bl,mb,h2,vl,CR,FQ=y(()=>{yd(),I(),j(),D(),bl="no-empty-source",mb=O(bl,{rejected:"Empty source"}),h2={url:"https://stylelint.io/user-guide/rules/no-empty-source"},vl=(e,t,r)=>(n,i)=>{var a;if(!T(i,bl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!ji(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:mb.rejected,messageArgs:[],node:n,result:i,ruleName:bl})},vl.ruleName=bl,vl.messages=mb,vl.meta=h2,CR=vl}),zR={};A(zR,{default:()=>AR});var ti,Rp,f2,yl,AR,MQ=y(()=>{q(),ye(),I(),j(),D(),ti="no-invalid-double-slash-comments",Rp=O(ti,{rejected:"Invalid double-slash CSS comment"}),f2={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},yl=(e,t,r)=>(n,i)=>{T(i,ti,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:Rp.rejected,messageArgs:[],node:o,result:i,ruleName:ti})}),n.walkRules(o=>{var u;let a=fe(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),eo(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:Rp.rejected,messageArgs:[],node:o,result:i,ruleName:ti,index:m,endIndex:h})}l+=c.length+1}}))},yl.ruleName=ti,yl.messages=Rp,yl.meta=f2,AR=yl}),NR={};A(NR,{default:()=>ER});var wl,hb,g2,kl,ER,RQ=y(()=>{q(),me(),et(),de(),K(),I(),j(),D(),wl="no-invalid-position-at-import-rule",hb=O(wl,{rejected:"Invalid position for @import rule"}),g2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},kl=(e,t)=>(r,n)=>{if(!T(n,wl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Oe(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!M(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:hb.rejected,messageArgs:[],node:o,result:n,ruleName:wl,word:o.toString()})})},kl.ruleName=wl,kl.messages=hb,kl.meta=g2,ER=kl}),PR={};A(PR,{default:()=>IR});var xl,fb,b2,Sl,IR,$Q=y(()=>{no(),me(),q(),Ed(),oR(),ct(),K(),I(),j(),D(),xl="no-invalid-position-declaration",fb=O(xl,{rejected:"Invalid position for declaration"}),b2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},Sl=(e,t)=>(r,n)=>{if(!T(n,xl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=a=>Oe(a)&&M(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&GA.has(a.name.toLowerCase());r.walkDecls(a=>{if(lw(a,{inline:!0})||!ut(a))return;let{parent:s}=a;if(s&&!(it(s)||o(s))){if(Oe(s)){let l=s.name.toLowerCase();if($c.has(l)){if(Ji(a,u=>it(u)||o(u)||i(u)))return}else return}P({message:fb.rejected,messageArgs:[],node:a,result:n,ruleName:xl})}})},Sl.ruleName=xl,Sl.messages=fb,Sl.meta=b2,IR=Sl}),OR={};A(OR,{default:()=>RR});function Cl(){return 0}function BQ(){return 1}function jR(e){return e.replace(fw," ")}function TR(e,t){if(!Gm.test(e))return e;let r=(0,DR.default)(e);return r.walk(n=>{t(n)&&(n.value=jR(n.value))}),r.toString()}function qQ(e){return TR(e,t=>t.type==="string")}function gb(e,t){if(!e)return;let r=t?MR.test(t.toLowerCase()):!1;return TR(e,n=>n.type==="string"&&!r||n.type==="comment")}function WQ(e){return Gm.test(e)?(0,hw.default)(t=>{t.walk(r=>{r.value&&(LR(r)||FR(r))&&(r.value=jR(r.value))})}).processSync(e):e}var hw,DR,LR,FR,zl,bb,v2,y2,vb,Gm,fw,w2,MR,k2,Al,RR,_Q=y(()=>{hw=X(dt(),1),DR=X(ue(),1),J(),lt(),Be(),ye(),I(),j(),D(),{isAttribute:LR,isComment:FR}=hw.default,zl="no-irregular-whitespace",bb=O(zl,{rejected:"Irregular whitespace"}),v2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},y2=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],vb=y2.join(""),Gm=new RegExp(`[${vb}]`),fw=new RegExp(`[${vb}]+`,"g"),w2=["grid","grid-template","grid-template-areas"],MR=new RegExp(`^(?:${w2.join("|")})$`,"i"),k2=e=>Array.from(e.matchAll(fw)).map(t=>({index:t.index,length:t[0].length})),Al=e=>(t,r)=>{var o;if(!T(r,zl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Gm.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=k2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:zl,result:r,message:bb.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,Cl),i(a,a.name,BQ),i(a,a.raws.afterName,xA),i(a,qQ(st(a)),je),i(a,a.raws.between,eB),i(a,a.raws.after,Z6)}),t.walkRules(a=>{i(a,a.raws.before,Cl),i(a,WQ(fe(a)),Cl),i(a,a.raws.between,tB),i(a,a.raws.after,rB)}),t.walkDecls(a=>{i(a,a.raws.before,Cl),i(a,gb(a.prop),Cl),i(a,gb(a.raws.between),SA),i(a,gb($e(a),a.prop),ie)})},Al.ruleName=zl,Al.messages=bb,Al.meta=v2,RR=Al});function UQ(e){let t=[],r=(0,$R.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Re(a)){i=!0,t.length=0;return}if(Pd(a)||Rw.has(a))return;let{unit:s}=jn(o);s||s===""||t.push(o)}),t}var $R,VQ=y(()=>{$R=X(ue(),1),Ke(),Tn(),_e(),Id()}),BR={};A(BR,{default:()=>qR});var Nl,yb,x2,El,qR,QQ=y(()=>{Ke(),V(),J(),VQ(),I(),j(),D(),Nl="no-unknown-animations",yb=O(Nl,{rejected:e=>`Unknown animation "${e}"`}),x2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},El=e=>(t,r)=>{if(!T(r,Nl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=UQ(o.value);if(a.length===0)return;for(let s of a){if(Vc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ie(o);P({result:r,ruleName:Nl,message:yb.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},El.ruleName=Nl,El.messages=yb,El.meta=x2,qR=El});function YQ(e){return rQ(st(e),{preserveInvalidMediaQueries:!0})}var GQ=y(()=>{Xt(),lt()}),WR={};A(WR,{default:()=>_R});var Pl,wb,S2,Il,_R,KQ=y(()=>{V(),Xt(),J(),Fd(),GQ(),Rn(),I(),j(),D(),Pl="no-unknown-custom-media",wb=O(Pl,{rejected:e=>`Unknown custom media query "${e}"`}),S2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Il=e=>(t,r)=>{if(!T(r,Pl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.customMediaName,a=>{let s=YQ(a);s&&n.add(s.getName())});t.walkAtRules(Se.mediaName,o=>{Q.customProperty.test(o.params)&&Mn(o).forEach(a=>{Fn(a)||a.walk(({node:s})=>{if(!Ln(s))return;let[,l,u,c]=s.getNameToken();if(!Zi(l)||n.has(l))return;let d=je(o),p=d+u,m=d+c+1;P({message:wb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:Pl})})})})},Il.ruleName=Pl,Il.messages=wb,Il.meta=S2,_R=Il}),UR={};A(UR,{default:()=>VR});var C2,Ol,kb,z2,jl,VR,HQ=y(()=>{C2=X(ue(),1),V(),J(),Cd(),I(),j(),D(),Ol="no-unknown-custom-properties",kb=O(Ol,{rejected:e=>`Unknown custom property "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},jl=e=>(t,r)=>{if(!T(r,Ol,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(dr.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,C2.default)(a).walk(s=>{if(!ao(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ie(o);P({result:r,ruleName:Ol,message:kb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},jl.ruleName=Ol,jl.messages=kb,jl.meta=z2,VR=jl}),QR={};A(QR,{default:()=>YR});var Tl,xb,A2,Dl,YR,XQ=y(()=>{rt(),Ct(),J(),q(),lt(),Be(),Tr(),Le(),K(),I(),j(),Ak(),D(),Tl="number-max-precision",xb=O(Tl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),A2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Dl=(e,t)=>(r,n)=>{var l;if(!T(n,Tl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[qm(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,je,st(u))}),r.walkDecls(u=>{o(u,ie,$e(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(M(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};Dn(uo(St({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(He(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!le(d))return;let[m,v,h,b,g]=d.value;if(m!==C.Number&&m!==C.Dimension&&m!==C.Percentage)return;let f=0;if(m===C.Dimension){let k=g.unit;if(f=k.length,M(t,"ignoreUnits",k))return}else if(m===C.Percentage&&(f=1,M(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Tl,node:u,index:w+h,endIndex:w+(b+1)-f,message:xb.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},Dl.ruleName=Tl,Dl.messages=xb,Dl.meta=A2,YR=Dl}),GR={};A(GR,{default:()=>KR});var Ll,Sb,N2,ri,KR,JQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Ll="property-allowed-list",Sb=O(Ll,{rejected:e=>`Disallowed property "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ri=e=>(t,r)=>{T(r,Ll,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&(Pe(i,e)||P({message:Sb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Ll}))})},ri.primaryOptionArray=!0,ri.ruleName=Ll,ri.messages=Sb,ri.meta=N2,KR=ri}),HR={};A(HR,{default:()=>XR});var Fl,Cb,E2,ni,XR,ZQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Fl="property-disallowed-list",Cb=O(Fl,{rejected:e=>`Disallowed property "${e}"`}),E2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ni=e=>(t,r)=>{T(r,Fl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&Pe(i,e)&&P({message:Cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Fl})})},ni.primaryOptionArray=!0,ni.ruleName=Fl,ni.messages=Cb,ni.meta=E2,XR=ni});function Km(e){let t=JR.get(e);return We(t,`Invalid direction flow: ${e}`),t}var JR,ZR=y(()=>{q(),JR=new Map([["top-to-bottom",["top","bottom"]],["bottom-to-top",["bottom","top"]],["left-to-right",["left","right"]],["right-to-left",["right","left"]]])}),e$={};A(e$,{default:()=>t$});function P2(e){return Oe(e)&&e.name.toLowerCase()==="page"}function eY(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of Bc){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var I2,dn,Ml,O2,Rl,t$,tY=y(()=>{I2=X(ue(),1),Pr(),me(),q(),J(),ZR(),Ed(),Be(),pr(),jr(),K(),V(),I(),j(),gt(),D(),dn="property-layout-mappings",Ml=O(dn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),O2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Rl=(e,t)=>(r,n)=>{var u,c;if(!T(n,dn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?eY({block:o,inline:a}):null;function l(d,p,m,v,h){P({message:Ml.rejected,messageArgs:[d,p],node:m,result:n,ruleName:dn,index:v,endIndex:h})}r.walkDecls(d=>{let{prop:p}=d;if(!Or(p)||yt(p)||M(t,"ignoreProperties",p))return;let m=0,v=m+p.length;if(e==="physical"){if(!Pv.has(p)||Ji(d,P2))return;l("flow-relative",p,d,m,v)}else{if(!Bc.has(p)||Ji(d,P2))return;if(!s){l("physical",p,d,m,v);return}let h=s.get(p);if(!h)return;P({message:Ml.expected,messageArgs:[p,h],index:m,endIndex:v,node:d,result:n,ruleName:dn,fix:{apply:()=>{d.prop=h},node:d}})}}),r.walkDecls(dr.propertyAcceptingNames,d=>{if(M(t,"ignoreProperties",d.prop))return;let p=(0,I2.default)($e(d)),m=ie(d);p.walk(v=>{if(!En(v))return;let{value:h,sourceIndex:b}=v;if(M(t,"ignoreProperties",h))return;let g=m+b,f=g+h.length;if(e==="physical"){if(!Pv.has(h))return;l("flow-relative",h,d,g,f)}else{if(!Bc.has(h))return;if(!s){l("physical",h,d,g,f);return}let x=s.get(h);if(!x)return;P({message:Ml.expected,messageArgs:[h,x],node:d,result:n,ruleName:dn,index:g,endIndex:f,fix:{apply:()=>{v.value=x,ft(d,p.toString())},node:d}})}})})},Rl.ruleName=dn,Rl.messages=Ml,Rl.meta=O2,t$=Rl}),r$={};A(r$,{default:()=>n$});var j2,$l,$p,T2,D2,L2,Bl,n$,rY=y(()=>{j2=X(ue(),1),q(),Be(),ct(),me(),K(),I(),j(),gt(),D(),$l="property-no-deprecated",$p=O($l,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),T2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},D2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},L2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},Bl=(e,t)=>(r,n)=>{T(n,$l,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ut(i))return;let{prop:o,value:a}=i;if(M(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=L2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=$p.expected,d=[o,l],u=()=>{i.prop=l;let p=D2[s];if(p){let m=(0,j2.default)($e(i));m.walk(v=>{if(!En(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),ft(i,m.toString())}}):(c=$p.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:$l,fix:{apply:u,node:i}})})},Bl.ruleName=$l,Bl.messages=$p,Bl.meta=T2,n$=Bl}),i$={};A(i$,{default:()=>o$});var ql,zb,F2,Wl,o$,nY=y(()=>{me(),q(),Pr(),Ed(),pr(),DF(),ct(),jr(),K(),I(),j(),D(),Dt(),ql="property-no-unknown",zb=O(ql,{rejected:e=>`Unknown property "${e}"`}),F2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Wl=(e,t)=>(r,n)=>{if(!T(n,ql,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[cd],ignoreSelectors:[$,_],ignoreAtRules:[$,_]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!ut(s)||TF(s)||!Or(l)||yt(l)||!i&&Xe.prefix(l)||M(t,"ignoreProperties",l))return;let u=s.parent;u&&it(u)&&M(t,"ignoreSelectors",u.selector)||Ji(s,c=>Oe(c)&&M(t,"ignoreAtRules",c.name))||o.getProperty(l)||iN.has(l.toLowerCase())||i&&oN.has(l.toLowerCase())||P({message:zb.rejected,messageArgs:[l],node:s,result:n,ruleName:ql,word:l})}},Wl.ruleName=ql,Wl.messages=zb,Wl.meta=F2,o$=Wl}),a$={};A(a$,{default:()=>s$});var _l,Ab,M2,Ul,s$,iY=y(()=>{q(),Ke(),bd(),K(),I(),j(),D(),_l="property-no-vendor-prefix",Ab=O(_l,{rejected:e=>`Vendor-prefixed property "${e}"`}),M2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Ul=(e,t)=>(r,n)=>{T(n,_l,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(M(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!zr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=zr.unprefix(i.prop)};P({message:Ab.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:_l,fix:{apply:a,node:i}})})},Ul.ruleName=_l,Ul.messages=Ab,Ul.meta=M2,s$=Ul}),l$={};A(l$,{default:()=>c$});function oY(e){return!!Ji(e,({type:t})=>t==="rule")}function aY(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function sY(e){let t=e.nodes.find(r=>!Wh(r));return qh(t)}function lY(e){let t=e.nodes.find(r=>!Wh(r)&&!Zk(r));return qh(t)}function uY(e,t,r){let n=e.nodes.find(i=>!Wh(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,u$({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function cY(e,t,r){let n=e.nodes.find(Zk),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(qh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var R2,Vl,Nb,$2,qh,Wh,Zk,B2,u$,Ql,c$,dY=y(()=>{R2=X(dt(),1),Ed(),ye(),de(),ze(),I(),j(),D(),Vl="relative-selector-nesting-notation",Nb=O(Vl,{expected:e=>`Expected ${e} nesting notation`}),$2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:qh,isComment:Wh,isNesting:Zk,isSelector:B2,nesting:u$}=R2.default,Ql=e=>(t,r)=>{T(r,Vl,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!oY(n))return;let i=xe(fe(n),r,n);i&&i.each(o=>{if(!B2(o))return;let a=sY(o),s;if(e==="explicit"){if(aY(o)&&!a)return;s=()=>uY(o,n,i)}else{if(a||!lY(o))return;s=()=>cY(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:Nb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Vl,result:r,fix:{apply:s,node:n}})})})},Ql.ruleName=Vl,Ql.messages=Nb,Ql.meta=$2,c$=Ql});function pY(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!qw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var mY=y(()=>{Ww()}),d$={};A(d$,{default:()=>p$});function q2(e){let t=$r(e);return t!=null&&t.type==="rule"}var Yl,Bp,W2,Gl,p$,hY=y(()=>{pd(),Pn(),hd(),mY(),fd(),oh(),dh(),de(),K(),I(),j(),D(),Yl="rule-empty-line-before",Bp=O(Yl,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),W2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Gl=(e,t,r)=>(n,i)=>{if(!T(i,Yl,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!ce(a)||ih(a))return;if(M(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(M(t,"ignore","first-nested")&&Br(a))return;let s=a.parent&&a.parent.type!=="root";if(M(t,"ignore","inside-block")&&s||o.includes("multi-line")&&ch(a.toString()))return;let l=o.includes("always");(M(t,"except","first-nested")&&Br(a)||M(t,"except","after-rule")&&q2(a)||M(t,"except","inside-block-and-after-rule")&&s&&q2(a)||M(t,"except","after-single-line-comment")&&pY(a)||M(t,"except","inside-block")&&s)&&(l=!l);let u=md(a.raws.before);if(l===u)return;let c=l?Bp.expected:Bp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Yl,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Gl.ruleName=Yl,Gl.messages=Bp,Gl.meta=W2,p$=Gl}),m$={};A(m$,{default:()=>h$});function fY(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Kl,Eb,_2,ii,h$,gY=y(()=>{me(),q(),de(),Le(),I(),j(),D(),Kl="rule-nesting-at-rule-required-list",Eb=O(Kl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),_2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},ii=e=>(t,r)=>{if(!T(r,Kl,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(fY(i,n)||P({message:Eb.expected,messageArgs:n,node:i,result:r,ruleName:Kl}))})},ii.primaryOptionArray=!0,ii.ruleName=Kl,ii.messages=Eb,ii.meta=_2,h$=ii}),f$={};A(f$,{default:()=>g$});function bY(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Hl,Pb,U2,Xl,g$,vY=y(()=>{q(),Rd(),de(),Le(),K(),I(),j(),Ht(),D(),Hl="rule-selector-property-disallowed-list",Pb=O(Hl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),U2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Xl=(e,t)=>(r,n)=>{if(!T(n,Hl,{actual:e,possible:[Bt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=M(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Md(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!bY(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:Pb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Hl,word:c})})})},Xl.ruleName=Hl,Xl.messages=Pb,Xl.meta=U2,g$=Xl}),b$={};A(b$,{default:()=>v$});function yY(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Jl,Ib,V2,Zl,v$,wY=y(()=>{On(),Tt(),q(),ye(),de(),V(),I(),j(),D(),Jl="selector-anb-no-unmatchable",Ib=O(Jl,{rejected:e=>`Unmatchable An+B selector "${e}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Zl=e=>(t,r)=>{T(r,Jl,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=fe(n),o;try{o=qr(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!_c.has(l.name)&&!$i.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;We(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;yY(c.nth)&&P({message:Ib.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Jl})})})}})},Zl.ruleName=Jl,Zl.messages=Ib,Zl.meta=V2,v$=Zl}),y$={};A(y$,{default:()=>w$});var eu,Ob,Q2,oi,w$,kY=y(()=>{q(),ye(),de(),Le(),V(),ze(),I(),j(),D(),eu="selector-attribute-name-disallowed-list",Ob=O(eu,{rejected:e=>`Disallowed name "${e}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},oi=e=>(t,r)=>{T(r,eu,{actual:e,possible:[$,_]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=xe(fe(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:Ob.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:eu})}))})},oi.primaryOptionArray=!0,oi.ruleName=eu,oi.messages=Ob,oi.meta=Q2,w$=oi}),k$={};A(k$,{default:()=>x$});var tu,jb,Y2,ai,x$,xY=y(()=>{ye(),de(),q(),V(),ze(),I(),j(),D(),tu="selector-attribute-operator-allowed-list",jb=O(tu,{rejected:e=>`Disallowed operator "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ai=e=>(t,r)=>{if(!T(r,tu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:tu})}))})},ai.primaryOptionArray=!0,ai.ruleName=tu,ai.messages=jb,ai.meta=Y2,x$=ai}),S$={};A(S$,{default:()=>C$});var ru,Tb,G2,si,C$,SY=y(()=>{ye(),de(),q(),V(),ze(),I(),j(),D(),ru="selector-attribute-operator-disallowed-list",Tb=O(ru,{rejected:e=>`Disallowed operator "${e}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},si=e=>(t,r)=>{if(!T(r,ru,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:Tb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:ru})}))})},si.primaryOptionArray=!0,si.ruleName=ru,si.messages=Tb,si.meta=G2,C$=si});function CY(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(z$,"").replace(A$,"");return!(N$.test(t)||gw.test(t.charAt(0))||t.charAt(0)==="-"&&gw.test(t.charAt(1)))}var z$,A$,N$,gw,zY=y(()=>{z$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,A$=/\\./g,N$=/[^\w-]/,gw=/\d/}),E$={};A(E$,{default:()=>P$});var nu,Db,K2,iu,P$,AY=y(()=>{ye(),de(),zY(),V(),ze(),I(),j(),D(),nu="selector-attribute-quotes",Db=O(nu,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),K2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},iu=e=>(t,r)=>{T(r,nu,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=xe(fe(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:Db[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:nu,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!CY(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},iu.ruleName=nu,iu.messages=Db,iu.meta=K2,P$=iu});function _h(e){return!!(Bi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||I$.test(e))}var I$,Uh=y(()=>{Ke(),I$=new RegExp(`^(?:${[...SN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),O$={};A(O$,{default:()=>j$});var ou,Lb,H2,au,j$,NY=y(()=>{q(),ye(),Uh(),de(),V(),ze(),I(),j(),D(),ou="selector-class-pattern",Lb=O(ou,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},au=e=>(t,r)=>{if(!T(r,ou,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(_h)||((o=xe(fe(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:ou,message:Lb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},au.ruleName=ou,au.messages=Lb,au.meta=H2,j$=au});function T$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var D$=y(()=>{}),L$={};A(L$,{default:()=>F$});function EY(e){return e.replace(/\s+/g," ")}var su,Fb,X2,li,F$,PY=y(()=>{ye(),D$(),de(),q(),ze(),I(),j(),D(),su="selector-combinator-allowed-list",Fb=O(su,{rejected:e=>`Disallowed combinator "${e}"`}),X2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},li=e=>(t,r)=>{T(r,su,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(fe(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=EY(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:su,message:Fb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},li.primaryOptionArray=!0,li.ruleName=su,li.messages=Fb,li.meta=X2,F$=li}),M$={};A(M$,{default:()=>R$});function IY(e){return e.replace(/\s+/g," ")}var lu,Mb,J2,ui,R$,OY=y(()=>{ye(),D$(),de(),q(),ze(),I(),j(),D(),lu="selector-combinator-disallowed-list",Mb=O(lu,{rejected:e=>`Disallowed combinator "${e}"`}),J2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ui=e=>(t,r)=>{T(r,lu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(fe(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=IY(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:lu,message:Mb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ui.primaryOptionArray=!0,ui.ruleName=lu,ui.messages=Mb,ui.meta=J2,R$=ui}),$$={};A($$,{default:()=>B$});var uu,Rb,Z2,ci,B$,jY=y(()=>{q(),ye(),zt(),Rd(),de(),Le(),K(),ze(),I(),j(),D(),uu="selector-disallowed-list",Rb=O(uu,{rejected:e=>`Disallowed selector "${e}"`}),Z2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!T(n,uu,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[cd]},optional:!0}))return;let i=M(t,"ignore","inside-block"),o=M(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Md(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:uu,message:Rb.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=fe(s);if(!a){l(u,0,u.length);return}(c=xe(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=at(d);l(p,m,v)})})},ci.primaryOptionArray=!0,ci.ruleName=uu,ci.messages=Rb,ci.meta=Z2,B$=ci}),q$={};A(q$,{default:()=>W$});var cu,$b,ez,du,W$,TY=y(()=>{q(),ye(),de(),V(),ze(),I(),j(),D(),cu="selector-id-pattern",$b=O(cu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),ez={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},du=e=>(t,r)=>{if(!T(r,cu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:cu,message:$b.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},du.ruleName=cu,du.messages=$b,du.meta=ez,W$=du}),_$={};A(_$,{default:()=>U$});var pu,Bb,tz,mu,U$,DY=y(()=>{q(),ye(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),pu="selector-max-attribute",Bb=O(pu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),tz={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},mu=(e,t)=>(r,n)=>{if(!T(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,_]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{M(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:pu,result:n,node:a,message:Bb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=xe(fe(o),n,o))==null||a.each(s=>{i(s,o)}))})},mu.ruleName=pu,mu.messages=Bb,mu.meta=tz,U$=mu}),V$={};A(V$,{default:()=>Q$});var hu,qb,rz,fu,Q$,LY=y(()=>{ye(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),hu="selector-max-class",qb=O(hu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),rz={url:"https://stylelint.io/user-guide/rules/selector-max-class"},fu=e=>(t,r)=>{if(!T(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:hu,result:r,node:o,message:qb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=qb,fu.meta=rz,Q$=fu}),Y$={};A(Y$,{default:()=>G$});var gu,Wb,nz,bu,G$,FY=y(()=>{ye(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),gu="selector-max-combinators",Wb=O(gu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),nz={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},bu=e=>(t,r)=>{if(!T(r,gu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:gu,result:r,node:o,message:Wb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.each(a=>{n(a,i)}))})},bu.ruleName=gu,bu.messages=Wb,bu.meta=nz,G$=bu}),K$={};A(K$,{default:()=>H$});var iz,_b,Ub,oz,vu,Vb,az,yu,H$,MY=y(()=>{iz=X(dt(),1),q(),ye(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),{isCombinator:_b,isPseudo:Ub,isRoot:oz}=iz.default,vu="selector-max-compound-selectors",Vb=O(vu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),az={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},yu=(e,t)=>(r,n)=>{if(!T(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Ub(a)?a.value:a.toString();return M(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(oz(a)||Ub(a))&&l.reduce((u,c,d,p)=>!_b(c)||d===0||d===p.length-1||_b(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=at(a);P({ruleName:vu,result:n,node:s,message:Vb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=xe(fe(a),n,a))==null||s.each(l=>{o(l,a)}))})},yu.ruleName=vu,yu.messages=Vb,yu.meta=az,H$=yu});function RY(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Tv.has(t)||$i.has(t)}return!1}var $Y=y(()=>{Tt()}),X$={};A(X$,{default:()=>J$});var wu,Qb,sz,ku,J$,BY=y(()=>{q(),ye(),zt(),$Y(),Tr(),de(),V(),K(),ze(),I(),j(),D(),wu="selector-max-id",Qb=O(wu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),sz={url:"https://stylelint.io/user-guide/rules/selector-max-id"},ku=(e,t)=>(r,n)=>{if(!T(n,wu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(RY(a)&&M(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=xe(fe(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=at(s);P({ruleName:wu,result:n,node:o,message:Qb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},ku.ruleName=wu,ku.messages=Qb,ku.meta=sz,J$=ku}),Z$={};A(Z$,{default:()=>e5});var xu,Yb,lz,Su,e5,qY=y(()=>{ye(),zt(),Tr(),de(),Tt(),V(),ze(),I(),j(),D(),xu="selector-max-pseudo-class",Yb=O(xu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),lz={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},Su=e=>(t,r)=>{if(!T(r,xu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||qc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:xu,result:r,node:o,message:Yb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(fe(i),r,i))==null||o.each(a=>{n(a,i)}))})},Su.ruleName=xu,Su.messages=Yb,Su.meta=lz,e5=Su}),t5={};A(t5,{default:()=>r5});var Cu,Gb,uz,Kb,zu,r5,WY=y(()=>{lR(),q(),zt(),de(),K(),I(),Bh(),j(),D(),Cu="selector-max-specificity",Gb=O(Cu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),uz={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Kb=()=>({a:0,b:0,c:0}),zu=(e,t)=>(r,n)=>{if(!T(n,Cu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;let i=c=>M(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Kb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Kb();let p=kn(c),m=kn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));zc(a),zc(s),zc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&ld(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=kn(m,{customSpecificity:o});if(Xk(v,u)>0){let{index:h,endIndex:b,selector:g}=at(d),{selector:f}=at(m);f=f===g?"":f,P({ruleName:Cu,result:n,node:c,message:Gb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},zu.ruleName=Cu,zu.messages=Gb,zu.meta=uz,r5=zu}),ex,n5=y(()=>{"use strict";ex=[]}),i5=G((e,t)=>{"use strict";t.exports=[]});function o5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||a5.default.includes(t)||ex.includes(t))}var a5,s5=y(()=>{n5(),a5=X(i5(),1)});function _Y(e){for(let t of e)if(!Vv(t))return!1;return!0}var UY=y(()=>{nP()});function $d(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(_c.has(o)||$i.has(o)||Ov.has(o)||Iv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Bd=y(()=>{Tt()}),l5={};A(l5,{default:()=>u5});function VY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>KY(r))}function QY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>HY(r))}function YY(e){return!!(e.prev()&&!ud(e.prev())||e.next()&&!ud(e.next()))}function GY(e){return XY(e.prev())}function ud(e){return e?e.type==="combinator":!1}function KY(e){return e?ud(e)&&$(e.value)&&_Y(e.value):!1}function HY(e){return e?ud(e)&&e.value===">":!1}function XY(e){return ud(e)&&e.value==="+"}var Au,Hb,cz,Nu,u5,JY=y(()=>{q(),ye(),zt(),s5(),Uh(),Tr(),UY(),de(),Bd(),V(),K(),ze(),I(),j(),D(),Au="selector-max-type",Hb=O(Au,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),cz={url:"https://stylelint.io/user-guide/rules/selector-max-type"},Nu=(e,t)=>(r,n)=>{if(!T(n,Au,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},optional:!0}))return;let i=M(t,"ignore","descendant"),o=M(t,"ignore","child"),a=M(t,"ignore","compounded"),s=M(t,"ignore","next-sibling"),l=M(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{M(t,"ignoreTypes",m.value)||i&&VY(m)||o&&QY(m)||a&&YY(m)||s&&GY(m)||l&&m.value&&o5(m.value)||$d(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=at(c);P({ruleName:Au,result:n,node:d,message:Hb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(_h)||(d=xe(fe(c),n,c))==null||d.each(p=>{u(p,c)})})},Nu.ruleName=Au,Nu.messages=Hb,Nu.meta=cz,u5=Nu}),c5={};A(c5,{default:()=>d5});var Eu,Xb,dz,Pu,d5,ZY=y(()=>{ye(),zt(),Tr(),de(),q(),V(),K(),ze(),I(),j(),D(),Eu="selector-max-universal",Xb=O(Eu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),dz={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},Pu=(e,t)=>(r,n)=>{if(!T(n,Eu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;M(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:Eu,result:n,node:a,message:Xb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=xe(fe(o),n,o))==null||a.each(s=>{i(s,o)}))})},Pu.ruleName=Eu,Pu.messages=Xb,Pu.meta=dz,d5=Pu}),p5={};A(p5,{default:()=>m5});var Iu,Jb,pz,Ou,m5,eG=y(()=>{q(),ye(),zt(),de(),ze(),I(),j(),D(),Iu="selector-nested-pattern",Jb=O(Iu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),pz={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Ou=(e,t)=>(r,n)=>{if(!T(n,Iu,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[cd]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!ce(s))return;let l=fe(s);o?(u=xe(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=at(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:Iu,message:Jb.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Ou.ruleName=Iu,Ou.messages=Jb,Ou.meta=pz,m5=Ou});function h5(e){return e.startsWith(":--")}var f5=y(()=>{}),g5={};A(g5,{default:()=>b5});var mz,di,ju,hz,fz,gz,bz,Tu,b5,tG=y(()=>{mz=X(dt(),1),Tt(),q(),ye(),f5(),de(),kd(),Bd(),V(),K(),ze(),I(),j(),D(),di="selector-no-deprecated",ju=O(di,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),hz={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:fz}=mz.default,gz={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},bz={content:"slotted"},Tu=(e,t)=>(r,n)=>{T(n,di,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=fe(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=xe(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!wd(c)||h5(c))return;let p,m;if(fz(u)){p=c.slice(2);let g=p.toLowerCase();if(!hm.has(g))return;let f=bz[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!fm.has(g))return;let f=gz[g];f&&(m=`:${f}`)}if(M(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=ju.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=ju.rejected,b=[c]),P({result:n,ruleName:di,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;$d(u)&&(M(t,"ignoreSelectors",d)||!pm.has(d.toLowerCase())&&!Pw.has(d)||P({result:n,ruleName:di,message:ju.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Tu.ruleName=di,Tu.messages=ju,Tu.meta=hz,b5=Tu}),v5={};A(v5,{default:()=>y5});function rG(e,t){let{children:r}=e;if((r==null?void 0:r.size)!==1)return!1;let n=r.first;return(n==null?void 0:n.type)!=="Identifier"?!1:t.has(n.name.toLowerCase())}var Du,Zb,vz,Lu,y5,nG=y(()=>{On(),Tt(),ye(),Rd(),de(),V(),I(),j(),D(),Du="selector-no-invalid",Zb=O(Du,{rejected:(e,t)=>`Invalid selector "${e}"${t?`, ${t}`:""}`}),vz={url:"https://stylelint.io/user-guide/rules/selector-no-invalid"},Lu=e=>(t,r)=>{T(r,Du,{actual:e})&&t.walkRules(n=>{if(!ce(n)||Md(n))return;let i=fe(n),o=(s,l,u,c)=>{P({message:Zb.rejected,messageArgs:[u,c],node:n,index:s,endIndex:l,ruleName:Du,result:r})},a;try{a=qr(i,{context:"selectorList",positions:!0})}catch(s){if(!(s instanceof SyntaxError))throw s;let l="offset"in s&&typeof s.offset=="number"?s.offset:0,u=s.message;o(l,Math.min(l+1,i.length),i,u.charAt(0).toLowerCase()+u.slice(1));return}Q.dirPseudoClass.test(i)&&Ni(a,{visit:"PseudoClassSelector",enter(s){if(s.name.toLowerCase()!=="dir"||!s.loc||rG(s,jv))return Ni.skip;let l=s.loc.start.offset,u=s.loc.end.offset,c=`expected ${[...jv].map(d=>`"${d}"`).join(" or ")}`;o(l,u,i.slice(l,u),c)}})})},Lu.ruleName=Du,Lu.messages=Zb,Lu.meta=vz,y5=Lu});function bw(e){return w5.default.isPseudoClass(e)&&e.nodes.length>0&&k5.has(e.value.toLowerCase())}var w5,k5,x5=y(()=>{w5=X(dt(),1),k5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function iG(e){let t=Ri.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{oG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ri.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function oG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=vw(e);return[...t,...r].filter(n=>n.length)}function vw(e){let t=[],r=[[]];return e.each(n=>{if(Ri.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ri.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Ri.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=vw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(bw(n)){let i=[];n.each(o=>{let a=vw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Ri,aG=y(()=>{Ri=X(dt(),1),x5()}),S5={};A(S5,{default:()=>z5});function C5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(bw(t))return C5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Nt.default.isCombinator(n)||Nt.default.isPseudoElement(n));)Nt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Nt.default.isCombinator(i)||Nt.default.isPseudoElement(i));)Nt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Nt.default.isIdentifier(i)||Nt.default.isClassName(i)||Nt.default.isAttribute(i)||Nt.default.isTag(i)||bw(i));)r.splice(-1,1);return r}var Nt,Fu,ev,yz,Mu,z5,sG=y(()=>{Nt=X(dt(),1),aG(),zt(),Rd(),x5(),de(),Bd(),V(),K(),I(),Bh(),j(),D(),Fu="selector-no-qualifying-type",ev=O(Fu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),yz={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},Mu=(e,t)=>(r,n)=>{if(!T(n,Fu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=M(t,"ignore","id"),o=M(t,"ignore","class"),a=M(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Md(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=iG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!$d(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=C5(h);for(let w of g)if(Nt.default.isIdentifier(w)&&!i||Nt.default.isClassName(w)&&!o||Nt.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:Fu,result:n,node:s,message:ev.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}ld(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},Mu.ruleName=Fu,Mu.messages=ev,Mu.meta=yz,z5=Mu}),A5={};A(A5,{default:()=>N5});var Ru,tv,wz,$u,N5,lG=y(()=>{q(),ye(),bd(),de(),V(),K(),ze(),I(),j(),D(),Ru="selector-no-vendor-prefix",tv=O(Ru,{rejected:e=>`Vendor-prefixed selector "${e}"`}),wz={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},$u=(e,t)=>(r,n)=>{T(n,Ru,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=xe(fe(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!zr.selector(s)||M(t,"ignoreSelectors",s))return;let l=()=>{a.value=zr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Ru,message:tv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},$u.ruleName=Ru,$u.messages=tv,$u.meta=wz,N5=$u}),E5={};A(E5,{default:()=>I5});function uG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&yw(o[0])).map(o=>(We(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();We(i),We(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=P5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function cG(e,t,r){let n=s=>{for(let l of s)We(l.nodes[0]),l.nodes[0].rawSpaceBefore=" ",l.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for(We(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);xi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var kz,xz,Sz,Cz,rv,zz,Az,Bu,nv,Nz,yw,xi,Ez,qu,P5,I5,dG=y(()=>{kz=X(dt(),1),q(),ye(),de(),V(),ze(),I(),j(),D(),{isAttribute:xz,isClassName:Sz,isIdentifier:Cz,isPseudoClass:rv,isTag:zz,isUniversal:Az}=kz.default,Bu="selector-not-notation",nv=O(Bu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),Nz={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},yw=e=>rv(e)||xz(e)||Sz(e)||Az(e)||Cz(e)||zz(e),xi=e=>rv(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",Ez=e=>{if(e.length>1)return!1;We(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:yw(t)&&!xi(t):!0},qu=e=>(t,r)=>{T(r,Bu,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=xe(fe(n),r,n);i&&i.walkPseudos(o=>{if(!xi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&xi(u)))return;l=()=>cG(u,n,i)}else{let u=o.nodes;if(Ez(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>uG(o,n,i))}P({message:nv.expected,messageArgs:[e],node:n,result:r,ruleName:Bu,index:a,endIndex:s,fix:{apply:l,node:n}})})})},P5=({parent:e,sourceIndex:t})=>{We(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!xi(o)),i=n===-1?r[r.length-1]:r[n-1];return We(i),i},qu.ruleName=Bu,qu.messages=nv,qu.meta=Nz,I5=qu}),O5={};A(O5,{default:()=>j5});var Wu,iv,Pz,pi,j5,pG=y(()=>{V(),q(),J(),lt(),ye(),et(),de(),Le(),ze(),I(),j(),D(),Wu="selector-pseudo-class-allowed-list",iv=O(Wu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Pz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},pi=e=>(t,r)=>{if(!T(r,Wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:iv.rejected,messageArgs:[l],node:o,result:r,ruleName:Wu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(fe(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},pi.primaryOptionArray=!0,pi.ruleName=Wu,pi.messages=iv,pi.meta=Pz,j5=pi}),T5={};A(T5,{default:()=>D5});var _u,ov,Iz,mi,D5,mG=y(()=>{V(),q(),J(),lt(),ye(),et(),de(),Le(),ze(),I(),j(),D(),_u="selector-pseudo-class-disallowed-list",ov=O(_u,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Iz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},mi=e=>(t,r)=>{if(!T(r,_u,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:ov.rejected,messageArgs:[l],node:o,result:r,ruleName:_u,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(fe(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},mi.primaryOptionArray=!0,mi.ruleName=_u,mi.messages=ov,mi.meta=Iz,D5=mi}),L5={};A(L5,{default:()=>F5});function hG(e,t){var n;let r=e.parent;for(;r;){if(it(r)){let i=fe(r);if(i.includes("::")){let o=!1;if((n=xe(i,t,r))==null||n.walkPseudos(a=>{if(a.value.startsWith("::")&&mm.has(a.value.toLowerCase().slice(2)))return o=!0,!1}),o)return!0}}r=r.parent}return!1}var Uu,av,Oz,Vu,F5,fG=y(()=>{Tt(),me(),q(),J(),lt(),ye(),f5(),et(),de(),kd(),K(),ze(),I(),j(),D(),Dt(),Uu="selector-pseudo-class-no-unknown",av=O(Uu,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),Oz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Vu=(e,t)=>(r,n)=>{if(!T(n,Uu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=xe(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!wd(u)||h5(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(qc.has(c)||M(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Xe.prefix(c),p;if(Oe(a)&&a.name==="page"){if(uN.has(c))return;p=je(a)+l.sourceIndex}else if(th.has(c)&&!d)p=l.sourceIndex;else{if(d||cN.has(c))return;let v=l,h=!1,b=!1;do if(v=v.prev(),v&&(v.type==="combinator"&&(h=!0),v.type==="nesting"&&!h&&(b=!0),v.value.startsWith("::")))break;while(v);if(v){let g=v.value.toLowerCase().slice(2);if(mm.has(g)&&Dv.has(c))return}else if(Dv.has(c)&&b&&hG(a,n))return;p=l.sourceIndex}let m=p+l.value.length;P({message:av.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Uu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=fe(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Vu.ruleName=Uu,Vu.messages=av,Vu.meta=Oz,F5=Vu}),M5={};A(M5,{default:()=>R5});var Qu,sv,jz,hi,R5,gG=y(()=>{q(),ye(),de(),Le(),V(),ze(),I(),j(),D(),Qu="selector-pseudo-element-allowed-list",sv=O(Qu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),jz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},hi=e=>(t,r)=>{T(r,Qu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(fe(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:sv.rejected,messageArgs:[a],node:n,result:r,ruleName:Qu})}))})},hi.primaryOptionArray=!0,hi.ruleName=Qu,hi.messages=sv,hi.meta=jz,R5=hi}),$5={};A($5,{default:()=>B5});var Yu,lv,Tz,Gu,B5,bG=y(()=>{ye(),de(),Tt(),V(),ze(),I(),j(),D(),Yu="selector-pseudo-element-colon-notation",lv=O(Yu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),Tz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Gu=e=>(t,r)=>{if(!T(r,Yu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!ce(i))return;let o=xe(fe(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!qc.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:lv.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Yu,fix:{apply:u,node:i}})})})},Gu.ruleName=Yu,Gu.messages=lv,Gu.meta=Tz,B5=Gu}),q5={};A(q5,{default:()=>W5});var Ku,uv,Dz,fi,W5,vG=y(()=>{q(),ye(),de(),Le(),V(),ze(),I(),j(),D(),Ku="selector-pseudo-element-disallowed-list",uv=O(Ku,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Dz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},fi=e=>(t,r)=>{T(r,Ku,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(fe(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:uv.rejected,messageArgs:[a],node:n,result:r,ruleName:Ku})}))})},fi.primaryOptionArray=!0,fi.ruleName=Ku,fi.messages=uv,fi.meta=Dz,W5=fi}),_5={};A(_5,{default:()=>U5});var Hu,cv,Lz,Xu,U5,yG=y(()=>{q(),ye(),de(),kd(),V(),K(),ze(),Tt(),I(),j(),D(),Dt(),Hu="selector-pseudo-element-no-unknown",cv=O(Hu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),Lz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Xu=(e,t)=>(r,n)=>{T(n,Hu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(fe(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!wd(s)||s.slice(0,2)!=="::"||M(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Xe.prefix(l)||th.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:cv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Hu,result:n})}))})},Xu.ruleName=Hu,Xu.messages=cv,Xu.meta=Lz,U5=Xu}),V5={};A(V5,{default:()=>Q5});var Ju,dv,Fz,Mz,Rz,$z,Zu,Q5,wG=y(()=>{q(),ye(),Uh(),de(),Bd(),Tt(),K(),ze(),I(),j(),D(),Ju="selector-type-case",dv=O(Ju,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Fz={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Mz=/(?:[^.#[:a-z-]|^)[a-z]/i,Rz=/[A-Z]/,$z=/[a-z]/,Zu=(e,t)=>(r,n)=>{T(n,Ju,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Mz.test(o)||e==="lower"&&!Rz.test(o)||e==="upper"&&!$z.test(o)||!ce(i)||i.selectors.some(_h))return;let a=xe(fe(i),n,i);a&&a.walkTags(s=>{if(!$d(s)||lN.has(s.value)||M(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:dv.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Ju,result:n,fix:{apply:m,node:i}})})})},Zu.ruleName=Ju,Zu.messages=dv,Zu.meta=Fz,Q5=Zu}),Y5={};A(Y5,{default:()=>H5});function kG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return tx.default.isPseudoElement(t)&&G5.has(t.value)}function xG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return tx.default.isPseudoClass(t)&&K5.has(t.value)}var tx,Bz,ec,pv,qz,Wz,G5,K5,tc,H5,SG=y(()=>{n5(),tx=X(dt(),1),Bz=X(i5(),1),q(),ye(),Tt(),s5(),Uh(),de(),Bd(),K(),ze(),I(),j(),D(),ec="selector-type-no-unknown",pv=O(ec,{rejected:e=>`Unknown type selector "${e}"`}),qz={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Wz=/(?:[^.#[:a-z-]|^)[a-z]/i,G5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),K5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),tc=(e,t)=>(r,n)=>{T(n,ec,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;Wz.test(i.selector)&&ce(i)&&(i.selectors.some(_h)||((o=xe(fe(i),n,i))==null||o.walkTags(a=>{if(!$d(a)||M(t,"ignore","custom-elements")&&o5(a.value)||M(t,"ignore","default-namespace")&&typeof a.namespace!="string"||M(t,"ignoreNamespaces",a.namespace)||M(t,"ignoreTypes",a.value)||kG(a)||xG(a))return;let s=a.value,l=s.toLowerCase(),u=[...Bz.default,"hatch","hatchpath","hatchPath"];if(sN.has(l)||u.includes(s)||ex.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:pv.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:ec,result:n})})))})},tc.ruleName=ec,tc.messages=pv,tc.meta=qz,H5=tc}),X5={};A(X5,{default:()=>J5});function ww(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return CG(i,o,a,s)?[e]:zG(i,o,a,s)?[e,t]:AG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function CG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function zG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function AG(e,t,r,n){return t===n}function NG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Fc.default)(e).nodes){if(MA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(ao(a)&&(n?o=!0:i=!0),En(a)||Nn(a)){let s=Fc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function EG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):ww(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):ww(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ie(t),k=w+t.value.length;P({message:um.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:Si,fix:{apply:x,node:t}})}var Fc,Si,um,_z,Uz,Vz,rc,J5,PG=y(()=>{Fc=X(ue(),1),J(),ct(),jr(),_e(),Cd(),K(),I(),j(),D(),Dt(),me(),Si="shorthand-property-no-redundant-values",um=O(Si,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),_z={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Uz=new Set(["margin","margin-block","margin-inline","padding","padding-block","padding-inline","border-color","border-style","border-width","border-radius","border-block-color","border-block-style","border-block-width","border-inline-color","border-inline-style","border-inline-width","gap","grid-gap","overflow","overscroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-inline","scroll-padding","scroll-padding-block","scroll-padding-inline","inset","inset-block","inset-inline"]),Vz=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),rc=(e,t)=>(r,n)=>{T(n,Si,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!ut(i)||!Or(o)||!Re(a))return;let s=Xe.unprefixed(o.toLowerCase());if(!Uz.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=NG(a);if(k){EG(n,i,x,w,S,E);return}}let l=[];for(let x of(0,Fc.default)(a).nodes){if(MA(x)||ao(x))return;(En(x)||Nn(x))&&l.push(Fc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=ww(u,c,d,p);if(M(t,"ignore","four-into-three-edge-values")&&Vz.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ie(i),f=g+i.value.length;P({message:um.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:Si,fix:{apply:b,node:i}})})},rc.ruleName=Si,rc.messages=um,rc.meta=_z,J5=rc}),Z5={};A(Z5,{default:()=>e6});var nc,mv,hv,Qz,ic,e6,IG=y(()=>{rt(),J(),kd(),K(),I(),j(),D(),nc="string-no-newline",mv=/\r?\n/,hv=O(nc,{rejected:"Newline in string"}),Qz={url:"https://stylelint.io/user-guide/rules/string-no-newline"},ic=(e,t)=>(r,n)=>{if(!T(n,nc,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(M(t,"ignore","at-rule-preludes"))break;o(a,a.params,je);break;case"decl":if(M(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){mv.test(a.selector)&&wd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){mv.test(s)&&St({css:s},{onParseError:u=>{if(!(u instanceof kr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:hv.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:nc})}})}},ic.ruleName=nc,ic.messages=hv,ic.meta=Qz,e6=ic}),t6={};A(t6,{default:()=>r6});var oc,fv,Yz,Gz,ac,r6,OG=y(()=>{rt(),On(),V(),J(),I(),j(),D(),oc="syntax-string-no-invalid",fv=O(oc,{rejected:e=>`Invalid syntax string "${e}"`}),Yz={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},Gz=zk({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,ac=e=>(t,r)=>{T(r,oc,{actual:e})&&t.walkAtRules(Se.propertyName,n=>{n.walkDecls(PN.syntaxName,i=>{St({css:i.value}).filter(o=>b7(o)).forEach(o=>{let{error:a}=Gz.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:l}=a;if(s!=="SyntaxMatchError"||l!=="Mismatch")return;let u=ie(i);P({message:fv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:oc})})})})},ac.ruleName=oc,ac.messages=fv,ac.meta=Yz,r6=ac}),n6={};A(n6,{default:()=>i6});var Kz,sc,gv,Hz,Xz,lc,i6,jG=y(()=>{Kz=X(ue(),1),Pr(),J(),Be(),Tn(),q(),V(),K(),I(),j(),D(),Dt(),sc="time-min-milliseconds",gv=O(sc,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),Hz={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Xz=new Set(["animation-delay","transition-delay"]),lc=(e,t)=>(r,n)=>{if(!T(n,sc,{actual:e,possible:Sr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=M(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=Xe.unprefixed(c.prop.toLowerCase()),m=(0,Kz.default)($e(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=jn(h);eN.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),tN.has(p)&&(v=a(f,b,v),!(l(f)||o&&v!==1)&&u(c,g,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&Xz.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ie(c)+d,v=m+p;P({result:n,ruleName:sc,message:gv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},lc.ruleName=sc,lc.messages=gv,lc.meta=Hz,i6=lc}),o6={};A(o6,{default:()=>a6});var Jz,uc,bv,Zz,gi,a6,TG=y(()=>{Jz=X(ue(),1),J(),V(),q(),Tn(),K(),I(),j(),Ht(),D(),uc="unit-allowed-list",bv=O(uc,{rejected:e=>`Disallowed unit "${e}"`}),Zz={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},gi=(e,t)=>(r,n)=>{if(!T(n,uc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,Jz.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||M(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=jn(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&M(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:bv.rejected,messageArgs:[d],node:a,result:n,ruleName:uc})}))}r.walkAtRules(Se.mediaName,a=>o(a,a.params,je)),r.walkDecls(a=>o(a,a.value,ie))},gi.primaryOptionArray=!0,gi.ruleName=uc,gi.messages=bv,gi.meta=Zz,a6=gi});function s6(e){if(!l6.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:u6.test(t.name)}var l6,u6,c6=y(()=>{me(),l6=/^unicode-range$/i,u6=/^font-face$/i}),d6={};A(d6,{default:()=>p6});function eA(e){return St({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var cc,vv,tA,bi,p6,DG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),Be(),c6(),K(),I(),j(),Ht(),D(),cc="unit-disallowed-list",vv=O(cc,{rejected:e=>`Disallowed unit "${e}"`}),tA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},bi=(e,t)=>(r,n)=>{if(!T(n,cc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)],ignoreMediaFeatureNames:[Bt($,_)]}}))return;let i=[e].flat();function o(s){if(!He(s))return!1;let l=s.getName().toLowerCase();return l==="url"||M(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==C.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&M(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:vv.rejected,messageArgs:[m],node:s,result:n,ruleName:cc})}r.walkAtRules(Se.mediaName,s=>{let l=st(s);Q.dimension.test(l)&&Ld(eA(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Ln(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,je,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(s6(s))return;let l=$e(s);if(!Q.dimension.test(l))return;let u={ignored:!1};Dn(uo(eA(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},bi.primaryOptionArray=!0,bi.ruleName=cc,bi.messages=vv,bi.meta=tA,p6=bi}),m6={};A(m6,{default:()=>h6});function LG(e){let t=e==="left-to-right"||e==="right-to-left"?"horizontalInline":"verticalInline";return new Map([...Yc].map(([r,n])=>[r,n[t]]))}var rA,vi,qp,nA,dc,h6,FG=y(()=>{rA=X(ue(),1),oo(),q(),J(),Be(),Tn(),ct(),V(),K(),I(),j(),gt(),D(),vi="unit-layout-mappings",qp=O(vi,{rejected:(e,t)=>`Disallowed ${e} unit "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),nA={url:"https://stylelint.io/user-guide/rules/unit-layout-mappings",fixable:!0},dc=(e,t)=>(r,n)=>{var s,l,u;if(!T(n,vi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreUnits:[$,_]},optional:!0}))return;let i=(u=(l=(s=n.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.directionality)==null?void 0:u.inline,o=i?LG(i):null;function a(c,d,p,m,v){P({index:p,endIndex:m,message:qp.rejected,messageArgs:[c,d],node:v,result:n,ruleName:vi})}r.walkDecls(c=>{if(!Q.axisUnit.test(c.value)||!ut(c))return;let d=(0,rA.default)($e(c)),p=ie(c);d.walk(m=>{let{number:v,unit:h}=jn(m);if(!v||!h||M(t,"ignoreUnits",h))return;let{sourceIndex:b,sourceEndIndex:g}=m,f=p+b+v.length,x=p+g;if(e==="physical"){if(!$w.has(h))return;a("flow-relative",h,f,x,c);return}if(!Yc.has(h))return;if(!o){a("physical",h,f,x,c);return}let w=o.get(h);w&&P({index:f,endIndex:x,message:qp.expected,messageArgs:[h,w],node:c,result:n,ruleName:vi,fix:{apply:()=>{m.value=v+w,ft(c,d.toString())},node:c}})})})},dc.ruleName=vi,dc.messages=qp,dc.meta=nA,h6=dc}),f6={};A(f6,{default:()=>g6});var Wp,pc,yv,iA,oA,mc,g6,MG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),Be(),et(),ct(),_e(),c6(),K(),oo(),I(),j(),D(),Dt(),Wp=new Set(AN),Wp.delete("x"),pc="unit-no-unknown",yv=O(pc,{rejected:e=>`Unknown unit "${e}"`}),iA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},oA=/^(?:min-|max-)?resolution$/i,mc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,pc,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([...Wp,...d])}else i=Wp;let a=d=>{if(!Q.dimension.test(d))return;let p=St({css:d});if(p.some(m=>m[0]===C.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(He(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||M(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Xe.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==C.Dimension||M(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&v.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(b+1)-f.length;P({message:yv.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:pc})};r.walkAtRules(Se.mediaName,d=>{if(!Ze(d))return;let p=st(d),m=a(p);m&&Ld(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Ln(b)){let f=b.getName();oA.test(f)&&(g.allowX=!0)}else(He(b)||le(b))&&s(d,je,b,g)},h)})}),r.walkDecls(d=>{if(!ut(d)||s6(d))return;let p=$e(d);if(!Re(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};Dn(uo(m),({node:h,state:b})=>{b&&(b.ignored||(He(h)||le(h))&&s(d,ie,h,b))},v)})},mc.ruleName=pc,mc.messages=yv,mc.meta=iA,g6=mc});function RG(e){let t=e.toLowerCase();return!(yN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var $G=y(()=>{Ke()});function BG(e){let t=e.toLowerCase();return!(wN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var qG=y(()=>{Ke()}),b6={};A(b6,{default:()=>v6});var aA,hc,wv,sA,lA,uA,cA,_p,fc,v6,WG=y(()=>{aA=X(ue(),1),Ke(),q(),J(),Be(),Tn(),$G(),qG(),_e(),V(),K(),I(),j(),D(),hc="value-keyword-case",wv=O(hc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),sA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},lA=new Set(["+","-","/","*","%"]),uA=new Set(["grid-row","grid-row-start","grid-row-end"]),cA=new Set(["grid-column","grid-column-start","grid-column-end"]),_p=new Map;for(let e of xN)_p.set(e.toLowerCase(),e);fc=(e,t)=>(r,n)=>{T(n,hc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[cd]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Re(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,aA.default)($e(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(CN.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&M(t,"ignoreFunctions",c))return!1;let{unit:p}=jn(u);if(u.type!=="word"||!Re(c)||o.includes("#")||lA.has(c)||p||s==="animation"&&!Rw.has(d)&&!Vc.has(d)||s==="animation-name"&&!Vc.has(d)||s==="font"&&!Mw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&RG(d)||s==="counter-reset"&&BG(d)||uA.has(s)&&!gN.has(d)||cA.has(s)&&!bN.has(d)||s==="grid-area"&&!vN.has(d)||s==="list-style"&&!kN.has(d)&&!km.has(d)||s==="list-style-type"&&!km.has(d)||M(t,"ignoreKeywords",c)||M(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&_p.has(m)&&h?v=_p.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:wv.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:hc,fix:{apply:f,node:i}})})})},fc.ruleName=hc,fc.messages=wv,fc.meta=sA,v6=fc}),y6={};A(y6,{default:()=>k6});function _G(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of yn){let c=w6.get(l),d=new Map;switch(c){case"side":for(let p of u.keys()){let m=a[p];m&&d.set(p,m)}break;case"inlineSide":o&&(d.set(n,"inline-start"),d.set(i,"inline-end"));break;case"axis":d.set(o?"horizontal":"vertical","inline"),d.set(o?"vertical":"horizontal","block");break;case"startEnd":o&&(d.set(n,"start"),d.set(i,"end"));break}s.set(l,d)}return s}var dA,yi,Up,pA,w6,gc,k6,UG=y(()=>{dA=X(ue(),1),q(),Ke(),V(),J(),ZR(),Be(),ct(),_e(),me(),K(),I(),j(),gt(),D(),yi="value-keyword-layout-mappings",Up=O(yi,{rejected:(e,t)=>`Disallowed ${e} keyword "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pA={url:"https://stylelint.io/user-guide/rules/value-keyword-layout-mappings",fixable:!0},w6=new Map([["caption-side","side"],["offset-anchor","side"],["offset-position","side"],["clear","inlineSide"],["float","inlineSide"],["resize","axis"],["text-align","startEnd"],["text-align-last","startEnd"]]),gc=(e,t)=>(r,n)=>{var d,p;if(!T(n,yi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_]},optional:!0}))return;let i=(p=(d=n.stylelint.config)==null?void 0:d.languageOptions)==null?void 0:p.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?_G({block:o,inline:a}):null,l=e==="physical"?Q.layoutFlowRelativeKeyword:Q.layoutPhysicalKeyword,u=e==="physical"?zN:yn;function c(m,v,h,b,g){P({index:h,endIndex:b,message:Up.rejected,messageArgs:[m,v],node:g,result:n,ruleName:yi})}r.walkDecls(dr.layoutMappings,m=>{let{prop:v,value:h}=m;if(!l.test(h)||!ut(m)||M(t,"ignoreProperties",v))return;let b=v.toLowerCase(),g=u.get(b);We(g);let f=(0,dA.default)($e(m)),x=ie(m);f.walk(w=>{var B;if(!En(w))return;let{value:k,sourceIndex:S}=w;if(!Re(k))return;let E=k.toLowerCase();if(!g.has(E)||M(t,"ignoreKeywords",k))return;let z=x+S,L=z+k.length;if(e==="physical"){c("flow-relative",k,z,L,m);return}if(!s){c("physical",k,z,L,m);return}let N=(B=s.get(b))==null?void 0:B.get(E);if(!N){c("physical",k,z,L,m);return}P({index:z,endIndex:L,message:Up.expected,messageArgs:[k,N],node:m,result:n,ruleName:yi,fix:{apply:()=>{w.value=N,ft(m,f.toString())},node:m}})})})},gc.ruleName=yi,gc.messages=Up,gc.meta=pA,k6=gc}),x6={};A(x6,{default:()=>S6});var mA,bc,kv,hA,vc,S6,VG=y(()=>{mA=X(ue(),1),J(),bd(),ct(),jr(),V(),K(),I(),j(),gt(),D(),q(),bc="value-no-vendor-prefix",kv=O(bc,{rejected:e=>`Vendor-prefixed value "${e}"`}),hA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},vc=(e,t)=>(r,n)=>{T(n,bc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!ut(i)||!Or(i.prop))return;let a=(0,mA.default)(o);a.walk(s=>{if(!zr.propertyValue(s.value)||M(t,"ignoreValues",s.value))return;let l=ie(i)+s.sourceIndex,u=()=>{s.value=zr.unprefix(s.value),ft(i,a.toString())};P({message:kv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:bc,fix:{apply:u,node:i}})})})},vc.ruleName=bc,vc.messages=kv,vc.meta=hA,S6=vc}),QG=G((e,t)=>{"use strict";t.exports=()=>{}});Jm();var rx={noDeprecation:!0,cwd(){return"/"}},YG=()=>{},GG={};Er();q();Er();Er();function C6(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=(rx.noDeprecation?[]:e.messages.filter(s=>s.stylelintType==="deprecation")).map(s=>({text:s.text,reference:s.stylelintReference})),o=e.messages.filter(s=>s.stylelintType==="invalidOption").map(s=>({text:s.text})),a=e.messages.filter(s=>s.stylelintType==="parseError");e.messages=e.messages.filter(s=>s.stylelintType!=="deprecation"&&s.stylelintType!=="invalidOption"&&s.stylelintType!=="parseError"),r={source:n,deprecations:i,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map(s=>({line:s.line,column:s.column,endLine:s.endLine,endColumn:s.endColumn,fix:s.fix,rule:s.rule,severity:s.severity,text:s.text,url:s.url})),ignored:e.stylelint.ignored,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Jr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var KG=(e={})=>{let t=e.cwd||rx.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};zw();var HG=()=>!0,XG=U6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(SB(),WA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(CB(),UA)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(zB(),QA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(jB(),jN)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(TB(),DN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DB(),FN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(_B(),qN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tq(),iE)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(rq(),aE)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(nq(),lE)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(iq(),cE)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(sq(),pE)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(uq(),vE)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(cq(),wE)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(dq(),SE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(mq(),zE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(hq(),TE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(vq(),LE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(Oq(),UE)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(Tq(),QE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(Fq(),KE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Mq(),XE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(Rq(),ZE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>($q(),tP)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(Wq(),iP)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(Vq(),aP)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(Qq(),lP)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(Yq(),cP)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Hq(),hP)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(Xq(),gP)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(Jq(),vP)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(e9(),wP)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(j8(),RL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(T8(),BL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(D8(),WL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(L8(),UL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(M8(),QL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(R8(),HL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>($8(),JL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(W8(),tF)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(_8(),nF)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(U8(),oF)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(V8(),sF)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(Q8(),uF)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(NU(),MF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(OU(),qF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(MU(),HF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(RU(),JF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>($U(),eM)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(qU(),rM)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_U(),iM)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(QU(),aM)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(YU(),dM)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(KU(),mM)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(HU(),bM)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(eV(),wM)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(tV(),CM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(rV(),AM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(nV(),IM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(iV(),jM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(aV(),DM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(sV(),RM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(yV(),t3)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(wV(),n3)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(SV(),o3)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(AV(),s3)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(NV(),u3)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(MV(),d3)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(qV(),m3)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(WV(),g3)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),F3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(lQ(),R3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(uQ(),q3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(cQ(),_3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dQ(),V3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(pQ(),Y3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(mQ(),K3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(hQ(),X3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(fQ(),Z3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(gQ(),tR)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(kQ(),nR)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(xQ(),aR)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(jQ(),gR)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(DQ(),yR)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(LQ(),kR)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(FQ(),SR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(MQ(),zR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(RQ(),NR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>($Q(),PR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(_Q(),OR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(QQ(),BR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(KQ(),WR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(HQ(),UR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(XQ(),QR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(JQ(),GR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZQ(),HR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(tY(),e$)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(rY(),r$)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(nY(),i$)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(iY(),a$)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(dY(),l$)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(hY(),d$)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(gY(),m$)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(vY(),f$)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(wY(),b$)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(kY(),y$)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(xY(),k$)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(SY(),S$)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(AY(),E$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(NY(),O$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(PY(),L$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OY(),M$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(jY(),$$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(TY(),q$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(DY(),_$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(LY(),V$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(FY(),Y$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(MY(),K$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(BY(),X$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(qY(),Z$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(WY(),t5)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(JY(),l5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(ZY(),c5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(eG(),p5)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tG(),g5)),"./selector-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(nG(),v5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(sG(),S5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(lG(),A5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(dG(),E5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(pG(),O5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(mG(),T5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(fG(),L5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(gG(),M5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(bG(),$5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(vG(),q5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(yG(),_5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(wG(),V5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(SG(),Y5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(PG(),X5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(IG(),Z5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(OG(),t6)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(jG(),n6)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),o6)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DG(),d6)),"./unit-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(FG(),m6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(MG(),f6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(WG(),b6)),"./value-keyword-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(UG(),y6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(VG(),x6))}),fA=new Map;function JG(e){let t=fA.get(e);return t||(t=XG(`./${e}/index.mjs`).then(r=>r.default),fA.set(e,t)),t}var ZG=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-invalid","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-layout-mappings","unit-no-unknown","value-keyword-case","value-keyword-layout-mappings","value-no-vendor-prefix"],z6={};for(let e of ZG)Object.defineProperty(z6,e,{get(){return JG(e)},enumerable:!0,configurable:!0});var nx=z6;function A6(e,t){var r;return eK(e)?nx[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function eK(e){return e in nx}q();function tK(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Cr(r)&&Cr(n)?e:[e]}async function rK(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await A6(r,e);i?t[r]=tK(n,i):t[r]=[]}return e.rules=t,e}var nK=(e,t)=>{let r={...t},n=["fix","computeEditInfo","ignoreDisables","quiet","validate"];for(let i of n){let o=e._options[i];o&&(r[i]=i==="fix"||o)}return r},iK=async(e,t,{config:r})=>({config:await rK(nK(e,r))}),N6=({stylelint:e,filePath:t})=>iK(e,t,{config:e._options.config}),oK=()=>[];function aK(e,t){return e.startsWith("_")?void 0:t}function sK(e){return JSON.stringify(e,aK)}var lK=()=>sK;Jm();gd();var uK=()=>{};jF();var cK=()=>{};gd();var dK=e=>e,E6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,pK=_i();async function mK(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?dK(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=E6(e._options.fix),s=t!=null?t:await hK(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await cK(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await pK.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function hK(e){return{parse:await(e?Promise.resolve().then(()=>X(QG(),1)).then(t=>t.default):_i.parse),stringify:_i.stringify}}var fK=async()=>[],gK=()=>{},bK=()=>Promise.resolve(!1),vK=()=>!1;Er();yd();Er();yd();q();me();uh();rt();function xv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function yK(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Mt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,z,L,N,B,te,re,be,he,oe,qe,Ue,At,Ve,Y,H,R,W;if(Kr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Kc(w)&&ji(w.text,o)&&Z&&Kr(Z)&&(w.text.includes("--")||Z.text.startsWith("--")))){p(w,w.source,w.text);return}let F=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),ge=Z;for(;!Kc(ge)&&!ji(ge.text,o);){let we=(N=(L=(z=ge.source)==null?void 0:z.end)==null?void 0:L.line)!=null?N:0;if(F+1!==we)break;ee.text+=`
|
|
37
|
+
${ge.text}`,ee.source&&ge.source&&(ee.source.end=ge.source.end),i=ge;let ae=ge.next();if(!ae||!Kr(ae))break;ge=ae,F=we}p(ee,ee.source,ee.text)}if(it(w)){let Z=0,F=(te=(B=w.raws)==null?void 0:B.selector)==null?void 0:te.raw;d(w,F,Z),Z+=(re=F==null?void 0:F.length)!=null?re:w.selector.length;let ee=(be=w.raws)==null?void 0:be.between;d(w,ee,Z)}if(Oe(w)){let Z=w.name.length+1,F=(he=w.raws)==null?void 0:he.afterName;d(w,F,Z),Z+=(oe=F==null?void 0:F.length)!=null?oe:0;let ee=(Ue=(qe=w.raws)==null?void 0:qe.params)==null?void 0:Ue.raw;d(w,ee,Z),Z+=(At=ee==null?void 0:ee.length)!=null?At:w.params.length;let ge=(Ve=w.raws)==null?void 0:Ve.between;d(w,ge,Z)}if(to(w)){let Z=w.prop.length,F=(Y=w.raws)==null?void 0:Y.between;d(w,F,Z),Z+=(H=F==null?void 0:F.length)!=null?H:0;let ee=(W=(R=w.raws)==null?void 0:R.value)==null?void 0:W.raw;d(w,ee,Z)}}),t;function a(w,k,S){if(k.start){let E=k.start.line,z=v(S);for(let L of m(Sm,S))l(w,E,L,z)}}function s(w,k,S){if(k.end){let E=k.end.line,z=v(S);for(let L of m(Cm,S))l(w,E+1,L,z)}}function l(w,k,S,E){if(f(Mt))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Mt)for(let z of Object.keys(r)){if(f(z))continue;let L=z===Mt;h(w,k,z,L,E),b(k,z,L)}else{if(f(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});h(w,k,S,!0,E),b(k,S,!0)}}function u(w,k,S){let E=v(S);for(let z of m(xm,S)){let L=z===Mt;if(f(z))throw w.error(L?"All rules have already been disabled":`"${z}" has already been disabled`,{plugin:"stylelint"});if(k.start){let N=k.start.line;if(L)for(let B of Object.keys(r))h(w,N,B,B===Mt,E);else h(w,N,z,!0,E)}}}function c(w,k,S){var E;for(let z of m(zm,S)){let L=(E=k.end)==null?void 0:E.line;if(zc(L),z===Mt){if(Object.values(r).every(N=>{if(N.length===0)return!0;let B=N[N.length-1];return B&&typeof B.end=="number"}))throw w.error("No rules have been disabled",{plugin:"stylelint"});for(let[N,B]of Object.entries(r)){let te=B[B.length-1];(!te||!te.end)&&b(L,N,N===Mt)}continue}if(f(Mt)&&r[z]===void 0){r[z]=n.map(({start:N,end:B,description:te})=>xv(w,N,!1,te,B,!1)),b(L,z,!0);continue}if(f(z)){b(L,z,!0);continue}throw w.error(`"${z}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&St({css:k}).forEach(E=>{if(!Ph(E))return;let[,z,L,N]=E,B=w.rangeBy({index:L+S,endIndex:N+1+S});p(w,B,z.slice(2,-2).trim())})}function p(w,k,S){if(k&&ji(S,o))switch(gE(S,o)){case Sm:a(w,k,S);break;case Cm:s(w,k,S);break;case xm:u(w,k,S);break;case zm:c(w,k,S);break}}function m(w,k){let S=lq(w,o),E=k.slice(S.length).split(/\s-{2,}\s/u)[0];eo(E);let z=E.trim().split(",").filter(Boolean).map(L=>L.trim());return z.length===0?[Mt]:z}function v(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function h(w,k,S,E,z){let L=xv(w,k,E,z);g(S);let N=r[S];We(N),N.push(L)}function b(w,k,S){let E=r[k],z=E?E[E.length-1]:null;z&&(z.end=w,z.strictEnd=S)}function g(w){r[w]||(r[w]=n.map(({node:k,start:S,end:E,description:z})=>xv(k,S,!1,z,E,!1)))}function f(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}zw();Er();function wK(){return[]}function kK(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var Sv=new Map;function xK(e,t,r){let n=Sv.has(e)?Sv.get(e):wK(e);Sv.set(e,n),r.warn(kK(e,n),{severity:Jr,rule:e,node:t,index:0})}var gA={enabled:!1};async function SK(e,t,r){var p,m,v,h;let{abortSignal:n}=e;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let i=t.root;if(!("type"in i))throw new Error("Unexpected Postcss root object!");let o=(p=i.source)==null?void 0:p.input.css.match(/\r?\n/),a=o?o[0]:`
|
|
38
|
+
`,s={configurationComment:r.configurationComment||vd,newline:a};yK(i,t);let l=i&&i.constructor.name==="Document"?i.nodes:[i],u=[],c;if(r.rules){let b=new Map(Object.keys(nx).map((g,f)=>[g,f]));c=Object.keys(r.rules).sort((g,f)=>{var x,w;return((x=b.get(g))!=null?x:-1)-((w=b.get(f))!=null?w:-1)})}else c=[];let d=await Promise.all(c.map(async b=>{let g=await A6(b,r);return[b,g]}));for(let[b,g]of d){if(g===void 0){u.push(Promise.all(l.map(B=>xK(b,B,t))));continue}let f=(m=r.rules)==null?void 0:m[b];if(f===null||f[0]===null)continue;(v=g.meta)!=null&&v.deprecated&&!e.quietDeprecationWarnings&&zK(t,b);let x=f[0],w=f[1],k=r.defaultSeverity||Cw;t.stylelint.ruleSeverities[b]=w&&w.severity||k,t.stylelint.customMessages[b]=w&&w.message,t.stylelint.customUrls[b]=w&&w.url,t.stylelint.ruleMetadata[b]=g.meta||{};let S=((h=g.meta)==null?void 0:h.fixable)&&!e.quietDeprecationWarnings,E=(w==null?void 0:w.disableFix)!==!0&&r.fix&&CK(t,b),z={...s,get fix(){return S&&Mc("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${b}" instead.`),E}},L=g(x,w,z);async function N(B){return gA.enabled?gA.time(b,()=>L(B,t))():L(B,t)}u.push(Promise.all(l.map(N)).then(B=>{if(n!=null&&n.aborted)throw n.reason;return B}))}return Promise.all(u)}function CK({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Mt])!=null&&r.length)&&!e[t]}function zK(e,t){let r=`The "${t}" rule is deprecated.`;Mc(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var AK=()=>{};Er();Er();function NK({rule:e,message:t,severity:r,node:n,postcssResult:i}){let{source:o}=n;if(o!=null&&o.start)switch(i.warn(t,{rule:e,severity:r,node:n,start:o.start,end:o.end}),r){case Jr:i.stylelint.stylelintError=!0;break;case cm:i.stylelint.stylelintWarning=!0;break;default:break}}function EK(e){var n;let t=e.stylelint.disabledRanges,r=(n=e.stylelint.config)==null?void 0:n.rules;if(r&&Object.values(r).some(i=>bA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&bA(r[i])&&NK({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Jr,node:a.node,postcssResult:e})}function bA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var PK=()=>{};async function IK(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let{abortSignal:r}=t;if(r!=null&&r.aborted)throw r.reason;let n=t.code!==void 0,i=n?t.codeFilename:t.filePath;if(i!==void 0&&!Xm(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));let o=await bK(e,i).catch(p=>{if(n&&vK(p))return!1;throw p});if(r!=null&&r.aborted)throw r.reason;if(o)return t.existingPostcssResult,void 0;let a=await N6({stylelint:e,searchPath:i,filePath:i});if(r!=null&&r.aborted)throw r.reason;if(!a)return Promise.reject(new Error("Config file not found"));let s=a.config,l=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(s),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let u=l||await mK(e,{code:t.code,codeFilename:t.codeFilename,filePath:i,customSyntax:s._resolvedCustomSyntax});if(r!=null&&r.aborted)throw r.reason;let c=await fK(s);if(r!=null&&r.aborted)throw r.reason;let d=Object.assign(u,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:IF(s),referenceRoots:c}});if(await SK(e._options,d,s),r==null?void 0:r.aborted)throw r.reason;return EK(d),AK(d),gK(d),uK(d),PK(d),d}Er();function vA({results:e,maxWarnings:t,formatter:r,cwd:n}){let i=!1;for(let a of e)(a.errored||a.parseErrors.length>0||a.warnings.some(s=>s.severity===Jr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:OK(e)};if(t!==void 0){let a=e.reduce((s,l)=>s+l.warnings.length,0);a>t&&(o.maxWarningsExceeded={maxWarnings:t,foundWarnings:a})}return o.report=r(e,o),o.results=e,o}function OK(e){var r;let t={};for(let n of e){let i=(r=n._postcssResult)==null?void 0:r.stylelint.ruleMetadata;i!==void 0&&Object.assign(t,i)}return t}async function jK({stylelint:e,name:t,default:r=void 0}){var o,a,s,l,u;let n=e._options,i=(a=n[t])!=null?a:(o=n.config)==null?void 0:o[t];return(u=i!=null?i:(l=(s=await N6({stylelint:e,failIfNoConfig:!1}))==null?void 0:s.config)==null?void 0:l[t])!=null?u:r}var MK=YG("stylelint:standalone"),TK=["**/node_modules/**"];async function P6({abortSignal:e,allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,code:o,codeFilename:a,config:s,configBasedir:l,configFile:u,customSyntax:c,cwd:d=rx.cwd(),disableDefaultIgnores:p,files:m,fix:v,computeEditInfo:h,formatter:b,_defaultFormatter:g,globbyOptions:f,ignoreDisables:x,ignorePath:w,ignorePattern:k,maxWarnings:S,quiet:E,quietDeprecationWarnings:z=!1,reportDescriptionlessDisables:L,reportInvalidScopeDisables:N,reportNeedlessDisables:B,reportUnscopedDisables:te,suppressAll:re,suppressRule:be,suppressLocation:he,validate:oe=!0}){var R,W;let qe=Date.now(),Ue=!m&&$(o);if(!(m&&!$(o)||Ue))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let At;try{At=oK({cwd:d,ignorePath:w,ignorePattern:k})}catch(Z){return Promise.reject(Z)}let Ve=KG({allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,config:s,configFile:u,configBasedir:l,cwd:d,formatter:b,_defaultFormatter:g,ignoreDisables:x,ignorePath:w,reportNeedlessDisables:B,reportInvalidScopeDisables:N,reportDescriptionlessDisables:L,reportUnscopedDisables:te,maxWarnings:S,customSyntax:c,fix:v,computeEditInfo:h,quiet:E,quietDeprecationWarnings:z,validate:oe}),Y=await lK(Ve),H=await jK({stylelint:Ve,name:"maxWarnings",default:S});if(!m){eo(o);let Z=a!==void 0&&!Xm(a)?xw(d,a):a;if(Z&&(!HG(At,[Sw(d,Z)]).length||!p&&GG.isMatch(Z,TK)))return vA({results:[],maxWarnings:H,quietDeprecationWarnings:z,formatter:Y,cwd:d});let F;try{if(e!=null&&e.aborted)throw e.reason;let we=await IK(Ve,{code:o,codeFilename:Z,abortSignal:e});if(e!=null&&e.aborted)throw e.reason;F=C6(we)}catch(we){F=DK(we)}await LK(Ve,F,Z);let ee=F._postcssResult,ge=vA({results:[F],maxWarnings:H,quietDeprecationWarnings:z,formatter:Y,cwd:d});return(W=(R=E6(Ve._options.fix))!=null?R:s==null?void 0:s.fix)!=null&&W&&ee&&!ee.stylelint.ignored&&(ge.code=ee.opts?ee.root.toString(ee.opts.syntax):o),ge}}function DK(e){if(e instanceof Error&&e.name==="CssSyntaxError")return C6(void 0,e);throw e}async function LK(){}Object.assign(globalThis,{stylelint:{lint:P6}});})();
|