@bhsd/stylelint-browserify 17.4.0 → 17.6.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.
@@ -1,38 +1,39 @@
1
- "use strict";(()=>{var Y$=Object.defineProperty;var nk=e=>{throw TypeError(e)};var G$=(e,t,r)=>t in e?Y$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>G$(e,typeof t!="symbol"?t+"":t,r),K$=(e,t,r)=>t.has(e)||nk("Cannot "+r);var th=(e,t,r)=>(K$(e,t,"read from private field"),r?r.call(e):t.get(e)),ik=(e,t,r)=>t.has(e)?nk("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var J$=Object.create,Ay=Object.defineProperty,H$=Object.getOwnPropertyDescriptor,X$=Object.getOwnPropertyNames,Z$=Object.getPrototypeOf,e5=Object.prototype.hasOwnProperty,t5=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),z=(e,t)=>{for(var r in t)Ay(e,r,{get:t[r],enumerable:!0})},r5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of X$(t))!e5.call(e,i)&&i!==r&&Ay(e,i,{get:()=>t[i],enumerable:!(n=H$(t,i))||n.enumerable});return e},re=(e,t,r)=>(r=e!=null?J$(Z$(e)):{},r5(t||!e||!e.__esModule?Ay(r,"default",{value:e,enumerable:!0}):r,e)),Tt,Gr,Cp,zy,kr=y(()=>{Tt="all",Gr="error",Cp="warning",zy=Gr});function ok(e){return Object.prototype.toString.call(e)==="[object Object]"}function n5(e){var t,r;return ok(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(ok(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var i5=y(()=>{});function Fc(e){return typeof e=="boolean"||e instanceof Boolean}function Ap(e){return typeof e=="function"||e instanceof Function}function br(e){return typeof e=="number"||e instanceof Number}function o5(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function vr(e){return n5(e)}function Ve(e,t=void 0){t?console.assert(e,t):console.assert(e)}function ec(e){console.assert(br(e),`"${e}" must be a number`)}function Mi(e){console.assert($(e),`"${e}" must be a string`)}function ak(e){return!(!vr(e)||!br(e.line)||!br(e.column))}function a5(e){return!(!vr(e)||!ak(e.start)||!ak(e.end))}var B=y(()=>{i5()}),s5=Y((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,m=85,h=43,b=/^[a-f0-9?-]+$/i;t.exports=function(p){for(var v=[],f=p,g,x,k,w,S,P,A,M,N=0,q=f.charCodeAt(N),ne=f.length,K=[{nodes:v}],de=0,oe,se="",$e="",qe="";N<ne;)if(q<=32){g=N;do g+=1,q=f.charCodeAt(g);while(q<=32);w=f.slice(N,g),k=v[v.length-1],q===n&&de?qe=w:k&&k.type==="div"?(k.after=w,k.sourceEndIndex+=w.length):q===l||q===u||q===s&&f.charCodeAt(g+1)!==c&&(!oe||oe&&oe.type==="function"&&oe.value!=="calc")?$e=w:v.push({type:"space",sourceIndex:N,sourceEndIndex:g,value:w}),N=g}else if(q===i||q===o){g=N,x=q===i?"'":'"',w={type:"string",sourceIndex:N,quote:x};do if(S=!1,g=f.indexOf(x,g+1),~g)for(P=g;f.charCodeAt(P-1)===a;)P-=1,S=!S;else f+=x,g=f.length-1,w.unclosed=!0;while(S);w.value=f.slice(N+1,g),w.sourceEndIndex=w.unclosed?g:g+1,v.push(w),N=g+1,q=f.charCodeAt(N)}else if(q===s&&f.charCodeAt(N+1)===c)g=f.indexOf("*/",N),w={type:"comment",sourceIndex:N,sourceEndIndex:g+2},g===-1&&(w.unclosed=!0,g=f.length,w.sourceEndIndex=g),w.value=f.slice(N+2,g),v.push(w),N=g+2,q=f.charCodeAt(N);else if((q===s||q===c)&&oe&&oe.type==="function"&&oe.value==="calc")w=f[N],v.push({type:"word",sourceIndex:N-$e.length,sourceEndIndex:N+w.length,value:w}),N+=1,q=f.charCodeAt(N);else if(q===s||q===l||q===u)w=f[N],v.push({type:"div",sourceIndex:N-$e.length,sourceEndIndex:N+w.length,value:w,before:$e,after:""}),$e="",N+=1,q=f.charCodeAt(N);else if(r===q){g=N;do g+=1,q=f.charCodeAt(g);while(q<=32);if(M=N,w={type:"function",sourceIndex:N-se.length,value:se,before:f.slice(M+1,g)},N=g,se==="url"&&q!==i&&q!==o){g-=1;do if(S=!1,g=f.indexOf(")",g+1),~g)for(P=g;f.charCodeAt(P-1)===a;)P-=1,S=!S;else f+=")",g=f.length-1,w.unclosed=!0;while(S);A=g;do A-=1,q=f.charCodeAt(A);while(q<=32);M<A?(N!==A+1?w.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:A+1,value:f.slice(N,A+1)}]:w.nodes=[],w.unclosed&&A+1!==g?(w.after="",w.nodes.push({type:"space",sourceIndex:A+1,sourceEndIndex:g,value:f.slice(A+1,g)})):(w.after=f.slice(A+1,g),w.sourceEndIndex=g)):(w.after="",w.nodes=[]),N=g+1,w.sourceEndIndex=w.unclosed?g:N,q=f.charCodeAt(N),v.push(w)}else de+=1,w.after="",w.sourceEndIndex=N+1,v.push(w),K.push(w),v=w.nodes=[],oe=w;se=""}else if(n===q&&de)N+=1,q=f.charCodeAt(N),oe.after=qe,oe.sourceEndIndex+=qe.length,qe="",de-=1,K[K.length-1].sourceEndIndex=N,K.pop(),oe=K[de],v=oe.nodes;else{g=N;do q===a&&(g+=1),g+=1,q=f.charCodeAt(g);while(g<ne&&!(q<=32||q===i||q===o||q===l||q===u||q===s||q===r||q===c&&oe&&oe.type==="function"&&oe.value==="calc"||q===s&&oe.type==="function"&&oe.value==="calc"||q===n&&de));w=f.slice(N,g),r===q?se=w:(d===w.charCodeAt(0)||m===w.charCodeAt(0))&&h===w.charCodeAt(1)&&b.test(w.slice(2))?v.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:g,value:w}):v.push({type:"word",sourceIndex:N,sourceEndIndex:g,value:w}),N=g}for(N=K.length-1;N;N-=1)K[N].unclosed=!0,K[N].sourceEndIndex=f.length;return K[0].nodes}}),l5=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)}}),u5=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}),c5=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,m,h;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),m=l.charCodeAt(u+1),d===i&&m>=48&&m<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),m=l.charCodeAt(u+1),h=l.charCodeAt(u+2),(d===o||d===a)&&(m>=48&&m<=57||(m===n||m===r)&&h>=48&&h<=57))for(u+=m===n||m===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)}}}),fe=Y((e,t)=>{var r=s5(),n=l5(),i=u5();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=c5(),o.walk=n,o.stringify=i,t.exports=o});function lt(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var ut=y(()=>{});function ye(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var xe=y(()=>{});function Ie(e){var t,r;return X2(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function d5(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 X2(e){return 1+e.name.length}function p5(e){return Ie(e)+lt(e).length}function Z2(e){let{prop:t}=e.raws,r=o5(t);return eA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ae(e){let{between:t,value:r}=e.raws;return Z2(e)+eA([t||":",r&&"prefix"in r&&r.prefix])}function m5(e){return ye(e).length}function h5(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 eA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var Z=y(()=>{ut(),xe(),B()});function Ye(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Ge=y(()=>{});function tA(e){return rA.test(e)}var rA,nA=y(()=>{rA=/@\{.+?\}/});function iA(e){return oA.test(e)}var oA,aA=y(()=>{oA=/\$\(.+?\)/});function sA(e){return lA.test(e)}var lA,uA=y(()=>{lA=/#\{.+?\}/s});function cA(e){return dA.test(e)}var dA,pA=y(()=>{dA=/\{.+?\}/s});function om(e){return!!(tA(e)||sA(e)||cA(e)||iA(e))}var am=y(()=>{nA(),aA(),uA(),pA()});function Be(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||om(t)||/__MSG_\S+__/.test(e))}var We=y(()=>{am()});function sr(e){return e.type==="root"}function ct(e){return e.type==="rule"}function De(e){return e.type==="atrule"}function Vr(e){return e.type==="comment"}function Ri(e){return e.type==="decl"}function Ob(e){return e.type==="document"}function mA(e){return e.type==="div"}function kn(e){return e.type==="function"}function sm({type:e}){return e==="word"}function sk(e){return!!e.source}var ge=y(()=>{});function Ee(e,t){if(!Array.isArray(e))return lk(e,t);for(let r of e){let n=lk(r,t);if(n)return n}return!1}function lk(e,t){if(!Array.isArray(t))return ck(e,t);for(let r of t){let n=ck(e,r);if(n)return n}return!1}function uk(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function ck(e,t){if(t instanceof RegExp)return uk(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=uk(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Fe=y(()=>{});function R(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Ee(r,e[t]))}var H=y(()=>{Fe()});function f5(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:De(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var g5=y(()=>{ge()});function b5(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var v5=y(()=>{});function y5(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 w5=y(()=>{});function k5(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var x5=y(()=>{});function E(e){var k,w,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=S5(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:m=o.message},customUrls:{[n]:h},ruleMetadata:{[n]:b}}=r.stylelint,{messageArgs:p=[],severity:v=u[n]}=o,f=(w=(k=Ap(v)?v(...p):v)!=null?k:c)!=null?w:zy;if(l&&f===Cp)return;if((Ap(i)||Ny(i))&&b&&!b.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(z5(e,a.start.line)||hA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&f===Gr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&f===Cp&&(r.stylelint.stylelintWarning=!0);let g={severity:f,rule:n};t&&(g.node=t),g.start=a.start,g.end=a.end,h&&(g.url=h),g.fix=N5({...e,line:a.start.line});let x=C5(m,p,n);r.warn(x,g)}function S5(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(a5(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(E5(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 C5(e,t,r){return b5($(e)?A5(e,...t):e(...t),r)}function A5(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function hA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Tt])!=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 z5({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||fA(n,r,o,i))return!1;let s=Ny(e)?e.apply:e;return Ap(s)?(s(),P5({fixersData:a,ruleName:r}),!0):!1}function N5({fix:e,line:t,result:r,ruleName:n}){var d,m,h,b,p;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||fA(t,n,o,i)||!Ny(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!br((m=(d=l.source)==null?void 0:d.start)==null?void 0:m.offset)||!br((b=(h=l.source)==null?void 0:h.end)==null?void 0:b.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(v=>k5(v,u)))return;s();let c={range:u,text:l.toString((p=r.opts)==null?void 0:p.syntax)};return c=f5(l,c),c=y5(l,c),a.push(c.range),c}function fA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&hA(t,e,n))}function P5({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function E5(e){return!(!vr(e)||!br(e.index)||!br(e.endIndex))}function Ny(e){return!(!vr(e)||!e.node||!Ap(e.apply))}var I=y(()=>{B(),kr(),g5(),v5(),w5(),x5()});function j(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})`;return r}var T=y(()=>{});function $t(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var Bt=y(()=>{});function Py(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Ey=y(()=>{});function L(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)O5(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function O5({possible:e,actual:t,optional:r},n,i){if(t===!1&&!bA.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||Py(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||vr(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 ${Hi(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${Hi(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())dk(e,a)||i(`Invalid option value ${Hi(a)} for rule "${n}"`);return}if(!vr(t)||typeof t!="object"||t===null){i(`Invalid option value ${Hi(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(gA.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())dk(l,u)||i(`Invalid value ${Hi(u)} for option "${a}" of rule "${n}"`)}}}function dk(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function Hi(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var gA,bA,D=y(()=>{Ey(),B(),gA=new Set(["severity","message","url","reportDisables","disableFix"]),bA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),vA={};z(vA,{default:()=>yA});function I5(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function j5(e){let t=mc.default.unit(e);Ve(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function T5(e){return e.type==="word"||e.type==="function"?e:void 0}function L5(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(sm)}function pk(e){let t=mc.default.unit(e);return t&&t.unit==="%"}function mk(e){let t=mc.default.unit(e);return t&&t.unit===""}var mc,Xi,rh,hk,fk,gk,bk,nh,Zi,yA,D5=y(()=>{mc=re(fe(),1),B(),Z(),Ge(),We(),ge(),H(),I(),T(),Bt(),D(),Xi="alpha-value-notation",rh=j(Xi,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),hk={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},fk=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,gk=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,bk=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,nh=/\d/,Zi=(e,t)=>(r,n)=>{if(!L(n,Xi,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:mk,fixFunc:j5},percentage:{expFunc:pk,fixFunc:I5}});r.walkDecls(o=>{let a=Ye(o),s=fk.test(o.prop);if(!(s||gk.test(a))||!nh.test(a))return;let l=(0,mc.default)(a);l.walk(u=>{let c=s&&nh.test(u.value),d=u.type==="function"&&bk.test(u.value),m=c?T5(u):d?L5(u):void 0;if(!m)return;let{value:h}=m;if(!Be(h)||!mk(h)&&!pk(h))return;let b=e;if(R(t,"exceptProperties",o.prop)&&(b==="number"?b="percentage":b==="percentage"&&(b="number")),i[b].expFunc(h))return;let p=i[b].fixFunc(h),v=h,f=ae(o)+m.sourceIndex,g=f+m.value.length,x=()=>{m.value=p,$t(o,l.toString())};E({message:rh.expected,messageArgs:[v,p],node:o,index:f,endIndex:g,result:n,ruleName:Xi,fix:{apply:x,node:o}})})})},Zi.ruleName=Xi,Zi.messages=rh,Zi.meta=hk,yA=Zi}),wA={};z(wA,{default:()=>kA});var vk,eo,ih,yk,to,kA,F5=y(()=>{vk=re(fe(),1),B(),Ge(),We(),H(),I(),T(),D(),eo="annotation-no-unknown",ih=j(eo,{rejected:e=>`Unexpected unknown annotation "${e}"`}),yk={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},to=(e,t)=>(r,n)=>{if(!L(n,eo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Be(a.value)||a.important||!a.value.includes("!")||(0,vk.default)(Ye(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);R(t,"ignoreAnnotations",u)||E({message:ih.rejected,messageArgs:[l],node:a,result:n,ruleName:eo,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},to.ruleName=eo,to.messages=ih,to.meta=yk,kA=to});function tt(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 rt=y(()=>{}),xA={};z(xA,{default:()=>SA});var ro,oh,wk,Pn,SA,M5=y(()=>{B(),rt(),Fe(),I(),T(),D(),ro="at-rule-allowed-list",oh=j(ro,{rejected:e=>`Unexpected at-rule "${e}"`}),wk={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},Pn=e=>(t,r)=>{if(!L(r,ro,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!tt(i)||Ee(o,n))return;let a=`@${o}`;E({message:oh.rejected,messageArgs:[a],node:i,result:r,ruleName:ro,word:a})})},Pn.primaryOptionArray=!0,Pn.ruleName=ro,Pn.messages=oh,Pn.meta=wk,SA=Pn});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var $i=y(()=>{}),Ib,hc,jb,Tb,CA,Bi=y(()=>{$i(),Ib=new Set(["document","nest","viewport"]),hc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),jb=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"]),Tb=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),CA=Ce(Ib,hc,jb,Tb,["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"])}),AA,zA,tc,Lb,kk,NA,PA,EA,OA,IA,jA,TA,en=y(()=>{AA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),zA=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"])]]),tc=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"])]]),Lb=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"]),kk=new Set(["border-color","scrollbar-color"]),NA=new Set([...Lb,...kk]),PA=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),EA=new Set(["transition","animation"]),OA=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"]),IA=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"]),jA=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","types","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),TA=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"])}),LA,R5=y(()=>{LA=["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"]}),$5=y(()=>{R5()}),xk,Sk,Ck,DA,FA,fc,Db,Fb,Ak,zk,lm,gc,bc,xi,MA,Mb,zp,Nk,Pk,RA,Ek,$A,qt=y(()=>{$5(),$i(),xk=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"]),Sk=new Set(LA),Ck=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),DA=Ce(xk,Sk,Ck),FA=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"]),fc=new Set(["before","after","first-line","first-letter"]),Db=new Set(["part"]),Fb=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),Ak=Ce(Fb,["-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"]),zk=new Set(["shadow"]),lm=Ce(fc,Ak,Db,zk,["backdrop","checkmark","clear-icon","color-swatch","content","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"]),gc=new Set(["0%","100%"]),bc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),xi=new Set(["nth-child","nth-last-child"]),MA=new Set(["first","right","left","blank","recto","verso","nth"]),Mb=new Set(["dir","lang"]),zp=new Set(["has","is","matches","not","where"]),Nk=new Set(["contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Pk=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"]),RA=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Ek=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),$A=Ce(bc,Mb,zp,xi,Ek,Pk,Nk,["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"])}),BA,Rb,$b,Oy,Np,Bb,Iy,vc,Pp,jy,qA,Ok,qi,Ir=y(()=>{BA=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Rb=new Set(["hsl","hsla","hwb"]),$b=new Set(["lch","oklch"]),Oy=new Set([...Rb,...$b]),Np=new Set(["oklab","oklch"]),Bb=new Set(["lab","lch"]),Iy=new Set([...Np,...Bb]),vc=new Set(["hsla","rgba"]),Pp=new Set(["hsl","rgb"]),jy=new Set([...vc,...Pp]),qA=new Set(["color","color-mix","hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"]),Ok=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),qi=new Set([...Ok,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),je,Ty,Ly,WA,Dy,UA,Kr,Ik,jk,Tk,_A,Ep,Lk,Op,Dk,VA,Fk,Mk,Rk,$k,Ip,Bk,Fy,yc,qk,Wk,Uk,_k,Vk,My,QA,YA,GA,KA,JA,jp,Qk,Yk,HA,XA,Si,ZA,Gk,Kk,ez,wc,Je=y(()=>{$i(),je=new Set(["initial","inherit","revert","revert-layer","unset"]),Ty=new Set(["block","inline","run-in"]),Ly=new Set(["flow","flow-root","table","flex","grid","ruby"]),WA=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Dy=new Set(["list-item"]),UA=Ce(je,["caption","icon","menu","message-box","small-caption","status-bar"]),Kr=Ce(je,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Ik=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"]),jk=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"]),Tk=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),_A=Ce(Ik,jk,Tk),Ep=new Set(["bolder","lighter"]),Lk=new Set(["normal","bold"]),Op=Ce(Ep,Lk),Dk=new Set(["100","200","300","400","500","600","700","800","900"]),VA=new Set(["400","700"]),Fk=Ce(je,Op,Dk),Mk=Ce(je,["normal","italic","oblique"]),Rk=Ce(je,["normal","none","small-caps"]),$k=Ce(je,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),Ip=Ce(je,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Bk=Ce(je,["normal"]),Fy=Ce(je,Mk,Rk,Fk,$k,Ip,Bk,Kr),yc=Ce(je,["none"]),qk=Ce(je,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Wk=new Set(["infinite"]),Uk=Ce(je,["normal","reverse","alternate","alternate-reverse"]),_k=new Set(["none","forwards","backwards","both"]),Vk=Ce(je,["running","paused"]),My=Ce(je,yc,qk,Wk,Uk,_k,Vk),QA=Ce(je,["auto","span"]),YA=Ce(je,["auto","span"]),GA=Ce(je,["auto","span"]),KA=Ce(je,["none"]),JA=Ce(je,["none"]),jp=Ce(je,["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"]),Qk=Ce(je,["inside","outside"]),Yk=Ce(je,["none"]),HA=Ce(je,jp,Qk,Yk),XA=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Si=new Set(["from","to"]),ZA=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Gk=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"]),Kk=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"]),ez=Ce(Gk,Kk,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),wc=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"])}),Ry,tz=y(()=>{Ry=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),Ci,qb,rz,Mc=y(()=>{$i(),Ci=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"]),qb=new Set(["dpi","dpcm","dppx","x"]),rz=Ce(Ci,qb,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),nz,B5=y(()=>{nz=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Jk,ke,iz,jr,G,V=y(()=>{qt(),Ir(),Je(),tz(),Mc(),Bi(),B5(),Jk=[...bc.values(),...xi.values()].join("|"),ke={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(`^((?!${[...hc.values()].join("|")}).)*$`,"i")},iz={syntaxName:/^syntax$/i},jr={containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i},G={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Jk})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...qA.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...jy.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...Ry].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Dy,...Ty,...Ly,...WA].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Oy.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...Iy.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,mathFunction:new RegExp(`\\b(?:${[...qi.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...Op,...Ep])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...VA.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Si.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...gc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...wc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...nz].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(?:${[...vc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Pp.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...Ci.values()].join("|")})\\b`,"i")}});function oz(e){return!!(e.startsWith("$")||e.includes(".$"))}var az=y(()=>{});function ft(e){let t=e.prop,r=e.parent;return!(oz(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&ct(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&ct(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var gt=y(()=>{ge(),az()}),sz={};z(sz,{default:()=>lz});function q5(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Tb.has(t.name.toLowerCase())}function W5(e,t,r){return e.name.toLowerCase()==="page"&&jb.has(r.name.toLowerCase())&&IA.has(t)}function U5(e,t){return e.name.toLowerCase()==="page"&&OA.has(t)}var no,ah,Hk,io,lz,_5=y(()=>{Bi(),en(),V(),ge(),rt(),gt(),I(),T(),D(),no="at-rule-descriptor-no-unknown",ah=j(no,{rejected:(e,t)=>`Unexpected unknown descriptor "${t}" for at-rule "${e}"`}),Hk={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},io=e=>(t,r)=>{if(!L(r,no,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(ke.unsupportedNestingNames,i=>{tt(i)&&i.walkDecls(o=>{if(!ft(o))return;let{prop:a,value:s,parent:l}=o;if(U5(i,a)||l&&De(l)&&(W5(i,a,l)||q5(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}`;E({message:ah.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:no,result:r})})})},io.ruleName=no,io.messages=ah,io.meta=Hk,lz=io}),uz={};z(uz,{default:()=>cz});var oo,sh,Xk,ao,cz,V5=y(()=>{V(),Z(),rt(),gt(),I(),T(),D(),oo="at-rule-descriptor-value-no-unknown",sh=j(oo,{rejected:(e,t)=>`Unexpected unknown value "${t}" for descriptor "${e}"`}),Xk={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ao=e=>(t,r)=>{if(!L(r,oo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(ke.unsupportedNestingNames,i=>{tt(i)&&i.walkDecls(o=>{if(!ft(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ae(o),c=u+s.length;E({message:sh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:oo,result:r})})})},ao.ruleName=oo,ao.messages=sh,ao.meta=Xk,cz=ao}),dz={};z(dz,{default:()=>pz});var so,lh,Zk,En,pz,Q5=y(()=>{B(),rt(),Fe(),I(),T(),D(),so="at-rule-disallowed-list",lh=j(so,{rejected:e=>`Unexpected at-rule "${e}"`}),Zk={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},En=e=>(t,r)=>{if(!L(r,so,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!tt(i)||!Ee(o,n))return;let a=`@${i.name}`;E({message:lh.rejected,messageArgs:[a],node:i,result:r,ruleName:so,word:a})})},En.primaryOptionArray=!0,En.ruleName=so,En.messages=lh,En.meta=Zk,pz=En});function Y5(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 G5=y(()=>{});function K5(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var J5=y(()=>{});function Rc({node:e,newline:t,action:r}){switch(Ve(t),r){case"add":Y5(e,t);break;case"remove":K5(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var $c=y(()=>{G5(),B(),J5()});function cd(e){return e.source&&e.source.start&&e.source.start.line}function Pr(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(cd(e)===cd(t))return Pr(t);let r=t.prev();return r&&cd(t)===cd(r)?Pr(t):t}var xn=y(()=>{});function Bc(e){return e===""||e===void 0?!1:mz.test(e)}var mz,qc=y(()=>{mz=/\n[\r\t ]*\n/});function dd(e){return e&&e.source&&e.source.start&&e.source.start.line}function hz(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:dd(e)===dd(t)||dd(t)===dd(t.next())?hz(t):t}var H5=y(()=>{});function ex(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 $y(e){if(!Vr(e))return!1;let t=Pr(e);if(ex(t,e))return!0;let r=hz(e);if(r&&ex(e,r))return!0;let n=e.parent;return n!==void 0&&!sr(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
2
- `)}var By=y(()=>{ge(),H5(),xn()});function Ai(e){let t=e.prev();return!t||t.type!=="comment"?!1:!$y(t)}var um=y(()=>{By()});function kc(e){return e.nodes!==void 0}var cm=y(()=>{});function Wb(e){if(e.type!=="atrule")return!1;let t=Pr(e);return t===void 0?!1:De(t)&&!kc(t)&&!kc(e)}var fz=y(()=>{xn(),cm(),ge()});function tx(e){if(!Wb(e))return!1;let t=Pr(e);return t&&De(t)?t.name===e.name:!1}var X5=y(()=>{xn(),ge(),fz()});function Er(e){let t=e.parent;if(t===void 0||sr(t)&&!Z5(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Vr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
3
- `)||!sk(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(!Vr(a)||sk(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function Z5({parent:e}){return!!(e&&Ob(e))}var Wc=y(()=>{ge()});function dm(e){if(sr(e))return!1;let t=e.parent;return t?sr(t)&&e===t.first:!1}var pm=y(()=>{ge()}),gz={};z(gz,{default:()=>bz});function e6(e){let t=Pr(e);return t&&De(t)&&t.name===e.name}var lo,pd,rx,uo,bz,t6=y(()=>{B(),$c(),xn(),qc(),um(),ge(),fz(),X5(),Wc(),pm(),rt(),H(),I(),T(),D(),lo="at-rule-empty-line-before",pd=j(lo,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),rx={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},uo=(e,t,r)=>(n,i)=>{if(!L(i,lo,{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(dm(a)||!tt(a)||R(t,"ignoreAtRules",a.name)||R(t,"ignore","blockless-after-blockless")&&Wb(a)||R(t,"ignore","first-nested")&&Er(a)||R(t,"ignore","blockless-after-same-name-blockless")&&tx(a)||R(t,"ignore","inside-block")&&s||R(t,"ignore","after-comment")&&Ai(a))return;let l=Bc(a.raws.before),u=o==="always";if((R(t,"except","after-same-name")&&e6(a)||R(t,"except","inside-block")&&s||R(t,"except","first-nested")&&Er(a)||R(t,"except","blockless-after-blockless")&&Wb(a)||R(t,"except","blockless-after-same-name-blockless")&&tx(a))&&(u=!u),u===l)return;let c=u?pd.expected:pd.rejected,d=u?"add":"remove";E({message:c,messageArgs:[],node:a,result:i,ruleName:lo,fix:{apply:()=>Rc({node:a,newline:r.newline,action:d}),node:a.parent}})})},uo.ruleName=lo,uo.messages=pd,uo.meta=rx,bz=uo}),r6=Y(()=>{"use strict"}),vz=Y(()=>{}),qy=Y((e,t)=>{"use strict";var r=r6(),n=vz(),i=class yz 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,yz)}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=`
1
+ "use strict";(()=>{var v$=Object.defineProperty;var xk=e=>{throw TypeError(e)};var y$=(e,t,r)=>t in e?v$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>y$(e,typeof t!="symbol"?t+"":t,r),w$=(e,t,r)=>t.has(e)||xk("Cannot "+r);var gh=(e,t,r)=>(w$(e,t,"read from private field"),r?r.call(e):t.get(e)),Sk=(e,t,r)=>t.has(e)?xk("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var k$=Object.create,bm=Object.defineProperty,x$=Object.getOwnPropertyDescriptor,S$=Object.getOwnPropertyNames,C$=Object.getPrototypeOf,A$=Object.prototype.hasOwnProperty,z$=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),z=(e,t)=>{for(var r in t)bm(e,r,{get:t[r],enumerable:!0})},xA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of S$(t))!A$.call(e,i)&&i!==r&&bm(e,i,{get:()=>t[i],enumerable:!(n=x$(t,i))||n.enumerable});return e},re=(e,t,r)=>(r=e!=null?k$(C$(e)):{},xA(t||!e||!e.__esModule?bm(r,"default",{value:e,enumerable:!0}):r,e)),SA=e=>xA(bm({},"__esModule",{value:!0}),e),By={};z(By,{isAbsolute:()=>vm,join:()=>qy,normalize:()=>CA,relative:()=>Wy});var vm,qy,CA,Wy,Wc=y(()=>{"use strict";vm=()=>!0,qy=()=>"",CA=()=>{},Wy=()=>""}),It,Hr,Dp,_y,Ar=y(()=>{It="all",Hr="error",Dp="warning",_y=Hr});function Ck(e){return Object.prototype.toString.call(e)==="[object Object]"}function N$(e){var t,r;return Ck(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Ck(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var E$=y(()=>{});function _c(e){return typeof e=="boolean"||e instanceof Boolean}function Fp(e){return typeof e=="function"||e instanceof Function}function kr(e){return typeof e=="number"||e instanceof Number}function P$(e){return e!==null&&typeof e=="object"}function U(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function xr(e){return N$(e)}function Ue(e,t=void 0){t?console.assert(e,t):console.assert(e)}function oc(e){console.assert(kr(e),`"${e}" must be a number`)}function Wi(e){console.assert($(e),`"${e}" must be a string`)}function Ak(e){return!(!xr(e)||!kr(e.line)||!kr(e.column))}function O$(e){return!(!xr(e)||!Ak(e.start)||!Ak(e.end))}var q=y(()=>{E$()}),bc,Uy=y(()=>{bc=()=>{}}),T$=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,u=44,l=58,c=42,d=117,p=85,h=43,b=/^[a-f0-9?-]+$/i;t.exports=function(m){for(var v=[],g=m,f,x,w,k,S,E,A,T,N=0,B=g.charCodeAt(N),te=g.length,J=[{nodes:v}],ve=0,ce,le="",Re="",Be="";N<te;)if(B<=32){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(N,f),w=v[v.length-1],B===n&&ve?Be=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===u||B===l||B===s&&g.charCodeAt(f+1)!==c&&(!ce||ce&&ce.type==="function"&&ce.value!=="calc")?Re=k:v.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,v.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),v.push(k),N=f+2,B=g.charCodeAt(N);else if((B===s||B===c)&&ce&&ce.type==="function"&&ce.value==="calc")k=g[N],v.push({type:"word",sourceIndex:N-Re.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=g.charCodeAt(N);else if(B===s||B===u||B===l)k=g[N],v.push({type:"div",sourceIndex:N-Re.length,sourceEndIndex:N+k.length,value:k,before:Re,after:""}),Re="",N+=1,B=g.charCodeAt(N);else if(r===B){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);if(T=N,k={type:"function",sourceIndex:N-le.length,value:le,before:g.slice(T+1,f)},N=f,le==="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);A=f;do A-=1,B=g.charCodeAt(A);while(B<=32);T<A?(N!==A+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:A+1,value:g.slice(N,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=[]),N=f+1,k.sourceEndIndex=k.unclosed?f:N,B=g.charCodeAt(N),v.push(k)}else ve+=1,k.after="",k.sourceEndIndex=N+1,v.push(k),J.push(k),v=k.nodes=[],ce=k;le=""}else if(n===B&&ve)N+=1,B=g.charCodeAt(N),ce.after=Be,ce.sourceEndIndex+=Be.length,Be="",ve-=1,J[J.length-1].sourceEndIndex=N,J.pop(),ce=J[ve],v=ce.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===u||B===l||B===s||B===r||B===c&&ce&&ce.type==="function"&&ce.value==="calc"||B===s&&ce.type==="function"&&ce.value==="calc"||B===n&&ve));k=g.slice(N,f),r===B?le=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&h===k.charCodeAt(1)&&b.test(k.slice(2))?v.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:f,value:k}):v.push({type:"word",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}for(N=J.length-1;N;N-=1)J[N].unclosed=!0,J[N].sourceEndIndex=g.length;return J[0].nodes}}),I$=G((e,t)=>{t.exports=function r(n,i,o){var a,s,u,l;for(a=0,s=n.length;a<s;a+=1)u=n[a],o||(l=i(u,a,n)),l!==!1&&u.type==="function"&&Array.isArray(u.nodes)&&r(u.nodes,i,o),o&&i(u,a,n)}}),j$=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,u,l;return o&&(l=o(i))!==void 0?l:a==="word"||a==="space"?s:a==="string"?(u=i.quote||"",u+s+(i.unclosed?"":u)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(u=n(i.nodes,o),a!=="function"?u:s+"("+(i.before||"")+u+(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}),L$=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(u){var l=u.charCodeAt(0),c;if(l===n||l===r){if(c=u.charCodeAt(1),c>=48&&c<=57)return!0;var d=u.charCodeAt(2);return c===i&&d>=48&&d<=57}return l===i?(c=u.charCodeAt(1),c>=48&&c<=57):l>=48&&l<=57}t.exports=function(u){var l=0,c=u.length,d,p,h;if(c===0||!s(u))return!1;for(d=u.charCodeAt(l),(d===n||d===r)&&l++;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;if(d=u.charCodeAt(l),p=u.charCodeAt(l+1),d===i&&p>=48&&p<=57)for(l+=2;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;if(d=u.charCodeAt(l),p=u.charCodeAt(l+1),h=u.charCodeAt(l+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&h>=48&&h<=57))for(l+=p===n||p===r?3:2;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;return{number:u.slice(0,l),unit:u.slice(l)}}}),me=G((e,t)=>{var r=T$(),n=I$(),i=j$();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=L$(),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 be(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ke=y(()=>{});function Te(e){var t,r;return AA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function D$(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 AA(e){return 1+e.name.length}function F$(e){return Te(e)+st(e).length}function zA(e){let{prop:t}=e.raws,r=P$(t);return NA([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 zA(e)+NA([t||":",r&&"prefix"in r&&r.prefix])}function M$(e){return be(e).length}function R$(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 NA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var X=y(()=>{lt(),ke(),q()});function Qe(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Ye=y(()=>{});function EA(e){return PA.test(e)}var PA,OA=y(()=>{PA=/@\{.+?\}/});function TA(e){return IA.test(e)}var IA,jA=y(()=>{IA=/\$\(.+?\)/});function LA(e){return DA.test(e)}var DA,FA=y(()=>{DA=/#\{.+?\}/s});function MA(e){return RA.test(e)}var RA,$A=y(()=>{RA=/\{.+?\}/s});function ym(e){return!!(EA(e)||LA(e)||MA(e)||TA(e))}var wm=y(()=>{OA(),jA(),FA(),$A()});function $e(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||ym(t)||/__MSG_\S+__/.test(e))}var qe=y(()=>{wm()});function ur(e){return e.type==="root"}function ut(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Yr(e){return e.type==="comment"}function _i(e){return e.type==="decl"}function Yb(e){return e.type==="document"}function BA(e){return e.type==="div"}function An(e){return e.type==="function"}function km({type:e}){return e==="word"}function zk(e){return!!e.source}var he=y(()=>{});function Ee(e,t){if(!Array.isArray(e))return Nk(e,t);for(let r of e){let n=Nk(r,t);if(n)return n}return!1}function Nk(e,t){if(!Array.isArray(t))return Pk(e,t);for(let r of t){let n=Pk(e,r);if(n)return n}return!1}function Ek(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function Pk(e,t){if(t instanceof RegExp)return Ek(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=Ek(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var De=y(()=>{});function R(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Ee(r,e[t]))}var H=y(()=>{De()});function $$(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 B$=y(()=>{he()});function q$(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var W$=y(()=>{});function _$(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 u=i[s],l=t.text[s];if(u!==l)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let u=i.length-1-s;if(u<o)break;let l=i[u],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(l!==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 U$=y(()=>{});function V$(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var Q$=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=Y$(e),{disabledRanges:s,quiet:u,ruleSeverities:l,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:h},ruleMetadata:{[n]:b}}=r.stylelint,{messageArgs:m=[],severity:v=l[n]}=o,g=(k=(w=Fp(v)?v(...m):v)!=null?w:c)!=null?k:_y;if(u&&g===Dp)return;if((Fp(i)||Vy(i))&&b&&!b.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(H$(e,a.start.line)||qA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Hr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===Dp&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,h&&(f.url=h),f.fix=Z$({...e,line:a.start.line});let x=G$(p,m,n);r.warn(x,f)}function Y$(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(O$(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(J$(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 G$(e,t,r){return q$($(e)?K$(e,...t):e(...t),r)}function K$(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function qA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[It])!=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 H$({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||WA(n,r,o,i))return!1;let s=Vy(e)?e.apply:e;return Fp(s)?(s(),X$({fixersData:a,ruleName:r}),!0):!1}function Z$({fix:e,line:t,result:r,ruleName:n}){var d,p,h,b,m;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||WA(t,n,o,i)||!Vy(e)||!e.apply||!e.node)return;let{apply:s,node:u}=e;if(!kr((p=(d=u.source)==null?void 0:d.start)==null?void 0:p.offset)||!kr((b=(h=u.source)==null?void 0:h.end)==null?void 0:b.offset))return;let l=[u.source.start.offset,u.source.end.offset];if(a.some(v=>V$(v,l)))return;s();let c={range:l,text:u.toString((m=r.opts)==null?void 0:m.syntax)};return c=$$(u,c),c=_$(u,c),a.push(c.range),c}function WA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&qA(t,e,n))}function X$({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function J$(e){return!(!xr(e)||!kr(e.index)||!kr(e.endIndex))}function Vy(e){return!(!xr(e)||!e.node||!Fp(e.apply))}var I=y(()=>{q(),Ar(),B$(),W$(),U$(),Q$()});function j(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})`;return r}var L=y(()=>{});function $t(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var Bt=y(()=>{});function Qy(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Yy=y(()=>{});function D(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)e6(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function e6({possible:e,actual:t,optional:r},n,i){if(t===!1&&!UA.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||Qy(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||xr(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 ${to(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${to(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())Ok(e,a)||i(`Invalid option value ${to(a)} for rule "${n}"`);return}if(!xr(t)||typeof t!="object"||t===null){i(`Invalid option value ${to(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(_A.has(a))continue;let u=e&&e[a];if(!u){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let l of[s].flat())Ok(u,l)||i(`Invalid value ${to(l)} for option "${a}" of rule "${n}"`)}}}function Ok(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function to(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var _A,UA,F=y(()=>{Yy(),q(),_A=new Set(["severity","message","url","reportDisables","disableFix"]),UA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),VA={};z(VA,{default:()=>QA});function t6(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function r6(e){let t=vc.default.unit(e);Ue(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function n6(e){return e.type==="word"||e.type==="function"?e:void 0}function i6(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(km)}function Tk(e){let t=vc.default.unit(e);return t&&t.unit==="%"}function Ik(e){let t=vc.default.unit(e);return t&&t.unit===""}var vc,ro,bh,jk,Lk,Dk,Fk,vh,no,QA,o6=y(()=>{vc=re(me(),1),q(),X(),Ye(),qe(),he(),H(),I(),L(),Bt(),F(),ro="alpha-value-notation",bh=j(ro,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),jk={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},Lk=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,Dk=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,Fk=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,vh=/\d/,no=(e,t)=>(r,n)=>{if(!D(n,ro,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,U]},optional:!0}))return;let i=Object.freeze({number:{expFunc:Ik,fixFunc:r6},percentage:{expFunc:Tk,fixFunc:t6}});r.walkDecls(o=>{let a=Qe(o),s=Lk.test(o.prop);if(!(s||Dk.test(a))||!vh.test(a))return;let u=(0,vc.default)(a);u.walk(l=>{let c=s&&vh.test(l.value),d=l.type==="function"&&Fk.test(l.value),p=c?n6(l):d?i6(l):void 0;if(!p)return;let{value:h}=p;if(!$e(h)||!Ik(h)&&!Tk(h))return;let b=e;if(R(t,"exceptProperties",o.prop)&&(b==="number"?b="percentage":b==="percentage"&&(b="number")),i[b].expFunc(h))return;let m=i[b].fixFunc(h),v=h,g=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=m,$t(o,u.toString())};P({message:bh.expected,messageArgs:[v,m],node:o,index:g,endIndex:f,result:n,ruleName:ro,fix:{apply:x,node:o}})})})},no.ruleName=ro,no.messages=bh,no.meta=jk,QA=no}),YA={};z(YA,{default:()=>GA});var Mk,io,yh,Rk,oo,GA,a6=y(()=>{Mk=re(me(),1),q(),Ye(),qe(),H(),I(),L(),F(),io="annotation-no-unknown",yh=j(io,{rejected:e=>`Unexpected unknown annotation "${e}"`}),Rk={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},oo=(e,t)=>(r,n)=>{if(!D(n,io,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,U]},optional:!0}))return;r.walkDecls(i);function i(a){!$e(a.value)||a.important||!a.value.includes("!")||(0,Mk.default)(Qe(a)).walk(s=>{if(!o(s))return;let u=s.value,l=u.slice(1);R(t,"ignoreAnnotations",l)||P({message:yh.rejected,messageArgs:[u],node:a,result:n,ruleName:io,word:u})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},oo.ruleName=io,oo.messages=yh,oo.meta=Rk,GA=oo});function et(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 tt=y(()=>{}),KA={};z(KA,{default:()=>HA});var ao,wh,$k,jn,HA,s6=y(()=>{q(),tt(),De(),I(),L(),F(),ao="at-rule-allowed-list",wh=j(ao,{rejected:e=>`Unexpected at-rule "${e}"`}),$k={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},jn=e=>(t,r)=>{if(!D(r,ao,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!et(i)||Ee(o,n))return;let a=`@${o}`;P({message:wh.rejected,messageArgs:[a],node:i,result:r,ruleName:ao,word:a})})},jn.primaryOptionArray=!0,jn.ruleName=ao,jn.messages=wh,jn.meta=$k,HA=jn});function Se(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var Ui=y(()=>{}),Gb,yc,ZA,Kb,Hb,XA,Vi=y(()=>{Ui(),Gb=new Set(["document","nest","viewport"]),yc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),ZA=new Set(["mixin","scope"]),Kb=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"]),Hb=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),XA=Se(Gb,yc,Kb,Hb,["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"])}),JA,ez,ac,Zb,Bk,tz,rz,nz,iz,oz,az,sz,rn=y(()=>{JA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),ez=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"])]]),Zb=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"]),Bk=new Set(["border-color","scrollbar-color"]),tz=new Set([...Zb,...Bk]),rz=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),nz=new Set(["transition","animation"]),iz=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"]),oz=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"]),az=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"]),sz=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"])}),lz,l6=y(()=>{lz=["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"]}),u6=y(()=>{l6()}),qk,Wk,_k,uz,cz,wc,Xb,Jb,Uk,Vk,xm,kc,xc,Ei,dz,ev,Mp,Qk,Yk,pz,Gk,mz,qt=y(()=>{u6(),Ui(),qk=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"]),Wk=new Set(lz),_k=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),uz=Se(qk,Wk,_k),cz=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"]),wc=new Set(["before","after","first-line","first-letter"]),Xb=new Set(["part"]),Jb=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),Uk=Se(Jb,["-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"]),Vk=new Set(["shadow"]),xm=Se(wc,Uk,Xb,Vk,["backdrop","checkmark","clear-icon","color-swatch","content","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"]),kc=new Set(["0%","100%"]),xc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),Ei=new Set(["nth-child","nth-last-child"]),dz=new Set(["first","right","left","blank","recto","verso","nth"]),ev=new Set(["dir","lang"]),Mp=new Set(["has","is","matches","not","where"]),Qk=new Set(["contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Yk=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"]),pz=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Gk=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),mz=Se(xc,ev,Mp,Ei,Gk,Yk,Qk,["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"])}),hz,tv,rv,Gy,Rp,nv,Ky,Sc,$p,Hy,Zy,Kk,Qi,zr=y(()=>{hz=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),tv=new Set(["hsl","hsla","hwb"]),rv=new Set(["lch","oklch"]),Gy=new Set([...tv,...rv]),Rp=new Set(["oklab","oklch"]),nv=new Set(["lab","lch"]),Ky=new Set([...Rp,...nv]),Sc=new Set(["hsla","rgba"]),$p=new Set(["hsl","rgb"]),Hy=new Set([...Sc,...$p]),Zy=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Kk=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),Qi=new Set([...Kk,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Ie,Xy,Jy,fz,ew,gz,Zr,Hk,Zk,Xk,bz,Bp,Jk,qp,ex,vz,tx,rx,nx,ix,Wp,ox,tw,Cc,ax,sx,lx,ux,cx,rw,yz,wz,kz,xz,Sz,_p,dx,px,Cz,Az,Pi,zz,mx,hx,Nz,Ac,He=y(()=>{Ui(),Ie=new Set(["initial","inherit","revert","revert-layer","unset"]),Xy=new Set(["block","inline","run-in"]),Jy=new Set(["flow","flow-root","table","flex","grid","ruby"]),fz=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),ew=new Set(["list-item"]),gz=Se(Ie,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Se(Ie,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Hk=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"]),Zk=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"]),Xk=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),bz=Se(Hk,Zk,Xk),Bp=new Set(["bolder","lighter"]),Jk=new Set(["normal","bold"]),qp=Se(Bp,Jk),ex=new Set(["100","200","300","400","500","600","700","800","900"]),vz=new Set(["400","700"]),tx=Se(Ie,qp,ex),rx=Se(Ie,["normal","italic","oblique"]),nx=Se(Ie,["normal","none","small-caps"]),ix=Se(Ie,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),Wp=Se(Ie,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),ox=Se(Ie,["normal"]),tw=Se(Ie,rx,nx,tx,ix,Wp,ox,Zr),Cc=Se(Ie,["none"]),ax=Se(Ie,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),sx=new Set(["infinite"]),lx=Se(Ie,["normal","reverse","alternate","alternate-reverse"]),ux=new Set(["none","forwards","backwards","both"]),cx=Se(Ie,["running","paused"]),rw=Se(Ie,Cc,ax,sx,lx,ux,cx),yz=Se(Ie,["auto","span"]),wz=Se(Ie,["auto","span"]),kz=Se(Ie,["auto","span"]),xz=Se(Ie,["none"]),Sz=Se(Ie,["none"]),_p=Se(Ie,["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"]),dx=Se(Ie,["inside","outside"]),px=Se(Ie,["none"]),Cz=Se(Ie,_p,dx,px),Az=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Pi=new Set(["from","to"]),zz=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),mx=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"]),hx=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"]),Nz=Se(mx,hx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Ac=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"])}),nw,Ez=y(()=>{nw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),Oi,iv,Pz,Uc=y(()=>{Ui(),Oi=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"]),iv=new Set(["dpi","dpcm","dppx","x"]),Pz=Se(Oi,iv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),Oz,c6=y(()=>{Oz=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),fx,we,Tz,Mr,Y,V=y(()=>{qt(),zr(),He(),Ez(),Uc(),Vi(),c6(),fx=[...xc.values(),...Ei.values()].join("|"),we={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(`^((?!${[...yc.values()].join("|")}).)*$`,"i")},Tz={syntaxName:/^syntax$/i},Mr={containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i},Y={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${fx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Zy.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...Hy.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...nw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...ew,...Xy,...Jy,...fz].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Gy.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...Ky.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,mathFunction:new RegExp(`\\b(?:${[...Qi.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...qp,...Bp])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...vz.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Pi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...kc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Ac.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(?:${[...Sc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...$p.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...Oi.values()].join("|")})\\b`,"i")}});function Iz(e){return!!(e.startsWith("$")||e.includes(".$"))}var jz=y(()=>{});function ht(e){let t=e.prop,r=e.parent;return!(Iz(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 ft=y(()=>{he(),jz()}),Lz={};z(Lz,{default:()=>Dz});function d6(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Hb.has(t.name.toLowerCase())}function p6(e,t,r){return e.name.toLowerCase()==="page"&&Kb.has(r.name.toLowerCase())&&oz.has(t)}function m6(e,t){return e.name.toLowerCase()==="page"&&iz.has(t)}var so,kh,gx,lo,Dz,h6=y(()=>{Vi(),rn(),V(),he(),tt(),ft(),I(),L(),F(),so="at-rule-descriptor-no-unknown",kh=j(so,{rejected:(e,t)=>`Unexpected unknown descriptor "${t}" for at-rule "${e}"`}),gx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},lo=e=>(t,r)=>{if(!D(r,so,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(we.unsupportedNestingNames,i=>{et(i)&&i.walkDecls(o=>{if(!ht(o))return;let{prop:a,value:s,parent:u}=o;if(m6(i,a)||u&&Oe(u)&&(p6(i,a,u)||d6(i,u)))return;let{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxReferenceError"||!l.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:kh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:so,result:r})})})},lo.ruleName=so,lo.messages=kh,lo.meta=gx,Dz=lo}),Fz={};z(Fz,{default:()=>Mz});var uo,xh,bx,co,Mz,f6=y(()=>{V(),X(),tt(),ft(),I(),L(),F(),uo="at-rule-descriptor-value-no-unknown",xh=j(uo,{rejected:(e,t)=>`Unexpected unknown value "${t}" for descriptor "${e}"`}),bx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},co=e=>(t,r)=>{if(!D(r,uo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(we.unsupportedNestingNames,i=>{et(i)&&i.walkDecls(o=>{if(!ht(o))return;let{prop:a,value:s}=o,{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxMatchError")return;let l=ie(o),c=l+s.length;P({message:xh.rejected,messageArgs:[a,s],node:o,index:l,endIndex:c,ruleName:uo,result:r})})})},co.ruleName=uo,co.messages=xh,co.meta=bx,Mz=co}),Rz={};z(Rz,{default:()=>$z});var po,Sh,vx,Ln,$z,g6=y(()=>{q(),tt(),De(),I(),L(),F(),po="at-rule-disallowed-list",Sh=j(po,{rejected:e=>`Unexpected at-rule "${e}"`}),vx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Ln=e=>(t,r)=>{if(!D(r,po,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!et(i)||!Ee(o,n))return;let a=`@${i.name}`;P({message:Sh.rejected,messageArgs:[a],node:i,result:r,ruleName:po,word:a})})},Ln.primaryOptionArray=!0,Ln.ruleName=po,Ln.messages=Sh,Ln.meta=vx,$z=Ln});function b6(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 v6=y(()=>{});function y6(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var w6=y(()=>{});function Vc({node:e,newline:t,action:r}){switch(Ue(t),r){case"add":b6(e,t);break;case"remove":y6(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var Qc=y(()=>{v6(),q(),w6()});function gd(e){return e.source&&e.source.start&&e.source.start.line}function Lr(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(gd(e)===gd(t))return Lr(t);let r=t.prev();return r&&gd(t)===gd(r)?Lr(t):t}var zn=y(()=>{});function Yc(e){return e===""||e===void 0?!1:Bz.test(e)}var Bz,Gc=y(()=>{Bz=/\n[\r\t ]*\n/});function bd(e){return e&&e.source&&e.source.start&&e.source.start.line}function qz(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:bd(e)===bd(t)||bd(t)===bd(t.next())?qz(t):t}var k6=y(()=>{});function yx(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 iw(e){if(!Yr(e))return!1;let t=Lr(e);if(yx(t,e))return!0;let r=qz(e);if(r&&yx(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 ow=y(()=>{he(),k6(),zn()});function Ti(e){let t=e.prev();return!t||t.type!=="comment"?!1:!iw(t)}var Sm=y(()=>{ow()});function zc(e){return e.nodes!==void 0}var Cm=y(()=>{});function ov(e){if(e.type!=="atrule")return!1;let t=Lr(e);return t===void 0?!1:Oe(t)&&!zc(t)&&!zc(e)}var Wz=y(()=>{zn(),Cm(),he()});function wx(e){if(!ov(e))return!1;let t=Lr(e);return t&&Oe(t)?t.name===e.name:!1}var x6=y(()=>{zn(),he(),Wz()});function Dr(e){let t=e.parent;if(t===void 0||ur(t)&&!S6(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Yr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
3
+ `)||!zk(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(!Yr(a)||zk(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function S6({parent:e}){return!!(e&&Yb(e))}var Kc=y(()=>{he()});function Am(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var zm=y(()=>{he()}),_z={};z(_z,{default:()=>Uz});function C6(e){let t=Lr(e);return t&&Oe(t)&&t.name===e.name}var mo,vd,kx,ho,Uz,A6=y(()=>{q(),Qc(),zn(),Gc(),Sm(),he(),Wz(),x6(),Kc(),zm(),tt(),H(),I(),L(),F(),mo="at-rule-empty-line-before",vd=j(mo,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),kx={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},ho=(e,t,r)=>(n,i)=>{if(!D(i,mo,{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:[$,U]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if(Am(a)||!et(a)||R(t,"ignoreAtRules",a.name)||R(t,"ignore","blockless-after-blockless")&&ov(a)||R(t,"ignore","first-nested")&&Dr(a)||R(t,"ignore","blockless-after-same-name-blockless")&&wx(a)||R(t,"ignore","inside-block")&&s||R(t,"ignore","after-comment")&&Ti(a))return;let u=Yc(a.raws.before),l=o==="always";if((R(t,"except","after-same-name")&&C6(a)||R(t,"except","inside-block")&&s||R(t,"except","first-nested")&&Dr(a)||R(t,"except","blockless-after-blockless")&&ov(a)||R(t,"except","blockless-after-same-name-blockless")&&wx(a))&&(l=!l),l===u)return;let c=l?vd.expected:vd.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:mo,fix:{apply:()=>Vc({node:a,newline:r.newline,action:d}),node:a.parent}})})},ho.ruleName=mo,ho.messages=vd,ho.meta=kx,Uz=ho}),z6=G(()=>{"use strict"}),Vz=G(()=>{}),aw=G((e,t)=>{"use strict";var r=z6(),n=Vz(),i=class Qz extends Error{constructor(a,s,u,l,c,d){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),l&&(this.source=l),d&&(this.plugin=d),typeof s<"u"&&typeof u<"u"&&(typeof s=="number"?(this.line=s,this.column=u):(this.line=s.line,this.column=s.column,this.endLine=u.line,this.endColumn=u.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Qz)}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}),wz=Y((e,t)=>{"use strict";var r={after:`
6
+ `),this.name+": "+this.message+a}};t.exports=i,i.default=i}),Yz=G((e,t)=>{"use strict";var r={after:`
7
7
  `,beforeClose:`
8
8
  `,beforeComment:`
9
9
  `,beforeDecl:`
10
10
  `,beforeOpen:" ",beforeRule:`
11
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function n(o){return o[0].toUpperCase()+o.slice(1)}var i=class{constructor(o){this.builder=o}atrule(o,a){let s="@"+o.name,l=o.params?this.rawValue(o,"params"):"";if(typeof o.raws.afterName<"u"?s+=o.raws.afterName:l&&(s+=" "),o.nodes)this.block(o,s+l);else{let u=(o.raws.between||"")+(a?";":"");this.builder(s+l+u,o)}}beforeAfter(o,a){let s;o.type==="decl"?s=this.raw(o,null,"beforeDecl"):o.type==="comment"?s=this.raw(o,null,"beforeComment"):a==="before"?s=this.raw(o,null,"beforeRule"):s=this.raw(o,null,"beforeClose");let l=o.parent,u=0;for(;l&&l.type!=="root";)u+=1,l=l.parent;if(s.includes(`
12
- `)){let c=this.raw(o,null,"indent");if(c.length)for(let d=0;d<u;d++)s+=c}return s}block(o,a){let s=this.raw(o,"between","beforeOpen");this.builder(a+s+"{",o,"start");let l;o.nodes&&o.nodes.length?(this.body(o),l=this.raw(o,"after")):l=this.raw(o,"after","emptyBody"),l&&this.builder(l),this.builder("}",o,"end")}body(o){let a=o.nodes.length-1;for(;a>0&&o.nodes[a].type==="comment";)a-=1;let s=this.raw(o,"semicolon");for(let l=0;l<o.nodes.length;l++){let u=o.nodes[l],c=this.raw(u,"before");c&&this.builder(c),this.stringify(u,a!==l||s)}}comment(o){let a=this.raw(o,"left","commentLeft"),s=this.raw(o,"right","commentRight");this.builder("/*"+a+o.text+s+"*/",o)}decl(o,a){let s=this.raw(o,"between","colon"),l=o.prop+s+this.rawValue(o,"value");o.important&&(l+=o.raws.important||" !important"),a&&(l+=";"),this.builder(l,o)}document(o){this.body(o)}raw(o,a,s){let l;if(s||(s=a),a&&(l=o.raws[a],typeof l<"u"))return l;let u=o.parent;if(s==="before"&&(!u||u.type==="root"&&u.first===o||u&&u.type==="document"))return"";if(!u)return r[s];let c=o.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[s]<"u")return c.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(o,s);{let d="raw"+n(s);this[d]?l=this[d](c,o):c.walk(m=>{if(l=m.raws[a],typeof l<"u")return!1})}return typeof l>"u"&&(l=r[s]),c.rawCache[s]=l,l}rawBeforeClose(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(`
13
- `)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeComment(o,a){let s;return o.walkComments(l=>{if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(`
14
- `)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(o,a){let s;return o.walkDecls(l=>{if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(`
11
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function n(o){return o[0].toUpperCase()+o.slice(1)}var i=class{constructor(o){this.builder=o}atrule(o,a){let s="@"+o.name,u=o.params?this.rawValue(o,"params"):"";if(typeof o.raws.afterName<"u"?s+=o.raws.afterName:u&&(s+=" "),o.nodes)this.block(o,s+u);else{let l=(o.raws.between||"")+(a?";":"");this.builder(s+u+l,o)}}beforeAfter(o,a){let s;o.type==="decl"?s=this.raw(o,null,"beforeDecl"):o.type==="comment"?s=this.raw(o,null,"beforeComment"):a==="before"?s=this.raw(o,null,"beforeRule"):s=this.raw(o,null,"beforeClose");let u=o.parent,l=0;for(;u&&u.type!=="root";)l+=1,u=u.parent;if(s.includes(`
12
+ `)){let c=this.raw(o,null,"indent");if(c.length)for(let d=0;d<l;d++)s+=c}return s}block(o,a){let s=this.raw(o,"between","beforeOpen");this.builder(a+s+"{",o,"start");let u;o.nodes&&o.nodes.length?(this.body(o),u=this.raw(o,"after")):u=this.raw(o,"after","emptyBody"),u&&this.builder(u),this.builder("}",o,"end")}body(o){let a=o.nodes.length-1;for(;a>0&&o.nodes[a].type==="comment";)a-=1;let s=this.raw(o,"semicolon");for(let u=0;u<o.nodes.length;u++){let l=o.nodes[u],c=this.raw(l,"before");c&&this.builder(c),this.stringify(l,a!==u||s)}}comment(o){let a=this.raw(o,"left","commentLeft"),s=this.raw(o,"right","commentRight");this.builder("/*"+a+o.text+s+"*/",o)}decl(o,a){let s=this.raw(o,"between","colon"),u=o.prop+s+this.rawValue(o,"value");o.important&&(u+=o.raws.important||" !important"),a&&(u+=";"),this.builder(u,o)}document(o){this.body(o)}raw(o,a,s){let u;if(s||(s=a),a&&(u=o.raws[a],typeof u<"u"))return u;let l=o.parent;if(s==="before"&&(!l||l.type==="root"&&l.first===o||l&&l.type==="document"))return"";if(!l)return r[s];let c=o.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[s]<"u")return c.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(o,s);{let d="raw"+n(s);this[d]?u=this[d](c,o):c.walk(p=>{if(u=p.raws[a],typeof u<"u")return!1})}return typeof u>"u"&&(u=r[s]),c.rawCache[s]=u,u}rawBeforeClose(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(`
13
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeComment(o,a){let s;return o.walkComments(u=>{if(typeof u.raws.before<"u")return s=u.raws.before,s.includes(`
14
+ `)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(o,a){let s;return o.walkDecls(u=>{if(typeof u.raws.before<"u")return s=u.raws.before,s.includes(`
15
15
  `)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(o){let a;return o.walk(s=>{if(s.type!=="decl"&&(a=s.raws.between,typeof a<"u"))return!1}),a}rawBeforeRule(o){let a;return o.walk(s=>{if(s.nodes&&(s.parent!==o||o.first!==s)&&typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
16
- `)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawColon(o){let a;return o.walkDecls(s=>{if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a}rawEmptyBody(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a}rawIndent(o){if(o.raws.indent)return o.raws.indent;let a;return o.walk(s=>{let l=s.parent;if(l&&l!==o&&l.parent&&l.parent===o&&typeof s.raws.before<"u"){let u=s.raws.before.split(`
17
- `);return a=u[u.length-1],a=a.replace(/\S/g,""),!1}}),a}rawSemicolon(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a}rawValue(o,a){let s=o[a],l=o.raws[a];return l&&l.value===s?l.raw:s}root(o){this.body(o),o.raws.after&&this.builder(o.raws.after)}rule(o){this.block(o,this.rawValue(o,"selector")),o.raws.ownSemicolon&&this.builder(o.raws.ownSemicolon,o,"end")}stringify(o,a){if(!this[o.type])throw new Error("Unknown AST node type "+o.type+". Maybe you need to change PostCSS stringifier.");this[o.type](o,a)}};t.exports=i,i.default=i}),Wy=Y((e,t)=>{"use strict";var r=wz();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Uy=Y((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),mm=Y((e,t)=>{"use strict";var r=qy(),n=wz(),i=Wy(),{isClean:o,my:a}=Uy();function s(c,d){let m=new c.constructor;for(let h in c){if(!Object.prototype.hasOwnProperty.call(c,h)||h==="proxyCache")continue;let b=c[h],p=typeof b;h==="parent"&&p==="object"?d&&(m[h]=d):h==="source"?m[h]=b:Array.isArray(b)?m[h]=b.map(v=>s(v,m)):(p==="object"&&b!==null&&(b=s(b)),m[h]=b)}return m}function l(c,d){if(d&&typeof d.offset<"u")return d.offset;let m=1,h=1,b=0;for(let p=0;p<c.length;p++){if(h===d.line&&m===d.column){b=p;break}c[p]===`
18
- `?(m=1,h+=1):m+=1}return b}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 m of c[d])typeof m.clone=="function"?this.append(m.clone()):this.append(m)}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 m in c)d[m]=c[m];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:m,start:h}=this.rangeBy(d);return this.source.input.error(c,{column:h.column,line:h.line},{column:m.column,line:m.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 m="document"in this.source.input?this.source.input.document:this.source.input.css,h=m.slice(l(m,this.source.start),l(m,this.source.end)).indexOf(c.word);h!==-1&&(d=this.positionInside(h))}return d}positionInside(c){let d=this.source.start.column,m=this.source.start.line,h="document"in this.source.input?this.source.input.document:this.source.input.css,b=l(h,this.source.start),p=b+c;for(let v=b;v<p;v++)h[v]===`
19
- `?(d=1,m+=1):d+=1;return{column:d,line:m,offset:p}}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,m={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},h=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:m.column+1,line:m.line,offset:m.offset+1};if(c.word){let b=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);b!==-1&&(m=this.positionInside(b),h=this.positionInside(b+c.word.length))}else c.start?m={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(m=this.positionInside(c.index)),c.end?h={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?h=this.positionInside(c.endIndex):c.index&&(h=this.positionInside(c.index+1));return(h.line<m.line||h.line===m.line&&h.column<=m.column)&&(h={column:m.column+1,line:m.line,offset:m.offset+1}),{end:h,start:m}}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,m=!1;for(let h of c)h===this?m=!0:m?(this.parent.insertAfter(d,h),d=h):this.parent.insertBefore(d,h);m||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let m={},h=d==null;d=d||new Map;let b=0;for(let p in this){if(!Object.prototype.hasOwnProperty.call(this,p)||p==="parent"||p==="proxyCache")continue;let v=this[p];if(Array.isArray(v))m[p]=v.map(f=>typeof f=="object"&&f.toJSON?f.toJSON(null,d):f);else if(typeof v=="object"&&v.toJSON)m[p]=v.toJSON(null,d);else if(p==="source"){if(v==null)continue;let f=d.get(v.input);f==null&&(f=b,d.set(v.input,b),b++),m[p]={end:v.end,inputId:f,start:v.start}}else m[p]=v}return h&&(m.inputs=[...d.keys()].map(p=>p.toJSON())),m}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,m=>{d+=m}),d}warn(c,d,m={}){let h={node:this};for(let b in m)h[b]=m[b];return c.warn(d,h)}};t.exports=u,u.default=u}),_y=Y((e,t)=>{"use strict";var r=mm(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Vy=Y((e,t)=>{"use strict";var r=mm(),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}),Sn=Y((e,t)=>{"use strict";var r=_y(),n=Vy(),i=mm(),{isClean:o,my:a}=Uy(),s,l,u,c;function d(b){return b.map(p=>(p.nodes&&(p.nodes=d(p.nodes)),delete p.source,p))}function m(b){if(b[o]=!1,b.proxyOf.nodes)for(let p of b.proxyOf.nodes)m(p)}var h=class kz 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(...p){for(let v of p){let f=this.normalize(v,this.last);for(let g of f)this.proxyOf.nodes.push(g)}return this.markDirty(),this}each(p){if(!this.proxyOf.nodes)return;let v=this.getIterator(),f,g;for(;this.indexes[v]<this.proxyOf.nodes.length&&(f=this.indexes[v],g=p(this.proxyOf.nodes[f],f),g!==!1);)this.indexes[v]+=1;return delete this.indexes[v],g}every(p){return this.nodes.every(p)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let p=this.lastEach;return this.indexes[p]=0,p}index(p){return typeof p=="number"?p:(p.proxyOf&&(p=p.proxyOf),this.proxyOf.nodes.indexOf(p))}insertAfter(p,v){let f=this.index(p),g=this.normalize(v,this.proxyOf.nodes[f]).reverse();f=this.index(p);for(let k of g)this.proxyOf.nodes.splice(f+1,0,k);let x;for(let k in this.indexes)x=this.indexes[k],f<x&&(this.indexes[k]=x+g.length);return this.markDirty(),this}insertBefore(p,v){let f=this.index(p),g=f===0?"prepend":!1,x=this.normalize(v,this.proxyOf.nodes[f],g).reverse();f=this.index(p);for(let w of x)this.proxyOf.nodes.splice(f,0,w);let k;for(let w in this.indexes)k=this.indexes[w],f<=k&&(this.indexes[w]=k+x.length);return this.markDirty(),this}normalize(p,v){if(typeof p=="string")p=d(l(p).nodes);else if(typeof p>"u")p=[];else if(Array.isArray(p)){p=p.slice(0);for(let f of p)f.parent&&f.parent.removeChild(f,"ignore")}else if(p.type==="root"&&this.type!=="document"){p=p.nodes.slice(0);for(let f of p)f.parent&&f.parent.removeChild(f,"ignore")}else if(p.type)p=[p];else if(p.prop){if(typeof p.value>"u")throw new Error("Value field is missed in node creation");typeof p.value!="string"&&(p.value=String(p.value)),p=[new n(p)]}else if(p.selector||p.selectors)p=[new c(p)];else if(p.name)p=[new s(p)];else if(p.text)p=[new r(p)];else throw new Error("Unknown node type in node creation");return p.map(f=>(f[a]||kz.rebuild(f),f=f.proxyOf,f.parent&&f.parent.removeChild(f),f[o]&&m(f),f.raws||(f.raws={}),typeof f.raws.before>"u"&&v&&typeof v.raws.before<"u"&&(f.raws.before=v.raws.before.replace(/\S/g,"")),f.parent=this.proxyOf,f))}prepend(...p){p=p.reverse();for(let v of p){let f=this.normalize(v,this.first,"prepend").reverse();for(let g of f)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+f.length}return this.markDirty(),this}push(p){return p.parent=this,this.proxyOf.nodes.push(p),this}removeAll(){for(let p of this.proxyOf.nodes)p.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(p){p=this.index(p),this.proxyOf.nodes[p].parent=void 0,this.proxyOf.nodes.splice(p,1);let v;for(let f in this.indexes)v=this.indexes[f],v>=p&&(this.indexes[f]=v-1);return this.markDirty(),this}some(p){return this.nodes.some(p)}walk(p){return this.each((v,f)=>{let g;try{g=p(v,f)}catch(x){throw v.addToError(x)}return g!==!1&&v.walk&&(g=v.walk(p)),g})}walkAtRules(p,v){return v?p instanceof RegExp?this.walk((f,g)=>{if(f.type==="atrule"&&p.test(f.name))return v(f,g)}):this.walk((f,g)=>{if(f.type==="atrule"&&f.name===p)return v(f,g)}):(v=p,this.walk((f,g)=>{if(f.type==="atrule")return v(f,g)}))}walkComments(p){return this.walk((v,f)=>{if(v.type==="comment")return p(v,f)})}walkDecls(p,v){return v?p instanceof RegExp?this.walk((f,g)=>{if(f.type==="decl"&&p.test(f.prop))return v(f,g)}):this.walk((f,g)=>{if(f.type==="decl"&&f.prop===p)return v(f,g)}):(v=p,this.walk((f,g)=>{if(f.type==="decl")return v(f,g)}))}walkRules(p,v){return v?p instanceof RegExp?this.walk((f,g)=>{if(f.type==="rule"&&p.test(f.selector))return v(f,g)}):this.walk((f,g)=>{if(f.type==="rule"&&f.selector===p)return v(f,g)}):(v=p,this.walk((f,g)=>{if(f.type==="rule")return v(f,g)}))}};h.registerParse=b=>{l=b},h.registerRule=b=>{c=b},h.registerAtRule=b=>{s=b},h.registerRoot=b=>{u=b},t.exports=h,h.default=h,h.rebuild=b=>{b.type==="atrule"?Object.setPrototypeOf(b,s.prototype):b.type==="rule"?Object.setPrototypeOf(b,c.prototype):b.type==="decl"?Object.setPrototypeOf(b,n.prototype):b.type==="comment"?Object.setPrototypeOf(b,r.prototype):b.type==="root"&&Object.setPrototypeOf(b,u.prototype),b[a]=!0,b.nodes&&b.nodes.forEach(p=>{h.rebuild(p)})}}),xz=Y((e,t)=>{"use strict";var r=Sn(),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)}),Qy=Y((e,t)=>{"use strict";var r=Sn(),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}),n6=Y(()=>{}),i6=Y((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}}),Sz=Y(()=>{}),Cz=Y(()=>{}),Az=Y(()=>{}),o6=Y((e,t)=>{var r=class{};t.exports=r}),Yy=Y((e,t)=>{"use strict";var{nanoid:r}=i6(),{isAbsolute:n,resolve:i}=Sz(),{SourceMapConsumer:o,SourceMapGenerator:a}=Cz(),{fileURLToPath:s,pathToFileURL:l}=Az(),u=qy(),c=o6(),d=vz(),m=Symbol("lineToIndexCache"),h=!!(o&&a),b=!!(i&&n);function p(f){if(f[m])return f[m];let g=f.css.split(`
20
- `),x=new Array(g.length),k=0;for(let w=0,S=g.length;w<S;w++)x[w]=k,k+=g[w].length+1;return f[m]=x,x}var v=class{get from(){return this.file||this.id}constructor(f,g={}){if(f===null||typeof f>"u"||typeof f=="object"&&!f.toString)throw new Error(`PostCSS received ${f} instead of CSS string`);if(this.css=f.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,g.document&&(this.document=g.document.toString()),g.from&&(!b||/^\w+:\/\//.test(g.from)||n(g.from)?this.file=g.from:this.file=i(g.from)),b&&h){let x=new c(this.css,g);if(x.text){this.map=x;let k=x.consumer().file;!this.file&&k&&(this.file=this.mapResolve(k))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(f,g,x,k={}){let w,S,P,A,M;if(g&&typeof g=="object"){let q=g,ne=x;if(typeof q.offset=="number"){A=q.offset;let K=this.fromOffset(A);g=K.line,x=K.col}else g=q.line,x=q.column,A=this.fromLineAndColumn(g,x);if(typeof ne.offset=="number"){P=ne.offset;let K=this.fromOffset(P);S=K.line,w=K.col}else S=ne.line,w=ne.column,P=this.fromLineAndColumn(ne.line,ne.column)}else if(x)A=this.fromLineAndColumn(g,x);else{A=g;let q=this.fromOffset(A);g=q.line,x=q.col}let N=this.origin(g,x,S,w);return N?M=new u(f,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,k.plugin):M=new u(f,S===void 0?g:{column:x,line:g},S===void 0?x:{column:w,line:S},this.css,this.file,k.plugin),M.input={column:x,endColumn:w,endLine:S,endOffset:P,line:g,offset:A,source:this.css},this.file&&(l&&(M.input.url=l(this.file).toString()),M.input.file=this.file),M}fromLineAndColumn(f,g){return p(this)[f-1]+g-1}fromOffset(f){let g=p(this),x=g[g.length-1],k=0;if(f>=x)k=g.length-1;else{let w=g.length-2,S;for(;k<w;)if(S=k+(w-k>>1),f<g[S])w=S-1;else if(f>=g[S+1])k=S+1;else{k=S;break}}return{col:f-g[k]+1,line:k+1}}mapResolve(f){return/^\w+:\/\//.test(f)?f:i(this.map.consumer().sourceRoot||this.map.root||".",f)}origin(f,g,x,k){if(!this.map)return!1;let w=this.map.consumer(),S=w.originalPositionFor({column:g,line:f});if(!S.source)return!1;let P;typeof x=="number"&&(P=w.originalPositionFor({column:k,line:x}));let A;n(S.source)?A=l(S.source):A=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let M={column:S.column,endColumn:P&&P.column,endLine:P&&P.line,line:S.line,url:A.toString()};if(A.protocol==="file:")if(s)M.file=s(A);else throw new Error("file: protocol is not available in this PostCSS build");let N=w.sourceContentFor(S.source);return N&&(M.source=N),M}toJSON(){let f={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(f[g]=this[g]);return this.map&&(f.map={...this.map},f.map.consumerCache&&(f.map.consumerCache=void 0)),f}};t.exports=v,v.default=v,d&&d.registerInput&&d.registerInput(v)}),a6=Y((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=Sz(),{SourceMapConsumer:a,SourceMapGenerator:s}=Cz(),{pathToFileURL:l}=Az(),u=Yy(),c=!!(a&&s),d=!!(r&&i&&n&&o),m=class{constructor(h,b,p,v){this.stringify=h,this.mapOpts=p.map||{},this.root=b,this.opts=p,this.css=v,this.originalCSS=v,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 h;for(let b=this.root.nodes.length-1;b>=0;b--)h=this.root.nodes[b],h.type==="comment"&&h.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(b)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let h="";return this.stringify(this.root,b=>{h+=b}),[h]}}};t.exports=m}),hm=Y((e,t)=>{"use strict";var r=Sn(),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)}),zz=Y((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
21
- `," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",m=!1;for(let h of n)m?m=!1:h==="\\"?m=!0:c?h===d&&(c=!1):h==='"'||h==="'"?(c=!0,d=h):h==="("?u+=1:h===")"?u>0&&(u-=1):u===0&&i.includes(h)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=h;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),Nz=Y((e,t)=>{"use strict";var r=Sn(),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)}),s6=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,m,h,b,p,v,f,g,x,k=l.length,w=0,S=[],P=[];function A(){return w}function M(K){throw a.error("Unclosed "+K,w)}function N(){return P.length===0&&w>=k}function q(K){if(P.length)return P.pop();if(w>=k)return;let de=K?K.ignoreUnclosed:!1;switch(c=l.charCodeAt(w),c){case 10:case 32:case 9:case 13:case 12:{h=w;do h+=1,c=l.charCodeAt(h);while(c===32||c===10||c===9||c===13||c===12);p=["space",l.slice(w,h)],w=h-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);p=[oe,oe,w];break}case 40:{if(x=S.length?S.pop()[1]:"",g=l.charCodeAt(w+1),x==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){h=w;do{if(v=!1,h=l.indexOf(")",h+1),h===-1)if(u||de){h=w;break}else M("bracket");for(f=h;l.charCodeAt(f-1)===92;)f-=1,v=!v}while(v);p=["brackets",l.slice(w,h+1),w,h],w=h}else h=l.indexOf(")",w+1),d=l.slice(w,h+1),h===-1||i.test(d)?p=["(","(",w]:(p=["brackets",d,w,h],w=h);break}case 39:case 34:{b=c===39?"'":'"',h=w;do{if(v=!1,h=l.indexOf(b,h+1),h===-1)if(u||de){h=w+1;break}else M("string");for(f=h;l.charCodeAt(f-1)===92;)f-=1,v=!v}while(v);p=["string",l.slice(w,h+1),w,h],w=h;break}case 64:{r.lastIndex=w+1,r.test(l),r.lastIndex===0?h=l.length-1:h=r.lastIndex-2,p=["at-word",l.slice(w,h+1),w,h],w=h;break}case 92:{for(h=w,m=!0;l.charCodeAt(h+1)===92;)h+=1,m=!m;if(c=l.charCodeAt(h+1),m&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(h+=1,o.test(l.charAt(h)))){for(;o.test(l.charAt(h+1));)h+=1;l.charCodeAt(h+1)===32&&(h+=1)}p=["word",l.slice(w,h+1),w,h],w=h;break}default:{c===47&&l.charCodeAt(w+1)===42?(h=l.indexOf("*/",w+2)+1,h===0&&(u||de?h=l.length:M("comment")),p=["comment",l.slice(w,h+1),w,h],w=h):(n.lastIndex=w+1,n.test(l),n.lastIndex===0?h=l.length-1:h=n.lastIndex-2,p=["word",l.slice(w,h+1),w,h],S.push(p),w=h);break}}return w++,p}function ne(K){P.push(K)}return{back:ne,endOfFile:N,nextToken:q,position:A}}}),l6=Y((e,t)=>{"use strict";var r=xz(),n=_y(),i=Vy(),o=hm(),a=Nz(),s=s6(),l={empty:!0,space:!0};function u(d){for(let m=d.length-1;m>=0;m--){let h=d[m],b=h[3]||h[2];if(b)return b}}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 m=new r;m.name=d[1].slice(1),m.name===""&&this.unnamedAtrule(m,d),this.init(m,d[2]);let h,b,p,v=!1,f=!1,g=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),h=d[0],h==="("||h==="["?x.push(h==="("?")":"]"):h==="{"&&x.length>0?x.push("}"):h===x[x.length-1]&&x.pop(),x.length===0)if(h===";"){m.source.end=this.getPosition(d[2]),m.source.end.offset++,this.semicolon=!0;break}else if(h==="{"){f=!0;break}else if(h==="}"){if(g.length>0){for(p=g.length-1,b=g[p];b&&b[0]==="space";)b=g[--p];b&&(m.source.end=this.getPosition(b[3]||b[2]),m.source.end.offset++)}this.end(d);break}else g.push(d);else g.push(d);if(this.tokenizer.endOfFile()){v=!0;break}}m.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(m.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(m,"params",g),v&&(d=g[g.length-1],m.source.end=this.getPosition(d[3]||d[2]),m.source.end.offset++,this.spaces=m.raws.between,m.raws.between="")):(m.raws.afterName="",m.params=""),f&&(m.nodes=[],this.current=m)}checkMissedSemicolon(d){let m=this.colon(d);if(m===!1)return;let h=0,b;for(let p=m-1;p>=0&&(b=d[p],!(b[0]!=="space"&&(h+=1,h===2)));p--);throw this.input.error("Missed semicolon",b[0]==="word"?b[3]+1:b[2])}colon(d){let m=0,h,b,p;for(let[v,f]of d.entries()){if(b=f,p=b[0],p==="("&&(m+=1),p===")"&&(m-=1),m===0&&p===":")if(!h)this.doubleColon(b);else{if(h[0]==="word"&&h[1]==="progid")continue;return v}h=b}return!1}comment(d){let m=new n;this.init(m,d[2]),m.source.end=this.getPosition(d[3]||d[2]),m.source.end.offset++;let h=d[1].slice(2,-2);if(/^\s*$/.test(h))m.text="",m.raws.left=h,m.raws.right="";else{let b=h.match(/^(\s*)([^]*\S)(\s*)$/);m.text=b[2],m.raws.left=b[1],m.raws.right=b[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,m){let h=new i;this.init(h,d[0][2]);let b=d[d.length-1];for(b[0]===";"&&(this.semicolon=!0,d.pop()),h.source.end=this.getPosition(b[3]||b[2]||u(d)),h.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),h.raws.before+=d.shift()[1];for(h.source.start=this.getPosition(d[0][2]),h.prop="";d.length;){let g=d[0][0];if(g===":"||g==="space"||g==="comment")break;h.prop+=d.shift()[1]}h.raws.between="";let p;for(;d.length;)if(p=d.shift(),p[0]===":"){h.raws.between+=p[1];break}else p[0]==="word"&&/\w/.test(p[1])&&this.unknownWord([p]),h.raws.between+=p[1];(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.prop.slice(1));let v=[],f;for(;d.length&&(f=d[0][0],!(f!=="space"&&f!=="comment"));)v.push(d.shift());this.precheckMissedSemicolon(d);for(let g=d.length-1;g>=0;g--){if(p=d[g],p[1].toLowerCase()==="!important"){h.important=!0;let x=this.stringFrom(d,g);x=this.spacesFromEnd(d)+x,x!==" !important"&&(h.raws.important=x);break}else if(p[1].toLowerCase()==="important"){let x=d.slice(0),k="";for(let w=g;w>0;w--){let S=x[w][0];if(k.trim().startsWith("!")&&S!=="space")break;k=x.pop()[1]+k}k.trim().startsWith("!")&&(h.important=!0,h.raws.important=k,d=x)}if(p[0]!=="space"&&p[0]!=="comment")break}d.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(h.raws.between+=v.map(g=>g[1]).join(""),v=[]),this.raw(h,"value",v.concat(d),m),h.value.includes(":")&&!m&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let m=new a;this.init(m,d[2]),m.selector="",m.raws.between="",this.current=m}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 m=this.current.nodes[this.current.nodes.length-1];m&&m.type==="rule"&&!m.raws.ownSemicolon&&(m.raws.ownSemicolon=this.spaces,this.spaces="",m.source.end=this.getPosition(d[2]),m.source.end.offset+=m.raws.ownSemicolon.length)}}getPosition(d){let m=this.input.fromOffset(d);return{column:m.col,line:m.line,offset:d}}init(d,m){this.current.push(d),d.source={input:this.input,start:this.getPosition(m)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let m=!1,h=null,b=!1,p=null,v=[],f=d[1].startsWith("--"),g=[],x=d;for(;x;){if(h=x[0],g.push(x),h==="("||h==="[")p||(p=x),v.push(h==="("?")":"]");else if(f&&b&&h==="{")p||(p=x),v.push("}");else if(v.length===0)if(h===";")if(b){this.decl(g,f);return}else break;else if(h==="{"){this.rule(g);return}else if(h==="}"){this.tokenizer.back(g.pop()),m=!0;break}else h===":"&&(b=!0);else h===v[v.length-1]&&(v.pop(),v.length===0&&(p=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(m=!0),v.length>0&&this.unclosedBracket(p),m&&b){if(!f)for(;g.length&&(x=g[g.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,f)}else this.unknownWord(g)}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,m,h,b){let p,v,f=h.length,g="",x=!0,k,w;for(let S=0;S<f;S+=1)p=h[S],v=p[0],v==="space"&&S===f-1&&!b?x=!1:v==="comment"?(w=h[S-1]?h[S-1][0]:"empty",k=h[S+1]?h[S+1][0]:"empty",!l[w]&&!l[k]?g.slice(-1)===","?x=!1:g+=p[1]:x=!1):g+=p[1];if(!x){let S=h.reduce((P,A)=>P+A[1],"");d.raws[m]={raw:S,value:g}}d[m]=g}rule(d){d.pop();let m=new a;this.init(m,d[0][2]),m.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(m,"selector",d),this.current=m}spacesAndCommentsFromEnd(d){let m,h="";for(;d.length&&(m=d[d.length-1][0],!(m!=="space"&&m!=="comment"));)h=d.pop()[1]+h;return h}spacesAndCommentsFromStart(d){let m,h="";for(;d.length&&(m=d[0][0],!(m!=="space"&&m!=="comment"));)h+=d.shift()[1];return h}spacesFromEnd(d){let m,h="";for(;d.length&&(m=d[d.length-1][0],m==="space");)h=d.pop()[1]+h;return h}stringFrom(d,m){let h="";for(let b=m;b<d.length;b++)h+=d[b][1];return d.splice(m,d.length-m),h}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,m){throw this.input.error("At-rule without name",{offset:m[2]},{offset:m[2]+m[1].length})}};t.exports=c}),Pz=Y((e,t)=>{"use strict";var r=Sn(),n=Yy(),i=l6();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)}),Ez=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}),Oz=Y((e,t)=>{"use strict";var r=Ez(),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}),u6=Y(()=>{}),Iz=Y((e,t)=>{"use strict";var r=Sn(),n=Qy(),i=a6(),o=Pz(),a=Oz(),s=hm(),l=Wy(),{isClean:u,my:c}=Uy(),d=u6();function m(p){return p[u]=!1,p.nodes&&p.nodes.forEach(v=>m(v)),p}var h={},b=class jz{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(v,f,g){this.stringified=!1,this.processed=!1;let x;if(typeof f=="object"&&f!==null&&(f.type==="root"||f.type==="document"))x=m(f);else if(f instanceof jz||f instanceof a)x=m(f.root),f.map&&(typeof g.map>"u"&&(g.map={}),g.map.inline||(g.map.inline=!1),g.map.prev=f.map);else{let k=o;g.syntax&&(k=g.syntax.parse),g.parser&&(k=g.parser),k.parse&&(k=k.parse);try{x=k(f,g)}catch(w){this.processed=!0,this.error=w}x&&!x[c]&&r.rebuild(x)}this.result=new a(v,x,g),this.helpers={...h,postcss:h,result:this.result},this.plugins=this.processor.plugins.map(k=>typeof k=="object"&&k.prepare?{...k,...k.prepare(this.result)}:k)}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 v=this.result.opts,f=l;v.syntax&&(f=v.syntax.stringify),v.stringifier&&(f=v.stringifier),f.stringify&&(f=f.stringify);let g=new i(f,this.result.root,this.result.opts).generate();return this.result.css=g[0],this.result.map=g[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()}};b.registerPostcss=p=>{h=p},t.exports=b,b.default=b,s.registerLazyResult(b),n.registerLazyResult(b)}),c6=Y((e,t)=>{var r=class{};t.exports=r}),d6=Y((e,t)=>{"use strict";var r=Qy(),n=Iz(),i=c6(),o=hm(),a=class{constructor(s=[]){this.version="8.5.6",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)}),p6=Y((e,t)=>{"use strict";var r=xz(),n=_y(),i=Sn(),o=qy(),a=Vy(),s=Qy(),l=n6(),u=Yy(),c=Iz(),d=zz(),m=mm(),h=Pz(),b=d6(),p=Oz(),v=hm(),f=Nz(),g=Wy(),x=Ez();function k(...w){return w.length===1&&Array.isArray(w[0])&&(w=w[0]),new b(w)}k.stringify=g,k.parse=h,k.fromJSON=l,k.list=d,k.comment=w=>new n(w),k.atRule=w=>new r(w),k.decl=w=>new a(w),k.rule=w=>new f(w),k.root=w=>new v(w),k.document=w=>new s(w),k.CssSyntaxError=o,k.Declaration=a,k.Container=i,k.Processor=b,k.Document=s,k.Comment=n,k.Warning=x,k.AtRule=r,k.Result=p,k.Input=u,k.Rule=f,k.Root=v,k.Node=m,c.registerPostcss(k),t.exports=k,k.default=k}),uh,zi,Tz,Uc=y(()=>{uh=re(p6(),1),zi=uh.default,Tz=uh.default.Node}),Lz={};z(Lz,{default:()=>Dz});var co,ch,nx,po,Dz,m6=y(()=>{Uc(),B(),Bi(),rt(),H(),I(),T(),D(),co="at-rule-no-deprecated",ch=j(co,{rejected:e=>`Unexpected deprecated at-rule "${e}"`}),nx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},po=(e,t)=>(r,n)=>{L(n,co,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!tt(i))return;let{name:o}=i,a=o.toLowerCase();if(R(t,"ignoreAtRules",o)||!Ib.has(a))return;let s=a==="nest"?()=>{let u=zi.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;E({message:ch.rejected,messageArgs:[l],node:i,ruleName:co,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},po.ruleName=co,po.messages=ch,po.meta=nx,Dz=po}),Ke,Et=y(()=>{Ke={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),Fz={};z(Fz,{default:()=>Mz});var mo,dh,ix,ho,Mz,h6=y(()=>{B(),Bi(),rt(),H(),I(),T(),D(),Et(),mo="at-rule-no-unknown",dh=j(mo,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),ix={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},ho=(e,t)=>(r,n)=>{var a,s,l;if(!L(n,mo,{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(!tt(u))return;let c=u.name;if(o.has(c)||R(t,"ignoreAtRules",u.name)||Ke.prefix(c)||CA.has(c.toLowerCase()))return;let d=`@${c}`;E({message:dh.rejected,messageArgs:[d],node:u,ruleName:mo,result:n,word:d})})},ho.ruleName=mo,ho.messages=dh,ho.meta=ix,Mz=ho}),ox,ax,sx,lx,yr,_c=y(()=>{Et(),ox=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),ax=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"]),sx=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"]),lx=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"]),yr={atRuleName(e){return ox.has(`@${e.toLowerCase()}`)},selector(e){return ax.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Ke.prefix(t).length===0?!1:sx.has(Ke.unprefixed(t))},propertyValue(e){return lx.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),Rz={};z(Rz,{default:()=>$z});var fo,ph,ux,go,$z,f6=y(()=>{B(),_c(),rt(),H(),I(),T(),D(),fo="at-rule-no-vendor-prefix",ph=j(fo,{rejected:e=>`Unexpected vendor-prefixed at-rule "${e}"`}),ux={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},go=(e,t)=>(r,n)=>{L(n,fo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!tt(i))return;let o=i.name;if(R(t,"ignoreAtRules",o)||!o.startsWith("-")||!yr.atRuleName(o))return;let a=()=>{i.name=yr.unprefix(i.name)},s=`@${o}`;E({message:ph.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:fo,fix:{apply:a,node:i}})})},go.ruleName=fo,go.messages=ph,go.meta=ux,$z=go}),Bz={};z(Bz,{default:()=>qz});var bo,mh,cx,vo,qz,g6=y(()=>{B(),rt(),Z(),H(),I(),T(),D(),bo="at-rule-prelude-no-invalid",mh=j(bo,{rejected:(e,t)=>`Unexpected invalid prelude "${t}" for at-rule "${e}"`}),cx={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},vo=(e,t)=>(r,n)=>{if(!L(n,bo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!tt(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=Ie(o),d=c+s.length;E({message:mh.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:bo,result:n})})},vo.ruleName=bo,vo.messages=mh,vo.meta=cx,qz=vo});function b6(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 v6=y(()=>{});function Yt(...e){return t=>vr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var ur=y(()=>{B()}),Wz={};z(Wz,{default:()=>Uz});var yo,hh,dx,wo,Uz,y6=y(()=>{v6(),rt(),B(),I(),T(),ur(),D(),yo="at-rule-property-required-list",hh=j(yo,{expected:(e,t)=>`Expected property (or descriptor) "${t}" for at-rule "${e}"`}),dx={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},wo=e=>(t,r)=>{if(!L(r,yo,{actual:e,possible:[Yt($)]}))return;let n=b6(e),i=new Set;t.walkAtRules(o=>{if(!tt(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}`;E({message:hh.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:yo})}}})},wo.ruleName=yo,wo.messages=hh,wo.meta=dx,Uz=wo});function _z(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),ct(e))r+=e.selector;else if(De(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var Vz=y(()=>{ge()});function Qz(e,t=Vc){if(!e)return e;let[r]=e.split(/\s/,1);return Mi(r),r.replace(t,"")}function gi(e,t=Vc){let r=$(e)?e:Vr(e)?e.text:void 0;if(!r)return!1;let n=Qz(r,t);return n!==void 0&&Yz.has(n)}function w6(e,t=Vc){return`${t}${e}`}var Tp,Lp,Dp,Fp,Yz,Vc,Qc=y(()=>{B(),ge(),Tp="-disable",Lp="-disable-line",Dp="-disable-next-line",Fp="-enable",Yz=new Set([Tp,Lp,Dp,Fp]),Vc="stylelint"}),Gz={};z(Gz,{default:()=>Kz});var ko,fh,px,xo,Kz,k6=y(()=>{Vz(),cm(),ge(),Qc(),H(),I(),T(),D(),ko="block-no-empty",fh=j(ko,{rejected:"Unexpected empty block"}),px={url:"https://stylelint.io/user-guide/rules/block-no-empty"},xo=(e,t,r)=>(n,i)=>{if(!L(i,ko,{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(!kc(u)||s(u)||l(u))return;let c=_z(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,E({message:fh.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:ko})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Vr(d)&&(o||gi(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},xo.ruleName=ko,xo.messages=fh,xo.meta=px,Kz=xo});function fm(e){return!(om(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var gm=y(()=>{am()});function me(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!fm(e.selector))}var he=y(()=>{gm()}),Jz={};z(Jz,{default:()=>Hz});var So,gh,mx,Co,Hz,x6=y(()=>{ge(),he(),I(),T(),D(),So="block-no-redundant-nested-style-rules",gh=j(So,{rejected:"Unexpected redundant nested style rule"}),mx={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Co=e=>(t,r)=>{L(r,So,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!me(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(sr(i)||E({message:gh.rejected,messageArgs:[],node:n,result:r,ruleName:So}))})},Co.ruleName=So,Co.messages=gh,Co.meta=mx,Hz=Co});function Yc(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var Gc=y(()=>{});function Gy(e){if(!Yc(e))return!1;for(let t of e.nodes){if(t.type==="function")return Gy(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var Xz=y(()=>{Gc()}),Zz={};z(Zz,{default:()=>eN});var hx,Ao,bh,fx,zo,eN,S6=y(()=>{hx=re(fe(),1),Ir(),Z(),Ge(),Xz(),ge(),V(),I(),T(),Bt(),D(),Ao="color-function-alias-notation",bh=j(Ao,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fx={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},zo=e=>(t,r)=>{if(!L(r,Ao,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?G.withoutAlphaAliasColorFunction:G.withAlphaAliasColorFunction,i=e==="with-alpha"?Pp:vc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,hx.default)(Ye(o));a.walk(s=>{if(!kn(s)||!Gy(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,$t(o,a.toString())},m=ae(o)+u,h=m+l.length;E({message:bh.expected,messageArgs:[l,c],node:o,index:m,endIndex:h,result:r,ruleName:Ao,fix:{apply:d,node:o}})})})},zo.ruleName=Ao,zo.messages=bh,zo.meta=fx,eN=zo});function Wi(e){return kn(e)&&e.value.toLowerCase()==="var"}var Kc=y(()=>{ge()}),tN={};z(tN,{default:()=>nN});function vh(e){return e!==""?e:" "}function C6(e){return e.some(t=>Wi(t))}function rN(e){return e.type==="div"&&e.value===","}function gx(e){let t=0;for(let r of e)if(rN(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var bx,No,yh,vx,Po,nN,A6=y(()=>{bx=re(fe(),1),Ir(),Z(),Ge(),Xz(),ge(),Kc(),V(),H(),I(),T(),Bt(),D(),No="color-function-notation",yh=j(No,{expected:e=>`Expected ${e} color-function notation`}),vx={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Po=(e,t)=>(r,n)=>{if(!L(n,No,{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(!G.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,bx.default)(Ye(o));a.walk(s=>{if(!kn(s)||!Gy(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&C6(d)||!jy.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!gx(d)||e==="legacy"&&gx(d))return;let m=()=>{let v=0;s.nodes=d.map(f=>(rN(f)&&(v<2?(f.type="space",f.value=vh(f.after),v++):(f.value="/",f.before=vh(f.before),f.after=vh(f.after))),f)),vc.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),$t(o,a.toString())},h=ae(o)+u,b=h+(c-u),p=e==="modern"?m:void 0;E({message:yh.expected,messageArgs:[e],node:o,index:h,endIndex:b,result:n,ruleName:No,fix:{apply:p,node:o}})})})},Po.ruleName=No,Po.messages=yh,Po.meta=vx,nN=Po});function iN(e){return oN.test(e)}var oN,aN=y(()=>{oN=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function sN({type:e,value:t}){return e==="word"&&iN(t)}var lN=y(()=>{aN()});function Jc(e){return kn(e)&&e.value.toLowerCase()==="url"}var Hc=y(()=>{ge()}),uN={};z(uN,{default:()=>cN});function yx(e){return e.length===5||e.length===9}var wx,Eo,md,kx,Oo,cN,z6=y(()=>{wx=re(fe(),1),Z(),lN(),Hc(),V(),I(),T(),D(),Eo="color-hex-alpha",md=j(Eo,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Unexpected alpha channel in "${e}"`}),kx={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Oo=e=>(t,r)=>{L(r,Eo,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{G.validHex.test(n.value)&&(0,wx.default)(n.value).walk(i=>{if(Jc(i))return!1;if(!sN(i))return;let{value:o}=i;if(e==="always"&&yx(o)||e==="never"&&!yx(o))return;let a=ae(n)+i.sourceIndex,s=a+o.length;E({message:e==="never"?md.rejected:md.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:Eo})})})},Oo.ruleName=Eo,Oo.messages=md,Oo.meta=kx,cN=Oo}),dN={};z(dN,{default:()=>pN});function N6(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 P6(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function E6(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var xx,Io,wh,Sx,jo,pN,O6=y(()=>{xx=re(fe(),1),Z(),Ge(),lN(),Hc(),V(),I(),T(),Bt(),D(),Io="color-hex-length",wh=j(Io,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Sx={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},jo=e=>(t,r)=>{L(r,Io,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!G.hexColor.test(n.value))return;let i=(0,xx.default)(Ye(n));i.walk(o=>{let{value:a}=o;if(Jc(o))return!1;if(!sN(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!N6(a)))return;let s=(e==="long"?E6:P6)(a),l=()=>{o.value=s,$t(n,i.toString())},u=ae(n)+o.sourceIndex,c=u+o.value.length;E({message:wh.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Io,fix:{apply:l,node:n}})})})},jo.ruleName=Io,jo.messages=wh,jo.meta=Sx,pN=jo}),Cx,dr,Xe,jt,kh,xh,hd,Ax,To,Sh,Ch,Ah,zh,Nh,On,zx,Nx,Px,Ex,fd,Ph,Ox,gd,bd,Eh,vd,Zt,Oh,mN,I6=y(()=>{Cx={grad:.9,turn:360,rad:360/(2*Math.PI)},dr=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},jt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},kh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},xh=function(e){return{r:jt(e.r,0,255),g:jt(e.g,0,255),b:jt(e.b,0,255),a:jt(e.a)}},hd=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},Ax=/^#([0-9a-f]{3,8})$/i,To=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Sh=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}},Ch=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}},Ah=function(e){return{h:kh(e.h),s:jt(e.s,0,100),l:jt(e.l,0,100),a:jt(e.a)}},zh=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},Nh=function(e){return Ch((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},On=function(e){return{h:(t=Sh(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},zx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Nx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Px=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ex=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,fd={string:[[function(e){var t=Ax.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=Px.exec(e)||Ex.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:xh({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=zx.exec(e)||Nx.exec(e);if(!t)return null;var r,n,i=Ah({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Cx[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Nh(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 dr(t)&&dr(r)&&dr(n)?xh({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(!dr(t)||!dr(r)||!dr(n))return null;var a=Ah({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return Nh(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!dr(t)||!dr(r)||!dr(n))return null;var a=(function(s){return{h:kh(s.h),s:jt(s.s,0,100),v:jt(s.v,0,100),a:jt(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return Ch(a)},"hsv"]]},Ph=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]},Ox=function(e){return typeof e=="string"?Ph(e.trim(),fd.string):typeof e=="object"&&e!==null?Ph(e,fd.object):[null,void 0]},gd=function(e,t){var r=On(e);return{h:r.h,s:jt(r.s+100*t,0,100),l:r.l,a:r.a}},bd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Eh=function(e,t){var r=On(e);return{h:r.h,s:r.s,l:jt(r.l+100*t,0,100),a:r.a}},vd=(function(){function e(t){this.parsed=Ox(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(bd(this.rgba),2)},e.prototype.isDark=function(){return bd(this.rgba)<.5},e.prototype.isLight=function(){return bd(this.rgba)>=.5},e.prototype.toHex=function(){return t=hd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?To(Xe(255*o)):"","#"+To(r)+To(n)+To(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return hd(this.rgba)},e.prototype.toRgbString=function(){return t=hd(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 zh(On(this.rgba))},e.prototype.toHslString=function(){return t=zh(On(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=Sh(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 Zt({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),Zt(gd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Zt(gd(this.rgba,-t))},e.prototype.grayscale=function(){return Zt(gd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Zt(Eh(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Zt(Eh(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"?Zt({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=On(this.rgba);return typeof t=="number"?Zt({h:t,s:r.s,l:r.l,a:r.a}):Xe(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Zt(t).toHex()},e})(),Zt=function(e){return e instanceof vd?e:new vd(e)},Oh=[],mN=function(e){e.forEach(function(t){Oh.indexOf(t)<0&&(t(vd,fd),Oh.push(t))})}});function j6(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,m="black";if(!o.length)for(var h in r)o[h]=new e(r[h]).toRgb();for(var b in r){var p=(s=c,l=o[b],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));p<d&&(d=p,m=b)}return m}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var T6=y(()=>{});function L6(e,t){e.prototype.toHwb=function(){return Ub(_b(this.rgba))},e.prototype.toHwbString=function(){return r=Ub(_b(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([fN,"hwb"]),t.object.push([hN,"hwb"])}var Ix,yd,Lo,wd,Ih,Ub,_b,jh,hN,jx,fN,D6=y(()=>{Ix={grad:.9,turn:360,rad:360/(2*Math.PI)},yd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Lo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},wd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Ih=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:wd(e.w,0,100),b:wd(e.b,0,100),a:wd(e.a)};var t},Ub=function(e){return{h:Lo(e.h),w:Lo(e.w),b:Lo(e.b),a:Lo(e.a,3)}},_b=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}},jh=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})},hN=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!yd(t)||!yd(r)||!yd(n))return null;var a=Ih({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return jh(a)},jx=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,fN=function(e){var t=jx.exec(e);if(!t)return null;var r,n,i=Ih({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Ix[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return jh(i)}});function F6(e,t){e.prototype.toLab=function(){return n=gN(this.rgba),o=n.y/ap,a=n.z/sp,i=(i=n.x/op)>bi?Math.cbrt(i):(mn*i+16)/116,r={l:116*(o=o>bi?Math.cbrt(o):(mn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>bi?Math.cbrt(a):(mn*a+16)/116)),alpha:n.a},{l:oi(r.l,2),a:oi(r.a,2),b:oi(r.b,2),alpha:oi(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,m=a.b,h=180/Math.PI,b=Math.PI/180,p=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),v=Math.pow(Math.pow(d,2)+Math.pow(m,2),.5),f=(s+c)/2,g=Math.pow((p+v)/2,7),x=.5*(1-Math.pow(g/(g+Math.pow(25,7)),.5)),k=l*(1+x),w=d*(1+x),S=Math.pow(Math.pow(k,2)+Math.pow(u,2),.5),P=Math.pow(Math.pow(w,2)+Math.pow(m,2),.5),A=(S+P)/2,M=k===0&&u===0?0:Math.atan2(u,k)*h,N=w===0&&m===0?0:Math.atan2(m,w)*h;M<0&&(M+=360),N<0&&(N+=360);var q=N-M,ne=Math.abs(N-M);ne>180&&N<=M?q+=360:ne>180&&N>M&&(q-=360);var K=M+N;ne<=180?K/=2:K=(M+N<360?K+360:K-360)/2;var de=1-.17*Math.cos(b*(K-30))+.24*Math.cos(2*b*K)+.32*Math.cos(b*(3*K+6))-.2*Math.cos(b*(4*K-63)),oe=c-s,se=P-S,$e=2*Math.sin(b*q/2)*Math.pow(S*P,.5),qe=1+.015*Math.pow(f-50,2)/Math.pow(20+Math.pow(f-50,2),.5),pt=1+.045*A,He=1+.015*A*de,Q=30*Math.exp(-1*Math.pow((K-275)/25,2)),J=-2*Math.pow(g/(g+Math.pow(25,7)),.5)*Math.sin(2*b*Q);return Math.pow(Math.pow(oe/1/qe,2)+Math.pow(se/1/pt,2)+Math.pow($e/1/He,2)+J*se*$e/(1*pt*1*He),.5)})(this.toLab(),n.toLab())/100;return Wt(oi(i,3))},t.object.push([bN,"lab"])}var kd,oi,Wt,xd,Sd,op,ap,sp,Tx,gN,bi,mn,bN,Lx,M6=y(()=>{kd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},oi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Wt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},xd=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Sd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},op=96.422,ap=100,sp=82.521,Tx=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:Sd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Sd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Sd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Wt(r.r,0,255),g:Wt(r.g,0,255),b:Wt(r.b,0,255),a:Wt(r.a)}},gN=function(e){var t=xd(e.r),r=xd(e.g),n=xd(e.b);return(function(i){return{x:Wt(i.x,0,op),y:Wt(i.y,0,ap),z:Wt(i.z,0,sp),a:Wt(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}))},bi=216/24389,mn=24389/27,bN=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!kd(t)||!kd(r)||!kd(n))return null;var a=(function(s){return{l:Wt(s.l,0,400),a:s.a,b:s.b,alpha:Wt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return Lx(a)},Lx=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return Tx({x:(Math.pow(r,3)>bi?Math.pow(r,3):(116*r-16)/mn)*op,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/mn)*ap,z:(Math.pow(n,3)>bi?Math.pow(n,3):(116*n-16)/mn)*sp,a:e.alpha})}});function R6(e,t){e.prototype.toLch=function(){return Vb(Qb(this.rgba))},e.prototype.toLchString=function(){return r=Vb(Qb(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([yN,"lch"]),t.object.push([vN,"lch"])}var Dx,Cd,rn,pr,Ad,zd,Nd,Pd,Ed,Fx,Mx,In,nn,Th,Vb,vN,Qb,Lh,Rx,yN,$6=y(()=>{Dx={grad:.9,turn:360,rad:360/(2*Math.PI)},Cd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},rn=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},pr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Ad=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},zd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},Nd=96.422,Pd=100,Ed=82.521,Fx=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:zd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:zd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:zd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:pr(r.r,0,255),g:pr(r.g,0,255),b:pr(r.b,0,255),a:pr(r.a)}},Mx=function(e){var t=Ad(e.r),r=Ad(e.g),n=Ad(e.b);return(function(i){return{x:pr(i.x,0,Nd),y:pr(i.y,0,Pd),z:pr(i.z,0,Ed),a:pr(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}))},In=216/24389,nn=24389/27,Th=function(e){return{l:pr(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},Vb=function(e){return{l:rn(e.l,2),c:rn(e.c,2),h:rn(e.h,2),a:rn(e.a,3)}},vN=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!Cd(t)||!Cd(r)||!Cd(n))return null;var a=Th({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return Lh(a)},Qb=function(e){var t=(function(o){var a=Mx(o),s=a.x/Nd,l=a.y/Pd,u=a.z/Ed;return s=s>In?Math.cbrt(s):(nn*s+16)/116,{l:116*(l=l>In?Math.cbrt(l):(nn*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>In?Math.cbrt(u):(nn*u+16)/116)),alpha:a.a}})(e),r=rn(t.a,3),n=rn(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}},Lh=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,Fx({x:(Math.pow(n,3)>In?Math.pow(n,3):(116*n-16)/nn)*Nd,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/nn)*Pd,z:(Math.pow(i,3)>In?Math.pow(i,3):(116*i-16)/nn)*Ed,a:t.alpha});var t,r,n,i},Rx=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,yN=function(e){var t=Rx.exec(e);if(!t)return null;var r,n,i=Th({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(Dx[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Lh(i)}});function B6(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=bm(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function q6(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=Yb.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=Yb.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return bm(o).rgba}var Yb,bm,W6=y(()=>{I6(),Yb=re(fe(),1),T6(),D6(),M6(),$6(),mN([j6,L6,F6,R6,(e,t)=>{t.string.push([B6,"hwb-with-comma"])},(e,t)=>{t.string.push([q6,"gray"])}]),bm=Zt}),wN={};z(wN,{default:()=>kN});var Dh,Do,Od,$x,Bx,Fo,kN,U6=y(()=>{Dh=re(fe(),1),B(),en(),W6(),Z(),Gc(),We(),V(),Je(),H(),I(),T(),D(),Do="color-named",Od=j(Do,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Unexpected named color "${e}"`}),$x={url:"https://stylelint.io/user-guide/rules/color-named"},Bx=new Set(["word","function"]),Fo=(e,t)=>(r,n)=>{if(!L(n,Do,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(AA.has(o.prop)||R(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!G.namedColor.test(a)||e==="always-where-possible"&&!G.validHex.test(a)&&!G.colorFunction.test(a)&&!G.grayFunction.test(a)||(0,Dh.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(R(t,"ignore","inside-function")&&u==="function"||!Yc(s))return!1;if(!Be(l)||!Bx.has(u))return;if(e==="never"&&u==="word"&&wc.has(l.toLowerCase())){i(Od.rejected,[l],o,ae(o)+c,l.length);return}if(e!=="always-where-possible")return;let d=null,m=null;if(u==="function")d=Dh.default.stringify(s),m=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=m=l;else return;let h=bm(m);if(!h.isValid())return;let b=h.toName();b&&b.toLowerCase()!=="transparent"&&i(Od.expected,[m,b],o,ae(o)+c,d.length)})});function i(o,a,s,l,u){E({result:n,ruleName:Do,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Fo.ruleName=Do,Fo.messages=Od,Fo.meta=$x,kN=Fo}),xN={};z(xN,{default:()=>CN});function _6({type:e,value:t}){return e==="word"&&SN.test(t)}var qx,Mo,Fh,Wx,SN,Ro,CN,V6=y(()=>{qx=re(fe(),1),Z(),Ge(),Hc(),V(),I(),T(),D(),Mo="color-no-hex",Fh=j(Mo,{rejected:e=>`Unexpected hex color "${e}"`}),Wx={url:"https://stylelint.io/user-guide/rules/color-no-hex"},SN=/^#[\da-z]+$/i,Ro=e=>(t,r)=>{L(r,Mo,{actual:e})&&t.walkDecls(n=>{G.hexColor.test(n.value)&&(0,qx.default)(Ye(n)).walk(i=>{if(Jc(i))return!1;if(!_6(i))return;let o=ae(n)+i.sourceIndex,a=o+i.value.length;E({message:Fh.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Mo})})})},Ro.ruleName=Mo,Ro.messages=Fh,Ro.meta=Wx,CN=Ro});function Q6(e){return!e.includes("[")}var Y6=y(()=>{}),AN={};z(AN,{default:()=>zN});var Ux,$o,Mh,_x,Bo,zN,G6=y(()=>{Ux=re(fe(),1),Z(),Y6(),aN(),V(),I(),T(),D(),$o="color-no-invalid-hex",Mh=j($o,{rejected:e=>`Unexpected invalid hex color "${e}"`}),_x={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Bo=e=>(t,r)=>{L(r,$o,{actual:e})&&t.walkDecls(n=>{G.hexColor.test(n.value)&&Q6(n.value)&&(0,Ux.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||iN(l))return;let u=ae(n)+a,c=u+l.length;E({message:Mh.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:$o})})})},Bo.ruleName=$o,Bo.messages=Mh,Bo.meta=_x,zN=Bo});function xc(e){return!("inline"in e||"inline"in e.raws)}var vm=y(()=>{}),NN={};z(NN,{default:()=>PN});var qo,Id,Vx,Wo,PN,K6=y(()=>{B(),$c(),qc(),um(),Qc(),Wc(),pm(),By(),vm(),H(),I(),T(),D(),qo="comment-empty-line-before",Id=j(qo,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),Vx={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},Wo=(e,t,r)=>(n,i)=>{L(i,qo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(dm(o)||gi(o,r.configurationComment)&&R(t,"ignore","stylelint-commands")||R(t,"ignore","after-comment")&&Ai(o)||R(t,"ignoreComments",o.text)||$y(o)||!xc(o))return;let a=R(t,"except","first-nested")&&Er(o)?!1:e==="always",s=o.raws.before||"",l=Bc(s);if(a===l)return;let u=a?Id.expected:Id.rejected,c=a?"add":"remove";E({message:u,messageArgs:[],node:o,result:i,ruleName:qo,fix:{apply:()=>Rc({node:o,newline:r.newline,action:c}),node:o.parent}})})},Wo.ruleName=qo,Wo.messages=Id,Wo.meta=Vx,PN=Wo}),EN={};z(EN,{default:()=>ON});var Uo,Rh,Qx,_o,ON,J6=y(()=>{vm(),I(),T(),D(),Uo="comment-no-empty",Rh=j(Uo,{rejected:"Unexpected empty comment"}),Qx={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},_o=e=>(t,r)=>{L(r,Uo,{actual:e})&&t.walkComments(n=>{xc(n)&&(n.text&&n.text.length!==0||E({message:Rh.rejected,messageArgs:[],node:n,result:r,ruleName:Uo}))})},_o.ruleName=Uo,_o.messages=Rh,_o.meta=Qx,ON=_o}),IN={};z(IN,{default:()=>jN});var Vo,$h,Yx,Qo,jN,H6=y(()=>{B(),I(),T(),D(),Vo="comment-pattern",$h=j(Vo,{expected:e=>`Expected comment to match pattern "${e}"`}),Yx={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Qo=e=>(t,r)=>{if(!L(r,Vo,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||E({message:$h.expected,messageArgs:[e],node:i,result:r,ruleName:Vo})})},Qo.ruleName=Vo,Qo.messages=$h,Qo.meta=Yx,jN=Qo});function Gb(e){return[" ",`
22
- `," ","\r","\f"].includes(e)}var TN=y(()=>{}),LN={};z(LN,{default:()=>DN});function X6(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function Z6(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var Yo,on,Gx,Go,DN,eB=y(()=>{vm(),TN(),I(),T(),D(),Yo="comment-whitespace-inside",on=j(Yo,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),Gx={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},Go=e=>(t,r)=>{L(r,Yo,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var p,v;if(!xc(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=(p=a[2])!=null?p:"",c=u.charAt(0),d=(v=s[1])!=null?v:"",m=d.charAt(0),h=s[2];if(e==="never"&&c!==""){let f=l.length,g=f+u.length;b(on.rejectedOpening,f,g)}if(e==="always"&&!Gb(c)&&b(on.expectedOpening,l.length),e==="never"&&m!==""){let f=i.length-h.length,g=f-d.length;b(on.rejectedClosing,g,f)}e==="always"&&!Gb(m)&&b(on.expectedClosing,i.length-h.length-1);function b(f,g,x=g){E({message:f,messageArgs:[],index:g,endIndex:x,result:r,ruleName:Yo,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(f===on.expectedClosing?Z6:X6)(n)},node:n}})}})},Go.ruleName=Yo,Go.messages=on,Go.meta=Gx,DN=Go});function tB(e,t){if(!Array.isArray(t))return Kx(e,t);for(let r of t){let n=Kx(e,r);if(n)return n}return!1}function Kx(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var rB=y(()=>{B()}),FN={};z(FN,{default:()=>MN});var Ko,Bh,Jx,jn,MN,nB=y(()=>{B(),rB(),Fe(),I(),T(),D(),Ko="comment-word-disallowed-list",Bh=j(Ko,{rejected:e=>`Unexpected word matching pattern "${e}"`}),Jx={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},jn=e=>(t,r)=>{L(r,Ko,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Ee(i,e)||tB(i,e);o&&E({message:Bh.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:Ko})})},jn.primaryOptionArray=!0,jn.ruleName=Ko,jn.messages=Bh,jn.meta=Jx,MN=jn}),RN={};z(RN,{default:()=>$N});var qh,Jo,Wh,Hx,Xx,Ho,$N,iB=y(()=>{qh=re(fe(),1),Z(),V(),B(),Je(),rt(),gt(),We(),I(),T(),D(),Jo="container-name-pattern",Wh=j(Jo,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),Hx={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},Xx=new Set(["and","or","none","not"]),Ho=e=>(t,r)=>{var s,l,u,c;if(!L(r,Jo,{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([...je,...i]);t.walkDecls(jr.containerNameAndShorthandName,d=>{if(!ft(d))return;let m=(0,qh.default)(d.value),h=!1;m.walk(({sourceIndex:b,type:p,value:v})=>{if(!h){if(p==="div"&&v==="/"&&(h=!0),p!=="word")return!1;o.has(v.toLowerCase())||Be(v)&&(n.test(v)||a(ae(d)+b,v,d))}})}),t.walkAtRules(ke.containerName,d=>{if(!tt(d))return;let{params:m}=d;(0,qh.default)(m).walk(({sourceIndex:h,type:b,value:p})=>{if(b!=="word")return!1;Xx.has(p.toLowerCase())||n.test(p)||a(Ie(d)+h,p,d)})});function a(d,m,h){E({result:r,ruleName:Jo,message:Wh.expected,messageArgs:[m,e],node:h,index:d,endIndex:d+m.length})}},Ho.ruleName=Jo,Ho.messages=Wh,Ho.meta=Hx,$N=Ho}),BN={};z(BN,{default:()=>qN});var Xo,Uh,Zx,Zo,qN,oB=y(()=>{B(),Z(),V(),I(),T(),D(),Xo="custom-media-pattern",Uh=j(Xo,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),Zx={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},Zo=e=>(t,r)=>{if(!L(r,Xo,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(ke.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=Ie(i);E({message:Uh.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:Xo})})},Zo.ruleName=Xo,Zo.messages=Uh,Zo.meta=Zx,qN=Zo});function aB(e){var i;let t=Kb.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Kb.set(e,{result:n,before:r}),n}var Kb,sB=y(()=>{Kb=new WeakMap});function Ky(e){return kc(e)?aB(e).slice(_z(e).length):""}var Jy=y(()=>{Vz(),cm(),sB()});function WN(e){let t=e.prev();return t?ct(t)||De(t):!1}var UN=y(()=>{ge()});function yt(e){return e.startsWith("--")}var xr=y(()=>{});function ym(e){return!/[\n\r]/.test(e)}var wm=y(()=>{}),_N={};z(_N,{default:()=>VN});function e1(e){let t=Pr(e);return t!=null&&Ri(t)&&yt(t.prop)}var ea,jd,t1,ta,VN,lB=y(()=>{ge(),Jy(),$c(),xn(),qc(),UN(),um(),xr(),Wc(),wm(),gt(),H(),I(),T(),D(),ea="custom-property-empty-line-before",jd=j(ea,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),t1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},ta=(e,t,r)=>(n,i)=>{L(i,ea,{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(!ft(o)||!yt(a)||R(t,"ignore","after-comment")&&Ai(o)||R(t,"ignore","after-custom-property")&&e1(o)||R(t,"ignore","first-nested")&&Er(o)||R(t,"ignore","inside-single-line-block")&&s!=null&&(De(s)||ct(s))&&ym(Ky(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Er(o)||R(t,"except","after-block")&&WN(o)||R(t,"except","after-comment")&&Ai(o)||R(t,"except","after-custom-property")&&e1(o))&&(l=!l);let u=Bc(o.raws.before);if(l===u)return;let c=l?jd.expected:jd.rejected,d=l?"add":"remove";E({message:c,messageArgs:[],node:o,result:i,ruleName:ea,fix:{apply:()=>Rc({node:o,newline:r.newline,action:d}),node:o.parent}})})},ta.ruleName=ea,ta.messages=jd,ta.meta=t1,VN=ta}),QN={};z(QN,{default:()=>YN});function r1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var n1,ra,_h,i1,o1,na,YN,uB=y(()=>{n1=re(fe(),1),V(),Z(),Kc(),I(),T(),D(),ra="custom-property-no-missing-var-function",_h=j(ra,{rejected:e=>`Unexpected missing var function for "${e}"`}),i1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},o1=new Set(["animation","animation-name","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","transition","transition-property","view-transition-name","will-change"]),na=e=>(t,r)=>{if(!L(r,ra,{actual:e}))return;let n=new Set;t.walkAtRules(ke.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(jr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;G.customProperty.test(s)&&(o1.has(a.toLowerCase())||(0,n1.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[m]=o.nodes;if(m&&Wi(m))d=m.nodes.slice(1);else return}else if(c==="style"){let m=!1;o.nodes.forEach(h=>{h.type==="div"&&h.value===":"?m=!0:!m&&r1(h)||m&&i(h,a)});return}d.forEach(m=>i(m,a));return}if(!r1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ae(a)+o.sourceIndex,u=l+s.length;E({message:_h.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ra})}},na.ruleName=ra,na.messages=_h,na.meta=i1,YN=na});function Tr(e){return!(oz(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||om(e))}var Lr=y(()=>{am(),az()}),GN={};z(GN,{default:()=>KN});var a1,ia,Vh,s1,oa,KN,cB=y(()=>{a1=re(fe(),1),Z(),V(),B(),xr(),Lr(),Kc(),I(),T(),D(),ia="custom-property-pattern",Vh=j(ia,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),s1={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},oa=e=>(t,r)=>{if(!L(r,ia,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Tr(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;G.varFunction.test(l)&&(0,a1.default)(l).walk(u=>{if(!Wi(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ae(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(ke.propertyName,a=>{let{params:s}=a;i(s)||o(Ie(a),s,a)});function o(a,s,l){E({result:r,ruleName:ia,message:Vh.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},oa.ruleName=ia,oa.messages=Vh,oa.meta=s1,KN=oa});function dB(e){return ct(e)||De(e)||sr(e)}function km(e,t){function r(n){if(dB(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 xm=y(()=>{ge()}),JN={};z(JN,{default:()=>HN});var aa,Qh,l1,sa,HN,pB=y(()=>{B(),xm(),xr(),Lr(),H(),I(),T(),D(),aa="declaration-block-no-duplicate-custom-properties",Qh=j(aa,{rejected:e=>`Unexpected duplicate "${e}"`}),l1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},sa=(e,t)=>(r,n)=>{L(n,aa,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&km(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Tr(s)||!yt(s)||R(t,"ignoreProperties",s))){if(o.has(s)){E({message:Qh.rejected,messageArgs:[s],node:a,result:n,ruleName:aa,word:s});return}o.add(s)}})})},sa.ruleName=aa,sa.messages=Qh,sa.meta=l1,HN=sa}),rc=y(()=>{});function dt(e){return e>=48&&e<=57}function Jr(e){return dt(e)||e>=65&&e<=70||e>=97&&e<=102}function Hy(e){return e>=65&&e<=90}function mB(e){return e>=97&&e<=122}function hB(e){return Hy(e)||mB(e)}function fB(e){return e>=128}function Mp(e){return hB(e)||fB(e)||e===95}function XN(e){return Mp(e)||dt(e)||e===45}function gB(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Rp(e){return e===10||e===13||e===12}function bn(e){return Rp(e)||e===32||e===9}function hr(e,t){return!(e!==92||Rp(t)||t===0)}function lp(e,t,r){return e===45?Mp(t)||t===45||hr(t,r):Mp(e)?!0:e===92?hr(e,t):!1}function Yh(e,t,r){return e===43||e===45?dt(t)?2:t===46&&dt(r)?3:0:e===46?dt(t)?2:0:dt(e)?1:0}function ZN(e){return e===65279||e===65534?1:0}function Gh(e){return e<128?up[e]:$p}var up,u1,nc,Jb,$p,Hb,Bp=y(()=>{up=new Array(128),u1=128,nc=130,Jb=131,$p=132,Hb=133;for(let e=0;e<up.length;e++)up[e]=bn(e)&&nc||dt(e)&&Jb||Mp(e)&&$p||gB(e)&&Hb||e||u1});function vi(e,t){return t<e.length?e.charCodeAt(t):0}function Xb(e,t,r){return r===13&&vi(e,t+1)===10?2:1}function yi(e,t,r){let n=e.charCodeAt(t);return Hy(n)&&(n=n|32),n===r}function Sc(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(Hy(a)&&(a=a|32),a!==o)return!1}return!0}function bB(e,t){for(;t>=0&&bn(e.charCodeAt(t));t--);return t+1}function Td(e,t){for(;t<e.length&&bn(e.charCodeAt(t));t++);return t}function Kh(e,t){for(;t<e.length&&dt(e.charCodeAt(t));t++);return t}function Ni(e,t){if(t+=2,Jr(vi(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Jr(vi(e,t));t++);let r=vi(e,t);bn(r)&&(t+=Xb(e,t,r))}return t}function Ld(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!XN(r)){if(hr(r,vi(e,t+1))){t=Ni(e,t)-1;continue}break}}return t}function Sm(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),dt(r)&&(t=Kh(e,t+1),r=e.charCodeAt(t)),r===46&&dt(e.charCodeAt(t+1))&&(t+=2,t=Kh(e,t)),yi(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),dt(r)&&(t=Kh(e,t+1+n+1))}return t}function Jh(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}hr(r,vi(e,t+1))&&(t=Ni(e,t))}return t}function eP(e){if(e.length===1&&!Jr(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 Zb=y(()=>{Bp()}),Xy,tP=y(()=>{Xy=["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 qp(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var rP=y(()=>{});function c1(e){let t=e.source,r=t.length,n=t.length>0?ZN(t.charCodeAt(0)):0,i=qp(e.lines,r),o=qp(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===ev||u===tv||u===nP)&&(u===tv&&l+1<r&&t.charCodeAt(l+1)===ev&&(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 ev,nP,tv,iP,vB=y(()=>{rP(),Bp(),ev=10,nP=12,tv=13,iP=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||c1(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||c1(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 d1(e){return Br[e]!==0}var Ht,Xt,Br,oP,yB=y(()=>{rP(),Zb(),tP(),rc(),Ht=16777215,Xt=24,Br=new Uint8Array(32),Br[2]=22,Br[21]=22,Br[19]=20,Br[23]=24,oP=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=qp(this.offsetAndType,e.length+1),i=qp(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 m=o++;if(n[m]=u<<Xt|d,a===-1&&(a=c),i[m]=l,u===s){let h=i[l];i[l]=m,l=h,s=Br[n[h]>>Xt]}else d1(u)&&(l=m,s=Br[u])}),n[o]=0<<Xt|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]>>Xt:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Xt;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Ht:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Xt;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Sc(this.source,this.offsetAndType[e-1]&Ht,this.offsetAndType[e]&Ht,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Ht:this.offsetAndType[this.tokenCount]&Ht:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}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]&Ht,t=this.offsetAndType[t],this.tokenType=t>>Xt,this.tokenEnd=t&Ht):(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>>Xt,this.tokenEnd=e&Ht):(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]&Ht:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:d1(this.offsetAndType[r]>>Xt)&&(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&Ht,a=i>>Xt;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:Xy[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function Cm(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=Sm(e,u),lp(r(u),r(u+1),r(u+2))){c=12,u=Ld(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=Ld(e,u),Sc(e,d,u,"url")&&r(u)===40){if(u=Td(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 m=e.charCodeAt(u);switch(Gh(m)){case d:u++;return;case nc:if(Rp(m)){u+=Xb(e,u,m),c=6;return}break;case 92:if(u===e.length-1)break;let h=r(u+1);Rp(h)?u+=Xb(e,u+1,h):hr(m,h)&&(u=Ni(e,u)-1);break}}}function a(){for(c=7,u=Td(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch(Gh(d)){case 41:u++;return;case nc:if(u=Td(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=Jh(e,u),c=8;return;case 34:case 39:case 40:case Hb:u=Jh(e,u),c=8;return;case 92:if(hr(d,r(u+1))){u=Ni(e,u)-1;break}u=Jh(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=ZN(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch(Gh(d)){case nc:c=13,u=Td(e,u+1);break;case 34:o();break;case 35:XN(r(u+1))||hr(r(u+1),r(u+2))?(c=4,u=Ld(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:Yh(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Yh(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):lp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Yh(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:lp(r(u+1),r(u+2),r(u+3))?(c=3,u=Ld(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:hr(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 Jb:n();break;case $p:i();break;default:c=9,u++}t(c,l,l=u)}}var te=y(()=>{rc(),Bp(),Zb(),rc(),rc(),tP(),Bp(),Zb(),vB(),yB()}),an,Cc,Xc=y(()=>{an=null,Cc=class un{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return un.createItem(t)}allocateCursor(t,r){let n;return an!==null?(n=an,an=an.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=an,an=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 un;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 un;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(un.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(un.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(un.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 Wp(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}
23
- `)}})}var Zy=y(()=>{});function p1({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(b,p){return u.slice(b,p).map((v,f)=>String(b+f+1).padStart(m)+" |"+v).join(`
16
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawColon(o){let a;return o.walkDecls(s=>{if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a}rawEmptyBody(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a}rawIndent(o){if(o.raws.indent)return o.raws.indent;let a;return o.walk(s=>{let u=s.parent;if(u&&u!==o&&u.parent&&u.parent===o&&typeof s.raws.before<"u"){let l=s.raws.before.split(`
17
+ `);return a=l[l.length-1],a=a.replace(/\S/g,""),!1}}),a}rawSemicolon(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a}rawValue(o,a){let s=o[a],u=o.raws[a];return u&&u.value===s?u.raw:s}root(o){this.body(o),o.raws.after&&this.builder(o.raws.after)}rule(o){this.block(o,this.rawValue(o,"selector")),o.raws.ownSemicolon&&this.builder(o.raws.ownSemicolon,o,"end")}stringify(o,a){if(!this[o.type])throw new Error("Unknown AST node type "+o.type+". Maybe you need to change PostCSS stringifier.");this[o.type](o,a)}};t.exports=i,i.default=i}),sw=G((e,t)=>{"use strict";var r=Yz();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),lw=G((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),Nm=G((e,t)=>{"use strict";var r=aw(),n=Yz(),i=sw(),{isClean:o,my:a}=lw();function s(c,d){let p=new c.constructor;for(let h in c){if(!Object.prototype.hasOwnProperty.call(c,h)||h==="proxyCache")continue;let b=c[h],m=typeof b;h==="parent"&&m==="object"?d&&(p[h]=d):h==="source"?p[h]=b:Array.isArray(b)?p[h]=b.map(v=>s(v,p)):(m==="object"&&b!==null&&(b=s(b)),p[h]=b)}return p}function u(c,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,h=1,b=0;for(let m=0;m<c.length;m++){if(h===d.line&&p===d.column){b=m;break}c[m]===`
18
+ `?(p=1,h+=1):p+=1}return b}var l=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:h}=this.rangeBy(d);return this.source.input.error(c,{column:h.column,line:h.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,h=p.slice(u(p,this.source.start),u(p,this.source.end)).indexOf(c.word);h!==-1&&(d=this.positionInside(h))}return d}positionInside(c){let d=this.source.start.column,p=this.source.start.line,h="document"in this.source.input?this.source.input.document:this.source.input.css,b=u(h,this.source.start),m=b+c;for(let v=b;v<m;v++)h[v]===`
19
+ `?(d=1,p+=1):d+=1;return{column:d,line:p,offset:m}}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:u(d,this.source.start)},h=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:u(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let b=d.slice(u(d,this.source.start),u(d,this.source.end)).indexOf(c.word);b!==-1&&(p=this.positionInside(b),h=this.positionInside(b+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:u(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?h={column:c.end.column,line:c.end.line,offset:u(d,c.end)}:typeof c.endIndex=="number"?h=this.positionInside(c.endIndex):c.index&&(h=this.positionInside(c.index+1));return(h.line<p.line||h.line===p.line&&h.column<=p.column)&&(h={column:p.column+1,line:p.line,offset:p.offset+1}),{end:h,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 h of c)h===this?p=!0:p?(this.parent.insertAfter(d,h),d=h):this.parent.insertBefore(d,h);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={},h=d==null;d=d||new Map;let b=0;for(let m in this){if(!Object.prototype.hasOwnProperty.call(this,m)||m==="parent"||m==="proxyCache")continue;let v=this[m];if(Array.isArray(v))p[m]=v.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof v=="object"&&v.toJSON)p[m]=v.toJSON(null,d);else if(m==="source"){if(v==null)continue;let g=d.get(v.input);g==null&&(g=b,d.set(v.input,b),b++),p[m]={end:v.end,inputId:g,start:v.start}}else p[m]=v}return h&&(p.inputs=[...d.keys()].map(m=>m.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let h={node:this};for(let b in p)h[b]=p[b];return c.warn(d,h)}};t.exports=l,l.default=l}),uw=G((e,t)=>{"use strict";var r=Nm(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),cw=G((e,t)=>{"use strict";var r=Nm(),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}),Nn=G((e,t)=>{"use strict";var r=uw(),n=cw(),i=Nm(),{isClean:o,my:a}=lw(),s,u,l,c;function d(b){return b.map(m=>(m.nodes&&(m.nodes=d(m.nodes)),delete m.source,m))}function p(b){if(b[o]=!1,b.proxyOf.nodes)for(let m of b.proxyOf.nodes)p(m)}var h=class Gz 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(...m){for(let v of m){let g=this.normalize(v,this.last);for(let f of g)this.proxyOf.nodes.push(f)}return this.markDirty(),this}each(m){if(!this.proxyOf.nodes)return;let v=this.getIterator(),g,f;for(;this.indexes[v]<this.proxyOf.nodes.length&&(g=this.indexes[v],f=m(this.proxyOf.nodes[g],g),f!==!1);)this.indexes[v]+=1;return delete this.indexes[v],f}every(m){return this.nodes.every(m)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let m=this.lastEach;return this.indexes[m]=0,m}index(m){return typeof m=="number"?m:(m.proxyOf&&(m=m.proxyOf),this.proxyOf.nodes.indexOf(m))}insertAfter(m,v){let g=this.index(m),f=this.normalize(v,this.proxyOf.nodes[g]).reverse();g=this.index(m);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(m,v){let g=this.index(m),f=g===0?"prepend":!1,x=this.normalize(v,this.proxyOf.nodes[g],f).reverse();g=this.index(m);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(m,v){if(typeof m=="string")m=d(u(m).nodes);else if(typeof m>"u")m=[];else if(Array.isArray(m)){m=m.slice(0);for(let g of m)g.parent&&g.parent.removeChild(g,"ignore")}else if(m.type==="root"&&this.type!=="document"){m=m.nodes.slice(0);for(let g of m)g.parent&&g.parent.removeChild(g,"ignore")}else if(m.type)m=[m];else if(m.prop){if(typeof m.value>"u")throw new Error("Value field is missed in node creation");typeof m.value!="string"&&(m.value=String(m.value)),m=[new n(m)]}else if(m.selector||m.selectors)m=[new c(m)];else if(m.name)m=[new s(m)];else if(m.text)m=[new r(m)];else throw new Error("Unknown node type in node creation");return m.map(g=>(g[a]||Gz.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[o]&&p(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&v&&typeof v.raws.before<"u"&&(g.raws.before=v.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...m){m=m.reverse();for(let v of m){let g=this.normalize(v,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(m){return m.parent=this,this.proxyOf.nodes.push(m),this}removeAll(){for(let m of this.proxyOf.nodes)m.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(m){m=this.index(m),this.proxyOf.nodes[m].parent=void 0,this.proxyOf.nodes.splice(m,1);let v;for(let g in this.indexes)v=this.indexes[g],v>=m&&(this.indexes[g]=v-1);return this.markDirty(),this}some(m){return this.nodes.some(m)}walk(m){return this.each((v,g)=>{let f;try{f=m(v,g)}catch(x){throw v.addToError(x)}return f!==!1&&v.walk&&(f=v.walk(m)),f})}walkAtRules(m,v){return v?m instanceof RegExp?this.walk((g,f)=>{if(g.type==="atrule"&&m.test(g.name))return v(g,f)}):this.walk((g,f)=>{if(g.type==="atrule"&&g.name===m)return v(g,f)}):(v=m,this.walk((g,f)=>{if(g.type==="atrule")return v(g,f)}))}walkComments(m){return this.walk((v,g)=>{if(v.type==="comment")return m(v,g)})}walkDecls(m,v){return v?m instanceof RegExp?this.walk((g,f)=>{if(g.type==="decl"&&m.test(g.prop))return v(g,f)}):this.walk((g,f)=>{if(g.type==="decl"&&g.prop===m)return v(g,f)}):(v=m,this.walk((g,f)=>{if(g.type==="decl")return v(g,f)}))}walkRules(m,v){return v?m instanceof RegExp?this.walk((g,f)=>{if(g.type==="rule"&&m.test(g.selector))return v(g,f)}):this.walk((g,f)=>{if(g.type==="rule"&&g.selector===m)return v(g,f)}):(v=m,this.walk((g,f)=>{if(g.type==="rule")return v(g,f)}))}};h.registerParse=b=>{u=b},h.registerRule=b=>{c=b},h.registerAtRule=b=>{s=b},h.registerRoot=b=>{l=b},t.exports=h,h.default=h,h.rebuild=b=>{b.type==="atrule"?Object.setPrototypeOf(b,s.prototype):b.type==="rule"?Object.setPrototypeOf(b,c.prototype):b.type==="decl"?Object.setPrototypeOf(b,n.prototype):b.type==="comment"?Object.setPrototypeOf(b,r.prototype):b.type==="root"&&Object.setPrototypeOf(b,l.prototype),b[a]=!0,b.nodes&&b.nodes.forEach(m=>{h.rebuild(m)})}}),Kz=G((e,t)=>{"use strict";var r=Nn(),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)}),dw=G((e,t)=>{"use strict";var r=Nn(),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}),N6=G(()=>{}),E6=G((e,t)=>{var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=(o,a=21)=>(s=a)=>{let u="",l=s|0;for(;l--;)u+=o[Math.random()*o.length|0];return u},i=(o=21)=>{let a="",s=o|0;for(;s--;)a+=r[Math.random()*64|0];return a};t.exports={nanoid:i,customAlphabet:n}}),Hz=G(()=>{}),Zz=G(()=>{}),P6=G((e,t)=>{var r=class{};t.exports=r}),pw=G((e,t)=>{"use strict";var{nanoid:r}=E6(),{isAbsolute:n,resolve:i}=(Wc(),SA(By)),{SourceMapConsumer:o,SourceMapGenerator:a}=Hz(),{fileURLToPath:s,pathToFileURL:u}=Zz(),l=aw(),c=P6(),d=Vz(),p=Symbol("lineToIndexCache"),h=!!(o&&a),b=!!(i&&n);function m(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 v=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&&(!b||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),b&&h){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,A,T;if(f&&typeof f=="object"){let B=f,te=x;if(typeof B.offset=="number"){A=B.offset;let J=this.fromOffset(A);f=J.line,x=J.col}else f=B.line,x=B.column,A=this.fromLineAndColumn(f,x);if(typeof te.offset=="number"){E=te.offset;let J=this.fromOffset(E);S=J.line,k=J.col}else S=te.line,k=te.column,E=this.fromLineAndColumn(te.line,te.column)}else if(x)A=this.fromLineAndColumn(f,x);else{A=f;let B=this.fromOffset(A);f=B.line,x=B.col}let N=this.origin(f,x,S,k);return N?T=new l(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):T=new l(g,S===void 0?f:{column:x,line:f},S===void 0?x:{column:k,line:S},this.css,this.file,w.plugin),T.input={column:x,endColumn:k,endLine:S,endOffset:E,line:f,offset:A,source:this.css},this.file&&(u&&(T.input.url=u(this.file).toString()),T.input.file=this.file),T}fromLineAndColumn(g,f){return m(this)[g-1]+f-1}fromOffset(g){let f=m(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 A;n(S.source)?A=u(S.source):A=new URL(S.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let T={column:S.column,endColumn:E&&E.column,endLine:E&&E.line,line:S.line,url:A.toString()};if(A.protocol==="file:")if(s)T.file=s(A);else throw new Error("file: protocol is not available in this PostCSS build");let N=k.sourceContentFor(S.source);return N&&(T.source=N),T}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=v,v.default=v,d&&d.registerInput&&d.registerInput(v)}),O6=G((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Wc(),SA(By)),{SourceMapConsumer:a,SourceMapGenerator:s}=Hz(),{pathToFileURL:u}=Zz(),l=pw(),c=!!(a&&s),d=!!(r&&i&&n&&o),p=class{constructor(h,b,m,v){this.stringify=h,this.mapOpts=m.map||{},this.root=b,this.opts=m,this.css=v,this.originalCSS=v,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 h;for(let b=this.root.nodes.length-1;b>=0;b--)h=this.root.nodes[b],h.type==="comment"&&h.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(b)}else if(this.css){let h;for(;(h=this.css.lastIndexOf("/*#"))!==-1;){let b=this.css.indexOf("*/",h+3);if(b===-1)break;for(;h>0&&this.css[h-1]===`
21
+ `;)h--;this.css=this.css.slice(0,h)+this.css.slice(b+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let h="";return this.stringify(this.root,b=>{h+=b}),[h]}}};t.exports=p}),Em=G((e,t)=>{"use strict";var r=Nn(),n,i,o=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,s,u){let l=super.normalize(a);if(s){if(u==="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 l)c.raws.before=s.raws.before}return l}removeChild(a,s){let u=this.index(a);return!s&&u===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[u].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)}),Xz=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="",u=!1,l=0,c=!1,d="",p=!1;for(let h of n)p?p=!1:h==="\\"?p=!0:c?h===d&&(c=!1):h==='"'||h==="'"?(c=!0,d=h):h==="("?l+=1:h===")"?l>0&&(l-=1):l===0&&i.includes(h)&&(u=!0),u?(s!==""&&a.push(s.trim()),s="",u=!1):s+=h;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),Jz=G((e,t)=>{"use strict";var r=Nn(),n=Xz(),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)}),T6=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 u=a.css.valueOf(),l=s.ignoreErrors,c,d,p,h,b,m,v,g,f,x,w=u.length,k=0,S=[],E=[];function A(){return k}function T(J){throw a.error("Unclosed "+J,k)}function N(){return E.length===0&&k>=w}function B(J){if(E.length)return E.pop();if(k>=w)return;let ve=J?J.ignoreUnclosed:!1;switch(c=u.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{h=k;do h+=1,c=u.charCodeAt(h);while(c===32||c===10||c===9||c===13||c===12);m=["space",u.slice(k,h)],k=h-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let ce=String.fromCharCode(c);m=[ce,ce,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=u.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){h=k;do{if(v=!1,h=u.indexOf(")",h+1),h===-1)if(l||ve){h=k;break}else T("bracket");for(g=h;u.charCodeAt(g-1)===92;)g-=1,v=!v}while(v);m=["brackets",u.slice(k,h+1),k,h],k=h}else h=u.indexOf(")",k+1),d=u.slice(k,h+1),h===-1||i.test(d)?m=["(","(",k]:(m=["brackets",d,k,h],k=h);break}case 39:case 34:{b=c===39?"'":'"',h=k;do{if(v=!1,h=u.indexOf(b,h+1),h===-1)if(l||ve){h=k+1;break}else T("string");for(g=h;u.charCodeAt(g-1)===92;)g-=1,v=!v}while(v);m=["string",u.slice(k,h+1),k,h],k=h;break}case 64:{r.lastIndex=k+1,r.test(u),r.lastIndex===0?h=u.length-1:h=r.lastIndex-2,m=["at-word",u.slice(k,h+1),k,h],k=h;break}case 92:{for(h=k,p=!0;u.charCodeAt(h+1)===92;)h+=1,p=!p;if(c=u.charCodeAt(h+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(h+=1,o.test(u.charAt(h)))){for(;o.test(u.charAt(h+1));)h+=1;u.charCodeAt(h+1)===32&&(h+=1)}m=["word",u.slice(k,h+1),k,h],k=h;break}default:{c===47&&u.charCodeAt(k+1)===42?(h=u.indexOf("*/",k+2)+1,h===0&&(l||ve?h=u.length:T("comment")),m=["comment",u.slice(k,h+1),k,h],k=h):(n.lastIndex=k+1,n.test(u),n.lastIndex===0?h=u.length-1:h=n.lastIndex-2,m=["word",u.slice(k,h+1),k,h],S.push(m),k=h);break}}return k++,m}function te(J){E.push(J)}return{back:te,endOfFile:N,nextToken:B,position:A}}}),I6=G((e,t)=>{"use strict";var r=Kz(),n=uw(),i=cw(),o=Em(),a=Jz(),s=T6(),u={empty:!0,space:!0};function l(d){for(let p=d.length-1;p>=0;p--){let h=d[p],b=h[3]||h[2];if(b)return b}}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 h,b,m,v=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),h=d[0],h==="("||h==="["?x.push(h==="("?")":"]"):h==="{"&&x.length>0?x.push("}"):h===x[x.length-1]&&x.pop(),x.length===0)if(h===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(h==="{"){g=!0;break}else if(h==="}"){if(f.length>0){for(m=f.length-1,b=f[m];b&&b[0]==="space";)b=f[--m];b&&(p.source.end=this.getPosition(b[3]||b[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){v=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),v&&(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 h=0,b;for(let m=p-1;m>=0&&(b=d[m],!(b[0]!=="space"&&(h+=1,h===2)));m--);throw this.input.error("Missed semicolon",b[0]==="word"?b[3]+1:b[2])}colon(d){let p=0,h,b,m;for(let[v,g]of d.entries()){if(b=g,m=b[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!h)this.doubleColon(b);else{if(h[0]==="word"&&h[1]==="progid")continue;return v}h=b}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 h=d[1].slice(2,-2);if(!h.trim())p.text="",p.raws.left=h,p.raws.right="";else{let b=h.match(/^(\s*)([^]*\S)(\s*)$/);p.text=b[2],p.raws.left=b[1],p.raws.right=b[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let h=new i;this.init(h,d[0][2]);let b=d[d.length-1];for(b[0]===";"&&(this.semicolon=!0,d.pop()),h.source.end=this.getPosition(b[3]||b[2]||l(d)),h.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),h.raws.before+=d.shift()[1];for(h.source.start=this.getPosition(d[0][2]),h.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;h.prop+=d.shift()[1]}h.raws.between="";let m;for(;d.length;)if(m=d.shift(),m[0]===":"){h.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),h.raws.between+=m[1];(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.prop.slice(1));let v=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)v.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(m=d[f],m[1].toLowerCase()==="!important"){h.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(h.raws.important=x);break}else if(m[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("!")&&(h.important=!0,h.raws.important=w,d=x)}if(m[0]!=="space"&&m[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(h.raws.between+=v.map(f=>f[1]).join(""),v=[]),this.raw(h,"value",v.concat(d),p),h.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,h=null,b=!1,m=null,v=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(h=x[0],f.push(x),h==="("||h==="[")m||(m=x),v.push(h==="("?")":"]");else if(g&&b&&h==="{")m||(m=x),v.push("}");else if(v.length===0)if(h===";")if(b){this.decl(f,g);return}else break;else if(h==="{"){this.rule(f);return}else if(h==="}"){this.tokenizer.back(f.pop()),p=!0;break}else h===":"&&(b=!0);else h===v[v.length-1]&&(v.pop(),v.length===0&&(m=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),v.length>0&&this.unclosedBracket(m),p&&b){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,h,b){let m,v,g=h.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)m=h[S],v=m[0],v==="space"&&S===g-1&&!b?x=!1:v==="comment"?(k=h[S-1]?h[S-1][0]:"empty",w=h[S+1]?h[S+1][0]:"empty",!u[k]&&!u[w]?f.slice(-1)===","?x=!1:f+=m[1]:x=!1):f+=m[1];if(!x){let S=h.reduce((E,A)=>E+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,h="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)h=d.pop()[1]+h;return h}spacesAndCommentsFromStart(d){let p,h="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)h+=d.shift()[1];return h}spacesFromEnd(d){let p,h="";for(;d.length&&(p=d[d.length-1][0],p==="space");)h=d.pop()[1]+h;return h}stringFrom(d,p){let h="";for(let b=p;b<d.length;b++)h+=d[b][1];return d.splice(p,d.length-p),h}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}),eN=G((e,t)=>{"use strict";var r=Nn(),n=pw(),i=I6();function o(a,s){let u=new n(a,s),l=new i(u);try{l.parse()}catch(c){throw c}return l.root}t.exports=o,o.default=o,r.registerParse(o)}),tN=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}),rN=G((e,t)=>{"use strict";var r=tN(),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}),j6=G(()=>{}),nN=G((e,t)=>{"use strict";var r=Nn(),n=dw(),i=O6(),o=eN(),a=rN(),s=Em(),u=sw(),{isClean:l,my:c}=lw(),d=j6();function p(m){return m[l]=!1,m.nodes&&m.nodes.forEach(v=>p(v)),m}var h={},b=class iN{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(v,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 iN||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(v,x,f),this.helpers={...h,postcss:h,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 v=this.result.opts,g=u;v.syntax&&(g=v.syntax.stringify),v.stringifier&&(g=v.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()}};b.registerPostcss=m=>{h=m},t.exports=b,b.default=b,s.registerLazyResult(b),n.registerLazyResult(b)}),L6=G((e,t)=>{var r=class{};t.exports=r}),D6=G((e,t)=>{"use strict";var r=dw(),n=nN(),i=L6(),o=Em(),a=class{constructor(s=[]){this.version="8.5.8",this.plugins=this.normalize(s)}normalize(){return[]}process(s,u={}){return!this.plugins.length&&!u.parser&&!u.stringifier&&!u.syntax?new i(this,s,u):new n(this,s,u)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),F6=G((e,t)=>{"use strict";var r=Kz(),n=uw(),i=Nn(),o=aw(),a=cw(),s=dw(),u=N6(),l=pw(),c=nN(),d=Xz(),p=Nm(),h=eN(),b=D6(),m=rN(),v=Em(),g=Jz(),f=sw(),x=tN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new b(k)}w.stringify=f,w.parse=h,w.fromJSON=u,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 v(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=b,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=m,w.Input=l,w.Rule=g,w.Root=v,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Ch,Ii,oN,Hc=y(()=>{Ch=re(F6(),1),Ii=Ch.default,oN=Ch.default.Node}),aN={};z(aN,{default:()=>sN});var fo,Ah,xx,go,sN,M6=y(()=>{Hc(),q(),Vi(),tt(),H(),I(),L(),F(),fo="at-rule-no-deprecated",Ah=j(fo,{rejected:e=>`Unexpected deprecated at-rule "${e}"`}),xx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},go=(e,t)=>(r,n)=>{D(n,fo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0})&&r.walkAtRules(i=>{if(!et(i))return;let{name:o}=i,a=o.toLowerCase();if(R(t,"ignoreAtRules",o)||!Gb.has(a))return;let s=a==="nest"?()=>{let l=Ii.rule({selector:i.params,source:i.source});l.append(i.nodes),i.replaceWith(l)}:void 0,u=`@${o}`;P({message:Ah.rejected,messageArgs:[u],node:i,ruleName:fo,result:n,index:0,endIndex:u.length,fix:{apply:s,node:i.parent}})})},go.ruleName=fo,go.messages=Ah,go.meta=xx,sN=go}),Ke,Et=y(()=>{Ke={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),lN={};z(lN,{default:()=>uN});var bo,zh,Sx,vo,uN,R6=y(()=>{q(),Vi(),tt(),H(),I(),L(),F(),Et(),bo="at-rule-no-unknown",zh=j(bo,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),Sx={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},vo=(e,t)=>(r,n)=>{var a,s,u;if(!D(n,bo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=((u=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:u.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(l=>{if(!et(l))return;let c=l.name;if(o.has(c)||R(t,"ignoreAtRules",l.name)||Ke.prefix(c)||XA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:zh.rejected,messageArgs:[d],node:l,ruleName:bo,result:n,word:d})})},vo.ruleName=bo,vo.messages=zh,vo.meta=Sx,uN=vo}),Cx,Ax,zx,Nx,Sr,Zc=y(()=>{Et(),Cx=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),Ax=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"]),zx=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"]),Nx=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"]),Sr={atRuleName(e){return Cx.has(`@${e.toLowerCase()}`)},selector(e){return Ax.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Ke.prefix(t).length===0?!1:zx.has(Ke.unprefixed(t))},propertyValue(e){return Nx.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),cN={};z(cN,{default:()=>dN});var yo,Nh,Ex,wo,dN,$6=y(()=>{q(),Zc(),tt(),H(),I(),L(),F(),yo="at-rule-no-vendor-prefix",Nh=j(yo,{rejected:e=>`Unexpected vendor-prefixed at-rule "${e}"`}),Ex={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},wo=(e,t)=>(r,n)=>{D(n,yo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,U]}})&&r.walkAtRules(i=>{if(!et(i))return;let o=i.name;if(R(t,"ignoreAtRules",o)||!o.startsWith("-")||!Sr.atRuleName(o))return;let a=()=>{i.name=Sr.unprefix(i.name)},s=`@${o}`;P({message:Nh.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:yo,fix:{apply:a,node:i}})})},wo.ruleName=yo,wo.messages=Nh,wo.meta=Ex,dN=wo}),pN={};z(pN,{default:()=>mN});var ko,Eh,Px,xo,mN,B6=y(()=>{q(),tt(),X(),H(),I(),L(),F(),ko="at-rule-prelude-no-invalid",Eh=j(ko,{rejected:(e,t)=>`Unexpected invalid prelude "${t}" for at-rule "${e}"`}),Px={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},xo=(e,t)=>(r,n)=>{if(!D(n,ko,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!et(o))return;let{name:a,params:s}=o;if(R(t,"ignoreAtRules",a))return;let{error:u}=i.matchAtrulePrelude(a,s);if(!u||u.name!=="SyntaxMatchError")return;let l=`@${a}`,c=Te(o),d=c+s.length;P({message:Eh.rejected,messageArgs:[l,s],node:o,index:c,endIndex:d,ruleName:ko,result:n})})},xo.ruleName=ko,xo.messages=Eh,xo.meta=Px,mN=xo});function q6(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 W6=y(()=>{});function Dt(...e){return t=>xr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),hN={};z(hN,{default:()=>fN});var So,Ph,Ox,Co,fN,_6=y(()=>{W6(),tt(),q(),I(),L(),Ht(),F(),So="at-rule-property-required-list",Ph=j(So,{expected:(e,t)=>`Expected property (or descriptor) "${t}" for at-rule "${e}"`}),Ox={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Co=e=>(t,r)=>{if(!D(r,So,{actual:e,possible:[Dt($)]}))return;let n=q6(e),i=new Set;t.walkAtRules(o=>{if(!et(o))return;let{name:a,nodes:s}=o;if(!s)return;let u=a.toLowerCase(),l=n.get(u);if(l){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();l.has(d)&&i.add(d)}if(i.size!==l.size)for(let c of l){if(i.has(c))continue;let d=`@${o.name}`;P({message:Ph.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:So})}}})},Co.ruleName=So,Co.messages=Ph,Co.meta=Ox,fN=Co});function gN(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),ut(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 bN=y(()=>{he()});function vN(e,t=Xc){if(!e)return e;let[r]=e.split(/\s/,1);return Wi(r),r.replace(t,"")}function xi(e,t=Xc){let r=$(e)?e:Yr(e)?e.text:void 0;if(!r)return!1;let n=vN(r,t);return n!==void 0&&yN.has(n)}function U6(e,t=Xc){return`${t}${e}`}var Up,Vp,Qp,Yp,yN,Xc,Jc=y(()=>{q(),he(),Up="-disable",Vp="-disable-line",Qp="-disable-next-line",Yp="-enable",yN=new Set([Up,Vp,Qp,Yp]),Xc="stylelint"}),wN={};z(wN,{default:()=>kN});var Ao,Oh,Tx,zo,kN,V6=y(()=>{bN(),Cm(),he(),Jc(),H(),I(),L(),F(),Ao="block-no-empty",Oh=j(Ao,{rejected:"Unexpected empty block"}),Tx={url:"https://stylelint.io/user-guide/rules/block-no-empty"},zo=(e,t,r)=>(n,i)=>{if(!D(i,Ao,{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(l){if(!zc(l)||s(l)||u(l))return;let c=gN(l,{noRawBefore:!0}).length;l.raws.between===void 0&&c--,P({message:Oh.rejected,messageArgs:[],node:l,start:l.positionBy({index:c}),end:l.rangeBy({}).end,result:i,ruleName:Ao})}function s(l){var c;return((c=l.nodes)!=null?c:[]).some(d=>!(Yr(d)&&(o||xi(d,r.configurationComment))))}function u(l){let{after:c}=l.raws;return typeof c=="string"&&/\S/.test(c)}},zo.ruleName=Ao,zo.messages=Oh,zo.meta=Tx,kN=zo});function Pm(e){return!(ym(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var Om=y(()=>{wm()});function de(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!Pm(e.selector))}var pe=y(()=>{Om()}),xN={};z(xN,{default:()=>SN});var No,Th,Ix,Eo,SN,Q6=y(()=>{he(),pe(),I(),L(),F(),No="block-no-redundant-nested-style-rules",Th=j(No,{rejected:"Unexpected redundant nested style rule"}),Ix={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Eo=e=>(t,r)=>{D(r,No,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!de(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:Th.rejected,messageArgs:[],node:n,result:r,ruleName:No}))})},Eo.ruleName=No,Eo.messages=Th,Eo.meta=Ix,SN=Eo});function ed(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var td=y(()=>{});function mw(e){if(!ed(e))return!1;for(let t of e.nodes){if(t.type==="function")return mw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var CN=y(()=>{td()}),AN={};z(AN,{default:()=>zN});var jx,Po,Ih,Lx,Oo,zN,Y6=y(()=>{jx=re(me(),1),zr(),X(),Ye(),CN(),he(),V(),I(),L(),Bt(),F(),Po="color-function-alias-notation",Ih=j(Po,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Lx={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},Oo=e=>(t,r)=>{if(!D(r,Po,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Y.withoutAlphaAliasColorFunction:Y.withAlphaAliasColorFunction,i=e==="with-alpha"?$p:Sc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,jx.default)(Qe(o));a.walk(s=>{if(!An(s)||!mw(s))return;let{value:u,sourceIndex:l}=s;if(!i.has(u.toLowerCase()))return;let c=e==="with-alpha"?`${u}a`:u.slice(0,-1),d=()=>{s.value=c,$t(o,a.toString())},p=ie(o)+l,h=p+u.length;P({message:Ih.expected,messageArgs:[u,c],node:o,index:p,endIndex:h,result:r,ruleName:Po,fix:{apply:d,node:o}})})})},Oo.ruleName=Po,Oo.messages=Ih,Oo.meta=Lx,zN=Oo});function Yi(e){return An(e)&&e.value.toLowerCase()==="var"}var rd=y(()=>{he()}),NN={};z(NN,{default:()=>PN});function jh(e){return e!==""?e:" "}function G6(e){return e.some(t=>Yi(t))}function EN(e){return e.type==="div"&&e.value===","}function Dx(e){let t=0;for(let r of e)if(EN(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var Fx,To,Lh,Mx,Io,PN,K6=y(()=>{Fx=re(me(),1),zr(),X(),Ye(),CN(),he(),rd(),V(),H(),I(),L(),Bt(),F(),To="color-function-notation",Lh=j(To,{expected:e=>`Expected ${e} color-function notation`}),Mx={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Io=(e,t)=>(r,n)=>{if(!D(n,To,{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(!Y.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,Fx.default)(Qe(o));a.walk(s=>{if(!An(s)||!mw(s))return;let{value:u,sourceIndex:l,sourceEndIndex:c,nodes:d}=s;if(i&&G6(d)||!Hy.has(u.toLowerCase())||!(d.length>=5)||e==="modern"&&!Dx(d)||e==="legacy"&&Dx(d))return;let p=()=>{let v=0;s.nodes=d.map(g=>(EN(g)&&(v<2?(g.type="space",g.value=jh(g.after),v++):(g.value="/",g.before=jh(g.before),g.after=jh(g.after))),g)),Sc.has(u.toLowerCase())&&(s.value=u.slice(0,-1)),$t(o,a.toString())},h=ie(o)+l,b=h+(c-l),m=e==="modern"?p:void 0;P({message:Lh.expected,messageArgs:[e],node:o,index:h,endIndex:b,result:n,ruleName:To,fix:{apply:m,node:o}})})})},Io.ruleName=To,Io.messages=Lh,Io.meta=Mx,PN=Io});function ON(e){return TN.test(e)}var TN,IN=y(()=>{TN=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function jN({type:e,value:t}){return e==="word"&&ON(t)}var LN=y(()=>{IN()});function nd(e){return An(e)&&e.value.toLowerCase()==="url"}var id=y(()=>{he()}),DN={};z(DN,{default:()=>FN});function Rx(e){return e.length===5||e.length===9}var $x,jo,yd,Bx,Lo,FN,H6=y(()=>{$x=re(me(),1),X(),LN(),id(),V(),I(),L(),F(),jo="color-hex-alpha",yd=j(jo,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Unexpected alpha channel in "${e}"`}),Bx={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Lo=e=>(t,r)=>{D(r,jo,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Y.validHex.test(n.value)&&(0,$x.default)(n.value).walk(i=>{if(nd(i))return!1;if(!jN(i))return;let{value:o}=i;if(e==="always"&&Rx(o)||e==="never"&&!Rx(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?yd.rejected:yd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:jo})})})},Lo.ruleName=jo,Lo.messages=yd,Lo.meta=Bx,FN=Lo}),MN={};z(MN,{default:()=>RN});function Z6(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 X6(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function J6(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var qx,Do,Dh,Wx,Fo,RN,eB=y(()=>{qx=re(me(),1),X(),Ye(),LN(),id(),V(),I(),L(),Bt(),F(),Do="color-hex-length",Dh=j(Do,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Wx={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Fo=e=>(t,r)=>{D(r,Do,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Y.hexColor.test(n.value))return;let i=(0,qx.default)(Qe(n));i.walk(o=>{let{value:a}=o;if(nd(o))return!1;if(!jN(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!Z6(a)))return;let s=(e==="long"?J6:X6)(a),u=()=>{o.value=s,$t(n,i.toString())},l=ie(n)+o.sourceIndex,c=l+o.value.length;P({message:Dh.expected,messageArgs:[a,s],node:n,index:l,endIndex:c,result:r,ruleName:Do,fix:{apply:u,node:n}})})})},Fo.ruleName=Do,Fo.messages=Dh,Fo.meta=Wx,RN=Fo}),_x,mr,Xe,Tt,Fh,Mh,wd,Ux,Mo,Rh,$h,Bh,qh,Wh,Dn,Vx,Qx,Yx,Gx,kd,_h,Kx,xd,Sd,Uh,Cd,er,Vh,$N,tB=y(()=>{_x={grad:.9,turn:360,rad:360/(2*Math.PI)},mr=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},Tt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Fh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Mh=function(e){return{r:Tt(e.r,0,255),g:Tt(e.g,0,255),b:Tt(e.b,0,255),a:Tt(e.a)}},wd=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},Ux=/^#([0-9a-f]{3,8})$/i,Mo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Rh=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}},$h=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),u=n*(1-(1-t+o)*r),l=o%6;return{r:255*[n,s,a,a,u,n][l],g:255*[u,n,n,s,a,a][l],b:255*[a,a,u,n,n,s][l],a:i}},Bh=function(e){return{h:Fh(e.h),s:Tt(e.s,0,100),l:Tt(e.l,0,100),a:Tt(e.a)}},qh=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},Wh=function(e){return $h((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},Dn=function(e){return{h:(t=Rh(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},Vx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Yx=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gx=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kd={string:[[function(e){var t=Ux.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=Yx.exec(e)||Gx.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Mh({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=Vx.exec(e)||Qx.exec(e);if(!t)return null;var r,n,i=Bh({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(_x[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Wh(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 mr(t)&&mr(r)&&mr(n)?Mh({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(!mr(t)||!mr(r)||!mr(n))return null;var a=Bh({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return Wh(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!mr(t)||!mr(r)||!mr(n))return null;var a=(function(s){return{h:Fh(s.h),s:Tt(s.s,0,100),v:Tt(s.v,0,100),a:Tt(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return $h(a)},"hsv"]]},_h=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]},Kx=function(e){return typeof e=="string"?_h(e.trim(),kd.string):typeof e=="object"&&e!==null?_h(e,kd.object):[null,void 0]},xd=function(e,t){var r=Dn(e);return{h:r.h,s:Tt(r.s+100*t,0,100),l:r.l,a:r.a}},Sd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Uh=function(e,t){var r=Dn(e);return{h:r.h,s:r.s,l:Tt(r.l+100*t,0,100),a:r.a}},Cd=(function(){function e(t){this.parsed=Kx(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(Sd(this.rgba),2)},e.prototype.isDark=function(){return Sd(this.rgba)<.5},e.prototype.isLight=function(){return Sd(this.rgba)>=.5},e.prototype.toHex=function(){return t=wd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Mo(Xe(255*o)):"","#"+Mo(r)+Mo(n)+Mo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return wd(this.rgba)},e.prototype.toRgbString=function(){return t=wd(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 qh(Dn(this.rgba))},e.prototype.toHslString=function(){return t=qh(Dn(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=Rh(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(xd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(xd(this.rgba,-t))},e.prototype.grayscale=function(){return er(xd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(Uh(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(Uh(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=Dn(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 Cd?e:new Cd(e)},Vh=[],$N=function(e){e.forEach(function(t){Vh.indexOf(t)<0&&(t(Cd,kd),Vh.push(t))})}});function rB(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,u,l=n[this.toHex()];if(l)return l;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var h in r)o[h]=new e(r[h]).toRgb();for(var b in r){var m=(s=c,u=o[b],Math.pow(s.r-u.r,2)+Math.pow(s.g-u.g,2)+Math.pow(s.b-u.b,2));m<d&&(d=m,p=b)}return p}},t.string.push([function(a){var s=a.toLowerCase(),u=s==="transparent"?"#0000":r[s];return u?new e(u).toRgb():null},"name"])}var nB=y(()=>{});function iB(e,t){e.prototype.toHwb=function(){return av(sv(this.rgba))},e.prototype.toHwbString=function(){return r=av(sv(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([qN,"hwb"]),t.object.push([BN,"hwb"])}var Hx,Ad,Ro,zd,Qh,av,sv,Yh,BN,Zx,qN,oB=y(()=>{Hx={grad:.9,turn:360,rad:360/(2*Math.PI)},Ad=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Ro=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},Qh=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},av=function(e){return{h:Ro(e.h),w:Ro(e.w),b:Ro(e.b),a:Ro(e.a,3)}},sv=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),u=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(u<0?u+6:u),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}},Yh=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),u=i*(1-(r-a)*n),l=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,u,s,s,l,i][c],g:255*[l,i,i,u,s,s][c],b:255*[s,s,l,i,i,u][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})},BN=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Ad(t)||!Ad(r)||!Ad(n))return null;var a=Qh({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Yh(a)},Zx=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qN=function(e){var t=Zx.exec(e);if(!t)return null;var r,n,i=Qh({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Hx[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Yh(i)}});function aB(e,t){e.prototype.toLab=function(){return n=WN(this.rgba),o=n.y/bp,a=n.z/vp,i=(i=n.x/gp)>Si?Math.cbrt(i):(gn*i+16)/116,r={l:116*(o=o>Si?Math.cbrt(o):(gn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Si?Math.cbrt(a):(gn*a+16)/116)),alpha:n.a},{l:di(r.l,2),a:di(r.a,2),b:di(r.b,2),alpha:di(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,u=o.a,l=o.b,c=a.l,d=a.a,p=a.b,h=180/Math.PI,b=Math.PI/180,m=Math.pow(Math.pow(u,2)+Math.pow(l,2),.5),v=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((m+v)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=u*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(l,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),A=(S+E)/2,T=w===0&&l===0?0:Math.atan2(l,w)*h,N=k===0&&p===0?0:Math.atan2(p,k)*h;T<0&&(T+=360),N<0&&(N+=360);var B=N-T,te=Math.abs(N-T);te>180&&N<=T?B+=360:te>180&&N>T&&(B-=360);var J=T+N;te<=180?J/=2:J=(T+N<360?J+360:J-360)/2;var ve=1-.17*Math.cos(b*(J-30))+.24*Math.cos(2*b*J)+.32*Math.cos(b*(3*J+6))-.2*Math.cos(b*(4*J-63)),ce=c-s,le=E-S,Re=2*Math.sin(b*B/2)*Math.pow(S*E,.5),Be=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),dt=1+.045*A,Ze=1+.015*A*ve,Q=30*Math.exp(-1*Math.pow((J-275)/25,2)),K=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*b*Q);return Math.pow(Math.pow(ce/1/Be,2)+Math.pow(le/1/dt,2)+Math.pow(Re/1/Ze,2)+K*le*Re/(1*dt*1*Ze),.5)})(this.toLab(),n.toLab())/100;return Vt(di(i,3))},t.object.push([_N,"lab"])}var Nd,di,Vt,Ed,Pd,gp,bp,vp,Xx,WN,Si,gn,_N,Jx,sB=y(()=>{Nd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},di=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Vt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Ed=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Pd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},gp=96.422,bp=100,vp=82.521,Xx=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:Pd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Pd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Pd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Vt(r.r,0,255),g:Vt(r.g,0,255),b:Vt(r.b,0,255),a:Vt(r.a)}},WN=function(e){var t=Ed(e.r),r=Ed(e.g),n=Ed(e.b);return(function(i){return{x:Vt(i.x,0,gp),y:Vt(i.y,0,bp),z:Vt(i.z,0,vp),a:Vt(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}))},Si=216/24389,gn=24389/27,_N=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!Nd(t)||!Nd(r)||!Nd(n))return null;var a=(function(s){return{l:Vt(s.l,0,400),a:s.a,b:s.b,alpha:Vt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return Jx(a)},Jx=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return Xx({x:(Math.pow(r,3)>Si?Math.pow(r,3):(116*r-16)/gn)*gp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/gn)*bp,z:(Math.pow(n,3)>Si?Math.pow(n,3):(116*n-16)/gn)*vp,a:e.alpha})}});function lB(e,t){e.prototype.toLch=function(){return lv(uv(this.rgba))},e.prototype.toLchString=function(){return r=lv(uv(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([VN,"lch"]),t.object.push([UN,"lch"])}var e1,Od,on,hr,Td,Id,jd,Ld,Dd,t1,r1,Fn,an,Gh,lv,UN,uv,Kh,n1,VN,uB=y(()=>{e1={grad:.9,turn:360,rad:360/(2*Math.PI)},Od=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},hr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Td=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Id=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},jd=96.422,Ld=100,Dd=82.521,t1=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:Id(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Id(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Id(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:hr(r.r,0,255),g:hr(r.g,0,255),b:hr(r.b,0,255),a:hr(r.a)}},r1=function(e){var t=Td(e.r),r=Td(e.g),n=Td(e.b);return(function(i){return{x:hr(i.x,0,jd),y:hr(i.y,0,Ld),z:hr(i.z,0,Dd),a:hr(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,Gh=function(e){return{l:hr(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},lv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},UN=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!Od(t)||!Od(r)||!Od(n))return null;var a=Gh({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return Kh(a)},uv=function(e){var t=(function(o){var a=r1(o),s=a.x/jd,u=a.y/Ld,l=a.z/Dd;return s=s>Fn?Math.cbrt(s):(an*s+16)/116,{l:116*(u=u>Fn?Math.cbrt(u):(an*u+16)/116)-16,a:500*(s-u),b:200*(u-(l=l>Fn?Math.cbrt(l):(an*l+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}},Kh=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,t1({x:(Math.pow(n,3)>Fn?Math.pow(n,3):(116*n-16)/an)*jd,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*Ld,z:(Math.pow(i,3)>Fn?Math.pow(i,3):(116*i-16)/an)*Dd,a:t.alpha});var t,r,n,i},n1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,VN=function(e){var t=n1.exec(e);if(!t)return null;var r,n,i=Gh({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(e1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Kh(i)}});function cB(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=Tm(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function dB(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=cv.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=cv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return Tm(o).rgba}var cv,Tm,pB=y(()=>{tB(),cv=re(me(),1),nB(),oB(),sB(),uB(),$N([rB,iB,aB,lB,(e,t)=>{t.string.push([cB,"hwb-with-comma"])},(e,t)=>{t.string.push([dB,"gray"])}]),Tm=er}),QN={};z(QN,{default:()=>YN});var Hh,$o,Fd,i1,o1,Bo,YN,mB=y(()=>{Hh=re(me(),1),q(),rn(),pB(),X(),td(),qe(),V(),He(),H(),I(),L(),F(),$o="color-named",Fd=j($o,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Unexpected named color "${e}"`}),i1={url:"https://stylelint.io/user-guide/rules/color-named"},o1=new Set(["word","function"]),Bo=(e,t)=>(r,n)=>{if(!D(n,$o,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,U],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(JA.has(o.prop)||R(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Y.namedColor.test(a)||e==="always-where-possible"&&!Y.validHex.test(a)&&!Y.colorFunction.test(a)&&!Y.grayFunction.test(a)||(0,Hh.default)(a).walk(s=>{let u=s.value,l=s.type,c=s.sourceIndex;if(R(t,"ignore","inside-function")&&l==="function"||!ed(s))return!1;if(!$e(u)||!o1.has(l))return;if(e==="never"&&l==="word"&&Ac.has(u.toLowerCase())){i(Fd.rejected,[u],o,ie(o)+c,u.length);return}if(e!=="always-where-possible")return;let d,p;if(l==="function")d=Hh.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(l==="word"&&u.startsWith("#"))d=p=u;else return;let h=Tm(p);if(!h.isValid())return;let b=h.toName();b&&b.toLowerCase()!=="transparent"&&i(Fd.expected,[p,b],o,ie(o)+c,d.length)})});function i(o,a,s,u,l){P({result:n,ruleName:$o,message:o,messageArgs:a,node:s,index:u,endIndex:u+l})}},Bo.ruleName=$o,Bo.messages=Fd,Bo.meta=i1,YN=Bo}),GN={};z(GN,{default:()=>HN});function hB({type:e,value:t}){return e==="word"&&KN.test(t)}var a1,qo,Zh,s1,KN,Wo,HN,fB=y(()=>{a1=re(me(),1),X(),Ye(),id(),V(),I(),L(),F(),qo="color-no-hex",Zh=j(qo,{rejected:e=>`Unexpected hex color "${e}"`}),s1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},KN=/^#[\da-z]+$/i,Wo=e=>(t,r)=>{D(r,qo,{actual:e})&&t.walkDecls(n=>{Y.hexColor.test(n.value)&&(0,a1.default)(Qe(n)).walk(i=>{if(nd(i))return!1;if(!hB(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:Zh.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:qo})})})},Wo.ruleName=qo,Wo.messages=Zh,Wo.meta=s1,HN=Wo});function gB(e){return!e.includes("[")}var bB=y(()=>{}),ZN={};z(ZN,{default:()=>XN});var l1,_o,Xh,u1,Uo,XN,vB=y(()=>{l1=re(me(),1),X(),bB(),IN(),V(),I(),L(),F(),_o="color-no-invalid-hex",Xh=j(_o,{rejected:e=>`Unexpected invalid hex color "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Uo=e=>(t,r)=>{D(r,_o,{actual:e})&&t.walkDecls(n=>{Y.hexColor.test(n.value)&&gB(n.value)&&(0,l1.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 u=s[0];if(!u||ON(u))return;let l=ie(n)+a,c=l+u.length;P({message:Xh.rejected,messageArgs:[u],node:n,index:l,endIndex:c,result:r,ruleName:_o})})})},Uo.ruleName=_o,Uo.messages=Xh,Uo.meta=u1,XN=Uo});function Nc(e){return!("inline"in e||"inline"in e.raws)}var Im=y(()=>{}),JN={};z(JN,{default:()=>eE});var Vo,Md,c1,Qo,eE,yB=y(()=>{q(),Qc(),Gc(),Sm(),Jc(),Kc(),zm(),ow(),Im(),H(),I(),L(),F(),Vo="comment-empty-line-before",Md=j(Vo,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),c1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},Qo=(e,t,r)=>(n,i)=>{D(i,Vo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,U]},optional:!0})&&n.walkComments(o=>{if(Am(o)||xi(o,r.configurationComment)&&R(t,"ignore","stylelint-commands")||R(t,"ignore","after-comment")&&Ti(o)||R(t,"ignoreComments",o.text)||iw(o)||!Nc(o))return;let a=R(t,"except","first-nested")&&Dr(o)?!1:e==="always",s=o.raws.before||"",u=Yc(s);if(a===u)return;let l=a?Md.expected:Md.rejected,c=a?"add":"remove";P({message:l,messageArgs:[],node:o,result:i,ruleName:Vo,fix:{apply:()=>Vc({node:o,newline:r.newline,action:c}),node:o.parent}})})},Qo.ruleName=Vo,Qo.messages=Md,Qo.meta=c1,eE=Qo}),tE={};z(tE,{default:()=>rE});var Yo,Jh,d1,Go,rE,wB=y(()=>{Im(),I(),L(),F(),Yo="comment-no-empty",Jh=j(Yo,{rejected:"Unexpected empty comment"}),d1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Go=e=>(t,r)=>{D(r,Yo,{actual:e})&&t.walkComments(n=>{Nc(n)&&(n.text&&n.text.length!==0||P({message:Jh.rejected,messageArgs:[],node:n,result:r,ruleName:Yo}))})},Go.ruleName=Yo,Go.messages=Jh,Go.meta=d1,rE=Go}),nE={};z(nE,{default:()=>iE});var Ko,ef,p1,Ho,iE,kB=y(()=>{q(),I(),L(),F(),Ko="comment-pattern",ef=j(Ko,{expected:e=>`Expected comment to match pattern "${e}"`}),p1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Ho=e=>(t,r)=>{if(!D(r,Ko,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:ef.expected,messageArgs:[e],node:i,result:r,ruleName:Ko})})},Ho.ruleName=Ko,Ho.messages=ef,Ho.meta=p1,iE=Ho});function dv(e){return[" ",`
23
+ `," ","\r","\f"].includes(e)}var oE=y(()=>{}),aE={};z(aE,{default:()=>sE});function xB(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function SB(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var Zo,sn,m1,Xo,sE,CB=y(()=>{Im(),oE(),I(),L(),F(),Zo="comment-whitespace-inside",sn=j(Zo,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),m1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},Xo=e=>(t,r)=>{D(r,Zo,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var m,v;if(!Nc(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 u=a[1],l=(m=a[2])!=null?m:"",c=l.charAt(0),d=(v=s[1])!=null?v:"",p=d.charAt(0),h=s[2];if(e==="never"&&c!==""){let g=u.length,f=g+l.length;b(sn.rejectedOpening,g,f)}if(e==="always"&&!dv(c)&&b(sn.expectedOpening,u.length),e==="never"&&p!==""){let g=i.length-h.length,f=g-d.length;b(sn.rejectedClosing,f,g)}e==="always"&&!dv(p)&&b(sn.expectedClosing,i.length-h.length-1);function b(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:Zo,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?SB:xB)(n)},node:n}})}})},Xo.ruleName=Zo,Xo.messages=sn,Xo.meta=m1,sE=Xo});function AB(e,t){if(!Array.isArray(t))return h1(e,t);for(let r of t){let n=h1(e,r);if(n)return n}return!1}function h1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var zB=y(()=>{q()}),lE={};z(lE,{default:()=>uE});var Jo,tf,f1,Mn,uE,NB=y(()=>{q(),zB(),De(),I(),L(),F(),Jo="comment-word-disallowed-list",tf=j(Jo,{rejected:e=>`Unexpected word matching pattern "${e}"`}),f1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Mn=e=>(t,r)=>{D(r,Jo,{actual:e,possible:[$,U]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Ee(i,e)||AB(i,e);o&&P({message:tf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:Jo})})},Mn.primaryOptionArray=!0,Mn.ruleName=Jo,Mn.messages=tf,Mn.meta=f1,uE=Mn}),cE={};z(cE,{default:()=>dE});var rf,ea,nf,g1,b1,ta,dE,EB=y(()=>{rf=re(me(),1),X(),V(),q(),He(),tt(),ft(),qe(),I(),L(),F(),ea="container-name-pattern",nf=j(ea,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),g1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},b1=new Set(["and","or","none","not"]),ta=e=>(t,r)=>{var s,u,l,c;if(!D(r,ea,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(l=(u=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:u.syntax)==null?void 0:l.cssWideKeywords)!=null?c:[],o=new Set([...Ie,...i]);t.walkDecls(Mr.containerNameAndShorthandName,d=>{if(!ht(d))return;let p=(0,rf.default)(d.value),h=!1;p.walk(({sourceIndex:b,type:m,value:v})=>{if(!h){if(m==="div"&&v==="/"&&(h=!0),m!=="word")return!1;o.has(v.toLowerCase())||$e(v)&&(n.test(v)||a(ie(d)+b,v,d))}})}),t.walkAtRules(we.containerName,d=>{if(!et(d))return;let{params:p}=d;(0,rf.default)(p).walk(({sourceIndex:h,type:b,value:m})=>{if(b!=="word")return!1;b1.has(m.toLowerCase())||n.test(m)||a(Te(d)+h,m,d)})});function a(d,p,h){P({result:r,ruleName:ea,message:nf.expected,messageArgs:[p,e],node:h,index:d,endIndex:d+p.length})}},ta.ruleName=ea,ta.messages=nf,ta.meta=g1,dE=ta}),pE={};z(pE,{default:()=>mE});var ra,of,v1,na,mE,PB=y(()=>{q(),X(),V(),I(),L(),F(),ra="custom-media-pattern",of=j(ra,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),v1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},na=e=>(t,r)=>{if(!D(r,ra,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.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=Te(i);P({message:of.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:ra})})},na.ruleName=ra,na.messages=of,na.meta=v1,mE=na});function OB(e){var i;let t=pv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return pv.set(e,{result:n,before:r}),n}var pv,TB=y(()=>{pv=new WeakMap});function hw(e){return zc(e)?OB(e).slice(gN(e).length):""}var fw=y(()=>{bN(),Cm(),TB()});function hE(e){let t=e.prev();return t?ut(t)||Oe(t):!1}var fE=y(()=>{he()});function vt(e){return e.startsWith("--")}var Nr=y(()=>{});function jm(e){return!/[\n\r]/.test(e)}var Lm=y(()=>{}),gE={};z(gE,{default:()=>bE});function y1(e){let t=Lr(e);return t!=null&&_i(t)&&vt(t.prop)}var ia,Rd,w1,oa,bE,IB=y(()=>{he(),fw(),Qc(),zn(),Gc(),fE(),Sm(),Nr(),Kc(),Lm(),ft(),H(),I(),L(),F(),ia="custom-property-empty-line-before",Rd=j(ia,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),w1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},oa=(e,t,r)=>(n,i)=>{D(i,ia,{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(!ht(o)||!vt(a)||R(t,"ignore","after-comment")&&Ti(o)||R(t,"ignore","after-custom-property")&&y1(o)||R(t,"ignore","first-nested")&&Dr(o)||R(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||ut(s))&&jm(hw(s)))return;let u=e==="always";(R(t,"except","first-nested")&&Dr(o)||R(t,"except","after-block")&&hE(o)||R(t,"except","after-comment")&&Ti(o)||R(t,"except","after-custom-property")&&y1(o))&&(u=!u);let l=Yc(o.raws.before);if(u===l)return;let c=u?Rd.expected:Rd.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ia,fix:{apply:()=>Vc({node:o,newline:r.newline,action:d}),node:o.parent}})})},oa.ruleName=ia,oa.messages=Rd,oa.meta=w1,bE=oa}),vE={};z(vE,{default:()=>yE});function k1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var x1,aa,af,S1,C1,sa,yE,jB=y(()=>{x1=re(me(),1),V(),X(),rd(),I(),L(),F(),aa="custom-property-no-missing-var-function",af=j(aa,{rejected:e=>`Unexpected missing var function for "${e}"`}),S1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},C1=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"]),sa=e=>(t,r)=>{if(!D(r,aa,{actual:e}))return;let n=new Set;t.walkAtRules(we.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(Mr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Y.customProperty.test(s)&&(C1.has(a.toLowerCase())||(0,x1.default)(s).nodes.forEach(u=>{i(u,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&&Yi(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(h=>{h.type==="div"&&h.value===":"?p=!0:!p&&k1(h)||p&&i(h,a)});return}d.forEach(p=>i(p,a));return}if(!k1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let u=ie(a)+o.sourceIndex,l=u+s.length;P({message:af.rejected,messageArgs:[s],node:a,index:u,endIndex:l,result:r,ruleName:aa})}},sa.ruleName=aa,sa.messages=af,sa.meta=S1,yE=sa});function Rr(e){return!(Iz(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||ym(e))}var $r=y(()=>{wm(),jz()}),wE={};z(wE,{default:()=>kE});var A1,la,sf,z1,ua,kE,LB=y(()=>{A1=re(me(),1),X(),V(),q(),Nr(),$r(),rd(),I(),L(),F(),la="custom-property-pattern",sf=j(la,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),z1={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ua=e=>(t,r)=>{if(!D(r,la,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!vt(a)||!Rr(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:u}=a;Y.varFunction.test(u)&&(0,A1.default)(u).walk(l=>{if(!Yi(l))return;let{nodes:c}=l,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(we.propertyName,a=>{let{params:s}=a;i(s)||o(Te(a),s,a)});function o(a,s,u){P({result:r,ruleName:la,message:sf.expected,messageArgs:[s,e],node:u,index:a,endIndex:a+s.length})}},ua.ruleName=la,ua.messages=sf,ua.meta=z1,kE=ua});function DB(e){return ut(e)||Oe(e)||ur(e)}function Dm(e,t){function r(n){if(DB(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 Fm=y(()=>{he()}),xE={};z(xE,{default:()=>SE});var ca,lf,N1,da,SE,FB=y(()=>{q(),Fm(),Nr(),$r(),H(),I(),L(),F(),ca="declaration-block-no-duplicate-custom-properties",lf=j(ca,{rejected:e=>`Unexpected duplicate "${e}"`}),N1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},da=(e,t)=>(r,n)=>{D(n,ca,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&Dm(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Rr(s)||!vt(s)||R(t,"ignoreProperties",s))){if(o.has(s)){P({message:lf.rejected,messageArgs:[s],node:a,result:n,ruleName:ca,word:s});return}o.add(s)}})})},da.ruleName=ca,da.messages=lf,da.meta=N1,SE=da}),E1=y(()=>{});function ct(e){return e>=48&&e<=57}function Xr(e){return ct(e)||e>=65&&e<=70||e>=97&&e<=102}function gw(e){return e>=65&&e<=90}function MB(e){return e>=97&&e<=122}function RB(e){return gw(e)||MB(e)}function $B(e){return e>=128}function Gp(e){return RB(e)||$B(e)||e===95}function CE(e){return Gp(e)||ct(e)||e===45}function BB(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Kp(e){return e===10||e===13||e===12}function wn(e){return Kp(e)||e===32||e===9}function vr(e,t){return!(e!==92||Kp(t)||t===0)}function yp(e,t,r){return e===45?Gp(t)||t===45||vr(t,r):Gp(e)?!0:e===92?vr(e,t):!1}function uf(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 AE(e){return e===65279||e===65534?1:0}function cf(e){return e<128?wp[e]:Hp}var wp,P1,sc,mv,Hp,hv,Zp=y(()=>{wp=new Array(128),P1=128,sc=130,mv=131,Hp=132,hv=133;for(let e=0;e<wp.length;e++)wp[e]=wn(e)&&sc||ct(e)&&mv||Gp(e)&&Hp||BB(e)&&hv||e||P1});function Ci(e,t){return t<e.length?e.charCodeAt(t):0}function fv(e,t,r){return r===13&&Ci(e,t+1)===10?2:1}function Ai(e,t,r){let n=e.charCodeAt(t);return gw(n)&&(n=n|32),n===r}function Ec(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(gw(a)&&(a=a|32),a!==o)return!1}return!0}function qB(e,t){for(;t>=0&&wn(e.charCodeAt(t));t--);return t+1}function $d(e,t){for(;t<e.length&&wn(e.charCodeAt(t));t++);return t}function df(e,t){for(;t<e.length&&ct(e.charCodeAt(t));t++);return t}function ji(e,t){if(t+=2,Xr(Ci(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Xr(Ci(e,t));t++);let r=Ci(e,t);wn(r)&&(t+=fv(e,t,r))}return t}function Bd(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!CE(r)){if(vr(r,Ci(e,t+1))){t=ji(e,t)-1;continue}break}}return t}function Mm(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),ct(r)&&(t=df(e,t+1),r=e.charCodeAt(t)),r===46&&ct(e.charCodeAt(t+1))&&(t+=2,t=df(e,t)),Ai(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=df(e,t+1+n+1))}return t}function pf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}vr(r,Ci(e,t+1))&&(t=ji(e,t))}return t}function zE(e){if(e.length===1&&!Xr(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 gv=y(()=>{Zp()}),Xp,NE=y(()=>{Xp=["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 Jp(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var EE=y(()=>{});function O1(e){let t=e.source,r=t.length,n=t.length>0?AE(t.charCodeAt(0)):0,i=Jp(e.lines,r),o=Jp(e.columns,r),a=e.startLine,s=e.startColumn;for(let u=n;u<r;u++){let l=t.charCodeAt(u);i[u]=a,o[u]=s++,(l===bv||l===vv||l===PE)&&(l===vv&&u+1<r&&t.charCodeAt(u+1)===bv&&(u++,i[u]=a,o[u]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var bv,PE,vv,OE,WB=y(()=>{EE(),Zp(),bv=10,PE=12,vv=13,OE=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||O1(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||O1(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 T1(e,t,r){return e<t?t:e>r?r:e}var Wt,_t,Rn,pa,Tr,Ut,TE,_B=y(()=>{EE(),gv(),NE(),Wt=16777215,_t=24,Rn=1,pa=2,Tr=new Uint8Array(32),Tr[2]=22,Tr[21]=22,Tr[19]=20,Tr[23]=24,Ut=new Uint8Array(32),Ut[2]=Rn,Ut[21]=Rn,Ut[19]=Rn,Ut[23]=Rn,Ut[22]=pa,Ut[20]=pa,Ut[24]=pa,TE=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=Jp(this.offsetAndType,e.length+1),i=Jp(this.balance,e.length+1),o=0,a=-1,s=0,u=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(l,c,d)=>{let p=o++;if(n[p]=l<<_t|d,a===-1&&(a=c),i[p]=u,l===s){let h=i[u];i[u]=p,u=h,s=Tr[n[h]>>_t]}else this.isBlockOpenerTokenType(l)&&(u=p,s=Tr[l])}),n[o]=0<<_t|r,i[o]=o;for(let l=0;l<o;l++){let c=i[l];if(c<=l){let d=i[c];d!==l&&(i[l]=d)}else c>o&&(i[l]=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]>>_t:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>_t;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Wt:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>_t;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Ec(this.source,this.offsetAndType[e-1]&Wt,this.offsetAndType[e]&Wt,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Wt:this.offsetAndType[this.tokenCount]&Wt:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[T1(e,0,this.tokenCount)]&Wt}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[T1(e,0,this.tokenCount)]>>_t}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Ut[e]===Rn}isBlockCloserTokenType(e){return Ut[e]===pa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Ut[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Tr[t]===n?r:-1}else if(Ut[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Tr[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]&Wt,t=this.offsetAndType[t],this.tokenType=t>>_t,this.tokenEnd=t&Wt):(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>>_t,this.tokenEnd=e&Wt):(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]&Wt:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>_t)&&(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&Wt,a=i>>_t;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:Xp[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function Rm(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(l=Mm(e,l),yp(r(l),r(l+1),r(l+2))){c=12,l=Bd(e,l);return}if(r(l)===37){c=11,l++;return}c=10}function i(){let d=l;if(l=Bd(e,l),Ec(e,d,l,"url")&&r(l)===40){if(l=$d(e,l+1),r(l)===34||r(l)===39){c=2,l=d+4;return}a();return}if(r(l)===40){c=2,l++;return}c=1}function o(d){for(d||(d=r(l++)),c=5;l<e.length;l++){let p=e.charCodeAt(l);switch(cf(p)){case d:l++;return;case sc:if(Kp(p)){l+=fv(e,l,p),c=6;return}break;case 92:if(l===e.length-1)break;let h=r(l+1);Kp(h)?l+=fv(e,l+1,h):vr(p,h)&&(l=ji(e,l)-1);break}}}function a(){for(c=7,l=$d(e,l);l<e.length;l++){let d=e.charCodeAt(l);switch(cf(d)){case 41:l++;return;case sc:if(l=$d(e,l),r(l)===41||l>=e.length){l<e.length&&l++;return}l=pf(e,l),c=8;return;case 34:case 39:case 40:case hv:l=pf(e,l),c=8;return;case 92:if(vr(d,r(l+1))){l=ji(e,l)-1;break}l=pf(e,l),c=8;return}}}e=String(e||"");let s=e.length,u=AE(r(0)),l=u,c;for(;l<s;){let d=e.charCodeAt(l);switch(cf(d)){case sc:c=13,l=$d(e,l+1);break;case 34:o();break;case 35:CE(r(l+1))||vr(r(l+1),r(l+2))?(c=4,l=Bd(e,l+1)):(c=9,l++);break;case 39:o();break;case 40:c=21,l++;break;case 41:c=22,l++;break;case 43:uf(d,r(l+1),r(l+2))?n():(c=9,l++);break;case 44:c=18,l++;break;case 45:uf(d,r(l+1),r(l+2))?n():r(l+1)===45&&r(l+2)===62?(c=15,l=l+3):yp(d,r(l+1),r(l+2))?i():(c=9,l++);break;case 46:uf(d,r(l+1),r(l+2))?n():(c=9,l++);break;case 47:r(l+1)===42?(c=25,l=e.indexOf("*/",l+2),l=l===-1?e.length:l+2):(c=9,l++);break;case 58:c=16,l++;break;case 59:c=17,l++;break;case 60:r(l+1)===33&&r(l+2)===45&&r(l+3)===45?(c=14,l=l+4):(c=9,l++);break;case 64:yp(r(l+1),r(l+2),r(l+3))?(c=3,l=Bd(e,l+1)):(c=9,l++);break;case 91:c=19,l++;break;case 92:vr(d,r(l+1))?i():(c=9,l++);break;case 93:c=20,l++;break;case 123:c=23,l++;break;case 125:c=24,l++;break;case mv:n();break;case Hp:i();break;default:c=9,l++}t(c,u,u=l)}}var dr=y(()=>{Zp(),gv(),E1(),E1(),NE(),Zp(),gv(),WB(),_B()}),ln,Pc,bw=y(()=>{ln=null,Pc=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 em(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 vw=y(()=>{});function I1({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(b,m){return l.slice(b,m).map((v,g)=>String(b+g+1).padStart(p)+" |"+v).join(`
24
25
  `)}let s=`
25
- `.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),m=Math.max(4,String(d).length)+1,h=0;r+=(nv.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>cp&&(h=r-rv+3,r=rv-2);for(let b=c;b<=d;b++)b>=0&&b<u.length&&(u[b]=u[b].replace(/\t/g,nv),u[b]=(h>0&&u[b].length>h?"…":"")+u[b].substr(h,cp-2)+(u[b].length>h+cp-1?"…":""));return[a(c,t),new Array(r+m+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
26
- `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function m1(e,t,r,n,i,o=1,a=1){return Object.assign(Wp("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return p1({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
27
- `+p1({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var cp,rv,nv,wB=y(()=>{Zy(),cp=100,rv=60,nv=" "});function kB(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 xB=y(()=>{te()});function SB(e){return function(){return this[e]()}}function Hh(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 CB(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Hh(e.atrule),pseudo:Hh(e.pseudo),node:Hh(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]=SB(n);break}return{config:t,...t,...t.node}}function AB(e){let t="",r="<unknown>",n=!1,i=iv,o=!1,a=new iP,s=Object.assign(new oP,CB(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:kB,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(l){return l===ov?1:0},consumeUntilLeftCurlyBracketOrSemicolon(l){return l===ov||l===dp?1:0},consumeUntilExclamationMarkOrSemicolon(l){return l===aP||l===dp?1:0},consumeUntilSemicolonIncluded(l){return l===dp?2:0},createList(){return new Cc},createSingleNodeList(l){return new Cc().appendData(l)},getFirstListNode(l){return l&&l.first},getLastListNode(l){return l&&l.last},parseWithFallback(l,u){let c=this.tokenIndex;try{return l.call(this)}catch(d){if(o)throw d;this.skip(c-this.tokenIndex);let m=u.call(this);return o=!0,i(d,m),o=!1,m}},lookupNonWSType(l){let u;do if(u=this.lookupType(l++),u!==13&&u!==25)return u;while(u!==av);return av},charCodeAt(l){return l>=0&&l<t.length?t.charCodeAt(l):0},substring(l,u){return t.substring(l,u)},substrToCursor(l){return this.source.substring(l,this.tokenStart)},cmpChar(l,u){return yi(t,l,u)},cmpStr(l,u,c){return Sc(t,l,u,c)},consume(l){let u=this.tokenStart;return this.eat(l),this.substrToCursor(u)},consumeFunctionName(){let l=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),l},consumeNumber(l){let u=t.substring(this.tokenStart,Sm(t,this.tokenStart));return this.eat(l),u},eat(l){if(this.tokenType!==l){let u=Xy[l].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),c=`${/[[\](){}]/.test(u)?`"${u}"`:u} is expected`,d=this.tokenStart;switch(l){case 1:this.tokenType===2||this.tokenType===7?(d=this.tokenEnd-1,c="Identifier is expected but function found"):c="Identifier is expected";break;case 4:this.isDelim(sP)&&(this.next(),d++,c="Name is expected");break;case 11:this.tokenType===10&&(d=this.tokenEnd,c="Percent sign is expected");break}this.error(c,d)}this.next()},eatIdent(l){(this.tokenType!==1||this.lookupValue(0,l)===!1)&&this.error(`Identifier "${l}" is expected`),this.next()},eatDelim(l){this.isDelim(l)||this.error(`Delim "${String.fromCharCode(l)}" is expected`),this.next()},getLocation(l,u){return n?a.getLocationRange(l,u,r):null},getLocationFromList(l){if(n){let u=this.getFirstListNode(l),c=this.getLastListNode(l);return a.getLocationRange(u!==null?u.loc.start.offset-a.startOffset:this.tokenStart,c!==null?c.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(l,u){let c=typeof u<"u"&&u<t.length?a.getLocation(u):this.eof?a.getLocation(bB(t,t.length-1)):a.getLocation(this.tokenStart);throw new m1(l||"Unexpected input",t,c.offset,c.line,c.column,a.startLine,a.startColumn)}});return Object.assign(function(l,u){t=l,u=u||{},s.setSource(t,Cm),a.setSource(t,u.offset,u.line,u.column),r=u.filename||"<unknown>",n=!!u.positions,i=typeof u.onParseError=="function"?u.onParseError:iv,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in u?!!u.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in u?!!u.parseRulePrelude:!0,s.parseValue="parseValue"in u?!!u.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in u?!!u.parseCustomProperty:!1;let{context:c="default",onComment:d}=u;if(!(c in s.context))throw new Error("Unknown context `"+c+"`");typeof d=="function"&&s.forEachToken((h,b,p)=>{if(h===25){let v=s.getLocation(b,p),f=Sc(t,p-2,p,"*/")?t.slice(b+2,p-2):t.slice(b+2,p);d(f,v)}});let m=s.context[c].call(s,u);return s.eof||s.error(),m},{SyntaxError:m1,config:s.config})}var iv,aP,sP,dp,ov,av,zB=y(()=>{Xc(),wB(),te(),xB(),iv=()=>{},aP=33,sP=35,dp=59,ov=123,av=0}),lP,NB=y(()=>{lP=()=>{}}),sv={};z(sv,{safe:()=>ew,spec:()=>dP});function h1(e){let t=new Set(e.map(([r,n])=>pp(r)<<16|pp(n)));return function(r,n,i){let o=pp(n,i),a=i.charCodeAt(0);return(a===cP&&n!==1&&n!==2&&n!==15||a===uP?t.has(r<<16|a<<8):t.has(r<<16|o))&&this.emit(" ",13,!0),o}}var uP,cP,pp,Xh,f1,dP,ew,PB=y(()=>{te(),uP=43,cP=45,pp=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},Xh=[[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],["/","*"]],f1=Xh.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,"-"]]),dP=h1(Xh),ew=h1(f1)});function EB(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 OB(e){Cm(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function IB(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:ew,token(l,u){o=this.tokenBefore(o,l,u),this.emit(u,l,!1),l===9&&u.charCodeAt(0)===pP&&this.emit(`
28
- `,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=lP(a)),n.mode in sv&&(a.tokenBefore=sv[n.mode]));let s={node:l=>a.node(l),children:EB,token:(l,u)=>a.token(l,u),tokenize:OB};return a.node(r),a.result()}}var pP,jB=y(()=>{te(),NB(),PB(),pP=92}),mP,TB=y(()=>{mP=()=>({})});function g1(e){return typeof e=="function"?e:ui}function b1(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function LB(e,t){let r=t.structure,n=[];for(let i in r){if(Am.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 DB(e){let t={};for(let r in e.node)if(Am.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]=LB(r,n)}return t}function v1(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 y1({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 FB(e){let t=DB(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)Am.call(t,u)&&t[u]!==null&&(r[u]=v1(t[u],!1),n[u]=v1(t[u],!0));let a=y1(r),s=y1(n),l=function(u,c){function d(f,g,x){let k=m.call(v,f,g,x);return k===i?!0:k===o?!1:!!(b.hasOwnProperty(f.type)&&b[f.type](f,v,d,p)||h.call(v,f,g,x)===i)}let m=ui,h=ui,b=r,p=(f,g,x,k)=>f||d(g,x,k),v={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")m=c;else if(c&&(m=g1(c.enter),h=g1(c.leave),c.reverse&&(b=n),c.visit)){if(a.hasOwnProperty(c.visit))b=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(", ")+")");m=b1(m,c.visit),h=b1(h,c.visit)}if(m===ui&&h===ui)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(m,h,b){if(c.call(this,m,h,b))return d=m,i}),d},l.findLast=function(u,c){let d=null;return l(u,{reverse:!0,enter(m,h,b){if(c.call(this,m,h,b))return d=m,i}}),d},l.findAll=function(u,c){let d=[];return l(u,function(m,h,b){c.call(this,m,h,b)&&d.push(m)}),d},l}var Am,ui,MB=y(()=>{({hasOwnProperty:Am}=Object.prototype),ui=function(){}});function RB(e){return e}function $B(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 BB(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 qB(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Up(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Up(e,t,r,n){let i;switch(e.type){case"Group":i=qB(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Up(e.term,t,r,n)+t($B(e),e);case"Boolean":i="<boolean-expr["+Up(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(BB(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 WB(e,t){let r=RB,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Up(e,r,n,i)}var hP=y(()=>{});function UB(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 m=0;m<r.length;m++){let h=r[m].value;m===n&&(s=h.length,a=u.length),o!==null&&r[m].node===o&&(m<=n?l++:l=0),u+=h}return n===r.length||l>1?(c=Dd(o||t,"end")||Gu(lv,u),d=Gu(c)):(c=Dd(o,"start")||Gu(Dd(t,"start")||lv,u.slice(0,a)),d=Dd(o,"end")||Gu(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function Dd(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?Gu(r):r:null}function Gu({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 lv,mp,fP,_B=y(()=>{Zy(),hP(),lv={offset:0,line:1,column:1},mp=function(e,t){let r=Wp("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},fP=function(e,t,r,n){let i=Wp("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=UB(n,r);return i.rawMessage=e,i.syntax=t?WB(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
26
+ `.repeat(Math.max(n-1,0)),u=" ".repeat(Math.max(i-1,0)),l=(s+u+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,l.length+1),p=Math.max(4,String(d).length)+1,h=0;r+=(wv.length-1)*(l[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>kp&&(h=r-yv+3,r=yv-2);for(let b=c;b<=d;b++)b>=0&&b<l.length&&(l[b]=l[b].replace(/\t/g,wv),l[b]=(h>0&&l[b].length>h?"…":"")+l[b].substr(h,kp-2)+(l[b].length>h+kp-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 j1(e,t,r,n,i,o=1,a=1){return Object.assign(em("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return I1({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
28
+ `+I1({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var kp,yv,wv,UB=y(()=>{vw(),kp=100,yv=60,wv=" "});function VB(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 QB=y(()=>{});function YB(e){return function(){return this[e]()}}function mf(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 GB(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:mf(e.atrule),pseudo:mf(e.pseudo),node:mf(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]=YB(n);break}return{config:t,...t,...t.node}}function KB(e){let t="",r="<unknown>",n=!1,i=pn,o=!1,a=new OE,s=Object.assign(new TE,GB(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:VB,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(l){return l===kv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(l){return l===kv||l===xp?1:0},consumeUntilExclamationMarkOrSemicolon(l){return l===IE||l===xp?1:0},consumeUntilSemicolonIncluded(l){return l===xp?2:0},createList:pn,createSingleNodeList:pn,getFirstListNode:pn,getLastListNode:pn,parseWithFallback(l,c){let d=this.tokenIndex;try{return l.call(this)}catch(p){if(o)throw p;this.skip(d-this.tokenIndex);let h=c.call(this);return o=!0,i(p,h),o=!1,h}},lookupNonWSType(l){let c;do if(c=this.lookupType(l++),c!==13&&c!==25)return c;while(c!==xv);return xv},charCodeAt(l){return l>=0&&l<t.length?t.charCodeAt(l):0},substring(l,c){return t.substring(l,c)},substrToCursor(l){return this.source.substring(l,this.tokenStart)},cmpChar(l,c){return Ai(t,l,c)},cmpStr(l,c,d){return Ec(t,l,c,d)},consume(l){let c=this.tokenStart;return this.eat(l),this.substrToCursor(c)},consumeFunctionName(){let l=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),l},consumeNumber(l){let c=t.substring(this.tokenStart,Mm(t,this.tokenStart));return this.eat(l),c},eat(l){if(this.tokenType!==l){let c=Xp[l].slice(0,-6).replace(/-/g," ").replace(/^./,h=>h.toUpperCase()),d=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,p=this.tokenStart;switch(l){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(jE)&&(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(l){(this.tokenType!==1||this.lookupValue(0,l)===!1)&&this.error(`Identifier "${l}" is expected`),this.next()},eatDelim(l){this.isDelim(l)||this.error(`Delim "${String.fromCharCode(l)}" is expected`),this.next()},getLocation(l,c){return n?a.getLocationRange(l,c,r):null},getLocationFromList(l){if(n){let c=this.getFirstListNode(l),d=this.getLastListNode(l);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(l,c){let d=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(qB(t,t.length-1)):a.getLocation(this.tokenStart);throw new j1(l||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}}),u=()=>({filename:r,source:t,tokenCount:s.tokenCount,getTokenType:l=>s.getTokenType(l),getTokenTypeName:l=>Xp[s.getTokenType(l)],getTokenStart:l=>s.getTokenStart(l),getTokenEnd:l=>s.getTokenEnd(l),getTokenValue:l=>s.source.substring(s.getTokenStart(l),s.getTokenEnd(l)),substring:(l,c)=>s.source.substring(l,c),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:l=>s.getBlockTokenPairIndex(l),getLocation:l=>a.getLocation(l,r),getRangeLocation:(l,c)=>a.getLocationRange(l,c,r)});return Object.assign(function(l,c){t=l,c=c||{},s.setSource(t,Rm),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:pn,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:h,onToken:b}=c;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");Object.assign(s,p?DE:LE),Array.isArray(b)?s.forEachToken((v,g,f)=>{b.push({type:v,start:g,end:f})}):typeof b=="function"&&s.forEachToken(b.bind(u())),typeof h=="function"&&s.forEachToken((v,g,f)=>{if(v===25){let x=s.getLocation(g,f),w=Ec(t,f-2,f,"*/")?t.slice(g+2,f-2):t.slice(g+2,f);h(w,x)}});let m=s.context[d].call(s,c);return s.eof||s.error(),m},{SyntaxError:j1,config:s.config})}var pn,IE,jE,xp,kv,xv,LE,DE,HB=y(()=>{bw(),UB(),dr(),QB(),pn=()=>{},IE=33,jE=35,xp=59,kv=123,xv=0,LE={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}},DE={createList(){return new Pc},createSingleNodeList(e){return new Pc().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),FE,ZB=y(()=>{FE=()=>{}}),Sv={};z(Sv,{safe:()=>yw,spec:()=>$E});function L1(e){let t=new Set(e.map(([r,n])=>Sp(r)<<16|Sp(n)));return function(r,n,i){let o=Sp(n,i),a=i.charCodeAt(0),s=a===RE&&n!==1&&n!==2&&n!==15||a===ME?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var ME,RE,Sp,hf,D1,$E,yw,XB=y(()=>{ME=43,RE=45,Sp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),hf=[[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],["/","*"]],D1=hf.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,"-"]]),$E=L1(hf),yw=L1(D1)});function JB(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 eq(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(u){if(t.has(u.type))t.get(u.type).call(s,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:yw,token(u,l,c){o=this.tokenBefore(o,u,l),!c&&o&1&&this.emit(" ",13,!0),this.emit(l,u,!1),u===9&&l.charCodeAt(0)===BE&&this.emit(`
29
+ `,13,!0)},emit(u){i+=u},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=FE(a)),n.mode in Sv&&(a.tokenBefore=Sv[n.mode]));let s={node:u=>a.node(u),children:JB,token:(u,l)=>a.token(u,l),tokenize:u=>Rm(u,(l,c,d)=>{a.token(l,u.slice(c,d),c!==0)})};return a.node(r),a.result()}}var BE,tq=y(()=>{dr(),ZB(),XB(),BE=92}),qE,rq=y(()=>{qE=()=>({})});function F1(e){return typeof e=="function"?e:fi}function M1(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function nq(e,t){let r=t.structure,n=[];for(let i in r){if($m.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 iq(e){let t={};for(let r in e.node)if($m.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]=nq(r,n)}return t}function R1(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,u){let l;i&&(l=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(u,!1):d.reduce(u,!1))return!0}else if(s(d))return!0}}i&&(a[n]=l)}}function $1({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 oq(e){let t=iq(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let l in t)$m.call(t,l)&&t[l]!==null&&(r[l]=R1(t[l],!1),n[l]=R1(t[l],!0));let a=$1(r),s=$1(n),u=function(l,c){function d(g,f,x){let w=p.call(v,g,f,x);return w===i?!0:w===o?!1:!!(b.hasOwnProperty(g.type)&&b[g.type](g,v,d,m)||h.call(v,g,f,x)===i)}let p=fi,h=fi,b=r,m=(g,f,x,w)=>g||d(f,x,w),v={break:i,skip:o,root:l,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=F1(c.enter),h=F1(c.leave),c.reverse&&(b=n),c.visit)){if(a.hasOwnProperty(c.visit))b=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=M1(p,c.visit),h=M1(h,c.visit)}if(p===fi&&h===fi)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(l)};return u.break=i,u.skip=o,u.find=function(l,c){let d=null;return u(l,function(p,h,b){if(c.call(this,p,h,b))return d=p,i}),d},u.findLast=function(l,c){let d=null;return u(l,{reverse:!0,enter(p,h,b){if(c.call(this,p,h,b))return d=p,i}}),d},u.findAll=function(l,c){let d=[];return u(l,function(p,h,b){c.call(this,p,h,b)&&d.push(p)}),d},u}var $m,fi,aq=y(()=>{({hasOwnProperty:$m}=Object.prototype),fi=function(){}});function sq(e){return e}function lq(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 uq(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 cq(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=cq(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return tm(e.term,t,r,n)+t(lq(e),e);case"Boolean":i="<boolean-expr["+tm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(uq(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 dq(e,t){let r=sq,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 pq=y(()=>{});function mq(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,u=0,l="",c,d;for(let p=0;p<r.length;p++){let h=r[p].value;p===n&&(s=h.length,a=l.length),o!==null&&r[p].node===o&&(p<=n?u++:u=0),l+=h}return n===r.length||u>1?(c=qd(o||t,"end")||Ju(Cv,l),d=Ju(c)):(c=qd(o,"start")||Ju(qd(t,"start")||Cv,l.slice(0,a)),d=qd(o,"end")||Ju(c,l.substr(a,s))),{css:l,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function qd(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?Ju(r):r:null}function Ju({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 Cv,Cp,WE,hq=y(()=>{vw(),pq(),Cv={offset:0,line:1,column:1},Cp=function(e,t){let r=em("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},WE=function(e,t,r,n){let i=em("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:u,end:l}=mq(n,r);return i.rawMessage=e,i.syntax=t?dq(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
29
30
  syntax: `+i.syntax+`
30
31
  value: `+(o||"<empty string>")+`
31
- --------`+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 tw(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ac&&e.charCodeAt(t+1)===Ac}function gP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ac&&e.charCodeAt(t+1)!==Ac){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function VB(e){if(Ku.has(e))return Ku.get(e);let t=e.toLowerCase(),r=Ku.get(t);if(r===void 0){let n=tw(t,0),i=n?"":gP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return Ku.set(e,r),r}function QB(e){if(cn.has(e))return cn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=tw(t,r.length);if(!n&&(t=t.toLowerCase(),cn.has(t))){let s=cn.get(t);return cn.set(e,s),s}let i=n?"":gP(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 cn.set(e,a),a}var Ku,cn,Ac,hp,uv,rw=y(()=>{Ku=new Map,cn=new Map,Ac=45,hp=VB,uv=QB}),zm,nw=y(()=>{zm=["initial","inherit","unset","revert","revert-layer"]});function cv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function ic(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===Pi||i===er){if(r)return 0;t++}for(;t<e.value.length;t++)if(!dt(e.value.charCodeAt(t)))return 0;return n+1}function Zh(e,t,r){let n=!1,i=ic(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(cv(e,Pi)||cv(e,er)){if(n=!0,i=ic(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!==Pi&&o!==er)return 0}return qr(e,n?0:1,n,i)}function YB(e,t){let r=0;if(!e)return 0;if(e.type===10)return qr(e,0,bP,r);if(e.type===1&&e.value.charCodeAt(0)===er){if(!yi(e.value,1,fp))return 0;switch(e.value.length){case 2:return Zh(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==er?0:(r=ic(t(++r),r,t),e=t(r),qr(e,0,dn,r));default:return e.value.charCodeAt(2)!==er?0:qr(e,3,dn,r)}}else if(e.type===1||cv(e,Pi)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!yi(e.value,0,fp))return 0;switch(e.value.length){case 1:return Zh(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==er?0:(r=ic(t(++r),r,t),e=t(r),qr(e,0,dn,r));default:return e.value.charCodeAt(1)!==er?0:qr(e,2,dn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Pi||n===er?1:0,o=i;for(;o<e.value.length&&dt(e.value.charCodeAt(o));o++);return o===i||!yi(e.value,o,fp)?0:o+1===e.value.length?Zh(t(++r),r,t):e.value.charCodeAt(o+1)!==er?0:o+2===e.value.length?(r=ic(t(++r),r,t),e=t(r),qr(e,0,dn,r)):qr(e,o+2,dn,r)}return 0}var Pi,er,fp,dn,bP,GB=y(()=>{te(),Pi=43,er=45,fp=110,dn=!0,bP=!1});function dv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function KB(e,t){return e.value.charCodeAt(0)===t}function Ju(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===iw&&r&&n!==0)return Ju(e,t+n+1,!1),6;if(!Jr(o)||++n>6)return 0}return n}function Fd(e,t,r){if(!e)return 0;for(;dv(r(t),ow);){if(++e>6)return 0;t++}return t}function JB(e,t){let r=0;if(e===null||e.type!==1||!yi(e.value,0,yP)||(e=t(++r),e===null))return 0;if(dv(e,vP))return e=t(++r),e===null?0:e.type===1?Fd(Ju(e,0,!0),++r,t):dv(e,ow)?Fd(1,++r,t):0;if(e.type===10){let n=Ju(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!KB(e,iw)||!Ju(e,1,!1)?0:r+1:Fd(n,r,t))}return e.type===12?Fd(Ju(e,1,!0),++r,t):0}var vP,iw,ow,yP,HB=y(()=>{te(),vP=43,iw=45,ow=63,yP=117});function ar(e,t){return t<e.length?e.charCodeAt(t):0}function wP(e,t){return Sc(e,0,e.length,t)}function kP(e,t){for(let r=0;r<t.length;r++)if(wP(e,t[r]))return!0;return!1}function xP(e,t){return t!==e.length-2?!1:ar(e,t)===92&&dt(ar(e,t+1))}function Nm(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 XB(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=Pm.get(e.type);break}i++}while(e=t(i));return i}function Ut(e){return function(t,r,n){return t===null?0:t.type===2&&kP(t.value,AP)?XB(t,r):e(t,r,n)}}function Re(e){return function(t){return t===null||t.type!==e?0:1}}function ZB(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return kP(t,zm)||wP(t,"default")?0:1}function SP(e){return e===null||e.type!==1||ar(e.value,0)!==45||ar(e.value,1)!==45?0:1}function eq(e){return!SP(e)||e.value==="--"?0:1}function tq(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(!Jr(ar(e.value,r)))return 0;return 1}function rq(e){return e===null||e.type!==4||!lp(ar(e.value,1),ar(e.value,2),ar(e.value,3))?0:1}function nq(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=Pm.get(e.type);break}i++}while(e=t(i));return i}function iq(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=Pm.get(e.type);break}i++}while(e=t(i));return i}function zr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=Sm(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!xP(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return Nm(n,t.value,i)?0:1}}function oq(e,t,r){return e===null||e.type!==11||Nm(r,e.value,e.value.length-1)?0:1}function CP(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 aq(e,t,r){if(e===null)return 0;let n=Sm(e.value,0);return n!==e.value.length&&!xP(e.value,n)||Nm(r,e.value,n)?0:1}function sq(e,t,r){if(e===null||e.type!==10)return 0;let n=ar(e.value,0)===43||ar(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!dt(ar(e.value,n)))return 0;return Nm(r,e.value,n)?0:1}function lq(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Ut(zr(null)),angle:Ut(zr(t)),decibel:Ut(zr(r)),frequency:Ut(zr(n)),flex:Ut(zr(i)),length:Ut(CP(zr(o))),resolution:Ut(zr(a)),semitones:Ut(zr(s)),time:Ut(zr(l))}}function uq(e){return{...zP,...NP,...lq(e)}}var AP,Pm,zP,NP,cq=y(()=>{nw(),GB(),HB(),te(),AP=["calc(","-moz-calc(","-webkit-calc("],Pm=new Map([[2,22],[21,22],[19,20],[23,24]]),zP={"ident-token":Re(1),"function-token":Re(2),"at-keyword-token":Re(3),"hash-token":Re(4),"string-token":Re(5),"bad-string-token":Re(6),"url-token":Re(7),"bad-url-token":Re(8),"delim-token":Re(9),"number-token":Re(10),"percentage-token":Re(11),"dimension-token":Re(12),"whitespace-token":Re(13),"CDO-token":Re(14),"CDC-token":Re(15),"colon-token":Re(16),"semicolon-token":Re(17),"comma-token":Re(18),"[-token":Re(19),"]-token":Re(20),"(-token":Re(21),")-token":Re(22),"{-token":Re(23),"}-token":Re(24)},NP={string:Re(5),ident:Re(1),percentage:Ut(oq),zero:CP(),number:Ut(aq),integer:Ut(sq),"custom-ident":ZB,"dashed-ident":SP,"custom-property-name":eq,"hex-color":tq,"id-selector":rq,"an-plus-b":YB,urange:JB,"declaration-value":nq,"any-value":iq}}),pv={};z(pv,{angle:()=>EP,decibel:()=>LP,flex:()=>TP,frequency:()=>IP,length:()=>PP,resolution:()=>jP,semitones:()=>DP,time:()=>OP});var PP,EP,OP,IP,jP,TP,LP,DP,dq=y(()=>{PP=["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"],EP=["deg","grad","rad","turn"],OP=["s","ms"],IP=["hz","khz"],jP=["dpi","dpcm","dppx","x"],TP=["fr"],LP=["db"],DP=["st"]});function pq(e,t,r){return Object.assign(Wp("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
32
+ --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,u),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:u,end:l},i}});function ww(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Oc&&e.charCodeAt(t+1)===Oc}function _E(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Oc&&e.charCodeAt(t+1)!==Oc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function fq(e){if(ec.has(e))return ec.get(e);let t=e.toLowerCase(),r=ec.get(t);if(r===void 0){let n=ww(t,0),i=n?"":_E(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return ec.set(e,r),r}function gq(e){if(mn.has(e))return mn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=ww(t,r.length);if(!n&&(t=t.toLowerCase(),mn.has(t))){let s=mn.get(t);return mn.set(e,s),s}let i=n?"":_E(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 mn.set(e,a),a}var ec,mn,Oc,Ap,Av,kw=y(()=>{ec=new Map,mn=new Map,Oc=45,Ap=fq,Av=gq}),Bm,xw=y(()=>{Bm=["initial","inherit","unset","revert","revert-layer"]});function zv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function lc(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Ur(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Li||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!ct(e.value.charCodeAt(t)))return 0;return n+1}function ff(e,t,r){let n=!1,i=lc(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(zv(e,Li)||zv(e,tr)){if(n=!0,i=lc(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!==Li&&o!==tr)return 0}return Ur(e,n?0:1,n,i)}function bq(e,t){let r=0;if(!e)return 0;if(e.type===10)return Ur(e,0,UE,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!Ai(e.value,1,zp))return 0;switch(e.value.length){case 2:return ff(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=lc(t(++r),r,t),e=t(r),Ur(e,0,hn,r));default:return e.value.charCodeAt(2)!==tr?0:Ur(e,3,hn,r)}}else if(e.type===1||zv(e,Li)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Ai(e.value,0,zp))return 0;switch(e.value.length){case 1:return ff(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=lc(t(++r),r,t),e=t(r),Ur(e,0,hn,r));default:return e.value.charCodeAt(1)!==tr?0:Ur(e,2,hn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Li||n===tr?1:0,o=i;for(;o<e.value.length&&ct(e.value.charCodeAt(o));o++);return o===i||!Ai(e.value,o,zp)?0:o+1===e.value.length?ff(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=lc(t(++r),r,t),e=t(r),Ur(e,0,hn,r)):Ur(e,o+2,hn,r)}return 0}var Li,tr,zp,hn,UE,vq=y(()=>{dr(),Li=43,tr=45,zp=110,hn=!0,UE=!1});function Nv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function yq(e,t){return e.value.charCodeAt(0)===t}function tc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===Sw&&r&&n!==0)return tc(e,t+n+1,!1),6;if(!Xr(o)||++n>6)return 0}return n}function Wd(e,t,r){if(!e)return 0;for(;Nv(r(t),Cw);){if(++e>6)return 0;t++}return t}function wq(e,t){let r=0;if(e===null||e.type!==1||!Ai(e.value,0,QE)||(e=t(++r),e===null))return 0;if(Nv(e,VE))return e=t(++r),e===null?0:e.type===1?Wd(tc(e,0,!0),++r,t):Nv(e,Cw)?Wd(1,++r,t):0;if(e.type===10){let n=tc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!yq(e,Sw)||!tc(e,1,!1)?0:r+1:Wd(n,r,t))}return e.type===12?Wd(tc(e,1,!0),++r,t):0}var VE,Sw,Cw,QE,kq=y(()=>{dr(),VE=43,Sw=45,Cw=63,QE=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function YE(e,t){return Ec(e,0,e.length,t)}function GE(e,t){for(let r=0;r<t.length;r++)if(YE(e,t[r]))return!0;return!1}function KE(e,t){return t!==e.length-2?!1:lr(e,t)===92&&ct(lr(e,t+1))}function qm(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 xq(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=Wm.get(e.type);break}i++}while(e=t(i));return i}function Qt(e,t){return function(r,n,i){return r===null?0:r.type===2&&GE(r.value,t)?xq(r,n):e(r,n,i)}}function Me(e){return function(t){return t===null||t.type!==e?0:1}}function Sq(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return GE(t,Bm)||YE(t,"default")?0:1}function HE(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function Cq(e){return!HE(e)||e.value==="--"?0:1}function Aq(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(!Xr(lr(e.value,r)))return 0;return 1}function zq(e){return e===null||e.type!==4||!yp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function Nq(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=Wm.get(e.type);break}i++}while(e=t(i));return i}function Eq(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=Wm.get(e.type);break}i++}while(e=t(i));return i}function Ir(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=Mm(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!KE(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return qm(n,t.value,i)?0:1}}function Pq(e,t,r){return e===null||e.type!==11||qm(r,e.value,e.value.length-1)?0:1}function ZE(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 Oq(e,t,r){if(e===null)return 0;let n=Mm(e.value,0);return n!==e.value.length&&!KE(e.value,n)||qm(r,e.value,n)?0:1}function Tq(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(!ct(lr(e.value,n)))return 0;return qm(r,e.value,n)?0:1}function Iq(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:u}=e||{};return{dimension:Qt(Ir(null),br),angle:Qt(Ir(t),br),decibel:Qt(Ir(r),br),frequency:Qt(Ir(n),br),flex:Qt(Ir(i),br),length:Qt(ZE(Ir(o)),br),resolution:Qt(Ir(a),br),semitones:Qt(Ir(s),br),time:Qt(Ir(u),br)}}function jq(e){let t=new Set;for(let r of eP)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 Lq(e){return{...XE,...JE,...Iq(e),"attr-unit":jq(e)}}var _d,Ud,Vd,B1,q1,W1,Qd,Yd,gf,_1,br,Wm,XE,JE,eP,Dq=y(()=>{xw(),vq(),kq(),dr(),_d=["calc(","-moz-calc(","-webkit-calc("],Ud=["min(","max(","clamp("],Vd=["round(","mod(","rem("],B1=["sin(","cos(","tan("],q1=["asin(","acos(","atan(","atan2("],W1=["pow(","sqrt(","log(","exp(","sign("],Qd=["hypot("],Yd=["abs("],gf=[..._d,...Ud,...Vd,...B1,...W1,...Qd,...Yd],_1=[..._d,...Ud,...Vd,...Qd,...Yd],br=[..._d,...Ud,...Vd,...q1,...Qd,...Yd],Wm=new Map([[2,22],[21,22],[19,20],[23,24]]),XE={"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)},JE={string:Me(5),ident:Me(1),percentage:Qt(Pq,_1),zero:ZE(),number:Qt(Oq,gf),integer:Qt(Tq,gf),"custom-ident":Sq,"dashed-ident":HE,"custom-property-name":Cq,"hex-color":Aq,"id-selector":zq,"an-plus-b":bq,urange:wq,"declaration-value":Nq,"any-value":Eq},eP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),Ev={};z(Ev,{angle:()=>rP,decibel:()=>sP,flex:()=>aP,frequency:()=>iP,length:()=>tP,resolution:()=>oP,semitones:()=>lP,time:()=>nP});var tP,rP,nP,iP,oP,aP,sP,lP,Fq=y(()=>{tP=["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"],rP=["deg","grad","rad","turn"],nP=["s","ms"],iP=["hz","khz"],oP=["dpi","dpcm","dppx","x"],aP=["fr"],sP=["db"],lP=["st"]});function Mq(e,t,r){return Object.assign(em("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
32
33
  `+t+`
33
- --`+new Array((r||t.length)+1).join("-")+"^"})}var FP=y(()=>{Zy()}),w1,k1,x1,S1,C1,ef,MP,mq=y(()=>{FP(),w1=9,k1=10,x1=12,S1=13,C1=32,ef=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),MP=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&&ef[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!==S1&&t!==k1&&t!==x1&&t!==C1&&t!==w1)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 pq(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||ef[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 A1(e){let t=null,r=null;return e.eat(Nc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Im?(e.pos++,e.skipWs(),e.charCode()!==gv&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(gv),{min:Number(t),max:r?Number(r):0}}function hq(e){let t=null,r=!1;switch(e.charCode()){case uw:e.pos++,t={min:0,max:0};break;case Om:e.pos++,t={min:1,max:0};break;case Vp:e.pos++,t={min:0,max:1};break;case Em:e.pos++,r=!0,e.charCode()===Nc?t=A1(e):e.charCode()===Vp?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Nc:t=A1(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Hr(e,t){let r=hq(e);return r!==null?(r.term=t,e.charCode()===Em&&e.charCodeAt(e.pos-1)===Om?Hr(e,r):r):t}function tf(e){let t=e.peek();return t===""?null:Hr(e,{type:"Token",value:t})}function fq(e){let t;return e.eat(jm),e.eat(zc),t=e.scanWord(),e.eat(zc),e.eat(_p),Hr(e,{type:"Property",name:t})}function gq(e){let t=null,r=null,n=1;return e.eat(Ei),e.charCode()===hv&&(e.peek(),n=-1),n==-1&&e.charCode()===bv?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Im),e.skipWs(),e.charCode()===bv?e.peek():(n=1,e.charCode()===hv&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Oi),{type:"Range",min:t,max:r}}function bq(e){let t,r=null;if(e.eat(jm),t=e.scanWord(),t==="boolean-expr"){e.eat(Ei);let n=aw(e,Oi);return e.eat(Oi),e.eat(_p),Hr(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===lw&&e.nextCharCode()===_P&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ei&&(e.skipWs(),r=gq(e)),e.eat(_p),Hr(e,{type:"Type",name:t,opts:r})}function vq(e){let t=e.scanWord();return e.charCode()===lw?(e.pos++,{type:"Function",name:t}):Hr(e,{type:"Keyword",name:t})}function yq(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)=>vv[i]-vv[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 aw(e,t){let r=Object.create(null),n=[],i,o=null,a=e.pos;for(;e.charCode()!==t&&(i=kq(e,t));)i.type!=="Spaces"&&(i.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),r[i.value]=!0):o!==null&&o.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(i),o=i,a=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:yq(n,r)||" ",disallowEmpty:!1,explicit:!1}}function wq(e,t){let r;return e.eat(Ei),r=aw(e,t),e.eat(Oi),r.explicit=!0,e.charCode()===sw&&(e.pos++,r.disallowEmpty=!0),r}function kq(e,t){let r=e.charCode();switch(r){case Oi:break;case Ei:return Hr(e,wq(e,t));case jm:return e.nextCharCode()===zc?fq(e):bq(e);case fv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===fv?2:1))};case mv:return e.pos++,e.eat(mv),{type:"Combinator",value:"&&"};case Im:return e.pos++,{type:"Comma"};case zc:return Hr(e,{type:"String",value:e.scanString()});case UP:case $P:case BP:case WP:case qP:return{type:"Spaces",value:e.scanSpaces()};case VP:return r=e.nextCharCode(),e.isNameCharCode(r)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):tf(e);case uw:case Om:case Vp:case Em:case sw:break;case Nc:if(r=e.nextCharCode(),r<48||r>57)return tf(e);break;default:return e.isNameCharCode(r)?vq(e):tf(e)}}function RP(e){let t=new MP(e),r=aw(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var $P,BP,qP,WP,UP,sw,Em,mv,zc,lw,_P,uw,Om,Im,hv,jm,_p,Vp,VP,Ei,Oi,Nc,fv,gv,bv,vv,QP=y(()=>{mq(),$P=9,BP=10,qP=12,WP=13,UP=32,sw=33,Em=35,mv=38,zc=39,lw=40,_P=41,uw=42,Om=43,Im=44,hv=45,jm=60,_p=62,Vp=63,VP=64,Ei=91,Oi=93,Nc=123,fv=124,gv=125,bv=8734,vv={" ":1,"&&":2,"||":3,"|":4}}),xq=y(()=>{}),YP=y(()=>{FP(),hP(),QP(),xq()});function Sq(e){let t=[];return Cm(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Cq(e,t){return typeof e=="string"?Sq(e):t.generate(e,GP)}var GP,Aq=y(()=>{te(),GP={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===Pe&&r===Te||e===Pe&&t===Pe&&r===Pe?e:(e.type==="If"&&e.else===Te&&t===Pe&&(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)===JP&&e.charCodeAt(e.length-1)===HP}function z1(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&KP(e.name)}function Fr(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function oc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=oc(e.match,t,r),e.then=oc(e.then,t,r),e.else=oc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function yv(e,t,r){switch(e){case" ":{let n=Pe;for(let i=t.length-1;i>=0;i--){let o=t[i];n=ht(o,n,Te)}return n}case"|":{let n=Te,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(z1(a)&&(i===null&&o>0&&z1(t[o-1])&&(i=Object.create(null),n=ht({type:"Enum",map:i},Pe,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,Pe,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Te;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=yv(e,t.filter(function(s){return s!==o}),!1):a=Pe,n=ht(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Pe:Te;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=yv(e,t.filter(function(s){return s!==o}),!0):a=Pe,n=ht(o,a,n)}return n}}}function zq(e){let t=Pe,r=ci(e.term);if(e.max===0)r=ht(r,Tm,Te),t=ht(r,null,Te),t.then=ht(Pe,Pe,t),e.comma&&(t.then.else=ht({type:"Comma",syntax:e},t,Te));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Pe&&(t=ht({type:"Comma",syntax:e},t,Te)),t=ht(r,ht(Pe,Pe,t),Te);if(e.min===0)t=ht(Pe,Pe,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Pe&&(t=ht({type:"Comma",syntax:e},t,Te)),t=ht(r,t,Te);return t}function ci(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=yv(e.combinator,e.terms.map(ci),!1);return e.disallowEmpty&&(t=ht(t,Tm,Te)),t}case"Multiplier":return zq(e);case"Boolean":{let t=ci(e.term),r=ci(Fr([Fr([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Fr([{type:"Type",name:"!boolean-group"},Fr([{type:"Multiplier",comma:!1,min:0,max:0,term:Fr([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Fr([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=ci(Fr([{type:"Type",name:"!term"},Fr([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return oc(n,{"!term":t,"!self":r}),oc(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 Md(e,t){return typeof e=="string"&&(e=RP(e)),{type:"MatchGraph",match:ci(e),syntax:t||null,source:e}}var Pe,Te,Tm,JP,HP,XP=y(()=>{QP(),Pe={type:"Match"},Te={type:"Mismatch"},Tm={type:"DisallowEmpty"},JP=40,HP=41});function Nq(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function rf(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 Pq(e){return e.type!==9?!1:e.value!=="?"}function N1(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||Pq(e)}function P1(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function Eq(e,t,r){function n(){do g++,f=g<e.length?e[g]:null;while(f!==null&&(f.type===13||f.type===25))}function i(w){let S=g+w;return S<e.length?e[S]:null}function o(w,S){return{nextState:w,matchStack:k,syntaxStack:d,thenStack:m,tokenIndex:g,prev:S}}function a(w){m={nextState:w,matchStack:k,syntaxStack:d,prev:m}}function s(w){h=o(w,h)}function l(){k={type:eE,syntax:t.syntax,token:f,prev:k},n(),b=null,g>x&&(x=g)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},k={type:Qp,syntax:t.syntax,token:k.token,prev:k}}function c(){k.type===Qp?k=k.prev:k={type:cw,syntax:d.syntax,token:k.token,prev:k},d=d.prev}let d=null,m=null,h=null,b=null,p=0,v=null,f=null,g=-1,x=0,k={type:ZP,syntax:null,token:null,prev:null};for(n();v===null&&++p<xv;)switch(t.type){case"Match":if(m===null){if(f!==null&&(g!==e.length-1||f.value!=="\\0"&&f.value!=="\\9")){t=Te;break}v=kv;break}if(t=m.nextState,t===Tm)if(m.matchStack===k){t=Te;break}else t=Pe;for(;m.syntaxStack!==d;)c();m=m.prev;break;case"Mismatch":if(b!==null&&b!==!1)(h===null||g>h.tokenIndex)&&(h=b,b=!1);else if(h===null){v=tE;break}t=h.nextState,m=h.thenStack,d=h.syntaxStack,k=h.matchStack,g=h.tokenIndex,f=g<e.length?e[g]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Te&&s(t.else),t.then!==Pe&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let P=t.syntax.terms;if(t.index===P.length){if(t.mask===0||t.syntax.all){t=Te;break}t=Pe;break}if(t.mask===(1<<P.length)-1){t=Pe;break}for(;t.index<P.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=P[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(f!==null){let P=f.value.toLowerCase();if(P.indexOf("\\")!==-1&&(P=P.replace(/\\[09].*$/,"")),wv.call(t.map,P)){t=t.map[P];break}}t=Te;break;case"Generic":{let P=d!==null?d.opts:null,A=g+Math.floor(t.fn(f,i,P));if(!isNaN(A)&&A>g){for(;g<A;)l();t=Pe}else t=Te;break}case"Type":case"Property":{let P=t.type==="Type"?"types":"properties",A=wv.call(r,P)?r[P][t.name]:null;if(!A||!A.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(b!==!1&&f!==null&&t.type==="Type"&&(t.name==="custom-ident"&&f.type===1||t.name==="length"&&f.value==="0")){b===null&&(b=o(t,h)),t=Te;break}u(),t=A.matchRef||A.match;break}case"Keyword":{let P=t.name;if(f!==null){let A=f.value;if(A.indexOf("\\")!==-1&&(A=A.replace(/\\[09].*$/,"")),rf(A,P)){l(),t=Pe;break}}t=Te;break}case"AtKeyword":case"Function":if(f!==null&&rf(f.value,t.name)){l(),t=Pe;break}t=Te;break;case"Token":if(f!==null&&f.value===t.value){l(),t=Pe;break}t=Te;break;case"Comma":f!==null&&f.type===18?N1(k.token)?t=Te:(l(),t=P1(f)?Te:Pe):t=N1(k.token)||P1(f)?Pe:Te;break;case"String":let w="",S=g;for(;S<e.length&&w.length<t.value.length;S++)w+=e[S].value;if(rf(w,t.value)){for(;g<S;)l();t=Pe}else t=Te;break;default:throw new Error("Unknown node type: "+t.type)}switch(nE+=p,v){case null:console.warn("[csstree-match] BREAK after "+xv+" iterations"),v=rE,k=null;break;case kv:for(;d!==null;)c();break;default:k=null}return{tokens:e,reason:v,iterations:p,match:k,longestMatch:x}}function E1(e,t,r){let n=Eq(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=Nq(i).prev;i!==null;){switch(i.type){case Qp:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case cw: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 wv,ZP,eE,Qp,cw,kv,tE,rE,xv,nE,Oq=y(()=>{XP(),rc(),{hasOwnProperty:wv}=Object.prototype,ZP=0,eE=1,Qp=2,cw=3,kv="Match",tE="Mismatch",rE="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",xv=15e3,nE=0}),iE={};z(iE,{getTrace:()=>oE,isKeyword:()=>Tq,isProperty:()=>jq,isType:()=>Iq});function oE(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 Iq(e,t){return dw(this,e,r=>r.type==="Type"&&r.name===t)}function jq(e,t){return dw(this,e,r=>r.type==="Property"&&r.name===t)}function Tq(e){return dw(this,e,t=>t.type==="Keyword")}function dw(e,t,r){let n=oE.call(e,t);return n===null?!1:n.some(r)}var Lq=y(()=>{}),Dq=y(()=>{Xc()});function nf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function O1(e){return!!e&&nf(e.offset)&&nf(e.line)&&nf(e.column)}function Fq(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(wi.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(!O1(r.loc.start))i+=".start";else if(!O1(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 Cc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)wi.call(t,i)&&wi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function aE(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<"+(aE(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function Mq(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(wi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=aE(a,e+"."+o)}return{docs:i,check:Fq(e,n)}}function Rq(e){let t={};if(e.node){for(let r in e.node)if(wi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=Mq(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var wi,$q=y(()=>{Xc(),{hasOwnProperty:wi}=Object.prototype});function Bq(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function qq(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Ur(e,t,r){return{matched:e,iterations:r,error:t,...iE}}function Rd(e,t,r,n){let i=Cq(r,e.syntax),o;return Bq(i)?Ur(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=E1(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=E1(i,t.match,e),!o.match)?Ur(null,new fP(o.reason,t.syntax,r,o),o.iterations):Ur(o.match,null,o.iterations))}var Sv,sE=y(()=>{_B(),rw(),nw(),cq(),dq(),YP(),Aq(),XP(),Oq(),Lq(),Dq(),$q(),Sv=class{constructor(e,t,r){if(this.cssWideKeywords=zm,this.syntax=t,this.generic=!1,this.units={...pv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||Rq(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(pv))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(uq(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=Md(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=Md(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:RP(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:Md(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=qq(a)?Md({...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&&!Rd(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=hp(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 Ur(null,r);let n=this.getAtrule(e);return n.prelude?Rd(this,n.prelude,t||"",!1):Ur(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Ur(null,n);let i=this.getAtrule(e),o=hp(t);return Rd(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(uv(e).custom)return Ur(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Ur(null,r):Rd(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=hp(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=uv(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function of(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function I1(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))if(i){r[n]={};for(let o of Object.keys(i))t.includes(o)&&(r[n][o]=i[o])}return r}function Cv(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?of(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?of(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]=of(r[n][o],a);break;case"scope":case"features":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]={...r[n][o],...a};break;case"parseContext":r[n]={...e[n],...i};break;case"atrule":case"pseudo":r[n]={...e[n],...I1(i,["parse"])};break;case"node":r[n]={...e[n],...I1(i,["name","structure","parse","generate","walkContext"])};break}return r}var Wq=y(()=>{});function lE(e){let t=AB(e),r=FB(e),n=IB(e),{fromPlainObject:i,toPlainObject:o}=mP(r),a={lexer:null,createLexer:s=>new Sv(s,a,a.lexer.structure),tokenize:Cm,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=Cv({},e);return lE(typeof s=="function"?s(l):Cv(l,s))}};return a.lexer=new Sv({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var uE,cE=y(()=>{te(),zB(),jB(),TB(),MB(),sE(),Wq(),uE=e=>lE(Cv({},e))}),dE,Uq=y(()=>{dE={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>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>|<timeline-range-name> <percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [[<angle>|to <side-or-corner>]||<color-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> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","polar-color-space":"hsl|hwb|lch|oklch",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|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( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scroll()":"scroll( [<axis>||<scroller>]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<'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-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}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","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> )","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>","-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>? )","absolute-color-base":"<hex-color>|<absolute-color-function>|<named-color>|transparent","absolute-color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",age:"child|young|old","anchor-name":"<dashed-ident>","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont",left:"<length>|auto","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","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-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>","custom-color-space":"<dashed-ident>",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","palette-identifier":"<dashed-ident>",right:"<length>|auto","scope-start":"<forgiving-selector-list>","scope-end":"<forgiving-selector-list>","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","selector-list":"<complex-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]","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","predefined-rgb":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","xyz-space":"xyz|xyz-d50|xyz-d65","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]]? )","offset-path":"<ray()>|<url>|<basic-shape>","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-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}]","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}]","anchor()":"anchor( <anchor-element>?&&<anchor-side> , <length-percentage>? )","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size()":"anchor-size( [<anchor-element>||<anchor-size>]? , <length-percentage>? )","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-element":"<dashed-ident>","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","font-variant-css2":"normal|small-caps","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer","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":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-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-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto||<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","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-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","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>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",d:"none|path( <string> )",cx:"<length>|<percentage>",cy:"<length>|<percentage>",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","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-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>","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||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-weight":"<font-weight-absolute>|bolder|lighter","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>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",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":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-width'>||<'outline-style'>||<'outline-color'>]","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto",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:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>",page:"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|<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>",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'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-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"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|trim-both|trim-all|auto","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"auto|wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-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>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","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-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"none|<dashed-ident>#","view-transition-name":"none|<custom-ident>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces|[<'white-space-collapse'>||<'text-wrap'>||<'white-space-trim'>]","white-space-collapse":"collapse|discard|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|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>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+",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",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",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|never|always","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","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>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <absolute-color-base>]#"}},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length>{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:{syntax:"<string>",inherits:"true|false","initial-value":"<declaration-value>?"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}}}}),pE={};z(pE,{generate:()=>_q,name:()=>fE,parse:()=>mE,structure:()=>gE});function gp(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===tr||n===Ct)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)dt(this.charCodeAt(r))||this.error("Integer is expected",r)}function di(e){return gp.call(this,0,e)}function Mr(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case ac:r="N is expected";break;case Ct:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function af(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(tr,e)||this.isDelim(Ct,e)){t=this.isDelim(tr,e)?tr:Ct;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),di.call(this,Wr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==tr&&r!==Ct&&this.error("Number sign is expected")),di.call(this,t!==0),t===Ct?"-"+this.consume(10):this.consume(10)}function mE(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)di.call(this,hE),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Ct))switch(t="-1",Mr.call(this,1,ac),this.tokenEnd-this.tokenStart){case 2:this.next(),r=af.call(this);break;case 3:Mr.call(this,2,Ct),this.next(),this.skipSC(),di.call(this,Wr),r="-"+this.consume(10);break;default:Mr.call(this,2,Ct),gp.call(this,3,Wr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(tr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(tr)&&(n=1,this.next()),Mr.call(this,0,ac),this.tokenEnd-this.tokenStart){case 1:this.next(),r=af.call(this);break;case 2:Mr.call(this,1,Ct),this.next(),this.skipSC(),di.call(this,Wr),r="-"+this.consume(10);break;default:Mr.call(this,1,Ct),gp.call(this,2,Wr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===tr||n===Ct,o=this.tokenStart+i;for(;o<this.tokenEnd&&dt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Mr.call(this,o-this.tokenStart,ac),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=af.call(this)):(Mr.call(this,o-this.tokenStart+1,Ct),o+2===this.tokenEnd?(this.next(),this.skipSC(),di.call(this,Wr),r="-"+this.consume(10)):(gp.call(this,o-this.tokenStart+2,Wr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===tr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===tr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function _q(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 tr,Ct,ac,Wr,hE,fE,gE,bE=y(()=>{te(),tr=43,Ct=45,ac=110,Wr=!0,hE=!1,fE="AnPlusB",gE={a:[String,null],b:[String,null]}}),vE={};z(vE,{generate:()=>Qq,name:()=>wE,parse:()=>yE,structure:()=>xE,walkContext:()=>kE});function j1(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Vq(){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 yE(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),j1):i=j1.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(Vq.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function Qq(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var wE,kE,xE,SE=y(()=>{te(),wE="Atrule",kE="atrule",xE={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),CE={};z(CE,{generate:()=>Yq,name:()=>zE,parse:()=>AE,structure:()=>PE,walkContext:()=>NE});function AE(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 Yq(e){this.children(e)}var zE,NE,PE,EE=y(()=>{te(),zE="AtrulePrelude",NE="atrulePrelude",PE={children:[[]]}}),OE={};z(OE,{generate:()=>Jq,name:()=>DE,parse:()=>IE,structure:()=>FE});function Gq(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(pw)?(t=!0,this.next()):this.isDelim(Yp)||this.eat(1),this.isDelim(Yp)?this.charCodeAt(this.tokenStart+1)!==sc?(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 Kq(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==sc&&t!==LE&&t!==TE&&t!==jE&&t!==pw&&t!==Yp&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==sc&&(this.isDelim(sc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function IE(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=Gq.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=Kq.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 Jq(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 jE,pw,sc,TE,Yp,LE,DE,FE,ME=y(()=>{te(),jE=36,pw=42,sc=61,TE=94,Yp=124,LE=126,DE="AttributeSelector",FE={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),RE={};z(RE,{generate:()=>Xq,name:()=>WE,parse:()=>BE,structure:()=>_E,walkContext:()=>UE});function $E(){return this.Raw(null,!0)}function T1(){return this.parseWithFallback(this.Rule,$E)}function L1(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Hq(){if(this.tokenType===17)return L1.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,L1);return this.tokenType===17&&this.next(),e}function BE(e){let t=e?Hq:T1,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),$E));break;default:e&&this.isDelim(qE)?n.push(T1.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function Xq(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var qE,WE,UE,_E,VE=y(()=>{te(),qE=38,WE="Block",UE="block",_E={children:[["Atrule","Rule","Declaration"]]}}),QE={};z(QE,{generate:()=>Zq,name:()=>GE,parse:()=>YE,structure:()=>KE});function YE(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 Zq(e){this.token(9,"["),this.children(e),this.token(9,"]")}var GE,KE,JE=y(()=>{te(),GE="Brackets",KE={children:[[]]}}),HE={};z(HE,{generate:()=>e9,name:()=>ZE,parse:()=>XE,structure:()=>eO});function XE(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function e9(){this.token(15,"-->")}var ZE,eO,tO=y(()=>{te(),ZE="CDC",eO=[]}),rO={};z(rO,{generate:()=>t9,name:()=>iO,parse:()=>nO,structure:()=>oO});function nO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function t9(){this.token(14,"<!--")}var iO,oO,aO=y(()=>{te(),iO="CDO",oO=[]}),sO={};z(sO,{generate:()=>r9,name:()=>cO,parse:()=>lO,structure:()=>dO});function lO(){return this.eatDelim(uO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function r9(e){this.token(9,"."),this.token(1,e.name)}var uO,cO,dO,pO=y(()=>{te(),uO=46,cO="ClassSelector",dO={name:String}}),mO={};z(mO,{generate:()=>n9,name:()=>vO,parse:()=>hO,structure:()=>yO});function hO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case gO:case fO:case bO:this.next();break;case Av:this.next(),this.eatIdent("deep"),this.eatDelim(Av);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function n9(e){this.tokenize(e.name)}var fO,Av,gO,bO,vO,yO,wO=y(()=>{te(),fO=43,Av=47,gO=62,bO=126,vO="Combinator",yO={name:String}}),kO={};z(kO,{generate:()=>i9,name:()=>AO,parse:()=>xO,structure:()=>zO});function xO(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===SO&&this.charCodeAt(t-1)===CO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function i9(e){this.token(25,"/*"+e.value+"*/")}var SO,CO,AO,zO,NO=y(()=>{te(),SO=42,CO=47,AO="Comment",zO={value:String}}),PO={};z(PO,{generate:()=>o9,name:()=>IO,parse:()=>EO,structure:()=>jO});function D1(e){return this.lookupTypeNonSC(1)===1&&OO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function EO(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(()=>TO[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 o9(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var OO,IO,jO,TO,LO=y(()=>{te(),OO=new Set([16,22,0]),IO="Condition",jO={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},TO={media:D1,container:D1,supports(){return this.SupportsDeclaration()}}}),DO={};z(DO,{generate:()=>u9,name:()=>WO,parse:()=>FO,structure:()=>_O,walkContext:()=>UO});function a9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function s9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function l9(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(mw)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function FO(){let e=this.tokenStart,t=this.tokenIndex,r=c9.call(this),n=tw(r),i=n?this.parseCustomProperty:this.parseValue,o=n?s9:a9,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(l9,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(mw)&&(a=d9.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 u9(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 c9(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case BO:case RO:case qO:case MO:case $O:this.next();break;case zv:this.next(),this.isDelim(zv)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function d9(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var mw,MO,RO,$O,BO,qO,zv,WO,UO,_O,VO=y(()=>{rw(),te(),mw=33,MO=35,RO=36,$O=38,BO=42,qO=43,zv=47,WO="Declaration",UO="declaration",_O={important:[Boolean,String],property:String,value:["Value","Raw"]}}),QO={};z(QO,{generate:()=>p9,name:()=>KO,parse:()=>YO,structure:()=>JO});function sf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function YO(){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),sf));break;default:this.isDelim(GO)?e.push(this.parseWithFallback(this.Rule,sf)):e.push(this.parseWithFallback(this.Declaration,sf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function p9(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var GO,KO,JO,HO=y(()=>{te(),GO=38,KO="DeclarationList",JO={children:[["Declaration","Atrule","Rule"]]}}),XO={};z(XO,{generate:()=>m9,name:()=>eI,parse:()=>ZO,structure:()=>tI});function ZO(){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 m9(e){this.token(12,e.value+e.unit)}var eI,tI,rI=y(()=>{te(),eI="Dimension",tI={value:String,unit:String}}),nI={};z(nI,{generate:()=>h9,name:()=>aI,parse:()=>iI,structure:()=>sI});function iI(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(oI)&&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 h9(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var oI,aI,sI,lI=y(()=>{te(),oI=47,aI="Feature",sI={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),uI={};z(uI,{generate:()=>g9,name:()=>dI,parse:()=>cI,structure:()=>pI});function f9(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function cI(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=f9.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 g9(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var dI,pI,mI=y(()=>{te(),dI="FeatureFunction",pI={kind:String,feature:String,value:["Declaration","Selector"]}}),hI={};z(hI,{generate:()=>b9,name:()=>vI,parse:()=>fI,structure:()=>yI});function lf(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(Nv,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(Nv)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function F1(e){if(this.skipSC(),this.isDelim(gI)||this.isDelim(bI)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Pv)?(this.next(),t+"="):t}if(this.isDelim(Pv))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function fI(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=lf.call(this),n=F1.call(this,r.type==="Identifier"),i=lf.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=F1.call(this),a=lf.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 b9(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 Nv,gI,Pv,bI,vI,yI,wI=y(()=>{te(),Nv=47,gI=60,Pv=61,bI=62,vI="FeatureRange",yI={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]}}),kI={};z(kI,{generate:()=>v9,name:()=>SI,parse:()=>xI,structure:()=>AI,walkContext:()=>CI});function xI(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 v9(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var SI,CI,AI,zI=y(()=>{te(),SI="Function",CI="function",AI={name:String,children:[[]]}}),NI={};z(NI,{generate:()=>y9,name:()=>EI,parse:()=>PI,structure:()=>OI});function PI(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 y9(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var EI,OI,II=y(()=>{te(),EI="GeneralEnclosed",OI={kind:String,function:[String,null],children:[[]]}}),jI={};z(jI,{generate:()=>w9,name:()=>DI,parse:()=>TI,structure:()=>FI,xxx:()=>LI});function TI(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function w9(e){this.token(4,"#"+e.value)}var LI,DI,FI,MI=y(()=>{te(),LI="XXX",DI="Hash",FI={value:String}}),RI={};z(RI,{generate:()=>k9,name:()=>BI,parse:()=>$I,structure:()=>qI});function $I(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function k9(e){this.token(1,e.name)}var BI,qI,WI=y(()=>{te(),BI="Identifier",qI={name:String}}),UI={};z(UI,{generate:()=>x9,name:()=>VI,parse:()=>_I,structure:()=>QI});function _I(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function x9(e){this.token(9,"#"+e.name)}var VI,QI,YI=y(()=>{te(),VI="IdSelector",QI={name:String}}),GI={};z(GI,{generate:()=>S9,name:()=>HI,parse:()=>KI,structure:()=>XI});function KI(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(JI);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function S9(e){this.tokenize(e.name)}var JI,HI,XI,ZI=y(()=>{te(),JI=46,HI="Layer",XI={name:String}}),ej={};z(ej,{generate:()=>C9,name:()=>rj,parse:()=>tj,structure:()=>nj});function tj(){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 C9(e){this.children(e,()=>this.token(18,","))}var rj,nj,ij=y(()=>{te(),rj="LayerList",nj={children:[["Layer"]]}}),oj={};z(oj,{generate:()=>A9,name:()=>sj,parse:()=>aj,structure:()=>lj});function aj(){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 A9(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 sj,lj,uj=y(()=>{te(),sj="MediaQuery",lj={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),cj={};z(cj,{generate:()=>z9,name:()=>pj,parse:()=>dj,structure:()=>mj});function dj(){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 z9(e){this.children(e,()=>this.token(18,","))}var pj,mj,hj=y(()=>{te(),pj="MediaQueryList",mj={children:[["MediaQuery"]]}}),fj={};z(fj,{generate:()=>N9,name:()=>vj,parse:()=>gj,structure:()=>yj});function gj(){let e=this.tokenStart;return this.eatDelim(bj),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function N9(){this.token(9,"&")}var bj,vj,yj,wj=y(()=>{te(),bj=38,vj="NestingSelector",yj={}}),kj={};z(kj,{generate:()=>P9,name:()=>Sj,parse:()=>xj,structure:()=>Cj});function xj(){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 P9(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var Sj,Cj,Aj=y(()=>{te(),Sj="Nth",Cj={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),zj={};z(zj,{generate:()=>E9,name:()=>Pj,parse:()=>Nj,structure:()=>Ej});function Nj(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function E9(e){this.token(10,e.value)}var Pj,Ej,Oj=y(()=>{te(),Pj="Number",Ej={value:String}}),Ij={};z(Ij,{generate:()=>O9,name:()=>Tj,parse:()=>jj,structure:()=>Lj});function jj(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function O9(e){this.tokenize(e.value)}var Tj,Lj,Dj=y(()=>{Tj="Operator",Lj={value:String}}),Fj={};z(Fj,{generate:()=>I9,name:()=>Rj,parse:()=>Mj,structure:()=>$j});function Mj(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 I9(e){this.token(21,"("),this.children(e),this.token(22,")")}var Rj,$j,Bj=y(()=>{te(),Rj="Parentheses",$j={children:[[]]}}),qj={};z(qj,{generate:()=>j9,name:()=>Uj,parse:()=>Wj,structure:()=>_j});function Wj(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function j9(e){this.token(11,e.value+"%")}var Uj,_j,Vj=y(()=>{te(),Uj="Percentage",_j={value:String}}),Qj={};z(Qj,{generate:()=>T9,name:()=>Gj,parse:()=>Yj,structure:()=>Jj,walkContext:()=>Kj});function Yj(){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 T9(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Gj,Kj,Jj,Hj=y(()=>{te(),Gj="PseudoClassSelector",Kj="function",Jj={name:String,children:[["Raw"],null]}}),Xj={};z(Xj,{generate:()=>L9,name:()=>eT,parse:()=>Zj,structure:()=>rT,walkContext:()=>tT});function Zj(){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 L9(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 eT,tT,rT,nT=y(()=>{te(),eT="PseudoElementSelector",tT="function",rT={name:String,children:[["Raw"],null]}}),iT={};z(iT,{generate:()=>D9,name:()=>aT,parse:()=>oT,structure:()=>sT});function M1(){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 oT(){let e=this.tokenStart,t=M1.call(this),r=null;return this.skipSC(),this.isDelim(Ev)&&(this.eatDelim(Ev),r=M1.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function D9(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Ev,aT,sT,lT=y(()=>{te(),Ev=47,aT="Ratio",sT={left:["Number","Function"],right:["Number","Function",null]}}),uT={};z(uT,{generate:()=>M9,name:()=>dT,parse:()=>cT,structure:()=>pT});function F9(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function cT(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=F9.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function M9(e){this.tokenize(e.value)}var dT,pT,mT=y(()=>{te(),dT="Raw",pT={value:String}}),hT={};z(hT,{generate:()=>$9,name:()=>gT,parse:()=>fT,structure:()=>vT,walkContext:()=>bT});function R1(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function R9(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function fT(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(R9,R1):r=R1.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function $9(e){this.node(e.prelude),this.node(e.block)}var gT,bT,vT,yT=y(()=>{te(),gT="Rule",bT="rule",vT={prelude:["SelectorList","Raw"],block:["Block"]}}),wT={};z(wT,{generate:()=>B9,name:()=>xT,parse:()=>kT,structure:()=>ST});function kT(){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 B9(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 xT,ST,CT=y(()=>{te(),xT="Scope",ST={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),AT={};z(AT,{generate:()=>q9,name:()=>NT,parse:()=>zT,structure:()=>PT});function zT(){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 q9(e){this.children(e)}var NT,PT,ET=y(()=>{NT="Selector",PT={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),OT={};z(OT,{generate:()=>W9,name:()=>jT,parse:()=>IT,structure:()=>LT,walkContext:()=>TT});function IT(){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 W9(e){this.children(e,()=>this.token(18,","))}var jT,TT,LT,DT=y(()=>{te(),jT="SelectorList",TT="selector",LT={children:[["Selector","Raw"]]}}),FT={};z(FT,{decode:()=>hw,encode:()=>MT});function hw(e){let t=e.length,r=e.charCodeAt(0),n=r===fw||r===gw?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===Gp){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),hr(Gp,s)){let l=a-1,u=Ni(e,l);a=u-1,o+=eP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function MT(e,t){let r=t?"'":'"',n=t?gw:fw,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===Gp?(i+="\\"+e.charAt(a),o=!1):(o&&(Jr(s)||bn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Gp,fw,gw,bw=y(()=>{te(),Gp=92,fw=34,gw=39}),RT={};z(RT,{generate:()=>U9,name:()=>BT,parse:()=>$T,structure:()=>qT});function $T(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:hw(this.consume(5))}}function U9(e){this.token(5,MT(e.value))}var BT,qT,WT=y(()=>{te(),bw(),BT="String",qT={value:String}}),UT={};z(UT,{generate:()=>_9,name:()=>QT,parse:()=>_T,structure:()=>GT,walkContext:()=>YT});function $1(){return this.Raw(null,!1)}function _T(){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)!==VT){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,$1);break;default:r=this.parseWithFallback(this.Rule,$1)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function _9(e){this.children(e)}var VT,QT,YT,GT,KT=y(()=>{te(),VT=33,QT="StyleSheet",YT="stylesheet",GT={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),JT={};z(JT,{generate:()=>V9,name:()=>XT,parse:()=>HT,structure:()=>ZT});function HT(){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 V9(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var XT,ZT,e4=y(()=>{te(),XT="SupportsDeclaration",ZT={declaration:"Declaration"}}),t4={};z(t4,{generate:()=>Q9,name:()=>i4,parse:()=>r4,structure:()=>o4});function uf(){this.tokenType!==1&&this.isDelim(n4)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function r4(){let e=this.tokenStart;return this.isDelim(Ov)?(this.next(),uf.call(this)):(uf.call(this),this.isDelim(Ov)&&(this.next(),uf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Q9(e){this.tokenize(e.name)}var n4,Ov,i4,o4,a4=y(()=>{te(),n4=42,Ov=124,i4="TypeSelector",o4={name:String}}),s4={};z(s4,{generate:()=>K9,name:()=>u4,parse:()=>l4,structure:()=>c4});function Hu(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===yw&&t&&r!==0)return Hu.call(this,e+r+1,!1),-1;Jr(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 $d(e){let t=0;for(;this.isDelim(Kp);)++t>e&&this.error("Too many question marks"),this.next()}function Y9(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===vw?"Plus sign":"Hyphen minus")+" is expected")}function G9(){let e=0;switch(this.tokenType){case 10:if(e=Hu.call(this,1,!0),this.isDelim(Kp)){$d.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){Y9.call(this,yw),Hu.call(this,1,!1);break}break;case 12:e=Hu.call(this,1,!0),e>0&&$d.call(this,6-e);break;default:if(this.eatDelim(vw),this.tokenType===1){e=Hu.call(this,0,!0),e>0&&$d.call(this,6-e);break}if(this.isDelim(Kp)){this.next(),$d.call(this,5);break}this.error("Hex digit or question mark is expected")}}function l4(){let e=this.tokenStart;return this.eatIdent("u"),G9.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function K9(e){this.tokenize(e.value)}var vw,yw,Kp,u4,c4,d4=y(()=>{te(),vw=43,yw=45,Kp=63,u4="UnicodeRange",c4={value:String}});function J9(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===ww?t-2:t-1,i="";for(;r<n&&bn(e.charCodeAt(r));)r++;for(;r<n&&bn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===Jp){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),hr(Jp,a)){let s=o-1,l=Ni(e,s);o=l-1,i+=eP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function H9(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===p4||i===Jp||i===m4||i===h4||i===f4||i===ww?(t+="\\"+e.charAt(n),r=!1):(r&&Jr(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var p4,Jp,m4,h4,f4,ww,g4=y(()=>{te(),p4=32,Jp=92,m4=34,h4=39,f4=40,ww=41}),b4={};z(b4,{generate:()=>X9,name:()=>y4,parse:()=>v4,structure:()=>w4});function v4(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=J9(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=hw(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 X9(e){this.token(7,H9(e.value))}var y4,w4,k4=y(()=>{g4(),bw(),te(),y4="Url",w4={value:String}}),x4={};z(x4,{generate:()=>Z9,name:()=>C4,parse:()=>S4,structure:()=>A4});function S4(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Z9(e){this.children(e)}var C4,A4,z4=y(()=>{C4="Value",A4={children:[[]]}}),N4={};z(N4,{generate:()=>eW,name:()=>O4,parse:()=>P4,structure:()=>I4});function P4(){return this.eat(13),E4}function eW(e){this.token(13,e.value)}var E4,O4,I4,j4=y(()=>{te(),E4=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),O4="WhiteSpace",I4={value:String}}),kw={};z(kw,{AnPlusB:()=>pE,Atrule:()=>vE,AtrulePrelude:()=>CE,AttributeSelector:()=>OE,Block:()=>RE,Brackets:()=>QE,CDC:()=>HE,CDO:()=>rO,ClassSelector:()=>sO,Combinator:()=>mO,Comment:()=>kO,Condition:()=>PO,Declaration:()=>DO,DeclarationList:()=>QO,Dimension:()=>XO,Feature:()=>nI,FeatureFunction:()=>uI,FeatureRange:()=>hI,Function:()=>kI,GeneralEnclosed:()=>NI,Hash:()=>jI,IdSelector:()=>UI,Identifier:()=>RI,Layer:()=>GI,LayerList:()=>ej,MediaQuery:()=>oj,MediaQueryList:()=>cj,NestingSelector:()=>fj,Nth:()=>kj,Number:()=>zj,Operator:()=>Ij,Parentheses:()=>Fj,Percentage:()=>qj,PseudoClassSelector:()=>Qj,PseudoElementSelector:()=>Xj,Ratio:()=>iT,Raw:()=>uT,Rule:()=>hT,Scope:()=>wT,Selector:()=>AT,SelectorList:()=>OT,String:()=>RT,StyleSheet:()=>UT,SupportsDeclaration:()=>JT,TypeSelector:()=>t4,UnicodeRange:()=>s4,Url:()=>b4,Value:()=>x4,WhiteSpace:()=>N4});var T4=y(()=>{bE(),SE(),EE(),ME(),VE(),JE(),tO(),aO(),pO(),wO(),NO(),LO(),VO(),HO(),rI(),lI(),mI(),wI(),zI(),II(),MI(),WI(),YI(),ZI(),ij(),uj(),hj(),wj(),Aj(),Oj(),Dj(),Bj(),Vj(),Hj(),nT(),lT(),mT(),yT(),CT(),ET(),DT(),WT(),KT(),e4(),a4(),d4(),k4(),z4(),j4()}),L4,tW=y(()=>{nw(),Uq(),T4(),L4={generic:!0,cssWideKeywords:zm,...dE,node:kw}});function D4(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,B4)&&this.cmpChar(this.tokenStart+1,Iv)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===$4||t===M4||t===Iv||t===R4)return this.Operator();t===F4&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var F4,M4,Iv,R4,$4,B4,q4=y(()=>{te(),F4=35,M4=42,Iv=43,R4=45,$4=47,B4=117}),W4,rW=y(()=>{q4(),W4={getNode:D4}});function nW(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function iW(){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)===jv&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case Q4:case G4:case J4:case Y4:return this.Combinator();case jv:return this.ClassSelector();case V4:case K4:return this.TypeSelector();case U4:return this.IdSelector();case _4:return this.NestingSelector()}break}}}var U4,_4,V4,Q4,Y4,jv,G4,K4,J4,H4,oW=y(()=>{te(),U4=35,_4=38,V4=42,Q4=43,Y4=47,jv=46,G4=62,K4=124,J4=126,H4={onWhiteSpace:nW,getNode:iW}});function aW(){return this.createSingleNodeList(this.Raw(null,!1))}var sW=y(()=>{});function lW(){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 uW=y(()=>{te()});function B1(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var X4,cW=y(()=>{q4(),sW(),uW(),X4={getNode:D4,onWhiteSpace(e,t){B1(e)&&(e.value=" "+e.value),B1(t.last)&&(t.last.value+=" ")},expression:aW,var:lW}}),Z4={};z(Z4,{AtrulePrelude:()=>W4,Selector:()=>H4,Value:()=>X4});var dW=y(()=>{rW(),oW(),cW()}),q1,eL,pW=y(()=>{te(),q1=new Set(["none","and","not","or"]),eL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);q1.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),tL,mW=y(()=>{tL={parse:{prelude:null,block(){return this.Block(!0)}}}}),cf,rL,hW=y(()=>{te(),cf={},rL={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,cf)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,cf)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),nL,fW=y(()=>{nL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),iL,gW=y(()=>{iL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),oL,bW=y(()=>{oL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),aL,vW=y(()=>{aL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),sL,yW=y(()=>{sL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),lL,wW=y(()=>{lL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),uL,kW=y(()=>{uL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),cL,xW=y(()=>{pW(),mW(),hW(),fW(),gW(),bW(),vW(),yW(),wW(),kW(),cL={container:eL,"font-face":tL,import:rL,layer:nL,media:iL,nest:oL,page:aL,scope:sL,"starting-style":lL,supports:uL}});function SW(){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 CW=y(()=>{te()}),Rr,Bd,W1,U1,la,dL,AW=y(()=>{CW(),Rr={parse(){return this.createSingleNodeList(this.SelectorList())}},Bd={parse(){return this.createSingleNodeList(this.Selector())}},W1={parse(){return this.createSingleNodeList(this.Identifier())}},U1={parse:SW},la={parse(){return this.createSingleNodeList(this.Nth())}},dL={dir:W1,has:Rr,lang:U1,matches:Rr,is:Rr,"-moz-any":Rr,"-webkit-any":Rr,where:Rr,not:Rr,"nth-child":la,"nth-last-child":la,"nth-last-of-type":la,"nth-of-type":la,slotted:Bd,host:Bd,"host-context":Bd}}),pL={};z(pL,{AnPlusB:()=>mE,Atrule:()=>yE,AtrulePrelude:()=>AE,AttributeSelector:()=>IE,Block:()=>BE,Brackets:()=>YE,CDC:()=>XE,CDO:()=>nO,ClassSelector:()=>lO,Combinator:()=>hO,Comment:()=>xO,Condition:()=>EO,Declaration:()=>FO,DeclarationList:()=>YO,Dimension:()=>ZO,Feature:()=>iI,FeatureFunction:()=>cI,FeatureRange:()=>fI,Function:()=>xI,GeneralEnclosed:()=>PI,Hash:()=>TI,IdSelector:()=>_I,Identifier:()=>$I,Layer:()=>KI,LayerList:()=>tj,MediaQuery:()=>aj,MediaQueryList:()=>dj,NestingSelector:()=>gj,Nth:()=>xj,Number:()=>Nj,Operator:()=>jj,Parentheses:()=>Mj,Percentage:()=>Wj,PseudoClassSelector:()=>Yj,PseudoElementSelector:()=>Zj,Ratio:()=>oT,Raw:()=>cT,Rule:()=>fT,Scope:()=>kT,Selector:()=>zT,SelectorList:()=>IT,String:()=>$T,StyleSheet:()=>_T,SupportsDeclaration:()=>HT,TypeSelector:()=>r4,UnicodeRange:()=>l4,Url:()=>v4,Value:()=>S4,WhiteSpace:()=>P4});var zW=y(()=>{bE(),SE(),EE(),ME(),VE(),JE(),tO(),aO(),pO(),wO(),NO(),LO(),VO(),HO(),rI(),lI(),mI(),wI(),zI(),II(),MI(),WI(),YI(),ZI(),ij(),uj(),hj(),wj(),Aj(),Oj(),Dj(),Bj(),Vj(),Hj(),nT(),lT(),mT(),yT(),CT(),ET(),DT(),WT(),KT(),e4(),a4(),d4(),k4(),z4(),j4()}),mL,NW=y(()=>{dW(),xW(),AW(),zW(),mL={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:Z4,atrule:cL,pseudo:dL,node:pL}}),hL,PW=y(()=>{T4(),hL={node:kw}}),fL,EW=y(()=>{cE(),tW(),NW(),PW(),fL=uE({...L4,...mL,...hL})}),OW=y(()=>{}),IW=y(()=>{Xc()}),jW=Y(()=>{}),TW,LW,Xr,DW,FW,MW,gL,xw,RW,$W,BW,qW,Sw,Ui=y(()=>{EW(),OW(),cE(),Xc(),sE(),te(),YP(),IW(),rw(),TW=re(jW(),1),bw(),g4(),{tokenize:LW,parse:Xr,generate:DW,lexer:FW,createLexer:MW,walk:gL,find:xw,findLast:RW,findAll:$W,toPlainObject:BW,fromPlainObject:qW,fork:Sw}=fL}),bL={};z(bL,{default:()=>vL});var Tn,qd,_1,ua,df,V1,ca,vL,WW=y(()=>{Ui(),B(),en(),xm(),xr(),Lr(),We(),Je(),H(),I(),T(),D(),Et(),Tn="declaration-block-no-duplicate-properties",qd=j(Tn,{rejected:e=>`Unexpected duplicate "${e}"`}),_1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},ua=e=>"children"in e&&e.children instanceof Cc,df=(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"&&NA.has(r.toLowerCase())&&wc.has(a.toLowerCase())&&wc.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=ua(i)?i.children.toArray():null,d=ua(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(df(c,d,r))continue;return!1}}return!0},V1=(e,t,r)=>{if(e===t)return!0;if(!(Be(e)&&Be(t)))return!1;let n,i;try{n=Xr(e,{context:"value"}),i=Xr(t,{context:"value"})}catch{return!1}let o=ua(n)?n.children.toArray():[],a=ua(i)?i.children.toArray():[];return df(o,a,r)},ca=(e,t)=>(r,n)=>{if(!L(n,Tn,{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=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 m=d.prop,h=d.prop.toLowerCase(),b=d.value,p=d.important;if(!Tr(m)||yt(m)||R(t,"ignoreProperties",m)||h==="src")return;let v=c.findIndex(A=>A.prop.toLowerCase()===h);v===-1&&c.push(d);let f=c[v];if(!f)return;let g=f.value||"",x=f.important||!1,k=!p&&x,w=v===c.length-1,S=Ke.unprefixed(b)===Ke.unprefixed(g),P=()=>{let A=k?d:f,M=k?m:f.prop;k||(c[v]=d),E({message:qd.rejected,messageArgs:[M],node:A,result:n,ruleName:Tn,word:M,fix:{apply:l(A),node:A.parent}})};if(o||a||s){if(!w||s&&!S){P();return}if(a&&V1(b,g,m)){P();return}return b!==g?void 0:E({message:qd.rejected,messageArgs:[f.prop],node:f,result:n,ruleName:Tn,word:f.prop,fix:{apply:l(f),node:f.parent}})}i&&w||P()})})},ca.ruleName=Tn,ca.messages=qd,ca.meta=_1,vL=ca}),yL={};z(yL,{default:()=>wL});var pf,Ln,Wd,Q1,Y1,G1,K1,da,wL,UW=y(()=>{pf=re(fe(),1),B(),Ey(),Je(),xm(),en(),H(),I(),T(),D(),Et(),Ln="declaration-block-no-redundant-longhand-properties",Wd=j(Ln,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Unexpected longhand property "${e}" after shorthand property "${t}" with same value`}),Q1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},Y1=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 m=(0,pf.default)(d),h=[];{let b=[];m.nodes.forEach(p=>{if(p.type==="div"&&p.value===","){h.push(b),b=[];return}b.push(p)}),h.push(b)}return h.map(b=>pf.default.stringify(b).trim()).filter(b=>b.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(", ")}]]),G1=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],K1=(e,t,r)=>{let n=Y1.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)},da=(e,t)=>(r,n)=>{var a;if(!L(n,Ln,{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 tc.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 m=d.value.trim();if(je.has(d.value))return;let h=d.prop.toLowerCase(),b=Ke.unprefixed(h),p=Ke.prefix(h);tc.has(b)&&c.set(h,m);let v=i.get(b);if(v)for(let f of v){let g=p+f;if(c.get(g)===m){let ne=()=>{d.remove()};E({ruleName:Ln,result:n,node:d,word:d.prop,message:Wd.unexpectedLonghand,messageArgs:[d.prop,g],fix:{apply:ne,node:d.parent}});return}let x=l.get(g)||[],k=u.get(g)||[];x.push(h),l.set(g,x),k.push(d),u.set(g,k);let w=new Set(tc.get(f));o.forEach(ne=>w.delete(ne));let S=Array.from(w,ne=>p+ne);if(!Py(S.slice().sort(),x.slice().sort()))continue;let P=u.get(g)||[],A=P.reduce((ne,K)=>K.important?ne+=1:ne,0);if(A&&A!==P.length)continue;let[M]=P,N;if(M){let ne=new Map(P.map(K=>[K.prop.toLowerCase(),K]));N=K1(g,S,ne)}let q=M&&N?()=>{let ne=M.clone({prop:g,value:N});M.replaceWith(ne),P.forEach(K=>K.remove()),G1.includes(f)&&l.forEach((K,de)=>{l.set(de,K.filter(oe=>!x.includes(oe)))})}:void 0;E({ruleName:Ln,result:n,node:d,word:d.prop,message:Wd.expected,messageArgs:[g],fix:{apply:q,node:d.parent}})}})})},da.ruleName=Ln,da.messages=Wd,da.meta=Q1,wL=da}),kL={};z(kL,{default:()=>xL});var pa,mf,J1,ma,xL,_W=y(()=>{xm(),I(),T(),$i(),D(),Et(),en(),pa="declaration-block-no-shorthand-property-overrides",mf=j(pa,{rejected:(e,t)=>`Unexpected shorthand "${e}" after "${t}"`}),J1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},ma=e=>(t,r)=>{L(r,pa,{actual:e})&&km(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Ke.unprefixed(a).toLowerCase(),l=Ke.prefix(a).toLowerCase(),u=tc.get(s),c=zA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let m of d){let h=i.get(l+m);h&&E({ruleName:pa,result:r,node:o,message:mf.rejected,messageArgs:[a,h||""],word:a})}})})},ma.ruleName=pa,ma.messages=mf,ma.meta=J1,xL=ma}),SL={};z(SL,{default:()=>CL});var ha,hf,H1,fa,CL,VW=y(()=>{Jy(),B(),wm(),I(),T(),D(),ha="declaration-block-single-line-max-declarations",hf=j(ha,{expected:e=>`Expected no more than ${e} ${e===1?"declaration":"declarations"}`}),H1={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},fa=e=>(t,r)=>{L(r,ha,{actual:e,possible:[br]})&&t.walkRules(n=>{let i=Ky(n);!ym(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||E({message:hf.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:ha})})},fa.ruleName=ha,fa.messages=hf,fa.meta=H1,CL=fa});function X1(e){let t=Pr(e);return t!==void 0&&Ri(t)&&ft(t)&&!yt(t.prop||"")}var QW=y(()=>{xn(),xr(),ge(),gt()}),AL={};z(AL,{default:()=>zL});var ga,Ud,Z1,ba,zL,YW=y(()=>{ge(),Jy(),$c(),qc(),UN(),um(),QW(),xr(),Wc(),pm(),wm(),gt(),H(),I(),T(),D(),ga="declaration-empty-line-before",Ud=j(ga,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),Z1={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},ba=(e,t,r)=>(n,i)=>{L(i,ga,{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||dm(o)||!De(s)&&!ct(s)&&!sr(s)||!ft(o)||yt(a)||R(t,"ignore","after-comment")&&Ai(o)||R(t,"ignore","after-declaration")&&X1(o)||R(t,"ignore","first-nested")&&Er(o)||R(t,"ignore","inside-single-line-block")&&ym(Ky(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Er(o)||R(t,"except","after-block")&&WN(o)||R(t,"except","after-comment")&&Ai(o)||R(t,"except","after-declaration")&&X1(o))&&(l=!l);let u=Bc(o.raws.before);if(l===u)return;let c=l?Ud.expected:Ud.rejected,d=l?"add":"remove";E({message:c,messageArgs:[],node:o,result:i,ruleName:ga,fix:{apply:()=>Rc({node:o,newline:r.newline,action:d}),node:o.parent}})})},ba.ruleName=ga,ba.messages=Ud,ba.meta=Z1,zL=ba});function NL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var PL=y(()=>{}),EL={};z(EL,{default:()=>OL});var va,ff,e0,ya,OL,GW=y(()=>{B(),PL(),I(),T(),D(),va="declaration-no-important",ff=j(va,{rejected:"Unexpected !important"}),e0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},ya=e=>(t,r)=>{L(r,va,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=NL(n.toString());Ve(i),E({message:ff.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:va})})},ya.ruleName=va,ya.messages=ff,ya.meta=e0,OL=ya});function lr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Sr=y(()=>{});function Hp(e){return t=>vr(t)?Object.values(t).every(r=>e(r)):!1}var Cw=y(()=>{B()}),IL={};z(IL,{default:()=>jL});var t0,wa,gf,r0,n0,ka,jL,KW=y(()=>{t0=re(fe(),1),B(),Sr(),Fe(),V(),I(),T(),Cw(),D(),wa="declaration-property-max-values",gf=j(wa,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"value":"values"}`}),r0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},n0=e=>e.type==="word"||e.type==="function"||e.type==="string",ka=e=>(t,r)=>{L(r,wa,{actual:e,possible:[Hp(lr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!G.multipleValues.test(o))return;let a=(0,t0.default)(o).nodes.filter(n0).length,s=Object.keys(e).find(u=>Ee(i,u));if(!s)return;let l=e[s];ec(l),!(a<=l)&&E({message:gf.expected,messageArgs:[i,l],node:n,result:r,ruleName:wa})})},ka.ruleName=wa,ka.messages=gf,ka.meta=r0,jL=ka});function JW(e,t=" "){return e.replace(/[#@{}]+/g,t)}var HW=y(()=>{});function _i(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Be(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=JW(e.value,"").replace("\\0","").replace("\\9","");return TL.default.unit(t)||{unit:null,number:null}}var TL,Vi=y(()=>{TL=re(fe(),1),HW(),We()}),LL={};z(LL,{default:()=>DL});var i0,xa,bf,o0,Sa,DL,XW=y(()=>{i0=re(fe(),1),Z(),Vi(),B(),Fe(),H(),I(),T(),ur(),D(),xa="declaration-property-unit-allowed-list",bf=j(xa,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),o0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Sa=(e,t)=>(r,n)=>{L(n,xa,{actual:e,possible:[Yt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Ee(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,i0.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}=_i(c);if(!d||u.has(d.toLowerCase()))return;let m=ae(i)+c.sourceIndex,h=m+c.value.length;E({message:bf.rejected,messageArgs:[o,d],node:i,index:m,endIndex:h,result:n,ruleName:xa})})})},Sa.ruleName=xa,Sa.messages=bf,Sa.meta=o0,DL=Sa}),FL={};z(FL,{default:()=>ML});var a0,Ca,vf,s0,Aa,ML,ZW=y(()=>{a0=re(fe(),1),Z(),Vi(),B(),Hc(),Fe(),V(),I(),T(),ur(),D(),Ca="declaration-property-unit-disallowed-list",vf=j(Ca,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),s0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Aa=e=>(t,r)=>{L(r,Ca,{actual:e,possible:[Yt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!G.dimension.test(o))return;let a=Object.keys(e).find(u=>Ee(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,a0.default)(o).walk(u=>{if(Jc(u))return!1;if(u.type==="string")return;let{unit:c}=_i(u);if(!c||!l.has(c.toLowerCase()))return;let d=ae(n)+u.sourceIndex,m=d+u.value.length;E({message:vf.rejected,messageArgs:[i,c],node:n,index:d,endIndex:m,result:r,ruleName:Ca})})})},Aa.ruleName=Ca,Aa.messages=vf,Aa.meta=s0,ML=Aa}),RL={};z(RL,{default:()=>$L});var za,yf,l0,Na,$L,eU=y(()=>{B(),Z(),Fe(),H(),I(),T(),ur(),D(),za="declaration-property-value-allowed-list",yf=j(za,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),l0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Na=e=>(t,r)=>{if(!L(r,za,{actual:e,possible:[Yt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.some(c=>R(e,c,a)))return;let l=ae(i),u=l+i.value.length;E({message:yf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:za})})},Na.ruleName=za,Na.messages=yf,Na.meta=l0,$L=Na}),BL={};z(BL,{default:()=>qL});var Pa,wf,u0,Ea,qL,tU=y(()=>{B(),Z(),Fe(),H(),I(),T(),ur(),D(),Pa="declaration-property-value-disallowed-list",wf=j(Pa,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),u0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ea=e=>(t,r)=>{if(!L(r,Pa,{actual:e,possible:[Yt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.every(c=>!R(e,c,a)))return;let l=ae(i),u=l+i.value.length;E({message:wf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Pa})})},Ea.ruleName=Pa,Ea.messages=wf,Ea.meta=u0,qL=Ea}),WL={};z(WL,{default:()=>UL});var c0,Oa,_d,d0,Vd,p0,m0,Ia,UL,rU=y(()=>{c0=re(fe(),1),B(),Z(),Ge(),gt(),We(),V(),H(),I(),T(),Bt(),en(),D(),Oa="declaration-property-value-keyword-no-deprecated",_d=j(Oa,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Unexpected deprecated keyword "${t}" for property "${e}"`}),d0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Vd={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"},p0=[...Lb.values()].map(e=>[e,Vd]),m0=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",Vd],["scrollbar-color",Vd],["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"]],...p0]),Ia=(e,t)=>(r,n)=>{L(n,Oa,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!G.keyword.test(a)||!ft(i)||R(t,"ignoreKeywords",a))return;let s=m0.get(o.toLowerCase());if(!s)return;let l=(0,c0.default)(Ye(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Be(c.value)||(u=!1))}),u&&l.walk(c=>{if(c.type!=="word")return;let d=c.value,m=d.toLowerCase(),h=c.sourceIndex,b,p,v=[];if(Array.isArray(s)){if(!s.includes(m))return;p=_d.rejected,v=[o,d]}else{let x=s[m];if(!x)return;p=_d.expected,v=[d,x],b=()=>{c.value=x,$t(i,l.toString())}}let f=ae(i)+h,g=f+d.length;E({message:p,messageArgs:v,node:i,result:n,ruleName:Oa,index:f,endIndex:g,fix:{apply:b,node:i}})})})},Ia.ruleName=Oa,Ia.messages=_d,Ia.meta=d0,UL=Ia});function nU(e){return KL?structuredClone(e):JSON.parse(JSON.stringify(e))}function we(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function iU(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===at&&e.source.codePointAt(e.cursor+3)===at}function _t(e){return e>=48&&e<=57}function oU(e){return e>=65&&e<=90}function aU(e){return e>=97&&e<=122}function ki(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function sU(e){return aU(e)||oU(e)}function Ii(e){return sU(e)||lU(e)||e===95}function Aw(e){return Ii(e)||_t(e)||e===at}function lU(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||!!ji(e)||e>=65536}function uU(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Xp(e){return e===yn||e===vn||e===12}function fn(e){return e===32||e===yn||e===9||e===vn||e===12}function ji(e){return e>=55296&&e<=57343}function Qi(e){var t;return e.source.codePointAt(e.cursor)===92&&!Xp((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function Zp(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===at?t.source.codePointAt(t.cursor+1)===at||!!Ii((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Xp((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Ii((i=t.source.codePointAt(t.cursor))!=null?i:-1)||Qi(t)}function h0(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===wn||e.source.codePointAt(e.cursor)===at?!!_t((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&_t((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?_t((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):_t((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function cU(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function dU(e){return e.source.codePointAt(e.cursor)===at&&e.source.codePointAt(e.cursor+1)===at&&e.source.codePointAt(e.cursor+2)===62}function pU(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 mU(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 hU(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 fr(rr.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 Lm(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new Ec(rr.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Nr;if(ki(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&ki(o)&&i.length<6;)i.push(o),t.advanceCodePoint();fn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===vn&&t.source.codePointAt(t.cursor+1)===yn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||ji(a)||a>1114111?Nr:a}return r===0||ji(r)?Nr:r}function Dm(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||ji(i))r.push(Nr),t.advanceCodePoint(+(i>65535)+1);else if(Aw(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!Qi(t))return r;t.advanceCodePoint(),r.push(Lm(e,t))}}}function fU(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Aw(r)||Qi(t))){let n=em.Unrestricted;Zp(0,t)&&(n=em.ID);let i=Dm(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 gU(e,t){var n,i,o,a,s,l;let r=ie.Integer;for(t.source.codePointAt(t.cursor)!==wn&&t.source.codePointAt(t.cursor)!==at||t.advanceCodePoint();_t((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&_t((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ie.Number;_t((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(_t((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==at&&t.source.codePointAt(t.cursor+1)!==wn||!_t((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ie.Number;_t((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function kf(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===at?r="-":o===wn&&(r="+")}let n=gU(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(Zp(0,t)){let o=Dm(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 bU(e){var t;for(;fn((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 vU(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 fr(rr.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Xp(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 fr(rr.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===vn&&t.source.codePointAt(t.cursor+1)===yn?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||ji(o)?r+=String.fromCodePoint(Nr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Xp((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===vn&&t.source.codePointAt(t.cursor+1)===yn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Lm(e,t))}}}function yU(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function xf(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();Qi(t)?(t.advanceCodePoint(),Lm(e,t)):t.advanceCodePoint()}}function wU(e,t){var n,i,o,a;for(;fn((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 fr(rr.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(fn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();fn((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 fr(rr.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}]):(xf(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||uU(s!=null?s:-1)){xf(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new fr(rr.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(Qi(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Lm(e,t));continue}xf(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new fr(rr.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||ji((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Nr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function Sf(e,t){var n,i;let r=Dm(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(yU(r)){t.advanceCodePoint();let o=0;for(;;){let a=fn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=fn((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 wU(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function kU(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==wn||e.source.codePointAt(e.cursor+2)!==63&&!ki((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function xU(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&ki(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)===at&&ki((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&ki(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 wt(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 JL(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:SU};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&&cU(i))return hU(o,i);if(n&&(l===117||l===85)&&kU(i))return xU(0,i);if(Ii(l))return Sf(o,i);if(_t(l))return kf(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 vU(o,i);case 35:return fU(o,i);case wn:case 46:return h0(i)?kf(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case yn:case vn:case 12:case 9:case 32:return bU(i);case at:return h0(i)?kf(o,i):dU(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Zp(0,i)?Sf(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return iU(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(),Zp(0,i)){let u=Dm(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(Qi(i))return Sf(o,i);i.advanceCodePoint();let u=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new fr(rr.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 SU(){}function CU(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...VL(r));e[1]=n,e[4].value=t}function Fm(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=VL(r);n[0]===101&&Tv(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 VL(e){let t=0;if(e[0]===0)e.splice(0,1,Nr),t=1;else if(e[0]===at&&e[1]===at)t=2;else if(e[0]===at&&e[1])t=2,Ii(e[1])||(t+=Tv(e,1,e[1]));else{if(e[0]===at&&!e[1])return[92,e[0]];Ii(e[0])?t=1:(t=1,t+=Tv(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Aw(e[r])||(r+=AU(e,r,e[r])):(e.splice(r,1,Nr),r++);return e}function AU(e,t,r){return e.splice(t,1,92,r),1}function Tv(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 Pc(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 nt(e){if(!e)return!1;switch(e[0]){case C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function St(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function QL(e){return!!e&&e[0]===C.Colon}function Zr(e){return!!e&&e[0]===C.Comma}function Mm(e){return!!e&&e[0]===C.Comment}function Ft(e){return!!e&&e[0]===C.Delim}function Le(e){return!!e&&e[0]===C.Dimension}function Vt(e){return!!e&&e[0]===C.EOF}function zU(e){return!!e&&e[0]===C.Function}function _e(e){return!!e&&e[0]===C.Ident}function ze(e){return!!e&&e[0]===C.Number}function Qe(e){return!!e&&e[0]===C.Percentage}function YL(e){return!!e&&e[0]===C.Semicolon}function NU(e){return!!e&&e[0]===C.String}function PU(e){return!!e&&e[0]===C.URL}function zw(e){return!!e&&e[0]===C.Whitespace}function Yi(e){return!!e&&e[0]===C.OpenParen}function EU(e){return!!e&&e[0]===C.CloseParen}function OU(e){return!!e&&e[0]===C.OpenSquare}function GL(e){return!!e&&e[0]===C.OpenCurly}var Ec,fr,rr,KL,vn,at,yn,wn,Nr,C,ie,em,JL,HL,it=y(()=>{Ec=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}},fr=class extends Ec{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},rr={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 "\\"'},KL=typeof globalThis<"u"&&"structuredClone"in globalThis,vn=13,at=45,yn=10,wn=43,Nr=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"})(ie||(ie={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(em||(em={})),JL=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}},HL=Object.values(C)});function pi(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 Rm(e,t){let r=t[0];if(Yi(r)||GL(r)||OU(r)){let n=jU(e,t);return{advance:n.advance,node:n.node}}if(zU(r)){let n=IU(e,t);return{advance:n.advance,node:n.node}}if(zw(r)){let n=XL(e,t);return{advance:n.advance,node:n.node}}if(Mm(r)){let n=TU(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new pe(r)}}function IU(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Vt(i))return e.onParseError(new Ec("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 Dt(t[0],i,r)};if(EU(i))return{advance:n+1,node:new Dt(t[0],i,r)};if(St(i)){let a=ZL(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Rm(e,t.slice(n));n+=o.advance,r.push(o.node)}}function jU(e,t){let r=pU(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||Vt(o))return e.onParseError(new Ec("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 tm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new tm(t[0],o,n)};if(St(o)){let s=ZL(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Rm(e,t.slice(i));i+=a.advance,n.push(a.node)}}function XL(e,t){let r=0;for(;;){let n=t[r];if(!zw(n))return{advance:r,node:new Nt(t.slice(0,r))};r++}}function TU(e,t){return{advance:1,node:new $m(t[0])}}function ZL(e,t){let r=[],n=0;for(;;){if(zw(t[n])){let i=XL(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Mm(t[n]))return{advance:n,nodes:r};r.push(new $m(t[n])),n++}}function Gi(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Vt(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]||Vt(n[o]))return i;let s=Rm(r,n.slice(o));i.push(s.node),o+=s.advance}}function eD(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Vt(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]||Vt(n[a]))return o.length&&i.push(o),i;if(Zr(n[a])){i.push(o),o=[],a++;continue}let l=Rm(r,e.slice(a));o.push(l.node),a+=l.advance}}function LU(e,t,r){if(e.length===0)return;let n=pi(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 Ki(e,t,r){e.length!==0&&LU(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 tD(e){return e.map(t=>t.map(r=>we(...r.tokens())).join("")).join(",")}function Cr(e){return tm.isSimpleBlockNode(e)}function et(e){return Dt.isFunctionNode(e)}function Oc(e){return Nt.isWhitespaceNode(e)}function Nw(e){return $m.isCommentNode(e)}function zt(e){return Oc(e)||Nw(e)}function ce(e){return pe.isTokenNode(e)}function Mt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Mt(i)[0],Mt(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,Cf,Dt,tm,Nt,$m,pe,kt=y(()=>{it(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Oe||(Oe={})),Cf=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=pi(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)}},Dt=class Lv extends Cf{constructor(r,n,i){super();U(this,"type",Oe.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Vt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Vt(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=>Pc(n)?we(n):n.toString()).join("");return we(this.name)+r+we(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Lv.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Lv&&r.type===Oe.Function}},tm=class Dv extends Cf{constructor(r,n,i){super();U(this,"type",Oe.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Vt(this.endToken)){let r=mU(this.startToken);r&&(this.endToken=r)}}tokens(){return Vt(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=>Pc(n)?we(n):n.toString()).join("");return we(this.startToken)+r+we(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Dv.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Dv&&r.type===Oe.SimpleBlock}},Nt=class Fv{constructor(t){U(this,"type",Oe.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return we(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Fv.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof Fv&&t.type===Oe.Whitespace}},$m=class Mv{constructor(t){U(this,"type",Oe.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return we(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Mv.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Mv&&t.type===Oe.Comment}},pe=class Rv{constructor(t){U(this,"type",Oe.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 Rv.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Rv&&t.type===Oe.Token}}});function Pt(e){return e.replace(nD,t=>String.fromCharCode(t.charCodeAt(0)+32))}function Rt(e,t){if(!Le(e)||!Le(t))return t;let r=Pt(e[4].unit),n=Pt(t[4].unit);if(r===n)return t;let i=Ow.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)?ie.Integer:ie.Number,value:a}];return Fm(s,e[4].unit),s}function DU(e){if(!Le(e))return e;let t=Pt(e[4].unit),r=iD[t];if(t===r)return e;let n=Ow.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)?ie.Integer:ie.Number,value:o}];return Fm(a,r),a}function FU(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(ze(r)&&ze(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===ie.Integer&&n[4].type===ie.Integer?ie.Integer:ie.Number}])}if(Qe(r)&&Qe(n)){let o=r[4].value+n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Le(r)&&Le(n)&&(n=Rt(r,n),Pt(r[4].unit)===Pt(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===ie.Integer&&n[4].type===ie.Integer?ie.Integer:ie.Number,unit:r[4].unit}])}return(ze(r)&&(Le(n)||Qe(n))||ze(n)&&(Le(r)||Qe(r)))&&((i=t.onParseError)==null||i.call(t,new Ew(Ic.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function MU(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(ze(t)&&ze(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)?ie.Integer:ie.Number}])}if(Qe(t)&&ze(r)){let n=t[4].value/r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Le(t)&&ze(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)?ie.Integer:ie.Number,unit:t[4].unit}])}return-1}function sn(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function At(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(ce(i)){r.push(i);continue}let o=At(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function RU(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(ze(t)&&ze(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===ie.Integer&&r[4].type===ie.Integer?ie.Integer:ie.Number}])}if(Qe(t)&&ze(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(ze(t)&&Qe(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Le(t)&&ze(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===ie.Integer&&r[4].type===ie.Integer?ie.Integer:ie.Number,unit:t[4].unit}])}if(ze(t)&&Le(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===ie.Integer&&r[4].type===ie.Integer?ie.Integer:ie.Number,unit:r[4].unit}])}return-1}function Ti(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!ce(n))continue;let i=n.value;if(!_e(i))continue;let o=Pt(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:ie.Number}]));break;case"pi":e.splice(r,1,new pe([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ie.Number}]));break;case"infinity":e.splice(r,1,new pe([C.Number,"infinity",i[2],i[3],{value:1/0,type:ie.Number}]));break;case"-infinity":e.splice(r,1,new pe([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ie.Number}]));break;case"nan":e.splice(r,1,new pe([C.Number,"NaN",i[2],i[3],{value:Number.NaN,type:ie.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new pe(a))}}}return e}function Bm(e){if(e.length!==1)return-1;let t=e[0].value;return nt(t)?e[0]:-1}function Qt(e,t,r){return Le(t)?Zc(e,t[4].unit,r):Qe(t)?$U(e,r):ze(t)?wr(e,r):-1}function Zc(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)?ie.Integer:ie.Number,unit:t}])],operation:Bm}}function $U(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:Bm}}function wr(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)?ie.Integer:ie.Number}])],operation:Bm}}function BU(e,t){let r=t.value;return ze(r)?Zc(e,"rad",Math.acos(r[4].value)):-1}function qU(e,t){let r=t.value;return ze(r)?Zc(e,"rad",Math.asin(r[4].value)):-1}function WU(e,t){let r=t.value;return ze(r)?Zc(e,"rad",Math.atan(r[4].value)):-1}function qm(e){return Le(e)||ze(e)}function Pw(e){if(e.length===0)return!0;let t=e[0];if(!nt(t))return!1;if(e.length===1)return!0;if(Le(t)){let r=Pt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==Pt(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 Or(e,t){return!!nt(e)&&(Le(e)?e[0]===t[0]&&Pt(e[4].unit)===Pt(t[4].unit):e[0]===t[0])}function UU(e,t,r){let n=t.value;if(!qm(n))return-1;let i=Rt(n,r.value);return Or(n,i)?Zc(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function _U(e,t,r){let n=t.value;return!nt(n)||!r.rawPercentages&&Qe(n)?-1:Qt(e,n,Math.abs(n[4].value))}function VU(e,t,r,n,i){if(!ce(t)||!ce(r)||!ce(n))return-1;let o=t.value;if(!nt(o)||!i.rawPercentages&&Qe(o))return-1;let a=Rt(o,r.value);if(!Or(o,a))return-1;let s=Rt(o,n.value);return Or(o,s)?Qt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function QU(e,t){let r=t.value;if(!qm(r))return-1;let n=r[4].value;if(Le(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=jc.get("rad")(r[4].value);break;case"grad":n=Li.get("rad")(r[4].value);break;case"turn":n=Di.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),wr(e,n)}function YU(e,t){let r=t.value;return ze(r)?wr(e,Math.exp(r[4].value)):-1}function GU(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!nt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Pw(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return Qt(e,n,a)}function f0(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!nt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Pw(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return Qt(e,n,a)}function g0(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!nt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Pw(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return Qt(e,n,a)}function KU(e,t,r){let n=t.value;if(!nt(n))return-1;let i=Rt(n,r.value);if(!Or(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,Qt(e,n,o)}function JU(e,t,r){let n=t.value,i=r.value;return!ze(n)||!Or(n,i)?-1:wr(e,Math.pow(n[4].value,i[4].value))}function HU(e,t,r){let n=t.value;if(!nt(n))return-1;let i=Rt(n,r.value);if(!Or(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,Qt(e,n,o)}function XU(e,t,r,n,i){let o=r.value;if(!nt(o)||!i.rawPercentages&&Qe(o))return-1;let a=Rt(o,n.value);if(!Or(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 if(Number.isFinite(a[4].value))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 m=l;l=u,u=m}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);s=c===d?u:c<d?l:u;break}}else s=o[4].value;else s=Number.NaN;return Qt(e,o,s)}function ZU(e,t,r){let n=t.value;return!nt(n)||!r.rawPercentages&&Qe(n)?-1:wr(e,Math.sign(n[4].value))}function e8(e,t){let r=t.value;if(!qm(r))return-1;let n=r[4].value;if(Le(r))switch(Pt(r[4].unit)){case"rad":break;case"deg":n=jc.get("rad")(r[4].value);break;case"grad":n=Li.get("rad")(r[4].value);break;case"turn":n=Di.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),wr(e,n)}function t8(e,t){let r=t.value;return ze(r)?wr(e,Math.sqrt(r[4].value)):-1}function r8(e,t){let r=t.value;if(!qm(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Le(r))switch(Pt(r[4].unit)){case"rad":i=Bv.get("deg")(n);break;case"deg":i=n,o=jc.get("rad")(n);break;case"grad":i=Li.get("deg")(n),o=Li.get("rad")(n);break;case"turn":i=Di.get("deg")(n),o=Di.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),wr(e,o)}function n8(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(ze(r)&&ze(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===ie.Integer&&n[4].type===ie.Integer?ie.Integer:ie.Number}])}if(Qe(r)&&Qe(n)){let o=r[4].value-n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Le(r)&&Le(n)&&(n=Rt(r,n),Pt(r[4].unit)===Pt(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===ie.Integer&&n[4].type===ie.Integer?ie.Integer:ie.Number,unit:r[4].unit}])}return(ze(r)&&(Le(n)||Qe(n))||ze(n)&&(Le(r)||Qe(r)))&&((i=t.onParseError)==null||i.call(t,new Ew(Ic.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function i8(e,t){if(t.length===1){let r=t[0];if(!r||!ce(r))return-1;let n=r.value;return ze(n)?wr(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!ce(r))return-1;let n=r.value;if(!ze(n))return-1;let i=t[1];if(!i||!ce(i))return-1;let o=i.value;return ze(o)?wr(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function $v(e){if(Array.isArray(e)){let r=e.filter(n=>!(Oc(n)&&Nw(n)));return r.length===1&&$v(r[0])}if(!ce(e))return!1;let t=e.value;return!!_e(t)&&oD.test(t[4].value)}function o8(e,t,r,n,i,o){var h;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(!nt(a))return-1;let s=Rt(a,n.value);if(!Or(a,s))return-1;let l=null;if(i&&(l=Rt(a,i.value),!Or(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return Qt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return Qt(e,a,a[4].value);let u=t.fixed===-1?a8(s8([t.dashedIdent?t.dashedIdent:`${(h=o.randomCaching)==null?void 0:h.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(aD))):()=>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 b=Math.max(l[4].value/1e3,1e-9),p=[c],v=0;for(;;){v+=l[4].value;let g=c+v;if(!(g+b<d)){p.push(d);break}if(p.push(g),g+l[4].value-b>d)break}let f=u();return Qt(e,a,Number(p[Math.floor(p.length*f)].toFixed(5)))}let m=u();return Qt(e,a,Number((m*(d-c)+c).toFixed(5)))}function a8(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 s8(e){let t=0,r=0,n=0;t^=-1;for(let i=0,o=e.length;i<o;i++)n=255&(t^e.charCodeAt(i)),r=+("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*n,9*n+8)),t=t>>>8^r;return(-1^t)>>>0}function vt(e,t,r){let n=Ti([...e.value.filter(o=>!zt(o))],t);if(n.length===1&&ce(n[0]))return{inputs:[n[0]],operation:Bm};let i=0;for(;i<n.length;){let o=n[i];if(Cr(o)&&Yi(o.startToken)){let a=vt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(et(o)){let a=rm.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&&sn(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!ce(o)&&!sn(o)){i++;continue}let a=n[i+1];if(!a||!ce(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!ce(l)&&!sn(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:MU}):n.splice(i,3,{inputs:[o,l],operation:RU})}if(i=0,n.length===1&&sn(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!ce(o)&&!sn(o)){i++;continue}let a=n[i+1];if(!a||!ce(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!ce(l)&&!sn(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:n8}):n.splice(i,3,{inputs:[o,l],operation:FU})}return n.length===1&&sn(n[0])?n[0]:-1}function mr(e,t,r,n){let i=l8(e,t,r);return i===-1?-1:n(e,i,r)}function l8(e,t,r){let n=Ti([...e.value.filter(o=>!zt(o))],t),i=At(vt(Lt(e,n),t,r),r);return i===-1?-1:i}function Qd(e,t,r,n){let i=u8(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function u8(e,t,r){let n=Ti([...e.value.filter(l=>!zt(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(ce(c)&&Zr(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=At(vt(Lt(e,i),t,r),r);if(a===-1)return-1;let s=At(vt(Lt(e,o),t,r),r);return s===-1?-1:[a,s]}function Yd(e,t,r,n){let i=rD(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function rD(e,t,r,n){let i=Ti([...t.filter(a=>!zt(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];ce(u)&&Zr(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=At(vt(Lt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function c8(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!ce(o)||!_e(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!ce(s))return-1;if(Zr(s.value))return[i,t.slice(a+1)];if(!_e(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=At(vt(Lt(e,[u]),r,n),n);if(c===-1||!ze(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 Lt(e,t){return new Dt([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function d8(e,t,r){return new Dt([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,",",...Mt(t),void 0]),r])}function p8(e){if(e===-1)return-1;if(et(e))return e;let t=e.value;return nt(t)&&Number.isNaN(t[4].value)?ze(t)?new Dt([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"}])]):Le(t)?new Dt([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 Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ie.Integer,unit:t[4].unit}])]):Qe(t)?new Dt([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 Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function m8(e){if(e===-1)return-1;if(et(e))return e;let t=e.value;if(!nt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),ze(t)?new Dt([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"}])]):Le(t)?new Dt([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 Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ie.Integer,unit:t[4].unit}])]):new Dt([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 Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Nt([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])])}function h8(e){if(e===-1)return-1;if(et(e))return e;let t=e.value;return nt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Qe(t)?t[1]="-0%":Le(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function f8(e,t=13){if(e===-1)return-1;if(t<=0||et(e))return e;let r=e.value;if(!nt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return ze(r)?r[1]=n:Qe(r)?r[1]=n+"%":Le(r)&&(r[1]=n+r[4].unit),e}function g8(e){return e===-1?-1:(et(e)||Le(e.value)&&(e.value=DU(e.value)),e)}function b8(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=g8(r)),r=f8(r,t==null?void 0:t.precision),r=h8(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=p8(r),r=m8(r)),r}function v8(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(Pc(n))t.set(r,n);else if(typeof n=="string"){let i=_L({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!nt(o))continue;t.set(r,o);continue}return t}function y8(e,t){let r=v8(t==null?void 0:t.globals);return w8(e,n=>{if(!et(n))return;let i=rm.get(n.getName().toLowerCase());if(!i)return;let o=b8(At(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function w8(e,t){for(let r=0;r<e.length;r++){let n=e[r];Ki(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];ce(l)&&Ft(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Nt([[C.Whitespace," ",...Mt(i.node),void 0]]));let u=i.parent.value[o+1];!u||zt(u)||ce(u)&&(Zr(u.value)||QL(u.value)||YL(u.value)||Ft(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Nt([[C.Whitespace," ",...Mt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var b0,Ew,Ic,nD,iD,v0,jc,Li,y0,w0,k0,x0,S0,C0,A0,z0,N0,Bv,P0,Di,Ow,oD,aD,rm,E0,k8,x8=y(()=>{kt(),it(),b0=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Ew=class extends b0{constructor(t,r){super(t,...Mt(r));U(this,"componentValues");this.componentValues=r}},Ic={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},nD=/[A-Z]/g,iD={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"},v0=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]]),jc=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Li=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),y0=new Map([["hz",e=>e],["khz",e=>e/1e3]]),w0=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]]),k0=new Map([["hz",e=>1e3*e],["khz",e=>e]]),x0=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]]),S0=new Map([["ms",e=>e],["s",e=>e/1e3]]),C0=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]]),A0=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]]),z0=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]]),N0=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]]),Bv=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]]),P0=new Map([["ms",e=>1e3*e],["s",e=>e]]),Di=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Ow=new Map([["cm",v0],["mm",x0],["q",N0],["in",w0],["pc",C0],["pt",A0],["px",z0],["ms",S0],["s",P0],["deg",jc],["grad",Li],["rad",Bv],["turn",Di],["hz",y0],["khz",k0]]),oD=/^none$/i,aD=String.fromCodePoint(0),rm=new Map([["abs",function(e,t,r){return mr(e,t,r,_U)}],["acos",function(e,t,r){return mr(e,t,r,BU)}],["asin",function(e,t,r){return mr(e,t,r,qU)}],["atan",function(e,t,r){return mr(e,t,r,WU)}],["atan2",function(e,t,r){return Qd(e,t,r,UU)}],["calc",vt],["clamp",function(e,t,r){let n=Ti([...e.value.filter(p=>!zt(p))],t),i=[],o=[],a=[];{let p=i;for(let v=0;v<n.length;v++){let f=n[v];if(ce(f)&&Zr(f.value)){if(p===a)return-1;if(p===o){p=a;continue}if(p===i){p=o;continue}return-1}p.push(f)}}let s=$v(i),l=$v(a);if(s&&l)return vt(Lt(e,o),t,r);let u=At(vt(Lt(e,o),t,r),r);if(u===-1)return-1;if(s){let p=At(vt(Lt(e,a),t,r),r);return p===-1?-1:g0((c=e,d=u,m=p,new Dt([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,",",...Mt(d),void 0]),m])),[u,p],r)}if(l){let p=At(vt(Lt(e,i),t,r),r);return p===-1?-1:f0(d8(e,p,u),[p,u],r)}var c,d,m;let h=At(vt(Lt(e,i),t,r),r);if(h===-1)return-1;let b=At(vt(Lt(e,a),t,r),r);return b===-1?-1:VU(e,h,u,b,r)}],["cos",function(e,t,r){return mr(e,t,r,QU)}],["exp",function(e,t,r){return mr(e,t,r,YU)}],["hypot",function(e,t,r){return Yd(e,t,r,GU)}],["log",function(e,t,r){return Yd(e,t,r,i8)}],["max",function(e,t,r){return Yd(e,t,r,f0)}],["min",function(e,t,r){return Yd(e,t,r,g0)}],["mod",function(e,t,r){return Qd(e,t,r,KU)}],["pow",function(e,t,r){return Qd(e,t,r,JU)}],["random",function(e,t,r){let n=c8(e,e.value.filter(c=>!zt(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=rD(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:o8(e,i,s,l,u,r)}],["rem",function(e,t,r){return Qd(e,t,r,HU)}],["round",function(e,t,r){let n=Ti([...e.value.filter(c=>!zt(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let m=n[d];if(!i&&a.length===0&&s.length===0&&ce(m)&&_e(m.value)){let h=m.value[4].value.toLowerCase();if(E0.has(h)){i=h;continue}}if(ce(m)&&Zr(m.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(m)}}let l=At(vt(Lt(e,a),t,r),r);if(l===-1)return-1;o||s.length!==0||s.push(new pe([C.Number,"1",l.value[2],l.value[3],{value:1,type:ie.Integer}]));let u=At(vt(Lt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),XU(e,i,l,u,r))}],["sign",function(e,t,r){return mr(e,t,r,ZU)}],["sin",function(e,t,r){return mr(e,t,r,e8)}],["sqrt",function(e,t,r){return mr(e,t,r,t8)}],["tan",function(e,t,r){return mr(e,t,r,r8)}]]),E0=new Set(["nearest","up","down","to-zero"]),k8=new Set(rm.keys())}),sD,S8=y(()=>{sD={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"counter-style":{descriptors:{"additive-symbols":"[ <integer [0,∞]> && <symbol> ]#",pad:"<integer [0,∞]> && <symbol>"}},"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"}},"font-palette-values":{descriptors:{"override-colors":"[ <integer [0,∞]> <color> ]#"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{size:"<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]"}},"view-transition":{descriptors:{navigation:"auto | none",types:"none | <custom-ident>+"}}},properties:{"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","alignment-baseline":"| text-bottom | text-top",all:" | revert-rule","animation-duration":"[ auto | <time [0s,∞]> ]#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#","animation-trigger":"[ none | [ <dashed-ident> <animation-action>+ ]+ ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","backdrop-filter":"none | <filter-value-list>",background:"<bg-layer>#? , <final-bg-layer>","background-blend-mode":"<'mix-blend-mode'>#","background-origin":"<visual-box>#","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","baseline-source":"auto | first | last","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":"<'border-block-start'>","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-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","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-image-outset":"[ <length [0,∞]> | <number [0,∞]> ]{1,4}","border-image-slice":"[ <number [0,∞]> | <percentage [0,∞]> ]{1,4} && fill?","border-image-width":"[ <length-percentage [0,∞]> | <number [0,∞]> | auto ]{1,4}","border-inline":"<'border-block-start'>","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-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","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-radius":"<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?","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-spacing":"<length>{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}",bottom:"| <anchor()> | <anchor-size()>","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:"<'caret-color'> || <'caret-animation'> || <'caret-shape'>","caret-animation":"auto | manual",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,∞]>","column-height":"auto | <length [0,∞]>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | spanning-item | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"auto | <length-percentage>","column-rule-edge-inset-start":"auto | <length-percentage>","column-rule-inset":"<length-percentage> <length-percentage>? [ / <length-percentage> <length-percentage>? ]?","column-rule-inset-end":"auto | <length-percentage>","column-rule-inset-start":"auto | <length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"auto | <length-percentage>","column-rule-interior-inset-start":"auto | <length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","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> )","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 | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-height":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ [ auto | from-element ]? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"[ auto | from-element ]? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"normal | none | [ <content-replacement> | <content-list> ] [ / [ <string> | <counter> | <attr()> ]+ ]? | <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-left-shape":"<corner-shape-value>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right-shape":"<corner-shape-value>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-end-shape":"<corner-shape-value>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start-shape":"<corner-shape-value>","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-end-shape":"<corner-shape-value>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start-shape":"<corner-shape-value>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-left-shape":"<corner-shape-value>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right-shape":"<corner-shape-value>","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":"auto | text-bottom | text-top | 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()>","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","flood-color":"<color>","flood-opacity":"<'opacity'>","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-palette":"| <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 [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> ]#","font-width":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]>",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-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",interactivity:"auto | inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal | <time>","interest-delay-start":"normal | <time>",isolation:"<isolation-mode>","item-cross":"[ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse","item-direction":"auto | row | column | row-reverse | column-reverse","item-flow":"<'item-direction'> || <'item-wrap'> || <'item-pack'> || <'flow-tolerance'>","item-pack":"normal | dense || balance","item-track":"auto | row | column | row-reverse | column-reverse","item-wrap":"[ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse","justify-items":" | anchor-center","justify-self":" | anchor-center",left:"| <anchor()> | <anchor-size()>","lighting-color":"<color>","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:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"| <anchor-size()>","margin-break":"auto | keep | discard","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"| <anchor-size()>","margin-right":"| <anchor-size()>","margin-top":"| <anchor-size()>","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?","mask-clip":"[ <coord-box> | no-clip ]#","mask-origin":"<coord-box>#","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>","object-fit":"fill | none | [ contain | cover ] || scale-down","object-view-box":"none | <basic-shape-rect>",opacity:"<opacity-value>",orphans:"<integer [1,∞]>",outline:"<'outline-width'> || <'outline-style'> || <'outline-color'>","outline-color":"auto | <'border-top-color'>","outline-style":"auto | none | dotted | dashed | solid | double | groove | ridge | inset | outset",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin-block":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-bottom":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-left":"<visual-box> || <length [0,∞]>","overflow-clip-margin-right":"<visual-box> || <length [0,∞]>","overflow-clip-margin-top":"<visual-box> || <length [0,∞]>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>",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,∞]>","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":"none | auto | <anchor-name>","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","reading-flow":"normal | source-order | flex-visual | flex-flow | grid-rows | grid-columns | grid-order","reading-order":"<integer>","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",right:"| <anchor()> | <anchor-size()>","row-gap":"normal | <length-percentage [0,∞]>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | spanning-item | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"auto | <length-percentage>","row-rule-edge-inset-start":"auto | <length-percentage>","row-rule-inset":"<length-percentage> <length-percentage>? [ / <length-percentage> <length-percentage>? ]?","row-rule-inset-end":"auto | <length-percentage>","row-rule-inset-start":"auto | <length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"auto | <length-percentage>","row-rule-interior-inset-start":"auto | <length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | none",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-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-initial-target":"none | nearest","scroll-marker-group":"none | before | after","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,∞]>","scroll-target-group":"none | auto","scroll-timeline":"[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#","shape-image-threshold":"<opacity-value>","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","stop-color":"<'color'>","stop-opacity":"<'opacity'>","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> | <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-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 [2,4]>? ]","text-decoration-inset":"<length>{1,2} | auto","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>","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-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-mode":"wrap | nowrap","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> [ '/' <'timeline-trigger-exit-range'> ]? ]#","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-name":"none | <dashed-ident>#","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:"| <anchor()> | <anchor-size()>","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,∞]>#","trigger-scope":"none | all | <dashed-ident>#","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-timeline":"[ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-inset'> ]? ]#","view-timeline-name":"[ none | <dashed-ident> ]#","view-transition-class":"none | <custom-ident>+","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | auto",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,∞]>",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 ] ]? )","anchor-size()":"anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )","anchor()":"anchor( <anchor-name>? && <anchor-side> , <length-percentage>? )","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> ]","angular-color-hint":"| <zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [ <angular-color-hint>? , <angular-color-stop> ]#?","animation-action":"none | play | pause | play-forwards | play-backwards | pause | reset | replay","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> ]","attr-type":"type( <syntax> ) | raw-string | number | <attr-unit>","attr-unit":"'%' | em | ex | cap | ch | ic | rem | lh | rlh | vw | vh | vi | vb | vmin | vmax | cm | mm | q | in | pc | pt | px | deg | grad | rad | turn | s | ms | hz | khz | fr","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","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> ]# )",autospace:"no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","basic-shape-rect":"<inset()> | rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? ) | xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )","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>","bg-size":"[ <length-percentage [0,∞]> | auto ]{1,2} | cover | contain","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","blur()":"blur( <length>? )","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()> | <-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()>","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-stop-angle":"[ <angle-percentage> | <zero> ]{1,2}","color-stop-list":"<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?","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> ]","compat-special":"textfield | menulist-button","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","conic-gradient-syntax":"[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>","conic-gradient()":"conic-gradient( [ <conic-gradient-syntax> ] )","container-condition":"[ <container-name>? <container-query>? ]!","container-query":"not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]","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> )","contrast()":"contrast( [ <number> | <percentage> ]? )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","corner-shape-value":"round | scoop | bevel | notch | square | squircle | <superellipse()>","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()>","cubic-bezier()":"cubic-bezier( [ <number [0,1]> , <number> ]#{2} )","cursor-image":"[ <url> | <url-set> ] [ <number>{2} ]?","cursor-predefined":"auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | grab | grabbing | 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","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","custom-params":"<dashed-ident> [ <number> | <percentage> | none ]+",dasharray:"[ [ <length-percentage> | <number> ]+ ]#","dashndashdigit-ident":"<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","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>","element()":"element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [ at <position> ]? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | 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-value-list":"[ <filter-function> | <url> ]+","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]> ]","form-control-identifier":"select","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> ]","grayscale()":"grayscale( [ <number> | <percentage> ]? )","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> ]","hue-rotate()":"hue-rotate( [ <angle> | <zero> ]? )","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-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> )","invert()":"invert( [ <number> | <percentage> ]? )","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 ] ]? )","keyframe-selector":"from | to | <percentage [0,100]> | <timeline-range-name> <percentage>","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> ]","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,∞]> | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","linear-easing-function":"linear | <linear()>","linear-gradient-syntax":"[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>","linear-gradient()":"linear-gradient( [ <linear-gradient-syntax> ] )","linear()":"linear( [ <number> && <percentage>{0,2} ]# )","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-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]>","n-dimension":"<dimension-token>","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>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","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 ] ]? )","opacity-value":"<number> | <percentage>","opacity()":"opacity( [ <number> | <percentage> ]? )","opentype-tag":"<string>","outline-line-style":"none | auto | dotted | dashed | solid | double | groove | ridge | inset | outset","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","paint-box":"<visual-box> | fill-box | stroke-box","palette-mix()":"palette-mix( <color-interpolation-method> , [ [ normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2} )","param()":"param( <dashed-ident> , <declaration-value>? )","path()":"path( <'fill-rule'>? , <string> )","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":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | 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>","radial-extent":"closest-corner | closest-side | farthest-corner | farthest-side","radial-gradient-syntax":"[ [ [ <radial-shape> || <radial-size> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <color-stop-list>","radial-gradient()":"radial-gradient( [ <radial-gradient-syntax> ] )","radial-shape":"circle | ellipse","radial-size":"<radial-extent>{1,2} | <length [0,∞]> | <length-percentage [0,∞]>{2}","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-value-sharing> , [ <declaration-value>? ]# )","random-value-sharing":"[ [ auto | <dashed-ident> ] || element-shared ] | fixed <number [0,1]>","random()":"random( <random-value-sharing>? , <calc-sum> , <calc-sum> , <calc-sum>? )","ray()":"ray( [ <angle> && <ray-size>? && contain? && [ at <position> ]? ] )","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}","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> ] )",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>? )","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","saturate()":"saturate( [ <number> | <percentage> ]? )","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":"<ident> : <ident>","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>","scroll()":"scroll( [ <scroller> || <axis> ]? )","sepia()":"sepia( [ <number> | <percentage> ]? )",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># )","signed-integer":"<number-token>","signless-integer":"<number-token>","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>* )","step-easing-function":"step-start | step-end | <steps()>","steps()":"steps( <integer> , <step-position>? )","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>","superellipse()":"superellipse( <number> | infinity | -infinity )","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","symbols-type":"cyclic | numeric | alphabetic | symbolic | fixed","symbols()":"symbols( <symbols-type>? [ <string> | <image> ]+ )",syntax:"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>","syntax-combinator":"'|'","syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-multiplier":"[ '#' | '+' ]","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-string":"<string>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","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> | <string> ] [ <resolution> || type( <string> ) ]? ]# )","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-image-region | -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 | azimuth | 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-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 | 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-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 | item-cross | item-direction | item-flow | item-pack | item-track | item-wrap | 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-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-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-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 | src | 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-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 | unicode-range | 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 C8(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=A8(t,i))}return t}function A8(e,t){let r={};return r.atrules=z8(e.atrules,t.atrules),r.properties=qv(e.properties,t.properties),r.types=qv(e.types,t.types),r.cssWideKeywords=N8(e.cssWideKeywords,t.cssWideKeywords),r}function z8(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=E8(s.prelude,a.prelude),s.descriptors=qv(s.descriptors,a.descriptors),r[o]=s}return r}function qv(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]=P8(r[i],o);return r}function N8(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 P8(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function E8(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 O8=y(()=>{});function lD(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};r.atRules&&(r.atrules=r.atRules);let n=JSON.stringify(r),i=Wv.get(n);if(i)return i;let{lexer:o}=Sw(C8(uD,r));return Wv.set(n,o),o}var uD,Wv,cD=y(()=>{Ui(),S8(),O8(),{next:uD}=sD,Wv=new Map});function I8(e,t){let r=e.parent;for(;r&&!sr(r)&&t(r)!==Iw;)r=r.parent}var Iw,j8=y(()=>{ge(),Iw="STOP"});function jw(e,t){let r;return I8(e,n=>{if(t(n))return r=n,Iw}),r}var Tw=y(()=>{j8()});function dD(e){return!!jw(e,T8)}function T8(e){return De(e)&&!hc.has(e.name.toLowerCase())}var pD=y(()=>{Tw(),ge(),Bi()}),mD={};z(mD,{default:()=>gD});function hD(e){return!!xw(e,t=>t.type==="Function"&&fD.has(t.name.toLowerCase()))}function L8(e,t,r,n){var l;if(!G.mathFunction.test(e))return["undetermined",-1,-1];let i=Gi(wt({css:e}),{}),o=[],a=y8([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case Ic.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case Ic.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=tD(a);if(G.mathFunction.test(s))return["undetermined",-1,-1];try{let u=Xr(s,{context:"value",positions:!0});if(hD(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,m=c.loc.end.offset,h=a.flatMap(f=>f.flatMap(g=>g.tokens())),b=0,p,v;return h.forEach(f=>{d===b&&(p=f),b+=f[1].length,m===b&&(v=f)}),!p||!v?["invalid",-1,-1]:["invalid",p[2],v[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var $r,Dn,O0,I0,fD,Af,zf,ja,gD,D8=y(()=>{x8(),Ui(),kt(),it(),V(),B(),Z(),Ge(),cD(),xr(),ge(),pD(),gt(),Lr(),We(),Fe(),I(),T(),ur(),Cw(),D(),$r="declaration-property-value-no-unknown",Dn=j($r,{rejected:(e,t)=>`Unexpected unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Unexpected invalid math expression "${t}" for property "${e}"`}),O0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},I0=/^syntax$/i,fD=new Set(["clamp","min","max","env"]),Af=new WeakMap,zf=1e4,ja=(e,t)=>(r,n)=>{var d,m;if(!L(n,$r,{actual:e},{actual:t,possible:{ignoreProperties:[Yt($,_)],propertiesSyntax:[Hp($)],typesSyntax:[Hp($)]},optional:!0}))return;let i=Array.from(Object.entries((d=t==null?void 0:t.ignoreProperties)!=null?d:{})),o=(h,b)=>{let[,p]=i.find(([v])=>Ee(h,v))||[];return!!(p&&Ee(b,p))},a={...t==null?void 0:t.propertiesSyntax},s={...t==null?void 0:t.typesSyntax},l=new Map;r.walkAtRules(ke.propertyName,h=>{let b=h.params.trim();if(!(!b||!h.nodes||!yt(b))){for(let p of h.nodes)if(Ri(p)&&I0.test(p.prop)){let v=p.value.trim(),f=FT.decode(v);if(f===v||f==="*")continue;let g=`-stylelint${b}`;l.set(b,g),a[g]=f}}});let u=Object.keys(a).length>0||Object.keys(s).length>0?lD((m=n.stylelint.config)!=null?m:{},{properties:a,types:s}):n.stylelint.lexer,c=Af.get(u);c||(c=new Set,Af.set(u,c)),r.walkDecls(h=>{var ne;let{prop:b}=h,p=Ye(h);if(/^-moz-initial$/i.test(p)||!ft(h)||dD(h)||!Tr(b)||!Be(p)||yt(b)&&!l.has(b)||o(b,p)||/\bvar\s*\(/i.test(p))return;let v=yt(b)?null:`${b}:${p}`;if(v&&c.has(v))return;let[f,g,x]=L8(p,b,u,l);if(f==="valid"||f==="skip-validation"){v&&c.size<zf&&c.add(v);return}if(f==="invalid"){let K=ae(h),de=p,oe=K,se=oe+de.length;g!==-1&&x!==-1&&(de=p.slice(g,x),oe=K+g,se=oe+de.length),E({message:Dn.rejectedMath,messageArgs:[b,de],node:h,index:oe,endIndex:se,result:n,ruleName:$r});return}let k;try{if(k=Xr(p,{context:"value",positions:!0}),hD(k))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(p))return;let K=ae(h),de=K+p.length;E({message:Dn.rejectedParseError,messageArgs:[b,p],node:h,index:K,endIndex:de,result:n,ruleName:$r});return}let{error:w}=u.matchProperty((ne=l.get(b))!=null?ne:b,k);if(!w){v&&c.size<zf&&c.add(v);return}if(!("mismatchLength"in w))return;let{name:S,rawMessage:P,loc:A}=w;if(S!=="SyntaxMatchError"||P!=="Mismatch")return;let M=ae(h),N=p.slice(A.start.offset,A.end.offset),q=xw(k,K=>K.type==="Function"&&K.loc!==void 0&&A.start.offset>=K.loc.start.offset&&A.end.offset<=K.loc.end.offset);if(q!=null&&q.loc){let K=p.slice(q.loc.start.offset,q.loc.end.offset),de=M+q.loc.start.offset,oe=de+K.length;E({message:Dn.rejected,messageArgs:[b,K],node:h,index:de,endIndex:oe,result:n,ruleName:$r});return}E({message:Dn.rejected,messageArgs:[b,N],node:h,index:M+A.start.offset,endIndex:M+A.end.offset,result:n,ruleName:$r})})},ja.ruleName=$r,ja.messages=Dn,ja.meta=O0,gD=ja}),bD={};z(bD,{default:()=>kD});function j0(e){return vD.test(e)?1:yD.test(e)?2:wD.test(e)?3:0}function F8(e,t){return j0(e)-j0(t)}function M8(e){return e.map(t=>t[4].value).sort(F8).join(" ").toLowerCase()}function R8(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Mm),a=e.slice(e.indexOf(r)+1);return we(...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 Ta,Nf,T0,vD,yD,wD,L0,D0,F0,La,kD,$8=y(()=>{it(),Je(),Z(),Ge(),We(),V(),I(),T(),Bt(),D(),Ta="display-notation",Nf=j(Ta,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),T0={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},vD=new RegExp(`^(?:${[...Ty.values()].join("|")})$`,"i"),yD=new RegExp(`^(?:${[...Ly.values()].join("|")})$`,"i"),wD=new RegExp(`^(?:${[...Dy.values()].join("|")})$`,"i"),L0=/^display$/i,D0={"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"]},F0={"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"]},La=e=>(t,r)=>{L(r,Ta,{actual:e,possible:["short","full"]})&&t.walkDecls(L0,n=>{let i=Ye(n);if(!G.displayKeyword.test(i)||!Be(i))return;let o=wt({css:i});if(o.some(m=>!(St(m)||Vt(m)||_e(m))))return;let a=o.filter(_e);if(!a.length)return;let s=M8(a),l=e==="short"?F0[s]:D0[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ae(n);E({message:Nf.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ta,fix:{apply:()=>{$t(n,R8(o,u,c,l))},node:n}})})},La.ruleName=Ta,La.messages=Nf,La.meta=T0,kD=La});function bp(e){return e.toString().trim().length!==0&&Number(e)==e}var xD=y(()=>{});function M0(e){if(!e)return!1;if(Ip.has(e))return!0;let t=SD.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||Ci.has(r.toLowerCase()))}var SD,B8=y(()=>{SD=re(fe(),1),Je(),Mc()});function ed(e){return e.toLowerCase().startsWith("var(")}var td=y(()=>{});function q8(e,t,r){return e.value=e.value+r+t.value,e}function Lw(e){let t=[],r=(0,CD.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&je.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(!AD.has(a.type))return;let u=a.value.toLowerCase();if(!Be(u)||ed(u))return;let c=Kr.has(u);if(!c&&Fy.has(u)||!c&&M0(a.value))return;let d=l[s+1],m=l[s-1],h=l[s-2],b=l.slice(0,s);if(c&&Ip.has(u)&&!(!d||Uv(d)||b.find(Uv))||m&&m.value==="/"&&h&&M0(h.value)||bp(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 p=a;if(i){let v=t[t.length-1];Ve(v),q8(v,p,o),i=!1,o=null}else t.push(p)}),t}var CD,AD,Uv,Dw=y(()=>{CD=re(fe(),1),Je(),B(),xD(),We(),B8(),td(),AD=new Set(["word","string","space","div"]),Uv=e=>e.type==="div"&&e.value===","}),zD={};z(zD,{default:()=>ND});function W8(e){return!!(_A.has(e)||e==="BlinkMacSystemFont")}function U8(e){return!/^[-a-z]+$/i.test(e)}function _8(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Da,Pf,R0,$0,Fa,ND,V8=y(()=>{Je(),Dw(),We(),td(),V(),I(),T(),D(),Da="font-family-name-quotes",Pf=j(Da,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),R0={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},$0=(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},Fa=e=>(t,r)=>{if(!L(r,Da,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(jr.fontFamilyAndShorthandName,o=>{if(!Be(o.value))return;let a=$0(Lw(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(ed(l))return;if(Kr.has(s.toLowerCase())||W8(s))return u?i("rejected",o,a):void 0;let c=_8(s),d=U8(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();E({result:r,ruleName:Da,message:Pf[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Fa.ruleName=Da,Fa.messages=Pf,Fa.meta=R0,ND=Fa}),PD={};z(PD,{default:()=>ED});var Ma,Ef,B0,q0,Ra,ED,Q8=y(()=>{B(),Z(),Dw(),Je(),H(),V(),I(),T(),D(),Ma="font-family-no-duplicate-names",Ef=j(Ma,{rejected:e=>`Unexpected duplicate font-family name ${e}`}),B0={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},q0=e=>!("quote"in e)&&Kr.has(e.value.toLowerCase()),Ra=(e,t)=>(r,n)=>{if(!L(n,Ma,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(jr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Lw(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(q0(u)){if(a.has(c.toLowerCase())){i(c,ae(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ae(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){E({result:n,ruleName:Ma,message:Ef.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Ra.ruleName=Ma,Ra.messages=Ef,Ra.meta=B0,ED=Ra}),OD={};z(OD,{default:()=>ID});var $a,Of,W0,U0,_0,Ba,ID,Y8=y(()=>{Uc(),B(),Je(),Z(),Dw(),ge(),We(),td(),H(),V(),I(),T(),D(),$a="font-family-no-missing-generic-family-keyword",Of=j($a,{rejected:"Unexpected missing generic font family"}),W0={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},U0=e=>!("quote"in e)&&Kr.has(e.value.toLowerCase()),_0=e=>{let t=zi.list.comma(e).pop();return t!=null&&(ed(t)||!Be(t))},Ba=(e,t)=>(r,n)=>{if(!L(n,$a,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(jr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&De(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&UA.has(o.value.toLowerCase())||_0(o.value))return;let s=Lw(o.value);if(s.length===0||s.some(m=>U0(m))||s.some(m=>R(t,"ignoreFontFamilies",m.value)))return;let l=s[s.length-1];Ve(l);let u=ae(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;E({result:n,ruleName:$a,message:Of.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},Ba.ruleName=$a,Ba.messages=Of,Ba.meta=W0,ID=Ba}),jD={};z(jD,{default:()=>TD});function _v(e){return e!==void 0&&e.type==="div"}function G8(e,t,r){return!(e.type!=="word"||_v(r[t-1])||_v(r[t+1]))}var V0,qa,Wa,Q0,Y0,G0,If,Ua,TD,K8=y(()=>{V0=re(fe(),1),Je(),V(),B(),Z(),Ge(),xD(),We(),td(),H(),I(),T(),Bt(),D(),qa="font-weight-notation",Wa=j(qa,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),Q0={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},Y0="normal",G0=new Map([["normal","400"],["bold","700"]]),If=new Map([["400","normal"],["700","bold"]]),Ua=(e,t)=>(r,n)=>{if(!L(n,qa,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=R(t,"ignore","relative");r.walkDecls(jr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!G.namedFontWeight.test(a.value)||e==="named-where-possible"&&!G.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,V0.default)(Ye(a)),u=l.nodes,c=u.some((d,m,h)=>bp(d.value)&&!_v(h[m-1]));for(let[d,m]of u.entries()){if(!G8(m,d,u))continue;let{value:h}=m;if(s){if(h.toLowerCase()===Y0&&c)continue;if(o(a,m,l))break}o(a,m,l)}});function o(a,s,l){let u=s.value;if(!Be(u)||ed(u))return;let c=u.toLowerCase();if(i&&Ep.has(c))return;let d=h=>()=>{s.value=h,$t(a,l.toString())};if(e==="numeric"){if(!bp(c)&&Op.has(c)){let h=G0.get(c);return h?m(Wa.expectedWithActual,[u,h],s,d(h)):m(Wa.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&bp(c)&&If.has(c)){let h=If.get(c);Mi(h);let b=d(h);return m(Wa.expectedWithActual,[u,h],s,b),!0}function m(h,b,p,v){let f=ae(a)+p.sourceIndex,g=f+p.value.length;E({ruleName:qa,result:n,message:h,messageArgs:b,node:a,index:f,endIndex:g,fix:{apply:v,node:a}})}}},Ua.ruleName=qa,Ua.messages=Wa,Ua.meta=Q0,TD=Ua}),LD={};z(LD,{default:()=>DD});function J8(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 K0,_a,jf,J0,Fn,DD,H8=y(()=>{K0=re(fe(),1),B(),Z(),xr(),Gc(),Fe(),I(),T(),D(),_a="function-allowed-list",jf=j(_a,{rejected:e=>`Unexpected function "${e}"`}),J0={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Fn=(e,t)=>(r,n)=>{var o;if(!L(n,_a,{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,K0.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!Yc(s)||Ee(c,e)&&(!Ee(c,i)||J8(a)))return;let d=ae(a)+u,m=d+c.length;E({message:jf.rejected,messageArgs:[c],node:a,index:d,endIndex:m,result:n,ruleName:_a})})})},Fn.primaryOptionArray=!0,Fn.ruleName=_a,Fn.messages=jf,Fn.meta=J0,DD=Fn}),FD={};z(FD,{default:()=>BD});function X8(e){let t=wt({css:e});return t.forEach((r,n)=>{if(!Le(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;Fm(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=wt({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(!Ft(r)||r[4].value!=="#")return;let i=t[n+1];if(!GL(i))return;let o=t[n+2];!Ft(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),Gi(t)}function H0(e){if(Cr(e))return!0;if(et(e)){let t=e.getName().toLowerCase();return!!(qi.has(t)||t==="var")}return ce(e)?RD.has(e.value[0]):!1}function Gd(e=" "){return new Nt([[C.Whitespace,e,-1,-1,void 0]])}function Z8(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;zt(s);)s=e.value[++t];for(H0(s)&&(r=s,s=e.value[++t]);zt(s);)i.push(s),s=e.value[++t];for(ce(s)&&Ft(s.value)&&MD.has(s.value[4].value)&&(a=s,s=e.value[++t]);zt(s);)o.push(s),s=e.value[++t];for(H0(s)&&(n=s,s=e.value[++t]);zt(s);)s=e.value[++t];if(!r||!n){for(;s;){if(ce(s)&&(Zr(s.value)||YL(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new $D(r,i,n,o,a),t]}var Va,ln,X0,MD,Z0,eS,Qa,RD,$D,BD,e_=y(()=>{var e,Vv,r;kt(),it(),Z(),Ge(),Ir(),V(),I(),T(),Bt(),D(),B(),Va="function-calc-no-unspaced-operator",ln=j(Va,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),X0={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},MD=new Set(["+","-"]),Z0=new RegExp(`^(?:${[...qi].join("|")})$`,"i"),eS=/\n|\r\n/,Qa=n=>(i,o)=>{if(!L(o,Va,{actual:n}))return;function a(s,l,u,c,d){let m=u+c.length;E({message:s,messageArgs:[c],node:l,index:u,endIndex:m,result:o,ruleName:Va,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=Ye(s);if(!G.operator.test(l)||!G.mathFunction.test(l))return;let u=X8(l);if(u.length===0)return;let c=ae(s),d=()=>$t(s,tD([u]));function m(p,v,f){v[f].some(Oc)||a(ln[f==="before"?"expectedBefore":"expectedAfter"],s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertWhitespace(p,f),d()})}function h(p,v){if(ce(v.firstOperand)){let f=v.firstOperand.value,g=(x,k)=>{if(!(x&&G.operator.test(x)))return!1;let[,,,w]=f;return v.completeMissingOperator(x,w,"append"),a(ln.expectedBefore,s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertOperatorAfterFirstOperand(p),k(),d()}),!0};if(Le(f)){let[,,,,{unit:x}]=f,k=x.at(-1),w=x.slice(0,-1);if(g(k,()=>Fm(f,w)))return}if(_e(f)){let[,,,,{value:x}]=f,k=x.at(-1),w=x.slice(0,-1);if(g(k,()=>CU(f,w)))return}}if(ce(v.secondOperand)&&nt(v.secondOperand.value)){let f=v.secondOperand.value,[,,g,,{signCharacter:x}]=f;x&&G.operator.test(x)&&(v.completeMissingOperator(x,g,"prepend"),a(ln.expectedAfter,s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertOperatorBeforeSecondOperand(p),f[4].signCharacter=void 0,f[1]=f[1].slice(1),d()}))}}function b(p,v){p[v].forEach(f=>{if(!Oc(f))return;let g=f.toString();if(g===" ")return;let x=g.search(eS);if(x===0)return;let k=v==="before"?ln.expectedBefore:ln.expectedAfter;a(k,s,c+p.operatorCharPosition,p.operatorChar,()=>{f.value=Gd(x===-1?" ":g.slice(x)).value,d()})})}Ki(u,({node:p,state:v})=>{if(!v)return;if(et(p))v.inMathFunction=Z0.test(p.getName().toLowerCase());else if(!Cr(p)||!Yi(p.startToken)){v.inMathFunction=!1;return}if(!v.inMathFunction)return;let f=0,g;for(;f!==-1&&f<p.value.length;){if([g,f]=Z8(p,f),!g){f++;continue}g.operator||h(p,g),g.operator&&(m(p,g,"before"),m(p,g,"after"),b(g,"before"),b(g,"after")),f=p.value.indexOf(g.secondOperand)}},{inMathFunction:!1})})},RD=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),$D=(r=class{constructor(n,i,o,a,s){ik(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return th(this,e,Vv)[4].value}get operatorCharPosition(){return th(this,e,Vv)[2]}insertWhitespace(n,i){Ve(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,Gd())}insertOperatorAfterFirstOperand(n){Ve(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){Ve(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=[Gd()]):this.after=[Gd()]}},e=new WeakSet,Vv=function(){var n;return Ve(Ft((n=this.operator)==null?void 0:n.value)),this.operator.value},r),Qa.ruleName=Va,Qa.messages=ln,Qa.meta=X0,BD=Qa}),qD={};z(qD,{default:()=>WD});var tS,Ya,Tf,rS,Mn,WD,t_=y(()=>{tS=re(fe(),1),B(),Z(),Gc(),Fe(),I(),T(),D(),Ya="function-disallowed-list",Tf=j(Ya,{rejected:e=>`Unexpected function "${e}"`}),rS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Mn=e=>(t,r)=>{L(r,Ya,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,tS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!Yc(i)||!Ee(s,e))return;let l=ae(n)+a,u=l+s.length;E({message:Tf.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:Ya})})})},Mn.primaryOptionArray=!0,Mn.ruleName=Ya,Mn.messages=Tf,Mn.meta=rS,WD=Mn});function rd(e,t,r){let n=(0,Qv.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,Qv.default)(e.slice(i.sourceIndex+o.length)).nodes;Ve(u);let c=s+u.sourceEndIndex-1;c-=e[c-1]===")"?a:0,l=e.slice(s,c)}else{let u=i.sourceEndIndex;u-=e[u-1]===")"?a:0,l=e.slice(s,u)}r(l,s,i,n)})}var Qv,nd=y(()=>{Qv=re(fe(),1),B()}),UD={};z(UD,{default:()=>QD});function r_(e,t){let r=t?_D:VD,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Lf,Ga,Df,nS,Ff,iS,oS,Rn,_D,VD,aS,sS,lS,Ka,QD,n_=y(()=>{Lf=re(fe(),1),Z(),nd(),We(),I(),T(),D(),Et(),Ga="function-linear-gradient-no-nonstandard-direction",Df=j(Ga,{rejected:"Unexpected nonstandard direction"}),nS={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Ff="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",iS=new RegExp(`${Ff}\\(`,"i"),oS=new RegExp(`^${Ff}$`,"i"),Rn=/top|left|bottom|right/i,_D=new RegExp(`^to (${Rn.source})(?: (${Rn.source}))?$`,"i"),VD=new RegExp(`^(${Rn.source})(?: (${Rn.source}))?$`,"i"),aS=/[\d.]/,sS=/^[\d.]+(?:deg|grad|rad|turn)$/,lS=/\bin\b/i,Ka=e=>(t,r)=>{L(r,Ga,{actual:e})&&t.walkDecls(n=>{iS.test(n.value)&&(0,Lf.default)(n.value).walk(i=>{i.type==="function"&&rd(Lf.default.stringify(i).toLowerCase(),oS,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Be(l)||l.startsWith("var(")||lS.test(l))return;if(aS.test(l.charAt(0))){if(sS.test(l))return;c();return}if(!Rn.test(l))return;let u=!Ke.prefix(i.value);r_(l,u)||c();function c(){let d=ae(n)+i.sourceIndex+a,m=d+(s[0]||"").trimEnd().length;E({message:Df.rejected,messageArgs:[],node:n,index:d,endIndex:m,result:r,ruleName:Ga})}})})})},Ka.ruleName=Ga,Ka.messages=Df,Ka.meta=nS,QD=Ka}),YD={};z(YD,{default:()=>GD});var uS,Ja,Mf,cS,Kd,Ha,GD,i_=y(()=>{uS=re(fe(),1),B(),Ir(),Z(),Ge(),Gc(),We(),H(),I(),T(),Bt(),D(),Ja="function-name-case",Mf=j(Ja,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cS={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Kd=new Map;for(let e of BA)Kd.set(e.toLowerCase(),e);Ha=(e,t)=>(r,n)=>{L(n,Ja,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Be(i.value))return;let o=(0,uS.default)(Ye(i));o.walk(a=>{if(a.type!=="function"||!Yc(a))return;let s=a.value,l=s.toLowerCase();if(R(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Kd.has(l)?u=Kd.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ae(i)+a.sourceIndex,d=c+s.length,m=()=>{a.value=u,$t(i,o.toString())};E({message:Mf.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:Ja,fix:{apply:m,node:i}})})})},Ha.ruleName=Ja,Ha.messages=Mf,Ha.meta=cS,GD=Ha}),KD,o_=y(()=>{KD=["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 a_(e){return e.startsWith("--")}var s_=y(()=>{}),JD={};z(JD,{default:()=>HD});var Xa,Rf,dS,Za,HD,l_=y(()=>{kt(),o_(),it(),B(),Z(),s_(),We(),H(),I(),T(),D(),Xa="function-no-unknown",Rf=j(Xa,{rejected:e=>`Unexpected unknown function "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},Za=(e,t)=>(r,n)=>{L(n,Xa,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Be(o)&&Ki(Gi(wt({css:o})),({node:a})=>{if(!et(a))return;let s=a.getName();if(a_(s)||R(t,"ignoreFunctions",s)||KD.includes(s.toLowerCase()))return;let l=ae(i),u=l+a.name[2],c=l+a.name[3];E({message:Rf.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:Xa})})})},Za.ruleName=Xa,Za.messages=Rf,Za.meta=dS,HD=Za});function Wm(e){return e.length===0?!0:sA(e)||cA(e)||iA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!tA(e):!(e.startsWith("@")&&XD.test(e)||e.includes("$")&&ZD.test(e)&&!e.endsWith("/"))}var XD,ZD,Um=y(()=>{nA(),aA(),uA(),pA(),XD=/^@@?[\w-]+$/,ZD=/^[$\s\w+\-,./*'"@#?]+$/}),eF={};z(eF,{default:()=>tF});var es,$f,pS,Bf,ts,tF,u_=y(()=>{V(),nd(),Um(),I(),T(),D(),es="function-url-no-scheme-relative",$f=j(es,{rejected:"Unexpected scheme-relative url"}),pS={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},Bf=(e,t,r)=>{rd(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Wm(o)||!o.startsWith("//")||E({message:$f.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:es})})},ts=e=>(t,r)=>{L(r,es,{actual:e})&&(t.walkDecls(n=>{Bf(n,n.toString(),r)}),t.walkAtRules(ke.importName,n=>{Bf(n,n.toString(),r)}))},ts.ruleName=es,ts.messages=$f,ts.meta=pS,tF=ts}),rF={};z(rF,{default:()=>nF});var rs,qf,mS,ns,nF,c_=y(()=>{it(),Z(),nd(),ut(),Ge(),gt(),Um(),V(),H(),I(),T(),D(),rs="function-url-quotes",qf=j(rs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Unexpected quotes around "${e}" function argument`}),mS={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},ns=(e,t)=>(r,n)=>{if(!L(n,rs,{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(b,p,v,f){return()=>{switch(v){case"expected":c(p);break;case"rejected":d(p);break}switch(b.type){case"decl":b.value=f.toString();break;case"atrule":b.params=f.toString();break}}}function s(b,p,v){rd(p,/^url$/i,(f,g,x,k)=>{let w=h(f,v+g);if(w){let{messageType:S,...P}=w,A=qf[S],M=[x.value.toLowerCase()],N=a(b,x,S,k);E({...P,node:b,fix:{apply:N,node:b},message:A,messageArgs:M,result:n,ruleName:rs})}})}function l(b){if(!G.urlFunction.test(b.value)||!ft(b))return;let p=Ye(b),v=ae(b);s(b,p,v)}function u(b){let p=lt(b),v=Ie(b);s(b,p,v)}function c(b){for(let p of b.nodes)p.type==="word"&&(p.value=`"${p.value}"`)}function d(b){for(let p of b.nodes)p.type==="string"&&(p.type="word")}function m(b){var k;let p=b,v=(k=b[0])!=null?k:"",f=b.lastIndexOf(v);f>0&&(p=b.slice(1,f));let g=wt({css:`url(${p})`});if(g.length!==2)return!0;let x=g[0];return!PU(x)}function h(b,p){let v=b.trimStart();if(!Wm(v))return;let f=e==="always";i&&o.has(b.trim())&&(f=!f);let g=v.startsWith("'")||v.startsWith('"');if(g&&m(v)||f&&g||!f&&!g)return;let x=f?"expected":"rejected",k=p+b.length-v.length,w=p+b.length;return{messageType:x,index:k,endIndex:w}}},ns.ruleName=rs,ns.messages=qf,ns.meta=mS,nF=ns});function iF(e){let t=null;try{t=new URL(e).protocol}catch{return null}if(t===null||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 oF=y(()=>{}),aF={};z(aF,{default:()=>sF});var is,Wf,hS,$n,sF,d_=y(()=>{B(),nd(),oF(),Um(),Fe(),I(),T(),D(),is="function-url-scheme-allowed-list",Wf=j(is,{rejected:e=>`Unexpected URL scheme "${e}:"`}),hS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},$n=e=>(t,r)=>{L(r,is,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{rd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Wm(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=iF(s);l!==null&&(Ee(l,e)||E({message:Wf.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:is}))})})},$n.primaryOptionArray=!0,$n.ruleName=is,$n.messages=Wf,$n.meta=hS,sF=$n}),lF={};z(lF,{default:()=>uF});var os,Uf,fS,Bn,uF,p_=y(()=>{B(),nd(),oF(),Um(),Fe(),I(),T(),D(),os="function-url-scheme-disallowed-list",Uf=j(os,{rejected:e=>`Unexpected URL scheme "${e}:"`}),fS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Bn=e=>(t,r)=>{L(r,os,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{rd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Wm(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=iF(s);l!==null&&Ee(l,e)&&E({message:Uf.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:os})})})},Bn.primaryOptionArray=!0,Bn.ruleName=os,Bn.messages=Uf,Bn.meta=fS,uF=Bn}),cF={};z(cF,{default:()=>dF});function m_(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(Rb.has(r))return t[0+n];if($b.has(r))return t[2+n]}var _f,as,Vf,gS,ss,dF,h_=y(()=>{_f=re(fe(),1),Ir(),Z(),Ge(),We(),V(),I(),T(),Bt(),D(),as="hue-degree-notation",Vf=j(as,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),gS={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},ss=e=>(t,r)=>{L(r,as,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!G.hueColorFunction.test(n.value))return;let i=(0,_f.default)(Ye(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Oy.has(a))return;let s=m_(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=_f.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 m=e==="angle"?`${u.number}deg`:u.number,h=l,b=ae(n),p=()=>{s.value=m,$t(n,i.toString())};E({message:Vf.expected,messageArgs:[h,m],node:n,index:b+s.sourceIndex,endIndex:b+s.sourceEndIndex,result:r,ruleName:as,fix:{apply:p,node:n}})})})},ss.ruleName=as,ss.messages=Vf,ss.meta=gS,dF=ss});function pF(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var mF=y(()=>{}),hF={};z(hF,{default:()=>fF});var ls,us,Jd,bS,Qf,cs,fF,f_=y(()=>{ls=re(fe(),1),Z(),V(),ut(),I(),T(),mF(),D(),us="import-notation",Jd=j(us,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),bS={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Qf=(e,t,r)=>()=>{let n=e.params.slice(r);pF(e,`${t}${n}`)},cs=e=>(t,r)=>{if(!L(r,us,{actual:e,possible:["string","url"]}))return;t.walkAtRules(ke.importName,n);function n(i){var l;let o=lt(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=Ie(i),s=(0,ls.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:m}=u,h=a+c,b={node:i,index:a,endIndex:h,result:r,ruleName:us};if(e==="string"){if(d!=="function"||m.toLowerCase()!=="url")continue;let p=ls.default.stringify(u),v=ls.default.stringify(u.nodes),f=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${v}"`:v,g=Qf(i,f,c),x=Jd.expected;E({...b,message:x,messageArgs:[p,f],fix:{apply:g,node:b.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let p=`url(${ls.default.stringify(u)})`,v=d==="word"?`"${m}"`:`${u.quote}${m}${u.quote}`,f=Qf(i,p,c),g=Jd.expected;E({...b,message:g,messageArgs:[v,p],fix:{apply:f,node:b.node}});return}}}},cs.ruleName=us,cs.messages=Jd,cs.meta=bS,fF=cs}),gF=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 m=parseInt(s,16),h=m>=55296&&m<=57343;return h||m===0||m>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(m),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}),g_=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}),b_=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}),v_=Y((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),_m=Y(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(gF());e.unesc=t.default;var r=o(g_());e.getProp=r.default;var n=o(b_());e.ensureObject=n.default;var i=o(v_());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),tn=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=_m();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 m=l[d],h=typeof m;d==="parent"&&h==="object"?u&&(c[d]=u):m instanceof Array?c[d]=m.map(function(b){return s(b,c)}):c[d]=s(m,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 m=this[u],h=this.raws[u];this[u]=m+c,h||d!==c?this.raws[u]=(h||m)+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}),bt=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 m="universal";e.UNIVERSAL=m}),Fw=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(tn()),n=o(bt());function i(p){if(typeof WeakMap!="function")return null;var v=new WeakMap,f=new WeakMap;return(i=function(g){return g?f:v})(p)}function o(p,v){if(!v&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var f=i(v);if(f&&f.has(p))return f.get(p);var g={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in p)if(k!=="default"&&Object.prototype.hasOwnProperty.call(p,k)){var w=x?Object.getOwnPropertyDescriptor(p,k):null;w&&(w.get||w.set)?Object.defineProperty(g,k,w):g[k]=p[k]}return g.default=p,f&&f.set(p,g),g}function a(p){return p&&p.__esModule?p:{default:p}}function s(p,v){var f=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f)return(f=f.call(p)).next.bind(f);if(Array.isArray(p)||(f=l(p))||v&&p&&typeof p.length=="number"){f&&(p=f);var g=0;return function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
34
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(p,v){if(p){if(typeof p=="string")return u(p,v);var f=Object.prototype.toString.call(p).slice(8,-1);if(f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set")return Array.from(p);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return u(p,v)}}function u(p,v){(v==null||v>p.length)&&(v=p.length);for(var f=0,g=new Array(v);f<v;f++)g[f]=p[f];return g}function c(p,v){for(var f=0;f<v.length;f++){var g=v[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(p,g.key,g)}}function d(p,v,f){return v&&c(p.prototype,v),f&&c(p,f),Object.defineProperty(p,"prototype",{writable:!1}),p}function m(p,v){p.prototype=Object.create(v.prototype),p.prototype.constructor=p,h(p,v)}function h(p,v){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,g){return f.__proto__=g,f},h(p,v)}var b=(function(p){m(v,p);function v(g){var x;return x=p.call(this,g)||this,x.nodes||(x.nodes=[]),x}var f=v.prototype;return f.append=function(g){return g.parent=this,this.nodes.push(g),this},f.prepend=function(g){g.parent=this,this.nodes.unshift(g);for(var x in this.indexes)this.indexes[x]++;return this},f.at=function(g){return this.nodes[g]},f.index=function(g){return typeof g=="number"?g:this.nodes.indexOf(g)},f.removeChild=function(g){g=this.index(g),this.at(g).parent=void 0,this.nodes.splice(g,1);var x;for(var k in this.indexes)x=this.indexes[k],x>=g&&(this.indexes[k]=x-1);return this},f.removeAll=function(){for(var g=s(this.nodes),x;!(x=g()).done;){var k=x.value;k.parent=void 0}return this.nodes=[],this},f.empty=function(){return this.removeAll()},f.insertAfter=function(g,x){var k;x.parent=this;for(var w=this.index(g),S=[],P=2;P<arguments.length;P++)S.push(arguments[P]);(k=this.nodes).splice.apply(k,[w+1,0,x].concat(S)),x.parent=this;var A;for(var M in this.indexes)A=this.indexes[M],w<A&&(this.indexes[M]=A+arguments.length-1);return this},f.insertBefore=function(g,x){var k;x.parent=this;for(var w=this.index(g),S=[],P=2;P<arguments.length;P++)S.push(arguments[P]);(k=this.nodes).splice.apply(k,[w,0,x].concat(S)),x.parent=this;var A;for(var M in this.indexes)A=this.indexes[M],A>=w&&(this.indexes[M]=A+arguments.length-1);return this},f._findChildAtPosition=function(g,x){var k=void 0;return this.each(function(w){if(w.atPosition){var S=w.atPosition(g,x);if(S)return k=S,!1}else if(w.isAtPosition(g,x))return k=w,!1}),k},f.atPosition=function(g,x){if(this.isAtPosition(g,x))return this._findChildAtPosition(g,x)||this},f._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))},f.each=function(g){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var k,w;this.indexes[x]<this.length&&(k=this.indexes[x],w=g(this.at(k),k),w!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],w===!1)return!1}},f.walk=function(g){return this.each(function(x,k){var w=g(x,k);if(w!==!1&&x.length&&(w=x.walk(g)),w===!1)return!1})},f.walkAttributes=function(g){var x=this;return this.walk(function(k){if(k.type===n.ATTRIBUTE)return g.call(x,k)})},f.walkClasses=function(g){var x=this;return this.walk(function(k){if(k.type===n.CLASS)return g.call(x,k)})},f.walkCombinators=function(g){var x=this;return this.walk(function(k){if(k.type===n.COMBINATOR)return g.call(x,k)})},f.walkComments=function(g){var x=this;return this.walk(function(k){if(k.type===n.COMMENT)return g.call(x,k)})},f.walkIds=function(g){var x=this;return this.walk(function(k){if(k.type===n.ID)return g.call(x,k)})},f.walkNesting=function(g){var x=this;return this.walk(function(k){if(k.type===n.NESTING)return g.call(x,k)})},f.walkPseudos=function(g){var x=this;return this.walk(function(k){if(k.type===n.PSEUDO)return g.call(x,k)})},f.walkTags=function(g){var x=this;return this.walk(function(k){if(k.type===n.TAG)return g.call(x,k)})},f.walkUniversals=function(g){var x=this;return this.walk(function(k){if(k.type===n.UNIVERSAL)return g.call(x,k)})},f.split=function(g){var x=this,k=[];return this.reduce(function(w,S,P){var A=g.call(x,S);return k.push(S),A?(w.push(k),k=[]):P===x.length-1&&w.push(k),w},[])},f.map=function(g){return this.nodes.map(g)},f.reduce=function(g,x){return this.nodes.reduce(g,x)},f.every=function(g){return this.nodes.every(g)},f.some=function(g){return this.nodes.some(g)},f.filter=function(g){return this.nodes.filter(g)},f.sort=function(g){return this.nodes.sort(g)},f.toString=function(){return this.map(String).join("")},d(v,[{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}}]),v})(r.default);e.default=b,t.exports=e.default}),bF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fw()),n=bt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var m=0;m<d.length;m++){var h=d[m];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}function a(c,d,m){return d&&o(c.prototype,d),m&&o(c,m),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(m,h){return m.__proto__=h,m},l(c,d)}var u=(function(c){s(d,c);function d(h){var b;return b=c.call(this,h)||this,b.type=n.ROOT,b}var m=d.prototype;return m.toString=function(){var h=this.reduce(function(b,p){return b.push(String(p)),b},[]).join(",");return this.trailingComma?h+",":h},m.error=function(h,b){return this._error?this._error(h,b):new Error(h)},a(d,[{key:"errorGenerator",set:function(h){this._error=h}}]),d})(r.default);e.default=u,t.exports=e.default}),vF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fw()),n=bt();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}),Mw=Y((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var m in c)d[m]=n.call(u,m)?u[m]:c[m];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 m=d.quotes=="double"?'"':"'",h=d.isIdentifier,b=c.charAt(0),p="",v=0,f=c.length;v<f;){var g=c.charAt(v++),x=g.charCodeAt(),k=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&v<f){var w=c.charCodeAt(v++);(w&64512)==56320?x=((x&1023)<<10)+(w&1023)+65536:v--}k="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(g)?k="\\"+g:k="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(g)?k="\\"+x.toString(16).toUpperCase()+" ":g=="\\"||!h&&(g=='"'&&m==g||g=="'"&&m==g)||h&&a.test(g)?k="\\"+g:k=g;p+=k}return h&&(/^-[-\d]/.test(p)?p="\\-"+p.slice(1):/\d/.test(b)&&(p="\\3"+b+" "+p.slice(1))),p=p.replace(s,function(S,P,A){return P&&P.length%2?S:(P||"")+A}),!h&&d.wrap?m+p+m:p};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),yF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Mw()),n=_m(),i=a(tn()),o=bt();function a(m){return m&&m.__esModule?m:{default:m}}function s(m,h){for(var b=0;b<h.length;b++){var p=h[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}function l(m,h,b){return h&&s(m.prototype,h),b&&s(m,b),Object.defineProperty(m,"prototype",{writable:!1}),m}function u(m,h){m.prototype=Object.create(h.prototype),m.prototype.constructor=m,c(m,h)}function c(m,h){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,p){return b.__proto__=p,b},c(m,h)}var d=(function(m){u(h,m);function h(p){var v;return v=m.call(this,p)||this,v.type=o.CLASS,v._constructed=!0,v}var b=h.prototype;return b.valueToString=function(){return"."+m.prototype.valueToString.call(this)},l(h,[{key:"value",get:function(){return this._value},set:function(p){if(this._constructed){var v=(0,r.default)(p,{isIdentifier:!0});v!==p?((0,n.ensureObject)(this,"raws"),this.raws.value=v):this.raws&&delete this.raws.value}this._value=p}}]),h})(i.default);e.default=d,t.exports=e.default}),wF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tn()),n=bt();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}),kF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tn()),n=bt();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 m;return m=l.call(this,d)||this,m.type=n.ID,m}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),Rw=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Mw()),n=_m(),i=o(tn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,m){for(var h=0;h<m.length;h++){var b=m[h];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}function s(d,m,h){return m&&a(d.prototype,m),h&&a(d,h),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,u(d,m)}function u(d,m){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,b){return h.__proto__=b,h},u(d,m)}var c=(function(d){l(m,d);function m(){return d.apply(this,arguments)||this}var h=m.prototype;return h.qualifiedName=function(b){return this.namespace?this.namespaceString+"|"+b:b},h.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(m,[{key:"namespace",get:function(){return this._namespace},set:function(b){if(b===!0||b==="*"||b==="&"){this._namespace=b,this.raws&&delete this.raws.namespace;return}var p=(0,r.default)(b,{isIdentifier:!0});this._namespace=b,p!==b?((0,n.ensureObject)(this,"raws"),this.raws.namespace=p):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(b){this.namespace=b}},{key:"namespaceString",get:function(){if(this.namespace){var b=this.stringifyProperty("namespace");return b===!0?"":b}else return""}}]),m})(i.default);e.default=c,t.exports=e.default}),xF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rw()),n=bt();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}),SF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tn()),n=bt();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}),CF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fw()),n=bt();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 m;return m=l.call(this,d)||this,m.type=n.PSEUDO,m}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}),y_=Y((e,t)=>{"use strict";t.exports=()=>()=>{}}),AF=Y(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=v;var t=a(Mw()),r=a(gF()),n=a(Rw()),i=bt(),o;function a(w){return w&&w.__esModule?w:{default:w}}function s(w,S){for(var P=0;P<S.length;P++){var A=S[P];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function l(w,S,P){return S&&s(w.prototype,S),P&&s(w,P),Object.defineProperty(w,"prototype",{writable:!1}),w}function u(w,S){w.prototype=Object.create(S.prototype),w.prototype.constructor=w,c(w,S)}function c(w,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,A){return P.__proto__=A,P},c(w,S)}var d=y_(),m=/^('|")([^]*)\1$/,h=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),b=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),p=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function v(w){var S=!1,P=null,A=w,M=A.match(m);return M&&(P=M[1],A=M[2]),A=(0,r.default)(A),A!==w&&(S=!0),{deprecatedUsage:S,unescaped:A,quoteMark:P}}function f(w){if(w.quoteMark!==void 0||w.value===void 0)return w;p();var S=v(w.value),P=S.quoteMark,A=S.unescaped;return w.raws||(w.raws={}),w.raws.value===void 0&&(w.raws.value=w.value),w.value=A,w.quoteMark=P,w}var g=(function(w){u(S,w);function S(A){var M;return A===void 0&&(A={}),M=w.call(this,f(A))||this,M.type=i.ATTRIBUTE,M.raws=M.raws||{},Object.defineProperty(M.raws,"unquoted",{get:d(function(){return M.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return M.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),M._constructed=!0,M}var P=S.prototype;return P._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},P._handleEscapes=function(A,M){if(this._constructed){var N=(0,t.default)(M,{isIdentifier:!0});N!==M?this.raws[A]=N:delete this.raws[A]}},P._spacesFor=function(A){var M={before:"",after:""},N=this.spaces[A]||{},q=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(M,N,q)},P._stringFor=function(A,M,N){M===void 0&&(M=A),N===void 0&&(N=k);var q=this._spacesFor(M);return N(this.stringifyProperty(A),q)},P.offsetOf=function(A){var M=1,N=this._spacesFor("attribute");if(M+=N.before.length,A==="namespace"||A==="ns")return this.namespace?M:-1;if(A==="attributeNS"||(M+=this.namespaceString.length,this.namespace&&(M+=1),A==="attribute"))return M;M+=this.stringifyProperty("attribute").length,M+=N.after.length;var q=this._spacesFor("operator");M+=q.before.length;var ne=this.stringifyProperty("operator");if(A==="operator")return ne?M:-1;M+=ne.length,M+=q.after.length;var K=this._spacesFor("value");M+=K.before.length;var de=this.stringifyProperty("value");if(A==="value")return de?M:-1;M+=de.length,M+=K.after.length;var oe=this._spacesFor("insensitive");return M+=oe.before.length,A==="insensitive"&&this.insensitive?M:-1},P.toString=function(){var A=this,M=[this.rawSpaceBefore,"["];return M.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(M.push(this._stringFor("operator")),M.push(this._stringFor("value")),M.push(this._stringFor("insensitiveFlag","insensitive",function(N,q){return N.length>0&&!A.quoted&&q.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(q.before=" "),k(N,q)}))),M.push("]"),M.push(this.rawSpaceAfter),M.join("")},l(S,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){b()}},{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 M=v(A),N=M.deprecatedUsage,q=M.unescaped,ne=M.quoteMark;if(N&&h(),q===this._value&&ne===this._quoteMark)return;this._value=q,this._quoteMark=ne,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=g,g.NO_QUOTE=null,g.SINGLE_QUOTE="'",g.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function k(w,S){return""+S.before+w+S.after}}),zF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rw()),n=bt();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}),NF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tn()),n=bt();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}),PF=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tn()),n=bt();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}),w_=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}),EF=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 m=126;e.tilde=m;var h=94;e.caret=h;var b=43;e.plus=b;var p=61;e.equals=p;var v=124;e.pipe=v;var f=62;e.greaterThan=f;var g=32;e.space=g;var x=39;e.singleQuote=x;var k=34;e.doubleQuote=k;var w=47;e.slash=w;var S=33;e.bang=S;var P=92;e.backslash=P;var A=13;e.cr=A;var M=12;e.feed=M;var N=10;e.newline=N;var q=9;e.tab=q;var ne=x;e.str=ne;var K=-1;e.comment=K;var de=-2;e.word=de;var oe=-3;e.combinator=oe}),k_=Y(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=b;var t=o(EF()),r,n;function i(p){if(typeof WeakMap!="function")return null;var v=new WeakMap,f=new WeakMap;return(i=function(g){return g?f:v})(p)}function o(p,v){if(!v&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var f=i(v);if(f&&f.has(p))return f.get(p);var g={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in p)if(k!=="default"&&Object.prototype.hasOwnProperty.call(p,k)){var w=x?Object.getOwnPropertyDescriptor(p,k):null;w&&(w.get||w.set)?Object.defineProperty(g,k,w):g[k]=p[k]}return g.default=p,f&&f.set(p,g),g}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(p,v){var f=v,g;do{if(g=p.charCodeAt(f),s[g])return f-1;g===t.backslash?f=m(p,f)+1:f++}while(f<p.length);return f-1}function m(p,v){var f=v,g=p.charCodeAt(f+1);if(!a[g])if(l[g]){var x=0;do f++,x++,g=p.charCodeAt(f+1);while(l[g]&&x<6);x<6&&g===t.space&&f++}else f++;return f}var h={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=h;function b(p){var v=[],f=p.css.valueOf(),g=f,x=g.length,k=-1,w=1,S=0,P=0,A,M,N,q,ne,K,de,oe,se,$e,qe,pt,He;function Q(J,O){if(p.safe)f+=O,se=f.length-1;else throw p.error("Unclosed "+J,w,S-k,S)}for(;S<x;){switch(A=f.charCodeAt(S),A===t.newline&&(k=S,w+=1),A){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:se=S;do se+=1,A=f.charCodeAt(se),A===t.newline&&(k=se,w+=1);while(A===t.space||A===t.newline||A===t.tab||A===t.cr||A===t.feed);He=t.space,q=w,N=se-k-1,P=se;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:se=S;do se+=1,A=f.charCodeAt(se);while(A===t.plus||A===t.greaterThan||A===t.tilde||A===t.pipe);He=t.combinator,q=w,N=S-k,P=se;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:se=S,He=A,q=w,N=S-k,P=se+1;break;case t.singleQuote:case t.doubleQuote:pt=A===t.singleQuote?"'":'"',se=S;do for(ne=!1,se=f.indexOf(pt,se+1),se===-1&&Q("quote",pt),K=se;f.charCodeAt(K-1)===t.backslash;)K-=1,ne=!ne;while(ne);He=t.str,q=w,N=S-k,P=se+1;break;default:A===t.slash&&f.charCodeAt(S+1)===t.asterisk?(se=f.indexOf("*/",S+2)+1,se===0&&Q("comment","*/"),M=f.slice(S,se+1),oe=M.split(`
35
- `),de=oe.length-1,de>0?($e=w+de,qe=se-oe[de].length):($e=w,qe=k),He=t.comment,w=$e,q=$e,N=se-qe):A===t.slash?(se=S,He=A,q=w,N=S-k,P=se+1):(se=d(f,S),He=t.word,q=w,N=se-k),P=se+1;break}v.push([He,w,S-k,q,N,S,P]),qe&&(k=qe,qe=null),S=P}return v}}),x_=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=P(bF()),n=P(vF()),i=P(yF()),o=P(wF()),a=P(kF()),s=P(xF()),l=P(SF()),u=P(CF()),c=S(AF()),d=P(zF()),m=P(NF()),h=P(PF()),b=P(w_()),p=S(k_()),v=S(EF()),f=S(bt()),g=_m(),x,k;function w(Q){if(typeof WeakMap!="function")return null;var J=new WeakMap,O=new WeakMap;return(w=function(W){return W?O:J})(Q)}function S(Q,J){if(!J&&Q&&Q.__esModule)return Q;if(Q===null||typeof Q!="object"&&typeof Q!="function")return{default:Q};var O=w(J);if(O&&O.has(Q))return O.get(Q);var W={},X=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in Q)if(F!=="default"&&Object.prototype.hasOwnProperty.call(Q,F)){var ee=X?Object.getOwnPropertyDescriptor(Q,F):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,F,ee):W[F]=Q[F]}return W.default=Q,O&&O.set(Q,W),W}function P(Q){return Q&&Q.__esModule?Q:{default:Q}}function A(Q,J){for(var O=0;O<J.length;O++){var W=J[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Q,W.key,W)}}function M(Q,J,O){return J&&A(Q.prototype,J),O&&A(Q,O),Object.defineProperty(Q,"prototype",{writable:!1}),Q}var N=(x={},x[v.space]=!0,x[v.cr]=!0,x[v.feed]=!0,x[v.newline]=!0,x[v.tab]=!0,x),q=Object.assign({},N,(k={},k[v.comment]=!0,k));function ne(Q){return{line:Q[p.FIELDS.START_LINE],column:Q[p.FIELDS.START_COL]}}function K(Q){return{line:Q[p.FIELDS.END_LINE],column:Q[p.FIELDS.END_COL]}}function de(Q,J,O,W){return{start:{line:Q,column:J},end:{line:O,column:W}}}function oe(Q){return de(Q[p.FIELDS.START_LINE],Q[p.FIELDS.START_COL],Q[p.FIELDS.END_LINE],Q[p.FIELDS.END_COL])}function se(Q,J){if(Q)return de(Q[p.FIELDS.START_LINE],Q[p.FIELDS.START_COL],J[p.FIELDS.END_LINE],J[p.FIELDS.END_COL])}function $e(Q,J){var O=Q[J];if(typeof O=="string")return O.indexOf("\\")!==-1&&((0,g.ensureObject)(Q,"raws"),Q[J]=(0,g.unesc)(O),Q.raws[J]===void 0&&(Q.raws[J]=O)),Q}function qe(Q,J){for(var O=-1,W=[];(O=Q.indexOf(J,O+1))!==-1;)W.push(O);return W}function pt(){var Q=Array.prototype.concat.apply([],arguments);return Q.filter(function(J,O){return O===Q.indexOf(J)})}var He=(function(){function Q(O,W){W===void 0&&(W={}),this.rule=O,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,p.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var X=se(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:X}),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 J=Q.prototype;return J._errorGenerator=function(){var O=this;return function(W,X){return typeof O.rule=="string"?new Error(W):O.rule.error(W,X)}},J.attribute=function(){var O=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[p.FIELDS.TYPE]!==v.closeSquare;)O.push(this.currToken),this.position++;if(this.currToken[p.FIELDS.TYPE]!==v.closeSquare)return this.expected("closing square bracket",this.currToken[p.FIELDS.START_POS]);var X=O.length,F={source:de(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[p.FIELDS.START_POS]};if(X===1&&!~[v.word].indexOf(O[0][p.FIELDS.TYPE]))return this.expected("attribute",O[0][p.FIELDS.START_POS]);for(var ee=0,ve="",Se="",le=null,Me=!1;ee<X;){var ot=O[ee],be=this.content(ot),Ue=O[ee+1];switch(ot[p.FIELDS.TYPE]){case v.space:if(Me=!0,this.options.lossy)break;if(le){(0,g.ensureObject)(F,"spaces",le);var Ar=F.spaces[le].after||"";F.spaces[le].after=Ar+be;var cr=(0,g.getProp)(F,"raws","spaces",le,"after")||null;cr&&(F.raws.spaces[le].after=cr+be)}else ve=ve+be,Se=Se+be;break;case v.asterisk:if(Ue[p.FIELDS.TYPE]===v.equals)F.operator=be,le="operator";else if((!F.namespace||le==="namespace"&&!Me)&&Ue){ve&&((0,g.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ve,ve=""),Se&&((0,g.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ve,Se=""),F.namespace=(F.namespace||"")+be;var It=(0,g.getProp)(F,"raws","namespace")||null;It&&(F.raws.namespace+=be),le="namespace"}Me=!1;break;case v.dollar:if(le==="value"){var mt=(0,g.getProp)(F,"raws","value");F.value+="$",mt&&(F.raws.value=mt+"$");break}case v.caret:Ue[p.FIELDS.TYPE]===v.equals&&(F.operator=be,le="operator"),Me=!1;break;case v.combinator:if(be==="~"&&Ue[p.FIELDS.TYPE]===v.equals&&(F.operator=be,le="operator"),be!=="|"){Me=!1;break}Ue[p.FIELDS.TYPE]===v.equals?(F.operator=be,le="operator"):!F.namespace&&!F.attribute&&(F.namespace=!0),Me=!1;break;case v.word:if(Ue&&this.content(Ue)==="|"&&O[ee+2]&&O[ee+2][p.FIELDS.TYPE]!==v.equals&&!F.operator&&!F.namespace)F.namespace=be,le="namespace";else if(!F.attribute||le==="attribute"&&!Me){ve&&((0,g.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ve,ve=""),Se&&((0,g.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=Se,Se=""),F.attribute=(F.attribute||"")+be;var Kt=(0,g.getProp)(F,"raws","attribute")||null;Kt&&(F.raws.attribute+=be),le="attribute"}else if(!F.value&&F.value!==""||le==="value"&&!(Me||F.quoteMark)){var Jt=(0,g.unesc)(be),Dr=(0,g.getProp)(F,"raws","value")||"",ld=F.value||"";F.value=ld+Jt,F.quoteMark=null,(Jt!==be||Dr)&&((0,g.ensureObject)(F,"raws"),F.raws.value=(Dr||ld)+be),le="value"}else{var ud=be==="i"||be==="I";(F.value||F.value==="")&&(F.quoteMark||Me)?(F.insensitive=ud,(!ud||be==="I")&&((0,g.ensureObject)(F,"raws"),F.raws.insensitiveFlag=be),le="insensitive",ve&&((0,g.ensureObject)(F,"spaces","insensitive"),F.spaces.insensitive.before=ve,ve=""),Se&&((0,g.ensureObject)(F,"raws","spaces","insensitive"),F.raws.spaces.insensitive.before=Se,Se="")):(F.value||F.value==="")&&(le="value",F.value+=be,F.raws.value&&(F.raws.value+=be))}Me=!1;break;case v.str:if(!F.attribute||!F.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:ot[p.FIELDS.START_POS]});var Ji=(0,c.unescapeValue)(be),q$=Ji.unescaped,W$=Ji.quoteMark;F.value=q$,F.quoteMark=W$,le="value",(0,g.ensureObject)(F,"raws"),F.raws.value=be,Me=!1;break;case v.equals:if(!F.attribute)return this.expected("attribute",ot[p.FIELDS.START_POS],be);if(F.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:ot[p.FIELDS.START_POS]});F.operator=F.operator?F.operator+be:be,le="operator",Me=!1;break;case v.comment:if(le)if(Me||Ue&&Ue[p.FIELDS.TYPE]===v.space||le==="insensitive"){var U$=(0,g.getProp)(F,"spaces",le,"after")||"",_$=(0,g.getProp)(F,"raws","spaces",le,"after")||U$;(0,g.ensureObject)(F,"raws","spaces",le),F.raws.spaces[le].after=_$+be}else{var V$=F[le]||"",Q$=(0,g.getProp)(F,"raws",le)||V$;(0,g.ensureObject)(F,"raws"),F.raws[le]=Q$+be}else Se=Se+be;break;default:return this.error('Unexpected "'+be+'" found.',{index:ot[p.FIELDS.START_POS]})}ee++}$e(F,"attribute"),$e(F,"namespace"),this.newNode(new c.default(F)),this.position++},J.parseWhitespaceEquivalentTokens=function(O){O<0&&(O=this.tokens.length);var W=this.position,X=[],F="",ee=void 0;do if(N[this.currToken[p.FIELDS.TYPE]])this.options.lossy||(F+=this.content());else if(this.currToken[p.FIELDS.TYPE]===v.comment){var ve={};F&&(ve.before=F,F=""),ee=new o.default({value:this.content(),source:oe(this.currToken),sourceIndex:this.currToken[p.FIELDS.START_POS],spaces:ve}),X.push(ee)}while(++this.position<O);if(F){if(ee)ee.spaces.after=F;else if(!this.options.lossy){var Se=this.tokens[W],le=this.tokens[this.position-1];X.push(new l.default({value:"",source:de(Se[p.FIELDS.START_LINE],Se[p.FIELDS.START_COL],le[p.FIELDS.END_LINE],le[p.FIELDS.END_COL]),sourceIndex:Se[p.FIELDS.START_POS],spaces:{before:F,after:""}}))}}return X},J.convertWhitespaceNodesToSpace=function(O,W){var X=this;W===void 0&&(W=!1);var F="",ee="";O.forEach(function(Se){var le=X.lossySpace(Se.spaces.before,W),Me=X.lossySpace(Se.rawSpaceBefore,W);F+=le+X.lossySpace(Se.spaces.after,W&&le.length===0),ee+=le+Se.value+X.lossySpace(Se.rawSpaceAfter,W&&Me.length===0)}),ee===F&&(ee=void 0);var ve={space:F,rawSpace:ee};return ve},J.isNamedCombinator=function(O){return O===void 0&&(O=this.position),this.tokens[O+0]&&this.tokens[O+0][p.FIELDS.TYPE]===v.slash&&this.tokens[O+1]&&this.tokens[O+1][p.FIELDS.TYPE]===v.word&&this.tokens[O+2]&&this.tokens[O+2][p.FIELDS.TYPE]===v.slash},J.namedCombinator=function(){if(this.isNamedCombinator()){var O=this.content(this.tokens[this.position+1]),W=(0,g.unesc)(O).toLowerCase(),X={};W!==O&&(X.value="/"+O+"/");var F=new m.default({value:"/"+W+"/",source:de(this.currToken[p.FIELDS.START_LINE],this.currToken[p.FIELDS.START_COL],this.tokens[this.position+2][p.FIELDS.END_LINE],this.tokens[this.position+2][p.FIELDS.END_COL]),sourceIndex:this.currToken[p.FIELDS.START_POS],raws:X});return this.position=this.position+3,F}else this.unexpected()},J.combinator=function(){var O=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][p.FIELDS.TYPE]===v.comma||this.tokens[W][p.FIELDS.TYPE]===v.closeParenthesis){var X=this.parseWhitespaceEquivalentTokens(W);if(X.length>0){var F=this.current.last;if(F){var ee=this.convertWhitespaceNodesToSpace(X),ve=ee.space,Se=ee.rawSpace;Se!==void 0&&(F.rawSpaceAfter+=Se),F.spaces.after+=ve}else X.forEach(function(Dr){return O.newNode(Dr)})}return}var le=this.currToken,Me=void 0;W>this.position&&(Me=this.parseWhitespaceEquivalentTokens(W));var ot;if(this.isNamedCombinator()?ot=this.namedCombinator():this.currToken[p.FIELDS.TYPE]===v.combinator?(ot=new m.default({value:this.content(),source:oe(this.currToken),sourceIndex:this.currToken[p.FIELDS.START_POS]}),this.position++):N[this.currToken[p.FIELDS.TYPE]]||Me||this.unexpected(),ot){if(Me){var be=this.convertWhitespaceNodesToSpace(Me),Ue=be.space,Ar=be.rawSpace;ot.spaces.before=Ue,ot.rawSpaceBefore=Ar}}else{var cr=this.convertWhitespaceNodesToSpace(Me,!0),It=cr.space,mt=cr.rawSpace;mt||(mt=It);var Kt={},Jt={spaces:{}};It.endsWith(" ")&&mt.endsWith(" ")?(Kt.before=It.slice(0,It.length-1),Jt.spaces.before=mt.slice(0,mt.length-1)):It[0]===" "&&mt[0]===" "?(Kt.after=It.slice(1),Jt.spaces.after=mt.slice(1)):Jt.value=mt,ot=new m.default({value:" ",source:se(le,this.tokens[this.position-1]),sourceIndex:le[p.FIELDS.START_POS],spaces:Kt,raws:Jt})}return this.currToken&&this.currToken[p.FIELDS.TYPE]===v.space&&(ot.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(ot)},J.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var O=new n.default({source:{start:ne(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][p.FIELDS.START_POS]});this.current.parent.append(O),this.current=O,this.position++},J.comment=function(){var O=this.currToken;this.newNode(new o.default({value:this.content(),source:oe(O),sourceIndex:O[p.FIELDS.START_POS]})),this.position++},J.error=function(O,W){throw this.root.error(O,W)},J.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[p.FIELDS.START_POS]})},J.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[p.FIELDS.START_POS])},J.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[p.FIELDS.START_POS])},J.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[p.FIELDS.START_POS])},J.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[p.FIELDS.START_POS])},J.namespace=function(){var O=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[p.FIELDS.TYPE]===v.word)return this.position++,this.word(O);if(this.nextToken[p.FIELDS.TYPE]===v.asterisk)return this.position++,this.universal(O);this.unexpectedPipe()},J.nesting=function(){if(this.nextToken){var O=this.content(this.nextToken);if(O==="|"){this.position++;return}}var W=this.currToken;this.newNode(new h.default({value:this.content(),source:oe(W),sourceIndex:W[p.FIELDS.START_POS]})),this.position++},J.parentheses=function(){var O=this.current.last,W=1;if(this.position++,O&&O.type===f.PSEUDO){var X=new n.default({source:{start:ne(this.tokens[this.position])},sourceIndex:this.tokens[this.position][p.FIELDS.START_POS]}),F=this.current;for(O.append(X),this.current=X;this.position<this.tokens.length&&W;)this.currToken[p.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[p.FIELDS.TYPE]===v.closeParenthesis&&W--,W?this.parse():(this.current.source.end=K(this.currToken),this.current.parent.source.end=K(this.currToken),this.position++);this.current=F}else{for(var ee=this.currToken,ve="(",Se;this.position<this.tokens.length&&W;)this.currToken[p.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[p.FIELDS.TYPE]===v.closeParenthesis&&W--,Se=this.currToken,ve+=this.parseParenthesisToken(this.currToken),this.position++;O?O.appendToPropertyAndEscape("value",ve,ve):this.newNode(new l.default({value:ve,source:de(ee[p.FIELDS.START_LINE],ee[p.FIELDS.START_COL],Se[p.FIELDS.END_LINE],Se[p.FIELDS.END_COL]),sourceIndex:ee[p.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[p.FIELDS.START_POS])},J.pseudo=function(){for(var O=this,W="",X=this.currToken;this.currToken&&this.currToken[p.FIELDS.TYPE]===v.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[p.FIELDS.TYPE]===v.word)this.splitWord(!1,function(F,ee){W+=F,O.newNode(new u.default({value:W,source:se(X,O.currToken),sourceIndex:X[p.FIELDS.START_POS]})),ee>1&&O.nextToken&&O.nextToken[p.FIELDS.TYPE]===v.openParenthesis&&O.error("Misplaced parenthesis.",{index:O.nextToken[p.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[p.FIELDS.START_POS])},J.space=function(){var O=this.content();this.position===0||this.prevToken[p.FIELDS.TYPE]===v.comma||this.prevToken[p.FIELDS.TYPE]===v.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(O),this.position++):this.position===this.tokens.length-1||this.nextToken[p.FIELDS.TYPE]===v.comma||this.nextToken[p.FIELDS.TYPE]===v.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(O),this.position++):this.combinator()},J.string=function(){var O=this.currToken;this.newNode(new l.default({value:this.content(),source:oe(O),sourceIndex:O[p.FIELDS.START_POS]})),this.position++},J.universal=function(O){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var X=this.currToken;this.newNode(new d.default({value:this.content(),source:oe(X),sourceIndex:X[p.FIELDS.START_POS]}),O),this.position++},J.splitWord=function(O,W){for(var X=this,F=this.nextToken,ee=this.content();F&&~[v.dollar,v.caret,v.equals,v.word].indexOf(F[p.FIELDS.TYPE]);){this.position++;var ve=this.content();if(ee+=ve,ve.lastIndexOf("\\")===ve.length-1){var Se=this.nextToken;Se&&Se[p.FIELDS.TYPE]===v.space&&(ee+=this.requiredSpace(this.content(Se)),this.position++)}F=this.nextToken}var le=qe(ee,".").filter(function(Ue){var Ar=ee[Ue-1]==="\\",cr=/^\d+\.\d+%$/.test(ee);return!Ar&&!cr}),Me=qe(ee,"#").filter(function(Ue){return ee[Ue-1]!=="\\"}),ot=qe(ee,"#{");ot.length&&(Me=Me.filter(function(Ue){return!~ot.indexOf(Ue)}));var be=(0,b.default)(pt([0].concat(le,Me)));be.forEach(function(Ue,Ar){var cr=be[Ar+1]||ee.length,It=ee.slice(Ue,cr);if(Ar===0&&W)return W.call(X,It,be.length);var mt,Kt=X.currToken,Jt=Kt[p.FIELDS.START_POS]+be[Ar],Dr=de(Kt[1],Kt[2]+Ue,Kt[3],Kt[2]+(cr-1));if(~le.indexOf(Ue)){var ld={value:It.slice(1),source:Dr,sourceIndex:Jt};mt=new i.default($e(ld,"value"))}else if(~Me.indexOf(Ue)){var ud={value:It.slice(1),source:Dr,sourceIndex:Jt};mt=new a.default($e(ud,"value"))}else{var Ji={value:It,source:Dr,sourceIndex:Jt};$e(Ji,"value"),mt=new s.default(Ji)}X.newNode(mt,O),O=null}),this.position++},J.word=function(O){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(O)},J.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},J.parse=function(O){switch(this.currToken[p.FIELDS.TYPE]){case v.space:this.space();break;case v.comment:this.comment();break;case v.openParenthesis:this.parentheses();break;case v.closeParenthesis:O&&this.missingParenthesis();break;case v.openSquare:this.attribute();break;case v.dollar:case v.caret:case v.equals:case v.word:this.word();break;case v.colon:this.pseudo();break;case v.comma:this.comma();break;case v.asterisk:this.universal();break;case v.ampersand:this.nesting();break;case v.slash:case v.combinator:this.combinator();break;case v.str:this.string();break;case v.closeSquare:this.missingSquareBracket();case v.semicolon:this.missingBackslash();default:this.unexpected()}},J.expected=function(O,W,X){if(Array.isArray(O)){var F=O.pop();O=O.join(", ")+" or "+F}var ee=/^[aeiou]/.test(O[0])?"an":"a";return X?this.error("Expected "+ee+" "+O+', found "'+X+'" instead.',{index:W}):this.error("Expected "+ee+" "+O+".",{index:W})},J.requiredSpace=function(O){return this.options.lossy?" ":O},J.optionalSpace=function(O){return this.options.lossy?"":O},J.lossySpace=function(O,W){return this.options.lossy?W?" ":"":O},J.parseParenthesisToken=function(O){var W=this.content(O);return O[p.FIELDS.TYPE]===v.space?this.requiredSpace(W):W},J.newNode=function(O,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),O.namespace=W,$e(O,"namespace")),this.spaces&&(O.spaces.before=this.spaces,this.spaces=""),this.current.append(O)},J.content=function(O){return O===void 0&&(O=this.currToken),this.css.slice(O[p.FIELDS.START_POS],O[p.FIELDS.END_POS])},J.locateNextMeaningfulToken=function(O){O===void 0&&(O=this.position+1);for(var W=O;W<this.tokens.length;)if(q[this.tokens[W][p.FIELDS.TYPE]]){W++;continue}else return W;return-1},M(Q,[{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]}}]),Q})();e.default=He,t.exports=e.default}),S_=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(x_());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}),C_=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=h(AF()),r=h(yF()),n=h(NF()),i=h(wF()),o=h(kF()),a=h(PF()),s=h(CF()),l=h(bF()),u=h(vF()),c=h(SF()),d=h(xF()),m=h(zF());function h(N){return N&&N.__esModule?N:{default:N}}var b=function(N){return new t.default(N)};e.attribute=b;var p=function(N){return new r.default(N)};e.className=p;var v=function(N){return new n.default(N)};e.combinator=v;var f=function(N){return new i.default(N)};e.comment=f;var g=function(N){return new o.default(N)};e.id=g;var x=function(N){return new a.default(N)};e.nesting=x;var k=function(N){return new s.default(N)};e.pseudo=k;var w=function(N){return new l.default(N)};e.root=w;var S=function(N){return new u.default(N)};e.selector=S;var P=function(N){return new c.default(N)};e.string=P;var A=function(N){return new d.default(N)};e.tag=A;var M=function(N){return new m.default(N)};e.universal=M}),A_=Y(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=k,e.isIdentifier=void 0,e.isNamespace=w,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=g,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=bt(),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,P){return i(P)&&P.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 m=o.bind(null,t.PSEUDO);e.isPseudo=m;var h=o.bind(null,t.ROOT);e.isRoot=h;var b=o.bind(null,t.SELECTOR);e.isSelector=b;var p=o.bind(null,t.STRING);e.isString=p;var v=o.bind(null,t.TAG);e.isTag=v;var f=o.bind(null,t.UNIVERSAL);e.isUniversal=f;function g(S){return m(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 m(S)&&!g(S)}function k(S){return!!(i(S)&&S.walk)}function w(S){return a(S)||v(S)}}),z_=Y(e=>{"use strict";e.__esModule=!0;var t=bt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=C_();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=A_();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),Ot=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(S_()),n=o(z_());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(m){return m?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 m={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in u)if(b!=="default"&&Object.prototype.hasOwnProperty.call(u,b)){var p=h?Object.getOwnPropertyDescriptor(u,b):null;p&&(p.get||p.set)?Object.defineProperty(m,b,p):m[b]=u[b]}return m.default=u,d&&d.set(u,m),m}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 st(e){var l,u;let t=e.nodes.findIndex(c=>!Yv(c)),r=e.nodes.findLastIndex(c=>!Yv(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,m=d+c.length;return{selector:c,index:d,endIndex:m}}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 vS,Yv,xt=y(()=>{vS=re(Ot(),1),{isComment:Yv}=vS.default});function Ae(e,t,r){if(e)try{return(0,OF.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var OF,Ne=y(()=>{OF=re(Ot(),1)}),IF={};z(IF,{default:()=>jF});var ds,Yf,yS,ps,jF,N_=y(()=>{V(),xe(),xt(),he(),Ne(),I(),T(),D(),ds="keyframe-block-no-duplicate-selectors",Yf=j(ds,{rejected:e=>`Unexpected duplicate "${e}"`}),yS={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},ps=e=>(t,r)=>{L(r,ds,{actual:e})&&t.walkAtRules(ke.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;me(o)&&((a=Ae(ye(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=st(s),d=l.toLowerCase();if(i.has(d)){E({message:Yf.rejected,messageArgs:[l],node:o,result:r,ruleName:ds,index:u,endIndex:c});return}i.add(d)}))})})},ps.ruleName=ds,ps.messages=Yf,ps.meta=yS,jF=ps}),TF={};z(TF,{default:()=>LF});var ms,Gf,wS,hs,LF,P_=y(()=>{B(),V(),PL(),I(),T(),D(),ms="keyframe-declaration-no-important",Gf=j(ms,{rejected:"Unexpected !important"}),wS={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},hs=e=>(t,r)=>{L(r,ms,{actual:e})&&t.walkAtRules(ke.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=NL(i.toString());Ve(o),E({message:Gf.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:ms})})})},hs.ruleName=ms,hs.messages=Gf,hs.meta=wS,LF=hs}),DF={};z(DF,{default:()=>FF});function E_(e){let t=e.nodes.filter(i=>!(vp.default.isComment(i)||vp.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(vp.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Si.has(n)&&!gc.has(n)))return[r,n]}function Kf(e,t){let r=e.get(t);return Mi(r),r}function O_(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var vp,fs,Jf,kS,xS,Hf,gs,FF,I_=y(()=>{B(),Je(),V(),xe(),Ne(),vp=re(Ot(),1),qt(),I(),T(),D(),fs="keyframe-selector-notation",Jf=j(fs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),kS={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},xS=new Map([["0%","from"],["100%","to"]]),Hf=new Map([["from","0%"],["to","100%"]]),gs=e=>(t,r)=>{if(!L(r,fs,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Si.has(s),fixFunc:s=>Kf(xS,s)},percentage:{expFunc:s=>gc.has(s),fixFunc:s=>Kf(Hf,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Si.has(u))?!0:gc.has(s),fixFunc:s=>Kf(Hf,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=G.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=G.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(ke.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?O_(s):[];s.walkRules(a,u=>{let c=ye(u),d=Ae(c,r,u);d&&d.each(m=>{let h=E_(m);if(!h)return;let[b,p]=h;if(i(p,l))return;let v=o(p),f=()=>{b.value=v,u.selector=d.toString()};E({message:Jf.expected,messageArgs:[b.value,v],node:u,result:r,ruleName:fs,index:b.sourceIndex,endIndex:b.sourceIndex+p.length,fix:{apply:f,node:u}})})})})},gs.ruleName=fs,gs.messages=Jf,gs.meta=kS,FF=gs});function j_(e){return!om(e)}var T_=y(()=>{am()}),MF={};z(MF,{default:()=>RF});var bs,Xf,SS,vs,RF,L_=y(()=>{B(),Z(),V(),T_(),I(),T(),D(),bs="keyframes-name-pattern",Xf=j(bs,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),SS={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},vs=e=>(t,r)=>{if(!L(r,bs,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(ke.keyframesName,i=>{let o=i.params;if(!j_(o)||n.test(o))return;let a=Ie(i),s=a+o.length;E({index:a,endIndex:s,message:Xf.expected,messageArgs:[o,e],node:i,ruleName:bs,result:r})})},vs.ruleName=bs,vs.messages=Xf,vs.meta=SS,RF=vs}),$F={};z($F,{default:()=>BF});var Zf,ys,eg,CS,ws,BF,D_=y(()=>{Zf=re(fe(),1),V(),B(),Z(),I(),T(),D(),ys="layer-name-pattern",eg=j(ys,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),CS={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},ws=e=>(t,r)=>{if(!L(r,ys,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(ke.layerName,o=>{let{params:a}=o;a&&(0,Zf.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(ke.importName,o=>{let{params:a}=o;G.layerFunction.test(a)&&(0,Zf.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=Ie(l)+s,c=u+a.length;E({message:eg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:ys,result:r})}},ws.ruleName=ys,ws.messages=eg,ws.meta=CS,BF=ws});function F_(e){return e.type==="function"&&qi.has(e.value.toLowerCase())}var M_=y(()=>{Ir()}),qF={};z(qF,{default:()=>WF});function R_({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function $_(e){return e.toLowerCase()==="line-height"}function B_(e){return e.toLowerCase()==="flex"}function q_(e){return Ci.has(e.toLowerCase())}function W_(e){return e.toLowerCase()==="fr"}function U_(e){return Number.parseFloat(e)===0}function __(e){return e===""}var Hd,ks,tg,AS,xs,WF,V_=y(()=>{Hd=re(fe(),1),Z(),ge(),B(),ut(),Ge(),xr(),M_(),rt(),gt(),Mc(),V(),H(),I(),T(),mF(),Bt(),D(),ks="length-zero-no-unit",tg=j(ks,{rejected:"Unexpected unit"}),AS={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},xs=(e,t)=>(r,n)=>{if(!L(n,ks,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:m}=u;if(F_(u)||kn(u)&&R(t,"ignoreFunctions",d))return!1;if(!sm(u))return;let h=Hd.default.unit(d);if(h===!1)return;let{number:b,unit:p}=h;if(!U_(b)||__(p)||!q_(p)||W_(p))return;let v=()=>{switch(u.value=b.startsWith(".")?b.slice(1):b,s.type){case"atrule":pF(s,c.toString());break;case"decl":$t(s,c.toString());break}},f=l+m+b.length,g=f+p.length;E({index:f,endIndex:g,message:tg.rejected,messageArgs:[],node:s,result:n,ruleName:ks,fix:{apply:v,node:s}})}function o(s){if(!G.zeroLength.test(s.params)||!tt(s)||R(t,"ignorePreludeOfAtRules",s.name))return;let l=Ie(s),u=(0,Hd.default)(lt(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!G.zeroLength.test(u)||!ft(s)||$_(l)||B_(l)||R(t,"ignore","custom-properties")&&yt(l))return;let c=ae(s),d=(0,Hd.default)(Ye(s));d.walk((m,h,b)=>{if(!R_(s,b,h))return i(s,c,m,d)})}r.walkAtRules(o),r.walkDecls(a)},xs.ruleName=ks,xs.messages=tg,xs.meta=AS,WF=xs}),UF={};z(UF,{default:()=>VF});function Q_(e,t){let r=Number.parseFloat(e);return Bb.has(t)?`${r}%`:(Np.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${_F(r,e)}%`)}function Y_(e,t){let r=Number.parseFloat(e);return Np.has(t)?(r/=100,`${_F(r,e)}`):`${r}`}function _F(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function G_({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 rg,Ss,ng,zS,Cs,VF,K_=y(()=>{rg=re(fe(),1),Ir(),Z(),Ge(),We(),V(),I(),T(),Bt(),D(),Ss="lightness-notation",ng=j(Ss,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),zS={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},Cs=e=>(t,r)=>{L(r,Ss,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!G.lightnessColorFunction.test(n.value))return;let i=(0,rg.default)(Ye(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Iy.has(a))return;let s=G_(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=rg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let m=e==="percentage"?Q_(l,a):Y_(l,a),h=ae(n),b=()=>{s.value=m,$t(n,i.toString())};E({message:ng.expected,messageArgs:[l,m],node:n,index:h+s.sourceIndex,endIndex:h+s.sourceEndIndex,result:r,ruleName:Ss,fix:{apply:b,node:n}})})})},Cs.ruleName=Ss,Cs.messages=ng,Cs.meta=zS,VF=Cs}),QF={};z(QF,{default:()=>YF});function NS(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var PS,As,ig,ES,zs,YF,J_=y(()=>{PS=re(Ot(),1),ge(),B(),cm(),he(),H(),I(),T(),D(),As="max-nesting-depth",ig=j(As,{expected:e=>`Expected nesting depth to be no more than ${e}`}),ES={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},zs=(e,t)=>{let r=o=>De(o)&&R(t,"ignoreAtRules",o.name),n=o=>ct(o)&&R(t,"ignoreRules",o.selector);return(o,a)=>{if(!L(a,As,{actual:e,possible:[br]},{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)||!kc(l)||ct(l)&&!me(l)||i(l,0)>e&&E({ruleName:As,result:a,node:l,message:ig.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(sr(s)||De(s)&&s.parent&&sr(s.parent))return a;function l(c){return(0,PS.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!R(t,"ignoreRules",d)).every(d=>NS(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 m=NS(d);return m?R(t,"ignorePseudoClasses",m):!1}):!1}return R(t,"ignore","blockless-at-rules")&&De(o)&&o.every(c=>!Ri(c))||R(t,"ignore","pseudo-classes")&&ct(o)&&l(o.selector)||ct(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},zs.ruleName=As,zs.messages=ig,zs.meta=ES,YF=zs});function GF(e){return!!(ce(e)&&ze(e.value)||et(e)&&s3.has(e.getName().toLowerCase()))}function H_(e){return ce(e)&&Le(e.value)}function id(e){return ce(e)&&_e(e.value)}function X_(e){return et(e)&&e.getName().toLowerCase()==="env"}function lc(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(!id(n)||t!==-1)return!1;t=r}}return t!==-1&&new qw(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function Z_(e){let t=lc(e);return t===!1?t:new Ww(t)}function Xu(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(GF(o)){let a=KF(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(X_(o))r=i,n=i;else if(H_(o))r=i,n=i;else{if(t||!id(o))return!1;r=i,n=i}}}return r!==-1&&new Uw(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function KF(e){let t=-1,r=-1,n=e7(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(!zt(o))return-1}return[t,r]}function e7(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!zt(i)){if(ce(i)){let o=i.value;if(Ft(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!GF(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function t7(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(QL(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=lc(t);if(i===!1)return!1;let o=Xu(r);return o!==!1&&new _w(i,n,o)}function r7(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(Ft(i)){if(i[4].value===Yr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===nr.LT){t=r;continue}if(i[4].value===ir.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function mi(e){if(e.length!==1&&e.length!==2||!Ft(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Yr.EQ:return Yr.EQ;case nr.LT:return nr.LT;case ir.GT:return ir.GT;default:return!1}if(!Ft(e[1])||e[1][4].value!==Yr.EQ)return!1;switch(e[0][4].value){case nr.LT:return nr.LT_OR_EQ;case ir.GT:return ir.GT_OR_EQ;default:return!1}}function n7(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let m=e[d];if(m.type===Oe.Token){let h=m.value;if(Ft(h)){let b=r7(e.slice(d));if(b!==!1){if(t!==!1){r=[b[0]+d,b[1]+d];break}t=[b[0]+d,b[1]+d],d+=b[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]),m=e.slice(t[1]+1),h=lc(d);if(h){let p=Xu(m,!0);return!!p&&new Qm(h,n,p)}let b=lc(m);if(b){let p=Xu(d,!0);return!!p&&new Vw(b,n,p)}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=Xu(o,!0),u=lc(a),c=Xu(s,!0);if(!l||!u||!c)return!1;{let d=mi(n);if(d===!1||d===Yr.EQ)return!1;let m=mi(i);if(m===!1||m===Yr.EQ||!(d!==nr.LT&&d!==nr.LT_OR_EQ||m!==ir.GT&&m!==ir.GT_OR_EQ)||!(d!==ir.GT&&d!==ir.GT_OR_EQ||m!==nr.LT&&m!==nr.LT_OR_EQ))return!1}return new Qw(u,l,n,c,i)}function JF(e,t=[],r=[]){if(!Yi(e.startToken))return!1;let n=Z_(e.value);if(n!==!1)return new uc(n,t,r);let i=t7(e.value);if(i!==!1)return new uc(i,t,r);let o=n7(e.value);return o!==!1&&new uc(o,t,r)}function OS(e){if(!_e(e))return!1;switch(e[4].value.toLowerCase()){case fi.Not:return fi.Not;case fi.Only:return fi.Only;default:return!1}}function i7(e){{let t=$w(e);if(t!==!1)return new yp(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!Oc(l)&&!Nw(l)){if(ce(l)){let u=l.value;if(t===-1&&_e(u)&&OS(u)){t=s;continue}if(r===-1&&_e(u)&&!OS(u)){r=s;continue}if(n===-1&&_e(u)&&Yw.test(u[4].value)){if(n=s,IS(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=IS(e.slice(Math.max(t,r,n)+1));return a===!1?new Tc(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new Tc(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function o7(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=a7(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||!Cr(a)||(a.normalize(),t=od(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new a3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function HF(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=s7(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||!Cr(a)||(a.normalize(),t=od(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new o3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function $w(e){let t=ZF(e);if(t!==!1)return new gr(t);let r=HF(e);if(r!==!1)return new gr(r);let n=o7(e);if(n!==!1)return new gr(n);let i=XF(e);return i!==!1&&new gr(i)}function IS(e){let t=ZF(e);if(t!==!1)return new gr(t);let r=HF(e);if(r!==!1)return new gr(r);let n=XF(e);return n!==!1&&new gr(n)}function XF(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(!Cr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!Yi(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=JF(r,n,i);if(o!==!1)return new Qr(o);let a=$w(r.value);return a!==!1?new Qr(a,n,i):new Qr(new Vm(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function od(e){if(!Yi(e.startToken))return!1;let t=JF(e,[e.startToken],[e.endToken]);if(t!==!1)return new Qr(t);let r=$w(e.value);return r!==!1?new Qr(r,[e.startToken],[e.endToken]):new Qr(new Vm(e))}function ZF(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(id(i)){let o=i.value;if(c3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Cr(i)){i.normalize();let o=od(i);if(o===!1)return!1;r=new l3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function a7(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(id(n)){let i=n.value;if(d3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Cr(n)){n.normalize();let i=od(n);return i!==!1&&{advance:r,node:new u3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function s7(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(id(n)){let i=n.value;if(Yw.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Cr(n)){n.normalize();let i=od(n);return i!==!1&&{advance:r,node:new i3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function ad(e,t){let r=eD(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=i7(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Bw(r[i]):o}).filter(n=>!!n)}function l7(e,t){return ad(wt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function u7(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!St(e[o])){if(_e(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(!St(n[o])){if(_e(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Vt(n[o]))break;i=!1}return i?new Gv(r,null,n):new Gv(r,ad(nU(n),t))}function c7(e,t){return u7(wt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function e3(e){return Vm.isGeneralEnclosed(e)}function d7(e){return Ww.isMediaFeatureBoolean(e)}function t3(e){return Uw.isMediaFeatureValue(e)}function hi(e){return _w.isMediaFeaturePlain(e)}function nm(e){return r3(e)||n3(e)||p7(e)}function r3(e){return Qm.isMediaFeatureRangeNameValue(e)}function n3(e){return Vw.isMediaFeatureRangeValueName(e)}function p7(e){return Qw.isMediaFeatureRangeValueNameValue(e)}function Cn(e){return uc.isMediaFeature(e)}function m7(e){return Tc.isMediaQueryWithType(e)}function An(e){return Bw.isMediaQueryInvalid(e)}var ue,gr,Qr,Tc,yp,Bw,Vm,i3,o3,a3,s3,qw,Ww,Uw,_w,nr,ir,Yr,fi,Qm,Vw,Qw,uc,l3,u3,c3,d3,Yw,Gv,jS,Gt=y(()=>{kt(),it(),(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"})(ue||(ue={})),gr=class Kv{constructor(t){U(this,"type",ue.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 Kv.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Kv&&t.type===ue.MediaCondition}},Qr=class Jv{constructor(t,r=[],n=[]){U(this,"type",ue.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 we(...this.before)+this.media.toString()+we(...this.after)}hasLeadingSpace(){return this.before.length?St(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 Jv.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Jv&&t.type===ue.MediaInParens}},Tc=class pn{constructor(t,r,n,i){U(this,"type",ue.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(_e(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new pn([],[[C.Ident,r,-1,-1,{value:r}]]),new yp(this.media)]:[new pn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new yp(this.media).negateQuery()]:t?[new pn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new pn([[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(_e(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?we(...this.modifier)+we(...this.mediaType)+we(...this.and)+this.media.toString():we(...this.modifier)+we(...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 pn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof pn&&t.type===ue.MediaQueryWithType}},yp=class wp{constructor(t){U(this,"type",ue.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===ue.MediaNot?[new wp(new gr(t.media.media))]:(t.media.type!==ue.MediaConditionListWithOr&&t.media.type!==ue.MediaConditionListWithAnd||(t=new gr(new Qr(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 Tc([[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 wp.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof wp&&t.type===ue.MediaQueryWithoutType}},Bw=class kp{constructor(t){U(this,"type",ue.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new kp(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=pi(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 kp.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof kp&&t.type===ue.MediaQueryInvalid}},Vm=class Hv{constructor(t){U(this,"type",ue.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return St(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 Hv.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Hv&&t.type===ue.GeneralEnclosed}},i3=class Xv{constructor(t,r){U(this,"type",ue.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return we(...this.modifier)+this.media.toString()}hasLeadingSpace(){return St(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 Xv.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Xv&&t.type===ue.MediaAnd}},o3=class Zv{constructor(t,r,n=[],i=[]){U(this,"type",ue.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 we(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+we(...this.after)}hasLeadingSpace(){return this.before.length?St(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ue.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=pi(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 Zv.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Zv&&t.type===ue.MediaConditionListWithAnd}},a3=class ey{constructor(t,r,n=[],i=[]){U(this,"type",ue.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 we(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+we(...this.after)}hasLeadingSpace(){return this.before.length?St(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ue.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=pi(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 ey.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof ey&&t.type===ue.MediaConditionListWithOr}},s3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),qw=class ty{constructor(t,r=[],n=[]){U(this,"type",ue.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 we(...this.before)+this.name.toString()+we(...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 ty.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof ty&&t.type===ue.MediaFeatureName}},Ww=class ry{constructor(t){U(this,"type",ue.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 ry.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof ry&&t.type===ue.MediaFeatureBoolean}},Uw=class ny{constructor(t,r=[],n=[]){U(this,"type",ue.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)?we(...this.before)+this.value.map(t=>t.toString()).join("")+we(...this.after):we(...this.before)+this.value.toString()+we(...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=pi(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 ny.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof ny&&t.type===ue.MediaFeatureValue}},_w=class iy{constructor(t,r,n){U(this,"type",ue.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()+we(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 iy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof iy&&t.type===ue.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(nr||(nr={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ir||(ir={})),(function(e){e.EQ="="})(Yr||(Yr={})),Qm=class oy{constructor(t,r,n){U(this,"type",ue.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return mi(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()+we(...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 oy.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof oy&&t.type===ue.MediaFeatureRangeNameValue}},Vw=class ay{constructor(t,r,n){U(this,"type",ue.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return mi(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()+we(...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 ay.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof ay&&t.type===ue.MediaFeatureRangeValueName}},Qw=class sy{constructor(t,r,n,i,o){U(this,"type",ue.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 mi(this.valueOneOperator)}valueTwoOperatorKind(){return mi(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()+we(...this.valueOneOperator)+this.name.toString()+we(...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 sy.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof sy&&t.type===ue.MediaFeatureRangeValueNameValue}},uc=class ly{constructor(t,r=[],n=[]){U(this,"type",ue.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 we(...this.before)+this.feature.toString()+we(...this.after)}hasLeadingSpace(){return St(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 ly.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof ly&&t.type===ue.MediaFeature}},l3=class uy{constructor(t,r){U(this,"type",ue.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return we(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?St(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 uy.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof uy&&t.type===ue.MediaNot}},u3=class cy{constructor(t,r){U(this,"type",ue.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return we(...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 cy.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof cy&&t.type===ue.MediaOr}},(function(e){e.Not="not",e.Only="only"})(fi||(fi={})),c3=/^not$/i,d3=/^or$/i,Yw=/^and$/i,Gv=class dy{constructor(t,r,n){U(this,"type",ue.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(_e(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(_e(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(!St(r))return!!_e(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(!St(r))return!!_e(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 we(...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 dy.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof dy&&t.type===ue.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"})(jS||(jS={}))});function Gw(e,t){let r=wt({css:e});return eD(r).flatMap(n=>n.flatMap(i=>{if(!Cr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return ad(o,{preserveInvalidMediaQueries:!0}).filter(a=>!An(a))})).forEach(n=>{n.walk(({node:i})=>{if(Cn(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}e3(i)&&h7(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&&py.test(l[4].value)||u&&u[0]===C.Delim&&py.test(u[4].value))&&t(o)})})}),{stringify(){return we(...r)}}}function h7(e){let t=e.value.value;if(Pc(t)||t.length===0||Pc(t[0]))return[];let r=[];return t.filter(ce).forEach((n,i,o)=>{let[a,,,,]=n.value;TS(n)||a===C.Ident&&TS(o[i-1])||LS(n)||a===C.Ident&&LS(o[i+1])||r.push(n.value)}),r}function TS(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function LS(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var py,Kw=y(()=>{it(),Gt(),kt(),py=/[<>=]/});function Fi(e){return e.startsWith("--")}var sd=y(()=>{}),p3={};z(p3,{default:()=>m3});var Ns,og,DS,qn,m3,f7=y(()=>{B(),Z(),V(),Kw(),ut(),sd(),Fe(),I(),T(),D(),Ns="media-feature-name-allowed-list",og=j(Ns,{rejected:e=>`Unexpected media feature name "${e}"`}),DS={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},qn=e=>(t,r)=>{L(r,Ns,{actual:e,possible:[$,_]})&&t.walkAtRules(ke.mediaName,n=>{Gw(lt(n),i=>{let[,,o,a,{value:s}]=i;if(Fi(s)||Ee(s,e))return;let l=Ie(n);E({message:og.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ns,result:r})})})},qn.primaryOptionArray=!0,qn.ruleName=Ns,qn.messages=og,qn.meta=DS,m3=qn}),h3={};z(h3,{default:()=>f3});var Ps,ag,FS,Wn,f3,g7=y(()=>{B(),Z(),V(),Kw(),ut(),sd(),Fe(),I(),T(),D(),Ps="media-feature-name-disallowed-list",ag=j(Ps,{rejected:e=>`Unexpected media feature name "${e}"`}),FS={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Wn=e=>(t,r)=>{L(r,Ps,{actual:e,possible:[$,_]})&&t.walkAtRules(ke.mediaName,n=>{Gw(lt(n),i=>{let[,,o,a,{value:s}]=i;if(Fi(s)||!Ee(s,e))return;let l=Ie(n);E({message:ag.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ps,result:r})})})},Wn.primaryOptionArray=!0,Wn.ruleName=Ps,Wn.messages=ag,Wn.meta=FS,f3=Wn}),sg,cc,MS,RS,Jw,g3,xp,Ym=y(()=>{$i(),sg=new Set(["device-aspect-ratio","device-height","device-width"]),cc=Ce(sg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),MS=new Set([...cc].flatMap(e=>[`min-${e}`,`max-${e}`])),RS=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"]),Jw=Ce(sg,cc,MS,RS),g3=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"])]]),xp=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"])]])}),b3={};z(b3,{default:()=>v3});var Es,lg,$S,Os,v3,b7=y(()=>{B(),Z(),V(),Kw(),ut(),sd(),Ym(),H(),I(),T(),D(),Et(),Es="media-feature-name-no-unknown",lg=j(Es,{rejected:e=>`Unexpected unknown media feature name "${e}"`}),$S={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Os=(e,t)=>(r,n)=>{L(n,Es,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(ke.mediaName,i=>{Gw(lt(i),o=>{let[,,a,s,{value:l}]=o;if(Fi(l)||R(t,"ignoreMediaFeatureNames",l)||Ke.prefix(l)||Jw.has(l.toLowerCase()))return;let u=Ie(i);E({message:lg.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Es,result:n})})})},Os.ruleName=Es,Os.messages=lg,Os.meta=$S,v3=Os}),y3={};z(y3,{default:()=>w3});var Is,ug,BS,qS,js,w3,v7=y(()=>{B(),V(),_c(),H(),I(),T(),D(),Is="media-feature-name-no-vendor-prefix",ug=j(Is,{rejected:"Unexpected vendor-prefix"}),BS={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},qS=["-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"],js=(e,t)=>(r,n)=>{L(n,Is,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(ke.mediaName,i=>{let o=i.params;if(!yr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${qS.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)};E({message:ug.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Is,fix:{apply:l,node:i}})}})},js.ruleName=Is,js.messages=ug,js.meta=BS,w3=js});function zn(e){return l7(lt(e),{preserveInvalidMediaQueries:!0})}var Nn=y(()=>{Gt(),ut()}),k3={};z(k3,{default:()=>x3});var Ts,cg,WS,Ls,x3,y7=y(()=>{Gt(),it(),kt(),V(),Z(),B(),Fe(),Nn(),I(),T(),ur(),D(),Ts="media-feature-name-unit-allowed-list",cg=j(Ts,{rejected:(e,t)=>`Unexpected unit "${e}" for name "${t}"`}),WS={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ls=e=>(t,r)=>{if(!L(r,Ts,{actual:e,possible:[Yt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Ee(o,a))return[s].flat()};t.walkAtRules(ke.mediaName,o=>{G.dimension.test(o.params)&&zn(o).forEach(a=>{if(An(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(hi(l)||nm(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!ce(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[m,,h,b,p]=l.value;if(m!==C.Dimension||d.includes(p.unit.toLowerCase()))return;let v=Ie(o);E({message:cg.rejected,messageArgs:[p.unit,c],node:o,index:v+h,endIndex:v+b+1,result:r,ruleName:Ts})},s)})})},Ls.ruleName=Ts,Ls.messages=cg,Ls.meta=WS,x3=Ls}),S3={};z(S3,{default:()=>C3});var Ds,dg,US,Fs,C3,w7=y(()=>{Gt(),kt(),B(),Z(),V(),Fe(),H(),Nn(),I(),T(),ur(),D(),Ds="media-feature-name-value-allowed-list",dg=j(Ds,{rejected:(e,t)=>`Unexpected value "${t}" for name "${e}"`}),US={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Fs=e=>(t,r)=>{L(r,Ds,{actual:e,possible:[Yt($,_)]})&&t.walkAtRules(ke.mediaName,n=>{zn(n).forEach(i=>{if(An(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Cn(a)){s.mediaFeatureName=a.getName();return}if(!t3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(p=>p.toString()).join(""),d=Object.keys(e).find(p=>Ee(l,p));if(d==null||R(e,d,c))return;let m=Ie(n),[h,b]=Mt(u);E({index:m+h,endIndex:m+b+1,message:dg.rejected,messageArgs:[l,c],node:n,ruleName:Ds,result:r})},o)})})},Fs.ruleName=Ds,Fs.messages=dg,Fs.meta=US,C3=Fs}),A3={};z(A3,{default:()=>z3});var Ms,pg,_S,VS,Rs,z3,k7=y(()=>{it(),kt(),Gt(),Mc(),Ym(),Ir(),Z(),V(),Nn(),I(),T(),D(),Et(),Ms="media-feature-name-value-no-unknown",pg=j(Ms,{rejected:(e,t)=>`Unexpected unknown media feature value "${t}" for name "${e}"`}),_S=/^(?:min|max)-/i,VS={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Rs=e=>(t,r)=>{if(!L(r,Ms,{actual:e}))return;function n(s,l,u){let[c,d,m,h,b]=l;if(c===C.Ident){let v=g3.get(s.mediaFeatureName);if(v){let f=Ke.unprefixed(b.value.toLowerCase());if(v.has(f))return}u(s,d,m,h);return}let p=xp.get(s.mediaFeatureName);if(!p){u(s,d,m,h);return}if(c===C.Number){if(b.type===ie.Integer){if(p.has("integer")||p.has("ratio")||b.value===0&&(p.has("length")||p.has("resolution")||p.has("mq-boolean"))||b.value===1&&p.has("mq-boolean"))return;u(s,d,m,h);return}if(p.has("ratio")||b.value===0&&(p.has("length")||p.has("resolution")))return;u(s,d,m,h);return}if(c===C.Dimension){let v=b.unit.toLowerCase();if(p.has("resolution")&&qb.has(v)||p.has("length")&&Ci.has(v))return;u(s,d,m,h)}}function i(s,l,u){let c=l.getName().toLowerCase();if(c==="env")return;let d=xp.get(s.mediaFeatureName);d&&qi.has(c)&&(d.has("integer")||d.has("length")||d.has("ratio")||d.has("resolution"))||u(s,l.toString(),...Mt(l))}function o(s,l,u){let c=xp.get(s.mediaFeatureName);c&&c.has("ratio")&&KF(l)!==-1||u(s,l.map(d=>d.toString()).join(""),...Mt(l))}function a(s,l,u){if(ce(l.value)){n(s,l.value.value,u);return}if(et(l.value)){i(s,l.value,u);return}Array.isArray(l.value)&&o(s,l.value,u)}t.walkAtRules(ke.mediaName,s=>{let l=(c,d,m,h)=>{let b=Ie(s);E({message:pg.rejected,messageArgs:[c.mediaFeatureNameRaw,d],index:b+m,endIndex:b+h+1,node:s,ruleName:Ms,result:r})},u={mediaFeatureName:"",mediaFeatureNameRaw:""};zn(s).forEach(c=>{An(c)||c.walk(({node:d,state:m})=>{if(m){if(Cn(d)){let h=d.getName(),b=Ke.unprefixed(h.toLowerCase());if(!Jw.has(b))return;b=b.replace(_S,""),m.mediaFeatureName=b,m.mediaFeatureNameRaw=h;return}!m.mediaFeatureName||!m.mediaFeatureNameRaw||t3(d)&&a(m,d,l)}},u)})})},Rs.ruleName=Ms,Rs.messages=pg,Rs.meta=VS,z3=Rs}),N3={};z(N3,{default:()=>P3});var $s,mg,QS,Bs,P3,x7=y(()=>{Gt(),kt(),it(),Z(),V(),H(),Nn(),Ym(),I(),T(),D(),$s="media-feature-range-notation",mg=j($s,{expected:e=>`Expected "${e}" media feature range notation`}),QS={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},Bs=(e,t)=>(r,n)=>{if(!L(n,$s,{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(ke.mediaName,a=>{if(o&&!o.test(a.params))return;let s=zn(a);s.forEach(l=>{An(l)||l.walk(({node:u,parent:c})=>{if(!nm(u)&&!hi(u))return;let d=u.getName(),m=d.replace(/^(?:min|max)-/i,"");if(!cc.has(m))return;let h=e;if(i){let x=(r3(u)||n3(u))&&u.operator.length===1&&u.operator[0][1]==="=",k=hi(u)&&d.length===m.length;(x||k)&&(h=e==="prefix"?"context":"prefix")}if(h==="prefix"&&hi(u)||h==="context"&&nm(u))return;let b=x=>()=>{let k;/^min-/i.test(d)?k=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?k=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:k=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new Qm(new qw(new pe([C.Ident,m,-1,-1,{value:m}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.Whitespace," ",-1,-1,void 0]]),k,x.node.value);let w=s.map(S=>S.toString()).join(",");w!==a.params&&(a.params=w)},p=h==="context"&&hi(u)&&Cn(c)?b({node:u,parent:c}):void 0,[v,f]=Mt(u),g=Ie(a);E({message:mg.expected,messageArgs:[h],node:a,index:g+v-1,endIndex:g+f+1+1,result:n,ruleName:$s,fix:{apply:p,node:a}})})})})},Bs.ruleName=$s,Bs.messages=mg,Bs.meta=QS,P3=Bs}),E3={};z(E3,{default:()=>O3});function YS(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(et(n)&&(r=R(t,"ignoreFunctions",n.getName()),r))return!1}),r}var qs,hg,GS,fg,KS,Ws,O3,S7=y(()=>{kt(),Gt(),B(),Z(),V(),sd(),H(),Nn(),Ym(),I(),T(),D(),qs="media-query-no-invalid",hg=j(qs,{rejected:(e,t)=>t?`Unexpected invalid media query "${e}", ${t}`:`Unexpected invalid media query "${e}"`}),GS={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"},fg=/^(?:min|max)-/i,KS={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},Ws=(e,t)=>(r,n)=>{if(!L(n,qs,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(ke.mediaName,o=>{let a=Ie(o);zn(o).forEach(s=>{if(An(s)){if(YS(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(e3(l)){if(YS(s,t))return;i(o,a,l);return}if(hi(l)){let c=l.getName();if(Fi(c)){i(o,a,u,"custom");return}return}if(nm(l)){let c=l.getName().toLowerCase();if(Fi(c)){i(o,a,u,"custom");return}if(fg.test(c)){i(o,a,u,"min_max_in_range");return}if(!cc.has(c)){i(o,a,u,"discrete");return}return}if(d7(l)){let c=l.getName();fg.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Mt(s);E({message:hg.rejected,messageArgs:[s.toString(),l?GS[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:qs,result:n})}},Ws.ruleName=qs,Ws.messages=hg,Ws.meta=KS,O3=Ws}),I3={};z(I3,{default:()=>j3});var Us,gg,JS,_s,j3,C7=y(()=>{V(),B(),Z(),tz(),Gt(),rt(),it(),H(),Nn(),I(),T(),kt(),D(),Us="media-type-no-deprecated",gg=j(Us,{rejected:e=>`Unexpected deprecated media type "${e}"`}),JS={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},_s=(e,t)=>(r,n)=>{L(n,Us,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(ke.mediaName,i=>{!tt(i)||!G.deprecatedMediaType.test(i.params)||zn(i).forEach(o=>{if(!m7(o))return;let a=o.getMediaType();if(!Ry.has(a.toLowerCase())||R(t,"ignoreMediaTypes",a))return;let s=Ie(i),[l,u]=Mt({tokens:()=>o.mediaType.filter(_e)});E({message:gg.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:Us,result:n})})})},_s.ruleName=Us,_s.messages=gg,_s.meta=JS,j3=_s});function A7(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)&&!Py(o,a))return!1}return!0}function z7(e){let t=new Set(e.flat());return t.delete("."),[...t]}function N7(e){return z7(e).filter(t=>!A7(e,t))}var P7=y(()=>{Ey()}),T3={};z(T3,{default:()=>L3});var HS,Vs,Qs,XS,Ys,L3,E7=y(()=>{HS=re(fe(),1),B(),Z(),P7(),We(),V(),I(),T(),D(),Vs="named-grid-areas-no-invalid",Qs=j(Vs,{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}"`}),XS={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},Ys=e=>(t,r)=>{L(r,Vs,{actual:e})&&t.walkDecls(jr.gridAreaNames,n=>{let{value:i}=n;if(!Be(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,HS.default)(i).walk(({sourceIndex:d,sourceEndIndex:m,type:h,value:b})=>{if(h==="string"){if(b===""){c(Qs.expectedToken,[],d,m),a=!0;return}o.push({values:b.trim().split(/\s+/).filter(Boolean),index:d,endIndex:m})}}),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(Qs.expectedSameNumber,[],l.index,l.endIndex);return}let u=N7(o.map(d=>d.values));for(let d of u.sort()){let m=o.find(h=>h.values.includes(d));Ve(m),c(Qs.expectedRectangle,[d],m.index,m.endIndex)}function c(d,m,h,b){let p=ae(n);E({message:d,messageArgs:m,node:n,index:p+h,endIndex:p+b,result:r,ruleName:Vs})}})},Ys.ruleName=Vs,Ys.messages=Qs,Ys.meta=XS,L3=Ys});function my(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Ob(n))return!0;if("document"in n&&n.document instanceof Tz&&Ob(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var D3=y(()=>{Uc(),ge()}),F3={};z(F3,{default:()=>M3});function ZS(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 Gs,bg,eC,Ks,M3,O7=y(()=>{Ui(),V(),B(),Z(),ut(),xe(),D3(),rt(),he(),H(),I(),T(),D(),Gs="nesting-selector-no-missing-scoping-root",bg=j(Gs,{rejected:"Unexpected missing scoping root"}),eC={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},Ks=(e,t)=>(r,n)=>{if(!L(n,Gs,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(G.nestingSelector,o=>{if(my(o)||!me(o)||ZS(o,t))return;let a;try{a=Xr(ye(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(ke.scopeName,o=>{if(my(o)||!tt(o)||!G.nestingSelector.test(o.params)||ZS(o,t))return;let a;try{a=Xr(lt(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,Ie(o))});function i(o,a,s=0){gL(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;E({message:bg.rejected,node:o,result:n,ruleName:Gs,index:u,endIndex:c})}})}},Ks.ruleName=Gs,Ks.messages=bg,Ks.meta=eC,M3=Ks});function Hw(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function gn(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(I7(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Xd(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"&&j7(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(dc.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=Xd(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=dc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(m=>{u.append(m.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Xd(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=gn(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=Xd(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 dc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=gn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Xd(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=gn(n,t);Hw(i,r)<0||(r=i)}),r}function I7(e){return dc.default.isPseudoElement(e)}function j7(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 dc,R3=y(()=>{dc=re(Ot(),1)});function Xw(e){let t=e.parent;return t?De(t)?t:ct(t)?Xw(t):null:null}var $3=y(()=>{ge()});function B3(){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=tC(e,n);return r.reduce((o,a)=>tC(o,a),i)}}}function tC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var q3=y(()=>{});function Zu(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=e.toString(),i=ai.get(n);if(i)return r.set(t,i),i;let o=T7(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ai.size>=U3){let s=ai.keys().next().value;s!==void 0&&ai.delete(s)}return ai.set(n,a),a}function T7(e){return nC(e),rC(e),e.walk(t=>{nC(t),rC(t)}),W3(e),e}function rC(e){if(_r.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",_r.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function W3(e){if(_r.default.isContainer(e)&&(e.each(W3),_r.default.isRoot(e)||_r.default.isPseudoClass(e)||_r.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))}}function nC(e){var t;if(_r.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var _r,hy,ai,U3,_3=y(()=>{_r=re(Ot(),1),hy=new WeakMap,ai=new Map,U3=1e4});function hn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function L7(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(or.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=or.default.selector({value:"",...hn(i)});o.append(i);let a=or.default.pseudo({value:":is",...hn(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)=>iC(a)-iC(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 iC(e){return or.default.isPseudoElement(e)?fy.pseudoElement:fy[e.type]}function oC(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(or.default.nesting({...hn(s)})):(s.prepend(or.default.combinator({value:" ",...hn(s)})),s.prepend(or.default.nesting({...hn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,m;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((m=c.parent.value)==null?void 0:m.toLowerCase())===":has"?u.replaceWith(...aC(t,!0)):u.replaceWith(...aC(t)))});for(let u of l)L7(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=or.default.root({value:"",...hn(e)});return n.forEach(a=>{i.append(a)}),i}function aC(e,t=!1){if(t||!D7(e.nodes)){let r=or.default.pseudo({value:":is",...hn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function D7(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||or.default.isPseudoElement(t))}var or,fy,F7=y(()=>{or=re(Ot(),1),fy={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function Lc(e,t){let r=by.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,by.set(e,r);let n=Ae(ye(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(De(s)&&s.name==="scope"){i=Ae(":where(:scope)",t,s);continue}if(!ct(s))continue;if(!me(s))return[];let l=Ae(ye(s),t,s);if(!l)return[];i?i=oC(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:oC(gy.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:gy.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var gy,by,Gm=y(()=>{F7(),ge(),xe(),he(),Ne(),gy=re(Ot(),1),by=new WeakMap}),V3={};z(V3,{default:()=>Y3});function M7(e,t){if(e.nodes.length===0)return;e=Zu(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("::")||lm.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function Q3(e){return e.nodes?e.some(t=>Ri(t)||De(t)&&Q3(t)):!1}var Js,vg,sC,Hs,Y3,R7=y(()=>{R3(),ge(),$3(),xt(),he(),q3(),_3(),H(),qt(),I(),Gm(),T(),D(),Js="no-descending-specificity",vg=j(Js,{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}`)}),sC={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},Hs=(e,t)=>(r,n)=>{if(!L(n,Js,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=R(t,"ignore","selectors-within-list"),o=B3();r.walkRules(s=>{if(!me(s)||i&&s.selectors.length>1||!Q3(s))return;let l=o.getContext(s,Xw(s));Lc(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,k,w;let d=M7(s,n);if(!d)return;let m=gn(s),{selector:h,index:b,endIndex:p}=st(l),{selector:v}=st(s);v=v===h?"":v;let f={selector:h,resolvedSelector:v,specificity:m,line:(w=(k=(x=u.source)==null?void 0:x.start)==null?void 0:k.line)!=null?w:1},g=c.get(d);if(!g){c.set(d,[f]);return}for(let S of g)if(Hw(m,S.specificity)<0){E({ruleName:Js,result:n,node:u,message:vg.expected,messageArgs:[h,S.selector,S.line,v,S.resolvedSelector],index:b,endIndex:p});break}g.push(f)}},Hs.ruleName=Js,Hs.messages=vg,Hs.meta=sC,Y3=Hs}),G3={};z(G3,{default:()=>K3});function Zd(e){return vy.default.stringify(e).replace(/\s/g,"")}function $7(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(Zd(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Zd(a));continue}}if(a.type==="div"&&a.value===","){n.push(Zd(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Zd(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 vy,Xs,yg,lC,Zs,K3,B7=y(()=>{vy=re(fe(),1),V(),ut(),Hc(),I(),T(),D(),Xs="no-duplicate-at-import-rules",yg=j(Xs,{rejected:e=>`Unexpected duplicate @import rule ${e}`}),lC={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},Zs=e=>(t,r)=>{if(!L(r,Xs,{actual:e}))return;let n={};t.walkAtRules(ke.importName,i=>{let[o,...a]=(0,vy.default)(lt(i)).nodes;if(!o)return;let s=Jc(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=$7(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){E({message:yg.rejected,messageArgs:[s],node:i,result:r,ruleName:Xs,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},Zs.ruleName=Xs,Zs.messages=yg,Zs.meta=lC,K3=Zs});function Km(e){let t=e.parent;return t?De(t)&&t.name.toLowerCase()==="keyframes":!1}var Jm=y(()=>{ge()}),J3={};z(J3,{default:()=>H3});var uC,el,wg,cC,tl,H3,q7=y(()=>{uC=re(Ot(),1),B(),$3(),xe(),xt(),Jm(),he(),q3(),_3(),H(),Ne(),I(),Gm(),T(),D(),el="no-duplicate-selectors",wg=j(el,{rejected:(e,t)=>`Unexpected duplicate selector "${e}", first used at line ${t}`}),cC={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},tl=(e,t)=>(r,n)=>{if(!L(n,el,{actual:e},{actual:t,possible:{disallowInList:[Fc],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=B3();function a(c,d,m,h,b){E({result:n,ruleName:el,node:c,message:wg.rejected,messageArgs:[d,b],index:m,endIndex:h})}function s(c){var m;let d=new Map;(m=Ae(ye(c),n,c))==null||m.each(h=>{var x,k,w,S,P,A;let b=Zu(h,n).string;if(R(t,"ignoreSelectors",b))return;let p=d.get(b);if(!p){d.set(b,{line:((w=(k=(x=h.source)==null?void 0:x.start)==null?void 0:k.line)!=null?w:1)+((A=(P=(S=c.source)==null?void 0:S.start)==null?void 0:P.line)!=null?A:1)-1});return}let{index:v,endIndex:f,selector:g}=st(h);a(c,g,v,f,p.line)})}function l(c,d){var f,g,x;let m=Lc(c,n).flatMap(({resolvedSelectors:k})=>k.nodes);if(!m.length||m.some(k=>{let w=Zu(k,n).string;return R(t,"ignoreSelectors",w)}))return;let h=uC.default.root({nodes:m,value:""}),b=Zu(h,n).string,p=d.get(b);if(!p){d.set(b,{line:(x=(g=(f=c.source)==null?void 0:f.start)==null?void 0:g.line)!=null?x:1});return}let v=ye(c).toString().trim();a(c,v,0,v.length,p.line)}function u(c,d){Lc(c,n).forEach(m=>{let{selector:h,resolvedSelectors:b}=m;b.each(p=>{var w,S,P,A,M,N;let v=Zu(p,n).string;if(R(t,"ignoreSelectors",v))return;let f=d.get(v);if(!f){d.set(v,{line:((P=(S=(w=h.source)==null?void 0:w.start)==null?void 0:S.line)!=null?P:1)+((N=(M=(A=c.source)==null?void 0:A.start)==null?void 0:M.line)!=null?N:1)-1});return}let{index:g,endIndex:x,selector:k}=st(h);a(c,k,g,x,f.line)})})}r.walkRules(c=>{if(Km(c)||!me(c))return;let d=o.getContext(c,Xw(c));if(i){u(c,d);return}s(c),l(c,d)})},tl.ruleName=el,tl.messages=wg,tl.meta=cC,H3=tl}),X3={};z(X3,{default:()=>Z3});var rl,kg,dC,nl,Z3,W7=y(()=>{Qc(),I(),T(),D(),rl="no-empty-source",kg=j(rl,{rejected:"Unexpected empty source"}),dC={url:"https://stylelint.io/user-guide/rules/no-empty-source"},nl=(e,t,r)=>(n,i)=>{var a;if(!L(i,rl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!gi(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&E({message:kg.rejected,messageArgs:[],node:n,result:i,ruleName:rl})},nl.ruleName=rl,nl.messages=kg,nl.meta=dC,Z3=nl}),eM={};z(eM,{default:()=>tM});var Un,ep,pC,il,tM,U7=y(()=>{B(),xe(),I(),T(),D(),Un="no-invalid-double-slash-comments",ep=j(Un,{rejected:"Unexpected double-slash CSS comment"}),pC={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},il=(e,t,r)=>(n,i)=>{L(i,Un,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&E({message:ep.rejected,messageArgs:[],node:o,result:i,ruleName:Un})}),n.walkRules(o=>{var u;let a=ye(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),Mi(r.newline);let m=c.length-d.length,h=l+m,b=(u=s.slice(h).split(r.newline)[0])!=null?u:"",p=h+b.length;E({message:ep.rejected,messageArgs:[],node:o,result:i,ruleName:Un,index:h,endIndex:p})}l+=c.length+1}}))},il.ruleName=Un,il.messages=ep,il.meta=pC,tM=il}),rM={};z(rM,{default:()=>nM});var ol,xg,mC,al,nM,_7=y(()=>{B(),ge(),rt(),he(),H(),I(),T(),D(),ol="no-invalid-position-at-import-rule",xg=j(ol,{rejected:"Unexpected invalid position @import rule"}),mC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},al=(e,t)=>(r,n)=>{if(!L(n,ol,{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(De(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!R(t,"ignoreAtRules",o.name)&&tt(o)||o.type==="rule"&&me(o)){i=!0;return}De(o)&&a==="import"&&i&&E({message:xg.rejected,messageArgs:[],node:o,result:n,ruleName:ol,word:o.toString()})})},al.ruleName=ol,al.messages=xg,al.meta=mC,nM=al}),iM={};z(iM,{default:()=>oM});var sl,Sg,hC,ll,oM,V7=y(()=>{ge(),B(),Tw(),D3(),gt(),Bi(),H(),I(),T(),D(),sl="no-invalid-position-declaration",Sg=j(sl,{rejected:"Unexpected invalid position declaration"}),hC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},ll=(e,t)=>(r,n)=>{if(!L(n,sl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=o=>De(o)&&R(t,"ignoreAtRules",o.name);r.walkDecls(o=>{if(my(o,{inline:!0})||!ft(o))return;let{parent:a}=o;if(a&&!ct(a)){if(De(a)){let s=a.name.toLowerCase();if(hc.has(s)){if(jw(o,l=>ct(l)||i(l)))return}else return}E({message:Sg.rejected,messageArgs:[],node:o,result:n,ruleName:sl})}})},ll.ruleName=sl,ll.messages=Sg,ll.meta=hC,oM=ll}),aM={};z(aM,{default:()=>mM});function ul(){return 0}function Q7(){return 1}function sM(e){return e.replace(wy," ")}function lM(e,t){if(!im.test(e))return e;let r=(0,uM.default)(e);return r.walk(n=>{t(n)&&(n.value=sM(n.value))}),r.toString()}function Y7(e){return lM(e,t=>t.type==="string")}function Cg(e,t){if(!e)return;let r=t?pM.test(t.toLowerCase()):!1;return lM(e,n=>n.type==="string"&&!r||n.type==="comment")}function G7(e){return im.test(e)?(0,yy.default)(t=>{t.walk(r=>{r.value&&(cM(r)||dM(r))&&(r.value=sM(r.value))})}).processSync(e):e}var yy,uM,cM,dM,cl,Ag,fC,gC,zg,im,wy,bC,pM,vC,dl,mM,K7=y(()=>{yy=re(Ot(),1),uM=re(fe(),1),Z(),ut(),Ge(),xe(),I(),T(),D(),{isAttribute:cM,isComment:dM}=yy.default,cl="no-irregular-whitespace",Ag=j(cl,{rejected:"Unexpected irregular whitespace"}),fC={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},gC=["\v","\f"," ","…"," ","᠎","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "," "," "],zg=gC.join(""),im=new RegExp(`[${zg}]`),wy=new RegExp(`[${zg}]+`,"g"),bC=["grid","grid-template","grid-template-areas"],pM=new RegExp(`^(?:${bC.join("|")})$`,"i"),vC=e=>Array.from(e.matchAll(wy)).map(t=>({index:t.index,length:t[0].length})),dl=e=>(t,r)=>{var o;if(!L(r,cl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!im.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=vC(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:m})=>{E({ruleName:cl,result:r,message:Ag.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+m})})};t.walkAtRules(a=>{i(a,a.raws.before,ul),i(a,a.name,Q7),i(a,a.raws.afterName,X2),i(a,Y7(lt(a)),Ie),i(a,a.raws.between,p5),i(a,a.raws.after,d5)}),t.walkRules(a=>{i(a,a.raws.before,ul),i(a,G7(ye(a)),ul),i(a,a.raws.between,m5),i(a,a.raws.after,h5)}),t.walkDecls(a=>{i(a,a.raws.before,ul),i(a,Cg(a.prop),ul),i(a,Cg(a.raws.between),Z2),i(a,Cg(Ye(a),a.prop),ae)})},dl.ruleName=cl,dl.messages=Ag,dl.meta=fC,mM=dl});function J7(e){let t=[],r=(0,hM.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&je.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(!Be(a)){i=!0,t.length=0;return}if(ed(a)||My.has(a))return;let{unit:s}=_i(o);s||s===""||t.push(o)}),t}var hM,H7=y(()=>{hM=re(fe(),1),Je(),Vi(),We(),td()}),fM={};z(fM,{default:()=>gM});var pl,Ng,yC,ml,gM,X7=y(()=>{Je(),V(),Z(),H7(),I(),T(),D(),pl="no-unknown-animations",Ng=j(pl,{rejected:e=>`Unexpected unknown animation name "${e}"`}),yC={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},ml=e=>(t,r)=>{if(!L(r,pl,{actual:e}))return;let n=new Set;t.walkAtRules(ke.keyframesName,i=>{n.add(i.params)}),t.walkDecls(i=>{if(i.prop.toLowerCase()==="animation"||i.prop.toLowerCase()==="animation-name"){let o=J7(i.value);if(o.length===0)return;for(let a of o){if(yc.has(a.value.toLowerCase())||n.has(a.value))continue;let s=ae(i);E({result:r,ruleName:pl,message:Ng.rejected,messageArgs:[a.value],node:i,index:s+a.sourceIndex,endIndex:s+a.sourceEndIndex})}}})},ml.ruleName=pl,ml.messages=Ng,ml.meta=yC,gM=ml});function Z7(e){return c7(lt(e),{preserveInvalidMediaQueries:!0})}var eV=y(()=>{Gt(),ut()}),bM={};z(bM,{default:()=>vM});var hl,Pg,wC,fl,vM,tV=y(()=>{V(),Gt(),Z(),sd(),eV(),Nn(),I(),T(),D(),hl="no-unknown-custom-media",Pg=j(hl,{rejected:e=>`Unexpected unknown custom media "${e}"`}),wC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},fl=e=>(t,r)=>{if(!L(r,hl,{actual:e}))return;let n=new Set;t.walkAtRules(ke.customMediaName,i=>{let o=Z7(i);o&&n.add(o.getName())}),t.walkAtRules(ke.mediaName,i=>{G.customProperty.test(i.params)&&zn(i).forEach(o=>{An(o)||o.walk(({node:a})=>{if(!Cn(a))return;let[,s,l,u]=a.getNameToken();if(!Fi(s)||n.has(s))return;let c=Ie(i),d=c+l,m=c+u+1;E({message:Pg.rejected,messageArgs:[s],node:i,index:d,endIndex:m,result:r,ruleName:hl})})})})},fl.ruleName=hl,fl.messages=Pg,fl.meta=wC,vM=fl}),yM={};z(yM,{default:()=>wM});var kC,gl,Eg,xC,bl,wM,rV=y(()=>{kC=re(fe(),1),V(),Z(),Kc(),I(),T(),D(),gl="no-unknown-custom-properties",Eg=j(gl,{rejected:e=>`Unexpected unknown custom property "${e}"`}),xC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},bl=e=>(t,r)=>{if(!L(r,gl,{actual:e}))return;let n=new Set;t.walkAtRules(ke.propertyName,({params:i})=>{n.add(i)}),t.walkDecls(jr.custom,({prop:i})=>{n.add(i)}),t.walkDecls(i=>{let{value:o}=i;(0,kC.default)(o).walk(a=>{if(!Wi(a))return;let[s,l]=a.nodes;if(!s||n.has(s.value)||l&&l.type==="div")return;let u=ae(i);E({result:r,ruleName:gl,message:Eg.rejected,messageArgs:[s.value],node:i,index:u+s.sourceIndex,endIndex:u+s.sourceEndIndex})})})},bl.ruleName=gl,bl.messages=Eg,bl.meta=xC,wM=bl}),kM={};z(kM,{default:()=>xM});var vl,Og,SC,yl,xM,nV=y(()=>{it(),kt(),Z(),B(),ut(),Ge(),Sr(),Fe(),H(),I(),T(),Cw(),D(),vl="number-max-precision",Og=j(vl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),SC={url:"https://stylelint.io/user-guide/rules/number-max-precision"},yl=(e,t)=>(r,n)=>{var l;if(!L(n,vl,{actual:e,possible:[lr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[Hp(lr)]}}))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,Ie,lt(u))}),r.walkDecls(u=>{o(u,ae,Ye(u))});function o(u,c,d){if(!d.includes("."))return;let m="prop"in u?u.prop:void 0;if(R(t,"ignoreProperties",m))return;let h={ignored:!1,precision:e};Ki(Gi(wt({css:d})),({node:b,state:p})=>{p&&(p.ignored||a(u,c,b,p))},h)}function a(u,c,d,m){if(et(d)){let w=d.getName().toLowerCase();if(w==="url"){m.ignored=!0;return}m.precision=s(w,m.precision);return}if(!ce(d))return;let[h,b,p,v,f]=d.value;if(h!==C.Number&&h!==C.Dimension&&h!==C.Percentage)return;let g=0;if(h===C.Dimension){let w=f.unit;if(g=w.length,R(t,"ignoreUnits",w))return}else if(h===C.Percentage&&(g=1,R(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(b);if(x==null||x[0]==null||x[1]==null||x[1].length<=m.precision)return;let k=c(u);E({result:n,ruleName:vl,node:u,index:k+p,endIndex:k+(v+1)-g,message:Og.expected,messageArgs:[f.value,f.value.toFixed(m.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[m,h]of i)if(Ee(u,m))return h;return c}},yl.ruleName=vl,yl.messages=Og,yl.meta=SC,xM=yl}),SM={};z(SM,{default:()=>CM});var wl,Ig,CC,_n,CM,iV=y(()=>{B(),Lr(),Fe(),I(),T(),D(),wl="property-allowed-list",Ig=j(wl,{rejected:e=>`Unexpected property "${e}"`}),CC={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},_n=e=>(t,r)=>{L(r,wl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Tr(i)&&(Ee(i,e)||E({message:Ig.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:wl}))})},_n.primaryOptionArray=!0,_n.ruleName=wl,_n.messages=Ig,_n.meta=CC,CM=_n}),AM={};z(AM,{default:()=>zM});var kl,jg,AC,Vn,zM,oV=y(()=>{B(),Lr(),Fe(),I(),T(),D(),kl="property-disallowed-list",jg=j(kl,{rejected:e=>`Unexpected property "${e}"`}),AC={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},Vn=e=>(t,r)=>{L(r,kl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Tr(i)&&Ee(i,e)&&E({message:jg.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:kl})})},Vn.primaryOptionArray=!0,Vn.ruleName=kl,Vn.messages=jg,Vn.meta=AC,zM=Vn}),NM={};z(NM,{default:()=>PM});var xl,tp,zC,NC,Sl,PM,aV=y(()=>{B(),gt(),H(),I(),T(),D(),xl="property-no-deprecated",tp=j(xl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Unexpected deprecated property "${e}"`}),zC={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},NC={"-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},Sl=(e,t)=>(r,n)=>{L(n,xl,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ft(i))return;let{prop:o,value:a}=i;if(R(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=NC[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d=[];l?(c=tp.expected,d=[o,l],u=()=>{i.prop=l}):(c=tp.rejected,d=[o]),E({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:xl,fix:{apply:u,node:i}})})},Sl.ruleName=xl,Sl.messages=tp,Sl.meta=zC,PM=Sl}),EM={};z(EM,{default:()=>OM});var Cl,Tg,PC,Al,OM,sV=y(()=>{ge(),B(),en(),Tw(),xr(),pD(),gt(),Lr(),H(),I(),T(),D(),Et(),Cl="property-no-unknown",Tg=j(Cl,{rejected:e=>`Unexpected unknown property "${e}"`}),PC={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Al=(e,t)=>(r,n)=>{if(!L(n,Cl,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[Fc],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(!ft(s)||dD(s)||!Tr(l)||yt(l)||!i&&Ke.prefix(l)||R(t,"ignoreProperties",l))return;let u=s.parent;u&&ct(u)&&R(t,"ignoreSelectors",u.selector)||jw(s,c=>De(c)&&R(t,"ignoreAtRules",c.name))||o.getProperty(l)||jA.has(l.toLowerCase())||i&&TA.has(l.toLowerCase())||E({message:Tg.rejected,messageArgs:[l],node:s,result:n,ruleName:Cl,word:l})}},Al.ruleName=Cl,Al.messages=Tg,Al.meta=PC,OM=Al}),IM={};z(IM,{default:()=>jM});var zl,Lg,EC,Nl,jM,lV=y(()=>{B(),Je(),_c(),H(),I(),T(),D(),zl="property-no-vendor-prefix",Lg=j(zl,{rejected:e=>`Unexpected vendor-prefixed property "${e}"`}),EC={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Nl=(e,t)=>(r,n)=>{L(n,zl,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(R(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!yr.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"||je.has(c));default:return!1}}))return;let a=()=>{i.prop=yr.unprefix(i.prop)};E({message:Lg.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:zl,fix:{apply:a,node:i}})})},Nl.ruleName=zl,Nl.messages=Lg,Nl.meta=EC,jM=Nl});function uV(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!$y(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var cV=y(()=>{By()}),TM={};z(TM,{default:()=>LM});function OC(e){let t=Pr(e);return t!=null&&t.type==="rule"}var Pl,rp,IC,El,LM,dV=y(()=>{$c(),xn(),qc(),cV(),Wc(),pm(),wm(),he(),H(),I(),T(),D(),Pl="rule-empty-line-before",rp=j(Pl,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"}),IC={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},El=(e,t,r)=>(n,i)=>{if(!L(i,Pl,{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(!me(a)||dm(a))return;if(R(t,"ignore","after-comment")){let m=a.prev();if(m&&m.type==="comment")return}if(R(t,"ignore","first-nested")&&Er(a))return;let s=a.parent&&a.parent.type!=="root";if(R(t,"ignore","inside-block")&&s||o.includes("multi-line")&&ym(a.toString()))return;let l=o.includes("always");(R(t,"except","first-nested")&&Er(a)||R(t,"except","after-rule")&&OC(a)||R(t,"except","inside-block-and-after-rule")&&s&&OC(a)||R(t,"except","after-single-line-comment")&&uV(a)||R(t,"except","inside-block")&&s)&&(l=!l);let u=Bc(a.raws.before);if(l===u)return;let c=l?rp.expected:rp.rejected,d=l?"add":"remove";E({message:c,messageArgs:[],node:a,result:i,ruleName:Pl,fix:{apply:()=>Rc({node:a,newline:r.newline,action:d}),node:a.parent}})})},El.ruleName=Pl,El.messages=rp,El.meta=IC,LM=El}),DM={};z(DM,{default:()=>FM});function pV(e,t){let r=e.parent;for(;r;){if(De(r)){let n=r.name;if(Ee(n,t))return!0}if(sr(r))break;r=r.parent}return!1}var Ol,Dg,jC,Qn,FM,mV=y(()=>{ge(),B(),he(),Fe(),I(),T(),D(),Ol="rule-nesting-at-rule-required-list",Dg=j(Ol,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),jC={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},Qn=e=>(t,r)=>{if(!L(r,Ol,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{me(i)&&(pV(i,n)||E({message:Dg.expected,messageArgs:n,node:i,result:r,ruleName:Ol}))})},Qn.primaryOptionArray=!0,Qn.ruleName=Ol,Qn.messages=Dg,Qn.meta=jC,FM=Qn}),MM={};z(MM,{default:()=>RM});function hV(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 Il,Fg,TC,jl,RM,fV=y(()=>{B(),Jm(),he(),Fe(),H(),I(),T(),ur(),D(),Il="rule-selector-property-disallowed-list",Fg=j(Il,{rejected:(e,t)=>`Unexpected property "${t}" for selector "${e}"`}),TC={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},jl=(e,t)=>(r,n)=>{if(!L(n,Il,{actual:e,possible:[Yt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=R(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!me(a)||i&&Km(a))return;let s=o.find(u=>Ee(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!hV(u,a))return;let{prop:c}=u;Ee(c,l)&&E({message:Fg.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Il,word:c})})})},jl.ruleName=Il,jl.messages=Fg,jl.meta=TC,RM=jl}),$M={};z($M,{default:()=>BM});function gV(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Tl,Mg,LC,Ll,BM,bV=y(()=>{Ui(),qt(),B(),xe(),he(),V(),I(),T(),D(),Tl="selector-anb-no-unmatchable",Mg=j(Tl,{rejected:e=>`Unexpected unmatchable An+B selector "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Ll=e=>(t,r)=>{L(r,Tl,{actual:e})&&t.walkRules(G.aNPlusBNotationPseudoClass,n=>{if(!me(n))return;let i=ye(n),o;try{o=Xr(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"||!bc.has(l.name)&&!xi.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;Ve(u.loc);let d=u.loc.start.offset,m=u.loc.end.offset;gV(c.nth)&&E({message:Mg.rejected,messageArgs:[i.slice(d,m)],node:n,index:d,endIndex:m,result:r,ruleName:Tl})})})}})},Ll.ruleName=Tl,Ll.messages=Mg,Ll.meta=LC,BM=Ll}),qM={};z(qM,{default:()=>WM});var Dl,Rg,DC,Yn,WM,vV=y(()=>{B(),xe(),he(),Fe(),V(),Ne(),I(),T(),D(),Dl="selector-attribute-name-disallowed-list",Rg=j(Dl,{rejected:e=>`Unexpected name "${e}"`}),DC={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},Yn=e=>(t,r)=>{L(r,Dl,{actual:e,possible:[$,_]})&&t.walkRules(G.attributeSelector,n=>{var i;me(n)&&((i=Ae(ye(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Ee(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;E({message:Rg.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:Dl})}))})},Yn.primaryOptionArray=!0,Yn.ruleName=Dl,Yn.messages=Rg,Yn.meta=DC,WM=Yn}),UM={};z(UM,{default:()=>_M});var Fl,$g,FC,Gn,_M,yV=y(()=>{xe(),he(),B(),V(),Ne(),I(),T(),D(),Fl="selector-attribute-operator-allowed-list",$g=j(Fl,{rejected:e=>`Unexpected operator "${e}"`}),FC={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},Gn=e=>(t,r)=>{if(!L(r,Fl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(G.attributeSelectorWithOperator,i=>{var o;me(i)&&((o=Ae(ye(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;E({message:$g.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Fl})}))})},Gn.primaryOptionArray=!0,Gn.ruleName=Fl,Gn.messages=$g,Gn.meta=FC,_M=Gn}),VM={};z(VM,{default:()=>QM});var Ml,Bg,MC,Kn,QM,wV=y(()=>{xe(),he(),B(),V(),Ne(),I(),T(),D(),Ml="selector-attribute-operator-disallowed-list",Bg=j(Ml,{rejected:e=>`Unexpected operator "${e}"`}),MC={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},Kn=e=>(t,r)=>{if(!L(r,Ml,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(G.attributeSelectorWithOperator,i=>{var o;me(i)&&((o=Ae(ye(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;E({message:Bg.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Ml})}))})},Kn.primaryOptionArray=!0,Kn.ruleName=Ml,Kn.messages=Bg,Kn.meta=MC,QM=Kn});function kV(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(YM,"").replace(GM,"");return!(KM.test(t)||ky.test(t.charAt(0))||t.charAt(0)==="-"&&ky.test(t.charAt(1)))}var YM,GM,KM,ky,xV=y(()=>{YM=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,GM=/\\./g,KM=/[^\w-]/,ky=/\d/}),JM={};z(JM,{default:()=>HM});var Rl,qg,RC,$l,HM,SV=y(()=>{xe(),he(),xV(),V(),Ne(),I(),T(),D(),Rl="selector-attribute-quotes",qg=j(Rl,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),RC={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},$l=e=>(t,r)=>{L(r,Rl,{actual:e,possible:["always","never"]})&&t.walkRules(G.attributeSelectorWithOperator,n=>{if(!me(n))return;let i=Ae(ye(n),r,n);if(!i)return;let o=(a,s)=>{var m;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((m=s.raws.value)!=null?m:u).length,d=()=>{let h=a==="expected"?'"':null;s.quoteMark=h,n.selector=i.toString()};E({message:qg[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:Rl,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||!kV(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},$l.ruleName=Rl,$l.messages=qg,$l.meta=RC,HM=$l});function Hm(e){return!!(Si.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||XM.test(e))}var XM,Xm=y(()=>{Je(),XM=new RegExp(`^(?:${[...ZA.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),ZM={};z(ZM,{default:()=>eR});var Bl,Wg,$C,ql,eR,CV=y(()=>{B(),xe(),Xm(),he(),V(),Ne(),I(),T(),D(),Bl="selector-class-pattern",Wg=j(Bl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),$C={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},ql=e=>(t,r)=>{if(!L(r,Bl,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(G.classSelector,i=>{var o;me(i)&&(i.selectors.some(Hm)||((o=Ae(ye(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;E({result:r,ruleName:Bl,message:Wg.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},ql.ruleName=Bl,ql.messages=Wg,ql.meta=$C,eR=ql});function tR(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 rR=y(()=>{}),nR={};z(nR,{default:()=>iR});function AV(e){return e.replace(/\s+/g," ")}var Wl,Ug,BC,Jn,iR,zV=y(()=>{xe(),rR(),he(),B(),Ne(),I(),T(),D(),Wl="selector-combinator-allowed-list",Ug=j(Wl,{rejected:e=>`Unexpected combinator "${e}"`}),BC={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},Jn=e=>(t,r)=>{L(r,Wl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;me(n)&&((i=Ae(ye(n),r,n))==null||i.walkCombinators(o=>{if(!tR(o))return;let{value:a}=o,s=AV(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;E({result:r,ruleName:Wl,message:Ug.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},Jn.primaryOptionArray=!0,Jn.ruleName=Wl,Jn.messages=Ug,Jn.meta=BC,iR=Jn}),oR={};z(oR,{default:()=>aR});function NV(e){return e.replace(/\s+/g," ")}var Ul,_g,qC,Hn,aR,PV=y(()=>{xe(),rR(),he(),B(),Ne(),I(),T(),D(),Ul="selector-combinator-disallowed-list",_g=j(Ul,{rejected:e=>`Unexpected combinator "${e}"`}),qC={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},Hn=e=>(t,r)=>{L(r,Ul,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;me(n)&&((i=Ae(ye(n),r,n))==null||i.walkCombinators(o=>{if(!tR(o))return;let{value:a}=o,s=NV(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;E({result:r,ruleName:Ul,message:_g.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},Hn.primaryOptionArray=!0,Hn.ruleName=Ul,Hn.messages=_g,Hn.meta=qC,aR=Hn}),sR={};z(sR,{default:()=>lR});var _l,Vg,WC,Xn,lR,EV=y(()=>{B(),xe(),xt(),Jm(),he(),Fe(),H(),Ne(),I(),T(),D(),_l="selector-disallowed-list",Vg=j(_l,{rejected:e=>`Unexpected selector "${e}"`}),WC={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},Xn=(e,t)=>(r,n)=>{if(!L(n,_l,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[Fc]},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(!me(s)||o&&Km(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,m,h){Ee(d,e)&&E({result:n,ruleName:_l,message:Vg.rejected,messageArgs:[d],node:s,index:m,endIndex:h})}let u=ye(s);if(!a){l(u,0,u.length);return}(c=Ae(u,n,s))==null||c.each(d=>{let{selector:m,index:h,endIndex:b}=st(d);l(m,h,b)})})},Xn.primaryOptionArray=!0,Xn.ruleName=_l,Xn.messages=Vg,Xn.meta=WC,lR=Xn}),uR={};z(uR,{default:()=>cR});var Vl,Qg,UC,Ql,cR,OV=y(()=>{B(),xe(),he(),V(),Ne(),I(),T(),D(),Vl="selector-id-pattern",Qg=j(Vl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),UC={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},Ql=e=>(t,r)=>{if(!L(r,Vl,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(G.idSelector,i=>{var o;me(i)&&((o=Ae(ye(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;E({result:r,ruleName:Vl,message:Qg.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},Ql.ruleName=Vl,Ql.messages=Qg,Ql.meta=UC,cR=Ql}),dR={};z(dR,{default:()=>pR});var Yl,Yg,_C,Gl,pR,IV=y(()=>{B(),xe(),xt(),Sr(),he(),V(),H(),Ne(),I(),T(),D(),Yl="selector-max-attribute",Yg=j(Yl,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} attribute ${t===1?"selector":"selectors"}`}),_C={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},Gl=(e,t)=>(r,n)=>{if(!L(n,Yl,{actual:e,possible:lr},{actual:t,possible:{ignoreAttributes:[$,_]},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}=st(o);E({ruleName:Yl,result:n,node:a,message:Yg.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(G.attributeSelector,o=>{var a;me(o)&&((a=Ae(ye(o),n,o))==null||a.each(s=>{i(s,o)}))})},Gl.ruleName=Yl,Gl.messages=Yg,Gl.meta=_C,pR=Gl}),mR={};z(mR,{default:()=>hR});var Kl,Gg,VC,Jl,hR,jV=y(()=>{xe(),xt(),Sr(),he(),V(),Ne(),I(),T(),D(),Kl="selector-max-class",Gg=j(Kl,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"class":"classes"}`}),VC={url:"https://stylelint.io/user-guide/rules/selector-max-class"},Jl=e=>(t,r)=>{if(!L(r,Kl,{actual:e,possible:lr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=st(i);E({ruleName:Kl,result:r,node:o,message:Gg.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(G.classSelector,i=>{var o;me(i)&&((o=Ae(ye(i),r,i))==null||o.each(a=>{n(a,i)}))})},Jl.ruleName=Kl,Jl.messages=Gg,Jl.meta=VC,hR=Jl}),fR={};z(fR,{default:()=>gR});var Hl,Kg,QC,Xl,gR,TV=y(()=>{xe(),xt(),Sr(),he(),V(),Ne(),I(),T(),D(),Hl="selector-max-combinators",Kg=j(Hl,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"combinator":"combinators"}`}),QC={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},Xl=e=>(t,r)=>{if(!L(r,Hl,{actual:e,possible:lr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=st(i);E({ruleName:Hl,result:r,node:o,message:Kg.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(G.combinator,i=>{var o;me(i)&&((o=Ae(ye(i),r,i))==null||o.each(a=>{n(a,i)}))})},Xl.ruleName=Hl,Xl.messages=Kg,Xl.meta=QC,gR=Xl});function LV(e,t){return t===1?e:`${e}s`}var DV=y(()=>{}),bR={};z(bR,{default:()=>vR});var YC,Jg,Hg,GC,Zl,Xg,KC,eu,vR,FV=y(()=>{YC=re(Ot(),1),B(),xe(),xt(),Sr(),he(),V(),H(),Ne(),DV(),I(),T(),D(),{isCombinator:Jg,isPseudo:Hg,isRoot:GC}=YC.default,Zl="selector-max-compound-selectors",Xg=j(Zl,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} compound ${LV("selector",t)}`}),KC={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},eu=(e,t)=>(r,n)=>{if(!L(n,Zl,{actual:e,possible:lr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Hg(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)}),!(GC(a)||Hg(a))&&l.reduce((u,c,d,m)=>!Jg(c)||d===0||d===m.length-1||Jg(m[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=st(a);E({ruleName:Zl,result:n,node:s,message:Xg.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(G.combinator,a=>{var s;me(a)&&((s=Ae(ye(a),n,a))==null||s.each(l=>{o(l,a)}))})},eu.ruleName=Zl,eu.messages=Xg,eu.meta=KC,vR=eu});function MV(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return zp.has(t)||xi.has(t)}return!1}var RV=y(()=>{qt()}),yR={};z(yR,{default:()=>wR});var tu,Zg,JC,ru,wR,$V=y(()=>{B(),xe(),xt(),RV(),Sr(),he(),V(),H(),Ne(),I(),T(),D(),tu="selector-max-id",Zg=j(tu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ID ${t===1?"selector":"selectors"}`}),JC={url:"https://stylelint.io/user-guide/rules/selector-max-id"},ru=(e,t)=>(r,n)=>{if(!L(n,tu,{actual:e,possible:lr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(MV(a)&&R(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(G.idSelector,o=>{var a;me(o)&&((a=Ae(ye(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}=st(s);E({ruleName:tu,result:n,node:o,message:Zg.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},ru.ruleName=tu,ru.messages=Zg,ru.meta=JC,wR=ru}),kR={};z(kR,{default:()=>xR});var nu,eb,HC,iu,xR,BV=y(()=>{xe(),xt(),Sr(),he(),qt(),V(),Ne(),I(),T(),D(),nu="selector-max-pseudo-class",eb=j(nu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} pseudo-${t===1?"class":"classes"}`}),HC={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},iu=e=>(t,r)=>{if(!L(r,nu,{actual:e,possible:lr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||fc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=st(i);E({ruleName:nu,result:r,node:o,message:eb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(G.pseudo,i=>{var o;me(i)&&((o=Ae(ye(i),r,i))==null||o.each(a=>{n(a,i)}))})},iu.ruleName=nu,iu.messages=eb,iu.meta=HC,xR=iu}),SR={};z(SR,{default:()=>CR});var ou,tb,XC,rb,au,CR,qV=y(()=>{R3(),B(),xt(),he(),H(),I(),Gm(),T(),D(),ou="selector-max-specificity",tb=j(ou,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Expected ${e} to have a specificity no more than "${t}"`)}),XC={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},rb=()=>({a:0,b:0,c:0}),au=(e,t)=>(r,n)=>{if(!L(n,ou,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},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())?rb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return rb();let m=gn(c),h=gn(c.clone({nodes:[]}));return{a:m.a-h.a,b:m.b-h.b,c:m.c-h.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));ec(a),ec(s),ec(l);let u={a,b:s,c:l};r.walkRules(c=>{me(c)&&Lc(c,n).forEach(({selector:d,resolvedSelectors:m})=>{m.each(h=>{let b=gn(h,{customSpecificity:o});if(Hw(b,u)>0){let{index:p,endIndex:v,selector:f}=st(d),{selector:g}=st(h);g=g===f?"":g,E({ruleName:ou,result:n,node:c,message:tb.expected,messageArgs:[f,e,g],index:p,endIndex:v})}})})})},au.ruleName=ou,au.messages=tb,au.meta=XC,CR=au}),Zw,AR=y(()=>{"use strict";Zw=[]}),zR=Y((e,t)=>{"use strict";t.exports=[]});function NR(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||PR.default.includes(t)||Zw.includes(t))}var PR,ER=y(()=>{AR(),PR=re(zR(),1)});function WV(e){for(let t of e)if(!Gb(t))return!1;return!0}var UV=y(()=>{TN()});function Zm(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"&&(bc.has(o)||xi.has(o)||Mb.has(o)||Db.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var eh=y(()=>{qt()}),OR={};z(OR,{default:()=>IR});function _V(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>GV(r))}function VV(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>KV(r))}function QV(e){return!!(e.prev()&&!Dc(e.prev())||e.next()&&!Dc(e.next()))}function YV(e){return JV(e.prev())}function Dc(e){return e?e.type==="combinator":!1}function GV(e){return e?Dc(e)&&$(e.value)&&WV(e.value):!1}function KV(e){return e?Dc(e)&&e.value===">":!1}function JV(e){return Dc(e)&&e.value==="+"}var su,nb,ZC,lu,IR,HV=y(()=>{B(),xe(),xt(),ER(),Xm(),Sr(),UV(),he(),eh(),V(),H(),Ne(),I(),T(),D(),su="selector-max-type",nb=j(su,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} type ${t===1?"selector":"selectors"}`}),ZC={url:"https://stylelint.io/user-guide/rules/selector-max-type"},lu=(e,t)=>(r,n)=>{if(!L(n,su,{actual:e,possible:lr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},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 m=0;if(c.walkTags(h=>{R(t,"ignoreTypes",h.value)||i&&_V(h)||o&&VV(h)||a&&QV(h)||s&&YV(h)||l&&h.value&&NR(h.value)||Zm(h)&&(m+=1)}),m>e){let{selector:h,index:b,endIndex:p}=st(c);E({ruleName:su,result:n,node:d,message:nb.expected,messageArgs:[h,e],index:b,endIndex:p})}}r.walkRules(G.typeSelector,c=>{var d;!me(c)||c.selectors.some(Hm)||(d=Ae(ye(c),n,c))==null||d.each(m=>{u(m,c)})})},lu.ruleName=su,lu.messages=nb,lu.meta=ZC,IR=lu}),jR={};z(jR,{default:()=>TR});var uu,ib,e2,cu,TR,XV=y(()=>{xe(),xt(),Sr(),he(),B(),V(),H(),Ne(),I(),T(),D(),uu="selector-max-universal",ib=j(uu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} universal ${t===1?"selector":"selectors"}`}),e2={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},cu=(e,t)=>(r,n)=>{if(!L(n,uu,{actual:e,possible:lr},{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}=st(o);E({ruleName:uu,result:n,node:a,message:ib.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(G.universalSelector,o=>{var a;me(o)&&((a=Ae(ye(o),n,o))==null||a.each(s=>{i(s,o)}))})},cu.ruleName=uu,cu.messages=ib,cu.meta=e2,TR=cu}),LR={};z(LR,{default:()=>DR});var du,ob,t2,pu,DR,ZV=y(()=>{B(),xe(),xt(),he(),Ne(),I(),T(),D(),du="selector-nested-pattern",ob=j(du,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),t2={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},pu=(e,t)=>(r,n)=>{if(!L(n,du,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[Fc]},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"||!me(s))return;let l=ye(s);o?(u=Ae(l,n,s))==null||u.each(c=>{let{index:d,endIndex:m,selector:h}=st(c);a(s,h,d,m)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||E({result:n,ruleName:du,message:ob.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},pu.ruleName=du,pu.messages=ob,pu.meta=t2,DR=pu}),FR={};z(FR,{default:()=>BR});function xy(e){return Ze.default.isPseudoClass(e)&&$R.has(e.value)&&!!e.nodes.length}function eQ(e){let t=Ze.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{MR(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ze.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function MR(e){let t=[],r=[[]];return e.each(n=>{if(Ze.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ze.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),xy(n)){let i=[];n.each(o=>{let a=MR(o),s=a.at(-1);if(!s)return;let l=a.slice(0,-1);t.push(...l),r.forEach(u=>{i.push([...u,...s])})}),r=i;return}r.forEach(i=>{i.push(n)})}),r.length&&t.push(...r),t}function RR(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(xy(t))return RR(t);let r=[e],n=e;for(;(n=n.prev())&&!(Ze.default.isCombinator(n)||Ze.default.isPseudoElement(n));)Ze.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Ze.default.isCombinator(i)||Ze.default.isPseudoElement(i));)Ze.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Ze.default.isIdentifier(i)||Ze.default.isClassName(i)||Ze.default.isAttribute(i)||Ze.default.isTag(i)||xy(i));)r.splice(-1,1);return r}var Ze,mu,ab,r2,$R,hu,BR,tQ=y(()=>{Ze=re(Ot(),1),xt(),Jm(),he(),eh(),qt(),V(),H(),I(),Gm(),T(),D(),mu="selector-no-qualifying-type",ab=j(mu,{rejected:(e,t)=>`Unexpected qualifying type selector "${t}" in "${e}"`}),r2={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},$R=new Set([...zp,"host"].map(e=>`:${e}`)),hu=(e,t)=>(r,n)=>{if(!L(n,mu,{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(G.idClassAttributeSelector,s=>{if(!me(s)||Km(s))return;function l(u,c,d){let{compoundSelectors:m,lookupMap:h}=eQ(u);m.walkTags(b=>{var x;let p=h.get(b);if(!p||!Zm(p))return;let v=b.parent;if(!v||v.nodes.length===1)return;let f=v.nodes,g=RR(p);for(let k of f)if(Ze.default.isIdentifier(k)&&!i||Ze.default.isClassName(k)&&!o||Ze.default.isAttribute(k)&&!a){let w=g.join("").trim(),S=0,P=0;d?{index:S,endIndex:P}=st(c):(S=(x=b.sourceIndex)!=null?x:0,P=S+b.value.length),E({ruleName:mu,result:n,node:s,message:ab.rejected,messageArgs:[w,b.value],index:S,endIndex:P});break}})}Lc(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},hu.ruleName=mu,hu.messages=ab,hu.meta=r2,BR=hu}),qR={};z(qR,{default:()=>WR});var fu,sb,n2,gu,WR,rQ=y(()=>{B(),xe(),_c(),he(),V(),H(),Ne(),I(),T(),D(),fu="selector-no-vendor-prefix",sb=j(fu,{rejected:e=>`Unexpected vendor-prefixed selector "${e}"`}),n2={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},gu=(e,t)=>(r,n)=>{L(n,fu,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(G.prefix,i=>{if(!me(i))return;let o=Ae(ye(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!yr.selector(s)||R(t,"ignoreSelectors",s))return;let l=()=>{a.value=yr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;E({result:n,ruleName:fu,message:sb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},gu.ruleName=fu,gu.messages=sb,gu.meta=n2,WR=gu}),UR={};z(UR,{default:()=>VR});function nQ(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&Sy(o[0])).map(o=>(Ve(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();Ve(i),Ve(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=_R(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function iQ(e,t,r){let n=s=>{for(let l of s)Ve(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(Ve(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);si(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 i2,o2,a2,s2,lb,l2,u2,bu,ub,c2,Sy,si,d2,vu,_R,VR,oQ=y(()=>{i2=re(Ot(),1),B(),xe(),he(),V(),Ne(),I(),T(),D(),{isAttribute:o2,isClassName:a2,isIdentifier:s2,isPseudoClass:lb,isTag:l2,isUniversal:u2}=i2.default,bu="selector-not-notation",ub=j(bu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),c2={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},Sy=e=>lb(e)||o2(e)||a2(e)||u2(e)||s2(e)||l2(e),si=e=>lb(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",d2=e=>{if(e.length>1)return!1;Ve(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:Sy(t)&&!si(t):!0},vu=e=>(t,r)=>{L(r,bu,{actual:e,possible:["simple","complex"]})&&t.walkRules(G.notPseudoClass,n=>{if(!me(n))return;let i=Ae(ye(n),r,n);i&&i.walkPseudos(o=>{if(!si(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&si(u)))return;l=()=>iQ(u,n,i)}else{let u=o.nodes;if(d2(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>nQ(o,n,i))}E({message:ub.expected,messageArgs:[e],node:n,result:r,ruleName:bu,index:a,endIndex:s,fix:{apply:l,node:n}})})})},_R=({parent:e,sourceIndex:t})=>{Ve(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!si(o)),i=n===-1?r[r.length-1]:r[n-1];return Ve(i),i},vu.ruleName=bu,vu.messages=ub,vu.meta=c2,VR=vu}),QR={};z(QR,{default:()=>YR});var yu,cb,p2,Zn,YR,aQ=y(()=>{V(),B(),Z(),ut(),xe(),rt(),he(),Fe(),Ne(),I(),T(),D(),yu="selector-pseudo-class-allowed-list",cb=j(yu,{rejected:e=>`Unexpected pseudo-class "${e}"`}),p2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},Zn=e=>(t,r)=>{if(!L(r,yu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=Ae(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Ee(c,e))return;let d=a+u;E({message:cb.rejected,messageArgs:[l],node:o,result:r,ruleName:yu,index:d,endIndex:d+l.length})})}t.walkRules(G.pseudo,i=>{me(i)&&n(ye(i),i)}),t.walkAtRules(ke.pageName,i=>{G.pseudo.test(i.params)&&tt(i)&&n(lt(i),i,Ie(i))})},Zn.primaryOptionArray=!0,Zn.ruleName=yu,Zn.messages=cb,Zn.meta=p2,YR=Zn}),GR={};z(GR,{default:()=>KR});var wu,db,m2,ei,KR,sQ=y(()=>{V(),B(),Z(),ut(),xe(),rt(),he(),Fe(),Ne(),I(),T(),D(),wu="selector-pseudo-class-disallowed-list",db=j(wu,{rejected:e=>`Unexpected pseudo-class "${e}"`}),m2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},ei=e=>(t,r)=>{if(!L(r,wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=Ae(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Ee(c,e))return;let d=a+u;E({message:db.rejected,messageArgs:[l],node:o,result:r,ruleName:wu,index:d,endIndex:d+l.length})})}t.walkRules(G.pseudo,i=>{me(i)&&n(ye(i),i)}),t.walkAtRules(ke.pageName,i=>{G.pseudo.test(i.params)&&tt(i)&&n(lt(i),i,Ie(i))})},ei.primaryOptionArray=!0,ei.ruleName=wu,ei.messages=db,ei.meta=m2,KR=ei});function lQ(e){return e.startsWith(":--")}var uQ=y(()=>{}),JR={};z(JR,{default:()=>HR});var ku,pb,h2,xu,HR,cQ=y(()=>{qt(),B(),Z(),ut(),xe(),ge(),uQ(),rt(),he(),gm(),H(),Ne(),I(),T(),D(),Et(),ku="selector-pseudo-class-no-unknown",pb=j(ku,{rejected:e=>`Unexpected unknown pseudo-class selector "${e}"`}),h2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},xu=(e,t)=>(r,n)=>{if(!L(n,ku,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=Ae(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!fm(u)||lQ(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(fc.has(c)||R(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Ke.prefix(c),m=null;if(De(a)&&a.name==="page"){if(MA.has(c))return;m=Ie(a)+l.sourceIndex}else if(lm.has(c)&&!d)m=l.sourceIndex;else{if(d||$A.has(c))return;let b=l;do if(b=b.prev(),b&&b.value.slice(0,2)==="::")break;while(b);if(b){let p=b.value.toLowerCase().slice(2);if(Fb.has(p)&&RA.has(c))return}m=l.sourceIndex}let h=m+l.value.length;E({message:pb.rejected,messageArgs:[u],node:a,index:m,endIndex:h,ruleName:ku,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!me(o))return;a=ye(o)}else if(De(o)&&o.name==="page"&&o.params){if(!tt(o))return;a=lt(o)}a&&a.includes(":")&&i(a,o)})},xu.ruleName=ku,xu.messages=pb,xu.meta=h2,HR=xu}),XR={};z(XR,{default:()=>ZR});var Su,mb,f2,ti,ZR,dQ=y(()=>{B(),xe(),he(),Fe(),V(),Ne(),I(),T(),D(),Su="selector-pseudo-element-allowed-list",mb=j(Su,{rejected:e=>`Unexpected pseudo-element "${e}"`}),f2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},ti=e=>(t,r)=>{L(r,Su,{actual:e,possible:[$,_]})&&t.walkRules(G.pseudoElement,n=>{var i;me(n)&&((i=Ae(ye(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Ee(s,e))return;let l=o.sourceIndex,u=l+a.length;E({index:l,endIndex:u,message:mb.rejected,messageArgs:[a],node:n,result:r,ruleName:Su})}))})},ti.primaryOptionArray=!0,ti.ruleName=Su,ti.messages=mb,ti.meta=f2,ZR=ti}),e$={};z(e$,{default:()=>t$});var Cu,hb,g2,Au,t$,pQ=y(()=>{xe(),he(),qt(),V(),Ne(),I(),T(),D(),Cu="selector-pseudo-element-colon-notation",hb=j(Cu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),g2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Au=e=>(t,r)=>{if(!L(r,Cu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(G.pseudo,i=>{if(!me(i))return;let o=Ae(ye(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!fc.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()};E({message:hb.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Cu,fix:{apply:u,node:i}})})})},Au.ruleName=Cu,Au.messages=hb,Au.meta=g2,t$=Au}),r$={};z(r$,{default:()=>n$});var zu,fb,b2,ri,n$,mQ=y(()=>{B(),xe(),he(),Fe(),V(),Ne(),I(),T(),D(),zu="selector-pseudo-element-disallowed-list",fb=j(zu,{rejected:e=>`Unexpected pseudo-element "${e}"`}),b2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},ri=e=>(t,r)=>{L(r,zu,{actual:e,possible:[$,_]})&&t.walkRules(G.pseudoElement,n=>{var i;me(n)&&((i=Ae(ye(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Ee(s,e))return;let l=o.sourceIndex,u=l+a.length;E({index:l,endIndex:u,message:fb.rejected,messageArgs:[a],node:n,result:r,ruleName:zu})}))})},ri.primaryOptionArray=!0,ri.ruleName=zu,ri.messages=fb,ri.meta=b2,n$=ri}),i$={};z(i$,{default:()=>o$});var Nu,gb,v2,Pu,o$,hQ=y(()=>{B(),xe(),he(),gm(),V(),H(),Ne(),qt(),I(),T(),D(),Et(),Nu="selector-pseudo-element-no-unknown",gb=j(Nu,{rejected:e=>`Unexpected unknown pseudo-element selector "${e}"`}),v2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Pu=(e,t)=>(r,n)=>{L(n,Nu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(G.pseudo,i=>{var o;me(i)&&((o=Ae(ye(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!fm(s)||s.slice(0,2)!=="::"||R(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Ke.prefix(l)||lm.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;E({message:gb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Nu,result:n})}))})},Pu.ruleName=Nu,Pu.messages=gb,Pu.meta=v2,o$=Pu}),a$={};z(a$,{default:()=>s$});var Eu,bb,y2,w2,k2,x2,Ou,s$,fQ=y(()=>{B(),xe(),Xm(),he(),eh(),qt(),H(),Ne(),I(),T(),D(),Eu="selector-type-case",bb=j(Eu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),y2={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},w2=/(?:[^.#[:a-z-]|^)[a-z]/i,k2=/[A-Z]/,x2=/[a-z]/,Ou=(e,t)=>(r,n)=>{L(n,Eu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!w2.test(o)||e==="lower"&&!k2.test(o)||e==="upper"&&!x2.test(o)||!me(i)||i.selectors.some(Hm))return;let a=Ae(ye(i),n,i);a&&a.walkTags(s=>{if(!Zm(s)||FA.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,m=l+u.length,h=()=>{s.value=c,i.selector=a.toString()};E({message:bb.expected,messageArgs:[u,c],node:i,index:d,endIndex:m,ruleName:Eu,result:n,fix:{apply:h,node:i}})})})},Ou.ruleName=Eu,Ou.messages=bb,Ou.meta=y2,s$=Ou}),l$={};z(l$,{default:()=>d$});function gQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return ek.default.isPseudoElement(t)&&u$.has(t.value)}function bQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return ek.default.isPseudoClass(t)&&c$.has(t.value)}var ek,S2,Iu,vb,C2,A2,u$,c$,ju,d$,vQ=y(()=>{AR(),ek=re(Ot(),1),S2=re(zR(),1),B(),xe(),qt(),ER(),Xm(),he(),eh(),H(),Ne(),I(),T(),D(),Iu="selector-type-no-unknown",vb=j(Iu,{rejected:e=>`Unexpected unknown type selector "${e}"`}),C2={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},A2=/(?:[^.#[:a-z-]|^)[a-z]/i,u$=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),c$=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),ju=(e,t)=>(r,n)=>{L(n,Iu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;A2.test(i.selector)&&me(i)&&(i.selectors.some(Hm)||((o=Ae(ye(i),n,i))==null||o.walkTags(a=>{if(!Zm(a)||R(t,"ignore","custom-elements")&&NR(a.value)||R(t,"ignore","default-namespace")&&typeof a.namespace!="string"||R(t,"ignoreNamespaces",a.namespace)||R(t,"ignoreTypes",a.value)||gQ(a)||bQ(a))return;let s=a.value,l=s.toLowerCase(),u=[...S2.default,"hatch","hatchpath","hatchPath"];if(DA.has(l)||u.includes(s)||Zw.includes(l))return;let c=a.sourceIndex,d=c+s.length;E({message:vb.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Iu,result:n})})))})},ju.ruleName=Iu,ju.messages=vb,ju.meta=C2,d$=ju}),p$={};z(p$,{default:()=>m$});function Cy(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return yQ(i,o,a,s)?[e]:wQ(i,o,a,s)?[e,t]:kQ(i,o,a,s)?[e,t,r]:[e,t,r,n]}function yQ(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function wQ(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function kQ(e,t,r,n){return t===n}function xQ(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,pc.default)(e).nodes){if(mA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(Wi(a)&&(n?o=!0:i=!0),sm(a)||kn(a)){let s=pc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function SQ(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",m="",h=""]=n,b=i?r.join(" "):Cy(a,s,l,u).filter(Boolean).join(" "),p=o?n.join(" "):Cy(c,d,m,h).filter(Boolean).join(" "),v=`${b} / ${p}`.trim(),f=t.value.trim().toLowerCase().replace(/\s+/g," "),g=v.toLowerCase();if(f===g)return;let x=()=>{t.value=v},k=ae(t),w=k+t.value.length;E({message:Sp.expected,messageArgs:[t.value,v],node:t,index:k,endIndex:w,result:e,ruleName:li,fix:{apply:x,node:t}})}var pc,li,Sp,z2,N2,P2,Tu,m$,CQ=y(()=>{pc=re(fe(),1),Z(),gt(),Lr(),We(),Kc(),H(),I(),T(),D(),Et(),ge(),li="shorthand-property-no-redundant-values",Sp=j(li,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),z2={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},N2=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"]),P2=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),Tu=(e,t)=>(r,n)=>{L(n,li,{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)||!ft(i)||!Tr(o)||!Be(a))return;let s=Ke.unprefixed(o.toLowerCase());if(!N2.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:k,sawSlash:w,horizontalHasVar:S,verticalHasVar:P}=xQ(a);if(w){SQ(n,i,x,k,S,P);return}}let l=[];for(let x of(0,pc.default)(a).nodes){if(mA(x)||Wi(x))return;(sm(x)||kn(x))&&l.push(pc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",m=""]=l,h=Cy(u,c,d,m);if(R(t,"ignore","four-into-three-edge-values")&&P2.has(s)&&l.length===4&&h.length===3)return;let b=h.filter(Boolean).join(" "),p=l.join(" ");if(b.toLowerCase()===p.toLowerCase())return;let v=()=>{i.value=i.value.replace(a,b)},f=ae(i),g=f+i.value.length;E({message:Sp.expected,messageArgs:[a,b],node:i,index:f,endIndex:g,result:n,ruleName:li,fix:{apply:v,node:i}})})},Tu.ruleName=li,Tu.messages=Sp,Tu.meta=z2,m$=Tu}),h$={};z(h$,{default:()=>f$});var Lu,yb,wb,E2,Du,f$,AQ=y(()=>{it(),Z(),gm(),H(),I(),T(),D(),Lu="string-no-newline",yb=/\r?\n/,wb=j(Lu,{rejected:"Unexpected newline in string"}),E2={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Du=(e,t)=>(r,n)=>{if(!L(n,Lu,{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,Ie);break;case"decl":if(R(t,"ignore","declaration-values"))break;o(a,a.value,ae);break;case"rule":i(a);break}});function i(a){yb.test(a.selector)&&fm(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){yb.test(s)&&wt({css:s},{onParseError:u=>{if(!(u instanceof fr)||u.message!==rr.UnexpectedNewLineInString)return;let[,,c,d]=u.token,m=l(a);E({message:wb.rejected,messageArgs:[],node:a,index:m+c,endIndex:m+d+1,result:n,ruleName:Lu})}})}},Du.ruleName=Lu,Du.messages=wb,Du.meta=E2,f$=Du}),g$={};z(g$,{default:()=>b$});var Fu,kb,O2,I2,Mu,b$,zQ=y(()=>{it(),Ui(),V(),Z(),I(),T(),D(),Fu="syntax-string-no-invalid",kb=j(Fu,{rejected:e=>`Unexpected invalid syntax string "${e}"`}),O2={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},I2=Sw({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,Mu=e=>(t,r)=>{L(r,Fu,{actual:e})&&t.walkAtRules(ke.propertyName,n=>{n.walkDecls(iz.syntaxName,i=>{wt({css:i.value}).filter(o=>NU(o)).forEach(o=>{let{error:a}=I2.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=ae(i);E({message:kb.rejected,messageArgs:[o[1]],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:Fu})})})})},Mu.ruleName=Fu,Mu.messages=kb,Mu.meta=O2,b$=Mu}),v$={};z(v$,{default:()=>y$});var j2,Ru,xb,T2,L2,$u,y$,NQ=y(()=>{j2=re(fe(),1),en(),Z(),Ge(),Vi(),B(),V(),H(),I(),T(),D(),Et(),Ru="time-min-milliseconds",xb=j(Ru,{expected:e=>`Expected a minimum of ${e} milliseconds`}),T2={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},L2=new Set(["animation-delay","transition-delay"]),$u=(e,t)=>(r,n)=>{if(!L(n,Ru,{actual:e,possible:br},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=R(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!G.time.test(d))return;let m=Ke.unprefixed(c.prop.toLowerCase()),h=(0,j2.default)(Ye(c)),b=0;h.walk(p=>{let{value:v,sourceIndex:f}=p,g=_i(p);PA.has(m)&&!s(m)&&!l(g)&&u(c,0,d.length),EA.has(m)&&(b=a(g,v,b),!(l(g)||o&&b!==1)&&u(c,f,v.length))})});function a(c,d,m){let{unit:h}=c;return h!==null&&m++,d===","&&(m=0),m}function s(c){return!!(o&&L2.has(c))}function l(c){let{unit:d,number:m}=c;if(d===null||m===null)return!0;let h=Number(m);if(h<=0)return!0;let b=d.toLowerCase();return!(b==="ms"&&h<i||b==="s"&&h*1e3<i)}function u(c,d,m){let h=ae(c)+d,b=h+m;E({result:n,ruleName:Ru,message:xb.expected,messageArgs:[i],index:h,endIndex:b,node:c})}},$u.ruleName=Ru,$u.messages=xb,$u.meta=T2,y$=$u}),w$={};z(w$,{default:()=>k$});var D2,Bu,Sb,F2,ni,k$,PQ=y(()=>{D2=re(fe(),1),Z(),V(),B(),Vi(),H(),I(),T(),ur(),D(),Bu="unit-allowed-list",Sb=j(Bu,{rejected:e=>`Unexpected unit "${e}"`}),F2={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},ni=(e,t)=>(r,n)=>{if(!L(n,Bu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Yt($,_)]}}))return;let i=[e].flat();function o(a,s,l){G.dimension.test(s)&&(s=s.replaceAll("*",","),(0,D2.default)(s).walk(u=>{if(u.type==="function"){let h=u.value.toLowerCase();if(h==="url"||R(t,"ignoreFunctions",h))return!1}let{number:c,unit:d}=_i(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&R(t.ignoreProperties,d.toLowerCase(),a.prop))return;let m=l(a);E({index:m+u.sourceIndex+c.length,endIndex:m+u.sourceEndIndex,message:Sb.rejected,messageArgs:[d],node:a,result:n,ruleName:Bu})}))}r.walkAtRules(ke.mediaName,a=>o(a,a.params,Ie)),r.walkDecls(a=>o(a,a.value,ae))},ni.primaryOptionArray=!0,ni.ruleName=Bu,ni.messages=Sb,ni.meta=F2,k$=ni});function x$(e){if(!S$.test(e.prop))return!1;let t=e.parent;return!t||!De(t)?!1:C$.test(t.name)}var S$,C$,A$=y(()=>{ge(),S$=/^unicode-range$/i,C$=/^font-face$/i}),z$={};z(z$,{default:()=>N$});function M2(e){return wt({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ie.Number}])}var qu,Cb,R2,ii,N$,EQ=y(()=>{it(),kt(),Gt(),Z(),V(),B(),ut(),Ge(),A$(),H(),I(),T(),ur(),D(),qu="unit-disallowed-list",Cb=j(qu,{rejected:e=>`Unexpected unit "${e}"`}),R2={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},ii=(e,t)=>(r,n)=>{if(!L(n,qu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Yt($,_)],ignoreMediaFeatureNames:[Yt($,_)]}}))return;let i=[e].flat();function o(s){if(!et(s))return!1;let l=s.getName().toLowerCase();return l==="url"||R(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!ce(u)||u.value[0]!==C.Dimension)return;let[,,,m,{unit:h}]=u.value,b=h.toLowerCase();if(!i.includes(b)||d&&R(d,b,c))return;let p=l(s)+(m+1)-h.length;E({index:p,endIndex:p+h.length,message:Cb.rejected,messageArgs:[h],node:s,result:n,ruleName:qu})}r.walkAtRules(ke.mediaName,s=>{let l=lt(s);G.dimension.test(l)&&ad(M2(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:m})=>{m&&(Cn(d)&&(m.mediaFeatureName=d.getName().toLowerCase()),m.mediaFeatureName&&ce(d)&&a(s,Ie,d,m.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(x$(s))return;let l=Ye(s);if(!G.dimension.test(l))return;let u={ignored:!1};Ki(Gi(M2(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(ce(c)){a(s,ae,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},ii.primaryOptionArray=!0,ii.ruleName=qu,ii.messages=Cb,ii.meta=R2,N$=ii}),P$={};z(P$,{default:()=>E$});var np,Wu,Ab,$2,B2,Uu,E$,OQ=y(()=>{it(),kt(),Gt(),Z(),V(),B(),ut(),Ge(),rt(),gt(),We(),A$(),H(),Mc(),I(),T(),D(),Et(),np=new Set(rz),np.delete("x"),Wu="unit-no-unknown",Ab=j(Wu,{rejected:e=>`Unexpected unknown unit "${e}"`}),$2={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},B2=/^(?:min-|max-)?resolution$/i,Uu=(e,t)=>(r,n)=>{if(!L(n,Wu,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i=a=>{if(!G.dimension.test(a))return;let s=wt({css:a});if(s.some(l=>l[0]===C.Dimension&&!np.has(l[4].unit.toLowerCase())))return s},o=(a,s,l,u)=>{if(et(l)){let p=l.getName(),v=p.toLowerCase();if(v==="url"||R(t,"ignoreFunctions",p)){u.ignored=!0;return}if(Ke.unprefixed(v)==="image-set"){u.allowX=!0;return}return}let[c,,,d,m]=l.value;if(c!==C.Dimension||R(t,"ignoreUnits",m.unit))return;let h=m.unit.toLowerCase();if(h==="x"&&u.allowX||np.has(h)&&h!=="x")return;let b=s(a)+(d+1)-h.length;E({message:Ab.rejected,messageArgs:[m.unit],node:a,index:b,endIndex:b+h.length,result:n,ruleName:Wu})};r.walkAtRules(ke.mediaName,a=>{if(!tt(a))return;let s=lt(a),l=i(s);l&&ad(l).forEach(u=>{let c={ignored:!1,allowX:!1};u.walk(({node:d,state:m})=>{if(m&&!m.ignored)if(Cn(d)){let h=d.getName();B2.test(h)&&(m.allowX=!0)}else(et(d)||ce(d))&&o(a,Ie,d,m)},c)})}),r.walkDecls(a=>{if(!ft(a)||x$(a))return;let s=Ye(a);if(!Be(s))return;let l=i(s);if(!l)return;let u={ignored:!1,allowX:a.prop.toLowerCase()==="image-resolution"};Ki(Gi(l),({node:c,state:d})=>{d&&(d.ignored||(et(c)||ce(c))&&o(a,ae,c,d))},u)})},Uu.ruleName=Wu,Uu.messages=Ab,Uu.meta=$2,E$=Uu});function IQ(e){let t=e.toLowerCase();return!(KA.has(t)||Number.isFinite(Number.parseInt(t,10)))}var jQ=y(()=>{Je()});function TQ(e){let t=e.toLowerCase();return!(JA.has(t)||Number.isFinite(Number.parseInt(t,10)))}var LQ=y(()=>{Je()}),O$={};z(O$,{default:()=>I$});var q2,_u,zb,W2,U2,_2,V2,ip,Vu,I$,DQ=y(()=>{q2=re(fe(),1),Je(),B(),Z(),Ge(),Vi(),jQ(),LQ(),We(),V(),H(),I(),T(),D(),_u="value-keyword-case",zb=j(_u,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),W2={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},U2=new Set(["+","-","/","*","%"]),_2=new Set(["grid-row","grid-row-start","grid-row-end"]),V2=new Set(["grid-column","grid-column-start","grid-column-end"]),ip=new Map;for(let e of XA)ip.set(e.toLowerCase(),e);Vu=(e,t)=>(r,n)=>{L(n,_u,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[Fc]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!G.keyword.test(o)||!Be(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,q2.default)(Ye(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(ez.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:m}=_i(u);if(u.type!=="word"||!Be(c)||o.includes("#")||U2.has(c)||m||s==="animation"&&!My.has(d)&&!yc.has(d)||s==="animation-name"&&!yc.has(d)||s==="font"&&!Fy.has(d)&&!Kr.has(d)||s==="font-family"&&!Kr.has(d)||s==="counter-increment"&&IQ(d)||s==="counter-reset"&&TQ(d)||_2.has(s)&&!QA.has(d)||V2.has(s)&&!YA.has(d)||s==="grid-area"&&!GA.has(d)||s==="list-style"&&!HA.has(d)&&!jp.has(d)||s==="list-style-type"&&!jp.has(d)||R(t,"ignoreKeywords",c)||R(t,"ignoreProperties",a))return;let h=c.toLocaleLowerCase(),b,p=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&ip.has(h)&&p?b=ip.get(h):e==="lower"?b=c.toLowerCase():b=c.toUpperCase(),c===b)return;let v=ae(i)+u.sourceIndex,f=v+c.length,g=()=>{u.value=b,i.value=l.toString()};E({message:zb.expected,messageArgs:[c,b],node:i,index:v,endIndex:f,result:n,ruleName:_u,fix:{apply:g,node:i}})})})},Vu.ruleName=_u,Vu.messages=zb,Vu.meta=W2,I$=Vu}),j$={};z(j$,{default:()=>T$});var Q2,Qu,Nb,Y2,Yu,T$,FQ=y(()=>{Q2=re(fe(),1),Z(),_c(),gt(),Lr(),V(),H(),I(),T(),Bt(),D(),B(),Qu="value-no-vendor-prefix",Nb=j(Qu,{rejected:e=>`Unexpected vendor-prefixed value "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},Yu=(e,t)=>(r,n)=>{L(n,Qu,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!G.prefix.test(o)||!ft(i)||!Tr(i.prop))return;let a=(0,Q2.default)(o);a.walk(s=>{if(!yr.propertyValue(s.value)||R(t,"ignoreValues",s.value))return;let l=ae(i)+s.sourceIndex,u=()=>{s.value=yr.unprefix(s.value),$t(i,a.toString())};E({message:Nb.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:Qu,fix:{apply:u,node:i}})})})},Yu.ruleName=Qu,Yu.messages=Nb,Yu.meta=Y2,T$=Yu}),MQ=Y((e,t)=>{"use strict";t.exports=()=>{}}),L$=()=>!0,RQ=()=>"",$Q=()=>"",tk={noDeprecation:!0,cwd(){return"/"}},BQ=()=>{};kr();B();kr();kr();function D$(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=(tk.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:Gr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var qQ=(e={})=>{let t=e.cwd||tk.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}},F$=()=>{},WQ=()=>!0,UQ=t5({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(D5(),vA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(F5(),wA)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(M5(),xA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(_5(),sz)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(V5(),uz)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(Q5(),dz)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(t6(),gz)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(m6(),Lz)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(h6(),Fz)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(f6(),Rz)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(g6(),Bz)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(y6(),Wz)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(k6(),Gz)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(x6(),Jz)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(S6(),Zz)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(A6(),tN)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(z6(),uN)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(O6(),dN)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(U6(),wN)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(V6(),xN)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(G6(),AN)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(K6(),NN)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(J6(),EN)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(H6(),IN)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(eB(),LN)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(nB(),FN)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(iB(),RN)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(oB(),BN)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(lB(),_N)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(uB(),QN)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(cB(),GN)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(pB(),JN)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(WW(),bL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(UW(),yL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(_W(),kL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(VW(),SL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(YW(),AL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(GW(),EL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(KW(),IL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(XW(),LL)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZW(),FL)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(eU(),RL)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(tU(),BL)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(rU(),WL)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(D8(),mD)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>($8(),bD)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(V8(),zD)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(Q8(),PD)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(Y8(),OD)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(K8(),jD)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(H8(),LD)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(e_(),FD)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(t_(),qD)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(n_(),UD)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(i_(),YD)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(l_(),JD)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(u_(),eF)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(c_(),rF)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(d_(),aF)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(p_(),lF)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(h_(),cF)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(f_(),hF)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(N_(),IF)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(P_(),TF)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(I_(),DF)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(L_(),MF)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(D_(),$F)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(V_(),qF)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(K_(),UF)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(J_(),QF)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(f7(),p3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(g7(),h3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(b7(),b3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(v7(),y3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(y7(),k3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(w7(),S3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(k7(),A3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(x7(),N3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(S7(),E3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(C7(),I3)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(E7(),T3)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(O7(),F3)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(R7(),V3)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(B7(),G3)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(q7(),J3)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(W7(),X3)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(U7(),eM)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(_7(),rM)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(V7(),iM)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(K7(),aM)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(X7(),fM)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(tV(),bM)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(rV(),yM)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(nV(),kM)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(iV(),SM)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(oV(),AM)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(aV(),NM)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(sV(),EM)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(lV(),IM)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(dV(),TM)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(mV(),DM)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(fV(),MM)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(bV(),$M)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(vV(),qM)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(yV(),UM)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(wV(),VM)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(SV(),JM)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(CV(),ZM)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(zV(),nR)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(PV(),oR)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(EV(),sR)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(OV(),uR)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(IV(),dR)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(jV(),mR)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(TV(),fR)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(FV(),bR)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>($V(),yR)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(BV(),kR)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(qV(),SR)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(HV(),OR)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(XV(),jR)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(ZV(),LR)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(tQ(),FR)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(rQ(),qR)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(oQ(),UR)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(aQ(),QR)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),GR)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(cQ(),JR)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dQ(),XR)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(pQ(),e$)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(mQ(),r$)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(hQ(),i$)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(fQ(),a$)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(vQ(),l$)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(CQ(),p$)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(AQ(),h$)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(zQ(),g$)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(NQ(),v$)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(PQ(),w$)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(EQ(),z$)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(OQ(),P$)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(DQ(),O$)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(FQ(),j$))}),G2=new Map;function _Q(e){let t=G2.get(e);return t||(t=UQ(`./${e}/index.mjs`).then(r=>r.default),G2.set(e,t)),t}var VQ=["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-no-deprecated","property-no-unknown","property-no-vendor-prefix","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-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"],M$={};for(let e of VQ)Object.defineProperty(M$,e,{get(){return _Q(e)},enumerable:!0,configurable:!0});var rk=M$;function R$(e,t){var r;return QQ(e)?rk[e]:Promise.resolve((r=t==null?void 0:t.pluginFunctions)==null?void 0:r[e])}function QQ(e){return e in rk}B();function YQ(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&&!vr(r)&&vr(n)?e:[e]}async function GQ(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await R$(r,e);i?t[r]=YQ(n,i):t[r]=[]}return e.rules=t,e}var KQ=(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},JQ=async(e,t,{config:r})=>({config:await GQ(KQ(e,r))}),HQ=({stylelint:e,filePath:t})=>JQ(e,t,{config:e._options.config}),XQ=()=>[];function ZQ(e){return JSON.stringify(e,(t,r)=>t[0]==="_"?void 0:r)}var eY=()=>ZQ;Uc();var tY=()=>{};cD();var rY=()=>{};Uc();var nY=e=>e,$$=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,iY=zi();async function oY(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?nY(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=$$(e._options.fix),s=await(t?aY(t,e._options.configBasedir):sY(a==="lax")),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await rY(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await iY.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function aY(){}async function sY(e){return{parse:await(e?Promise.resolve().then(()=>re(MQ(),1)).then(t=>t.default):zi.parse),stringify:zi.stringify}}var lY=()=>{},uY=()=>Promise.resolve(!1),cY=()=>!1;kr();Qc();kr();Qc();B();ge();vm();it();function Pb(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 dY(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Tt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(k=>{var w,S,P,A,M,N,q,ne,K,de,oe,se,$e,qe,pt,He,Q,J,O,W;if(Vr(k)){if(i){i===k&&(i=null);return}let X=k.next();if(!(!xc(k)&&gi(k.text,o)&&X&&Vr(X)&&(k.text.includes("--")||X.text.startsWith("--")))){m(k,k.source,k.text);return}let F=(P=(S=(w=k.source)==null?void 0:w.end)==null?void 0:S.line)!=null?P:0,ee=k.clone(),ve=X;for(;!xc(ve)&&!gi(ve.text,o);){let Se=(N=(M=(A=ve.source)==null?void 0:A.end)==null?void 0:M.line)!=null?N:0;if(F+1!==Se)break;ee.text+=`
36
- ${ve.text}`,ee.source&&ve.source&&(ee.source.end=ve.source.end),i=ve;let le=ve.next();if(!le||!Vr(le))break;ve=le,F=Se}m(ee,ee.source,ee.text)}if(ct(k)){let X=0,F=(ne=(q=k.raws)==null?void 0:q.selector)==null?void 0:ne.raw;d(k,F,X),X+=(K=F==null?void 0:F.length)!=null?K:k.selector.length;let ee=(de=k.raws)==null?void 0:de.between;d(k,ee,X)}if(De(k)){let X=k.name.length+1,F=(oe=k.raws)==null?void 0:oe.afterName;d(k,F,X),X+=(se=F==null?void 0:F.length)!=null?se:0;let ee=(qe=($e=k.raws)==null?void 0:$e.params)==null?void 0:qe.raw;d(k,ee,X),X+=(pt=ee==null?void 0:ee.length)!=null?pt:k.params.length;let ve=(He=k.raws)==null?void 0:He.between;d(k,ve,X)}if(Ri(k)){let X=k.prop.length,F=(Q=k.raws)==null?void 0:Q.between;d(k,F,X),X+=(J=F==null?void 0:F.length)!=null?J:0;let ee=(W=(O=k.raws)==null?void 0:O.value)==null?void 0:W.raw;d(k,ee,X)}}),t;function a(k,w,S){if(w.start){let P=w.start.line,A=b(S);for(let M of h(Lp,S))l(k,P,M,A)}}function s(k,w,S){if(w.end){let P=w.end.line,A=b(S);for(let M of h(Dp,S))l(k,P+1,M,A)}}function l(k,w,S,P){if(g(Tt))throw k.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Tt)for(let A of Object.keys(r)){if(g(A))continue;let M=A===Tt;p(k,w,A,M,P),v(w,A,M)}else{if(g(S))throw k.error(`"${S}" has already been disabled`,{plugin:"stylelint"});p(k,w,S,!0,P),v(w,S,!0)}}function u(k,w,S){let P=b(S);for(let A of h(Tp,S)){let M=A===Tt;if(g(A))throw k.error(M?"All rules have already been disabled":`"${A}" has already been disabled`,{plugin:"stylelint"});if(w.start){let N=w.start.line;if(M)for(let q of Object.keys(r))p(k,N,q,q===Tt,P);else p(k,N,A,!0,P)}}}function c(k,w,S){var P;for(let A of h(Fp,S)){let M=(P=w.end)==null?void 0:P.line;if(ec(M),A===Tt){if(Object.values(r).every(N=>{if(N.length===0)return!0;let q=N[N.length-1];return q&&typeof q.end=="number"}))throw k.error("No rules have been disabled",{plugin:"stylelint"});for(let[N,q]of Object.entries(r)){let ne=q[q.length-1];(!ne||!ne.end)&&v(M,N,N===Tt)}continue}if(g(Tt)&&r[A]===void 0){r[A]=n.map(({start:N,end:q,description:ne})=>Pb(k,N,!1,ne,q,!1)),v(M,A,!0);continue}if(g(A)){v(M,A,!0);continue}throw k.error(`"${A}" has not been disabled`,{plugin:"stylelint"})}}function d(k,w,S){w&&w.includes("/*")&&w.includes("*/")&&wt({css:w}).forEach(P=>{if(!Mm(P))return;let[,A,M,N]=P,q=k.rangeBy({index:M+S,endIndex:N+1+S});m(k,q,A.slice(2,-2).trim())})}function m(k,w,S){if(w&&gi(S,o))switch(Qz(S,o)){case Lp:a(k,w,S);break;case Dp:s(k,w,S);break;case Tp:u(k,w,S);break;case Fp:c(k,w,S);break}}function h(k,w){let S=w6(k,o),P=w.slice(S.length).split(/\s-{2,}\s/u)[0];Mi(P);let A=P.trim().split(",").filter(Boolean).map(M=>M.trim());return A.length===0?[Tt]:A}function b(k){let w=k.indexOf("--");if(w!==-1)return k.slice(w+2).trim()}function p(k,w,S,P,A){let M=Pb(k,w,P,A);f(S);let N=r[S];Ve(N),N.push(M)}function v(k,w,S){let P=r[w],A=P?P[P.length-1]:null;A&&(A.end=k,A.strictEnd=S)}function f(k){r[k]||(r[k]=n.map(({node:w,start:S,end:P,description:A})=>Pb(w,S,!1,A,P,!1)))}function g(k){let w=r[k];if(!w)return!1;let S=w[w.length-1];return S?!S.end:!1}}kr();function pY(){return[]}function mY(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var Eb=new Map;function hY(e,t,r){let n=Eb.has(e)?Eb.get(e):pY(e);Eb.set(e,n),r.warn(mY(e,n),{severity:Gr,rule:e,node:t,index:0})}var K2={enabled:!1};async function fY(e,t,r){var d,m,h,b;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let n=t.root;if(!("type"in n))throw new Error("Unexpected Postcss root object!");let i=(d=n.source)==null?void 0:d.input.css.match(/\r?\n/),o=i?i[0]:`
37
- `,a={configurationComment:r.configurationComment||Vc,newline:o};dY(n,t);let s=n&&n.constructor.name==="Document"?n.nodes:[n],l=[],u;if(r.rules){let p=new Map(Object.keys(rk).map((v,f)=>[v,f]));u=Object.keys(r.rules).sort((v,f)=>{var g,x;return((g=p.get(v))!=null?g:-1)-((x=p.get(f))!=null?x:-1)})}else u=[];let c=await Promise.all(u.map(async p=>{let v=await R$(p,r);return[p,v]}));for(let[p,v]of c){if(v===void 0){l.push(Promise.all(s.map(N=>hY(p,N,t))));continue}let f=(m=r.rules)==null?void 0:m[p];if(f===null||f[0]===null)continue;(h=v.meta)!=null&&h.deprecated&&!e.quietDeprecationWarnings&&bY(t,p);let g=f[0],x=f[1],k=r.defaultSeverity||zy;t.stylelint.ruleSeverities[p]=x&&x.severity||k,t.stylelint.customMessages[p]=x&&x.message,t.stylelint.customUrls[p]=x&&x.url,t.stylelint.ruleMetadata[p]=v.meta||{};let w=((b=v.meta)==null?void 0:b.fixable)&&!e.quietDeprecationWarnings,S=(x==null?void 0:x.disableFix)!==!0&&r.fix&&gY(t,p),P={...a,get fix(){return w&&F$("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${p}" instead.`),S}},A=v(g,x,P);async function M(N){return K2.enabled?K2.time(p,()=>A(N,t))():A(N,t)}l.push(Promise.all(s.map(M)))}return Promise.all(l)}function gY({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Tt])!=null&&r.length)&&!e[t]}function bY(e,t){let r=`The "${t}" rule is deprecated.`;F$(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var vY=()=>{};kr();kr();function yY({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 Gr:i.stylelint.stylelintError=!0;break;case Cp:i.stylelint.stylelintWarning=!0;break;default:break}}function wY(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=>J2(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&J2(r[i])&&yY({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Gr,node:a.node,postcssResult:e})}function J2(e){return!e||!e[1]?!1:!!e[1].reportDisables}var kY=()=>{};async function xY(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let r=t.code!==void 0,n=r?t.codeFilename:t.filePath;if(n!==void 0&&!L$(n))return r?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await uY(e,n).catch(u=>{if(r&&cY(u))return!1;throw u}))return t.existingPostcssResult,void 0;let i=await HQ({stylelint:e,searchPath:n,filePath:n});if(!i)return Promise.reject(new Error("Config file not found"));let o=i.config,a=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(o),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let s=a||await oY(e,{code:t.code,codeFilename:t.codeFilename,filePath:n,customSyntax:o.customSyntax}),l=Object.assign(s,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:lD(o)}});return await fY(e._options,l,o),wY(l),vY(l),lY(l),tY(l),kY(l),l}kr();function H2({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===Gr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:SY(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 SY(e){let[t]=e;return t===void 0?{}:t._postcssResult===void 0?{}:t._postcssResult.stylelint.ruleMetadata}var NY=BQ("stylelint:standalone");async function B$({allowEmptyInput:e,cache:t,cacheLocation:r,cacheStrategy:n,code:i,codeFilename:o,config:a,configBasedir:s,configFile:l,customSyntax:u,cwd:c=tk.cwd(),disableDefaultIgnores:d,files:m,fix:h,computeEditInfo:b,formatter:p,_defaultFormatter:v,globbyOptions:f,ignoreDisables:g,ignorePath:x,ignorePattern:k,maxWarnings:w,quiet:S,quietDeprecationWarnings:P=!1,reportDescriptionlessDisables:A,reportInvalidScopeDisables:M,reportNeedlessDisables:N,reportUnscopedDisables:q,suppressAll:ne,suppressRule:K,suppressLocation:de,validate:oe=!0}){var Q,J;let se=Date.now(),$e=!m&&$(i);if(!(m&&!$(i)||$e))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let qe;try{qe=XQ({cwd:c,ignorePath:x,ignorePattern:k})}catch(O){return Promise.reject(O)}let pt=qQ({allowEmptyInput:e,cache:t,cacheLocation:r,cacheStrategy:n,config:a,configFile:l,configBasedir:s,cwd:c,formatter:p,_defaultFormatter:v,ignoreDisables:g,ignorePath:x,reportNeedlessDisables:N,reportInvalidScopeDisables:M,reportDescriptionlessDisables:A,reportUnscopedDisables:q,customSyntax:u,fix:h,computeEditInfo:b,quiet:S,quietDeprecationWarnings:P,validate:oe}),He=await eY(pt);if(!m){Mi(i);let O=o!==void 0&&!L$(o)?RQ(c,o):o;if(O&&!WQ(qe,[$Q(c,O)]).length)return H2({results:[],maxWarnings:w,quietDeprecationWarnings:P,formatter:He,cwd:c});let W;try{let ee=await xY(pt,{code:i,codeFilename:O});W=D$(ee)}catch(ee){W=CY(ee)}await AY(pt,W,O);let X=W._postcssResult,F=H2({results:[W],maxWarnings:w,quietDeprecationWarnings:P,formatter:He,cwd:c});return(J=(Q=$$(pt._options.fix))!=null?Q:a==null?void 0:a.fix)!=null&&J&&X&&!X.stylelint.ignored&&(F.code=X.opts?X.root.toString(X.opts.syntax):i),F}}function CY(e){if(e instanceof Error&&e.name==="CssSyntaxError")return D$(void 0,e);throw e}async function AY(){}Object.assign(globalThis,{stylelint:{lint:B$}});})();
34
+ --`+new Array((r||t.length)+1).join("-")+"^"})}var Rq=y(()=>{vw()}),U1,V1,Q1,Y1,G1,bf,uP,$q=y(()=>{Rq(),U1=9,V1=10,Q1=12,Y1=13,G1=32,bf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),uP=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&&bf[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!==Y1&&t!==V1&&t!==Q1&&t!==G1&&t!==U1)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 Mq(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||bf[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 K1(e){let t=null,r=null;return e.eat(jc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Qm?(e.pos++,e.skipWs(),e.charCode()!==nm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(nm),{min:Number(t),max:r?Number(r):0}}function Bq(e){let t=null,r=!1;switch(e.charCode()){case Ew:e.pos++,t={min:0,max:0};break;case Vm:e.pos++,t={min:1,max:0};break;case Ic:e.pos++,t={min:0,max:1};break;case Um:e.pos++,r=!0,e.charCode()===jc?t=K1(e):e.charCode()===Ic?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case jc:t=K1(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Jr(e,t){let r=Bq(e);return r!==null?(r.term=t,e.charCode()===Um&&e.charCodeAt(e.pos-1)===Vm||e.charCode()===Ic&&e.charCodeAt(e.pos-1)===nm?Jr(e,r):r):t}function vf(e){let t=e.peek();return t===""?null:Jr(e,{type:"Token",value:t})}function qq(e){let t;return e.eat(Ym),e.eat(Tc),t=e.scanWord(),e.eat(Tc),e.eat(rm),Jr(e,{type:"Property",name:t})}function Wq(e){let t=null,r=null,n=1;return e.eat(Di),e.charCode()===Ov&&(e.peek(),n=-1),n==-1&&e.charCode()===Iv?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Qm),e.skipWs(),e.charCode()===Iv?e.peek():(n=1,e.charCode()===Ov&&(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 _q(e){let t,r=null;if(e.eat(Ym),t=e.scanWord(),t==="boolean-expr"){e.eat(Di);let n=_m(e,kn);return e.eat(kn),e.eat(rm),Jr(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===zw&&e.nextCharCode()===Nw&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Di&&(e.skipWs(),r=Wq(e)),e.eat(rm),Jr(e,{type:"Type",name:t,opts:r})}function Uq(e){let t=e.scanWord();return e.charCode()===zw?(e.pos++,{type:"Function",name:t}):Jr(e,{type:"Keyword",name:t})}function Vq(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 _m(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?_m(e,Nw):Yq(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:Vq(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Qq(e){let t;return e.eat(Di),t=_m(e,kn),e.eat(kn),t.explicit=!0,e.charCode()===Aw&&(e.pos++,t.disallowEmpty=!0),t}function Yq(e){let t=e.charCode();switch(t){case kn:break;case Di:return Jr(e,Qq(e));case Ym:return e.nextCharCode()===Tc?qq(e):_q(e);case Tv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Tv?2:1))};case Pv:return e.pos++,e.eat(Pv),{type:"Combinator",value:"&&"};case Qm:return e.pos++,{type:"Comma"};case Tc:return Jr(e,{type:"String",value:e.scanString()});case fP:case dP:case pP:case hP:case mP:return{type:"Spaces",value:e.scanSpaces()};case gP:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):vf(e);case Ew:case Vm:case Ic:case Um:case Aw:break;case jc:if(t=e.nextCharCode(),t<48||t>57)return vf(e);break;default:return e.isNameCharCode(t)?Uq(e):vf(e)}}function cP(e){let t=new uP(e),r=_m(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var dP,pP,mP,hP,fP,Aw,Um,Pv,Tc,zw,Nw,Ew,Vm,Qm,Ov,Ym,rm,Ic,gP,Di,kn,jc,Tv,nm,Iv,jv,bP=y(()=>{$q(),dP=9,pP=10,mP=12,hP=13,fP=32,Aw=33,Um=35,Pv=38,Tc=39,zw=40,Nw=41,Ew=42,Vm=43,Qm=44,Ov=45,Ym=60,rm=62,Ic=63,gP=64,Di=91,kn=93,jc=123,Tv=124,nm=125,Iv=8734,jv={" ":1,"&&":2,"||":3,"|":4}}),Gq=y(()=>{}),vP=y(()=>{bP(),Gq()});function Kq(e){let t=[];return Rm(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Hq(e,t){return typeof e=="string"?Kq(e):t.generate(e,yP)}var yP,Zq=y(()=>{dr(),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 mt(e,t,r){return t===Ne&&r===je||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===je&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function wP(e){return e.length>2&&e.charCodeAt(e.length-2)===kP&&e.charCodeAt(e.length-1)===xP}function H1(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&wP(e.name)}function qr(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function uc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=uc(e.match,t,r),e.then=uc(e.then,t,r),e.else=uc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function Lv(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=mt(o,n,je)}return n}case"|":{let n=je,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(H1(a)&&(i===null&&o>0&&H1(t[o-1])&&(i=Object.create(null),n=mt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(wP(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=mt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=je;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Lv(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=mt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:je;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Lv(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=mt(o,a,n)}return n}}}function Xq(e){let t=Ne,r=gi(e.term);if(e.max===0)r=mt(r,Gm,je),t=mt(r,null,je),t.then=mt(Ne,Ne,t),e.comma&&(t.then.else=mt({type:"Comma",syntax:e},t,je));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=mt({type:"Comma",syntax:e},t,je)),t=mt(r,mt(Ne,Ne,t),je);if(e.min===0)t=mt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=mt({type:"Comma",syntax:e},t,je)),t=mt(r,t,je);return t}function gi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Lv(e.combinator,e.terms.map(gi),!1);return e.disallowEmpty&&(t=mt(t,Gm,je)),t}case"Multiplier":return Xq(e);case"Boolean":{let t=gi(e.term),r=gi(qr([qr([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),qr([{type:"Type",name:"!boolean-group"},qr([{type:"Multiplier",comma:!1,min:0,max:0,term:qr([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:qr([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=gi(qr([{type:"Type",name:"!term"},qr([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return uc(n,{"!term":t,"!self":r}),uc(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 Gd(e,t){return typeof e=="string"&&(e=cP(e)),{type:"MatchGraph",match:gi(e),syntax:t||null,source:e}}var Ne,je,Gm,kP,xP,SP=y(()=>{bP(),Ne={type:"Match"},je={type:"Mismatch"},Gm={type:"DisallowEmpty"},kP=40,xP=41});function Jq(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function yf(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 e9(e){return e.type!==9?!1:e.value!=="?"}function Z1(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||e9(e)}function X1(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function t9(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){h=o(k,h)}function u(){w={type:AP,syntax:t.syntax,token:g,prev:w},n(),b=null,f>x&&(x=f)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:im,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===im?w=w.prev:w={type:Pw,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,h=null,b=null,m=0,v=null,g=null,f=-1,x=0,w={type:CP,syntax:null,token:null,prev:null};for(n();v===null&&++m<Mv;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=je;break}v=Fv;break}if(t=p.nextState,t===Gm)if(p.matchStack===w){t=je;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(b!==null&&b!==!1)(h===null||f>h.tokenIndex)&&(h=b,b=!1);else if(h===null){v=zP;break}t=h.nextState,p=h.thenStack,d=h.syntaxStack,w=h.matchStack,f=h.tokenIndex,g=f<e.length?e[f]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==je&&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=je;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.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=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].*$/,"")),Dv.call(t.map,E)){t=t.map[E];break}}t=je;break;case"Generic":{let E=d!==null?d.opts:null,A=f+Math.floor(t.fn(g,i,E));if(!isNaN(A)&&A>f){for(;f<A;)u();t=Ne}else t=je;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",A=Dv.call(r,E)?r[E][t.name]:null;if(!A||!A.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(b!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){b===null&&(b=o(t,h)),t=je;break}l(),t=A.matchRef||A.match;break}case"Keyword":{let E=t.name;if(g!==null){let A=g.value;if(A.indexOf("\\")!==-1&&(A=A.replace(/\\[09].*$/,"")),yf(A,E)){u(),t=Ne;break}}t=je;break}case"AtKeyword":case"Function":if(g!==null&&yf(g.value,t.name)){u(),t=Ne;break}t=je;break;case"Token":if(g!==null&&g.value===t.value){u(),t=Ne;break}t=je;break;case"Comma":g!==null&&g.type===18?Z1(w.token)?t=je:(u(),t=X1(g)?je:Ne):t=Z1(w.token)||X1(g)?Ne:je;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(yf(k,t.value)){for(;f<S;)u();t=Ne}else t=je;break;default:throw new Error("Unknown node type: "+t.type)}switch(EP+=m,v){case null:console.warn("[csstree-match] BREAK after "+Mv+" iterations"),v=NP,w=null;break;case Fv:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:v,iterations:m,match:w,longestMatch:x}}function J1(e,t,r){let n=t9(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=Jq(i).prev;i!==null;){switch(i.type){case im:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Pw: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 Dv,CP,AP,im,Pw,Fv,zP,NP,Mv,EP,r9=y(()=>{SP(),{hasOwnProperty:Dv}=Object.prototype,CP=0,AP=1,im=2,Pw=3,Fv="Match",zP="Mismatch",NP="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Mv=15e3,EP=0}),PP={};z(PP,{getTrace:()=>OP,isKeyword:()=>o9,isProperty:()=>i9,isType:()=>n9});function OP(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 n9(e,t){return Ow(this,e,r=>r.type==="Type"&&r.name===t)}function i9(e,t){return Ow(this,e,r=>r.type==="Property"&&r.name===t)}function o9(e){return Ow(this,e,t=>t.type==="Keyword")}function Ow(e,t,r){let n=OP.call(e,t);return n===null?!1:n.some(r)}var a9=y(()=>{});function wf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function e0(e){return!!e&&wf(e.offset)&&wf(e.line)&&wf(e.column)}function s9(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(zi.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(!e0(r.loc.start))i+=".start";else if(!e0(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 Pc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)zi.call(t,i)&&zi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function TP(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<"+(TP(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function l9(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(zi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=TP(a,e+"."+o)}return{docs:i,check:s9(e,n)}}function u9(e){let t={};if(e.node){for(let r in e.node)if(zi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=l9(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var zi,c9=y(()=>{bw(),{hasOwnProperty:zi}=Object.prototype});function d9(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function p9(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Qr(e,t,r){return{matched:e,iterations:r,error:t,...PP}}function Kd(e,t,r,n){let i=Hq(r,e.syntax),o;return d9(i)?Qr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=J1(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=J1(i,t.match,e),!o.match)?Qr(null,new WE(o.reason,t.syntax,r,o),o.iterations):Qr(o.match,null,o.iterations))}var Rv,m9=y(()=>{hq(),kw(),xw(),Dq(),Fq(),vP(),Zq(),SP(),r9(),a9(),c9(),Rv=class{constructor(e,t,r){if(this.cssWideKeywords=Bm,this.syntax=t,this.generic=!1,this.units={...Ev},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||u9(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(Ev))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(Lq(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=Gd(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=Gd(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:cP(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:Gd(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=p9(a)?Gd({...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 Cp("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&&!Kd(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=Ap(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 Cp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Cp("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Qr(null,r);let n=this.getAtrule(e);return n.prelude?Kd(this,n.prelude,t||"",!1):Qr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Qr(null,n);let i=this.getAtrule(e),o=Ap(t);return Kd(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(Av(e).custom)return Qr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Qr(null,r):Kd(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=Ap(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=Av(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function kf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function h9(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?h9(o,r):o};return n}function $v(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]||{},u=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){u.prelude=a.prelude?kf(u.prelude,a.prelude):u.prelude||null;for(let[l,c]of Object.entries(a.descriptors||{}))u.descriptors[l]=c?kf(u.descriptors[l],c):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=kf(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 f9=y(()=>{});function IP(e){let t=KB(e),r=oq(e),n=eq(e),{fromPlainObject:i,toPlainObject:o}=qE(r),a={lexer:null,createLexer:s=>new Rv(s,a,a.lexer.structure),tokenize:Rm,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let u=$v({},e);return IP(typeof s=="function"?s(u):$v(u,s))}};return a.lexer=new Rv({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var jP,g9=y(()=>{dr(),HB(),tq(),rq(),aq(),m9(),f9(),jP=e=>IP($v({},e))}),LP,b9=y(()=>{LP={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"}}}}}),DP={};z(DP,{generate:()=>v9,name:()=>RP,parse:()=>FP,structure:()=>$P});function Np(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===St)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)ct(this.charCodeAt(r))||this.error("Integer is expected",r)}function bi(e){return Np.call(this,0,e)}function Wr(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case cc:r="N is expected";break;case St:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Sf(){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(St,e)){t=this.isDelim(rr,e)?rr:St;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),bi.call(this,Vr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==St&&this.error("Number sign is expected")),bi.call(this,t!==0),t===St?"-"+this.consume(10):this.consume(10)}function FP(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)bi.call(this,MP),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,St))switch(t="-1",Wr.call(this,1,cc),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Sf.call(this);break;case 3:Wr.call(this,2,St),this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10);break;default:Wr.call(this,2,St),Np.call(this,3,Vr),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()),Wr.call(this,0,cc),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Sf.call(this);break;case 2:Wr.call(this,1,St),this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10);break;default:Wr.call(this,1,St),Np.call(this,2,Vr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===St,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),Wr.call(this,o-this.tokenStart,cc),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Sf.call(this)):(Wr.call(this,o-this.tokenStart+1,St),o+2===this.tokenEnd?(this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10)):(Np.call(this,o-this.tokenStart+2,Vr),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 v9(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,St,cc,Vr,MP,RP,$P,BP=y(()=>{dr(),rr=43,St=45,cc=110,Vr=!0,MP=!1,RP="AnPlusB",$P={a:[String,null],b:[String,null]}}),qP={};z(qP,{generate:()=>w9,name:()=>_P,parse:()=>WP,structure:()=>VP,walkContext:()=>UP});function t0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function y9(){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 WP(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),t0):i=t0.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(y9.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function w9(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var _P,UP,VP,QP=y(()=>{_P="Atrule",UP="atrule",VP={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),YP={};z(YP,{generate:()=>k9,name:()=>KP,parse:()=>GP,structure:()=>ZP,walkContext:()=>HP});function GP(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 k9(e){this.children(e)}var KP,HP,ZP,XP=y(()=>{KP="AtrulePrelude",HP="atrulePrelude",ZP={children:[[]]}}),JP={};z(JP,{generate:()=>C9,name:()=>iO,parse:()=>eO,structure:()=>oO});function x9(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Tw)?(t=!0,this.next()):this.isDelim(om)||this.eat(1),this.isDelim(om)?this.charCodeAt(this.tokenStart+1)!==dc?(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 S9(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==dc&&t!==nO&&t!==rO&&t!==tO&&t!==Tw&&t!==om&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==dc&&(this.isDelim(dc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function eO(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=x9.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=S9.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 C9(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 tO,Tw,dc,rO,om,nO,iO,oO,aO=y(()=>{tO=36,Tw=42,dc=61,rO=94,om=124,nO=126,iO="AttributeSelector",oO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),sO={};z(sO,{generate:()=>z9,name:()=>dO,parse:()=>uO,structure:()=>mO,walkContext:()=>pO});function lO(){return this.Raw(null,!0)}function r0(){return this.parseWithFallback(this.Rule,lO)}function n0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function A9(){if(this.tokenType===17)return n0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,n0);return this.tokenType===17&&this.next(),e}function uO(e){let t=e?A9:r0,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),lO));break;default:e&&this.isDelim(cO)?n.push(r0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function z9(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var cO,dO,pO,mO,hO=y(()=>{cO=38,dO="Block",pO="block",mO={children:[["Atrule","Rule","Declaration"]]}}),fO={};z(fO,{generate:()=>N9,name:()=>bO,parse:()=>gO,structure:()=>vO});function gO(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 N9(e){this.token(9,"["),this.children(e),this.token(9,"]")}var bO,vO,yO=y(()=>{bO="Brackets",vO={children:[[]]}}),wO={};z(wO,{generate:()=>E9,name:()=>xO,parse:()=>kO,structure:()=>SO});function kO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function E9(){this.token(15,"-->")}var xO,SO,CO=y(()=>{xO="CDC",SO=[]}),AO={};z(AO,{generate:()=>P9,name:()=>NO,parse:()=>zO,structure:()=>EO});function zO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function P9(){this.token(14,"<!--")}var NO,EO,PO=y(()=>{NO="CDO",EO=[]}),OO={};z(OO,{generate:()=>O9,name:()=>jO,parse:()=>TO,structure:()=>LO});function TO(){return this.eatDelim(IO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function O9(e){this.token(9,"."),this.token(1,e.name)}var IO,jO,LO,DO=y(()=>{IO=46,jO="ClassSelector",LO={name:String}}),FO={};z(FO,{generate:()=>T9,name:()=>qO,parse:()=>MO,structure:()=>WO});function MO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case $O:case RO:case BO:this.next();break;case Bv:this.next(),this.eatIdent("deep"),this.eatDelim(Bv);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function T9(e){this.tokenize(e.name)}var RO,Bv,$O,BO,qO,WO,_O=y(()=>{RO=43,Bv=47,$O=62,BO=126,qO="Combinator",WO={name:String}}),UO={};z(UO,{generate:()=>I9,name:()=>GO,parse:()=>VO,structure:()=>KO});function VO(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===QO&&this.charCodeAt(t-1)===YO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function I9(e){this.token(25,"/*"+e.value+"*/")}var QO,YO,GO,KO,HO=y(()=>{QO=42,YO=47,GO="Comment",KO={value:String}}),ZO={};z(ZO,{generate:()=>j9,name:()=>eT,parse:()=>XO,structure:()=>tT});function i0(e){return this.lookupTypeNonSC(1)===1&&JO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function XO(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(()=>rT[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 j9(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var JO,eT,tT,rT,nT=y(()=>{JO=new Set([16,22,0]),eT="Condition",tT={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},rT={media:i0,container:i0,supports(){return this.SupportsDeclaration()}}}),iT={};z(iT,{generate:()=>M9,name:()=>dT,parse:()=>oT,structure:()=>mT,walkContext:()=>pT});function L9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function D9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function F9(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Iw)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function oT(){let e=this.tokenStart,t=this.tokenIndex,r=R9.call(this),n=ww(r),i=n?this.parseCustomProperty:this.parseValue,o=n?D9:L9,a=!1,s;this.skipSC(),this.eat(16);let u=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(F9,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Iw)&&(a=$9.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 M9(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 R9(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case uT:case sT:case cT:case aT:case lT:this.next();break;case qv:this.next(),this.isDelim(qv)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function $9(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var Iw,aT,sT,lT,uT,cT,qv,dT,pT,mT,hT=y(()=>{kw(),Iw=33,aT=35,sT=36,lT=38,uT=42,cT=43,qv=47,dT="Declaration",pT="declaration",mT={important:[Boolean,String],property:String,value:["Value","Raw"]}}),fT={};z(fT,{generate:()=>B9,name:()=>vT,parse:()=>gT,structure:()=>yT});function Cf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function gT(){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),Cf));break;default:this.isDelim(bT)?e.push(this.parseWithFallback(this.Rule,Cf)):e.push(this.parseWithFallback(this.Declaration,Cf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function B9(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var bT,vT,yT,wT=y(()=>{bT=38,vT="DeclarationList",yT={children:[["Declaration","Atrule","Rule"]]}}),kT={};z(kT,{generate:()=>q9,name:()=>ST,parse:()=>xT,structure:()=>CT});function xT(){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 q9(e){this.token(12,e.value+e.unit)}var ST,CT,AT=y(()=>{ST="Dimension",CT={value:String,unit:String}}),zT={};z(zT,{generate:()=>W9,name:()=>PT,parse:()=>NT,structure:()=>OT});function NT(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(ET)&&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 W9(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var ET,PT,OT,TT=y(()=>{ET=47,PT="Feature",OT={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),IT={};z(IT,{generate:()=>U9,name:()=>LT,parse:()=>jT,structure:()=>DT});function _9(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function jT(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=_9.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 U9(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var LT,DT,FT=y(()=>{LT="FeatureFunction",DT={kind:String,feature:String,value:["Declaration","Selector"]}}),MT={};z(MT,{generate:()=>V9,name:()=>qT,parse:()=>RT,structure:()=>WT});function Af(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(Wv,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(Wv)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function o0(e){if(this.skipSC(),this.isDelim($T)||this.isDelim(BT)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(_v)?(this.next(),t+"="):t}if(this.isDelim(_v))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function RT(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=Af.call(this),n=o0.call(this,r.type==="Identifier"),i=Af.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=o0.call(this),a=Af.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 V9(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 Wv,$T,_v,BT,qT,WT,_T=y(()=>{Wv=47,$T=60,_v=61,BT=62,qT="FeatureRange",WT={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]}}),UT={};z(UT,{generate:()=>Q9,name:()=>QT,parse:()=>VT,structure:()=>GT,walkContext:()=>YT});function VT(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 Q9(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var QT,YT,GT,KT=y(()=>{QT="Function",YT="function",GT={name:String,children:[[]]}}),HT={};z(HT,{generate:()=>Y9,name:()=>XT,parse:()=>ZT,structure:()=>JT});function ZT(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 Y9(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var XT,JT,eI=y(()=>{XT="GeneralEnclosed",JT={kind:String,function:[String,null],children:[[]]}}),tI={};z(tI,{generate:()=>G9,name:()=>iI,parse:()=>rI,structure:()=>oI,xxx:()=>nI});function rI(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function G9(e){this.token(4,"#"+e.value)}var nI,iI,oI,aI=y(()=>{nI="XXX",iI="Hash",oI={value:String}}),sI={};z(sI,{generate:()=>K9,name:()=>uI,parse:()=>lI,structure:()=>cI});function lI(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function K9(e){this.token(1,e.name)}var uI,cI,dI=y(()=>{uI="Identifier",cI={name:String}}),pI={};z(pI,{generate:()=>H9,name:()=>hI,parse:()=>mI,structure:()=>fI});function mI(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function H9(e){this.token(9,"#"+e.name)}var hI,fI,gI=y(()=>{hI="IdSelector",fI={name:String}}),bI={};z(bI,{generate:()=>Z9,name:()=>wI,parse:()=>vI,structure:()=>kI});function vI(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(yI);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function Z9(e){this.tokenize(e.name)}var yI,wI,kI,xI=y(()=>{yI=46,wI="Layer",kI={name:String}}),SI={};z(SI,{generate:()=>X9,name:()=>AI,parse:()=>CI,structure:()=>zI});function CI(){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 X9(e){this.children(e,()=>this.token(18,","))}var AI,zI,NI=y(()=>{AI="LayerList",zI={children:[["Layer"]]}}),EI={};z(EI,{generate:()=>J9,name:()=>OI,parse:()=>PI,structure:()=>TI});function PI(){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 J9(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 OI,TI,II=y(()=>{OI="MediaQuery",TI={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),jI={};z(jI,{generate:()=>eW,name:()=>DI,parse:()=>LI,structure:()=>FI});function LI(){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 eW(e){this.children(e,()=>this.token(18,","))}var DI,FI,MI=y(()=>{DI="MediaQueryList",FI={children:[["MediaQuery"]]}}),RI={};z(RI,{generate:()=>tW,name:()=>qI,parse:()=>$I,structure:()=>WI});function $I(){let e=this.tokenStart;return this.eatDelim(BI),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function tW(){this.token(9,"&")}var BI,qI,WI,_I=y(()=>{BI=38,qI="NestingSelector",WI={}}),UI={};z(UI,{generate:()=>rW,name:()=>QI,parse:()=>VI,structure:()=>YI});function VI(){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 rW(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var QI,YI,GI=y(()=>{QI="Nth",YI={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),KI={};z(KI,{generate:()=>nW,name:()=>ZI,parse:()=>HI,structure:()=>XI});function HI(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function nW(e){this.token(10,e.value)}var ZI,XI,JI=y(()=>{ZI="Number",XI={value:String}}),ej={};z(ej,{generate:()=>iW,name:()=>rj,parse:()=>tj,structure:()=>nj});function tj(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function iW(e){this.tokenize(e.value)}var rj,nj,ij=y(()=>{rj="Operator",nj={value:String}}),oj={};z(oj,{generate:()=>oW,name:()=>sj,parse:()=>aj,structure:()=>lj});function aj(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 oW(e){this.token(21,"("),this.children(e),this.token(22,")")}var sj,lj,uj=y(()=>{sj="Parentheses",lj={children:[[]]}}),cj={};z(cj,{generate:()=>aW,name:()=>pj,parse:()=>dj,structure:()=>mj});function dj(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function aW(e){this.token(11,e.value+"%")}var pj,mj,hj=y(()=>{pj="Percentage",mj={value:String}}),fj={};z(fj,{generate:()=>sW,name:()=>bj,parse:()=>gj,structure:()=>yj,walkContext:()=>vj});function gj(){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 sW(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var bj,vj,yj,wj=y(()=>{bj="PseudoClassSelector",vj="function",yj={name:String,children:[["Raw"],null]}}),kj={};z(kj,{generate:()=>lW,name:()=>Sj,parse:()=>xj,structure:()=>Aj,walkContext:()=>Cj});function xj(){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 lW(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 Sj,Cj,Aj,zj=y(()=>{Sj="PseudoElementSelector",Cj="function",Aj={name:String,children:[["Raw"],null]}}),Nj={};z(Nj,{generate:()=>uW,name:()=>Pj,parse:()=>Ej,structure:()=>Oj});function a0(){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 Ej(){let e=this.tokenStart,t=a0.call(this),r=null;return this.skipSC(),this.isDelim(Uv)&&(this.eatDelim(Uv),r=a0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function uW(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Uv,Pj,Oj,Tj=y(()=>{Uv=47,Pj="Ratio",Oj={left:["Number","Function"],right:["Number","Function",null]}}),Ij={};z(Ij,{generate:()=>dW,name:()=>Lj,parse:()=>jj,structure:()=>Dj});function cW(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function jj(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=cW.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function dW(e){this.tokenize(e.value)}var Lj,Dj,Fj=y(()=>{Lj="Raw",Dj={value:String}}),Mj={};z(Mj,{generate:()=>mW,name:()=>$j,parse:()=>Rj,structure:()=>qj,walkContext:()=>Bj});function s0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function pW(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function Rj(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(pW,s0):r=s0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function mW(e){this.node(e.prelude),this.node(e.block)}var $j,Bj,qj,Wj=y(()=>{$j="Rule",Bj="rule",qj={prelude:["SelectorList","Raw"],block:["Block"]}}),_j={};z(_j,{generate:()=>hW,name:()=>Vj,parse:()=>Uj,structure:()=>Qj});function Uj(){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 hW(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 Vj,Qj,Yj=y(()=>{Vj="Scope",Qj={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),Gj={};z(Gj,{generate:()=>fW,name:()=>Hj,parse:()=>Kj,structure:()=>Zj});function Kj(){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 fW(e){this.children(e)}var Hj,Zj,Xj=y(()=>{Hj="Selector",Zj={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),Jj={};z(Jj,{generate:()=>gW,name:()=>t4,parse:()=>e4,structure:()=>n4,walkContext:()=>r4});function e4(){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 gW(e){this.children(e,()=>this.token(18,","))}var t4,r4,n4,i4=y(()=>{t4="SelectorList",r4="selector",n4={children:[["Selector","Raw"]]}}),o4={};z(o4,{decode:()=>jw,encode:()=>a4});function jw(e){let t=e.length,r=e.charCodeAt(0),n=r===Lw||r===Dw?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===am){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),vr(am,s)){let u=a-1,l=ji(e,u);a=l-1,o+=zE(e.substring(u+1,l))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function a4(e,t){let r=t?"'":'"',n=t?Dw:Lw,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===am?(i+="\\"+e.charAt(a),o=!1):(o&&(Xr(s)||wn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var am,Lw,Dw,Fw=y(()=>{dr(),am=92,Lw=34,Dw=39}),s4={};z(s4,{generate:()=>bW,name:()=>u4,parse:()=>l4,structure:()=>c4});function l4(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:jw(this.consume(5))}}function bW(e){this.token(5,a4(e.value))}var u4,c4,d4=y(()=>{Fw(),u4="String",c4={value:String}}),p4={};z(p4,{generate:()=>vW,name:()=>f4,parse:()=>m4,structure:()=>b4,walkContext:()=>g4});function l0(){return this.Raw(null,!1)}function m4(){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)!==h4){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,l0);break;default:r=this.parseWithFallback(this.Rule,l0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function vW(e){this.children(e)}var h4,f4,g4,b4,v4=y(()=>{h4=33,f4="StyleSheet",g4="stylesheet",b4={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),y4={};z(y4,{generate:()=>yW,name:()=>k4,parse:()=>w4,structure:()=>x4});function w4(){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 yW(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var k4,x4,S4=y(()=>{k4="SupportsDeclaration",x4={declaration:"Declaration"}}),C4={};z(C4,{generate:()=>wW,name:()=>N4,parse:()=>A4,structure:()=>E4});function zf(){this.tokenType!==1&&this.isDelim(z4)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function A4(){let e=this.tokenStart;return this.isDelim(Vv)?(this.next(),zf.call(this)):(zf.call(this),this.isDelim(Vv)&&(this.next(),zf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function wW(e){this.tokenize(e.name)}var z4,Vv,N4,E4,P4=y(()=>{z4=42,Vv=124,N4="TypeSelector",E4={name:String}}),O4={};z(O4,{generate:()=>SW,name:()=>I4,parse:()=>T4,structure:()=>j4});function rc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===Rw&&t&&r!==0)return rc.call(this,e+r+1,!1),-1;Xr(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 Hd(e){let t=0;for(;this.isDelim(sm);)++t>e&&this.error("Too many question marks"),this.next()}function kW(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Mw?"Plus sign":"Hyphen minus")+" is expected")}function xW(){let e=0;switch(this.tokenType){case 10:if(e=rc.call(this,1,!0),this.isDelim(sm)){Hd.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){kW.call(this,Rw),rc.call(this,1,!1);break}break;case 12:e=rc.call(this,1,!0),e>0&&Hd.call(this,6-e);break;default:if(this.eatDelim(Mw),this.tokenType===1){e=rc.call(this,0,!0),e>0&&Hd.call(this,6-e);break}if(this.isDelim(sm)){this.next(),Hd.call(this,5);break}this.error("Hex digit or question mark is expected")}}function T4(){let e=this.tokenStart;return this.eatIdent("u"),xW.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function SW(e){this.tokenize(e.value)}var Mw,Rw,sm,I4,j4,L4=y(()=>{dr(),Mw=43,Rw=45,sm=63,I4="UnicodeRange",j4={value:String}});function CW(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===$w?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===lm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),vr(lm,a)){let s=o-1,u=ji(e,s);o=u-1,i+=zE(e.substring(s+1,u))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function AW(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===D4||i===lm||i===F4||i===M4||i===R4||i===$w?(t+="\\"+e.charAt(n),r=!1):(r&&Xr(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var D4,lm,F4,M4,R4,$w,$4=y(()=>{dr(),D4=32,lm=92,F4=34,M4=39,R4=40,$w=41}),B4={};z(B4,{generate:()=>zW,name:()=>W4,parse:()=>q4,structure:()=>_4});function q4(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=CW(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=jw(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 zW(e){this.token(7,AW(e.value))}var W4,_4,U4=y(()=>{$4(),Fw(),W4="Url",_4={value:String}}),V4={};z(V4,{generate:()=>NW,name:()=>Y4,parse:()=>Q4,structure:()=>G4});function Q4(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function NW(e){this.children(e)}var Y4,G4,K4=y(()=>{Y4="Value",G4={children:[[]]}}),H4={};z(H4,{generate:()=>EW,name:()=>J4,parse:()=>Z4,structure:()=>eL});function Z4(){return this.eat(13),X4}function EW(e){this.token(13,e.value)}var X4,J4,eL,tL=y(()=>{X4=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),J4="WhiteSpace",eL={value:String}}),Bw={};z(Bw,{AnPlusB:()=>DP,Atrule:()=>qP,AtrulePrelude:()=>YP,AttributeSelector:()=>JP,Block:()=>sO,Brackets:()=>fO,CDC:()=>wO,CDO:()=>AO,ClassSelector:()=>OO,Combinator:()=>FO,Comment:()=>UO,Condition:()=>ZO,Declaration:()=>iT,DeclarationList:()=>fT,Dimension:()=>kT,Feature:()=>zT,FeatureFunction:()=>IT,FeatureRange:()=>MT,Function:()=>UT,GeneralEnclosed:()=>HT,Hash:()=>tI,IdSelector:()=>pI,Identifier:()=>sI,Layer:()=>bI,LayerList:()=>SI,MediaQuery:()=>EI,MediaQueryList:()=>jI,NestingSelector:()=>RI,Nth:()=>UI,Number:()=>KI,Operator:()=>ej,Parentheses:()=>oj,Percentage:()=>cj,PseudoClassSelector:()=>fj,PseudoElementSelector:()=>kj,Ratio:()=>Nj,Raw:()=>Ij,Rule:()=>Mj,Scope:()=>_j,Selector:()=>Gj,SelectorList:()=>Jj,String:()=>s4,StyleSheet:()=>p4,SupportsDeclaration:()=>y4,TypeSelector:()=>C4,UnicodeRange:()=>O4,Url:()=>B4,Value:()=>V4,WhiteSpace:()=>H4});var rL=y(()=>{BP(),QP(),XP(),aO(),hO(),yO(),CO(),PO(),DO(),_O(),HO(),nT(),hT(),wT(),AT(),TT(),FT(),_T(),KT(),eI(),aI(),dI(),gI(),xI(),NI(),II(),MI(),_I(),GI(),JI(),ij(),uj(),hj(),wj(),zj(),Tj(),Fj(),Wj(),Yj(),Xj(),i4(),d4(),v4(),S4(),P4(),L4(),U4(),K4(),tL()}),nL,PW=y(()=>{xw(),b9(),rL(),nL={generic:!0,cssWideKeywords:Bm,...LP,node:Bw}});function iL(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,uL)&&this.cmpChar(this.tokenStart+1,Qv)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===lL||t===aL||t===Qv||t===sL)return this.Operator();t===oL&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var oL,aL,Qv,sL,lL,uL,cL=y(()=>{oL=35,aL=42,Qv=43,sL=45,lL=47,uL=117}),dL,OW=y(()=>{cL(),dL={getNode:iL}});function TW(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function IW(){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)===Yv&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case fL:case bL:case yL:case gL:return this.Combinator();case Yv:return this.ClassSelector();case hL:case vL:return this.TypeSelector();case pL:return this.IdSelector();case mL:return this.NestingSelector()}break}}}var pL,mL,hL,fL,gL,Yv,bL,vL,yL,wL,jW=y(()=>{pL=35,mL=38,hL=42,fL=43,gL=47,Yv=46,bL=62,vL=124,yL=126,wL={onWhiteSpace:TW,getNode:IW}});function LW(){return this.createSingleNodeList(this.Raw(null,!1))}var DW=y(()=>{});function FW(){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 MW=y(()=>{});function u0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var kL,RW=y(()=>{cL(),DW(),MW(),kL={getNode:iL,onWhiteSpace(e,t){u0(e)&&(e.value=" "+e.value),u0(t.last)&&(t.last.value+=" ")},expression:LW,var:FW}}),xL={};z(xL,{AtrulePrelude:()=>dL,Selector:()=>wL,Value:()=>kL});var $W=y(()=>{OW(),jW(),RW()}),c0,SL,BW=y(()=>{c0=new Set(["none","and","not","or"]),SL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);c0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),CL,qW=y(()=>{CL={parse:{prelude:null,block(){return this.Block(!0)}}}}),Nf,AL,WW=y(()=>{Nf={},AL={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,Nf)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Nf)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),zL,_W=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),NL,UW=y(()=>{NL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),EL,VW=y(()=>{EL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),PL,QW=y(()=>{PL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),OL,YW=y(()=>{OL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),TL,GW=y(()=>{TL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),IL,KW=y(()=>{IL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),jL,HW=y(()=>{BW(),qW(),WW(),_W(),UW(),VW(),QW(),YW(),GW(),KW(),jL={container:SL,"font-face":CL,import:AL,layer:zL,media:NL,nest:EL,page:PL,scope:OL,"starting-style":TL,supports:IL}});function ZW(){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 XW=y(()=>{}),_r,Zd,d0,p0,ma,LL,JW=y(()=>{XW(),_r={parse(){return this.createSingleNodeList(this.SelectorList())}},Zd={parse(){return this.createSingleNodeList(this.Selector())}},d0={parse(){return this.createSingleNodeList(this.Identifier())}},p0={parse:ZW},ma={parse(){return this.createSingleNodeList(this.Nth())}},LL={dir:d0,has:_r,lang:p0,matches:_r,is:_r,"-moz-any":_r,"-webkit-any":_r,where:_r,not:_r,"nth-child":ma,"nth-last-child":ma,"nth-last-of-type":ma,"nth-of-type":ma,slotted:Zd,host:Zd,"host-context":Zd}}),DL={};z(DL,{AnPlusB:()=>FP,Atrule:()=>WP,AtrulePrelude:()=>GP,AttributeSelector:()=>eO,Block:()=>uO,Brackets:()=>gO,CDC:()=>kO,CDO:()=>zO,ClassSelector:()=>TO,Combinator:()=>MO,Comment:()=>VO,Condition:()=>XO,Declaration:()=>oT,DeclarationList:()=>gT,Dimension:()=>xT,Feature:()=>NT,FeatureFunction:()=>jT,FeatureRange:()=>RT,Function:()=>VT,GeneralEnclosed:()=>ZT,Hash:()=>rI,IdSelector:()=>mI,Identifier:()=>lI,Layer:()=>vI,LayerList:()=>CI,MediaQuery:()=>PI,MediaQueryList:()=>LI,NestingSelector:()=>$I,Nth:()=>VI,Number:()=>HI,Operator:()=>tj,Parentheses:()=>aj,Percentage:()=>dj,PseudoClassSelector:()=>gj,PseudoElementSelector:()=>xj,Ratio:()=>Ej,Raw:()=>jj,Rule:()=>Rj,Scope:()=>Uj,Selector:()=>Kj,SelectorList:()=>e4,String:()=>l4,StyleSheet:()=>m4,SupportsDeclaration:()=>w4,TypeSelector:()=>A4,UnicodeRange:()=>T4,Url:()=>q4,Value:()=>Q4,WhiteSpace:()=>Z4});var e_=y(()=>{BP(),QP(),XP(),aO(),hO(),yO(),CO(),PO(),DO(),_O(),HO(),nT(),hT(),wT(),AT(),TT(),FT(),_T(),KT(),eI(),aI(),dI(),gI(),xI(),NI(),II(),MI(),_I(),GI(),JI(),ij(),uj(),hj(),wj(),zj(),Tj(),Fj(),Wj(),Yj(),Xj(),i4(),d4(),v4(),S4(),P4(),L4(),U4(),K4(),tL()}),FL,t_=y(()=>{$W(),HW(),JW(),e_(),FL={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:xL,atrule:jL,pseudo:LL,node:DL}}),ML,r_=y(()=>{rL(),ML={node:Bw}}),RL,n_=y(()=>{g9(),PW(),t_(),r_(),RL=jP({...nL,...FL,...ML})}),i_=y(()=>{}),o_=G(()=>{}),a_,s_,en,l_,$L,u_,BL,qw,c_,d_,p_,m_,Ww,Gi=y(()=>{n_(),i_(),bw(),vP(),kw(),a_=re(o_(),1),Fw(),$4(),{tokenize:s_,parse:en,generate:l_,lexer:$L,createLexer:u_,walk:BL,find:qw,findLast:c_,findAll:d_,toPlainObject:p_,fromPlainObject:m_,fork:Ww}=RL}),qL={};z(qL,{default:()=>WL});var $n,Xd,m0,ha,Ef,h0,fa,WL,h_=y(()=>{Gi(),q(),rn(),Fm(),Nr(),$r(),qe(),He(),H(),I(),L(),F(),Et(),$n="declaration-block-no-duplicate-properties",Xd=j($n,{rejected:e=>`Unexpected duplicate "${e}"`}),m0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},ha=e=>"children"in e&&e.children instanceof Pc,Ef=(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"&&vt(a)&&o.type==="Identifier"&&vt(s)||i.type==="Identifier"&&o.type==="Identifier"&&tz.has(r.toLowerCase())&&Ac.has(a.toLowerCase())&&Ac.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let u="unit"in i?i.unit:"",l="unit"in o?o.unit:"";if(u!==l)return!1;let c=ha(i)?i.children.toArray():null,d=ha(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(Ef(c,d,r))continue;return!1}}return!0},h0=(e,t,r)=>{if(e===t)return!0;if(!($e(e)&&$e(t)))return!1;let n,i;try{n=en(e,{context:"value"}),i=en(t,{context:"value"})}catch{return!1}let o=ha(n)?n.children.toArray():[],a=ha(i)?i.children.toArray():[];return Ef(o,a,r)},fa=(e,t)=>(r,n)=>{if(!D(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"),u=l=>()=>{l.remove()};Dm(r,l=>{let c=[];l(d=>{let p=d.prop,h=d.prop.toLowerCase(),b=d.value,m=d.important;if(!Rr(p)||vt(p)||R(t,"ignoreProperties",p)||h==="src")return;let v=c.findIndex(A=>A.prop.toLowerCase()===h);v===-1&&c.push(d);let g=c[v];if(!g)return;let f=g.value||"",x=g.important||!1,w=!m&&x,k=v===c.length-1,S=Ke.unprefixed(b)===Ke.unprefixed(f),E=()=>{let A=w?d:g,T=w?p:g.prop;w||(c[v]=d),P({message:Xd.rejected,messageArgs:[T],node:A,result:n,ruleName:$n,word:T,fix:{apply:u(A),node:A.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&h0(b,f,p)){E();return}return b!==f?void 0:P({message:Xd.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:$n,word:g.prop,fix:{apply:u(g),node:g.parent}})}i&&k||E()})})},fa.ruleName=$n,fa.messages=Xd,fa.meta=m0,WL=fa}),_L={};z(_L,{default:()=>UL});var Pf,Bn,Jd,f0,g0,b0,v0,ga,UL,f_=y(()=>{Pf=re(me(),1),q(),Yy(),He(),Fm(),rn(),H(),I(),L(),F(),Et(),Bn="declaration-block-no-redundant-longhand-properties",Jd=j(Bn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Unexpected longhand property "${e}" after shorthand property "${t}" with same value`}),f0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},g0=new Map([["font-synthesis",e=>{var a,s,u;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=(u=e.get("font-synthesis-small-caps"))==null?void 0:u.value.trim(),i=l=>l==="none"||l==="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,u;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=(u=e.get("grid-template-rows"))==null?void 0:u.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(l=>l[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((l,c)=>`${l} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var a,s,u,l;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,Pf.default)(d),h=[];{let b=[];p.nodes.forEach(m=>{if(m.type==="div"&&m.value===","){h.push(b),b=[];return}b.push(m)}),h.push(b)}return h.map(b=>Pf.default.stringify(b).trim()).filter(b=>b.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((u=e.get("transition-timing-function"))==null?void 0:u.value),o=t((l=e.get("transition-property"))==null?void 0:l.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(", ")}]]),b0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],v0=(e,t,r)=>{let n=g0.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)},ga=(e,t)=>(r,n)=>{var a;if(!D(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,u]of ac.entries())if(!R(t,"ignoreShorthands",s))for(let l of u){if(o.includes(l))continue;let c=i.get(l)||[];c.push(s),i.set(l,c)}Dm(r,s=>{let u=new Map,l=new Map,c=new Map;s(d=>{let p=d.value.trim();if(Ie.has(d.value))return;let h=d.prop.toLowerCase(),b=Ke.unprefixed(h),m=Ke.prefix(h);ac.has(b)&&c.set(h,p);let v=i.get(b);if(v)for(let g of v){let f=m+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Bn,result:n,node:d,word:d.prop,message:Jd.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=u.get(f)||[],w=l.get(f)||[];x.push(h),u.set(f,x),w.push(d),l.set(f,w);let k=new Set(ac.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>m+te);if(!Qy(S.slice().sort(),x.slice().sort()))continue;let E=l.get(f)||[],A=E.reduce((te,J)=>J.important?te+1:te,0);if(A&&A!==E.length)continue;let[T]=E,N;if(T){let te=new Map(E.map(J=>[J.prop.toLowerCase(),J]));N=v0(f,S,te)}let B=T&&N?()=>{let te=T.clone({prop:f,value:N});T.replaceWith(te),E.forEach(J=>J.remove()),b0.includes(g)&&u.forEach((J,ve)=>{u.set(ve,J.filter(ce=>!x.includes(ce)))})}:void 0;P({ruleName:Bn,result:n,node:d,word:d.prop,message:Jd.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},ga.ruleName=Bn,ga.messages=Jd,ga.meta=f0,UL=ga}),VL={};z(VL,{default:()=>QL});var ba,Of,y0,va,QL,g_=y(()=>{Fm(),I(),L(),Ui(),F(),Et(),rn(),ba="declaration-block-no-shorthand-property-overrides",Of=j(ba,{rejected:(e,t)=>`Unexpected shorthand "${e}" after "${t}"`}),y0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},va=e=>(t,r)=>{D(r,ba,{actual:e})&&Dm(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Ke.unprefixed(a).toLowerCase(),u=Ke.prefix(a).toLowerCase(),l=ac.get(s),c=ez.get(s),d=Se(l!=null?l:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let h=i.get(u+p);h&&P({ruleName:ba,result:r,node:o,message:Of.rejected,messageArgs:[a,h||""],word:a})}})})},va.ruleName=ba,va.messages=Of,va.meta=y0,QL=va}),YL={};z(YL,{default:()=>GL});var ya,Tf,w0,wa,GL,b_=y(()=>{fw(),q(),Lm(),I(),L(),F(),ya="declaration-block-single-line-max-declarations",Tf=j(ya,{expected:e=>`Expected no more than ${e} ${e===1?"declaration":"declarations"}`}),w0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},wa=e=>(t,r)=>{D(r,ya,{actual:e,possible:[kr]})&&t.walkRules(n=>{let i=hw(n);!jm(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:Tf.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:ya})})},wa.ruleName=ya,wa.messages=Tf,wa.meta=w0,GL=wa});function k0(e){let t=Lr(e);return t!==void 0&&_i(t)&&ht(t)&&!vt(t.prop||"")}var v_=y(()=>{zn(),Nr(),he(),ft()}),KL={};z(KL,{default:()=>HL});var ka,ep,x0,xa,HL,y_=y(()=>{he(),fw(),Qc(),Gc(),fE(),Sm(),v_(),Nr(),Kc(),zm(),Lm(),ft(),H(),I(),L(),F(),ka="declaration-empty-line-before",ep=j(ka,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),x0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},xa=(e,t,r)=>(n,i)=>{D(i,ka,{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||Am(o)||!Oe(s)&&!ut(s)&&!ur(s)||!ht(o)||vt(a)||R(t,"ignore","after-comment")&&Ti(o)||R(t,"ignore","after-declaration")&&k0(o)||R(t,"ignore","first-nested")&&Dr(o)||R(t,"ignore","inside-single-line-block")&&jm(hw(s)))return;let u=e==="always";(R(t,"except","first-nested")&&Dr(o)||R(t,"except","after-block")&&hE(o)||R(t,"except","after-comment")&&Ti(o)||R(t,"except","after-declaration")&&k0(o))&&(u=!u);let l=Yc(o.raws.before);if(u===l)return;let c=u?ep.expected:ep.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ka,fix:{apply:()=>Vc({node:o,newline:r.newline,action:d}),node:o.parent}})})},xa.ruleName=ka,xa.messages=ep,xa.meta=x0,HL=xa});function ZL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var XL=y(()=>{}),JL={};z(JL,{default:()=>eD});var Sa,If,S0,Ca,eD,w_=y(()=>{q(),XL(),I(),L(),F(),Sa="declaration-no-important",If=j(Sa,{rejected:"Unexpected !important"}),S0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Ca=e=>(t,r)=>{D(r,Sa,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=ZL(n.toString());Ue(i),P({message:If.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Sa})})},Ca.ruleName=Sa,Ca.messages=If,Ca.meta=S0,eD=Ca});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Er=y(()=>{});function um(e){return t=>xr(t)?Object.values(t).every(r=>e(r)):!1}var _w=y(()=>{q()}),tD={};z(tD,{default:()=>rD});var C0,Aa,jf,A0,z0,za,rD,k_=y(()=>{C0=re(me(),1),q(),Er(),De(),V(),I(),L(),_w(),F(),Aa="declaration-property-max-values",jf=j(Aa,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"value":"values"}`}),A0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},z0=e=>e.type==="word"||e.type==="function"||e.type==="string",za=e=>(t,r)=>{D(r,Aa,{actual:e,possible:[um(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Y.multipleValues.test(o))return;let a=(0,C0.default)(o).nodes.filter(z0).length,s=Object.keys(e).find(l=>Ee(i,l));if(!s)return;let u=e[s];oc(u),!(a<=u)&&P({message:jf.expected,messageArgs:[i,u],node:n,result:r,ruleName:Aa})})},za.ruleName=Aa,za.messages=jf,za.meta=A0,rD=za});function x_(e,t=" "){return e.replace(/[#@{}]+/g,t)}var S_=y(()=>{});function Ki(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!$e(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=x_(e.value,"").replace("\\0","").replace("\\9","");return nD.default.unit(t)||{unit:null,number:null}}var nD,Hi=y(()=>{nD=re(me(),1),S_(),qe()}),iD={};z(iD,{default:()=>oD});var N0,Na,Lf,E0,Ea,oD,C_=y(()=>{N0=re(me(),1),X(),Hi(),q(),De(),H(),I(),L(),Ht(),F(),Na="declaration-property-unit-allowed-list",Lf=j(Na,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),E0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ea=(e,t)=>(r,n)=>{D(n,Na,{actual:e,possible:[Dt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Ee(o,c));if(!s)return;let u=e[s];if(!u)return;let l=new Set([u].flat());(0,N0.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}=Ki(c);if(!d||l.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,h=p+c.value.length;P({message:Lf.rejected,messageArgs:[o,d],node:i,index:p,endIndex:h,result:n,ruleName:Na})})})},Ea.ruleName=Na,Ea.messages=Lf,Ea.meta=E0,oD=Ea}),aD={};z(aD,{default:()=>sD});var P0,Pa,Df,O0,Oa,sD,A_=y(()=>{P0=re(me(),1),X(),Hi(),q(),id(),De(),V(),I(),L(),Ht(),F(),Pa="declaration-property-unit-disallowed-list",Df=j(Pa,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),O0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Oa=e=>(t,r)=>{D(r,Pa,{actual:e,possible:[Dt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Y.dimension.test(o))return;let a=Object.keys(e).find(l=>Ee(i,l));if(!a)return;let s=e[a];if(!s)return;let u=new Set([s].flat());(0,P0.default)(o).walk(l=>{if(nd(l))return!1;if(l.type==="string")return;let{unit:c}=Ki(l);if(!c||!u.has(c.toLowerCase()))return;let d=ie(n)+l.sourceIndex,p=d+l.value.length;P({message:Df.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:Pa})})})},Oa.ruleName=Pa,Oa.messages=Df,Oa.meta=O0,sD=Oa}),lD={};z(lD,{default:()=>uD});var Ta,Ff,T0,Ia,uD,z_=y(()=>{q(),X(),De(),H(),I(),L(),Ht(),F(),Ta="declaration-property-value-allowed-list",Ff=j(Ta,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),T0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Ia=e=>(t,r)=>{if(!D(r,Ta,{actual:e,possible:[Dt($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.some(c=>R(e,c,a)))return;let u=ie(i),l=u+i.value.length;P({message:Ff.rejected,messageArgs:[o,a],node:i,index:u,endIndex:l,result:r,ruleName:Ta})})},Ia.ruleName=Ta,Ia.messages=Ff,Ia.meta=T0,uD=Ia}),cD={};z(cD,{default:()=>dD});var ja,Mf,I0,La,dD,N_=y(()=>{q(),X(),De(),H(),I(),L(),Ht(),F(),ja="declaration-property-value-disallowed-list",Mf=j(ja,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),I0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},La=e=>(t,r)=>{if(!D(r,ja,{actual:e,possible:[Dt($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.every(c=>!R(e,c,a)))return;let u=ie(i),l=u+i.value.length;P({message:Mf.rejected,messageArgs:[o,a],node:i,index:u,endIndex:l,result:r,ruleName:ja})})},La.ruleName=ja,La.messages=Mf,La.meta=I0,dD=La}),pD={};z(pD,{default:()=>mD});var j0,Da,tp,L0,rp,D0,F0,Fa,mD,E_=y(()=>{j0=re(me(),1),q(),zr(),X(),Ye(),ft(),qe(),V(),H(),I(),L(),Bt(),rn(),F(),Da="declaration-property-value-keyword-no-deprecated",tp=j(Da,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Unexpected deprecated keyword "${t}" for property "${e}"`}),L0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},rp={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"},D0=[...Zb.values()].map(e=>[e,rp]),F0=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",rp],["scrollbar-color",rp],["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"]],...D0]),Fa=(e,t)=>(r,n)=>{D(n,Da,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,U]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Y.keyword.test(a)||!ht(i)||R(t,"ignoreKeywords",a))return;let s=F0.get(o.toLowerCase());if(!s)return;let u=(0,j0.default)(Qe(i)),l=!0;u.walk(c=>{c.type!=="comment"&&($e(c.value)||(l=!1))}),l&&u.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Zy.has(p))return!1;if(c.type!=="word")return;let h=c.sourceIndex,b,m,v;if(Array.isArray(s)){if(!s.includes(p))return;m=tp.rejected,v=[o,d]}else{let x=s[p];if(!x)return;m=tp.expected,v=[d,x],b=()=>{c.value=x,$t(i,u.toString())}}let g=ie(i)+h,f=g+d.length;P({message:m,messageArgs:v,node:i,result:n,ruleName:Da,index:g,endIndex:f,fix:{apply:b,node:i}})})})},Fa.ruleName=Da,Fa.messages=tp,Fa.meta=L0,mD=Fa});function P_(e){return yD?structuredClone(e):JSON.parse(JSON.stringify(e))}function ye(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function O_(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 Yt(e){return e>=48&&e<=57}function T_(e){return e>=65&&e<=90}function I_(e){return e>=97&&e<=122}function Ni(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function j_(e){return I_(e)||T_(e)}function Fi(e){return j_(e)||L_(e)||e===95}function Uw(e){return Fi(e)||Yt(e)||e===ot}function L_(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||!!Mi(e)||e>=65536}function D_(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function cm(e){return e===Sn||e===xn||e===12}function vn(e){return e===32||e===Sn||e===9||e===xn||e===12}function Mi(e){return e>=55296&&e<=57343}function Zi(e){var t;return e.source.codePointAt(e.cursor)===92&&!cm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function dm(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Fi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!cm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Fi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||Zi(t)}function M0(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===Cn||e.source.codePointAt(e.cursor)===ot?!!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 F_(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function M_(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function R_(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 $_(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 B_(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 yr(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 Km(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new Dc(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),jr;if(Ni(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Ni(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||Mi(a)||a>1114111?jr:a}return r===0||Mi(r)?jr:r}function Hm(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Mi(i))r.push(jr),t.advanceCodePoint(+(i>65535)+1);else if(Uw(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!Zi(t))return r;t.advanceCodePoint(),r.push(Km(e,t))}}}function q_(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Uw(r)||Zi(t))){let n=pm.Unrestricted;dm(0,t)&&(n=pm.ID);let i=Hm(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 W_(e,t){var n,i,o,a,s,u;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==Cn&&t.source.codePointAt(t.cursor)!==ot||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)!==ot&&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((u=t.source.codePointAt(t.cursor))!=null?u:-1);)t.advanceCodePoint()}return r}function Rf(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===Cn&&(r="+")}let n=W_(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(dm(0,t)){let o=Hm(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 __(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 U_(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 yr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(cm(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 yr(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||Mi(o)?r+=String.fromCodePoint(jr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(cm((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(Km(e,t))}}}function V_(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function $f(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();Zi(t)?(t.advanceCodePoint(),Km(e,t)):t.advanceCodePoint()}}function Q_(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 u=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new yr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],u)),u}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 u=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new yr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],u)),u}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}]):($f(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||D_(s!=null?s:-1)){$f(e,t);let u=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(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`],u)),u}if(s===92){if(Zi(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Km(e,t));continue}$f(e,t);let u=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(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"],u)),u}t.source.codePointAt(t.cursor)===0||Mi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(jr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function Bf(e,t){var n,i;let r=Hm(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(V_(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 u=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(u===34||u===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 Q_(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function Y_(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&&!Ni((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function G_(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Ni(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&&Ni((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Ni(i);)n.push(i),t.advanceCodePoint();if(!n.length){let u=parseInt(String.fromCodePoint(...r),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:u,endOfRange:u}]}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 yt(e,t){let r=hD(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function hD(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new wD(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:K_};return{nextToken:function(){i.resetRepresentation();let u=i.source.codePointAt(i.cursor);if(u===void 0)return[C.EOF,"",-1,-1,void 0];if(u===47&&F_(i))return B_(o,i);if(n&&(u===117||u===85)&&Y_(i))return G_(0,i);if(Fi(u))return Bf(o,i);if(Yt(u))return Rf(o,i);switch(u){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 U_(o,i);case 35:return q_(o,i);case Cn:case 46:return M0(i)?Rf(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 __(i);case ot:return M0(i)?Rf(o,i):M_(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):dm(0,i)?Bf(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return O_(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(),dm(0,i)){let l=Hm(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...l)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(Zi(i))return Bf(o,i);i.advanceCodePoint();let l=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new yr(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"],l)),l}}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 K_(){}function H_(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...fD(r));e[1]=n,e[4].value=t}function Zm(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=fD(r);n[0]===101&&Gv(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 fD(e){let t=0;if(e[0]===0)e.splice(0,1,jr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Fi(e[1])||(t+=Gv(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Fi(e[0])?t=1:(t=1,t+=Gv(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Uw(e[r])||(r+=Z_(e,r,e[r])):(e.splice(r,1,jr),r++);return e}function Z_(e,t,r){return e.splice(t,1,92,r),1}function Gv(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 Lc(e){return!!Array.isArray(e)&&!(e.length<4)&&!!kD.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function rt(e){if(!e)return!1;switch(e[0]){case C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function xt(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function gD(e){return!!e&&e[0]===C.Colon}function tn(e){return!!e&&e[0]===C.Comma}function Xm(e){return!!e&&e[0]===C.Comment}function Ft(e){return!!e&&e[0]===C.Delim}function Le(e){return!!e&&e[0]===C.Dimension}function Gt(e){return!!e&&e[0]===C.EOF}function X_(e){return!!e&&e[0]===C.Function}function _e(e){return!!e&&e[0]===C.Ident}function Ae(e){return!!e&&e[0]===C.Number}function Ve(e){return!!e&&e[0]===C.Percentage}function bD(e){return!!e&&e[0]===C.Semicolon}function J_(e){return!!e&&e[0]===C.String}function eU(e){return!!e&&e[0]===C.URL}function Vw(e){return!!e&&e[0]===C.Whitespace}function Xi(e){return!!e&&e[0]===C.OpenParen}function tU(e){return!!e&&e[0]===C.CloseParen}function rU(e){return!!e&&e[0]===C.OpenSquare}function vD(e){return!!e&&e[0]===C.OpenCurly}var Dc,yr,ir,yD,xn,ot,Sn,Cn,jr,C,ne,pm,wD,kD,nt=y(()=>{Dc=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}},yr=class extends Dc{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 "\\"'},yD=typeof globalThis<"u"&&"structuredClone"in globalThis,xn=13,ot=45,Sn=10,Cn=43,jr=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"})(pm||(pm={})),wD=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}},kD=Object.values(C)});function vi(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 Jm(e,t){let r=t[0];if(Xi(r)||vD(r)||rU(r)){let n=iU(e,t);return{advance:n.advance,node:n.node}}if(X_(r)){let n=nU(e,t);return{advance:n.advance,node:n.node}}if(Vw(r)){let n=xD(e,t);return{advance:n.advance,node:n.node}}if(Xm(r)){let n=oU(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new ue(r)}}function nU(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Gt(i))return e.onParseError(new Dc("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 Lt(t[0],i,r)};if(tU(i))return{advance:n+1,node:new Lt(t[0],i,r)};if(xt(i)){let a=SD(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Jm(e,t.slice(n));n+=o.advance,r.push(o.node)}}function iU(e,t){let r=R_(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||Gt(o))return e.onParseError(new Dc("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 mm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new mm(t[0],o,n)};if(xt(o)){let s=SD(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Jm(e,t.slice(i));i+=a.advance,n.push(a.node)}}function xD(e,t){let r=0;for(;;){let n=t[r];if(!Vw(n))return{advance:r,node:new zt(t.slice(0,r))};r++}}function oU(e,t){return{advance:1,node:new eh(t[0])}}function SD(e,t){let r=[],n=0;for(;;){if(Vw(t[n])){let i=xD(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Xm(t[n]))return{advance:n,nodes:r};r.push(new eh(t[n])),n++}}function Ji(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Gt(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]||Gt(n[o]))return i;let s=Jm(r,n.slice(o));i.push(s.node),o+=s.advance}}function CD(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Gt(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]||Gt(n[a]))return o.length&&i.push(o),i;if(tn(n[a])){i.push(o),o=[],a++;continue}let u=Jm(r,e.slice(a));o.push(u.node),a+=u.advance}}function aU(e,t,r){if(e.length===0)return;let n=vi(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&&aU(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 AD(e){return e.map(t=>t.map(r=>ye(...r.tokens())).join("")).join(",")}function Pr(e){return mm.isSimpleBlockNode(e)}function Ge(e){return Lt.isFunctionNode(e)}function Fc(e){return zt.isWhitespaceNode(e)}function Qw(e){return eh.isCommentNode(e)}function At(e){return Fc(e)||Qw(e)}function se(e){return ue.isTokenNode(e)}function Mt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Mt(i)[0],Mt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Pe,qf,Lt,mm,zt,eh,ue,wt=y(()=>{nt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Pe||(Pe={})),qf=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=vi(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)}},Lt=class Kv extends qf{constructor(r,n,i){super();_(this,"type",Pe.Function);_(this,"name");_(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Gt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Gt(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=>Lc(n)?ye(n):n.toString()).join("");return ye(this.name)+r+ye(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Kv.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Kv&&r.type===Pe.Function}},mm=class Hv extends qf{constructor(r,n,i){super();_(this,"type",Pe.SimpleBlock);_(this,"startToken");_(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Gt(this.endToken)){let r=$_(this.startToken);r&&(this.endToken=r)}}tokens(){return Gt(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=>Lc(n)?ye(n):n.toString()).join("");return ye(this.startToken)+r+ye(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Hv.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Hv&&r.type===Pe.SimpleBlock}},zt=class Zv{constructor(t){_(this,"type",Pe.Whitespace);_(this,"value");this.value=t}tokens(){return this.value}toString(){return ye(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Zv.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof Zv&&t.type===Pe.Whitespace}},eh=class Xv{constructor(t){_(this,"type",Pe.Comment);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ye(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Xv.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Xv&&t.type===Pe.Comment}},ue=class Jv{constructor(t){_(this,"type",Pe.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 Jv.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Jv&&t.type===Pe.Token}}});function Nt(e){return e.replace(ND,t=>String.fromCharCode(t.charCodeAt(0)+32))}function Rt(e,t){if(!Le(e)||!Le(t))return t;let r=Nt(e[4].unit),n=Nt(t[4].unit);if(r===n)return t;let i=Kw.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 Zm(s,e[4].unit),s}function sU(e){if(!Le(e))return e;let t=Nt(e[4].unit),r=ED[t];if(t===r)return e;let n=Kw.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 Zm(a,r),a}function lU(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 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(Ve(r)&&Ve(n)){let o=r[4].value+n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Le(r)&&Le(n)&&(n=Rt(r,n),Nt(r[4].unit)===Nt(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(Ae(r)&&(Le(n)||Ve(n))||Ae(n)&&(Le(r)||Ve(r)))&&((i=t.onParseError)==null||i.call(t,new Gw(Mc.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function uU(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 ue([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ve(t)&&Ae(r)){let n=t[4].value/r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Le(t)&&Ae(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 Ct(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(se(i)){r.push(i);continue}let o=Ct(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function cU(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 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(Ve(t)&&Ae(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ve(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Le(t)&&Ae(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(Ae(t)&&Le(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 Ri(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!se(n))continue;let i=n.value;if(!_e(i))continue;let o=Nt(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 th(e){if(e.length!==1)return-1;let t=e[0].value;return rt(t)?e[0]:-1}function Kt(e,t,r){return Le(t)?od(e,t[4].unit,r):Ve(t)?dU(e,r):Ae(t)?Cr(e,r):-1}function od(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:th}}function dU(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:th}}function Cr(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:th}}function pU(e,t){let r=t.value;return Ae(r)?od(e,"rad",Math.acos(r[4].value)):-1}function mU(e,t){let r=t.value;return Ae(r)?od(e,"rad",Math.asin(r[4].value)):-1}function hU(e,t){let r=t.value;return Ae(r)?od(e,"rad",Math.atan(r[4].value)):-1}function rh(e){return Le(e)||Ae(e)}function Yw(e){if(e.length===0)return!0;let t=e[0];if(!rt(t))return!1;if(e.length===1)return!0;if(Le(t)){let r=Nt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==Nt(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 Fr(e,t){return!!rt(e)&&(Le(e)?e[0]===t[0]&&Nt(e[4].unit)===Nt(t[4].unit):e[0]===t[0])}function fU(e,t,r){let n=t.value;if(!rh(n))return-1;let i=Rt(n,r.value);return Fr(n,i)?od(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function gU(e,t,r){let n=t.value;return!rt(n)||!r.rawPercentages&&Ve(n)?-1:Kt(e,n,Math.abs(n[4].value))}function bU(e,t,r,n,i){if(!se(t)||!se(r)||!se(n))return-1;let o=t.value;if(!rt(o)||!i.rawPercentages&&Ve(o))return-1;let a=Rt(o,r.value);if(!Fr(o,a))return-1;let s=Rt(o,n.value);return Fr(o,s)?Kt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function vU(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value;if(Le(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=Rc.get("rad")(r[4].value);break;case"grad":n=$i.get("rad")(r[4].value);break;case"turn":n=Bi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Cr(e,n)}function yU(e,t){let r=t.value;return Ae(r)?Cr(e,Math.exp(r[4].value)):-1}function wU(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!rt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Yw(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return Kt(e,n,a)}function R0(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!rt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Yw(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return Kt(e,n,a)}function $0(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!rt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Yw(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return Kt(e,n,a)}function kU(e,t,r){let n=t.value;if(!rt(n))return-1;let i=Rt(n,r.value);if(!Fr(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,Kt(e,n,o)}function xU(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Fr(n,i)?-1:Cr(e,Math.pow(n[4].value,i[4].value))}function SU(e,t,r){let n=t.value;if(!rt(n))return-1;let i=Rt(n,r.value);if(!Fr(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,Kt(e,n,o)}function CU(e,t,r,n,i){let o=r.value;if(!rt(o)||!i.rawPercentages&&Ve(o))return-1;let a=Rt(o,n.value);if(!Fr(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 if(Number.isFinite(a[4].value))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 u=Math.floor(o[4].value/a[4].value)*a[4].value,l=Math.ceil(o[4].value/a[4].value)*a[4].value;if(u>l){let p=u;u=l,l=p}let c=Math.abs(o[4].value-u),d=Math.abs(o[4].value-l);s=c===d?l:c<d?u:l;break}}else s=o[4].value;else s=Number.NaN;return Kt(e,o,s)}function AU(e,t,r){let n=t.value;return!rt(n)||!r.rawPercentages&&Ve(n)?-1:Cr(e,Math.sign(n[4].value))}function zU(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value;if(Le(r))switch(Nt(r[4].unit)){case"rad":break;case"deg":n=Rc.get("rad")(r[4].value);break;case"grad":n=$i.get("rad")(r[4].value);break;case"turn":n=Bi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Cr(e,n)}function NU(e,t){let r=t.value;return Ae(r)?Cr(e,Math.sqrt(r[4].value)):-1}function EU(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Le(r))switch(Nt(r[4].unit)){case"rad":i=ty.get("deg")(n);break;case"deg":i=n,o=Rc.get("rad")(n);break;case"grad":i=$i.get("deg")(n),o=$i.get("rad")(n);break;case"turn":i=Bi.get("deg")(n),o=Bi.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),Cr(e,o)}function PU(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 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(Ve(r)&&Ve(n)){let o=r[4].value-n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Le(r)&&Le(n)&&(n=Rt(r,n),Nt(r[4].unit)===Nt(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(Ae(r)&&(Le(n)||Ve(n))||Ae(n)&&(Le(r)||Ve(r)))&&((i=t.onParseError)==null||i.call(t,new Gw(Mc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function OU(e,t){if(t.length===1){let r=t[0];if(!r||!se(r))return-1;let n=r.value;return Ae(n)?Cr(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!se(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!se(i))return-1;let o=i.value;return Ae(o)?Cr(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function ey(e){if(Array.isArray(e)){let r=e.filter(n=>!(Fc(n)&&Qw(n)));return r.length===1&&ey(r[0])}if(!se(e))return!1;let t=e.value;return!!_e(t)&&PD.test(t[4].value)}function TU(e,t,r,n,i,o){var h;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(!rt(a))return-1;let s=Rt(a,n.value);if(!Fr(a,s))return-1;let u=null;if(i&&(u=Rt(a,i.value),!Fr(a,u)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return Kt(e,a,Number.NaN);if(u&&!Number.isFinite(u[4].value))return Kt(e,a,a[4].value);let l=t.fixed===-1?IU(jU([t.dashedIdent?t.dashedIdent:`${(h=o.randomCaching)==null?void 0:h.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(OD))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),u&&(u[4].value<=0||Math.abs(c-d)/u[4].value>1e10)&&(u=null),u){let b=Math.max(u[4].value/1e3,1e-9),m=[c],v=0;for(;;){v+=u[4].value;let f=c+v;if(!(f+b<d)){m.push(d);break}if(m.push(f),f+u[4].value-b>d)break}let g=l();return Kt(e,a,Number(m[Math.floor(m.length*g)].toFixed(5)))}let p=l();return Kt(e,a,Number((p*(d-c)+c).toFixed(5)))}function IU(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 jU(e){let t=0,r=0,n=0;t^=-1;for(let i=0,o=e.length;i<o;i++)n=255&(t^e.charCodeAt(i)),r=+("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*n,9*n+8)),t=t>>>8^r;return(-1^t)>>>0}function bt(e,t,r){let n=Ri([...e.value.filter(o=>!At(o))],t);if(n.length===1&&se(n[0]))return{inputs:[n[0]],operation:th};let i=0;for(;i<n.length;){let o=n[i];if(Pr(o)&&Xi(o.startToken)){let a=bt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(Ge(o)){let a=hm.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||!se(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!se(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let u=n[i+2];if(!u||!se(u)&&!un(u))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,u],operation:uU}):n.splice(i,3,{inputs:[o,u],operation:cU})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!se(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!se(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let u=n[i+2];if(!u||!se(u)&&!un(u))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,u],operation:PU}):n.splice(i,3,{inputs:[o,u],operation:lU})}return n.length===1&&un(n[0])?n[0]:-1}function fr(e,t,r,n){let i=LU(e,t,r);return i===-1?-1:n(e,i,r)}function LU(e,t,r){let n=Ri([...e.value.filter(o=>!At(o))],t),i=Ct(bt(jt(e,n),t,r),r);return i===-1?-1:i}function np(e,t,r,n){let i=DU(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function DU(e,t,r){let n=Ri([...e.value.filter(u=>!At(u))],t),i=[],o=[];{let u=i;for(let l=0;l<n.length;l++){let c=n[l];if(se(c)&&tn(c.value)){if(u===o)return-1;if(u===i){u=o;continue}return-1}u.push(c)}}let a=Ct(bt(jt(e,i),t,r),r);if(a===-1)return-1;let s=Ct(bt(jt(e,o),t,r),r);return s===-1?-1:[a,s]}function ip(e,t,r,n){let i=zD(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function zD(e,t,r,n){let i=Ri([...t.filter(a=>!At(a))],r),o=[];{let a=[],s=[];for(let u=0;u<i.length;u++){let l=i[u];se(l)&&tn(l.value)?(a.push(s),s=[]):s.push(l)}a.push(s);for(let u=0;u<a.length;u++){if(a[u].length===0)return-1;let l=Ct(bt(jt(e,a[u]),r,n),n);if(l===-1)return-1;o.push(l)}}return o}function FU(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!se(o)||!_e(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!se(s))return-1;if(tn(s.value))return[i,t.slice(a+1)];if(!_e(s.value))return-1;let u=s.value[4].value.toLowerCase();if(u!=="element-shared"){if(u==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let l=t[a];if(!l)return-1;let c=Ct(bt(jt(e,[l]),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(u!=="auto"){if(u.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=u}}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 jt(e,t){return new Lt([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function MU(e,t,r){return new Lt([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,",",...Mt(t),void 0]),r])}function RU(e){if(e===-1)return-1;if(Ge(e))return e;let t=e.value;return rt(t)&&Number.isNaN(t[4].value)?Ae(t)?new Lt([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"}])]):Le(t)?new Lt([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 zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[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}])]):Ve(t)?new Lt([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 zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function $U(e){if(e===-1)return-1;if(Ge(e))return e;let t=e.value;if(!rt(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 Lt([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"}])]):Le(t)?new Lt([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 zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[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 Lt([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 zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])])}function BU(e){if(e===-1)return-1;if(Ge(e))return e;let t=e.value;return rt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ve(t)?t[1]="-0%":Le(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function qU(e,t=13){if(e===-1)return-1;if(t<=0||Ge(e))return e;let r=e.value;if(!rt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ve(r)?r[1]=n+"%":Le(r)&&(r[1]=n+r[4].unit),e}function WU(e){return e===-1?-1:(Ge(e)||Le(e.value)&&(e.value=sU(e.value)),e)}function _U(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=WU(r)),r=qU(r,t==null?void 0:t.precision),r=BU(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=RU(r),r=$U(r)),r}function UU(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(Lc(n))t.set(r,n);else if(typeof n=="string"){let i=hD({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!rt(o))continue;t.set(r,o);continue}return t}function VU(e,t){let r=UU(t==null?void 0:t.globals);return QU(e,n=>{if(!Ge(n))return;let i=hm.get(n.getName().toLowerCase());if(!i)return;let o=_U(Ct(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function QU(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],u=i.parent.value[o-1];se(u)&&Ft(u.value)&&(u.value[4].value==="-"||u.value[4].value==="+")&&s.splice(0,0,new zt([[C.Whitespace," ",...Mt(i.node),void 0]]));let l=i.parent.value[o+1];!l||At(l)||se(l)&&(tn(l.value)||gD(l.value)||bD(l.value)||Ft(l.value)&&l.value[4].value!=="-"&&l.value[4].value!=="+")||s.push(new zt([[C.Whitespace," ",...Mt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var B0,Gw,Mc,ND,ED,q0,Rc,$i,W0,_0,U0,V0,Q0,Y0,G0,K0,H0,ty,Z0,Bi,Kw,PD,OD,hm,X0,YU,GU=y(()=>{wt(),nt(),B0=class extends Error{constructor(t,r,n){super(t);_(this,"sourceStart");_(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Gw=class extends B0{constructor(t,r){super(t,...Mt(r));_(this,"componentValues");this.componentValues=r}},Mc={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},ND=/[A-Z]/g,ED={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"},q0=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]]),Rc=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),$i=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),W0=new Map([["hz",e=>e],["khz",e=>e/1e3]]),_0=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]]),U0=new Map([["hz",e=>1e3*e],["khz",e=>e]]),V0=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]]),Q0=new Map([["ms",e=>e],["s",e=>e/1e3]]),Y0=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]]),G0=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]]),K0=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]]),H0=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]]),ty=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]]),Z0=new Map([["ms",e=>1e3*e],["s",e=>e]]),Bi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Kw=new Map([["cm",q0],["mm",V0],["q",H0],["in",_0],["pc",Y0],["pt",G0],["px",K0],["ms",Q0],["s",Z0],["deg",Rc],["grad",$i],["rad",ty],["turn",Bi],["hz",W0],["khz",U0]]),PD=/^none$/i,OD=String.fromCodePoint(0),hm=new Map([["abs",function(e,t,r){return fr(e,t,r,gU)}],["acos",function(e,t,r){return fr(e,t,r,pU)}],["asin",function(e,t,r){return fr(e,t,r,mU)}],["atan",function(e,t,r){return fr(e,t,r,hU)}],["atan2",function(e,t,r){return np(e,t,r,fU)}],["calc",bt],["clamp",function(e,t,r){let n=Ri([...e.value.filter(m=>!At(m))],t),i=[],o=[],a=[];{let m=i;for(let v=0;v<n.length;v++){let g=n[v];if(se(g)&&tn(g.value)){if(m===a)return-1;if(m===o){m=a;continue}if(m===i){m=o;continue}return-1}m.push(g)}}let s=ey(i),u=ey(a);if(s&&u)return bt(jt(e,o),t,r);let l=Ct(bt(jt(e,o),t,r),r);if(l===-1)return-1;if(s){let m=Ct(bt(jt(e,a),t,r),r);return m===-1?-1:$0((c=e,d=l,p=m,new Lt([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,",",...Mt(d),void 0]),p])),[l,m],r)}if(u){let m=Ct(bt(jt(e,i),t,r),r);return m===-1?-1:R0(MU(e,m,l),[m,l],r)}var c,d,p;let h=Ct(bt(jt(e,i),t,r),r);if(h===-1)return-1;let b=Ct(bt(jt(e,a),t,r),r);return b===-1?-1:bU(e,h,l,b,r)}],["cos",function(e,t,r){return fr(e,t,r,vU)}],["exp",function(e,t,r){return fr(e,t,r,yU)}],["hypot",function(e,t,r){return ip(e,t,r,wU)}],["log",function(e,t,r){return ip(e,t,r,OU)}],["max",function(e,t,r){return ip(e,t,r,R0)}],["min",function(e,t,r){return ip(e,t,r,$0)}],["mod",function(e,t,r){return np(e,t,r,kU)}],["pow",function(e,t,r){return np(e,t,r,xU)}],["random",function(e,t,r){let n=FU(e,e.value.filter(c=>!At(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=zD(e,o,t,r);if(a===-1)return-1;let[s,u,l]=a;return!s||!u?-1:TU(e,i,s,u,l,r)}],["rem",function(e,t,r){return np(e,t,r,SU)}],["round",function(e,t,r){let n=Ri([...e.value.filter(c=>!At(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&&se(p)&&_e(p.value)){let h=p.value[4].value.toLowerCase();if(X0.has(h)){i=h;continue}}if(se(p)&&tn(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 u=Ct(bt(jt(e,a),t,r),r);if(u===-1)return-1;o||s.length!==0||s.push(new ue([C.Number,"1",u.value[2],u.value[3],{value:1,type:ne.Integer}]));let l=Ct(bt(jt(e,s),t,r),r);return l===-1?-1:(i||(i="nearest"),CU(e,i,u,l,r))}],["sign",function(e,t,r){return fr(e,t,r,AU)}],["sin",function(e,t,r){return fr(e,t,r,zU)}],["sqrt",function(e,t,r){return fr(e,t,r,NU)}],["tan",function(e,t,r){return fr(e,t,r,EU)}]]),X0=new Set(["nearest","up","down","to-zero"]),YU=new Set(hm.keys())}),TD,KU=y(()=>{TD={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",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","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 | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-height":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ [ auto | from-element ]? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"[ auto | from-element ]? [ 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","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 | 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-block":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-bottom":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-left":"<visual-box> || <length [0,∞]>","overflow-clip-margin-right":"<visual-box> || <length [0,∞]>","overflow-clip-margin-top":"<visual-box> || <length [0,∞]>","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","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","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto",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-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> | <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()> | <-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()":"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-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> ]","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-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-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-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","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 | 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=ZU(t,i))}return t}function ZU(e,t){let r={};return r.atrules=XU(e.atrules,t.atrules),r.properties=ry(e.properties,t.properties),r.types=ry(e.types,t.types),r.cssWideKeywords=JU(e.cssWideKeywords,t.cssWideKeywords),r.units=e8(e.units,t.units),r}function XU(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=r8(s.prelude,a.prelude),s.descriptors=ry(s.descriptors,a.descriptors),r[o]=s}return r}function ry(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]=t8(r[i],o);return r}function JU(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 e8(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 t8(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function r8(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 n8=y(()=>{});function ID(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=$L.units,u={};for(let[l,c]of Object.entries(r.units)){let d=s[l];u[l]=d?[...d,...c]:c}r.units=u}let n=JSON.stringify(r),i=ny.get(n);if(i)return i;let{lexer:o}=Ww(HU(jD,r));return ny.set(n,o),o}var jD,ny,LD=y(()=>{Gi(),KU(),n8(),{next:jD}=TD,ny=new Map});function i8(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Hw;)r=r.parent}var Hw,o8=y(()=>{he(),Hw="STOP"});function Zw(e,t){let r;return i8(e,n=>{if(t(n))return r=n,Hw}),r}var Xw=y(()=>{o8()});function DD(e){return!!Zw(e,a8)}function a8(e){return Oe(e)&&!yc.has(e.name.toLowerCase())}var FD=y(()=>{Xw(),he(),Vi()});function MD(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Ee(r,a));return o?!!Ee(n,o[1]):!1}var RD=y(()=>{De()}),$D={};z($D,{default:()=>WD});function BD(e){return!!qw(e,t=>t.type==="Function"&&qD.has(t.name.toLowerCase()))}function s8(e){let t=!1;return En(e,({node:r})=>{if(!(!Ge(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 l8(e,t,r,n){var u;if(!Y.mathFunction.test(e))return["undetermined",-1,-1];let i=Ji(yt({css:e}),{});if(s8(i))return["skip-validation",-1,-1];let o=[],a=VU([i],{onParseError:l=>{o.push(l)}});for(let l of o)switch(l.message){case Mc.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case Mc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",l.sourceStart,l.sourceEnd+1];default:break}let s=AD(a);if(Y.mathFunction.test(s))return["undetermined",-1,-1];try{let l=en(s,{context:"value",positions:!0});if(BD(l))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((u=n.get(t))!=null?u:t,l);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,h=a.flatMap(g=>g.flatMap(f=>f.tokens())),b=0,m,v;return h.forEach(g=>{d===b&&(m=g),b+=g[1].length,p===b&&(v=g)}),!m||!v?["invalid",-1,-1]:["invalid",m[2],v[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var gr,qn,J0,eS,qD,Wf,_f,Ma,WD,u8=y(()=>{GU(),nt(),Gi(),wt(),V(),q(),X(),Uy(),Ye(),LD(),Nr(),he(),FD(),ft(),$r(),qe(),RD(),I(),L(),Ht(),_w(),F(),gr="declaration-property-value-no-unknown",qn=j(gr,{rejected:(e,t)=>`Unexpected unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Unexpected invalid math expression "${t}" for property "${e}"`}),J0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},eS=/^syntax$/i,qD=new Set(["clamp","min","max","env"]),Wf=new WeakMap,_f=1e4,Ma=(e,t)=>(r,n)=>{var c;if(!D(n,gr,{actual:e},{actual:t,possible:{ignoreProperties:[Dt($,U)],propertiesSyntax:[um($)],typesSyntax:[um($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&bc(`We've deprecated the "propertiesSyntax" option of "${gr}".`,"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&&bc(`We've deprecated the "typesSyntax" option of "${gr}".`,"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)=>MD(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(we.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!vt(p))){for(let h of d.nodes)if(_i(h)&&eS.test(h.prop)){let b=h.value.trim(),m=o4.decode(b);if(m===b||m==="*")continue;let v=`-stylelint${p}`;s.set(p,v),o[v]=m}}});let u=Object.keys(o).length>0||Object.keys(a).length>0?ID((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,l=Wf.get(u);l||(l=new Set,Wf.set(u,l)),r.walkDecls(d=>{var N;let{prop:p}=d,h=Qe(d);if(/^-moz-initial$/i.test(h)||!ht(d)||DD(d)||!Rr(p)||!$e(h)||vt(p)&&!s.has(p)||i(p,h)||/\bvar\s*\(/i.test(h))return;let b=vt(p)?null:`${p}:${h}`;if(b&&l.has(b))return;let[m,v,g]=l8(h,p,u,s);if(m==="valid"||m==="skip-validation"){b&&l.size<_f&&l.add(b);return}if(m==="invalid"){let B=ie(d),te=h,J=B,ve=J+te.length;v!==-1&&g!==-1&&(te=h.slice(v,g),J=B+v,ve=J+te.length),P({message:qn.rejectedMath,messageArgs:[p,te],node:d,index:J,endIndex:ve,result:n,ruleName:gr});return}let f;try{if(f=en(h,{context:"value",positions:!0}),BD(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(h))return;let B=ie(d),te=B+h.length;P({message:qn.rejectedParseError,messageArgs:[p,h],node:d,index:B,endIndex:te,result:n,ruleName:gr});return}let{error:x}=u.matchProperty((N=s.get(p))!=null?N:p,f);if(!x){b&&l.size<_f&&l.add(b);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ie(d),A=h.slice(S.start.offset,S.end.offset),T=qw(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(T!=null&&T.loc){let B=h.slice(T.loc.start.offset,T.loc.end.offset),te=E+T.loc.start.offset,J=te+B.length;P({message:qn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:J,result:n,ruleName:gr});return}P({message:qn.rejected,messageArgs:[p,A],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:gr})})},Ma.ruleName=gr,Ma.messages=qn,Ma.meta=J0,WD=Ma}),_D={};z(_D,{default:()=>YD});function tS(e){return UD.test(e)?1:VD.test(e)?2:QD.test(e)?3:0}function c8(e,t){return tS(e)-tS(t)}function d8(e){return e.map(t=>t[4].value).sort(c8).join(" ").toLowerCase()}function p8(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Xm),a=e.slice(e.indexOf(r)+1);return ye(...i,...n.flatMap((s,u)=>{let l=[];return u!==0&&l.push([C.Whitespace," ",-1,-1,void 0]),l.push([C.Ident,s,-1,-1,{value:s}]),l}),...o,...a)}var Ra,Uf,rS,UD,VD,QD,nS,iS,oS,$a,YD,m8=y(()=>{nt(),He(),X(),Ye(),qe(),V(),I(),L(),Bt(),F(),Ra="display-notation",Uf=j(Ra,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),rS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},UD=new RegExp(`^(?:${[...Xy.values()].join("|")})$`,"i"),VD=new RegExp(`^(?:${[...Jy.values()].join("|")})$`,"i"),QD=new RegExp(`^(?:${[...ew.values()].join("|")})$`,"i"),nS=/^display$/i,iS={"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"]},oS={"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"]},$a=e=>(t,r)=>{D(r,Ra,{actual:e,possible:["short","full"]})&&t.walkDecls(nS,n=>{let i=Qe(n);if(!Y.displayKeyword.test(i)||!$e(i))return;let o=yt({css:i});if(o.some(p=>!(xt(p)||Gt(p)||_e(p))))return;let a=o.filter(_e);if(!a.length)return;let s=d8(a),u=e==="short"?oS[s]:iS[s];if(!u)return;let l=a.at(0),c=a.at(-1);if(!l||!c)return;let d=ie(n);P({message:Uf.expected,messageArgs:[s,u.join(" ")],node:n,index:d+l[2],endIndex:d+c[3]+1,result:r,ruleName:Ra,fix:{apply:()=>{$t(n,p8(o,l,c,u))},node:n}})})},$a.ruleName=Ra,$a.messages=Uf,$a.meta=rS,YD=$a});function Ep(e){return e.toString().trim().length!==0&&Number(e)==e}var GD=y(()=>{});function aS(e){if(!e)return!1;if(Wp.has(e))return!0;let t=KD.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||Oi.has(r.toLowerCase()))}var KD,h8=y(()=>{KD=re(me(),1),He(),Uc()});function ad(e){return e.toLowerCase().startsWith("var(")}var sd=y(()=>{});function f8(e,t,r){return e.value=e.value+r+t.value,e}function Jw(e){let t=[],r=(0,HD.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Ie.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,u)=>{if(a.type==="function")return!1;if(!ZD.has(a.type))return;let l=a.value.toLowerCase();if(!$e(l)||ad(l))return;let c=Zr.has(l);if(!c&&tw.has(l)||!c&&aS(a.value))return;let d=u[s+1],p=u[s-1],h=u[s-2],b=u.slice(0,s);if(c&&Wp.has(l)&&!(!d||iy(d)||b.find(iy))||p&&p.value==="/"&&h&&aS(h.value)||Ep(l))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 m=a;if(i){let v=t[t.length-1];Ue(v),f8(v,m,o),i=!1,o=null}else t.push(m)}),t}var HD,ZD,iy,ek=y(()=>{HD=re(me(),1),He(),q(),GD(),qe(),h8(),sd(),ZD=new Set(["word","string","space","div"]),iy=e=>e.type==="div"&&e.value===","}),XD={};z(XD,{default:()=>JD});function g8(e){return!!(bz.has(e)||e==="BlinkMacSystemFont")}function b8(e){return!/^[-a-z]+$/i.test(e)}function v8(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ba,Vf,sS,lS,qa,JD,y8=y(()=>{He(),ek(),qe(),sd(),V(),I(),L(),F(),Ba="font-family-name-quotes",Vf=j(Ba,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},lS=(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(u){r.slice(i+1).forEach(l=>l.sourceIndex+=u)},removeQuotes(){if(this.hasQuotes===!1)return;let u=this.sourceIndex,l=u+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,u)+this.name+t.value.substring(l),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let u=this.sourceIndex,l=u+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,u)+c+t.value.substring(l),this.resetIndexes(2)}};r.push(s)}),r},qa=e=>(t,r)=>{if(!D(r,Ba,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(Mr.fontFamilyAndShorthandName,o=>{if(!$e(o.value))return;let a=lS(Jw(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:u,hasQuotes:l}=o;if(ad(u))return;if(Zr.has(s.toLowerCase())||g8(s))return l?i("rejected",o,a):void 0;let c=v8(s),d=b8(s);switch(e){case"always-unless-keyword":return l?void 0:i("expected",o,a);case"always-where-recommended":return!d&&l?i("rejected",o,a):d&&!l?i("expected",o,a):void 0;case"always-where-required":if(!c&&l)return i("rejected",o,a);if(c&&!l)return i("expected",o,a)}}function i(o,a,s){let{name:u,rawName:l}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ba,message:Vf[o],messageArgs:[u],node:s,word:l,fix:{apply:c,node:s}})}},qa.ruleName=Ba,qa.messages=Vf,qa.meta=sS,JD=qa}),eF={};z(eF,{default:()=>tF});var Wa,Qf,uS,cS,_a,tF,w8=y(()=>{q(),X(),ek(),He(),H(),V(),I(),L(),F(),Wa="font-family-no-duplicate-names",Qf=j(Wa,{rejected:e=>`Unexpected duplicate font-family name ${e}`}),uS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},cS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),_a=(e,t)=>(r,n)=>{if(!D(n,Wa,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,U]},optional:!0}))return;r.walkDecls(Mr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,u=Jw(o.value);if(u.length!==0)for(let l of u){let c=l.value.trim();if(R(t,"ignoreFontFamilyNames",c))continue;let d="quote"in l?l.quote+c+l.quote:c;if(cS(l)){if(a.has(c.toLowerCase())){i(c,ie(o)+l.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+l.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,u){P({result:n,ruleName:Wa,message:Qf.rejected,messageArgs:[o],node:u,index:a,endIndex:a+s})}},_a.ruleName=Wa,_a.messages=Qf,_a.meta=uS,tF=_a}),rF={};z(rF,{default:()=>nF});var Ua,Yf,dS,pS,mS,Va,nF,k8=y(()=>{Hc(),q(),He(),X(),ek(),he(),qe(),sd(),H(),V(),I(),L(),F(),Ua="font-family-no-missing-generic-family-keyword",Yf=j(Ua,{rejected:"Unexpected missing generic font family"}),dS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},pS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),mS=e=>{let t=Ii.list.comma(e).pop();return t!=null&&(ad(t)||!$e(t))},Va=(e,t)=>(r,n)=>{if(!D(n,Ua,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,U]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(Mr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&gz.has(o.value.toLowerCase())||mS(o.value))return;let s=Jw(o.value);if(s.length===0||s.some(p=>pS(p))||s.some(p=>R(t,"ignoreFontFamilies",p.value)))return;let u=s[s.length-1];Ue(u);let l=ie(o),c=l+u.sourceIndex,d=l+u.sourceEndIndex;P({result:n,ruleName:Ua,message:Yf.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},Va.ruleName=Ua,Va.messages=Yf,Va.meta=dS,nF=Va}),iF={};z(iF,{default:()=>oF});function oy(e){return e!==void 0&&e.type==="div"}function x8(e,t,r){return!(e.type!=="word"||oy(r[t-1])||oy(r[t+1]))}var hS,Qa,Ya,fS,gS,bS,Gf,Ga,oF,S8=y(()=>{hS=re(me(),1),He(),V(),q(),X(),Ye(),GD(),qe(),sd(),H(),I(),L(),Bt(),F(),Qa="font-weight-notation",Ya=j(Qa,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),fS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},gS="normal",bS=new Map([["normal","400"],["bold","700"]]),Gf=new Map([["400","normal"],["700","bold"]]),Ga=(e,t)=>(r,n)=>{if(!D(n,Qa,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=R(t,"ignore","relative");r.walkDecls(Mr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Y.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Y.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",u=(0,hS.default)(Qe(a)),l=u.nodes,c=l.some((d,p,h)=>Ep(d.value)&&!oy(h[p-1]));for(let[d,p]of l.entries()){if(!x8(p,d,l))continue;let{value:h}=p;if(s){if(h.toLowerCase()===gS&&c)continue;if(o(a,p,u))break}o(a,p,u)}});function o(a,s,u){let l=s.value;if(!$e(l)||ad(l))return;let c=l.toLowerCase();if(i&&Bp.has(c))return;let d=h=>()=>{s.value=h,$t(a,u.toString())};if(e==="numeric"){if(!Ep(c)&&qp.has(c)){let h=bS.get(c);return h?p(Ya.expectedWithActual,[l,h],s,d(h)):p(Ya.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&Ep(c)&&Gf.has(c)){let h=Gf.get(c);Wi(h);let b=d(h);return p(Ya.expectedWithActual,[l,h],s,b),!0}function p(h,b,m,v){let g=ie(a)+m.sourceIndex,f=g+m.value.length;P({ruleName:Qa,result:n,message:h,messageArgs:b,node:a,index:g,endIndex:f,fix:{apply:v,node:a}})}}},Ga.ruleName=Qa,Ga.messages=Ya,Ga.meta=fS,oF=Ga}),aF={};z(aF,{default:()=>sF});function C8(e){let t=e.prop.toLowerCase();if(vt(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 vS,Ka,Kf,yS,Wn,sF,A8=y(()=>{vS=re(me(),1),q(),X(),Nr(),td(),De(),I(),L(),F(),Ka="function-allowed-list",Kf=j(Ka,{rejected:e=>`Unexpected function "${e}"`}),yS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Wn=(e,t)=>(r,n)=>{var o;if(!D(n,Ka,{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,vS.default)(a.value).walk(s=>{let{type:u,sourceIndex:l,value:c}=s;if(u!=="function"||!ed(s)||Ee(c,e)&&(!Ee(c,i)||C8(a)))return;let d=ie(a)+l,p=d+c.length;P({message:Kf.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:Ka})})})},Wn.primaryOptionArray=!0,Wn.ruleName=Ka,Wn.messages=Kf,Wn.meta=yS,sF=Wn}),lF={};z(lF,{default:()=>pF});function z8(e){let t=yt({css:e});return t.forEach((r,n)=>{if(!Le(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;Zm(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=yt({css:a}).slice(0,-1);s.forEach(u=>{u[2]+=r[3],u[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!Ft(r)||r[4].value!=="#")return;let i=t[n+1];if(!vD(i))return;let o=t[n+2];!Ft(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),Ji(t)}function wS(e){if(Pr(e))return!0;if(Ge(e)){let t=e.getName().toLowerCase();return!!(Qi.has(t)||t==="var")}return se(e)?cF.has(e.value[0]):!1}function op(e=" "){return new zt([[C.Whitespace,e,-1,-1,void 0]])}function N8(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;At(s);)s=e.value[++t];for(wS(s)&&(r=s,s=e.value[++t]);At(s);)i.push(s),s=e.value[++t];for(se(s)&&Ft(s.value)&&uF.has(s.value[4].value)&&(a=s,s=e.value[++t]);At(s);)o.push(s),s=e.value[++t];for(wS(s)&&(n=s,s=e.value[++t]);At(s);)s=e.value[++t];if(!r||!n){for(;s;){if(se(s)&&(tn(s.value)||bD(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new dF(r,i,n,o,a),t]}var Ha,cn,kS,uF,xS,SS,Za,cF,dF,pF,E8=y(()=>{var e,ay,r;wt(),nt(),X(),Ye(),zr(),V(),I(),L(),Bt(),F(),q(),Ha="function-calc-no-unspaced-operator",cn=j(Ha,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),kS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},uF=new Set(["+","-"]),xS=new RegExp(`^(?:${[...Qi].join("|")})$`,"i"),SS=/\n|\r\n/,Za=n=>(i,o)=>{if(!D(o,Ha,{actual:n}))return;function a(s,u,l,c,d){let p=l+c.length;P({message:s,messageArgs:[c],node:u,index:l,endIndex:p,result:o,ruleName:Ha,fix:{apply:d,node:u}})}i.walkDecls(s=>{let u=Qe(s);if(!Y.operator.test(u)||!Y.mathFunction.test(u))return;let l=z8(u);if(l.length===0)return;let c=ie(s),d=()=>$t(s,AD([l]));function p(m,v,g){v[g].some(Fc)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertWhitespace(m,g),d()})}function h(m,v){if(se(v.firstOperand)){let g=v.firstOperand.value,f=(x,w)=>{if(!(x&&Y.operator.test(x)))return!1;let[,,,k]=g;return v.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertOperatorAfterFirstOperand(m),w(),d()}),!0};if(Le(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Zm(g,k)))return}if(_e(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>H_(g,k)))return}}if(se(v.secondOperand)&&rt(v.secondOperand.value)){let g=v.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Y.operator.test(x)&&(v.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+v.operatorCharPosition,v.operatorChar,()=>{v.insertOperatorBeforeSecondOperand(m),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function b(m,v){m[v].forEach(g=>{if(!Fc(g))return;let f=g.toString();if(f===" ")return;let x=f.search(SS);if(x===0)return;let w=v==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+m.operatorCharPosition,m.operatorChar,()=>{g.value=op(x===-1?" ":f.slice(x)).value,d()})})}En(l,({node:m,state:v})=>{if(!v)return;if(Ge(m))v.inMathFunction=xS.test(m.getName().toLowerCase());else if(!Pr(m)||!Xi(m.startToken)){v.inMathFunction=!1;return}if(!v.inMathFunction)return;let g=0,f;for(;g!==-1&&g<m.value.length;){if([f,g]=N8(m,g),!f){g++;continue}f.operator||h(m,f),f.operator&&(p(m,f,"before"),p(m,f,"after"),b(f,"before"),b(f,"after")),g=m.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},cF=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),dF=(r=class{constructor(n,i,o,a,s){Sk(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return gh(this,e,ay)[4].value}get operatorCharPosition(){return gh(this,e,ay)[2]}insertWhitespace(n,i){Ue(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,op())}insertOperatorAfterFirstOperand(n){Ue(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){Ue(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=[op()]):this.after=[op()]}},e=new WeakSet,ay=function(){var n;return Ue(Ft((n=this.operator)==null?void 0:n.value)),this.operator.value},r),Za.ruleName=Ha,Za.messages=cn,Za.meta=kS,pF=Za}),mF={};z(mF,{default:()=>hF});var CS,Xa,Hf,AS,_n,hF,P8=y(()=>{CS=re(me(),1),q(),X(),td(),De(),I(),L(),F(),Xa="function-disallowed-list",Hf=j(Xa,{rejected:e=>`Unexpected function "${e}"`}),AS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},_n=e=>(t,r)=>{D(r,Xa,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,CS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!ed(i)||!Ee(s,e))return;let u=ie(n)+a,l=u+s.length;P({message:Hf.rejected,messageArgs:[s],node:n,index:u,endIndex:l,result:r,ruleName:Xa})})})},_n.primaryOptionArray=!0,_n.ruleName=Xa,_n.messages=Hf,_n.meta=AS,hF=_n});function ld(e,t,r){let n=(0,sy.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,u;if(i.value.toLowerCase()==="url"){let[l]=(0,sy.default)(e.slice(i.sourceIndex+o.length)).nodes;Ue(l);let c=s+l.sourceEndIndex-1-(e[s+l.sourceEndIndex-2]===")"?a:0);u=e.slice(s,c)}else{let l=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);u=e.slice(s,l)}r(u,s,i,n)})}var sy,ud=y(()=>{sy=re(me(),1),q()}),fF={};z(fF,{default:()=>vF});function O8(e,t){let r=t?gF:bF,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Zf,Ja,Xf,zS,Jf,NS,ES,Un,gF,bF,PS,OS,TS,es,vF,T8=y(()=>{Zf=re(me(),1),X(),ud(),qe(),I(),L(),F(),Et(),Ja="function-linear-gradient-no-nonstandard-direction",Xf=j(Ja,{rejected:"Unexpected nonstandard direction"}),zS={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Jf="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",NS=new RegExp(`${Jf}\\(`,"i"),ES=new RegExp(`^${Jf}$`,"i"),Un=/top|left|bottom|right/i,gF=new RegExp(`^to (${Un.source})(?: (${Un.source}))?$`,"i"),bF=new RegExp(`^(${Un.source})(?: (${Un.source}))?$`,"i"),PS=/[\d.]/,OS=/^[\d.]+(?:deg|grad|rad|turn)$/,TS=/\bin\b/i,es=e=>(t,r)=>{D(r,Ja,{actual:e})&&t.walkDecls(n=>{NS.test(n.value)&&(0,Zf.default)(n.value).walk(i=>{i.type==="function"&&ld(Zf.default.stringify(i).toLowerCase(),ES,(o,a)=>{let s=o.split(","),u=(s[0]||"").trim();if(!$e(u)||u.startsWith("var(")||TS.test(u))return;if(PS.test(u.charAt(0))){if(OS.test(u))return;c();return}if(!Un.test(u))return;let l=!Ke.prefix(i.value);O8(u,l)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Xf.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:Ja})}})})})},es.ruleName=Ja,es.messages=Xf,es.meta=zS,vF=es}),yF={};z(yF,{default:()=>wF});var IS,ts,eg,jS,ap,rs,wF,I8=y(()=>{IS=re(me(),1),q(),zr(),X(),Ye(),td(),qe(),H(),I(),L(),Bt(),F(),ts="function-name-case",eg=j(ts,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),jS={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},ap=new Map;for(let e of hz)ap.set(e.toLowerCase(),e);rs=(e,t)=>(r,n)=>{D(n,ts,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!$e(i.value))return;let o=(0,IS.default)(Qe(i));o.walk(a=>{if(a.type!=="function"||!ed(a))return;let s=a.value,u=s.toLowerCase();if(R(t,"ignoreFunctions",s))return;let l;if(e==="lower"&&ap.has(u)?l=ap.get(u):e==="lower"?l=u:l=s.toUpperCase(),s===l)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=l,$t(i,o.toString())};P({message:eg.expected,messageArgs:[s,l],node:i,index:c,endIndex:d,result:n,ruleName:ts,fix:{apply:p,node:i}})})})},rs.ruleName=ts,rs.messages=eg,rs.meta=jS,wF=rs}),kF,j8=y(()=>{kF=["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 L8(e){return e.startsWith("--")}var D8=y(()=>{}),xF={};z(xF,{default:()=>SF});var ns,tg,LS,is,SF,F8=y(()=>{wt(),j8(),nt(),q(),X(),D8(),qe(),H(),I(),L(),F(),ns="function-no-unknown",tg=j(ns,{rejected:e=>`Unexpected unknown function "${e}"`}),LS={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},is=(e,t)=>(r,n)=>{D(n,ns,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&$e(o)&&En(Ji(yt({css:o})),({node:a})=>{if(!Ge(a))return;let s=a.getName();if(L8(s)||R(t,"ignoreFunctions",s)||kF.includes(s.toLowerCase()))return;let u=ie(i),l=u+a.name[2],c=u+a.name[3];P({message:tg.rejected,messageArgs:[s],node:i,index:l,endIndex:c,result:n,ruleName:ns})})})},is.ruleName=ns,is.messages=tg,is.meta=LS,SF=is});function nh(e){return e.length===0?!0:LA(e)||MA(e)||TA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!EA(e):!(e.startsWith("@")&&CF.test(e)||e.includes("$")&&AF.test(e)&&!e.endsWith("/"))}var CF,AF,ih=y(()=>{OA(),jA(),FA(),$A(),CF=/^@@?[\w-]+$/,AF=/^[$\s\w+\-,./*'"@#?]+$/}),zF={};z(zF,{default:()=>NF});var os,rg,DS,ng,as,NF,M8=y(()=>{V(),ud(),ih(),I(),L(),F(),os="function-url-no-scheme-relative",rg=j(os,{rejected:"Unexpected scheme-relative url"}),DS={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},ng=(e,t,r)=>{ld(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!nh(o)||!o.startsWith("//")||P({message:rg.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:os})})},as=e=>(t,r)=>{D(r,os,{actual:e})&&(t.walkDecls(n=>{ng(n,n.toString(),r)}),t.walkAtRules(we.importName,n=>{ng(n,n.toString(),r)}))},as.ruleName=os,as.messages=rg,as.meta=DS,NF=as}),EF={};z(EF,{default:()=>PF});var ss,ig,FS,ls,PF,R8=y(()=>{nt(),X(),ud(),lt(),Ye(),ft(),ih(),V(),H(),I(),L(),F(),ss="function-url-quotes",ig=j(ss,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Unexpected quotes around "${e}" function argument`}),FS={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},ls=(e,t)=>(r,n)=>{if(!D(n,ss,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=R(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(l),r.walkDecls(u);function a(b,m,v,g){return()=>{switch(v){case"expected":c(m);break;case"rejected":d(m);break}switch(b.type){case"decl":b.value=g.toString();break;case"atrule":b.params=g.toString();break}}}function s(b,m,v){ld(m,/^url$/i,(g,f,x,w)=>{let k=h(g,v+f);if(k){let{messageType:S,...E}=k,A=ig[S],T=[x.value.toLowerCase()],N=a(b,x,S,w);P({...E,node:b,fix:{apply:N,node:b},message:A,messageArgs:T,result:n,ruleName:ss})}})}function u(b){if(!Y.urlFunction.test(b.value)||!ht(b))return;let m=Qe(b),v=ie(b);s(b,m,v)}function l(b){let m=st(b),v=Te(b);s(b,m,v)}function c(b){for(let m of b.nodes)m.type==="word"&&(m.value=`"${m.value}"`)}function d(b){for(let m of b.nodes)m.type==="string"&&(m.type="word")}function p(b){var w;let m=b,v=(w=b[0])!=null?w:"",g=b.lastIndexOf(v);g>0&&(m=b.slice(1,g));let f=yt({css:`url(${m})`});if(f.length!==2)return!0;let x=f[0];return!eU(x)}function h(b,m){let v=b.trimStart();if(!nh(v))return;let g=e==="always";i&&o.has(b.trim())&&(g=!g);let f=v.startsWith("'")||v.startsWith('"');if(f&&p(v)||g&&f||!g&&!f)return;let x=g?"expected":"rejected",w=m+b.length-v.length,k=m+b.length;return{messageType:x,index:w,endIndex:k}}},ls.ruleName=ss,ls.messages=ig,ls.meta=FS,PF=ls});function OF(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 TF=y(()=>{}),IF={};z(IF,{default:()=>jF});var us,og,MS,Vn,jF,$8=y(()=>{q(),ud(),TF(),ih(),De(),I(),L(),F(),us="function-url-scheme-allowed-list",og=j(us,{rejected:e=>`Unexpected URL scheme "${e}:"`}),MS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Vn=e=>(t,r)=>{D(r,us,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{ld(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!nh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),u=OF(s);u!==null&&(Ee(u,e)||P({message:og.rejected,messageArgs:[u],node:n,index:o,endIndex:o+i.length,result:r,ruleName:us}))})})},Vn.primaryOptionArray=!0,Vn.ruleName=us,Vn.messages=og,Vn.meta=MS,jF=Vn}),LF={};z(LF,{default:()=>DF});var cs,ag,RS,Qn,DF,B8=y(()=>{q(),ud(),TF(),ih(),De(),I(),L(),F(),cs="function-url-scheme-disallowed-list",ag=j(cs,{rejected:e=>`Unexpected URL scheme "${e}:"`}),RS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Qn=e=>(t,r)=>{D(r,cs,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{ld(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!nh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),u=OF(s);u!==null&&Ee(u,e)&&P({message:ag.rejected,messageArgs:[u],node:n,index:o,endIndex:o+i.length,result:r,ruleName:cs})})})},Qn.primaryOptionArray=!0,Qn.ruleName=cs,Qn.messages=ag,Qn.meta=RS,DF=Qn}),FF={};z(FF,{default:()=>MF});function q8(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(tv.has(r))return t[0+n];if(rv.has(r))return t[2+n]}var sg,ds,lg,$S,ps,MF,W8=y(()=>{sg=re(me(),1),zr(),X(),Ye(),qe(),V(),I(),L(),Bt(),F(),ds="hue-degree-notation",lg=j(ds,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),$S={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},ps=e=>(t,r)=>{D(r,ds,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Y.hueColorFunction.test(n.value))return;let i=(0,sg.default)(Qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Gy.has(a))return;let s=q8(o);if(!s)return;let{value:u}=s;if(!$e(u))return;let l=sg.default.unit(u);if(!l)return;let c=l.unit.toLowerCase()==="deg",d=l.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${l.number}deg`:l.number,h=u,b=ie(n),m=()=>{s.value=p,$t(n,i.toString())};P({message:lg.expected,messageArgs:[h,p],node:n,index:b+s.sourceIndex,endIndex:b+s.sourceEndIndex,result:r,ruleName:ds,fix:{apply:m,node:n}})})})},ps.ruleName=ds,ps.messages=lg,ps.meta=$S,MF=ps});function RF(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var $F=y(()=>{}),BF={};z(BF,{default:()=>qF});var ms,hs,sp,BS,ug,fs,qF,_8=y(()=>{ms=re(me(),1),X(),V(),lt(),I(),L(),$F(),F(),hs="import-notation",sp=j(hs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),BS={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},ug=(e,t,r)=>()=>{let n=e.params.slice(r);RF(e,`${t}${n}`)},fs=e=>(t,r)=>{if(!D(r,hs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(we.importName,n);function n(i){var u;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=Te(i),s=(0,ms.default)(o);for(let l of s.nodes){let{sourceEndIndex:c,type:d,value:p}=l,h=a+c,b={node:i,index:a,endIndex:h,result:r,ruleName:hs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let m=ms.default.stringify(l),v=ms.default.stringify(l.nodes),g=((u=l.nodes[0])==null?void 0:u.type)==="word"?`"${v}"`:v,f=ug(i,g,c),x=sp.expected;P({...b,message:x,messageArgs:[m,g],fix:{apply:f,node:b.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let m=`url(${ms.default.stringify(l)})`,v=d==="word"?`"${p}"`:`${l.quote}${p}${l.quote}`,g=ug(i,m,c),f=sp.expected;P({...b,message:f,messageArgs:[v,m],fix:{apply:g,node:b.node}});return}}}},fs.ruleName=hs,fs.messages=sp,fs.meta=BS,qF=fs}),WF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",u=!1,l=0;l<6&&a[l]!==void 0;l++){var c=a.charCodeAt(l),d=c>=97&&c<=102||c>=48&&c<=57;if(u=c===32,!d)break;s+=a[l]}if(s.length!==0){var p=parseInt(s,16),h=p>=55296&&p<=57343;return h||p===0||p>1114111?["�",s.length+(u?1:0)]:[String.fromCodePoint(p),s.length+(u?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",u=0;u<o.length;u++){if(o[u]==="\\"){var l=r(o.slice(u+1,u+7));if(l!==void 0){s+=l[0],u+=l[1];continue}if(o[u+1]==="\\"){s+="\\",u++;continue}o.length===u+1&&(s+=o[u]);continue}s+=o[u]}return s}t.exports=e.default}),U8=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}),V8=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}),Q8=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),oh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(WF());e.unesc=t.default;var r=o(U8());e.getProp=r.default;var n=o(V8());e.ensureObject=n.default;var i=o(Q8());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=oh();function n(s,u){for(var l=0;l<u.length;l++){var c=u[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,u,l){return u&&n(s.prototype,u),l&&n(s,l),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(u,l){if(typeof u!="object"||u===null)return u;var c=new u.constructor;for(var d in u)if(u.hasOwnProperty(d)){var p=u[d],h=typeof p;d==="parent"&&h==="object"?l&&(c[d]=l):p instanceof Array?c[d]=p.map(function(b){return s(b,c)}):c[d]=s(p,c)}return c},a=(function(){function s(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var u=s.prototype;return u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.replaceWith=function(){if(this.parent){for(var l in arguments)this.parent.insertBefore(this,arguments[l]);this.remove()}return this},u.next=function(){return this.parent.at(this.parent.index(this)+1)},u.prev=function(){return this.parent.at(this.parent.index(this)-1)},u.clone=function(l){l===void 0&&(l={});var c=o(this);for(var d in l)c[d]=l[d];return c},u.appendToPropertyAndEscape=function(l,c,d){this.raws||(this.raws={});var p=this[l],h=this.raws[l];this[l]=p+c,h||d!==c?this.raws[l]=(h||p)+d:delete this.raws[l]},u.setPropertyAndEscape=function(l,c,d){this.raws||(this.raws={}),this[l]=c,this.raws[l]=d},u.setPropertyWithoutEscape=function(l,c){this[l]=c,this.raws&&delete this.raws[l]},u.isAtPosition=function(l,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>l||this.source.end.line<l||this.source.start.line===l&&this.source.start.column>c||this.source.end.line===l&&this.source.end.column<c)},u.stringifyProperty=function(l){return this.raws&&this.raws[l]||this[l]},u.valueToString=function(){return String(this.stringifyProperty("value"))},u.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.before;return l===void 0&&(l=this.spaces&&this.spaces.before),l||""},set:function(l){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=l}},{key:"rawSpaceAfter",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.after;return l===void 0&&(l=this.spaces.after),l||""},set:function(l){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=l}}]),s})();e.default=a,t.exports=e.default}),gt=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 u="comment";e.COMMENT=u;var l="combinator";e.COMBINATOR=l;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),tk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(gt());function i(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:v})(m)}function o(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var g=i(v);if(g&&g.has(m))return g.get(m);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in m)if(w!=="default"&&Object.prototype.hasOwnProperty.call(m,w)){var k=x?Object.getOwnPropertyDescriptor(m,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=m[w]}return f.default=m,g&&g.set(m,f),f}function a(m){return m&&m.__esModule?m:{default:m}}function s(m,v){var g=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(g)return(g=g.call(m)).next.bind(g);if(Array.isArray(m)||(g=u(m))||v&&m&&typeof m.length=="number"){g&&(m=g);var f=0;return function(){return f>=m.length?{done:!0}:{done:!1,value:m[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 u(m,v){if(m){if(typeof m=="string")return l(m,v);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return l(m,v)}}function l(m,v){(v==null||v>m.length)&&(v=m.length);for(var g=0,f=new Array(v);g<v;g++)f[g]=m[g];return f}function c(m,v){for(var g=0;g<v.length;g++){var f=v[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(m,f.key,f)}}function d(m,v,g){return v&&c(m.prototype,v),g&&c(m,g),Object.defineProperty(m,"prototype",{writable:!1}),m}function p(m,v){m.prototype=Object.create(v.prototype),m.prototype.constructor=m,h(m,v)}function h(m,v){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},h(m,v)}var b=(function(m){p(v,m);function v(f){var x;return x=m.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=v.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 A;for(var T in this.indexes)A=this.indexes[T],k<A&&(this.indexes[T]=A+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 A;for(var T in this.indexes)A=this.indexes[T],A>=k&&(this.indexes[T]=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,E){var A=f.call(x,S);return w.push(S),A?(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(v,[{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}}]),v})(r.default);e.default=b,t.exports=e.default}),_F=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tk()),n=gt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var h=d[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}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,u(c,d)}function u(c,d){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,h){return p.__proto__=h,p},u(c,d)}var l=(function(c){s(d,c);function d(h){var b;return b=c.call(this,h)||this,b.type=n.ROOT,b}var p=d.prototype;return p.toString=function(){var h=this.reduce(function(b,m){return b.push(String(m)),b},[]).join(",");return this.trailingComma?h+",":h},p.error=function(h,b){return this._error?this._error(h,b):new Error(h)},a(d,[{key:"errorGenerator",set:function(h){this._error=h}}]),d})(r.default);e.default=l,t.exports=e.default}),UF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tk()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.SELECTOR,d}return l})(r.default);e.default=s,t.exports=e.default}),rk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(l,c){if(!l)return c;var d={};for(var p in c)d[p]=n.call(l,p)?l[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,u=function l(c,d){d=i(d,l.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",h=d.isIdentifier,b=c.charAt(0),m="",v=0,g=c.length;v<g;){var f=c.charAt(v++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&v<g){var k=c.charCodeAt(v++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:v--}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=="\\"||!h&&(f=='"'&&p==f||f=="'"&&p==f)||h&&a.test(f)?w="\\"+f:w=f;m+=w}return h&&(/^-[-\d]/.test(m)?m="\\-"+m.slice(1):/\d/.test(b)&&(m="\\3"+b+" "+m.slice(1))),m=m.replace(s,function(S,E,A){return E&&E.length%2?S:(E||"")+A}),!h&&d.wrap?p+m+p:m};u.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},u.version="3.0.0",t.exports=u}),VF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(rk()),n=oh(),i=a(nn()),o=gt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,h){for(var b=0;b<h.length;b++){var m=h[b];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function u(p,h,b){return h&&s(p.prototype,h),b&&s(p,b),Object.defineProperty(p,"prototype",{writable:!1}),p}function l(p,h){p.prototype=Object.create(h.prototype),p.prototype.constructor=p,c(p,h)}function c(p,h){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,m){return b.__proto__=m,b},c(p,h)}var d=(function(p){l(h,p);function h(m){var v;return v=p.call(this,m)||this,v.type=o.CLASS,v._constructed=!0,v}var b=h.prototype;return b.valueToString=function(){return"."+p.prototype.valueToString.call(this)},u(h,[{key:"value",get:function(){return this._value},set:function(m){if(this._constructed){var v=(0,r.default)(m,{isIdentifier:!0});v!==m?((0,n.ensureObject)(this,"raws"),this.raws.value=v):this.raws&&delete this.raws.value}this._value=m}}]),h})(i.default);e.default=d,t.exports=e.default}),QF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.COMMENT,d}return l})(r.default);e.default=s,t.exports=e.default}),YF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(d){var p;return p=u.call(this,d)||this,p.type=n.ID,p}var c=l.prototype;return c.valueToString=function(){return"#"+u.prototype.valueToString.call(this)},l})(r.default);e.default=s,t.exports=e.default}),nk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(rk()),n=oh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var h=0;h<p.length;h++){var b=p[h];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}function s(d,p,h){return p&&a(d.prototype,p),h&&a(d,h),Object.defineProperty(d,"prototype",{writable:!1}),d}function u(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,l(d,p)}function l(d,p){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,b){return h.__proto__=b,h},l(d,p)}var c=(function(d){u(p,d);function p(){return d.apply(this,arguments)||this}var h=p.prototype;return h.qualifiedName=function(b){return this.namespace?this.namespaceString+"|"+b:b},h.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(b){if(b===!0||b==="*"||b==="&"){this._namespace=b,this.raws&&delete this.raws.namespace;return}var m=(0,r.default)(b,{isIdentifier:!0});this._namespace=b,m!==b?((0,n.ensureObject)(this,"raws"),this.raws.namespace=m):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(b){this.namespace=b}},{key:"namespaceString",get:function(){if(this.namespace){var b=this.stringifyProperty("namespace");return b===!0?"":b}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),GF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nk()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.TAG,d}return l})(r.default);e.default=s,t.exports=e.default}),KF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.STRING,d}return l})(r.default);e.default=s,t.exports=e.default}),HF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(tk()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(d){var p;return p=u.call(this,d)||this,p.type=n.PSEUDO,p}var c=l.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},l})(r.default);e.default=s,t.exports=e.default}),Y8=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),ZF=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=v;var t=a(rk()),r=a(WF()),n=a(nk()),i=gt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var A=S[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function u(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function l(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,A){return E.__proto__=A,E},c(k,S)}var d=Y8(),p=/^('|")([^]*)\1$/,h=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),b=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),m=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function v(k){var S=!1,E=null,A=k,T=A.match(p);return T&&(E=T[1],A=T[2]),A=(0,r.default)(A),A!==k&&(S=!0),{deprecatedUsage:S,unescaped:A,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;m();var S=v(k.value),E=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=E,k}var f=(function(k){l(S,k);function S(A){var T;return A===void 0&&(A={}),T=k.call(this,g(A))||this,T.type=i.ATTRIBUTE,T.raws=T.raws||{},Object.defineProperty(T.raws,"unquoted",{get:d(function(){return T.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return T.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),T._constructed=!0,T}var E=S.prototype;return E._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},E._handleEscapes=function(A,T){if(this._constructed){var N=(0,t.default)(T,{isIdentifier:!0});N!==T?this.raws[A]=N:delete this.raws[A]}},E._spacesFor=function(A){var T={before:"",after:""},N=this.spaces[A]||{},B=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(T,N,B)},E._stringFor=function(A,T,N){T===void 0&&(T=A),N===void 0&&(N=w);var B=this._spacesFor(T);return N(this.stringifyProperty(A),B)},E.offsetOf=function(A){var T=1,N=this._spacesFor("attribute");if(T+=N.before.length,A==="namespace"||A==="ns")return this.namespace?T:-1;if(A==="attributeNS"||(T+=this.namespaceString.length,this.namespace&&(T+=1),A==="attribute"))return T;T+=this.stringifyProperty("attribute").length,T+=N.after.length;var B=this._spacesFor("operator");T+=B.before.length;var te=this.stringifyProperty("operator");if(A==="operator")return te?T:-1;T+=te.length,T+=B.after.length;var J=this._spacesFor("value");T+=J.before.length;var ve=this.stringifyProperty("value");if(A==="value")return ve?T:-1;T+=ve.length,T+=J.after.length;var ce=this._spacesFor("insensitive");return T+=ce.before.length,A==="insensitive"&&this.insensitive?T:-1},E.toString=function(){var A=this,T=[this.rawSpaceBefore,"["];return T.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(T.push(this._stringFor("operator")),T.push(this._stringFor("value")),T.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!A.quoted&&B.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(B.before=" "),w(N,B)}))),T.push("]"),T.push(this.rawSpaceAfter),T.join("")},u(S,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){b()}},{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 T=v(A),N=T.deprecatedUsage,B=T.unescaped,te=T.quoteMark;if(N&&h(),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}}),XF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nk()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return l})(r.default);e.default=s,t.exports=e.default}),JF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.COMBINATOR,d}return l})(r.default);e.default=s,t.exports=e.default}),eM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=gt();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return l})(r.default);e.default=s,t.exports=e.default}),G8=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}),tM=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 u=41;e.closeParenthesis=u;var l=91;e.openSquare=l;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var h=94;e.caret=h;var b=43;e.plus=b;var m=61;e.equals=m;var v=124;e.pipe=v;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 A=13;e.cr=A;var T=12;e.feed=T;var N=10;e.newline=N;var B=9;e.tab=B;var te=x;e.str=te;var J=-1;e.comment=J;var ve=-2;e.word=ve;var ce=-3;e.combinator=ce}),K8=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=b;var t=o(tM()),r,n;function i(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:v})(m)}function o(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var g=i(v);if(g&&g.has(m))return g.get(m);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in m)if(w!=="default"&&Object.prototype.hasOwnProperty.call(m,w)){var k=x?Object.getOwnPropertyDescriptor(m,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=m[w]}return f.default=m,g&&g.set(m,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),u={},l="0123456789abcdefABCDEF";for(c=0;c<l.length;c++)u[l.charCodeAt(c)]=!0;var c;function d(m,v){var g=v,f;do{if(f=m.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(m,g)+1:g++}while(g<m.length);return g-1}function p(m,v){var g=v,f=m.charCodeAt(g+1);if(!a[f])if(u[f]){var x=0;do g++,x++,f=m.charCodeAt(g+1);while(u[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var h={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=h;function b(m){var v=[],g=m.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,A,T,N,B,te,J,ve,ce,le,Re,Be,dt,Ze;function Q(K,O){if(m.safe)g+=O,le=g.length-1;else throw m.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:le=S;do le+=1,A=g.charCodeAt(le),A===t.newline&&(w=le,k+=1);while(A===t.space||A===t.newline||A===t.tab||A===t.cr||A===t.feed);Ze=t.space,B=k,N=le-w-1,E=le;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:le=S;do le+=1,A=g.charCodeAt(le);while(A===t.plus||A===t.greaterThan||A===t.tilde||A===t.pipe);Ze=t.combinator,B=k,N=S-w,E=le;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:le=S,Ze=A,B=k,N=S-w,E=le+1;break;case t.singleQuote:case t.doubleQuote:dt=A===t.singleQuote?"'":'"',le=S;do for(te=!1,le=g.indexOf(dt,le+1),le===-1&&Q("quote",dt),J=le;g.charCodeAt(J-1)===t.backslash;)J-=1,te=!te;while(te);Ze=t.str,B=k,N=S-w,E=le+1;break;default:A===t.slash&&g.charCodeAt(S+1)===t.asterisk?(le=g.indexOf("*/",S+2)+1,le===0&&Q("comment","*/"),T=g.slice(S,le+1),ce=T.split(`
36
+ `),ve=ce.length-1,ve>0?(Re=k+ve,Be=le-ce[ve].length):(Re=k,Be=w),Ze=t.comment,k=Re,B=Re,N=le-Be):A===t.slash?(le=S,Ze=A,B=k,N=S-w,E=le+1):(le=d(g,S),Ze=t.word,B=k,N=le-w),E=le+1;break}v.push([Ze,k,S-w,B,N,S,E]),Be&&(w=Be,Be=null),S=E}return v}}),H8=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(_F()),n=E(UF()),i=E(VF()),o=E(QF()),a=E(YF()),s=E(GF()),u=E(KF()),l=E(HF()),c=S(ZF()),d=E(XF()),p=E(JF()),h=E(eM()),b=E(G8()),m=S(K8()),v=S(tM()),g=S(gt()),f=oh(),x,w;function k(Q){if(typeof WeakMap!="function")return null;var K=new WeakMap,O=new WeakMap;return(k=function(W){return W?O:K})(Q)}function S(Q,K){if(!K&&Q&&Q.__esModule)return Q;if(Q===null||typeof Q!="object"&&typeof Q!="function")return{default:Q};var O=k(K);if(O&&O.has(Q))return O.get(Q);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in Q)if(M!=="default"&&Object.prototype.hasOwnProperty.call(Q,M)){var ee=Z?Object.getOwnPropertyDescriptor(Q,M):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,M,ee):W[M]=Q[M]}return W.default=Q,O&&O.set(Q,W),W}function E(Q){return Q&&Q.__esModule?Q:{default:Q}}function A(Q,K){for(var O=0;O<K.length;O++){var W=K[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Q,W.key,W)}}function T(Q,K,O){return K&&A(Q.prototype,K),O&&A(Q,O),Object.defineProperty(Q,"prototype",{writable:!1}),Q}var N=(x={},x[v.space]=!0,x[v.cr]=!0,x[v.feed]=!0,x[v.newline]=!0,x[v.tab]=!0,x),B=Object.assign({},N,(w={},w[v.comment]=!0,w));function te(Q){return{line:Q[m.FIELDS.START_LINE],column:Q[m.FIELDS.START_COL]}}function J(Q){return{line:Q[m.FIELDS.END_LINE],column:Q[m.FIELDS.END_COL]}}function ve(Q,K,O,W){return{start:{line:Q,column:K},end:{line:O,column:W}}}function ce(Q){return ve(Q[m.FIELDS.START_LINE],Q[m.FIELDS.START_COL],Q[m.FIELDS.END_LINE],Q[m.FIELDS.END_COL])}function le(Q,K){if(Q)return ve(Q[m.FIELDS.START_LINE],Q[m.FIELDS.START_COL],K[m.FIELDS.END_LINE],K[m.FIELDS.END_COL])}function Re(Q,K){var O=Q[K];if(typeof O=="string")return O.indexOf("\\")!==-1&&((0,f.ensureObject)(Q,"raws"),Q[K]=(0,f.unesc)(O),Q.raws[K]===void 0&&(Q.raws[K]=O)),Q}function Be(Q,K){for(var O=-1,W=[];(O=Q.indexOf(K,O+1))!==-1;)W.push(O);return W}function dt(){var Q=Array.prototype.concat.apply([],arguments);return Q.filter(function(K,O){return O===Q.indexOf(K)})}var Ze=(function(){function Q(O,W){W===void 0&&(W={}),this.rule=O,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,m.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=le(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:Z}),this.root.errorGenerator=this._errorGenerator();var M=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(M),this.current=M,this.loop()}var K=Q.prototype;return K._errorGenerator=function(){var O=this;return function(W,Z){return typeof O.rule=="string"?new Error(W):O.rule.error(W,Z)}},K.attribute=function(){var O=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[m.FIELDS.TYPE]!==v.closeSquare;)O.push(this.currToken),this.position++;if(this.currToken[m.FIELDS.TYPE]!==v.closeSquare)return this.expected("closing square bracket",this.currToken[m.FIELDS.START_POS]);var Z=O.length,M={source:ve(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[m.FIELDS.START_POS]};if(Z===1&&!~[v.word].indexOf(O[0][m.FIELDS.TYPE]))return this.expected("attribute",O[0][m.FIELDS.START_POS]);for(var ee=0,ge="",xe="",oe=null,Fe=!1;ee<Z;){var it=O[ee],fe=this.content(it),We=O[ee+1];switch(it[m.FIELDS.TYPE]){case v.space:if(Fe=!0,this.options.lossy)break;if(oe){(0,f.ensureObject)(M,"spaces",oe);var Or=M.spaces[oe].after||"";M.spaces[oe].after=Or+fe;var pr=(0,f.getProp)(M,"raws","spaces",oe,"after")||null;pr&&(M.raws.spaces[oe].after=pr+fe)}else ge=ge+fe,xe=xe+fe;break;case v.asterisk:if(We[m.FIELDS.TYPE]===v.equals)M.operator=fe,oe="operator";else if((!M.namespace||oe==="namespace"&&!Fe)&&We){ge&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ge,xe=""),M.namespace=(M.namespace||"")+fe;var Ot=(0,f.getProp)(M,"raws","namespace")||null;Ot&&(M.raws.namespace+=fe),oe="namespace"}Fe=!1;break;case v.dollar:if(oe==="value"){var pt=(0,f.getProp)(M,"raws","value");M.value+="$",pt&&(M.raws.value=pt+"$");break}case v.caret:We[m.FIELDS.TYPE]===v.equals&&(M.operator=fe,oe="operator"),Fe=!1;break;case v.combinator:if(fe==="~"&&We[m.FIELDS.TYPE]===v.equals&&(M.operator=fe,oe="operator"),fe!=="|"){Fe=!1;break}We[m.FIELDS.TYPE]===v.equals?(M.operator=fe,oe="operator"):!M.namespace&&!M.attribute&&(M.namespace=!0),Fe=!1;break;case v.word:if(We&&this.content(We)==="|"&&O[ee+2]&&O[ee+2][m.FIELDS.TYPE]!==v.equals&&!M.operator&&!M.namespace)M.namespace=fe,oe="namespace";else if(!M.attribute||oe==="attribute"&&!Fe){ge&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=xe,xe=""),M.attribute=(M.attribute||"")+fe;var Xt=(0,f.getProp)(M,"raws","attribute")||null;Xt&&(M.raws.attribute+=fe),oe="attribute"}else if(!M.value&&M.value!==""||oe==="value"&&!(Fe||M.quoteMark)){var Jt=(0,f.unesc)(fe),Br=(0,f.getProp)(M,"raws","value")||"",hd=M.value||"";M.value=hd+Jt,M.quoteMark=null,(Jt!==fe||Br)&&((0,f.ensureObject)(M,"raws"),M.raws.value=(Br||hd)+fe),oe="value"}else{var fd=fe==="i"||fe==="I";(M.value||M.value==="")&&(M.quoteMark||Fe)?(M.insensitive=fd,(!fd||fe==="I")&&((0,f.ensureObject)(M,"raws"),M.raws.insensitiveFlag=fe),oe="insensitive",ge&&((0,f.ensureObject)(M,"spaces","insensitive"),M.spaces.insensitive.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","insensitive"),M.raws.spaces.insensitive.before=xe,xe="")):(M.value||M.value==="")&&(oe="value",M.value+=fe,M.raws.value&&(M.raws.value+=fe))}Fe=!1;break;case v.str:if(!M.attribute||!M.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:it[m.FIELDS.START_POS]});var eo=(0,c.unescapeValue)(fe),p$=eo.unescaped,m$=eo.quoteMark;M.value=p$,M.quoteMark=m$,oe="value",(0,f.ensureObject)(M,"raws"),M.raws.value=fe,Fe=!1;break;case v.equals:if(!M.attribute)return this.expected("attribute",it[m.FIELDS.START_POS],fe);if(M.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:it[m.FIELDS.START_POS]});M.operator=M.operator?M.operator+fe:fe,oe="operator",Fe=!1;break;case v.comment:if(oe)if(Fe||We&&We[m.FIELDS.TYPE]===v.space||oe==="insensitive"){var h$=(0,f.getProp)(M,"spaces",oe,"after")||"",f$=(0,f.getProp)(M,"raws","spaces",oe,"after")||h$;(0,f.ensureObject)(M,"raws","spaces",oe),M.raws.spaces[oe].after=f$+fe}else{var g$=M[oe]||"",b$=(0,f.getProp)(M,"raws",oe)||g$;(0,f.ensureObject)(M,"raws"),M.raws[oe]=b$+fe}else xe=xe+fe;break;default:return this.error('Unexpected "'+fe+'" found.',{index:it[m.FIELDS.START_POS]})}ee++}Re(M,"attribute"),Re(M,"namespace"),this.newNode(new c.default(M)),this.position++},K.parseWhitespaceEquivalentTokens=function(O){O<0&&(O=this.tokens.length);var W=this.position,Z=[],M="",ee=void 0;do if(N[this.currToken[m.FIELDS.TYPE]])this.options.lossy||(M+=this.content());else if(this.currToken[m.FIELDS.TYPE]===v.comment){var ge={};M&&(ge.before=M,M=""),ee=new o.default({value:this.content(),source:ce(this.currToken),sourceIndex:this.currToken[m.FIELDS.START_POS],spaces:ge}),Z.push(ee)}while(++this.position<O);if(M){if(ee)ee.spaces.after=M;else if(!this.options.lossy){var xe=this.tokens[W],oe=this.tokens[this.position-1];Z.push(new u.default({value:"",source:ve(xe[m.FIELDS.START_LINE],xe[m.FIELDS.START_COL],oe[m.FIELDS.END_LINE],oe[m.FIELDS.END_COL]),sourceIndex:xe[m.FIELDS.START_POS],spaces:{before:M,after:""}}))}}return Z},K.convertWhitespaceNodesToSpace=function(O,W){var Z=this;W===void 0&&(W=!1);var M="",ee="";O.forEach(function(xe){var oe=Z.lossySpace(xe.spaces.before,W),Fe=Z.lossySpace(xe.rawSpaceBefore,W);M+=oe+Z.lossySpace(xe.spaces.after,W&&oe.length===0),ee+=oe+xe.value+Z.lossySpace(xe.rawSpaceAfter,W&&Fe.length===0)}),ee===M&&(ee=void 0);var ge={space:M,rawSpace:ee};return ge},K.isNamedCombinator=function(O){return O===void 0&&(O=this.position),this.tokens[O+0]&&this.tokens[O+0][m.FIELDS.TYPE]===v.slash&&this.tokens[O+1]&&this.tokens[O+1][m.FIELDS.TYPE]===v.word&&this.tokens[O+2]&&this.tokens[O+2][m.FIELDS.TYPE]===v.slash},K.namedCombinator=function(){if(this.isNamedCombinator()){var O=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(O).toLowerCase(),Z={};W!==O&&(Z.value="/"+O+"/");var M=new p.default({value:"/"+W+"/",source:ve(this.currToken[m.FIELDS.START_LINE],this.currToken[m.FIELDS.START_COL],this.tokens[this.position+2][m.FIELDS.END_LINE],this.tokens[this.position+2][m.FIELDS.END_COL]),sourceIndex:this.currToken[m.FIELDS.START_POS],raws:Z});return this.position=this.position+3,M}else this.unexpected()},K.combinator=function(){var O=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][m.FIELDS.TYPE]===v.comma||this.tokens[W][m.FIELDS.TYPE]===v.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(W);if(Z.length>0){var M=this.current.last;if(M){var ee=this.convertWhitespaceNodesToSpace(Z),ge=ee.space,xe=ee.rawSpace;xe!==void 0&&(M.rawSpaceAfter+=xe),M.spaces.after+=ge}else Z.forEach(function(Br){return O.newNode(Br)})}return}var oe=this.currToken,Fe=void 0;W>this.position&&(Fe=this.parseWhitespaceEquivalentTokens(W));var it;if(this.isNamedCombinator()?it=this.namedCombinator():this.currToken[m.FIELDS.TYPE]===v.combinator?(it=new p.default({value:this.content(),source:ce(this.currToken),sourceIndex:this.currToken[m.FIELDS.START_POS]}),this.position++):N[this.currToken[m.FIELDS.TYPE]]||Fe||this.unexpected(),it){if(Fe){var fe=this.convertWhitespaceNodesToSpace(Fe),We=fe.space,Or=fe.rawSpace;it.spaces.before=We,it.rawSpaceBefore=Or}}else{var pr=this.convertWhitespaceNodesToSpace(Fe,!0),Ot=pr.space,pt=pr.rawSpace;pt||(pt=Ot);var Xt={},Jt={spaces:{}};Ot.endsWith(" ")&&pt.endsWith(" ")?(Xt.before=Ot.slice(0,Ot.length-1),Jt.spaces.before=pt.slice(0,pt.length-1)):Ot[0]===" "&&pt[0]===" "?(Xt.after=Ot.slice(1),Jt.spaces.after=pt.slice(1)):Jt.value=pt,it=new p.default({value:" ",source:le(oe,this.tokens[this.position-1]),sourceIndex:oe[m.FIELDS.START_POS],spaces:Xt,raws:Jt})}return this.currToken&&this.currToken[m.FIELDS.TYPE]===v.space&&(it.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(it)},K.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var O=new n.default({source:{start:te(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][m.FIELDS.START_POS]});this.current.parent.append(O),this.current=O,this.position++},K.comment=function(){var O=this.currToken;this.newNode(new o.default({value:this.content(),source:ce(O),sourceIndex:O[m.FIELDS.START_POS]})),this.position++},K.error=function(O,W){throw this.root.error(O,W)},K.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[m.FIELDS.START_POS]})},K.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[m.FIELDS.START_POS])},K.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[m.FIELDS.START_POS])},K.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[m.FIELDS.START_POS])},K.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[m.FIELDS.START_POS])},K.namespace=function(){var O=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[m.FIELDS.TYPE]===v.word)return this.position++,this.word(O);if(this.nextToken[m.FIELDS.TYPE]===v.asterisk)return this.position++,this.universal(O);this.unexpectedPipe()},K.nesting=function(){if(this.nextToken){var O=this.content(this.nextToken);if(O==="|"){this.position++;return}}var W=this.currToken;this.newNode(new h.default({value:this.content(),source:ce(W),sourceIndex:W[m.FIELDS.START_POS]})),this.position++},K.parentheses=function(){var O=this.current.last,W=1;if(this.position++,O&&O.type===g.PSEUDO){var Z=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][m.FIELDS.START_POS]}),M=this.current;for(O.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[m.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[m.FIELDS.TYPE]===v.closeParenthesis&&W--,W?this.parse():(this.current.source.end=J(this.currToken),this.current.parent.source.end=J(this.currToken),this.position++);this.current=M}else{for(var ee=this.currToken,ge="(",xe;this.position<this.tokens.length&&W;)this.currToken[m.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[m.FIELDS.TYPE]===v.closeParenthesis&&W--,xe=this.currToken,ge+=this.parseParenthesisToken(this.currToken),this.position++;O?O.appendToPropertyAndEscape("value",ge,ge):this.newNode(new u.default({value:ge,source:ve(ee[m.FIELDS.START_LINE],ee[m.FIELDS.START_COL],xe[m.FIELDS.END_LINE],xe[m.FIELDS.END_COL]),sourceIndex:ee[m.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[m.FIELDS.START_POS])},K.pseudo=function(){for(var O=this,W="",Z=this.currToken;this.currToken&&this.currToken[m.FIELDS.TYPE]===v.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[m.FIELDS.TYPE]===v.word)this.splitWord(!1,function(M,ee){W+=M,O.newNode(new l.default({value:W,source:le(Z,O.currToken),sourceIndex:Z[m.FIELDS.START_POS]})),ee>1&&O.nextToken&&O.nextToken[m.FIELDS.TYPE]===v.openParenthesis&&O.error("Misplaced parenthesis.",{index:O.nextToken[m.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[m.FIELDS.START_POS])},K.space=function(){var O=this.content();this.position===0||this.prevToken[m.FIELDS.TYPE]===v.comma||this.prevToken[m.FIELDS.TYPE]===v.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(O),this.position++):this.position===this.tokens.length-1||this.nextToken[m.FIELDS.TYPE]===v.comma||this.nextToken[m.FIELDS.TYPE]===v.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(O),this.position++):this.combinator()},K.string=function(){var O=this.currToken;this.newNode(new u.default({value:this.content(),source:ce(O),sourceIndex:O[m.FIELDS.START_POS]})),this.position++},K.universal=function(O){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:ce(Z),sourceIndex:Z[m.FIELDS.START_POS]}),O),this.position++},K.splitWord=function(O,W){for(var Z=this,M=this.nextToken,ee=this.content();M&&~[v.dollar,v.caret,v.equals,v.word].indexOf(M[m.FIELDS.TYPE]);){this.position++;var ge=this.content();if(ee+=ge,ge.lastIndexOf("\\")===ge.length-1){var xe=this.nextToken;xe&&xe[m.FIELDS.TYPE]===v.space&&(ee+=this.requiredSpace(this.content(xe)),this.position++)}M=this.nextToken}var oe=Be(ee,".").filter(function(We){var Or=ee[We-1]==="\\",pr=/^\d+\.\d+%$/.test(ee);return!Or&&!pr}),Fe=Be(ee,"#").filter(function(We){return ee[We-1]!=="\\"}),it=Be(ee,"#{");it.length&&(Fe=Fe.filter(function(We){return!~it.indexOf(We)}));var fe=(0,b.default)(dt([0].concat(oe,Fe)));fe.forEach(function(We,Or){var pr=fe[Or+1]||ee.length,Ot=ee.slice(We,pr);if(Or===0&&W)return W.call(Z,Ot,fe.length);var pt,Xt=Z.currToken,Jt=Xt[m.FIELDS.START_POS]+fe[Or],Br=ve(Xt[1],Xt[2]+We,Xt[3],Xt[2]+(pr-1));if(~oe.indexOf(We)){var hd={value:Ot.slice(1),source:Br,sourceIndex:Jt};pt=new i.default(Re(hd,"value"))}else if(~Fe.indexOf(We)){var fd={value:Ot.slice(1),source:Br,sourceIndex:Jt};pt=new a.default(Re(fd,"value"))}else{var eo={value:Ot,source:Br,sourceIndex:Jt};Re(eo,"value"),pt=new s.default(eo)}Z.newNode(pt,O),O=null}),this.position++},K.word=function(O){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(O)},K.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},K.parse=function(O){switch(this.currToken[m.FIELDS.TYPE]){case v.space:this.space();break;case v.comment:this.comment();break;case v.openParenthesis:this.parentheses();break;case v.closeParenthesis:O&&this.missingParenthesis();break;case v.openSquare:this.attribute();break;case v.dollar:case v.caret:case v.equals:case v.word:this.word();break;case v.colon:this.pseudo();break;case v.comma:this.comma();break;case v.asterisk:this.universal();break;case v.ampersand:this.nesting();break;case v.slash:case v.combinator:this.combinator();break;case v.str:this.string();break;case v.closeSquare:this.missingSquareBracket();case v.semicolon:this.missingBackslash();default:this.unexpected()}},K.expected=function(O,W,Z){if(Array.isArray(O)){var M=O.pop();O=O.join(", ")+" or "+M}var ee=/^[aeiou]/.test(O[0])?"an":"a";return Z?this.error("Expected "+ee+" "+O+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+O+".",{index:W})},K.requiredSpace=function(O){return this.options.lossy?" ":O},K.optionalSpace=function(O){return this.options.lossy?"":O},K.lossySpace=function(O,W){return this.options.lossy?W?" ":"":O},K.parseParenthesisToken=function(O){var W=this.content(O);return O[m.FIELDS.TYPE]===v.space?this.requiredSpace(W):W},K.newNode=function(O,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),O.namespace=W,Re(O,"namespace")),this.spaces&&(O.spaces.before=this.spaces,this.spaces=""),this.current.append(O)},K.content=function(O){return O===void 0&&(O=this.currToken),this.css.slice(O[m.FIELDS.START_POS],O[m.FIELDS.END_POS])},K.locateNextMeaningfulToken=function(O){O===void 0&&(O=this.position+1);for(var W=O;W<this.tokens.length;)if(B[this.tokens[W][m.FIELDS.TYPE]]){W++;continue}else return W;return-1},T(Q,[{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]}}]),Q})();e.default=Ze,t.exports=e.default}),Z8=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(H8());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,u){this.func=s||function(){},this.funcRes=null,this.options=u}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var u=Object.assign({},this.options,s);return u.lossless===!1},a._root=function(s,u){u===void 0&&(u={});var l=new r.default(s,this._parseOptions(u));return l.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,u){u===void 0&&(u={});var l=this._root(s,u),c=this.func(l);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return u.updateSelector&&typeof s!="string"&&(d=l.toString(),s.selector=d),{transform:c,root:l,string:d}},a.astSync=function(s,u){return this._runSync(s,u).root},a.processSync=function(s,u){var l=this._runSync(s,u);return l.string||l.root.toString()},o})();e.default=i,t.exports=e.default}),X8=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=h(ZF()),r=h(VF()),n=h(JF()),i=h(QF()),o=h(YF()),a=h(eM()),s=h(HF()),u=h(_F()),l=h(UF()),c=h(KF()),d=h(GF()),p=h(XF());function h(N){return N&&N.__esModule?N:{default:N}}var b=function(N){return new t.default(N)};e.attribute=b;var m=function(N){return new r.default(N)};e.className=m;var v=function(N){return new n.default(N)};e.combinator=v;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 u.default(N)};e.root=k;var S=function(N){return new l.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var A=function(N){return new d.default(N)};e.tag=A;var T=function(N){return new p.default(N)};e.universal=T}),J8=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=gt(),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 u=o.bind(null,t.COMBINATOR);e.isCombinator=u;var l=o.bind(null,t.COMMENT);e.isComment=l;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 h=o.bind(null,t.ROOT);e.isRoot=h;var b=o.bind(null,t.SELECTOR);e.isSelector=b;var m=o.bind(null,t.STRING);e.isString=m;var v=o.bind(null,t.TAG);e.isTag=v;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)||v(S)}}),e7=G(e=>{"use strict";e.__esModule=!0;var t=gt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=X8();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=J8();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),Pt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Z8()),n=o(e7());function i(l){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(l)}function o(l,c){if(!c&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=i(c);if(d&&d.has(l))return d.get(l);var p={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in l)if(b!=="default"&&Object.prototype.hasOwnProperty.call(l,b)){var m=h?Object.getOwnPropertyDescriptor(l,b):null;m&&(m.get||m.set)?Object.defineProperty(p,b,m):p[b]=l[b]}return p.default=l,d&&d.set(l,p),p}function a(l){return l&&l.__esModule?l:{default:l}}var s=function(l){return new r.default(l)};Object.assign(s,n),delete s.__esModule;var u=s;e.default=u,t.exports=e.default});function at(e){var u,l;let t=e.nodes.findIndex(c=>!ly(c)),r=e.nodes.findLastIndex(c=>!ly(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(u=e.sourceIndex)!=null?u: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=(l=n.sourceIndex)!=null?l:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var qS,ly,kt=y(()=>{qS=re(Pt(),1),{isComment:ly}=qS.default});function Ce(e,t,r){if(e)try{return(0,rM.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var rM,ze=y(()=>{rM=re(Pt(),1)}),nM={};z(nM,{default:()=>iM});var gs,cg,WS,bs,iM,t7=y(()=>{V(),ke(),kt(),pe(),ze(),I(),L(),F(),gs="keyframe-block-no-duplicate-selectors",cg=j(gs,{rejected:e=>`Unexpected duplicate "${e}"`}),WS={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},bs=e=>(t,r)=>{D(r,gs,{actual:e})&&t.walkAtRules(we.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;de(o)&&((a=Ce(be(o),r,o))==null||a.each(s=>{let{selector:u,index:l,endIndex:c}=at(s),d=u.toLowerCase();if(i.has(d)){P({message:cg.rejected,messageArgs:[u],node:o,result:r,ruleName:gs,index:l,endIndex:c});return}i.add(d)}))})})},bs.ruleName=gs,bs.messages=cg,bs.meta=WS,iM=bs}),oM={};z(oM,{default:()=>aM});var vs,dg,_S,ys,aM,r7=y(()=>{q(),V(),XL(),I(),L(),F(),vs="keyframe-declaration-no-important",dg=j(vs,{rejected:"Unexpected !important"}),_S={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},ys=e=>(t,r)=>{D(r,vs,{actual:e})&&t.walkAtRules(we.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=ZL(i.toString());Ue(o),P({message:dg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:vs})})})},ys.ruleName=vs,ys.messages=dg,ys.meta=_S,aM=ys}),sM={};z(sM,{default:()=>lM});function n7(e){let t=e.nodes.filter(i=>!(Pp.default.isComment(i)||Pp.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(Pp.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Pi.has(n)&&!kc.has(n)))return[r,n]}function pg(e,t){let r=e.get(t);return Wi(r),r}function i7(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var Pp,ws,mg,US,VS,hg,ks,lM,o7=y(()=>{q(),He(),V(),ke(),ze(),Pp=re(Pt(),1),qt(),I(),L(),F(),ws="keyframe-selector-notation",mg=j(ws,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),US={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},VS=new Map([["0%","from"],["100%","to"]]),hg=new Map([["from","0%"],["to","100%"]]),ks=e=>(t,r)=>{if(!D(r,ws,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Pi.has(s),fixFunc:s=>pg(VS,s)},percentage:{expFunc:s=>kc.has(s),fixFunc:s=>pg(hg,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,u)=>u.every(l=>Pi.has(l))?!0:kc.has(s),fixFunc:s=>pg(hg,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Y.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Y.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(we.keyframesName,s=>{let u=e==="percentage-unless-within-keyword-only-block"?i7(s):[];s.walkRules(a,l=>{let c=be(l),d=Ce(c,r,l);d&&d.each(p=>{let h=n7(p);if(!h)return;let[b,m]=h;if(i(m,u))return;let v=o(m),g=()=>{b.value=v,l.selector=d.toString()};P({message:mg.expected,messageArgs:[b.value,v],node:l,result:r,ruleName:ws,index:b.sourceIndex,endIndex:b.sourceIndex+m.length,fix:{apply:g,node:l}})})})})},ks.ruleName=ws,ks.messages=mg,ks.meta=US,lM=ks});function a7(e){return!ym(e)}var s7=y(()=>{wm()}),uM={};z(uM,{default:()=>cM});var xs,fg,QS,Ss,cM,l7=y(()=>{q(),X(),V(),s7(),I(),L(),F(),xs="keyframes-name-pattern",fg=j(xs,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),QS={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ss=e=>(t,r)=>{if(!D(r,xs,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.keyframesName,i=>{let o=i.params;if(!a7(o)||n.test(o))return;let a=Te(i),s=a+o.length;P({index:a,endIndex:s,message:fg.expected,messageArgs:[o,e],node:i,ruleName:xs,result:r})})},Ss.ruleName=xs,Ss.messages=fg,Ss.meta=QS,cM=Ss}),dM={};z(dM,{default:()=>pM});var gg,Cs,bg,YS,As,pM,u7=y(()=>{gg=re(me(),1),V(),q(),X(),I(),L(),F(),Cs="layer-name-pattern",bg=j(Cs,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),YS={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},As=e=>(t,r)=>{if(!D(r,Cs,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.layerName,o=>{let{params:a}=o;a&&(0,gg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(we.importName,o=>{let{params:a}=o;Y.layerFunction.test(a)&&(0,gg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let u of s.nodes)i(u.type,u.value,u.sourceIndex,o)})});function i(o,a,s,u){if(o!=="word"||n.test(a))return;let l=Te(u)+s,c=l+a.length;P({message:bg.expected,messageArgs:[a,e],node:u,index:l,endIndex:c,ruleName:Cs,result:r})}},As.ruleName=Cs,As.messages=bg,As.meta=YS,pM=As});function c7(e){return e.type==="function"&&Qi.has(e.value.toLowerCase())}var d7=y(()=>{zr()}),mM={};z(mM,{default:()=>hM});function p7({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function m7(e){return e.toLowerCase()==="line-height"}function h7(e){return e.toLowerCase()==="flex"}function f7(e){return Oi.has(e.toLowerCase())}function g7(e){return e.toLowerCase()==="fr"}function b7(e){return Number.parseFloat(e)===0}function v7(e){return e===""}var lp,zs,vg,GS,Ns,hM,y7=y(()=>{lp=re(me(),1),X(),he(),q(),lt(),Ye(),Nr(),d7(),tt(),ft(),Uc(),V(),H(),I(),L(),$F(),Bt(),F(),zs="length-zero-no-unit",vg=j(zs,{rejected:"Unexpected unit"}),GS={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Ns=(e,t)=>(r,n)=>{if(!D(n,zs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,U],ignorePreludeOfAtRules:[$,U]},optional:!0}))return;function i(s,u,l,c){let{value:d,sourceIndex:p}=l;if(c7(l)||An(l)&&R(t,"ignoreFunctions",d))return!1;if(!km(l))return;let h=lp.default.unit(d);if(h===!1)return;let{number:b,unit:m}=h;if(!b7(b)||v7(m)||!f7(m)||g7(m))return;let v=()=>{switch(l.value=b.startsWith(".")?b.slice(1):b,s.type){case"atrule":RF(s,c.toString());break;case"decl":$t(s,c.toString());break}},g=u+p+b.length,f=g+m.length;P({index:g,endIndex:f,message:vg.rejected,messageArgs:[],node:s,result:n,ruleName:zs,fix:{apply:v,node:s}})}function o(s){if(!Y.zeroLength.test(s.params)||!et(s)||R(t,"ignorePreludeOfAtRules",s.name))return;let u=Te(s),l=(0,lp.default)(st(s));l.walk(c=>i(s,u,c,l))}function a(s){let{prop:u,value:l}=s;if(!Y.zeroLength.test(l)||!ht(s)||m7(u)||h7(u)||R(t,"ignore","custom-properties")&&vt(u))return;let c=ie(s),d=(0,lp.default)(Qe(s));d.walk((p,h,b)=>{if(!p7(s,b,h))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Ns.ruleName=zs,Ns.messages=vg,Ns.meta=GS,hM=Ns}),fM={};z(fM,{default:()=>bM});function w7(e,t){let r=Number.parseFloat(e);return nv.has(t)?`${r}%`:(Rp.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${gM(r,e)}%`)}function k7(e,t){let r=Number.parseFloat(e);return Rp.has(t)?(r/=100,`${gM(r,e)}`):`${r}`}function gM(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function x7({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 yg,Es,wg,KS,Ps,bM,S7=y(()=>{yg=re(me(),1),zr(),X(),Ye(),qe(),V(),I(),L(),Bt(),F(),Es="lightness-notation",wg=j(Es,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),KS={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},Ps=e=>(t,r)=>{D(r,Es,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Y.lightnessColorFunction.test(n.value))return;let i=(0,yg.default)(Qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Ky.has(a))return;let s=x7(o);if(!s)return;let{value:u}=s;if(!$e(u))return;let l=yg.default.unit(u);if(!l)return;let c=l.unit==="%",d=l.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?w7(u,a):k7(u,a),h=ie(n),b=()=>{s.value=p,$t(n,i.toString())};P({message:wg.expected,messageArgs:[u,p],node:n,index:h+s.sourceIndex,endIndex:h+s.sourceEndIndex,result:r,ruleName:Es,fix:{apply:b,node:n}})})})},Ps.ruleName=Es,Ps.messages=wg,Ps.meta=KS,bM=Ps}),vM={};z(vM,{default:()=>yM});function HS(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var ZS,Os,kg,XS,Ts,yM,C7=y(()=>{ZS=re(Pt(),1),he(),q(),Cm(),pe(),H(),I(),L(),F(),Os="max-nesting-depth",kg=j(Os,{expected:e=>`Expected nesting depth to be no more than ${e}`}),XS={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Ts=(e,t)=>{let r=o=>Oe(o)&&R(t,"ignoreAtRules",o.name),n=o=>ut(o)&&R(t,"ignoreRules",o.selector);return(o,a)=>{if(!D(a,Os,{actual:e,possible:[kr]},{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(u){r(u)||n(u)||!zc(u)||ut(u)&&!de(u)||i(u,0)>e&&P({ruleName:Os,result:a,node:u,message:kg.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 u(c){return(0,ZS.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!R(t,"ignoreRules",d)).every(d=>HS(d))}function l(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=HS(d);return p?R(t,"ignorePseudoClasses",p):!1}):!1}return R(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!_i(c))||R(t,"ignore","pseudo-classes")&&ut(o)&&u(o.selector)||ut(o)&&l(o.selectors)?i(s,a):i(s,a+1)}},Ts.ruleName=Os,Ts.messages=kg,Ts.meta=XS,yM=Ts});function wM(e){return!!(se(e)&&Ae(e.value)||Ge(e)&&jM.has(e.getName().toLowerCase()))}function A7(e){return se(e)&&Le(e.value)}function cd(e){return se(e)&&_e(e.value)}function z7(e){return Ge(e)&&e.getName().toLowerCase()==="env"}function pc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(!cd(n)||t!==-1)return!1;t=r}}return t!==-1&&new ak(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function N7(e){let t=pc(e);return t===!1?t:new sk(t)}function nc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Pe.Whitespace&&o.type!==Pe.Comment){if(r!==-1)return!1;if(wM(o)){let a=kM(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(z7(o))r=i,n=i;else if(A7(o))r=i,n=i;else{if(t||!cd(o))return!1;r=i,n=i}}}return r!==-1&&new lk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function kM(e){let t=-1,r=-1,n=E7(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(!At(o))return-1}return[t,r]}function E7(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!At(i)){if(se(i)){let o=i.value;if(Ft(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!wM(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function P7(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Pe.Token){let u=s.value;if(gD(u)){t=e.slice(0,a),r=e.slice(a+1),n=u;break}}}if(!t.length||!r.length||!n)return!1;let i=pc(t);if(i===!1)return!1;let o=nc(r);return o!==!1&&new uk(i,n,o)}function O7(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Pe.Token){let i=n.value;if(Ft(i)){if(i[4].value===Kr.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 yi(e){if(e.length!==1&&e.length!==2||!Ft(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Kr.EQ:return Kr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!Ft(e[1])||e[1][4].value!==Kr.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 T7(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Pe.Token){let h=p.value;if(Ft(h)){let b=O7(e.slice(d));if(b!==!1){if(t!==!1){r=[b[0]+d,b[1]+d];break}t=[b[0]+d,b[1]+d],d+=b[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),h=pc(d);if(h){let m=nc(p,!0);return!!m&&new sh(h,n,m)}let b=pc(p);if(b){let m=nc(d,!0);return!!m&&new ck(b,n,m)}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),u=nc(o,!0),l=pc(a),c=nc(s,!0);if(!u||!l||!c)return!1;{let d=yi(n);if(d===!1||d===Kr.EQ)return!1;let p=yi(i);if(p===!1||p===Kr.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 dk(l,u,n,c,i)}function xM(e,t=[],r=[]){if(!Xi(e.startToken))return!1;let n=N7(e.value);if(n!==!1)return new mc(n,t,r);let i=P7(e.value);if(i!==!1)return new mc(i,t,r);let o=T7(e.value);return o!==!1&&new mc(o,t,r)}function JS(e){if(!_e(e))return!1;switch(e[4].value.toLowerCase()){case ki.Not:return ki.Not;case ki.Only:return ki.Only;default:return!1}}function I7(e){{let t=ik(e);if(t!==!1)return new Op(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let u=e[s];if(!Fc(u)&&!Qw(u)){if(se(u)){let l=u.value;if(t===-1&&_e(l)&&JS(l)){t=s;continue}if(r===-1&&_e(l)&&!JS(l)){r=s;continue}if(n===-1&&_e(l)&&pk.test(l[4].value)){if(n=s,eC(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=eC(e.slice(Math.max(t,r,n)+1));return a===!1?new $c(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new $c(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function j7(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=L7(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Pe.Whitespace&&a.type!==Pe.Comment){if(t||t!==!1||!Pr(a)||(a.normalize(),t=dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new IM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function SM(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=D7(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Pe.Whitespace&&a.type!==Pe.Comment){if(t||t!==!1||!Pr(a)||(a.normalize(),t=dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new TM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function ik(e){let t=AM(e);if(t!==!1)return new wr(t);let r=SM(e);if(r!==!1)return new wr(r);let n=j7(e);if(n!==!1)return new wr(n);let i=CM(e);return i!==!1&&new wr(i)}function eC(e){let t=AM(e);if(t!==!1)return new wr(t);let r=SM(e);if(r!==!1)return new wr(r);let n=CM(e);return n!==!1&&new wr(n)}function CM(e){let t=-1;for(let s=0;s<e.length;s++){let u=e[s];if(u.type!==Pe.Whitespace&&u.type!==Pe.Comment){if(!Pr(u)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!Xi(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 Gr(o);let a=ik(r.value);return a!==!1?new Gr(a,n,i):new Gr(new ah(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function dd(e){if(!Xi(e.startToken))return!1;let t=xM(e,[e.startToken],[e.endToken]);if(t!==!1)return new Gr(t);let r=ik(e.value);return r!==!1?new Gr(r,[e.startToken],[e.endToken]):new Gr(new ah(e))}function AM(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Pe.Whitespace&&i.type!==Pe.Comment){if(cd(i)){let o=i.value;if(FM.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(i)){i.normalize();let o=dd(i);if(o===!1)return!1;r=new LM(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function L7(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(cd(n)){let i=n.value;if(MM.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(n)){n.normalize();let i=dd(n);return i!==!1&&{advance:r,node:new DM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function D7(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(cd(n)){let i=n.value;if(pk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(n)){n.normalize();let i=dd(n);return i!==!1&&{advance:r,node:new OM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function pd(e,t){let r=CD(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=I7(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new ok(r[i]):o}).filter(n=>!!n)}function F7(e,t){return pd(yt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function M7(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!xt(e[o])){if(_e(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(!xt(n[o])){if(_e(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Gt(n[o]))break;i=!1}return i?new uy(r,null,n):new uy(r,pd(P_(n),t))}function R7(e,t){return M7(yt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function zM(e){return ah.isGeneralEnclosed(e)}function $7(e){return sk.isMediaFeatureBoolean(e)}function NM(e){return lk.isMediaFeatureValue(e)}function wi(e){return uk.isMediaFeaturePlain(e)}function fm(e){return EM(e)||PM(e)||B7(e)}function EM(e){return sh.isMediaFeatureRangeNameValue(e)}function PM(e){return ck.isMediaFeatureRangeValueName(e)}function B7(e){return dk.isMediaFeatureRangeValueNameValue(e)}function Pn(e){return mc.isMediaFeature(e)}function q7(e){return $c.isMediaQueryWithType(e)}function On(e){return ok.isMediaQueryInvalid(e)}var ae,wr,Gr,$c,Op,ok,ah,OM,TM,IM,jM,ak,sk,lk,uk,or,ar,Kr,ki,sh,ck,dk,mc,LM,DM,FM,MM,pk,uy,tC,Zt=y(()=>{wt(),nt(),(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"})(ae||(ae={})),wr=class cy{constructor(t){_(this,"type",ae.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 cy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof cy&&t.type===ae.MediaCondition}},Gr=class dy{constructor(t,r=[],n=[]){_(this,"type",ae.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 ye(...this.before)+this.media.toString()+ye(...this.after)}hasLeadingSpace(){return this.before.length?xt(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 dy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof dy&&t.type===ae.MediaInParens}},$c=class fn{constructor(t,r,n,i){_(this,"type",ae.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(_e(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 Op(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 Op(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(_e(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?ye(...this.modifier)+ye(...this.mediaType)+ye(...this.and)+this.media.toString():ye(...this.modifier)+ye(...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===ae.MediaQueryWithType}},Op=class Tp{constructor(t){_(this,"type",ae.MediaQueryWithoutType);_(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===ae.MediaNot?[new Tp(new wr(t.media.media))]:(t.media.type!==ae.MediaConditionListWithOr&&t.media.type!==ae.MediaConditionListWithAnd||(t=new wr(new Gr(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 $c([[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 Tp.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof Tp&&t.type===ae.MediaQueryWithoutType}},ok=class Ip{constructor(t){_(this,"type",ae.MediaQueryInvalid);_(this,"media");this.media=t}negateQuery(){return[new Ip(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=vi(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 Ip.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof Ip&&t.type===ae.MediaQueryInvalid}},ah=class py{constructor(t){_(this,"type",ae.GeneralEnclosed);_(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return xt(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 py.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof py&&t.type===ae.GeneralEnclosed}},OM=class my{constructor(t,r){_(this,"type",ae.MediaAnd);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...this.modifier)+this.media.toString()}hasLeadingSpace(){return xt(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 my.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof my&&t.type===ae.MediaAnd}},TM=class hy{constructor(t,r,n=[],i=[]){_(this,"type",ae.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 ye(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ye(...this.after)}hasLeadingSpace(){return this.before.length?xt(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ae.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=vi(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 hy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof hy&&t.type===ae.MediaConditionListWithAnd}},IM=class fy{constructor(t,r,n=[],i=[]){_(this,"type",ae.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 ye(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ye(...this.after)}hasLeadingSpace(){return this.before.length?xt(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ae.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=vi(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 fy.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof fy&&t.type===ae.MediaConditionListWithOr}},jM=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),ak=class gy{constructor(t,r=[],n=[]){_(this,"type",ae.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 ye(...this.before)+this.name.toString()+ye(...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 gy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof gy&&t.type===ae.MediaFeatureName}},sk=class by{constructor(t){_(this,"type",ae.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 by.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof by&&t.type===ae.MediaFeatureBoolean}},lk=class vy{constructor(t,r=[],n=[]){_(this,"type",ae.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)?ye(...this.before)+this.value.map(t=>t.toString()).join("")+ye(...this.after):ye(...this.before)+this.value.toString()+ye(...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=vi(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 vy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof vy&&t.type===ae.MediaFeatureValue}},uk=class yy{constructor(t,r,n){_(this,"type",ae.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()+ye(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 yy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof yy&&t.type===ae.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="="})(Kr||(Kr={})),sh=class wy{constructor(t,r,n){_(this,"type",ae.MediaFeatureRangeNameValue);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return yi(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()+ye(...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 wy.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof wy&&t.type===ae.MediaFeatureRangeNameValue}},ck=class ky{constructor(t,r,n){_(this,"type",ae.MediaFeatureRangeValueName);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return yi(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()+ye(...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 ky.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof ky&&t.type===ae.MediaFeatureRangeValueName}},dk=class xy{constructor(t,r,n,i,o){_(this,"type",ae.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 yi(this.valueOneOperator)}valueTwoOperatorKind(){return yi(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()+ye(...this.valueOneOperator)+this.name.toString()+ye(...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 xy.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof xy&&t.type===ae.MediaFeatureRangeValueNameValue}},mc=class Sy{constructor(t,r=[],n=[]){_(this,"type",ae.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 ye(...this.before)+this.feature.toString()+ye(...this.after)}hasLeadingSpace(){return xt(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 Sy.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof Sy&&t.type===ae.MediaFeature}},LM=class Cy{constructor(t,r){_(this,"type",ae.MediaNot);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?xt(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 Cy.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof Cy&&t.type===ae.MediaNot}},DM=class Ay{constructor(t,r){_(this,"type",ae.MediaOr);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...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 Ay.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof Ay&&t.type===ae.MediaOr}},(function(e){e.Not="not",e.Only="only"})(ki||(ki={})),FM=/^not$/i,MM=/^or$/i,pk=/^and$/i,uy=class zy{constructor(t,r,n){_(this,"type",ae.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(_e(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(_e(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(!xt(r))return!!_e(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(!xt(r))return!!_e(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 ye(...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 zy.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof zy&&t.type===ae.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"})(tC||(tC={}))});function mk(e,t){let r=yt({css:e});return CD(r).flatMap(n=>n.flatMap(i=>{if(!Pr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return pd(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)}zM(i)&&W7(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let u=s[a+1],l=s[a-1];(!l&&u&&u[0]===C.Colon||u&&u[0]===C.Delim&&Ny.test(u[4].value)||l&&l[0]===C.Delim&&Ny.test(l[4].value))&&t(o)})})}),{stringify(){return ye(...r)}}}function W7(e){let t=e.value.value;if(Lc(t)||t.length===0||Lc(t[0]))return[];let r=[];return t.filter(se).forEach((n,i,o)=>{let[a,,,,]=n.value;rC(n)||a===C.Ident&&rC(o[i-1])||nC(n)||a===C.Ident&&nC(o[i+1])||r.push(n.value)}),r}function rC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function nC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var Ny,hk=y(()=>{nt(),Zt(),wt(),Ny=/[<>=]/});function qi(e){return e.startsWith("--")}var md=y(()=>{}),RM={};z(RM,{default:()=>$M});var Is,xg,iC,Yn,$M,_7=y(()=>{q(),X(),V(),hk(),lt(),md(),De(),I(),L(),F(),Is="media-feature-name-allowed-list",xg=j(Is,{rejected:e=>`Unexpected media feature name "${e}"`}),iC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Yn=e=>(t,r)=>{D(r,Is,{actual:e,possible:[$,U]})&&t.walkAtRules(we.mediaName,n=>{mk(st(n),i=>{let[,,o,a,{value:s}]=i;if(qi(s)||Ee(s,e))return;let u=Te(n);P({message:xg.rejected,messageArgs:[s],node:n,index:u+o,endIndex:u+a+1,ruleName:Is,result:r})})})},Yn.primaryOptionArray=!0,Yn.ruleName=Is,Yn.messages=xg,Yn.meta=iC,$M=Yn}),BM={};z(BM,{default:()=>qM});var js,Sg,oC,Gn,qM,U7=y(()=>{q(),X(),V(),hk(),lt(),md(),De(),I(),L(),F(),js="media-feature-name-disallowed-list",Sg=j(js,{rejected:e=>`Unexpected media feature name "${e}"`}),oC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Gn=e=>(t,r)=>{D(r,js,{actual:e,possible:[$,U]})&&t.walkAtRules(we.mediaName,n=>{mk(st(n),i=>{let[,,o,a,{value:s}]=i;if(qi(s)||!Ee(s,e))return;let u=Te(n);P({message:Sg.rejected,messageArgs:[s],node:n,index:u+o,endIndex:u+a+1,ruleName:js,result:r})})})},Gn.primaryOptionArray=!0,Gn.ruleName=js,Gn.messages=Sg,Gn.meta=oC,qM=Gn}),Cg,hc,aC,sC,fk,WM,jp,lh=y(()=>{Ui(),Cg=new Set(["device-aspect-ratio","device-height","device-width"]),hc=Se(Cg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),aC=new Set([...hc].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"]),fk=Se(Cg,hc,aC,sC),WM=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"])]]),jp=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"])]])}),_M={};z(_M,{default:()=>UM});var Ls,Ag,lC,Ds,UM,V7=y(()=>{q(),X(),V(),hk(),lt(),md(),lh(),H(),I(),L(),F(),Et(),Ls="media-feature-name-no-unknown",Ag=j(Ls,{rejected:e=>`Unexpected unknown media feature name "${e}"`}),lC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Ds=(e,t)=>(r,n)=>{D(n,Ls,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,U]},optional:!0})&&r.walkAtRules(we.mediaName,i=>{mk(st(i),o=>{let[,,a,s,{value:u}]=o;if(qi(u)||R(t,"ignoreMediaFeatureNames",u)||Ke.prefix(u)||fk.has(u.toLowerCase()))return;let l=Te(i);P({message:Ag.rejected,messageArgs:[u],node:i,index:l+a,endIndex:l+s+1,ruleName:Ls,result:n})})})},Ds.ruleName=Ls,Ds.messages=Ag,Ds.meta=lC,UM=Ds}),VM={};z(VM,{default:()=>QM});var Fs,zg,uC,cC,Ms,QM,Q7=y(()=>{q(),V(),Zc(),H(),I(),L(),F(),Fs="media-feature-name-no-vendor-prefix",zg=j(Fs,{rejected:"Unexpected vendor-prefix"}),uC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},cC=["-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"],Ms=(e,t)=>(r,n)=>{D(n,Fs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,U]}})&&r.walkAtRules(we.mediaName,i=>{let o=i.params;if(!Sr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${cC.join("|")}`,"gi"));if(a)for(let s of a){if(R(t,"ignoreMediaFeatureNames",s))continue;let u=()=>{let l=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,l)};P({message:zg.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Fs,fix:{apply:u,node:i}})}})},Ms.ruleName=Fs,Ms.messages=zg,Ms.meta=uC,QM=Ms});function Tn(e){return F7(st(e),{preserveInvalidMediaQueries:!0})}var In=y(()=>{Zt(),lt()}),YM={};z(YM,{default:()=>GM});var Rs,Ng,dC,$s,GM,Y7=y(()=>{Zt(),nt(),wt(),V(),X(),q(),De(),In(),I(),L(),Ht(),F(),Rs="media-feature-name-unit-allowed-list",Ng=j(Rs,{rejected:(e,t)=>`Unexpected unit "${e}" for name "${t}"`}),dC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},$s=e=>(t,r)=>{if(!D(r,Rs,{actual:e,possible:[Dt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Ee(o,a))return[s].flat()};t.walkAtRules(we.mediaName,o=>{Y.dimension.test(o.params)&&Tn(o).forEach(a=>{if(On(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:u,state:l})=>{if(!l)return;if(wi(u)||fm(u)){l.mediaFeatureName=u.getName(),l.unitList=i(l.mediaFeatureName);return}if(!se(u))return;let{mediaFeatureName:c,unitList:d}=l;if(!c||!d)return;let[p,,h,b,m]=u.value;if(p!==C.Dimension||d.includes(m.unit.toLowerCase()))return;let v=Te(o);P({message:Ng.rejected,messageArgs:[m.unit,c],node:o,index:v+h,endIndex:v+b+1,result:r,ruleName:Rs})},s)})})},$s.ruleName=Rs,$s.messages=Ng,$s.meta=dC,GM=$s}),KM={};z(KM,{default:()=>HM});var Bs,Eg,pC,qs,HM,G7=y(()=>{Zt(),wt(),q(),X(),V(),De(),H(),In(),I(),L(),Ht(),F(),Bs="media-feature-name-value-allowed-list",Eg=j(Bs,{rejected:(e,t)=>`Unexpected value "${t}" for name "${e}"`}),pC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},qs=e=>(t,r)=>{D(r,Bs,{actual:e,possible:[Dt($,U)]})&&t.walkAtRules(we.mediaName,n=>{Tn(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(!NM(a))return;let{mediaFeatureName:u}=s;if(!u)return;let l=[a.value].flat(),c=l.map(m=>m.toString()).join(""),d=Object.keys(e).find(m=>Ee(u,m));if(d==null||R(e,d,c))return;let p=Te(n),[h,b]=Mt(l);P({index:p+h,endIndex:p+b+1,message:Eg.rejected,messageArgs:[u,c],node:n,ruleName:Bs,result:r})},o)})})},qs.ruleName=Bs,qs.messages=Eg,qs.meta=pC,HM=qs}),ZM={};z(ZM,{default:()=>XM});var Ws,Pg,mC,hC,_s,XM,K7=y(()=>{nt(),wt(),Zt(),Uc(),lh(),zr(),q(),X(),V(),RD(),In(),I(),L(),Ht(),F(),Et(),Ws="media-feature-name-value-no-unknown",Pg=j(Ws,{rejected:(e,t)=>`Unexpected unknown media feature value "${t}" for name "${e}"`}),mC=/^(?:min|max)-/i,hC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},_s=(e,t)=>(r,n)=>{if(!D(n,Ws,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Dt($,U)]},optional:!0}))return;let i=(l,c)=>MD(t,"ignoreMediaFeatureNameValues",l,c);function o(l,c,d){var x;let[p,h,b,m,v]=c,{mediaFeatureName:g}=l;if(p===C.Ident){let w=Ke.unprefixed(v.value.toLowerCase());if(i(g,w)||(x=WM.get(g))!=null&&x.has(w))return;d(l,h,b,m);return}let f=jp.get(g);if(!f){d(l,h,b,m);return}if(p===C.Number){if(v.type===ne.Integer){if(f.has("integer")||f.has("ratio")||v.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||v.value===1&&f.has("mq-boolean"))return;d(l,h,b,m);return}if(f.has("ratio")||v.value===0&&(f.has("length")||f.has("resolution")))return;d(l,h,b,m);return}if(p===C.Dimension){let w=v.unit.toLowerCase();if(f.has("resolution")&&iv.has(w)||f.has("length")&&Oi.has(w))return;d(l,h,b,m)}}function a(l,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let h=jp.get(l.mediaFeatureName);h&&Qi.has(p)&&(h.has("integer")||h.has("length")||h.has("ratio")||h.has("resolution"))||d(l,c.toString(),...Mt(c))}function s(l,c,d){let p=jp.get(l.mediaFeatureName);p&&p.has("ratio")&&kM(c)!==-1||d(l,c.map(h=>h.toString()).join(""),...Mt(c))}function u(l,c,d){if(se(c.value)){o(l,c.value.value,d);return}if(Ge(c.value)){a(l,c.value,d);return}Array.isArray(c.value)&&s(l,c.value,d)}r.walkAtRules(we.mediaName,l=>{let c=(p,h,b,m)=>{let v=Te(l);P({message:Pg.rejected,messageArgs:[p.mediaFeatureNameRaw,h],index:v+b,endIndex:v+m+1,node:l,ruleName:Ws,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Tn(l).forEach(p=>{On(p)||p.walk(({node:h,state:b})=>{if(b){if(Pn(h)){let m=h.getName(),v=Ke.unprefixed(m.toLowerCase());if(!fk.has(v))return;v=v.replace(mC,""),b.mediaFeatureName=v,b.mediaFeatureNameRaw=m;return}!b.mediaFeatureName||!b.mediaFeatureNameRaw||NM(h)&&u(b,h,c)}},d)})})},_s.ruleName=Ws,_s.messages=Pg,_s.meta=hC,XM=_s}),JM={};z(JM,{default:()=>e3});var Us,Og,fC,Vs,e3,H7=y(()=>{Zt(),wt(),nt(),X(),V(),H(),In(),lh(),I(),L(),F(),Us="media-feature-range-notation",Og=j(Us,{expected:e=>`Expected "${e}" media feature range notation`}),fC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},Vs=(e,t)=>(r,n)=>{if(!D(n,Us,{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(we.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Tn(a);s.forEach(u=>{On(u)||u.walk(({node:l,parent:c})=>{if(!fm(l)&&!wi(l))return;let d=l.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!hc.has(p))return;let h=e;if(i){let x=(EM(l)||PM(l))&&l.operator.length===1&&l.operator[0][1]==="=",w=wi(l)&&d.length===p.length;(x||w)&&(h=e==="prefix"?"context":"prefix")}if(h==="prefix"&&wi(l)||h==="context"&&fm(l))return;let b=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 ak(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)},m=h==="context"&&wi(l)&&Pn(c)?b({node:l,parent:c}):void 0,[v,g]=Mt(l),f=Te(a);P({message:Og.expected,messageArgs:[h],node:a,index:f+v-1,endIndex:f+g+1+1,result:n,ruleName:Us,fix:{apply:m,node:a}})})})})},Vs.ruleName=Us,Vs.messages=Og,Vs.meta=fC,e3=Vs}),t3={};z(t3,{default:()=>r3});function gC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(Ge(n)&&(r=R(t,"ignoreFunctions",n.getName()),r))return!1}),r}var Qs,Tg,bC,Ig,vC,Ys,r3,Z7=y(()=>{wt(),Zt(),q(),X(),V(),md(),H(),In(),lh(),I(),L(),F(),Qs="media-query-no-invalid",Tg=j(Qs,{rejected:(e,t)=>t?`Unexpected invalid media query "${e}", ${t}`:`Unexpected invalid media query "${e}"`}),bC={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"},Ig=/^(?:min|max)-/i,vC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},Ys=(e,t)=>(r,n)=>{if(!D(n,Qs,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0}))return;r.walkAtRules(we.mediaName,o=>{let a=Te(o);Tn(o).forEach(s=>{if(On(s)){if(gC(s,t))return;i(o,a,s);return}s.walk(({node:u,parent:l})=>{if(zM(u)){if(gC(s,t))return;i(o,a,u);return}if(wi(u)){let c=u.getName();if(qi(c)){i(o,a,l,"custom");return}return}if(fm(u)){let c=u.getName().toLowerCase();if(qi(c)){i(o,a,l,"custom");return}if(Ig.test(c)){i(o,a,l,"min_max_in_range");return}if(!hc.has(c)){i(o,a,l,"discrete");return}return}if($7(u)){let c=u.getName();Ig.test(c)&&i(o,a,l,"min_max_in_boolean")}})})});function i(o,a,s,u){let[l,c]=Mt(s);P({message:Tg.rejected,messageArgs:[s.toString(),u?bC[u]:""],index:a+l,endIndex:a+c+1,node:o,ruleName:Qs,result:n})}},Ys.ruleName=Qs,Ys.messages=Tg,Ys.meta=vC,r3=Ys}),n3={};z(n3,{default:()=>i3});var Gs,jg,yC,Ks,i3,X7=y(()=>{V(),q(),X(),Ez(),Zt(),tt(),nt(),H(),In(),I(),L(),wt(),F(),Gs="media-type-no-deprecated",jg=j(Gs,{rejected:e=>`Unexpected deprecated media type "${e}"`}),yC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},Ks=(e,t)=>(r,n)=>{D(n,Gs,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,U]},optional:!0})&&r.walkAtRules(we.mediaName,i=>{!et(i)||!Y.deprecatedMediaType.test(i.params)||Tn(i).forEach(o=>{if(!q7(o))return;let a=o.getMediaType();if(!nw.has(a.toLowerCase())||R(t,"ignoreMediaTypes",a))return;let s=Te(i),[u,l]=Mt({tokens:()=>o.mediaType.filter(_e)});P({message:jg.rejected,messageArgs:[a],node:i,index:s+u,endIndex:s+l+1,ruleName:Gs,result:n})})})},Ks.ruleName=Gs,Ks.messages=jg,Ks.meta=yC,i3=Ks});function J7(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)&&!Qy(o,a))return!1}return!0}function eV(e){let t=new Set(e.flat());return t.delete("."),[...t]}function tV(e){return eV(e).filter(t=>!J7(e,t))}var rV=y(()=>{Yy()}),o3={};z(o3,{default:()=>a3});var wC,Hs,Zs,kC,Xs,a3,nV=y(()=>{wC=re(me(),1),q(),X(),rV(),qe(),V(),I(),L(),F(),Hs="named-grid-areas-no-invalid",Zs=j(Hs,{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}"`}),kC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},Xs=e=>(t,r)=>{D(r,Hs,{actual:e})&&t.walkDecls(Mr.gridAreaNames,n=>{let{value:i}=n;if(!$e(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,wC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:h,value:b})=>{if(h==="string"){if(b===""){c(Zs.expectedToken,[],d,p),a=!0;return}o.push({values:b.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let u=o.find(d=>d.values.length!==s.values.length);if(u!==void 0){c(Zs.expectedSameNumber,[],u.index,u.endIndex);return}let l=tV(o.map(d=>d.values));for(let d of l.sort()){let p=o.find(h=>h.values.includes(d));Ue(p),c(Zs.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,h,b){let m=ie(n);P({message:d,messageArgs:p,node:n,index:m+h,endIndex:m+b,result:r,ruleName:Hs})}})},Xs.ruleName=Hs,Xs.messages=Zs,Xs.meta=kC,a3=Xs});function Ey(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Yb(n))return!0;if("document"in n&&n.document instanceof oN&&Yb(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var s3=y(()=>{Hc(),he()}),l3={};z(l3,{default:()=>u3});function xC(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 Js,Lg,SC,el,u3,iV=y(()=>{Gi(),V(),q(),X(),lt(),ke(),s3(),tt(),pe(),H(),I(),L(),F(),Js="nesting-selector-no-missing-scoping-root",Lg=j(Js,{rejected:"Unexpected missing scoping root"}),SC={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},el=(e,t)=>(r,n)=>{if(!D(n,Js,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;r.walkRules(Y.nestingSelector,o=>{if(Ey(o)||!de(o)||xC(o,t))return;let a;try{a=en(be(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(we.scopeName,o=>{if(Ey(o)||!et(o)||!Y.nestingSelector.test(o.params)||xC(o,t))return;let a;try{a=en(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,Te(o))});function i(o,a,s=0){BL(a,{enter(u){if(u.type!=="NestingSelector"||!u.loc)return;let l=s+u.loc.start.offset,c=l+1;P({message:Lg.rejected,node:o,result:n,ruleName:Js,index:l,endIndex:c})}})}},el.ruleName=Js,el.messages=Lg,el.meta=SC,u3=el});function gk(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(oV(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let u=up(e.nodes,t);n+=u.a,i+=u.b,o+=u.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"&&aV(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(fc.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 u=up(e.nodes,t);n+=u.a,i+=u.b,o+=u.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let u=e.nodes[0].nodes.findIndex(l=>l.type==="tag"&&l.value.toLowerCase()==="of");if(u>-1){let l=fc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(u+1).forEach(p=>{l.append(p.clone())});let c=[l];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=up(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(u=>{let l=yn(u,t);n+=l.a,i+=l.b,o+=l.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let u=up(e.nodes,t);n+=u.a,i+=u.b,o+=u.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else fc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(u=>{let l=yn(u,t);n+=l.a,i+=l.b,o+=l.c});return{a:n,b:i,c:o}}function up(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=yn(n,t);gk(i,r)<0||(r=i)}),r}function oV(e){return fc.default.isPseudoElement(e)}function aV(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 fc,c3=y(()=>{fc=re(Pt(),1)});function bk(e){let t=e.parent;return t?Oe(t)?t:ut(t)?bk(t):null:null}var d3=y(()=>{he()});function p3(){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=CC(e,n);return r.reduce((o,a)=>CC(o,a),i)}}}function CC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var m3=y(()=>{});function ic(e,t){let r=Py.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Py.set(e,r);let n=e.toString(),i=pi.get(n);if(i)return r.set(t,i),i;let o=sV(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),pi.size>=f3){let s=pi.keys().next().value;s!==void 0&&pi.delete(s)}return pi.set(n,a),a}function sV(e){return NC(e),AC(e),e.walk(t=>{NC(t),AC(t)}),h3(e),e}function AC(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 h3(e){if(nr.default.isContainer(e)){if(e.each(h3),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=uV(e.nodes))}}function zC(e){var t;return(t=g3.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function lV(e,t){let r=zC(e)-zC(t);return r!==0?r:String(e).localeCompare(String(t))}function uV(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(lV)),t.flat()}function NC(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,Py,pi,f3,g3,b3=y(()=>{nr=re(Pt(),1),Py=new WeakMap,pi=new Map,f3=1e4,g3=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 cV(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)=>EC(a)-EC(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 EC(e){return sr.default.isPseudoElement(e)?Oy.pseudoElement:Oy[e.type]}function PC(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 u=!1;s.walkNesting(()=>(u=!0,!1)),u?((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 u=new Set;s.walkNesting(l=>{var d,p;let c=l.parent;c&&(u.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?l.replaceWith(...OC(t,!0)):l.replaceWith(...OC(t)))});for(let l of u)cV(l)}s.walk(u=>{u.type==="combinator"&&u.value.trim()!==""?(u.rawSpaceAfter=" ",u.rawSpaceBefore=" "):(u.rawSpaceAfter="",u.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...bn(e)});return n.forEach(a=>{i.append(a)}),i}function OC(e,t=!1){if(t||!dV(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 dV(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,Oy,pV=y(()=>{sr=re(Pt(),1),Oy={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function Bc(e,t){let r=Iy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Iy.set(e,r);let n=Ce(be(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=Ce(":where(:scope)",t,s);continue}if(!ut(s))continue;if(!de(s))return[];let u=Ce(be(s),t,s);if(!u)return[];i?i=PC(u,i):i=u}let a=n.map(s=>i?{selector:s,resolvedSelectors:PC(Ty.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:Ty.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var Ty,Iy,uh=y(()=>{pV(),he(),ke(),pe(),ze(),Ty=re(Pt(),1),Iy=new WeakMap}),v3={};z(v3,{default:()=>w3});function mV(e,t){if(e.nodes.length===0)return;e=ic(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("::")||xm.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function y3(e){return e.nodes?e.some(t=>_i(t)||Oe(t)&&y3(t)):!1}var tl,Dg,TC,rl,w3,hV=y(()=>{c3(),he(),d3(),kt(),pe(),m3(),b3(),H(),qt(),I(),uh(),L(),F(),tl="no-descending-specificity",Dg=j(tl,{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}`)}),TC={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},rl=(e,t)=>(r,n)=>{if(!D(n,tl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=R(t,"ignore","selectors-within-list"),o=p3();r.walkRules(s=>{if(!de(s)||i&&s.selectors.length>1||!y3(s))return;let u=o.getContext(s,bk(s));Bc(s,n).forEach(({selector:l,resolvedSelectors:c})=>{c.each(d=>{a(d,l,s,u)})})});function a(s,u,l,c){var x,w,k;let d=mV(s,n);if(!d)return;let p=yn(s),{selector:h,index:b,endIndex:m}=at(u),{selector:v}=at(s);v=v===h?"":v;let g={selector:h,resolvedSelector:v,specificity:p,line:(k=(w=(x=l.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(gk(p,S.specificity)<0){P({ruleName:tl,result:n,node:l,message:Dg.expected,messageArgs:[h,S.selector,S.line,v,S.resolvedSelector],index:b,endIndex:m});break}f.push(g)}},rl.ruleName=tl,rl.messages=Dg,rl.meta=TC,w3=rl}),k3={};z(k3,{default:()=>x3});function cp(e){return jy.default.stringify(e).replace(/\s/g,"")}function fV(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(cp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(cp(a));continue}}if(a.type==="div"&&a.value===","){n.push(cp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(cp(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,nl,Fg,IC,il,x3,gV=y(()=>{jy=re(me(),1),V(),lt(),id(),I(),L(),F(),nl="no-duplicate-at-import-rules",Fg=j(nl,{rejected:e=>`Unexpected duplicate @import rule ${e}`}),IC={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},il=e=>(t,r)=>{if(!D(r,nl,{actual:e}))return;let n={};t.walkAtRules(we.importName,i=>{let[o,...a]=(0,jy.default)(st(i)).nodes;if(!o)return;let s=nd(o)&&o.nodes[0]?o.nodes[0].value:o.value,u=fV(a),l=n[s];if(u.length?u.some(c=>l&&l.includes(c)):l){P({message:Fg.rejected,messageArgs:[s],node:i,result:r,ruleName:nl,word:i.toString()});return}l||(l=n[s]=[]),l.push(...u)})},il.ruleName=nl,il.messages=Fg,il.meta=IC,x3=il});function ch(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var dh=y(()=>{he()}),S3={};z(S3,{default:()=>C3});var jC,ol,Mg,LC,al,C3,bV=y(()=>{jC=re(Pt(),1),q(),d3(),ke(),kt(),dh(),pe(),m3(),b3(),H(),ze(),I(),uh(),L(),F(),ol="no-duplicate-selectors",Mg=j(ol,{rejected:(e,t)=>`Unexpected duplicate selector "${e}", first used at line ${t}`}),LC={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},al=(e,t)=>(r,n)=>{if(!D(n,ol,{actual:e},{actual:t,possible:{disallowInList:[_c],ignoreSelectors:[$,U]},optional:!0}))return;let i=t&&t.disallowInList,o=p3();function a(c,d,p,h,b){P({result:n,ruleName:ol,node:c,message:Mg.rejected,messageArgs:[d,b],index:p,endIndex:h})}function s(c){var p;let d=new Map;(p=Ce(be(c),n,c))==null||p.each(h=>{var x,w,k,S,E,A;let b=ic(h,n).string;if(R(t,"ignoreSelectors",b))return;let m=d.get(b);if(!m){d.set(b,{line:((k=(w=(x=h.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((A=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?A:1)-1});return}let{index:v,endIndex:g,selector:f}=at(h);a(c,f,v,g,m.line)})}function u(c,d){var g,f,x;let p=Bc(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=ic(w,n).string;return R(t,"ignoreSelectors",k)}))return;let h=jC.default.root({nodes:p,value:""}),b=ic(h,n).string,m=d.get(b);if(!m){d.set(b,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let v=be(c).toString().trim();a(c,v,0,v.length,m.line)}function l(c,d){Bc(c,n).forEach(p=>{let{selector:h,resolvedSelectors:b}=p;b.each(m=>{var k,S,E,A,T,N;let v=ic(m,n).string;if(R(t,"ignoreSelectors",v))return;let g=d.get(v);if(!g){d.set(v,{line:((E=(S=(k=h.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(T=(A=c.source)==null?void 0:A.start)==null?void 0:T.line)!=null?N:1)-1});return}let{index:f,endIndex:x,selector:w}=at(h);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(ch(c)||!de(c))return;let d=o.getContext(c,bk(c));if(i){l(c,d);return}s(c),u(c,d)})},al.ruleName=ol,al.messages=Mg,al.meta=LC,C3=al}),A3={};z(A3,{default:()=>z3});var sl,Rg,DC,ll,z3,vV=y(()=>{Jc(),I(),L(),F(),sl="no-empty-source",Rg=j(sl,{rejected:"Unexpected empty source"}),DC={url:"https://stylelint.io/user-guide/rules/no-empty-source"},ll=(e,t,r)=>(n,i)=>{var a;if(!D(i,sl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!xi(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:Rg.rejected,messageArgs:[],node:n,result:i,ruleName:sl})},ll.ruleName=sl,ll.messages=Rg,ll.meta=DC,z3=ll}),N3={};z(N3,{default:()=>E3});var Kn,dp,FC,ul,E3,yV=y(()=>{q(),ke(),I(),L(),F(),Kn="no-invalid-double-slash-comments",dp=j(Kn,{rejected:"Unexpected double-slash CSS comment"}),FC={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},ul=(e,t,r)=>(n,i)=>{D(i,Kn,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:dp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn})}),n.walkRules(o=>{var l;let a=be(o).split(","),s,u=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),Wi(r.newline);let p=c.length-d.length,h=u+p,b=(l=s.slice(h).split(r.newline)[0])!=null?l:"",m=h+b.length;P({message:dp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn,index:h,endIndex:m})}u+=c.length+1}}))},ul.ruleName=Kn,ul.messages=dp,ul.meta=FC,E3=ul}),P3={};z(P3,{default:()=>O3});var cl,$g,MC,dl,O3,wV=y(()=>{q(),he(),tt(),pe(),H(),I(),L(),F(),cl="no-invalid-position-at-import-rule",$g=j(cl,{rejected:"Unexpected invalid position @import rule"}),MC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},dl=(e,t)=>(r,n)=>{if(!D(n,cl,{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(Oe(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!R(t,"ignoreAtRules",o.name)&&et(o)||o.type==="rule"&&de(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:$g.rejected,messageArgs:[],node:o,result:n,ruleName:cl,word:o.toString()})})},dl.ruleName=cl,dl.messages=$g,dl.meta=MC,O3=dl}),T3={};z(T3,{default:()=>I3});var pl,Bg,RC,ml,I3,kV=y(()=>{Vi(),he(),q(),Xw(),s3(),ft(),H(),I(),L(),F(),pl="no-invalid-position-declaration",Bg=j(pl,{rejected:"Unexpected invalid position declaration"}),RC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},ml=(e,t)=>(r,n)=>{if(!D(n,pl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=a=>Oe(a)&&R(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&ZA.has(a.name.toLowerCase());r.walkDecls(a=>{if(Ey(a,{inline:!0})||!ht(a))return;let{parent:s}=a;if(s&&!(ut(s)||o(s))){if(Oe(s)){let u=s.name.toLowerCase();if(yc.has(u)){if(Zw(a,l=>ut(l)||o(l)||i(l)))return}else return}P({message:Bg.rejected,messageArgs:[],node:a,result:n,ruleName:pl})}})},ml.ruleName=pl,ml.messages=Bg,ml.meta=RC,I3=ml}),j3={};z(j3,{default:()=>B3});function hl(){return 0}function xV(){return 1}function L3(e){return e.replace(Dy," ")}function D3(e,t){if(!gm.test(e))return e;let r=(0,F3.default)(e);return r.walk(n=>{t(n)&&(n.value=L3(n.value))}),r.toString()}function SV(e){return D3(e,t=>t.type==="string")}function qg(e,t){if(!e)return;let r=t?$3.test(t.toLowerCase()):!1;return D3(e,n=>n.type==="string"&&!r||n.type==="comment")}function CV(e){return gm.test(e)?(0,Ly.default)(t=>{t.walk(r=>{r.value&&(M3(r)||R3(r))&&(r.value=L3(r.value))})}).processSync(e):e}var Ly,F3,M3,R3,fl,Wg,$C,BC,_g,gm,Dy,qC,$3,WC,gl,B3,AV=y(()=>{Ly=re(Pt(),1),F3=re(me(),1),X(),lt(),Ye(),ke(),I(),L(),F(),{isAttribute:M3,isComment:R3}=Ly.default,fl="no-irregular-whitespace",Wg=j(fl,{rejected:"Unexpected irregular whitespace"}),$C={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},BC=["\v","\f"," ","…"," ","᠎","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "," "," "],_g=BC.join(""),gm=new RegExp(`[${_g}]`),Dy=new RegExp(`[${_g}]+`,"g"),qC=["grid","grid-template","grid-template-areas"],$3=new RegExp(`^(?:${qC.join("|")})$`,"i"),WC=e=>Array.from(e.matchAll(Dy)).map(t=>({index:t.index,length:t[0].length})),gl=e=>(t,r)=>{var o;if(!D(r,fl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!gm.test(n))return;let i=(a,s,u)=>{if(!s)return;let l=WC(s);if(!l.length)return;let c=u(a);l.forEach(({index:d,length:p})=>{P({ruleName:fl,result:r,message:Wg.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,hl),i(a,a.name,xV),i(a,a.raws.afterName,AA),i(a,SV(st(a)),Te),i(a,a.raws.between,F$),i(a,a.raws.after,D$)}),t.walkRules(a=>{i(a,a.raws.before,hl),i(a,CV(be(a)),hl),i(a,a.raws.between,M$),i(a,a.raws.after,R$)}),t.walkDecls(a=>{i(a,a.raws.before,hl),i(a,qg(a.prop),hl),i(a,qg(a.raws.between),zA),i(a,qg(Qe(a),a.prop),ie)})},gl.ruleName=fl,gl.messages=Wg,gl.meta=$C,B3=gl});function zV(e){let t=[],r=(0,q3.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Ie.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(!$e(a)){i=!0,t.length=0;return}if(ad(a)||rw.has(a))return;let{unit:s}=Ki(o);s||s===""||t.push(o)}),t}var q3,NV=y(()=>{q3=re(me(),1),He(),Hi(),qe(),sd()}),W3={};z(W3,{default:()=>_3});var bl,Ug,_C,vl,_3,EV=y(()=>{He(),V(),X(),NV(),I(),L(),F(),bl="no-unknown-animations",Ug=j(bl,{rejected:e=>`Unexpected unknown animation name "${e}"`}),_C={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},vl=e=>(t,r)=>{if(!D(r,bl,{actual:e}))return;let n=new Set;t.walkAtRules(we.keyframesName,i=>{n.add(i.params)}),t.walkDecls(i=>{if(i.prop.toLowerCase()==="animation"||i.prop.toLowerCase()==="animation-name"){let o=zV(i.value);if(o.length===0)return;for(let a of o){if(Cc.has(a.value.toLowerCase())||n.has(a.value))continue;let s=ie(i);P({result:r,ruleName:bl,message:Ug.rejected,messageArgs:[a.value],node:i,index:s+a.sourceIndex,endIndex:s+a.sourceEndIndex})}}})},vl.ruleName=bl,vl.messages=Ug,vl.meta=_C,_3=vl});function PV(e){return R7(st(e),{preserveInvalidMediaQueries:!0})}var OV=y(()=>{Zt(),lt()}),U3={};z(U3,{default:()=>V3});var yl,Vg,UC,wl,V3,TV=y(()=>{V(),Zt(),X(),md(),OV(),In(),I(),L(),F(),yl="no-unknown-custom-media",Vg=j(yl,{rejected:e=>`Unexpected unknown custom media "${e}"`}),UC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},wl=e=>(t,r)=>{if(!D(r,yl,{actual:e}))return;let n=new Set;t.walkAtRules(we.customMediaName,i=>{let o=PV(i);o&&n.add(o.getName())}),t.walkAtRules(we.mediaName,i=>{Y.customProperty.test(i.params)&&Tn(i).forEach(o=>{On(o)||o.walk(({node:a})=>{if(!Pn(a))return;let[,s,u,l]=a.getNameToken();if(!qi(s)||n.has(s))return;let c=Te(i),d=c+u,p=c+l+1;P({message:Vg.rejected,messageArgs:[s],node:i,index:d,endIndex:p,result:r,ruleName:yl})})})})},wl.ruleName=yl,wl.messages=Vg,wl.meta=UC,V3=wl}),Q3={};z(Q3,{default:()=>Y3});var VC,kl,Qg,QC,xl,Y3,IV=y(()=>{VC=re(me(),1),V(),X(),rd(),I(),L(),F(),kl="no-unknown-custom-properties",Qg=j(kl,{rejected:e=>`Unexpected unknown custom property "${e}"`}),QC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},xl=e=>(t,r)=>{if(!D(r,kl,{actual:e}))return;let n=new Set;t.walkAtRules(we.propertyName,({params:i})=>{n.add(i)}),t.walkDecls(Mr.custom,({prop:i})=>{n.add(i)}),t.walkDecls(i=>{let{value:o}=i;(0,VC.default)(o).walk(a=>{if(!Yi(a))return;let[s,u]=a.nodes;if(!s||n.has(s.value)||u&&u.type==="div")return;let l=ie(i);P({result:r,ruleName:kl,message:Qg.rejected,messageArgs:[s.value],node:i,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})})})},xl.ruleName=kl,xl.messages=Qg,xl.meta=QC,Y3=xl}),G3={};z(G3,{default:()=>K3});var Sl,Yg,YC,Cl,K3,jV=y(()=>{nt(),wt(),X(),q(),lt(),Ye(),Er(),De(),H(),I(),L(),_w(),F(),Sl="number-max-precision",Yg=j(Sl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),YC={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Cl=(e,t)=>(r,n)=>{var u;if(!D(n,Sl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,U],ignoreUnits:[$,U],insideFunctions:[um(cr)]}}))return;let i=new Map(Object.entries((u=t==null?void 0:t.insideFunctions)!=null?u:{}));r.walkAtRules(l=>{l.name.toLowerCase()!=="import"&&o(l,Te,st(l))}),r.walkDecls(l=>{o(l,ie,Qe(l))});function o(l,c,d){if(!d.includes("."))return;let p="prop"in l?l.prop:void 0;if(R(t,"ignoreProperties",p))return;let h={ignored:!1,precision:e};En(Ji(yt({css:d})),({node:b,state:m})=>{m&&(m.ignored||a(l,c,b,m))},h)}function a(l,c,d,p){if(Ge(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!se(d))return;let[h,b,m,v,g]=d.value;if(h!==C.Number&&h!==C.Dimension&&h!==C.Percentage)return;let f=0;if(h===C.Dimension){let k=g.unit;if(f=k.length,R(t,"ignoreUnits",k))return}else if(h===C.Percentage&&(f=1,R(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(b);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(l);P({result:n,ruleName:Sl,node:l,index:w+m,endIndex:w+(v+1)-f,message:Yg.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(l,c){let d=i.get(l);if(typeof d<"u")return d;for(let[p,h]of i)if(Ee(l,p))return h;return c}},Cl.ruleName=Sl,Cl.messages=Yg,Cl.meta=YC,K3=Cl}),H3={};z(H3,{default:()=>Z3});var Al,Gg,GC,Hn,Z3,LV=y(()=>{q(),$r(),De(),I(),L(),F(),Al="property-allowed-list",Gg=j(Al,{rejected:e=>`Unexpected property "${e}"`}),GC={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},Hn=e=>(t,r)=>{D(r,Al,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Rr(i)&&(Ee(i,e)||P({message:Gg.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Al}))})},Hn.primaryOptionArray=!0,Hn.ruleName=Al,Hn.messages=Gg,Hn.meta=GC,Z3=Hn}),X3={};z(X3,{default:()=>J3});var zl,Kg,KC,Zn,J3,DV=y(()=>{q(),$r(),De(),I(),L(),F(),zl="property-disallowed-list",Kg=j(zl,{rejected:e=>`Unexpected property "${e}"`}),KC={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},Zn=e=>(t,r)=>{D(r,zl,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Rr(i)&&Ee(i,e)&&P({message:Kg.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:zl})})},Zn.primaryOptionArray=!0,Zn.ruleName=zl,Zn.messages=Kg,Zn.meta=KC,J3=Zn}),eR={};z(eR,{default:()=>tR});var Nl,pp,HC,ZC,El,tR,FV=y(()=>{q(),ft(),H(),I(),L(),F(),Nl="property-no-deprecated",pp=j(Nl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Unexpected deprecated property "${e}"`}),HC={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},ZC={"-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},El=(e,t)=>(r,n)=>{D(n,Nl,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!ht(i))return;let{prop:o,value:a}=i;if(R(t,"ignoreProperties",o))return;let s=o.toLowerCase(),u=ZC[s];if(typeof u>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let l,c,d;u?(c=pp.expected,d=[o,u],l=()=>{i.prop=u}):(c=pp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:Nl,fix:{apply:l,node:i}})})},El.ruleName=Nl,El.messages=pp,El.meta=HC,tR=El}),rR={};z(rR,{default:()=>nR});var Pl,Hg,XC,Ol,nR,MV=y(()=>{he(),q(),rn(),Xw(),Nr(),FD(),ft(),$r(),H(),I(),L(),F(),Et(),Pl="property-no-unknown",Hg=j(Pl,{rejected:e=>`Unexpected unknown property "${e}"`}),XC={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Ol=(e,t)=>(r,n)=>{if(!D(n,Pl,{actual:e},{actual:t,possible:{ignoreProperties:[$,U],checkPrefixed:[_c],ignoreSelectors:[$,U],ignoreAtRules:[$,U]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let u=s.prop;if(!ht(s)||DD(s)||!Rr(u)||vt(u)||!i&&Ke.prefix(u)||R(t,"ignoreProperties",u))return;let l=s.parent;l&&ut(l)&&R(t,"ignoreSelectors",l.selector)||Zw(s,c=>Oe(c)&&R(t,"ignoreAtRules",c.name))||o.getProperty(u)||az.has(u.toLowerCase())||i&&sz.has(u.toLowerCase())||P({message:Hg.rejected,messageArgs:[u],node:s,result:n,ruleName:Pl,word:u})}},Ol.ruleName=Pl,Ol.messages=Hg,Ol.meta=XC,nR=Ol}),iR={};z(iR,{default:()=>oR});var Tl,Zg,JC,Il,oR,RV=y(()=>{q(),He(),Zc(),H(),I(),L(),F(),Tl="property-no-vendor-prefix",Zg=j(Tl,{rejected:e=>`Unexpected vendor-prefixed property "${e}"`}),JC={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Il=(e,t)=>(r,n)=>{D(n,Tl,{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]==="-"||!Sr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let u=s.trim().split(/\s+/),l=u.length,[c]=u;switch(l){case 2:return!0;case 1:return c&&(c==="auto"||Ie.has(c));default:return!1}}))return;let a=()=>{i.prop=Sr.unprefix(i.prop)};P({message:Zg.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:Tl,fix:{apply:a,node:i}})})},Il.ruleName=Tl,Il.messages=Zg,Il.meta=JC,oR=Il});function $V(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!iw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var BV=y(()=>{ow()}),aR={};z(aR,{default:()=>sR});function e2(e){let t=Lr(e);return t!=null&&t.type==="rule"}var jl,mp,t2,Ll,sR,qV=y(()=>{Qc(),zn(),Gc(),BV(),Kc(),zm(),Lm(),pe(),H(),I(),L(),F(),jl="rule-empty-line-before",mp=j(jl,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"}),t2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Ll=(e,t,r)=>(n,i)=>{if(!D(i,jl,{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(!de(a)||Am(a))return;if(R(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(R(t,"ignore","first-nested")&&Dr(a))return;let s=a.parent&&a.parent.type!=="root";if(R(t,"ignore","inside-block")&&s||o.includes("multi-line")&&jm(a.toString()))return;let u=o.includes("always");(R(t,"except","first-nested")&&Dr(a)||R(t,"except","after-rule")&&e2(a)||R(t,"except","inside-block-and-after-rule")&&s&&e2(a)||R(t,"except","after-single-line-comment")&&$V(a)||R(t,"except","inside-block")&&s)&&(u=!u);let l=Yc(a.raws.before);if(u===l)return;let c=u?mp.expected:mp.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:jl,fix:{apply:()=>Vc({node:a,newline:r.newline,action:d}),node:a.parent}})})},Ll.ruleName=jl,Ll.messages=mp,Ll.meta=t2,sR=Ll}),lR={};z(lR,{default:()=>uR});function WV(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Ee(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Dl,Xg,r2,Xn,uR,_V=y(()=>{he(),q(),pe(),De(),I(),L(),F(),Dl="rule-nesting-at-rule-required-list",Xg=j(Dl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),r2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},Xn=e=>(t,r)=>{if(!D(r,Dl,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkRules(i=>{de(i)&&(WV(i,n)||P({message:Xg.expected,messageArgs:n,node:i,result:r,ruleName:Dl}))})},Xn.primaryOptionArray=!0,Xn.ruleName=Dl,Xn.messages=Xg,Xn.meta=r2,uR=Xn}),cR={};z(cR,{default:()=>dR});function UV(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 Fl,Jg,n2,Ml,dR,VV=y(()=>{q(),dh(),pe(),De(),H(),I(),L(),Ht(),F(),Fl="rule-selector-property-disallowed-list",Jg=j(Fl,{rejected:(e,t)=>`Unexpected property "${t}" for selector "${e}"`}),n2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Ml=(e,t)=>(r,n)=>{if(!D(n,Fl,{actual:e,possible:[Dt($,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(!de(a)||i&&ch(a))return;let s=o.find(l=>Ee(a.selector,l));if(!s)return;let u=e[s];u&&a.walkDecls(l=>{if(!UV(l,a))return;let{prop:c}=l;Ee(c,u)&&P({message:Jg.rejected,messageArgs:[a.selector,c],node:l,result:n,ruleName:Fl,word:c})})})},Ml.ruleName=Fl,Ml.messages=Jg,Ml.meta=n2,dR=Ml}),pR={};z(pR,{default:()=>mR});function QV(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Rl,eb,i2,$l,mR,YV=y(()=>{Gi(),qt(),q(),ke(),pe(),V(),I(),L(),F(),Rl="selector-anb-no-unmatchable",eb=j(Rl,{rejected:e=>`Unexpected unmatchable An+B selector "${e}"`}),i2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},$l=e=>(t,r)=>{D(r,Rl,{actual:e})&&t.walkRules(Y.aNPlusBNotationPseudoClass,n=>{if(!de(n))return;let i=be(n),o;try{o=en(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(u=>{if(u.type!=="PseudoClassSelector"||!xc.has(u.name)&&!Ei.has(u.name))return;let l=u;l.children!==null&&l.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;Ue(l.loc);let d=l.loc.start.offset,p=l.loc.end.offset;QV(c.nth)&&P({message:eb.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Rl})})})}})},$l.ruleName=Rl,$l.messages=eb,$l.meta=i2,mR=$l}),hR={};z(hR,{default:()=>fR});var Bl,tb,o2,Jn,fR,GV=y(()=>{q(),ke(),pe(),De(),V(),ze(),I(),L(),F(),Bl="selector-attribute-name-disallowed-list",tb=j(Bl,{rejected:e=>`Unexpected name "${e}"`}),o2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},Jn=e=>(t,r)=>{D(r,Bl,{actual:e,possible:[$,U]})&&t.walkRules(Y.attributeSelector,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Ee(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),u=s+a.length;P({message:tb.rejected,messageArgs:[a],node:n,index:s,endIndex:u,result:r,ruleName:Bl})}))})},Jn.primaryOptionArray=!0,Jn.ruleName=Bl,Jn.messages=tb,Jn.meta=o2,fR=Jn}),gR={};z(gR,{default:()=>bR});var ql,rb,a2,ei,bR,KV=y(()=>{ke(),pe(),q(),V(),ze(),I(),L(),F(),ql="selector-attribute-operator-allowed-list",rb=j(ql,{rejected:e=>`Unexpected operator "${e}"`}),a2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ei=e=>(t,r)=>{if(!D(r,ql,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Y.attributeSelectorWithOperator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let u=a.sourceIndex+a.offsetOf("operator"),l=u+s.length;P({message:rb.rejected,messageArgs:[s],node:i,index:u,endIndex:l,result:r,ruleName:ql})}))})},ei.primaryOptionArray=!0,ei.ruleName=ql,ei.messages=rb,ei.meta=a2,bR=ei}),vR={};z(vR,{default:()=>yR});var Wl,nb,s2,ti,yR,HV=y(()=>{ke(),pe(),q(),V(),ze(),I(),L(),F(),Wl="selector-attribute-operator-disallowed-list",nb=j(Wl,{rejected:e=>`Unexpected operator "${e}"`}),s2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},ti=e=>(t,r)=>{if(!D(r,Wl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Y.attributeSelectorWithOperator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let u=a.sourceIndex+a.offsetOf("operator"),l=u+s.length;P({message:nb.rejected,messageArgs:[s],node:i,index:u,endIndex:l,result:r,ruleName:Wl})}))})},ti.primaryOptionArray=!0,ti.ruleName=Wl,ti.messages=nb,ti.meta=s2,yR=ti});function ZV(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(wR,"").replace(kR,"");return!(xR.test(t)||Fy.test(t.charAt(0))||t.charAt(0)==="-"&&Fy.test(t.charAt(1)))}var wR,kR,xR,Fy,XV=y(()=>{wR=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,kR=/\\./g,xR=/[^\w-]/,Fy=/\d/}),SR={};z(SR,{default:()=>CR});var _l,ib,l2,Ul,CR,JV=y(()=>{ke(),pe(),XV(),V(),ze(),I(),L(),F(),_l="selector-attribute-quotes",ib=j(_l,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),l2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},Ul=e=>(t,r)=>{D(r,_l,{actual:e,possible:["always","never"]})&&t.walkRules(Y.attributeSelectorWithOperator,n=>{if(!de(n))return;let i=Ce(be(n),r,n);if(!i)return;let o=(a,s)=>{var p;let u=s.sourceIndex+s.offsetOf("value"),l=s.value||"",c=u+((p=s.raws.value)!=null?p:l).length,d=()=>{let h=a==="expected"?'"':null;s.quoteMark=h,n.selector=i.toString()};P({message:ib[a],messageArgs:[l],index:u,endIndex:c,result:r,ruleName:_l,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:u,quoted:l}=a;if(!(!s||!u)&&(!l&&e==="always"&&o("expected",a),l&&e==="never")){if(!a.raws.value||!ZV(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},Ul.ruleName=_l,Ul.messages=ib,Ul.meta=l2,CR=Ul});function ph(e){return!!(Pi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||AR.test(e))}var AR,mh=y(()=>{He(),AR=new RegExp(`^(?:${[...zz.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),zR={};z(zR,{default:()=>NR});var Vl,ob,u2,Ql,NR,eQ=y(()=>{q(),ke(),mh(),pe(),V(),ze(),I(),L(),F(),Vl="selector-class-pattern",ob=j(Vl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),u2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},Ql=e=>(t,r)=>{if(!D(r,Vl,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Y.classSelector,i=>{var o;de(i)&&(i.selectors.some(ph)||((o=Ce(be(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:u}=a;if(n.test(s))return;let l=a.toString().trim(),c=u+l.length;P({result:r,ruleName:Vl,message:ob.expected,messageArgs:[l,e],node:i,index:u,endIndex:c})})))})},Ql.ruleName=Vl,Ql.messages=ob,Ql.meta=u2,NR=Ql});function ER(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 PR=y(()=>{}),OR={};z(OR,{default:()=>TR});function tQ(e){return e.replace(/\s+/g," ")}var Yl,ab,c2,ri,TR,rQ=y(()=>{ke(),PR(),pe(),q(),ze(),I(),L(),F(),Yl="selector-combinator-allowed-list",ab=j(Yl,{rejected:e=>`Unexpected combinator "${e}"`}),c2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ri=e=>(t,r)=>{D(r,Yl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkCombinators(o=>{if(!ER(o))return;let{value:a}=o,s=tQ(a);if(e.includes(s))return;let{sourceIndex:u,raws:l}=o,c=u+(l&&l.value||a).length;P({result:r,ruleName:Yl,message:ab.rejected,messageArgs:[s],node:n,index:u,endIndex:c})}))})},ri.primaryOptionArray=!0,ri.ruleName=Yl,ri.messages=ab,ri.meta=c2,TR=ri}),IR={};z(IR,{default:()=>jR});function nQ(e){return e.replace(/\s+/g," ")}var Gl,sb,d2,ni,jR,iQ=y(()=>{ke(),PR(),pe(),q(),ze(),I(),L(),F(),Gl="selector-combinator-disallowed-list",sb=j(Gl,{rejected:e=>`Unexpected combinator "${e}"`}),d2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ni=e=>(t,r)=>{D(r,Gl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkCombinators(o=>{if(!ER(o))return;let{value:a}=o,s=nQ(a);if(!e.includes(s))return;let{sourceIndex:u,raws:l}=o,c=u+(l&&l.value||a).length;P({result:r,ruleName:Gl,message:sb.rejected,messageArgs:[s],node:n,index:u,endIndex:c})}))})},ni.primaryOptionArray=!0,ni.ruleName=Gl,ni.messages=sb,ni.meta=d2,jR=ni}),LR={};z(LR,{default:()=>DR});var Kl,lb,p2,ii,DR,oQ=y(()=>{q(),ke(),kt(),dh(),pe(),De(),H(),ze(),I(),L(),F(),Kl="selector-disallowed-list",lb=j(Kl,{rejected:e=>`Unexpected selector "${e}"`}),p2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ii=(e,t)=>(r,n)=>{if(!D(n,Kl,{actual:e,possible:[$,U]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[_c]},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(!de(s)||o&&ch(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function u(d,p,h){Ee(d,e)&&P({result:n,ruleName:Kl,message:lb.rejected,messageArgs:[d],node:s,index:p,endIndex:h})}let l=be(s);if(!a){u(l,0,l.length);return}(c=Ce(l,n,s))==null||c.each(d=>{let{selector:p,index:h,endIndex:b}=at(d);u(p,h,b)})})},ii.primaryOptionArray=!0,ii.ruleName=Kl,ii.messages=lb,ii.meta=p2,DR=ii}),FR={};z(FR,{default:()=>MR});var Hl,ub,m2,Zl,MR,aQ=y(()=>{q(),ke(),pe(),V(),ze(),I(),L(),F(),Hl="selector-id-pattern",ub=j(Hl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),m2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},Zl=e=>(t,r)=>{if(!D(r,Hl,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Y.idSelector,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:u}=a;if(n.test(s))return;let l=a.toString().trim(),c=u+l.length;P({result:r,ruleName:Hl,message:ub.expected,messageArgs:[l,e],node:i,index:u,endIndex:c})}))})},Zl.ruleName=Hl,Zl.messages=ub,Zl.meta=m2,MR=Zl}),RR={};z(RR,{default:()=>$R});var Xl,cb,h2,Jl,$R,sQ=y(()=>{q(),ke(),kt(),Er(),pe(),V(),H(),ze(),I(),L(),F(),Xl="selector-max-attribute",cb=j(Xl,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} attribute ${t===1?"selector":"selectors"}`}),h2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},Jl=(e,t)=>(r,n)=>{if(!D(n,Xl,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,U]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(u=>{R(t,"ignoreAttributes",u.attribute)||(s+=1)}),s>e){let{index:u,endIndex:l,selector:c}=at(o);P({ruleName:Xl,result:n,node:a,message:cb.expected,messageArgs:[c,e],index:u,endIndex:l})}}r.walkRules(Y.attributeSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},Jl.ruleName=Xl,Jl.messages=cb,Jl.meta=h2,$R=Jl}),BR={};z(BR,{default:()=>qR});var eu,db,f2,tu,qR,lQ=y(()=>{ke(),kt(),Er(),pe(),V(),ze(),I(),L(),F(),eu="selector-max-class",db=j(eu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"class":"classes"}`}),f2={url:"https://stylelint.io/user-guide/rules/selector-max-class"},tu=e=>(t,r)=>{if(!D(r,eu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:u,selector:l}=at(i);P({ruleName:eu,result:r,node:o,message:db.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.classSelector,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},tu.ruleName=eu,tu.messages=db,tu.meta=f2,qR=tu}),WR={};z(WR,{default:()=>_R});var ru,pb,g2,nu,_R,uQ=y(()=>{ke(),kt(),Er(),pe(),V(),ze(),I(),L(),F(),ru="selector-max-combinators",pb=j(ru,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${t===1?"combinator":"combinators"}`}),g2={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},nu=e=>(t,r)=>{if(!D(r,ru,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:u,selector:l}=at(i);P({ruleName:ru,result:r,node:o,message:pb.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.combinator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},nu.ruleName=ru,nu.messages=pb,nu.meta=g2,_R=nu});function cQ(e,t){return t===1?e:`${e}s`}var dQ=y(()=>{}),UR={};z(UR,{default:()=>VR});var b2,mb,hb,v2,iu,fb,y2,ou,VR,pQ=y(()=>{b2=re(Pt(),1),q(),ke(),kt(),Er(),pe(),V(),H(),ze(),dQ(),I(),L(),F(),{isCombinator:mb,isPseudo:hb,isRoot:v2}=b2.default,iu="selector-max-compound-selectors",fb=j(iu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} compound ${cQ("selector",t)}`}),y2={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},ou=(e,t)=>(r,n)=>{if(!D(n,iu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;function i(a){let s=hb(a)?a.value:a.toString();return R(t,"ignoreSelectors",s)}function o(a,s){let u=[];if(a.walk(l=>{i(l)||u.push(l)}),!(v2(a)||hb(a))&&u.reduce((l,c,d,p)=>!mb(c)||d===0||d===p.length-1||mb(p[d+1])?l:l+1,0)+1>e){let{index:l,endIndex:c,selector:d}=at(a);P({ruleName:iu,result:n,node:s,message:fb.expected,messageArgs:[d,e],index:l,endIndex:c})}}r.walkRules(Y.combinator,a=>{var s;de(a)&&((s=Ce(be(a),n,a))==null||s.each(u=>{o(u,a)}))})},ou.ruleName=iu,ou.messages=fb,ou.meta=y2,VR=ou});function mQ(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Mp.has(t)||Ei.has(t)}return!1}var hQ=y(()=>{qt()}),QR={};z(QR,{default:()=>YR});var au,gb,w2,su,YR,fQ=y(()=>{q(),ke(),kt(),hQ(),Er(),pe(),V(),H(),ze(),I(),L(),F(),au="selector-max-id",gb=j(au,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ID ${t===1?"selector":"selectors"}`}),w2={url:"https://stylelint.io/user-guide/rules/selector-max-id"},su=(e,t)=>(r,n)=>{if(!D(n,au,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,U]},optional:!0}))return;function i(o){let a=o;for(;a;){if(mQ(a)&&R(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Y.idSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{let u=0;if(s.walkIds(l=>{i(l)||(u+=1)}),u>e){let{index:l,endIndex:c,selector:d}=at(s);P({ruleName:au,result:n,node:o,message:gb.expected,messageArgs:[d,e],index:l,endIndex:c})}}))})},su.ruleName=au,su.messages=gb,su.meta=w2,YR=su}),GR={};z(GR,{default:()=>KR});var lu,bb,k2,uu,KR,gQ=y(()=>{ke(),kt(),Er(),pe(),qt(),V(),ze(),I(),L(),F(),lu="selector-max-pseudo-class",bb=j(lu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} pseudo-${t===1?"class":"classes"}`}),k2={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},uu=e=>(t,r)=>{if(!D(r,lu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||wc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:u,selector:l}=at(i);P({ruleName:lu,result:r,node:o,message:bb.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.pseudo,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},uu.ruleName=lu,uu.messages=bb,uu.meta=k2,KR=uu}),HR={};z(HR,{default:()=>ZR});var cu,vb,x2,yb,du,ZR,bQ=y(()=>{c3(),q(),kt(),pe(),H(),I(),uh(),L(),F(),cu="selector-max-specificity",vb=j(cu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Expected ${e} to have a specificity no more than "${t}"`)}),x2={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},yb=()=>({a:0,b:0,c:0}),du=(e,t)=>(r,n)=>{if(!D(n,cu,{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())?yb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return yb();let p=yn(c),h=yn(c.clone({nodes:[]}));return{a:p.a-h.a,b:p.b-h.b,c:p.c-h.c}}default:}}:void 0,[a,s,u]=e.split(",").map(c=>Number.parseFloat(c));oc(a),oc(s),oc(u);let l={a,b:s,c:u};r.walkRules(c=>{de(c)&&Bc(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(h=>{let b=yn(h,{customSpecificity:o});if(gk(b,l)>0){let{index:m,endIndex:v,selector:g}=at(d),{selector:f}=at(h);f=f===g?"":f,P({ruleName:cu,result:n,node:c,message:vb.expected,messageArgs:[g,e,f],index:m,endIndex:v})}})})})},du.ruleName=cu,du.messages=vb,du.meta=x2,ZR=du}),vk,XR=y(()=>{"use strict";vk=[]}),JR=G((e,t)=>{"use strict";t.exports=[]});function e5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||t5.default.includes(t)||vk.includes(t))}var t5,r5=y(()=>{XR(),t5=re(JR(),1)});function vQ(e){for(let t of e)if(!dv(t))return!1;return!0}var yQ=y(()=>{oE()});function hh(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"&&(xc.has(o)||Ei.has(o)||ev.has(o)||Xb.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var fh=y(()=>{qt()}),n5={};z(n5,{default:()=>i5});function wQ(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>CQ(r))}function kQ(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>AQ(r))}function xQ(e){return!!(e.prev()&&!qc(e.prev())||e.next()&&!qc(e.next()))}function SQ(e){return zQ(e.prev())}function qc(e){return e?e.type==="combinator":!1}function CQ(e){return e?qc(e)&&$(e.value)&&vQ(e.value):!1}function AQ(e){return e?qc(e)&&e.value===">":!1}function zQ(e){return qc(e)&&e.value==="+"}var pu,wb,S2,mu,i5,NQ=y(()=>{q(),ke(),kt(),r5(),mh(),Er(),yQ(),pe(),fh(),V(),H(),ze(),I(),L(),F(),pu="selector-max-type",wb=j(pu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} type ${t===1?"selector":"selectors"}`}),S2={url:"https://stylelint.io/user-guide/rules/selector-max-type"},mu=(e,t)=>(r,n)=>{if(!D(n,pu,{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"),u=R(t,"ignore","custom-elements");function l(c,d){let p=0;if(c.walkTags(h=>{R(t,"ignoreTypes",h.value)||i&&wQ(h)||o&&kQ(h)||a&&xQ(h)||s&&SQ(h)||u&&h.value&&e5(h.value)||hh(h)&&(p+=1)}),p>e){let{selector:h,index:b,endIndex:m}=at(c);P({ruleName:pu,result:n,node:d,message:wb.expected,messageArgs:[h,e],index:b,endIndex:m})}}r.walkRules(Y.typeSelector,c=>{var d;!de(c)||c.selectors.some(ph)||(d=Ce(be(c),n,c))==null||d.each(p=>{l(p,c)})})},mu.ruleName=pu,mu.messages=wb,mu.meta=S2,i5=mu}),o5={};z(o5,{default:()=>a5});var hu,kb,C2,fu,a5,EQ=y(()=>{ke(),kt(),Er(),pe(),q(),V(),H(),ze(),I(),L(),F(),hu="selector-max-universal",kb=j(hu,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} universal ${t===1?"selector":"selectors"}`}),C2={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},fu=(e,t)=>(r,n)=>{if(!D(n,hu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(u=>{let l=u.prev(),c=l&&l.value;R(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:u,endIndex:l,selector:c}=at(o);P({ruleName:hu,result:n,node:a,message:kb.expected,messageArgs:[c,e],index:u,endIndex:l})}}r.walkRules(Y.universalSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},fu.ruleName=hu,fu.messages=kb,fu.meta=C2,a5=fu}),s5={};z(s5,{default:()=>l5});var gu,xb,A2,bu,l5,PQ=y(()=>{q(),ke(),kt(),pe(),ze(),I(),L(),F(),gu="selector-nested-pattern",xb=j(gu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),A2={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},bu=(e,t)=>(r,n)=>{if(!D(n,gu,{actual:e,possible:[U,$]},{actual:t,possible:{splitList:[_c]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var l;if(s.parent&&s.parent.type!=="rule"||!de(s))return;let u=be(s);o?(l=Ce(u,n,s))==null||l.each(c=>{let{index:d,endIndex:p,selector:h}=at(c);a(s,h,d,p)}):a(s,u,0,u.length)});function a(s,u,l,c){i.test(u)||P({result:n,ruleName:gu,message:xb.expected,messageArgs:[u,e],node:s,index:l,endIndex:c})}},bu.ruleName=gu,bu.messages=xb,bu.meta=A2,l5=bu}),u5={};z(u5,{default:()=>m5});function My(e){return Je.default.isPseudoClass(e)&&p5.has(e.value)&&!!e.nodes.length}function OQ(e){let t=Je.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{c5(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Je.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function c5(e){let t=[],r=[[]];return e.each(n=>{if(Je.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Je.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),My(n)){let i=[];n.each(o=>{let a=c5(o),s=a.at(-1);if(!s)return;let u=a.slice(0,-1);t.push(...u),r.forEach(l=>{i.push([...l,...s])})}),r=i;return}r.forEach(i=>{i.push(n)})}),r.length&&t.push(...r),t}function d5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(My(t))return d5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Je.default.isCombinator(n)||Je.default.isPseudoElement(n));)Je.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Je.default.isCombinator(i)||Je.default.isPseudoElement(i));)Je.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Je.default.isIdentifier(i)||Je.default.isClassName(i)||Je.default.isAttribute(i)||Je.default.isTag(i)||My(i));)r.splice(-1,1);return r}var Je,vu,Sb,z2,p5,yu,m5,TQ=y(()=>{Je=re(Pt(),1),kt(),dh(),pe(),fh(),qt(),V(),H(),I(),uh(),L(),F(),vu="selector-no-qualifying-type",Sb=j(vu,{rejected:(e,t)=>`Unexpected qualifying type selector "${t}" in "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},p5=new Set([...Mp,"host"].map(e=>`:${e}`)),yu=(e,t)=>(r,n)=>{if(!D(n,vu,{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(Y.idClassAttributeSelector,s=>{if(!de(s)||ch(s))return;function u(l,c,d){let{compoundSelectors:p,lookupMap:h}=OQ(l);p.walkTags(b=>{var x;let m=h.get(b);if(!m||!hh(m))return;let v=b.parent;if(!v||v.nodes.length===1)return;let g=v.nodes,f=d5(m);for(let w of g)if(Je.default.isIdentifier(w)&&!i||Je.default.isClassName(w)&&!o||Je.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=b.sourceIndex)!=null?x:0,E=S+b.value.length),P({ruleName:vu,result:n,node:s,message:Sb.rejected,messageArgs:[k,b.value],index:S,endIndex:E});break}})}Bc(s,n).forEach(({selector:l,resolvedSelectors:c,nested:d})=>{u(c,l,d)})})},yu.ruleName=vu,yu.messages=Sb,yu.meta=z2,m5=yu}),h5={};z(h5,{default:()=>f5});var wu,Cb,N2,ku,f5,IQ=y(()=>{q(),ke(),Zc(),pe(),V(),H(),ze(),I(),L(),F(),wu="selector-no-vendor-prefix",Cb=j(wu,{rejected:e=>`Unexpected vendor-prefixed selector "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},ku=(e,t)=>(r,n)=>{D(n,wu,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(Y.prefix,i=>{if(!de(i))return;let o=Ce(be(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!Sr.selector(s)||R(t,"ignoreSelectors",s))return;let u=()=>{a.value=Sr.unprefix(s),i.selector=o.toString()},l=a.sourceIndex,c=l+s.length;P({result:n,ruleName:wu,message:Cb.rejected,messageArgs:[s],node:i,index:l,endIndex:c,fix:{apply:u,node:i}})})})},ku.ruleName=wu,ku.messages=Cb,ku.meta=N2,f5=ku}),g5={};z(g5,{default:()=>v5});function jQ(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&Ry(o[0])).map(o=>(Ue(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();Ue(i),Ue(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=b5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function LQ(e,t,r){let n=s=>{for(let u of s)Ue(u.nodes[0]),u.nodes[0].rawSpaceBefore=" ",u.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for(Ue(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);mi(a);){let s=a.nodes,u=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),u.remove()}t.selector=r.toString()}}var E2,P2,O2,T2,Ab,I2,j2,xu,zb,L2,Ry,mi,D2,Su,b5,v5,DQ=y(()=>{E2=re(Pt(),1),q(),ke(),pe(),V(),ze(),I(),L(),F(),{isAttribute:P2,isClassName:O2,isIdentifier:T2,isPseudoClass:Ab,isTag:I2,isUniversal:j2}=E2.default,xu="selector-not-notation",zb=j(xu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),L2={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},Ry=e=>Ab(e)||P2(e)||O2(e)||j2(e)||T2(e)||I2(e),mi=e=>Ab(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",D2=e=>{if(e.length>1)return!1;Ue(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:Ry(t)&&!mi(t):!0},Su=e=>(t,r)=>{D(r,xu,{actual:e,possible:["simple","complex"]})&&t.walkRules(Y.notPseudoClass,n=>{if(!de(n))return;let i=Ce(be(n),r,n);i&&i.walkPseudos(o=>{if(!mi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,u;if(e==="complex"){let l=o.prev();if(!(l&&mi(l)))return;u=()=>LQ(l,n,i)}else{let l=o.nodes;if(D2(l))return;let c=l.length>1&&l[1];c&&(!c.nodes.length||l.every(({nodes:d})=>d.length===1))&&(u=()=>jQ(o,n,i))}P({message:zb.expected,messageArgs:[e],node:n,result:r,ruleName:xu,index:a,endIndex:s,fix:{apply:u,node:n}})})})},b5=({parent:e,sourceIndex:t})=>{Ue(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!mi(o)),i=n===-1?r[r.length-1]:r[n-1];return Ue(i),i},Su.ruleName=xu,Su.messages=zb,Su.meta=L2,v5=Su}),y5={};z(y5,{default:()=>w5});var Cu,Nb,F2,oi,w5,FQ=y(()=>{V(),q(),X(),lt(),ke(),tt(),pe(),De(),ze(),I(),L(),F(),Cu="selector-pseudo-class-allowed-list",Nb=j(Cu,{rejected:e=>`Unexpected pseudo-class "${e}"`}),F2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},oi=e=>(t,r)=>{if(!D(r,Cu,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Ce(i,r,o))==null||s.walkPseudos(({value:u,sourceIndex:l})=>{if(u.slice(0,2)==="::")return;let c=u.slice(1);if(Ee(c,e))return;let d=a+l;P({message:Nb.rejected,messageArgs:[u],node:o,result:r,ruleName:Cu,index:d,endIndex:d+u.length})})}t.walkRules(Y.pseudo,i=>{de(i)&&n(be(i),i)}),t.walkAtRules(we.pageName,i=>{Y.pseudo.test(i.params)&&et(i)&&n(st(i),i,Te(i))})},oi.primaryOptionArray=!0,oi.ruleName=Cu,oi.messages=Nb,oi.meta=F2,w5=oi}),k5={};z(k5,{default:()=>x5});var Au,Eb,M2,ai,x5,MQ=y(()=>{V(),q(),X(),lt(),ke(),tt(),pe(),De(),ze(),I(),L(),F(),Au="selector-pseudo-class-disallowed-list",Eb=j(Au,{rejected:e=>`Unexpected pseudo-class "${e}"`}),M2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},ai=e=>(t,r)=>{if(!D(r,Au,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Ce(i,r,o))==null||s.walkPseudos(({value:u,sourceIndex:l})=>{if(u.slice(0,2)==="::")return;let c=u.slice(1);if(!Ee(c,e))return;let d=a+l;P({message:Eb.rejected,messageArgs:[u],node:o,result:r,ruleName:Au,index:d,endIndex:d+u.length})})}t.walkRules(Y.pseudo,i=>{de(i)&&n(be(i),i)}),t.walkAtRules(we.pageName,i=>{Y.pseudo.test(i.params)&&et(i)&&n(st(i),i,Te(i))})},ai.primaryOptionArray=!0,ai.ruleName=Au,ai.messages=Eb,ai.meta=M2,x5=ai});function RQ(e){return e.startsWith(":--")}var $Q=y(()=>{}),S5={};z(S5,{default:()=>C5});var zu,Pb,R2,Nu,C5,BQ=y(()=>{qt(),q(),X(),lt(),ke(),he(),$Q(),tt(),pe(),Om(),H(),ze(),I(),L(),F(),Et(),zu="selector-pseudo-class-no-unknown",Pb=j(zu,{rejected:e=>`Unexpected unknown pseudo-class selector "${e}"`}),R2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Nu=(e,t)=>(r,n)=>{if(!D(n,zu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,U]},optional:!0}))return;function i(o,a){var s;(s=Ce(o,n,a))==null||s.walkPseudos(u=>{let l=u.value;if(!Pm(l)||RQ(l)||l.startsWith("::"))return;let c=l.replace(/^:*/,"").toLowerCase();if(wc.has(c)||R(t,"ignorePseudoClasses",u.value.slice(1)))return;let d=Ke.prefix(c),p;if(Oe(a)&&a.name==="page"){if(dz.has(c))return;p=Te(a)+u.sourceIndex}else if(xm.has(c)&&!d)p=u.sourceIndex;else{if(d||mz.has(c))return;let b=u;do if(b=b.prev(),b&&b.value.slice(0,2)==="::")break;while(b);if(b){let m=b.value.toLowerCase().slice(2);if(Jb.has(m)&&pz.has(c))return}p=u.sourceIndex}let h=p+u.value.length;P({message:Pb.rejected,messageArgs:[l],node:a,index:p,endIndex:h,ruleName:zu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!de(o))return;a=be(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!et(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Nu.ruleName=zu,Nu.messages=Pb,Nu.meta=R2,C5=Nu}),A5={};z(A5,{default:()=>z5});var Eu,Ob,$2,si,z5,qQ=y(()=>{q(),ke(),pe(),De(),V(),ze(),I(),L(),F(),Eu="selector-pseudo-element-allowed-list",Ob=j(Eu,{rejected:e=>`Unexpected pseudo-element "${e}"`}),$2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},si=e=>(t,r)=>{D(r,Eu,{actual:e,possible:[$,U]})&&t.walkRules(Y.pseudoElement,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Ee(s,e))return;let u=o.sourceIndex,l=u+a.length;P({index:u,endIndex:l,message:Ob.rejected,messageArgs:[a],node:n,result:r,ruleName:Eu})}))})},si.primaryOptionArray=!0,si.ruleName=Eu,si.messages=Ob,si.meta=$2,z5=si}),N5={};z(N5,{default:()=>E5});var Pu,Tb,B2,Ou,E5,WQ=y(()=>{ke(),pe(),qt(),V(),ze(),I(),L(),F(),Pu="selector-pseudo-element-colon-notation",Tb=j(Pu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),B2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Ou=e=>(t,r)=>{if(!D(r,Pu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Y.pseudo,i=>{if(!de(i))return;let o=Ce(be(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!wc.has(s.toLowerCase()))return;let u=a.value.startsWith("::");if(e==="single"&&!u||e==="double"&&u)return;let l=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:Tb.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(u?2:1),result:r,ruleName:Pu,fix:{apply:l,node:i}})})})},Ou.ruleName=Pu,Ou.messages=Tb,Ou.meta=B2,E5=Ou}),P5={};z(P5,{default:()=>O5});var Tu,Ib,q2,li,O5,_Q=y(()=>{q(),ke(),pe(),De(),V(),ze(),I(),L(),F(),Tu="selector-pseudo-element-disallowed-list",Ib=j(Tu,{rejected:e=>`Unexpected pseudo-element "${e}"`}),q2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},li=e=>(t,r)=>{D(r,Tu,{actual:e,possible:[$,U]})&&t.walkRules(Y.pseudoElement,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Ee(s,e))return;let u=o.sourceIndex,l=u+a.length;P({index:u,endIndex:l,message:Ib.rejected,messageArgs:[a],node:n,result:r,ruleName:Tu})}))})},li.primaryOptionArray=!0,li.ruleName=Tu,li.messages=Ib,li.meta=q2,O5=li}),T5={};z(T5,{default:()=>I5});var Iu,jb,W2,ju,I5,UQ=y(()=>{q(),ke(),pe(),Om(),V(),H(),ze(),qt(),I(),L(),F(),Et(),Iu="selector-pseudo-element-no-unknown",jb=j(Iu,{rejected:e=>`Unexpected unknown pseudo-element selector "${e}"`}),W2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},ju=(e,t)=>(r,n)=>{D(n,Iu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,U]},optional:!0})&&r.walkRules(Y.pseudo,i=>{var o;de(i)&&((o=Ce(be(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!Pm(s)||s.slice(0,2)!=="::"||R(t,"ignorePseudoElements",a.value.slice(2)))return;let u=s.slice(2);if(Ke.prefix(u)||xm.has(u.toLowerCase()))return;let l=a.sourceIndex,c=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:c,ruleName:Iu,result:n})}))})},ju.ruleName=Iu,ju.messages=jb,ju.meta=W2,I5=ju}),j5={};z(j5,{default:()=>L5});var Lu,Lb,_2,U2,V2,Q2,Du,L5,VQ=y(()=>{q(),ke(),mh(),pe(),fh(),qt(),H(),ze(),I(),L(),F(),Lu="selector-type-case",Lb=j(Lu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),_2={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},U2=/(?:[^.#[:a-z-]|^)[a-z]/i,V2=/[A-Z]/,Q2=/[a-z]/,Du=(e,t)=>(r,n)=>{D(n,Lu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!U2.test(o)||e==="lower"&&!V2.test(o)||e==="upper"&&!Q2.test(o)||!de(i)||i.selectors.some(ph))return;let a=Ce(be(i),n,i);a&&a.walkTags(s=>{if(!hh(s)||cz.has(s.value)||R(t,"ignoreTypes",s.value))return;let u=s.sourceIndex,l=s.value,c=e==="lower"?l.toLowerCase():l.toUpperCase();if(l===c)return;let d=u,p=u+l.length,h=()=>{s.value=c,i.selector=a.toString()};P({message:Lb.expected,messageArgs:[l,c],node:i,index:d,endIndex:p,ruleName:Lu,result:n,fix:{apply:h,node:i}})})})},Du.ruleName=Lu,Du.messages=Lb,Du.meta=_2,L5=Du}),D5={};z(D5,{default:()=>R5});function QQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return yk.default.isPseudoElement(t)&&F5.has(t.value)}function YQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return yk.default.isPseudoClass(t)&&M5.has(t.value)}var yk,Y2,Fu,Db,G2,K2,F5,M5,Mu,R5,GQ=y(()=>{XR(),yk=re(Pt(),1),Y2=re(JR(),1),q(),ke(),qt(),r5(),mh(),pe(),fh(),H(),ze(),I(),L(),F(),Fu="selector-type-no-unknown",Db=j(Fu,{rejected:e=>`Unexpected unknown type selector "${e}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},K2=/(?:[^.#[:a-z-]|^)[a-z]/i,F5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),M5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),Mu=(e,t)=>(r,n)=>{D(n,Fu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,U],ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{var o;K2.test(i.selector)&&de(i)&&(i.selectors.some(ph)||((o=Ce(be(i),n,i))==null||o.walkTags(a=>{if(!hh(a)||R(t,"ignore","custom-elements")&&e5(a.value)||R(t,"ignore","default-namespace")&&typeof a.namespace!="string"||R(t,"ignoreNamespaces",a.namespace)||R(t,"ignoreTypes",a.value)||QQ(a)||YQ(a))return;let s=a.value,u=s.toLowerCase(),l=[...Y2.default,"hatch","hatchpath","hatchPath"];if(uz.has(u)||l.includes(s)||vk.includes(u))return;let c=a.sourceIndex,d=c+s.length;P({message:Db.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Fu,result:n})})))})},Mu.ruleName=Fu,Mu.messages=Db,Mu.meta=G2,R5=Mu}),$5={};z($5,{default:()=>B5});function $y(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return KQ(i,o,a,s)?[e]:HQ(i,o,a,s)?[e,t]:ZQ(i,o,a,s)?[e,t,r]:[e,t,r,n]}function KQ(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function HQ(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function ZQ(e,t,r,n){return t===n}function XQ(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,gc.default)(e).nodes){if(BA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(Yi(a)&&(n?o=!0:i=!0),km(a)||An(a)){let s=gc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function JQ(e,t,r,n,i,o){let[a="",s="",u="",l=""]=r,[c="",d="",p="",h=""]=n,b=i?r.join(" "):$y(a,s,u,l).filter(Boolean).join(" "),m=o?n.join(" "):$y(c,d,p,h).filter(Boolean).join(" "),v=`${b} / ${m}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=v.toLowerCase();if(g===f)return;let x=()=>{t.value=v},w=ie(t),k=w+t.value.length;P({message:Lp.expected,messageArgs:[t.value,v],node:t,index:w,endIndex:k,result:e,ruleName:hi,fix:{apply:x,node:t}})}var gc,hi,Lp,H2,Z2,X2,Ru,B5,eY=y(()=>{gc=re(me(),1),X(),ft(),$r(),qe(),rd(),H(),I(),L(),F(),Et(),he(),hi="shorthand-property-no-redundant-values",Lp=j(hi,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),H2={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Z2=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"]),X2=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),Ru=(e,t)=>(r,n)=>{D(n,hi,{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)||!ht(i)||!Rr(o)||!$e(a))return;let s=Ke.unprefixed(o.toLowerCase());if(!Z2.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=XQ(a);if(k){JQ(n,i,x,w,S,E);return}}let u=[];for(let x of(0,gc.default)(a).nodes){if(BA(x)||Yi(x))return;(km(x)||An(x))&&u.push(gc.default.stringify(x))}if(u.length<=1||u.length>4)return;let[l="",c="",d="",p=""]=u,h=$y(l,c,d,p);if(R(t,"ignore","four-into-three-edge-values")&&X2.has(s)&&u.length===4&&h.length===3)return;let b=h.filter(Boolean).join(" "),m=u.join(" ");if(b.toLowerCase()===m.toLowerCase())return;let v=()=>{i.value=i.value.replace(a,b)},g=ie(i),f=g+i.value.length;P({message:Lp.expected,messageArgs:[a,b],node:i,index:g,endIndex:f,result:n,ruleName:hi,fix:{apply:v,node:i}})})},Ru.ruleName=hi,Ru.messages=Lp,Ru.meta=H2,B5=Ru}),q5={};z(q5,{default:()=>W5});var $u,Fb,Mb,J2,Bu,W5,tY=y(()=>{nt(),X(),Om(),H(),I(),L(),F(),$u="string-no-newline",Fb=/\r?\n/,Mb=j($u,{rejected:"Unexpected newline in string"}),J2={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Bu=(e,t)=>(r,n)=>{if(!D(n,$u,{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,Te);break;case"decl":if(R(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){Fb.test(a.selector)&&Pm(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,u){Fb.test(s)&&yt({css:s},{onParseError:l=>{if(!(l instanceof yr)||l.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=l.token,p=u(a);P({message:Mb.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:$u})}})}},Bu.ruleName=$u,Bu.messages=Mb,Bu.meta=J2,W5=Bu}),_5={};z(_5,{default:()=>U5});var qu,Rb,eA,tA,Wu,U5,rY=y(()=>{nt(),Gi(),V(),X(),I(),L(),F(),qu="syntax-string-no-invalid",Rb=j(qu,{rejected:e=>`Unexpected invalid syntax string "${e}"`}),eA={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},tA=Ww({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,Wu=e=>(t,r)=>{D(r,qu,{actual:e})&&t.walkAtRules(we.propertyName,n=>{n.walkDecls(Tz.syntaxName,i=>{yt({css:i.value}).filter(o=>J_(o)).forEach(o=>{let{error:a}=tA.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:u}=a;if(s!=="SyntaxMatchError"||u!=="Mismatch")return;let l=ie(i);P({message:Rb.rejected,messageArgs:[o[1]],node:i,index:l+o[2],endIndex:l+o[3]+1,result:r,ruleName:qu})})})})},Wu.ruleName=qu,Wu.messages=Rb,Wu.meta=eA,U5=Wu}),V5={};z(V5,{default:()=>Q5});var rA,_u,$b,nA,iA,Uu,Q5,nY=y(()=>{rA=re(me(),1),rn(),X(),Ye(),Hi(),q(),V(),H(),I(),L(),F(),Et(),_u="time-min-milliseconds",$b=j(_u,{expected:e=>`Expected a minimum of ${e} milliseconds`}),nA={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},iA=new Set(["animation-delay","transition-delay"]),Uu=(e,t)=>(r,n)=>{if(!D(n,_u,{actual:e,possible:kr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=R(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Y.time.test(d))return;let p=Ke.unprefixed(c.prop.toLowerCase()),h=(0,rA.default)(Qe(c)),b=0;h.walk(m=>{let{value:v,sourceIndex:g}=m,f=Ki(m);rz.has(p)&&!s(p)&&!u(f)&&l(c,0,d.length),nz.has(p)&&(b=a(f,v,b),!(u(f)||o&&b!==1)&&l(c,g,v.length))})});function a(c,d,p){let{unit:h}=c;return h!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&iA.has(c))}function u(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let h=Number(p);if(h<=0)return!0;let b=d.toLowerCase();return!(b==="ms"&&h<i||b==="s"&&h*1e3<i)}function l(c,d,p){let h=ie(c)+d,b=h+p;P({result:n,ruleName:_u,message:$b.expected,messageArgs:[i],index:h,endIndex:b,node:c})}},Uu.ruleName=_u,Uu.messages=$b,Uu.meta=nA,Q5=Uu}),Y5={};z(Y5,{default:()=>G5});var oA,Vu,Bb,aA,ui,G5,iY=y(()=>{oA=re(me(),1),X(),V(),q(),Hi(),H(),I(),L(),Ht(),F(),Vu="unit-allowed-list",Bb=j(Vu,{rejected:e=>`Unexpected unit "${e}"`}),aA={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},ui=(e,t)=>(r,n)=>{if(!D(n,Vu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Dt($,U)]}}))return;let i=[e].flat();function o(a,s,u){Y.dimension.test(s)&&(s=s.replaceAll("*",","),(0,oA.default)(s).walk(l=>{if(l.type==="function"){let h=l.value.toLowerCase();if(h==="url"||R(t,"ignoreFunctions",h))return!1}let{number:c,unit:d}=Ki(l);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&R(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=u(a);P({index:p+l.sourceIndex+c.length,endIndex:p+l.sourceEndIndex,message:Bb.rejected,messageArgs:[d],node:a,result:n,ruleName:Vu})}))}r.walkAtRules(we.mediaName,a=>o(a,a.params,Te)),r.walkDecls(a=>o(a,a.value,ie))},ui.primaryOptionArray=!0,ui.ruleName=Vu,ui.messages=Bb,ui.meta=aA,G5=ui});function K5(e){if(!H5.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:Z5.test(t.name)}var H5,Z5,X5=y(()=>{he(),H5=/^unicode-range$/i,Z5=/^font-face$/i}),J5={};z(J5,{default:()=>e$});function sA(e){return yt({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 Qu,qb,lA,ci,e$,oY=y(()=>{nt(),wt(),Zt(),X(),V(),q(),lt(),Ye(),X5(),H(),I(),L(),Ht(),F(),Qu="unit-disallowed-list",qb=j(Qu,{rejected:e=>`Unexpected unit "${e}"`}),lA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!D(n,Qu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Dt($,U)],ignoreMediaFeatureNames:[Dt($,U)]}}))return;let i=[e].flat();function o(s){if(!Ge(s))return!1;let u=s.getName().toLowerCase();return u==="url"||R(t,"ignoreFunctions",u)}function a(s,u,l,c,d){if(!se(l)||l.value[0]!==C.Dimension)return;let[,,,p,{unit:h}]=l.value,b=h.toLowerCase();if(!i.includes(b)||d&&R(d,b,c))return;let m=u(s)+(p+1)-h.length;P({index:m,endIndex:m+h.length,message:qb.rejected,messageArgs:[h],node:s,result:n,ruleName:Qu})}r.walkAtRules(we.mediaName,s=>{let u=st(s);Y.dimension.test(u)&&pd(sA(u)).forEach(l=>{let c={mediaFeatureName:void 0};l.walk(({node:d,state:p})=>{p&&(Pn(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&se(d)&&a(s,Te,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(K5(s))return;let u=Qe(s);if(!Y.dimension.test(u))return;let l={ignored:!1};En(Ji(sA(u)),({node:c,state:d})=>{if(d&&!d.ignored){if(se(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},l)})},ci.primaryOptionArray=!0,ci.ruleName=Qu,ci.messages=qb,ci.meta=lA,e$=ci}),t$={};z(t$,{default:()=>r$});var hp,Yu,Wb,uA,cA,Gu,r$,aY=y(()=>{nt(),wt(),Zt(),X(),V(),q(),lt(),Ye(),tt(),ft(),qe(),X5(),H(),Uc(),I(),L(),F(),Et(),hp=new Set(Pz),hp.delete("x"),Yu="unit-no-unknown",Wb=j(Yu,{rejected:e=>`Unexpected unknown unit "${e}"`}),uA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},cA=/^(?:min-|max-)?resolution$/i,Gu=(e,t)=>(r,n)=>{var u,l,c;if(!D(n,Yu,{actual:e},{actual:t,possible:{ignoreUnits:[$,U],ignoreFunctions:[$,U]},optional:!0}))return;let i,o=(c=(l=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:l.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(h=>h.toLowerCase()));i=new Set([...hp,...d])}else i=hp;let a=d=>{if(!Y.dimension.test(d))return;let p=yt({css:d});if(p.some(h=>h[0]===C.Dimension&&!i.has(h[4].unit.toLowerCase())))return p},s=(d,p,h,b)=>{if(Ge(h)){let w=h.getName(),k=w.toLowerCase();if(k==="url"||R(t,"ignoreFunctions",w)){b.ignored=!0;return}if(Ke.unprefixed(k)==="image-set"){b.allowX=!0;return}return}let[m,,,v,g]=h.value;if(m!==C.Dimension||R(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&b.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(v+1)-f.length;P({message:Wb.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:Yu})};r.walkAtRules(we.mediaName,d=>{if(!et(d))return;let p=st(d),h=a(p);h&&pd(h).forEach(b=>{let m={ignored:!1,allowX:!1};b.walk(({node:v,state:g})=>{if(g&&!g.ignored)if(Pn(v)){let f=v.getName();cA.test(f)&&(g.allowX=!0)}else(Ge(v)||se(v))&&s(d,Te,v,g)},m)})}),r.walkDecls(d=>{if(!ht(d)||K5(d))return;let p=Qe(d);if(!$e(p))return;let h=a(p);if(!h)return;let b={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};En(Ji(h),({node:m,state:v})=>{v&&(v.ignored||(Ge(m)||se(m))&&s(d,ie,m,v))},b)})},Gu.ruleName=Yu,Gu.messages=Wb,Gu.meta=uA,r$=Gu});function sY(e){let t=e.toLowerCase();return!(xz.has(t)||Number.isFinite(Number.parseInt(t,10)))}var lY=y(()=>{He()});function uY(e){let t=e.toLowerCase();return!(Sz.has(t)||Number.isFinite(Number.parseInt(t,10)))}var cY=y(()=>{He()}),n$={};z(n$,{default:()=>i$});var dA,Ku,_b,pA,mA,hA,fA,fp,Hu,i$,dY=y(()=>{dA=re(me(),1),He(),q(),X(),Ye(),Hi(),lY(),cY(),qe(),V(),H(),I(),L(),F(),Ku="value-keyword-case",_b=j(Ku,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},mA=new Set(["+","-","/","*","%"]),hA=new Set(["grid-row","grid-row-start","grid-row-end"]),fA=new Set(["grid-column","grid-column-start","grid-column-end"]),fp=new Map;for(let e of Az)fp.set(e.toLowerCase(),e);Hu=(e,t)=>(r,n)=>{D(n,Ku,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,U],ignoreKeywords:[$,U],ignoreFunctions:[$,U],camelCaseSvgKeywords:[_c]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Y.keyword.test(o)||!$e(o))return;let a=i.prop,s=i.prop.toLowerCase(),u=(0,dA.default)(Qe(i));u.walk(l=>{let c=l.value,d=c.toLowerCase();if(Nz.has(d))return;if(l.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||l.type==="function"&&R(t,"ignoreFunctions",c))return!1;let{unit:p}=Ki(l);if(l.type!=="word"||!$e(c)||o.includes("#")||mA.has(c)||p||s==="animation"&&!rw.has(d)&&!Cc.has(d)||s==="animation-name"&&!Cc.has(d)||s==="font"&&!tw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&sY(d)||s==="counter-reset"&&uY(d)||hA.has(s)&&!yz.has(d)||fA.has(s)&&!wz.has(d)||s==="grid-area"&&!kz.has(d)||s==="list-style"&&!Cz.has(d)&&!_p.has(d)||s==="list-style-type"&&!_p.has(d)||R(t,"ignoreKeywords",c)||R(t,"ignoreProperties",a))return;let h=c.toLocaleLowerCase(),b,m=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&fp.has(h)&&m?b=fp.get(h):e==="lower"?b=c.toLowerCase():b=c.toUpperCase(),c===b)return;let v=ie(i)+l.sourceIndex,g=v+c.length,f=()=>{l.value=b,i.value=u.toString()};P({message:_b.expected,messageArgs:[c,b],node:i,index:v,endIndex:g,result:n,ruleName:Ku,fix:{apply:f,node:i}})})})},Hu.ruleName=Ku,Hu.messages=_b,Hu.meta=pA,i$=Hu}),o$={};z(o$,{default:()=>a$});var gA,Zu,Ub,bA,Xu,a$,pY=y(()=>{gA=re(me(),1),X(),Zc(),ft(),$r(),V(),H(),I(),L(),Bt(),F(),q(),Zu="value-no-vendor-prefix",Ub=j(Zu,{rejected:e=>`Unexpected vendor-prefixed value "${e}"`}),bA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},Xu=(e,t)=>(r,n)=>{D(n,Zu,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,U]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Y.prefix.test(o)||!ht(i)||!Rr(i.prop))return;let a=(0,gA.default)(o);a.walk(s=>{if(!Sr.propertyValue(s.value)||R(t,"ignoreValues",s.value))return;let u=ie(i)+s.sourceIndex,l=()=>{s.value=Sr.unprefix(s.value),$t(i,a.toString())};P({message:Ub.rejected,messageArgs:[s.value],node:i,index:u,endIndex:u+s.value.length,result:n,ruleName:Zu,fix:{apply:l,node:i}})})})},Xu.ruleName=Zu,Xu.messages=Ub,Xu.meta=bA,a$=Xu}),mY=G((e,t)=>{"use strict";t.exports=()=>{}});Wc();var wk={noDeprecation:!0,cwd(){return"/"}},hY=()=>{},fY={};Ar();q();Ar();Ar();function s$(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=(wk.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:Hr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var gY=(e={})=>{let t=e.cwd||wk.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};Uy();var bY=()=>!0,vY=z$({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(o6(),VA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(a6(),YA)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(s6(),KA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(h6(),Lz)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(f6(),Fz)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(g6(),Rz)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(A6(),_z)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(M6(),aN)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(R6(),lN)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>($6(),cN)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(B6(),pN)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(_6(),hN)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(V6(),wN)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(Q6(),xN)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(Y6(),AN)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(K6(),NN)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(H6(),DN)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(eB(),MN)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(mB(),QN)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(fB(),GN)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(vB(),ZN)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(yB(),JN)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(wB(),tE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(kB(),nE)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(CB(),aE)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(NB(),lE)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(EB(),cE)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(PB(),pE)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(IB(),gE)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(jB(),vE)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(LB(),wE)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(FB(),xE)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(h_(),qL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(f_(),_L)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(g_(),VL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(b_(),YL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(y_(),KL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(w_(),JL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(k_(),tD)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(C_(),iD)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(A_(),aD)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(z_(),lD)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(N_(),cD)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(E_(),pD)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(u8(),$D)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(m8(),_D)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(y8(),XD)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(w8(),eF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(k8(),rF)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(S8(),iF)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(A8(),aF)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(E8(),lF)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(P8(),mF)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(T8(),fF)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(I8(),yF)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(F8(),xF)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(M8(),zF)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(R8(),EF)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>($8(),IF)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(B8(),LF)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(W8(),FF)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(_8(),BF)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(t7(),nM)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(r7(),oM)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(o7(),sM)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(l7(),uM)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(u7(),dM)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(y7(),mM)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(S7(),fM)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(C7(),vM)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_7(),RM)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(U7(),BM)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(V7(),_M)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(Q7(),VM)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(Y7(),YM)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(G7(),KM)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(K7(),ZM)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(H7(),JM)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(Z7(),t3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(X7(),n3)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(nV(),o3)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(iV(),l3)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(hV(),v3)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(gV(),k3)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(bV(),S3)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(vV(),A3)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(yV(),N3)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(wV(),P3)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(kV(),T3)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(AV(),j3)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(EV(),W3)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(TV(),U3)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(IV(),Q3)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(jV(),G3)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(LV(),H3)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DV(),X3)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(FV(),eR)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(MV(),rR)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(RV(),iR)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(qV(),aR)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(_V(),lR)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(VV(),cR)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(YV(),pR)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(GV(),hR)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(KV(),gR)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(HV(),vR)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(JV(),SR)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(eQ(),zR)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(rQ(),OR)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(iQ(),IR)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(oQ(),LR)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(aQ(),FR)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(sQ(),RR)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(lQ(),BR)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(uQ(),WR)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(pQ(),UR)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(fQ(),QR)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(gQ(),GR)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(bQ(),HR)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(NQ(),n5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(EQ(),o5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(PQ(),s5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(TQ(),u5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(IQ(),h5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(DQ(),g5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(FQ(),y5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(MQ(),k5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(BQ(),S5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(qQ(),A5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(WQ(),N5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(_Q(),P5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(UQ(),T5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(VQ(),j5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(GQ(),D5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(eY(),$5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(tY(),q5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(rY(),_5)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(nY(),V5)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(iY(),Y5)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(oY(),J5)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(aY(),t$)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(dY(),n$)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(pY(),o$))}),vA=new Map;function yY(e){let t=vA.get(e);return t||(t=vY(`./${e}/index.mjs`).then(r=>r.default),vA.set(e,t)),t}var wY=["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-no-deprecated","property-no-unknown","property-no-vendor-prefix","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-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"],l$={};for(let e of wY)Object.defineProperty(l$,e,{get(){return yY(e)},enumerable:!0,configurable:!0});var kk=l$;function u$(e,t){var r;return kY(e)?kk[e]:Promise.resolve((r=t==null?void 0:t.pluginFunctions)==null?void 0:r[e])}function kY(e){return e in kk}q();function xY(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&&!xr(r)&&xr(n)?e:[e]}async function SY(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await u$(r,e);i?t[r]=xY(n,i):t[r]=[]}return e.rules=t,e}var CY=(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},AY=async(e,t,{config:r})=>({config:await SY(CY(e,r))}),zY=({stylelint:e,filePath:t})=>AY(e,t,{config:e._options.config}),NY=()=>[];function EY(e){return JSON.stringify(e,(t,r)=>t[0]==="_"?void 0:r)}var PY=()=>EY;Wc();Hc();var OY=()=>{};LD();var TY=()=>{};Hc();Wc();var IY=e=>e,c$=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,jY=Ii();async function LY(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?IY(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=c$(e._options.fix),s=await(t?DY(t,e._options.configBasedir):FY(a==="lax")),u={from:r,syntax:s},l;if(n!==void 0?l=n:r&&(l=await TY(r,"utf8")),l===void 0)throw new Error("code or filePath required");let c=await jY.process(l,u).async();return i&&e._postcssResultCache.set(i,c),c}async function DY(){}async function FY(e){return{parse:await(e?Promise.resolve().then(()=>re(mY(),1)).then(t=>t.default):Ii.parse),stringify:Ii.stringify}}var MY=()=>{},RY=()=>Promise.resolve(!1),$Y=()=>!1;Ar();Jc();Ar();Jc();q();he();Im();nt();function Vb(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 BY(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[It]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,A,T,N,B,te,J,ve,ce,le,Re,Be,dt,Ze,Q,K,O,W;if(Yr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Nc(w)&&xi(w.text,o)&&Z&&Yr(Z)&&(w.text.includes("--")||Z.text.startsWith("--")))){p(w,w.source,w.text);return}let M=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),ge=Z;for(;!Nc(ge)&&!xi(ge.text,o);){let xe=(N=(T=(A=ge.source)==null?void 0:A.end)==null?void 0:T.line)!=null?N:0;if(M+1!==xe)break;ee.text+=`
37
+ ${ge.text}`,ee.source&&ge.source&&(ee.source.end=ge.source.end),i=ge;let oe=ge.next();if(!oe||!Yr(oe))break;ge=oe,M=xe}p(ee,ee.source,ee.text)}if(ut(w)){let Z=0,M=(te=(B=w.raws)==null?void 0:B.selector)==null?void 0:te.raw;d(w,M,Z),Z+=(J=M==null?void 0:M.length)!=null?J:w.selector.length;let ee=(ve=w.raws)==null?void 0:ve.between;d(w,ee,Z)}if(Oe(w)){let Z=w.name.length+1,M=(ce=w.raws)==null?void 0:ce.afterName;d(w,M,Z),Z+=(le=M==null?void 0:M.length)!=null?le:0;let ee=(Be=(Re=w.raws)==null?void 0:Re.params)==null?void 0:Be.raw;d(w,ee,Z),Z+=(dt=ee==null?void 0:ee.length)!=null?dt:w.params.length;let ge=(Ze=w.raws)==null?void 0:Ze.between;d(w,ge,Z)}if(_i(w)){let Z=w.prop.length,M=(Q=w.raws)==null?void 0:Q.between;d(w,M,Z),Z+=(K=M==null?void 0:M.length)!=null?K:0;let ee=(W=(O=w.raws)==null?void 0:O.value)==null?void 0:W.raw;d(w,ee,Z)}}),t;function a(w,k,S){if(k.start){let E=k.start.line,A=b(S);for(let T of h(Vp,S))u(w,E,T,A)}}function s(w,k,S){if(k.end){let E=k.end.line,A=b(S);for(let T of h(Qp,S))u(w,E+1,T,A)}}function u(w,k,S,E){if(f(It))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===It)for(let A of Object.keys(r)){if(f(A))continue;let T=A===It;m(w,k,A,T,E),v(k,A,T)}else{if(f(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});m(w,k,S,!0,E),v(k,S,!0)}}function l(w,k,S){let E=b(S);for(let A of h(Up,S)){let T=A===It;if(f(A))throw w.error(T?"All rules have already been disabled":`"${A}" has already been disabled`,{plugin:"stylelint"});if(k.start){let N=k.start.line;if(T)for(let B of Object.keys(r))m(w,N,B,B===It,E);else m(w,N,A,!0,E)}}}function c(w,k,S){var E;for(let A of h(Yp,S)){let T=(E=k.end)==null?void 0:E.line;if(oc(T),A===It){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)&&v(T,N,N===It)}continue}if(f(It)&&r[A]===void 0){r[A]=n.map(({start:N,end:B,description:te})=>Vb(w,N,!1,te,B,!1)),v(T,A,!0);continue}if(f(A)){v(T,A,!0);continue}throw w.error(`"${A}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&yt({css:k}).forEach(E=>{if(!Xm(E))return;let[,A,T,N]=E,B=w.rangeBy({index:T+S,endIndex:N+1+S});p(w,B,A.slice(2,-2).trim())})}function p(w,k,S){if(k&&xi(S,o))switch(vN(S,o)){case Vp:a(w,k,S);break;case Qp:s(w,k,S);break;case Up:l(w,k,S);break;case Yp:c(w,k,S);break}}function h(w,k){let S=U6(w,o),E=k.slice(S.length).split(/\s-{2,}\s/u)[0];Wi(E);let A=E.trim().split(",").filter(Boolean).map(T=>T.trim());return A.length===0?[It]:A}function b(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function m(w,k,S,E,A){let T=Vb(w,k,E,A);g(S);let N=r[S];Ue(N),N.push(T)}function v(w,k,S){let E=r[k],A=E?E[E.length-1]:null;A&&(A.end=w,A.strictEnd=S)}function g(w){r[w]||(r[w]=n.map(({node:k,start:S,end:E,description:A})=>Vb(k,S,!1,A,E,!1)))}function f(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}Uy();Ar();function qY(){return[]}function WY(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var Qb=new Map;function _Y(e,t,r){let n=Qb.has(e)?Qb.get(e):qY(e);Qb.set(e,n),r.warn(WY(e,n),{severity:Hr,rule:e,node:t,index:0})}var yA={enabled:!1};async function UY(e,t,r){var d,p,h,b;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let n=t.root;if(!("type"in n))throw new Error("Unexpected Postcss root object!");let i=(d=n.source)==null?void 0:d.input.css.match(/\r?\n/),o=i?i[0]:`
38
+ `,a={configurationComment:r.configurationComment||Xc,newline:o};BY(n,t);let s=n&&n.constructor.name==="Document"?n.nodes:[n],u=[],l;if(r.rules){let m=new Map(Object.keys(kk).map((v,g)=>[v,g]));l=Object.keys(r.rules).sort((v,g)=>{var f,x;return((f=m.get(v))!=null?f:-1)-((x=m.get(g))!=null?x:-1)})}else l=[];let c=await Promise.all(l.map(async m=>{let v=await u$(m,r);return[m,v]}));for(let[m,v]of c){if(v===void 0){u.push(Promise.all(s.map(N=>_Y(m,N,t))));continue}let g=(p=r.rules)==null?void 0:p[m];if(g===null||g[0]===null)continue;(h=v.meta)!=null&&h.deprecated&&!e.quietDeprecationWarnings&&QY(t,m);let f=g[0],x=g[1],w=r.defaultSeverity||_y;t.stylelint.ruleSeverities[m]=x&&x.severity||w,t.stylelint.customMessages[m]=x&&x.message,t.stylelint.customUrls[m]=x&&x.url,t.stylelint.ruleMetadata[m]=v.meta||{};let k=((b=v.meta)==null?void 0:b.fixable)&&!e.quietDeprecationWarnings,S=(x==null?void 0:x.disableFix)!==!0&&r.fix&&VY(t,m),E={...a,get fix(){return k&&bc("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${m}" instead.`),S}},A=v(f,x,E);async function T(N){return yA.enabled?yA.time(m,()=>A(N,t))():A(N,t)}u.push(Promise.all(s.map(T)))}return Promise.all(u)}function VY({stylelint:{disabledRanges:e}},t){var r;return!((r=e[It])!=null&&r.length)&&!e[t]}function QY(e,t){let r=`The "${t}" rule is deprecated.`;bc(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var YY=()=>{};Ar();Ar();function GY({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 Hr:i.stylelint.stylelintError=!0;break;case Dp:i.stylelint.stylelintWarning=!0;break;default:break}}function KY(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=>wA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&wA(r[i])&&GY({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Hr,node:a.node,postcssResult:e})}function wA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var HY=()=>{};async function ZY(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let r=t.code!==void 0,n=r?t.codeFilename:t.filePath;if(n!==void 0&&!vm(n))return r?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await RY(e,n).catch(l=>{if(r&&$Y(l))return!1;throw l}))return t.existingPostcssResult,void 0;let i=await zY({stylelint:e,searchPath:n,filePath:n});if(!i)return Promise.reject(new Error("Config file not found"));let o=i.config,a=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(o),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let s=a||await LY(e,{code:t.code,codeFilename:t.codeFilename,filePath:n,customSyntax:o.customSyntax}),u=Object.assign(s,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:ID(o)}});return await UY(e._options,u,o),KY(u),YY(u),MY(u),OY(u),HY(u),u}Ar();function kA({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===Hr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:XY(e)};if(t!==void 0){let a=e.reduce((s,u)=>s+u.warnings.length,0);a>t&&(o.maxWarningsExceeded={maxWarnings:t,foundWarnings:a})}return o.report=r(e,o),o.results=e,o}function XY(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}var nG=hY("stylelint:standalone"),JY=["**/node_modules/**"];async function d$({allowEmptyInput:e,cache:t,cacheLocation:r,cacheStrategy:n,code:i,codeFilename:o,config:a,configBasedir:s,configFile:u,customSyntax:l,cwd:c=wk.cwd(),disableDefaultIgnores:d,files:p,fix:h,computeEditInfo:b,formatter:m,_defaultFormatter:v,globbyOptions:g,ignoreDisables:f,ignorePath:x,ignorePattern:w,maxWarnings:k,quiet:S,quietDeprecationWarnings:E=!1,reportDescriptionlessDisables:A,reportInvalidScopeDisables:T,reportNeedlessDisables:N,reportUnscopedDisables:B,suppressAll:te,suppressRule:J,suppressLocation:ve,validate:ce=!0}){var Q,K;let le=Date.now(),Re=!p&&$(i);if(!(p&&!$(i)||Re))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let Be;try{Be=NY({cwd:c,ignorePath:x,ignorePattern:w})}catch(O){return Promise.reject(O)}let dt=gY({allowEmptyInput:e,cache:t,cacheLocation:r,cacheStrategy:n,config:a,configFile:u,configBasedir:s,cwd:c,formatter:m,_defaultFormatter:v,ignoreDisables:f,ignorePath:x,reportNeedlessDisables:N,reportInvalidScopeDisables:T,reportDescriptionlessDisables:A,reportUnscopedDisables:B,customSyntax:l,fix:h,computeEditInfo:b,quiet:S,quietDeprecationWarnings:E,validate:ce}),Ze=await PY(dt);if(!p){Wi(i);let O=o!==void 0&&!vm(o)?qy(c,o):o;if(O&&(!bY(Be,[Wy(c,O)]).length||!d&&fY.isMatch(O,JY)))return kA({results:[],maxWarnings:k,quietDeprecationWarnings:E,formatter:Ze,cwd:c});let W;try{let ee=await ZY(dt,{code:i,codeFilename:O});W=s$(ee)}catch(ee){W=eG(ee)}await tG(dt,W,O);let Z=W._postcssResult,M=kA({results:[W],maxWarnings:k,quietDeprecationWarnings:E,formatter:Ze,cwd:c});return(K=(Q=c$(dt._options.fix))!=null?Q:a==null?void 0:a.fix)!=null&&K&&Z&&!Z.stylelint.ignored&&(M.code=Z.opts?Z.root.toString(Z.opts.syntax):i),M}}function eG(e){if(e instanceof Error&&e.name==="CssSyntaxError")return s$(void 0,e);throw e}async function tG(){}Object.assign(globalThis,{stylelint:{lint:d$}});})();
38
39
  //# sourceMappingURL=stylelint.min.js.map