@bhsd/stylelint-browserify 17.11.0 → 17.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/bundle/stylelint.min.js +22 -22
- package/bundle/stylelint.min.js.LEGAL.txt +0 -8
- package/package.json +8 -17
package/bundle/stylelint.min.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";(()=>{var F6=Object.defineProperty;var ix=e=>{throw TypeError(e)};var M6=(e,t,r)=>t in e?F6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>M6(e,typeof t!="symbol"?t+"":t,r),R6=(e,t,r)=>t.has(e)||ix("Cannot "+r);var Vh=(e,t,r)=>(R6(e,t,"read from private field"),r?r.call(e):t.get(e)),ox=(e,t,r)=>t.has(e)?ix("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var $6=Object.create,Hm=Object.defineProperty,B6=Object.getOwnPropertyDescriptor,q6=Object.getOwnPropertyNames,W6=Object.getPrototypeOf,_6=Object.prototype.hasOwnProperty,U6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=(e,t)=>{for(var r in t)Hm(e,r,{get:t[r],enumerable:!0})},yA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of q6(t))!_6.call(e,i)&&i!==r&&Hm(e,i,{get:()=>t[i],enumerable:!(n=B6(t,i))||n.enumerable});return e},X=(e,t,r)=>(r=e!=null?$6(W6(e)):{},yA(t||!e||!e.__esModule?Hm(r,"default",{value:e,enumerable:!0}):r,e)),wA=e=>yA(Hm({},"__esModule",{value:!0}),e),kw={};A(kw,{isAbsolute:()=>Xm,join:()=>xw,normalize:()=>kA,relative:()=>Sw});var Xm,xw,kA,Sw,Jm=y(()=>{"use strict";Xm=()=>!0,xw=()=>"",kA=()=>{},Sw=()=>""}),Mt,Jr,cm,Cw,Er=y(()=>{Mt="all",Jr="error",cm="warning",Cw=Jr});function ax(e){return Object.prototype.toString.call(e)==="[object Object]"}function V6(e){var t,r;return ax(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(ax(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Q6=y(()=>{});function cd(e){return typeof e=="boolean"||e instanceof Boolean}function dm(e){return typeof e=="function"||e instanceof Function}function Sr(e){return typeof e=="number"||e instanceof Number}function Y6(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Cr(e){return V6(e)}function We(e,t=void 0){t?console.assert(e,t):console.assert(e)}function zc(e){console.assert(Sr(e),`"${e}" must be a number`)}function eo(e){console.assert($(e),`"${e}" must be a string`)}function sx(e){return!(!Cr(e)||!Sr(e.line)||!Sr(e.column))}function G6(e){return!(!Cr(e)||!sx(e.start)||!sx(e.end))}var q=y(()=>{Q6()}),Mc,zw=y(()=>{Mc=()=>{}}),K6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],g=h,f,x,w,k,S,E,z,L,N=0,B=g.charCodeAt(N),te=g.length,re=[{nodes:b}],ve=0,he,oe="",qe="",Ue="";N<te;)if(B<=32){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(N,f),w=b[b.length-1],B===n&&ve?Ue=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!he||he&&he.type==="function"&&he.value!=="calc")?qe=k:b.push({type:"space",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}else if(B===i||B===o){f=N,x=B===i?"'":'"',k={type:"string",sourceIndex:N,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(N+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),N=f+1,B=g.charCodeAt(N)}else if(B===s&&g.charCodeAt(N+1)===c)f=g.indexOf("*/",N),k={type:"comment",sourceIndex:N,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(N+2,f),b.push(k),N=f+2,B=g.charCodeAt(N);else if((B===s||B===c)&&he&&he.type==="function"&&he.value==="calc")k=g[N],b.push({type:"word",sourceIndex:N-qe.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=g.charCodeAt(N);else if(B===s||B===l||B===u)k=g[N],b.push({type:"div",sourceIndex:N-qe.length,sourceEndIndex:N+k.length,value:k,before:qe,after:""}),qe="",N+=1,B=g.charCodeAt(N);else if(r===B){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=N,k={type:"function",sourceIndex:N-oe.length,value:oe,before:g.slice(L+1,f)},N=f,oe==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);z=f;do z-=1,B=g.charCodeAt(z);while(B<=32);L<z?(N!==z+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:z+1,value:g.slice(N,z+1)}]:k.nodes=[],k.unclosed&&z+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:z+1,sourceEndIndex:f,value:g.slice(z+1,f)})):(k.after=g.slice(z+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),N=f+1,k.sourceEndIndex=k.unclosed?f:N,B=g.charCodeAt(N),b.push(k)}else ve+=1,k.after="",k.sourceEndIndex=N+1,b.push(k),re.push(k),b=k.nodes=[],he=k;oe=""}else if(n===B&&ve)N+=1,B=g.charCodeAt(N),he.after=Ue,he.sourceEndIndex+=Ue.length,Ue="",ve-=1,re[re.length-1].sourceEndIndex=N,re.pop(),he=re[ve],b=he.nodes;else{f=N;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<te&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&he&&he.type==="function"&&he.value==="calc"||B===s&&he.type==="function"&&he.value==="calc"||B===n&&ve));k=g.slice(N,f),r===B?oe=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}for(N=re.length-1;N;N-=1)re[N].unclosed=!0,re[N].sourceEndIndex=g.length;return re[0].nodes}}),H6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),X6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),J6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),ue=G((e,t)=>{var r=K6(),n=H6(),i=X6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=J6(),o.walk=n,o.stringify=i,t.exports=o});function st(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var lt=y(()=>{});function ge(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var we=y(()=>{});function je(e){var t,r;return xA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function Z6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function xA(e){return 1+e.name.length}function eB(e){return je(e)+st(e).length}function SA(e){let{prop:t}=e.raws,r=Y6(t);return CA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ie(e){let{between:t,value:r}=e.raws;return SA(e)+CA([t||":",r&&"prefix"in r&&r.prefix])}function tB(e){return ge(e).length}function rB(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function CA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var J=y(()=>{lt(),we(),q()});function $e(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Be=y(()=>{});function zA(e){return AA.test(e)}var AA,NA=y(()=>{AA=/@\{.+?\}/});function EA(e){return PA.test(e)}var PA,IA=y(()=>{PA=/\$\(.+?\)/});function OA(e){return jA.test(e)}var jA,TA=y(()=>{jA=/#\{.+?\}/s});function DA(e){return LA.test(e)}var LA,FA=y(()=>{LA=/\{.+?\}/s});function Zm(e){return!!(zA(e)||OA(e)||DA(e)||EA(e))}var eh=y(()=>{NA(),IA(),TA(),FA()});function Re(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||Zm(t)||/__MSG_\S+__/.test(e))}var _e=y(()=>{eh()});function ur(e){return e.type==="root"}function it(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Kr(e){return e.type==="comment"}function to(e){return e.type==="decl"}function Cv(e){return e.type==="document"}function MA(e){return e.type==="div"}function Nn(e){return e.type==="function"}function En({type:e}){return e==="word"}function lx(e){return!!e.source}var me=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return ux(e,t);for(let r of e){let n=ux(r,t);if(n)return n}return!1}function ux(e,t){if(!Array.isArray(t))return dx(e,t);for(let r of t){let n=dx(e,r);if(n)return n}return!1}function cx(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function dx(e,t){if(t instanceof RegExp)return cx(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=cx(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function F(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var K=y(()=>{Le()});function nB(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:Oe(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var iB=y(()=>{me()});function oB(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var aB=y(()=>{});function sB(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),o=0;for(let s=0;s<i.length;s++){let l=i[s],u=t.text[s];if(l!==u)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let l=i.length-1-s;if(l<o)break;let u=i[l],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(u!==d)break;n--,a--}return r===n&&(r>t.range[0]?(r--,o--):n<t.range[1]&&(n++,a++)),{text:t.text.slice(o,a),range:[r,n]}}var lB=y(()=>{});function uB(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var cB=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=dB(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,g=(k=(w=dm(b)?b(...h):b)!=null?w:c)!=null?k:Cw;if(l&&g===cm)return;if((dm(i)||Aw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(hB(e,a.start.line)||RA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Jr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===cm&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,m&&(f.url=m),f.fix=fB({...e,line:a.start.line});let x=pB(p,h,n);r.warn(x,f)}function dB(e){if(!e.node)throw new Error(`The "${e.ruleName}" rule provided incorrect position arguments to \`utils.report()\`. To fix, pass a PostCSS \`node\` to the function.`);if(G6(e))return{start:e.start,end:e.end};if("start"in e||"end"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`start\` and \`end\` as valid positions to the function.`);if(bB(e))return e.node.rangeBy({index:e.index,endIndex:e.endIndex});if("index"in e||"endIndex"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`index\` and \`endIndex\` as numbers to the function.`);return"word"in e&&$(e.word)?e.node.rangeBy({word:e.word}):e.node.rangeBy({})}function pB(e,t,r){return oB($(e)?mB(e,...t):e(...t),r)}function mB(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function RA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Mt])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function hB({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||$A(n,r,o,i))return!1;let s=Aw(e)?e.apply:e;return dm(s)?(s(),gB({fixersData:a,ruleName:r}),!0):!1}function fB({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||$A(t,n,o,i)||!Aw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!Sr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!Sr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>uB(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=nB(l,c),c=sB(l,c),a.push(c.range),c}function $A(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&RA(t,e,n))}function gB({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function bB(e){return!(!Cr(e)||!Sr(e.index)||!Sr(e.endIndex))}function Aw(e){return!(!Cr(e)||!e.node||!dm(e.apply))}var I=y(()=>{q(),Er(),iB(),aB(),lB(),cB()});function O(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var j=y(()=>{});function ft(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var gt=y(()=>{});function Nw(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Ew=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)vB(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function vB({possible:e,actual:t,optional:r},n,i){if(t===!1&&!qA.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||Nw(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Cr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${po(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${po(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())px(e,a)||i(`Invalid option value ${po(a)} for rule "${n}"`);return}if(!Cr(t)||typeof t!="object"||t===null){i(`Invalid option value ${po(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(BA.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())px(l,u)||i(`Invalid value ${po(u)} for option "${a}" of rule "${n}"`)}}}function px(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function po(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var BA,qA,D=y(()=>{Ew(),q(),BA=new Set(["severity","message","url","reportDisables","disableFix"]),qA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),WA={};A(WA,{default:()=>_A});function yB(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function wB(e){let t=Rc.default.unit(e);We(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function kB(e){return e.type==="word"||e.type==="function"?e:void 0}function xB(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(En)}function mx(e){let t=Rc.default.unit(e);return t&&t.unit==="%"}function hx(e){let t=Rc.default.unit(e);return t&&t.unit===""}var Rc,mo,Qh,fx,gx,bx,vx,Yh,ho,_A,SB=y(()=>{Rc=X(ue(),1),q(),J(),Be(),_e(),me(),K(),I(),j(),gt(),D(),mo="alpha-value-notation",Qh=O(mo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fx={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},gx=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,bx=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,vx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Yh=/\d/,ho=(e,t)=>(r,n)=>{if(!T(n,mo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:hx,fixFunc:wB},percentage:{expFunc:mx,fixFunc:yB}});r.walkDecls(o=>{let a=$e(o),s=gx.test(o.prop);if(!(s||bx.test(a))||!Yh.test(a))return;let l=(0,Rc.default)(a);l.walk(u=>{let c=s&&Yh.test(u.value),d=u.type==="function"&&vx.test(u.value),p=c?kB(u):d?xB(u):void 0;if(!p)return;let{value:m}=p;if(!Re(m)||!hx(m)&&!mx(m))return;let v=e;if(F(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,g=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,ft(o,l.toString())};P({message:Qh.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:mo,fix:{apply:x,node:o}})})})},ho.ruleName=mo,ho.messages=Qh,ho.meta=fx,_A=ho}),UA={};A(UA,{default:()=>VA});var yx,fo,Gh,wx,go,VA,CB=y(()=>{yx=X(ue(),1),q(),Be(),_e(),K(),I(),j(),D(),fo="annotation-no-unknown",Gh=O(fo,{rejected:e=>`Unknown annotation "${e}"`}),wx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},go=(e,t)=>(r,n)=>{if(!T(n,fo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Re(a.value)||a.important||!a.value.includes("!")||(0,yx.default)($e(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);F(t,"ignoreAnnotations",u)||P({message:Gh.rejected,messageArgs:[l],node:a,result:n,ruleName:fo,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},go.ruleName=fo,go.messages=Gh,go.meta=wx,VA=go});function Ze(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),QA={};A(QA,{default:()=>YA});var bo,Kh,kx,$n,YA,zB=y(()=>{q(),et(),Le(),I(),j(),D(),bo="at-rule-allowed-list",Kh=O(bo,{rejected:e=>`Disallowed at-rule "${e}"`}),kx={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},$n=e=>(t,r)=>{if(!T(r,bo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Kh.rejected,messageArgs:[a],node:i,result:r,ruleName:bo,word:a})})},$n.primaryOptionArray=!0,$n.ruleName=bo,$n.messages=Kh,$n.meta=kx,YA=$n});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var ro=y(()=>{}),zv,$c,GA,Av,Nv,KA,no=y(()=>{ro(),zv=new Set(["document","nest","viewport"]),$c=new Set(["apply","container","layer","media","scope","starting-style","supports"]),GA=new Set(["mixin","scope"]),Av=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),Nv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),KA=Ce(zv,$c,Av,Nv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),HA,XA,JA,Ac,Ev,xx,ZA,eN,tN,rN,nN,iN,oN,Bc,Pv,Pr=y(()=>{HA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),XA=new Set(["transition","transition-property","will-change"]),JA=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),Ac=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),Ev=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),xx=new Set(["border-color","scrollbar-color"]),ZA=new Set([...Ev,...xx]),eN=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),tN=new Set(["transition","animation"]),rN=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),nN=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"]),iN=new Set(["accelerator","alt","animation-trigger-behavior","animation-trigger-exit-range","animation-trigger-exit-range-end","animation-trigger-exit-range-start","animation-trigger-range","animation-trigger-range-end","animation-trigger-range-start","animation-trigger-timeline","app-region","audio-level","buffered-rendering","chains","color-profile","color-rendering","column-progression","column-rule-outset","display-align","elevation","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","flow","input-format","inset-area","item-slack","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","line-increment","marker-knockout-left","marker-knockout-right","marker-offset","marker-pattern","marker-segment","mask-position-x","mask-position-y","mask-source-type","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","navigation","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","offset-rotation","pen-action","perspective-origin-x","perspective-origin-y","pitch","pitch-range","play-during","position-try-options","property-name","richness","row-rule-outset","rule-outset","rule-paint-order","running","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-start-target","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar3d-light-color","scrollbar3dlight-color","snap-height","solid-color","solid-opacity","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","supported-color-schemes","text-decoration-blink","text-decoration-line-through","text-decoration-none","text-decoration-overline","text-decoration-skip-inset","text-decoration-trim","text-decoration-underline","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","touch-action-delay","transform-origin-x","transform-origin-y","transform-origin-z","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),oN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),Bc=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),Pv=new Set([...Bc.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),aN,AB=y(()=>{aN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","selectedcontent","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}),NB=y(()=>{AB()}),pm,Sx,Cx,sN,Pw,lN,qc,Iv,mm,zx,hm,th,Wc,_c,$i,uN,Ov,jv,Tv,fm,Ax,Dv,Nx,cN,Tt=y(()=>{NB(),ro(),pm=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),Sx=new Set(aN),Cx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),sN=Ce(pm,Sx,Cx),Pw=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),lN=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),qc=new Set(["before","after","first-line","first-letter"]),Iv=new Set(["part"]),mm=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),zx=Ce(mm,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-meter-horizontal-bar","-webkit-meter-horizontal-optimum-value","-webkit-meter-horizontal-suboptimal-value","-webkit-meter-horizontal-even-less-good-value","-webkit-meter-vertical-bar","-webkit-meter-vertical-optimum-value","-webkit-meter-vertical-suboptimal-value","-webkit-meter-vertical-even-less-good-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),hm=new Set(["content","shadow"]),th=Ce(qc,zx,Iv,hm,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),Wc=new Set(["0%","100%"]),_c=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),$i=new Set(["nth-child","nth-last-child"]),uN=new Set(["first","right","left","blank","recto","verso","nth"]),Ov=new Set(["dir","lang"]),jv=new Set(["ltr","rtl"]),Tv=new Set(["has","is","matches","not","where"]),fm=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Ax=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),Dv=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Nx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),cN=Ce(_c,Ov,Tv,$i,Nx,Ax,fm,["active-view-transition-type","active-view-transition","active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","even-less-good-value","first-child","first-of-type","focus-visible","focus-within","focus","fullscreen","future","has-slotted","heading","high-value","host-context","host","hover","in-range","indeterminate","invalid","last-child","last-of-type","link","low-value","modal","only-child","only-of-type","open","optimal-value","optional","out-of-range","past","picture-in-picture","placeholder-shown","popover-open","read-only","read-write","required","root","scope","state","suboptimal-value","target","unchecked","unresolved","user-invalid","user-valid","valid","visited","window-inactive"])}),dN,Lv,Fv,Iw,gm,Mv,Ow,Uc,bm,jw,Tw,Ex,io,Ir=y(()=>{dN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Lv=new Set(["hsl","hsla","hwb"]),Fv=new Set(["lch","oklch"]),Iw=new Set([...Lv,...Fv]),gm=new Set(["oklab","oklch"]),Mv=new Set(["lab","lch"]),Ow=new Set([...gm,...Mv]),Uc=new Set(["hsla","rgba"]),bm=new Set(["hsl","rgb"]),jw=new Set([...Uc,...bm]),Tw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Ex=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),io=new Set([...Ex,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,Dw,Lw,pN,Fw,mN,Zr,Px,Ix,Ox,hN,vm,jx,ym,Tx,fN,Dx,Lx,Fx,Mx,wm,Rx,Mw,Vc,$x,Bx,qx,Wx,_x,Rw,gN,bN,vN,yN,wN,km,Ux,Vx,kN,xN,Bi,SN,Qx,Yx,CN,Qc,yn,zN,Ke=y(()=>{ro(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),Dw=new Set(["block","inline","run-in"]),Lw=new Set(["flow","flow-root","table","flex","grid","ruby"]),pN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Fw=new Set(["list-item"]),mN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Px=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),Ix=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),Ox=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),hN=Ce(Px,Ix,Ox),vm=new Set(["bolder","lighter"]),jx=new Set(["normal","bold"]),ym=Ce(vm,jx),Tx=new Set(["100","200","300","400","500","600","700","800","900"]),fN=new Set(["400","700"]),Dx=Ce(Te,ym,Tx),Lx=Ce(Te,["normal","italic","oblique"]),Fx=Ce(Te,["normal","none","small-caps"]),Mx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),wm=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Rx=Ce(Te,["normal"]),Mw=Ce(Te,Lx,Fx,Dx,Mx,wm,Rx,Zr),Vc=Ce(Te,["none"]),$x=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Bx=new Set(["infinite"]),qx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),Wx=new Set(["none","forwards","backwards","both"]),_x=Ce(Te,["running","paused"]),Rw=Ce(Te,Vc,$x,Bx,qx,Wx,_x),gN=Ce(Te,["auto","span"]),bN=Ce(Te,["auto","span"]),vN=Ce(Te,["auto","span"]),yN=Ce(Te,["none"]),wN=Ce(Te,["none"]),km=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),Ux=Ce(Te,["inside","outside"]),Vx=Ce(Te,["none"]),kN=Ce(Te,km,Ux,Vx),xN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Bi=new Set(["from","to"]),SN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Qx=new Set(["-moz-buttondefault","-moz-buttonhoverface","-moz-buttonhovertext","-moz-cellhighlight","-moz-cellhighlighttext","-moz-combobox","-moz-comboboxtext","-moz-dialog","-moz-dialogtext","-moz-dragtargetzone","-moz-eventreerow","-moz-field","-moz-fieldtext","-moz-html-cellhighlight","-moz-html-cellhighlighttext","-moz-mac-accentdarkestshadow","-moz-mac-accentdarkshadow","-moz-mac-accentface","-moz-mac-accentlightesthighlight","-moz-mac-accentlightshadow","-moz-mac-accentregularhighlight","-moz-mac-accentregularshadow","-moz-mac-chrome-active","-moz-mac-chrome-inactive","-moz-mac-focusring","-moz-mac-menuselect","-moz-mac-menushadow","-moz-mac-menutextselect","-moz-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Yx=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),CN=Ce(Qx,Yx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Qc=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]),yn=new Map([["caption-side",new Map([["top","block-start"],["bottom","block-end"]])],["clear",new Map([["left","inline-start"],["right","inline-end"]])],["float",new Map([["left","inline-start"],["right","inline-end"]])],["offset-anchor",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["offset-position",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["resize",new Map([["horizontal","inline"],["vertical","block"]])],["text-align",new Map([["left","start"],["right","end"]])],["text-align-last",new Map([["left","start"],["right","end"]])]]),zN=new Map([...yn].map(([e,t])=>[e,new Set(t.values())]))}),qi,Rv,Yc,$w,AN,oo=y(()=>{ro(),qi=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),Rv=new Set(["dpi","dpcm","dppx","x"]),Yc=new Map([["vw",{horizontalInline:"vi",verticalInline:"vb"}],["vh",{horizontalInline:"vb",verticalInline:"vi"}],["svw",{horizontalInline:"svi",verticalInline:"svb"}],["svh",{horizontalInline:"svb",verticalInline:"svi"}],["lvw",{horizontalInline:"lvi",verticalInline:"lvb"}],["lvh",{horizontalInline:"lvb",verticalInline:"lvi"}],["dvw",{horizontalInline:"dvi",verticalInline:"dvb"}],["dvh",{horizontalInline:"dvb",verticalInline:"dvi"}],["cqw",{horizontalInline:"cqi",verticalInline:"cqb"}],["cqh",{horizontalInline:"cqb",verticalInline:"cqi"}]]),$w=new Set([...Yc.values()].flatMap(Object.values)),AN=Ce(qi,Rv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),Bw,NN=y(()=>{Bw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),EN,EB=y(()=>{EN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Gx,Se,PN,dr,Q,V=y(()=>{Tt(),Ir(),Ke(),oo(),Pr(),NN(),no(),EB(),Gx=[..._c.values(),...$i.values()].join("|"),Se={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...$c.values()].join("|")}).)*$`,"i")},PN={syntaxName:/^syntax$/i},dr={propertyAcceptingNames:new RegExp(`^(?:${[...XA].join("|")})$`,"i"),containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i,layoutMappings:new RegExp(`^(?:${[...yn.keys()].join("|")})$`,"i")},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Gx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,axisUnit:new RegExp(`\\d(?:${[...Yc.keys(),...$w].join("|")})\\b`,"i"),classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Tw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...jw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...Bw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...fm,...hm].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...pm,...Pw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Fw,...Dw,...Lw,...pN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,dirPseudoClass:/:dir\(/i,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Iw.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...Ow.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,layoutFlowRelativeKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.values()]))].join("|")})\\b`,"i"),layoutPhysicalKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.keys()]))].join("|")})\\b`,"i"),mathFunction:new RegExp(`\\b(?:${[...io.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...ym,...vm])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...fN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Bi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Wc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Qc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...EN].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Uc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...bm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...qi.values()].join("|")})\\b`,"i")}});function IN(e){return!!(e.startsWith("$")||e.includes(".$"))}var ON=y(()=>{});function ut(e){let t=e.prop,r=e.parent;return!(IN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&it(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&it(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ct=y(()=>{me(),ON()}),jN={};A(jN,{default:()=>TN});function PB(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Nv.has(t.name.toLowerCase())}function IB(e,t,r){return e.name.toLowerCase()==="page"&&Av.has(r.name.toLowerCase())&&nN.has(t)}function OB(e,t){return e.name.toLowerCase()==="page"&&rN.has(t)}var vo,Hh,Kx,yo,TN,jB=y(()=>{no(),Pr(),V(),me(),et(),ct(),I(),j(),D(),vo="at-rule-descriptor-no-unknown",Hh=O(vo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Kx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},yo=e=>(t,r)=>{if(!T(r,vo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s,parent:l}=o;if(OB(i,a)||l&&Oe(l)&&(IB(i,a,l)||PB(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Hh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:vo,result:r})})})},yo.ruleName=vo,yo.messages=Hh,yo.meta=Kx,TN=yo}),DN={};A(DN,{default:()=>LN});var wo,Xh,Hx,ko,LN,TB=y(()=>{V(),J(),et(),ct(),I(),j(),D(),wo="at-rule-descriptor-value-no-unknown",Xh=O(wo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Hx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ko=e=>(t,r)=>{if(!T(r,wo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ie(o),c=u+s.length;P({message:Xh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:wo,result:r})})})},ko.ruleName=wo,ko.messages=Xh,ko.meta=Hx,LN=ko}),FN={};A(FN,{default:()=>MN});var xo,Jh,Xx,Bn,MN,DB=y(()=>{q(),et(),Le(),I(),j(),D(),xo="at-rule-disallowed-list",Jh=O(xo,{rejected:e=>`Disallowed at-rule "${e}"`}),Xx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Bn=e=>(t,r)=>{if(!T(r,xo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:Jh.rejected,messageArgs:[a],node:i,result:r,ruleName:xo,word:a})})},Bn.primaryOptionArray=!0,Bn.ruleName=xo,Bn.messages=Jh,Bn.meta=Xx,MN=Bn});function LB(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var FB=y(()=>{});function MB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var RB=y(()=>{});function dd({node:e,newline:t,action:r}){switch(We(t),r){case"add":LB(e,t);break;case"remove":MB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var pd=y(()=>{FB(),q(),RB()});function _d(e){return e.source&&e.source.start&&e.source.start.line}function $r(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(_d(e)===_d(t))return $r(t);let r=t.prev();return r&&_d(t)===_d(r)?$r(t):t}var Pn=y(()=>{});function md(e){return e===""||e===void 0?!1:RN.test(e)}var RN,hd=y(()=>{RN=/\n[\r\t ]*\n/});function Ud(e){return e&&e.source&&e.source.start&&e.source.start.line}function $N(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Ud(e)===Ud(t)||Ud(t)===Ud(t.next())?$N(t):t}var $B=y(()=>{});function Jx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function qw(e){if(!Kr(e))return!1;let t=$r(e);if(Jx(t,e))return!0;let r=$N(e);if(r&&Jx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
|
|
2
|
-
`)}var
|
|
3
|
-
`)||!lx(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[o,a]of r.entries())if(o!==0){if(a===e)return!0;if(!Kr(a)||lx(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function
|
|
1
|
+
"use strict";(()=>{var F6=Object.defineProperty;var ox=e=>{throw TypeError(e)};var M6=(e,t,r)=>t in e?F6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>M6(e,typeof t!="symbol"?t+"":t,r),R6=(e,t,r)=>t.has(e)||ox("Cannot "+r);var Qh=(e,t,r)=>(R6(e,t,"read from private field"),r?r.call(e):t.get(e)),ax=(e,t,r)=>t.has(e)?ox("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var $6=Object.create,Xm=Object.defineProperty,B6=Object.getOwnPropertyDescriptor,q6=Object.getOwnPropertyNames,W6=Object.getPrototypeOf,_6=Object.prototype.hasOwnProperty,U6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=(e,t)=>{for(var r in t)Xm(e,r,{get:t[r],enumerable:!0})},bA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of q6(t))!_6.call(e,i)&&i!==r&&Xm(e,i,{get:()=>t[i],enumerable:!(n=B6(t,i))||n.enumerable});return e},X=(e,t,r)=>(r=e!=null?$6(W6(e)):{},bA(t||!e||!e.__esModule?Xm(r,"default",{value:e,enumerable:!0}):r,e)),vA=e=>bA(Xm({},"__esModule",{value:!0}),e),xw={};A(xw,{isAbsolute:()=>Jm,join:()=>Sw,normalize:()=>yA,relative:()=>Cw});var Jm,Sw,yA,Cw,Zm=y(()=>{"use strict";Jm=()=>!0,Sw=()=>"",yA=()=>{},Cw=()=>""}),Mt,Jr,dm,zw,Er=y(()=>{Mt="all",Jr="error",dm="warning",zw=Jr});function cd(e){return typeof e=="boolean"||e instanceof Boolean}function pm(e){return typeof e=="function"||e instanceof Function}function Sr(e){return typeof e=="number"||e instanceof Number}function wA(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Cr(e){if(!wA(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null}function $e(e,t=void 0){t?console.assert(e,t):console.assert(e)}function zc(e){console.assert(Sr(e),`"${e}" must be a number`)}function eo(e){console.assert($(e),`"${e}" must be a string`)}function sx(e){return!(!Cr(e)||!Sr(e.line)||!Sr(e.column))}function V6(e){return!(!Cr(e)||!sx(e.start)||!sx(e.end))}var q=y(()=>{}),Mc,Aw=y(()=>{Mc=()=>{}}),Q6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],g=h,f,x,w,k,S,E,C,L,N=0,B=g.charCodeAt(N),ie=g.length,te=[{nodes:b}],he=0,fe,oe="",Fe="",Ue="";N<ie;)if(B<=32){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(N,f),w=b[b.length-1],B===n&&he?Ue=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!fe||fe&&fe.type==="function"&&fe.value!=="calc")?Fe=k:b.push({type:"space",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}else if(B===i||B===o){f=N,x=B===i?"'":'"',k={type:"string",sourceIndex:N,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(N+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),N=f+1,B=g.charCodeAt(N)}else if(B===s&&g.charCodeAt(N+1)===c)f=g.indexOf("*/",N),k={type:"comment",sourceIndex:N,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(N+2,f),b.push(k),N=f+2,B=g.charCodeAt(N);else if((B===s||B===c)&&fe&&fe.type==="function"&&fe.value==="calc")k=g[N],b.push({type:"word",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=g.charCodeAt(N);else if(B===s||B===l||B===u)k=g[N],b.push({type:"div",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k,before:Fe,after:""}),Fe="",N+=1,B=g.charCodeAt(N);else if(r===B){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=N,k={type:"function",sourceIndex:N-oe.length,value:oe,before:g.slice(L+1,f)},N=f,oe==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);C=f;do C-=1,B=g.charCodeAt(C);while(B<=32);L<C?(N!==C+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:C+1,value:g.slice(N,C+1)}]:k.nodes=[],k.unclosed&&C+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:C+1,sourceEndIndex:f,value:g.slice(C+1,f)})):(k.after=g.slice(C+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),N=f+1,k.sourceEndIndex=k.unclosed?f:N,B=g.charCodeAt(N),b.push(k)}else he+=1,k.after="",k.sourceEndIndex=N+1,b.push(k),te.push(k),b=k.nodes=[],fe=k;oe=""}else if(n===B&&he)N+=1,B=g.charCodeAt(N),fe.after=Ue,fe.sourceEndIndex+=Ue.length,Ue="",he-=1,te[te.length-1].sourceEndIndex=N,te.pop(),fe=te[he],b=fe.nodes;else{f=N;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<ie&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&fe&&fe.type==="function"&&fe.value==="calc"||B===s&&fe.type==="function"&&fe.value==="calc"||B===n&&he));k=g.slice(N,f),r===B?oe=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}for(N=te.length-1;N;N-=1)te[N].unclosed=!0,te[N].sourceEndIndex=g.length;return te[0].nodes}}),Y6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),G6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),K6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),ue=G((e,t)=>{var r=Q6(),n=Y6(),i=G6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=K6(),o.walk=n,o.stringify=i,t.exports=o});function 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 we=y(()=>{});function je(e){var t,r;return kA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function H6(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 kA(e){return 1+e.name.length}function X6(e){return je(e)+st(e).length}function xA(e){let{prop:t}=e.raws,r=wA(t);return SA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ne(e){let{between:t,value:r}=e.raws;return xA(e)+SA([t||":",r&&"prefix"in r&&r.prefix])}function J6(e){return be(e).length}function Z6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function SA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var J=y(()=>{lt(),we(),q()});function qe(e){let t=e.raws;return t.value&&t.value.raw||e.value}var We=y(()=>{});function CA(e){return zA.test(e)}var zA,AA=y(()=>{zA=/@\{.+?\}/});function NA(e){return EA.test(e)}var EA,PA=y(()=>{EA=/\$\(.+?\)/});function IA(e){return OA.test(e)}var OA,jA=y(()=>{OA=/#\{.+?\}/s});function TA(e){return DA.test(e)}var DA,LA=y(()=>{DA=/\{.+?\}/s});function eh(e){return!!(CA(e)||IA(e)||TA(e)||NA(e))}var th=y(()=>{AA(),PA(),jA(),LA()});function Be(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||eh(t)||/__MSG_\S+__/.test(e))}var _e=y(()=>{th()});function ur(e){return e.type==="root"}function it(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Kr(e){return e.type==="comment"}function to(e){return e.type==="decl"}function Cv(e){return e.type==="document"}function FA(e){return e.type==="div"}function Nn(e){return e.type==="function"}function En({type:e}){return e==="word"}function lx(e){return!!e.source}var me=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return ux(e,t);for(let r of e){let n=ux(r,t);if(n)return n}return!1}function ux(e,t){if(!Array.isArray(t))return dx(e,t);for(let r of t){let n=dx(e,r);if(n)return n}return!1}function cx(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function dx(e,t){if(t instanceof RegExp)return cx(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=cx(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function F(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var K=y(()=>{Le()});function eB(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 tB=y(()=>{me()});function rB(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var nB=y(()=>{});function iB(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 oB=y(()=>{});function aB(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var sB=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=lB(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,g=(k=(w=pm(b)?b(...h):b)!=null?w:c)!=null?k:zw;if(l&&g===dm)return;if((pm(i)||Nw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(dB(e,a.start.line)||MA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Jr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===dm&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,m&&(f.url=m),f.fix=pB({...e,line:a.start.line});let x=uB(p,h,n);r.warn(x,f)}function lB(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(V6(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(hB(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 uB(e,t,r){return rB($(e)?cB(e,...t):e(...t),r)}function cB(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function MA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Mt])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function dB({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||RA(n,r,o,i))return!1;let s=Nw(e)?e.apply:e;return pm(s)?(s(),mB({fixersData:a,ruleName:r}),!0):!1}function pB({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||RA(t,n,o,i)||!Nw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!Sr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!Sr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>aB(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=eB(l,c),c=iB(l,c),a.push(c.range),c}function RA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&MA(t,e,n))}function mB({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function hB(e){return!(!Cr(e)||!Sr(e.index)||!Sr(e.endIndex))}function Nw(e){return!(!Cr(e)||!e.node||!pm(e.apply))}var I=y(()=>{q(),Er(),tB(),nB(),oB(),sB()});function O(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var j=y(()=>{});function ft(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var gt=y(()=>{});function Ew(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Pw=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)fB(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function fB({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||Ew(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Cr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${po(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${po(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())px(e,a)||i(`Invalid option value ${po(a)} for rule "${n}"`);return}if(!Cr(t)||typeof t!="object"||t===null){i(`Invalid option value ${po(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if($A.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())px(l,u)||i(`Invalid value ${po(u)} for option "${a}" of rule "${n}"`)}}}function px(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function po(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var $A,BA,D=y(()=>{Pw(),q(),$A=new Set(["severity","message","url","reportDisables","disableFix"]),BA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),qA={};A(qA,{default:()=>WA});function gB(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function bB(e){let t=Rc.default.unit(e);$e(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function vB(e){return e.type==="word"||e.type==="function"?e:void 0}function yB(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(En)}function mx(e){let t=Rc.default.unit(e);return t&&t.unit==="%"}function hx(e){let t=Rc.default.unit(e);return t&&t.unit===""}var Rc,mo,Yh,fx,gx,bx,vx,Gh,ho,WA,wB=y(()=>{Rc=X(ue(),1),q(),J(),We(),_e(),me(),K(),I(),j(),gt(),D(),mo="alpha-value-notation",Yh=O(mo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fx={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},gx=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,bx=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,vx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Gh=/\d/,ho=(e,t)=>(r,n)=>{if(!T(n,mo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:hx,fixFunc:bB},percentage:{expFunc:mx,fixFunc:gB}});r.walkDecls(o=>{let a=qe(o),s=gx.test(o.prop);if(!(s||bx.test(a))||!Gh.test(a))return;let l=(0,Rc.default)(a);l.walk(u=>{let c=s&&Gh.test(u.value),d=u.type==="function"&&vx.test(u.value),p=c?vB(u):d?yB(u):void 0;if(!p)return;let{value:m}=p;if(!Be(m)||!hx(m)&&!mx(m))return;let v=e;if(F(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,g=ne(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,ft(o,l.toString())};P({message:Yh.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:mo,fix:{apply:x,node:o}})})})},ho.ruleName=mo,ho.messages=Yh,ho.meta=fx,WA=ho}),_A={};A(_A,{default:()=>UA});var yx,fo,Kh,wx,go,UA,kB=y(()=>{yx=X(ue(),1),q(),We(),_e(),K(),I(),j(),D(),fo="annotation-no-unknown",Kh=O(fo,{rejected:e=>`Unknown annotation "${e}"`}),wx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},go=(e,t)=>(r,n)=>{if(!T(n,fo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Be(a.value)||a.important||!a.value.includes("!")||(0,yx.default)(qe(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);F(t,"ignoreAnnotations",u)||P({message:Kh.rejected,messageArgs:[l],node:a,result:n,ruleName:fo,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},go.ruleName=fo,go.messages=Kh,go.meta=wx,UA=go});function Ze(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),VA={};A(VA,{default:()=>QA});var bo,Hh,kx,$n,QA,xB=y(()=>{q(),et(),Le(),I(),j(),D(),bo="at-rule-allowed-list",Hh=O(bo,{rejected:e=>`Disallowed at-rule "${e}"`}),kx={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},$n=e=>(t,r)=>{if(!T(r,bo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Hh.rejected,messageArgs:[a],node:i,result:r,ruleName:bo,word:a})})},$n.primaryOptionArray=!0,$n.ruleName=bo,$n.messages=Hh,$n.meta=kx,QA=$n});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var ro=y(()=>{}),zv,$c,YA,Av,Nv,GA,no=y(()=>{ro(),zv=new Set(["document","nest","viewport"]),$c=new Set(["apply","container","layer","media","scope","starting-style","supports"]),YA=new Set(["mixin","scope"]),Av=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),Nv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),GA=Ce(zv,$c,Av,Nv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),KA,HA,XA,Ac,Ev,xx,JA,ZA,eN,tN,rN,nN,iN,Bc,Pv,Pr=y(()=>{KA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),HA=new Set(["transition","transition-property","will-change"]),XA=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),Ac=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),Ev=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),xx=new Set(["border-color","scrollbar-color"]),JA=new Set([...Ev,...xx]),ZA=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),eN=new Set(["transition","animation"]),tN=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"]),rN=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"]),nN=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"]),iN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),Bc=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),Pv=new Set([...Bc.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),oN,SB=y(()=>{oN=["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"]}),CB=y(()=>{SB()}),mm,Sx,Cx,aN,Iw,sN,qc,Iv,hm,zx,fm,rh,Wc,_c,$i,lN,Ov,jv,Tv,gm,Ax,Dv,Nx,uN,Tt=y(()=>{CB(),ro(),mm=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),Sx=new Set(oN),Cx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),aN=Ce(mm,Sx,Cx),Iw=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),sN=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),qc=new Set(["before","after","first-line","first-letter"]),Iv=new Set(["part"]),hm=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),zx=Ce(hm,["-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"]),fm=new Set(["content","shadow"]),rh=Ce(qc,zx,Iv,fm,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),Wc=new Set(["0%","100%"]),_c=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),$i=new Set(["nth-child","nth-last-child"]),lN=new Set(["first","right","left","blank","recto","verso","nth"]),Ov=new Set(["dir","lang"]),jv=new Set(["ltr","rtl"]),Tv=new Set(["has","is","matches","not","where"]),gm=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Ax=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),Dv=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Nx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),uN=Ce(_c,Ov,Tv,$i,Nx,Ax,gm,["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"])}),cN,Lv,Fv,Ow,bm,Mv,jw,Uc,vm,Tw,Dw,Ex,io,Ir=y(()=>{cN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Lv=new Set(["hsl","hsla","hwb"]),Fv=new Set(["lch","oklch"]),Ow=new Set([...Lv,...Fv]),bm=new Set(["oklab","oklch"]),Mv=new Set(["lab","lch"]),jw=new Set([...bm,...Mv]),Uc=new Set(["hsla","rgba"]),vm=new Set(["hsl","rgb"]),Tw=new Set([...Uc,...vm]),Dw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Ex=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),io=new Set([...Ex,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,Lw,Fw,dN,Mw,pN,Zr,Px,Ix,Ox,mN,ym,jx,wm,Tx,hN,Dx,Lx,Fx,Mx,km,Rx,Rw,Vc,$x,Bx,qx,Wx,_x,$w,fN,gN,bN,vN,yN,xm,Ux,Vx,wN,kN,Bi,xN,Qx,Yx,SN,Qc,yn,CN,Ke=y(()=>{ro(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),Lw=new Set(["block","inline","run-in"]),Fw=new Set(["flow","flow-root","table","flex","grid","ruby"]),dN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Mw=new Set(["list-item"]),pN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Px=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),Ix=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),Ox=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),mN=Ce(Px,Ix,Ox),ym=new Set(["bolder","lighter"]),jx=new Set(["normal","bold"]),wm=Ce(ym,jx),Tx=new Set(["100","200","300","400","500","600","700","800","900"]),hN=new Set(["400","700"]),Dx=Ce(Te,wm,Tx),Lx=Ce(Te,["normal","italic","oblique"]),Fx=Ce(Te,["normal","none","small-caps"]),Mx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),km=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Rx=Ce(Te,["normal"]),Rw=Ce(Te,Lx,Fx,Dx,Mx,km,Rx,Zr),Vc=Ce(Te,["none"]),$x=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Bx=new Set(["infinite"]),qx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),Wx=new Set(["none","forwards","backwards","both"]),_x=Ce(Te,["running","paused"]),$w=Ce(Te,Vc,$x,Bx,qx,Wx,_x),fN=Ce(Te,["auto","span"]),gN=Ce(Te,["auto","span"]),bN=Ce(Te,["auto","span"]),vN=Ce(Te,["none"]),yN=Ce(Te,["none"]),xm=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),Ux=Ce(Te,["inside","outside"]),Vx=Ce(Te,["none"]),wN=Ce(Te,xm,Ux,Vx),kN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Bi=new Set(["from","to"]),xN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Qx=new Set(["-moz-buttondefault","-moz-buttonhoverface","-moz-buttonhovertext","-moz-cellhighlight","-moz-cellhighlighttext","-moz-combobox","-moz-comboboxtext","-moz-dialog","-moz-dialogtext","-moz-dragtargetzone","-moz-eventreerow","-moz-field","-moz-fieldtext","-moz-html-cellhighlight","-moz-html-cellhighlighttext","-moz-mac-accentdarkestshadow","-moz-mac-accentdarkshadow","-moz-mac-accentface","-moz-mac-accentlightesthighlight","-moz-mac-accentlightshadow","-moz-mac-accentregularhighlight","-moz-mac-accentregularshadow","-moz-mac-chrome-active","-moz-mac-chrome-inactive","-moz-mac-focusring","-moz-mac-menuselect","-moz-mac-menushadow","-moz-mac-menutextselect","-moz-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Yx=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),SN=Ce(Qx,Yx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Qc=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]),yn=new Map([["caption-side",new Map([["top","block-start"],["bottom","block-end"]])],["clear",new Map([["left","inline-start"],["right","inline-end"]])],["float",new Map([["left","inline-start"],["right","inline-end"]])],["offset-anchor",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["offset-position",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["resize",new Map([["horizontal","inline"],["vertical","block"]])],["text-align",new Map([["left","start"],["right","end"]])],["text-align-last",new Map([["left","start"],["right","end"]])]]),CN=new Map([...yn].map(([e,t])=>[e,new Set(t.values())]))}),qi,Rv,Yc,Bw,zN,oo=y(()=>{ro(),qi=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),Rv=new Set(["dpi","dpcm","dppx","x"]),Yc=new Map([["vw",{horizontalInline:"vi",verticalInline:"vb"}],["vh",{horizontalInline:"vb",verticalInline:"vi"}],["svw",{horizontalInline:"svi",verticalInline:"svb"}],["svh",{horizontalInline:"svb",verticalInline:"svi"}],["lvw",{horizontalInline:"lvi",verticalInline:"lvb"}],["lvh",{horizontalInline:"lvb",verticalInline:"lvi"}],["dvw",{horizontalInline:"dvi",verticalInline:"dvb"}],["dvh",{horizontalInline:"dvb",verticalInline:"dvi"}],["cqw",{horizontalInline:"cqi",verticalInline:"cqb"}],["cqh",{horizontalInline:"cqb",verticalInline:"cqi"}]]),Bw=new Set([...Yc.values()].flatMap(Object.values)),zN=Ce(qi,Rv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),qw,AN=y(()=>{qw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),NN,zB=y(()=>{NN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Gx,Se,EN,dr,Q,V=y(()=>{Tt(),Ir(),Ke(),oo(),Pr(),AN(),no(),zB(),Gx=[..._c.values(),...$i.values()].join("|"),Se={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...$c.values()].join("|")}).)*$`,"i")},EN={syntaxName:/^syntax$/i},dr={propertyAcceptingNames:new RegExp(`^(?:${[...HA].join("|")})$`,"i"),containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i,layoutMappings:new RegExp(`^(?:${[...yn.keys()].join("|")})$`,"i")},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Gx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,axisUnit:new RegExp(`\\d(?:${[...Yc.keys(),...Bw].join("|")})\\b`,"i"),classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Dw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...Tw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...qw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...gm,...fm].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...mm,...Iw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Mw,...Lw,...Fw,...dN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,dirPseudoClass:/:dir\(/i,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Ow.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...jw.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,layoutFlowRelativeKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.values()]))].join("|")})\\b`,"i"),layoutPhysicalKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.keys()]))].join("|")})\\b`,"i"),mathFunction:new RegExp(`\\b(?:${[...io.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...wm,...ym])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...hN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Bi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Wc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Qc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...NN].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Uc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...vm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...qi.values()].join("|")})\\b`,"i")}});function PN(e){return!!(e.startsWith("$")||e.includes(".$"))}var IN=y(()=>{});function ut(e){let t=e.prop,r=e.parent;return!(PN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&it(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&it(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ct=y(()=>{me(),IN()}),ON={};A(ON,{default:()=>jN});function AB(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Nv.has(t.name.toLowerCase())}function NB(e,t,r){return e.name.toLowerCase()==="page"&&Av.has(r.name.toLowerCase())&&rN.has(t)}function EB(e,t){return e.name.toLowerCase()==="page"&&tN.has(t)}var vo,Xh,Kx,yo,jN,PB=y(()=>{no(),Pr(),V(),me(),et(),ct(),I(),j(),D(),vo="at-rule-descriptor-no-unknown",Xh=O(vo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Kx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},yo=e=>(t,r)=>{if(!T(r,vo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s,parent:l}=o;if(EB(i,a)||l&&Oe(l)&&(NB(i,a,l)||AB(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Xh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:vo,result:r})})})},yo.ruleName=vo,yo.messages=Xh,yo.meta=Kx,jN=yo}),TN={};A(TN,{default:()=>DN});var wo,Jh,Hx,ko,DN,IB=y(()=>{V(),J(),et(),ct(),I(),j(),D(),wo="at-rule-descriptor-value-no-unknown",Jh=O(wo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Hx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ko=e=>(t,r)=>{if(!T(r,wo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ne(o),c=u+s.length;P({message:Jh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:wo,result:r})})})},ko.ruleName=wo,ko.messages=Jh,ko.meta=Hx,DN=ko}),LN={};A(LN,{default:()=>FN});var xo,Zh,Xx,Bn,FN,OB=y(()=>{q(),et(),Le(),I(),j(),D(),xo="at-rule-disallowed-list",Zh=O(xo,{rejected:e=>`Disallowed at-rule "${e}"`}),Xx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Bn=e=>(t,r)=>{if(!T(r,xo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:Zh.rejected,messageArgs:[a],node:i,result:r,ruleName:xo,word:a})})},Bn.primaryOptionArray=!0,Bn.ruleName=xo,Bn.messages=Zh,Bn.meta=Xx,FN=Bn});function jB(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 TB=y(()=>{});function DB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var LB=y(()=>{});function dd({node:e,newline:t,action:r}){switch($e(t),r){case"add":jB(e,t);break;case"remove":DB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var pd=y(()=>{TB(),q(),LB()});function _d(e){return e.source&&e.source.start&&e.source.start.line}function $r(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(_d(e)===_d(t))return $r(t);let r=t.prev();return r&&_d(t)===_d(r)?$r(t):t}var Pn=y(()=>{});function md(e){return e===""||e===void 0?!1:MN.test(e)}var MN,hd=y(()=>{MN=/\n[\r\t ]*\n/});function Ud(e){return e&&e.source&&e.source.start&&e.source.start.line}function RN(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Ud(e)===Ud(t)||Ud(t)===Ud(t.next())?RN(t):t}var FB=y(()=>{});function Jx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function Ww(e){if(!Kr(e))return!1;let t=$r(e);if(Jx(t,e))return!0;let r=RN(e);if(r&&Jx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
|
|
2
|
+
`)}var _w=y(()=>{me(),FB(),Pn()});function Wi(e){let t=e.prev();return!t||t.type!=="comment"?!1:!Ww(t)}var nh=y(()=>{_w()});function Gc(e){return e.nodes!==void 0}var ih=y(()=>{});function $v(e){if(e.type!=="atrule")return!1;let t=$r(e);return t===void 0?!1:Oe(t)&&!Gc(t)&&!Gc(e)}var $N=y(()=>{Pn(),ih(),me()});function Zx(e){if(!$v(e))return!1;let t=$r(e);return t&&Oe(t)?t.name===e.name:!1}var MB=y(()=>{Pn(),me(),$N()});function Br(e){let t=e.parent;if(t===void 0||ur(t)&&!RB(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Kr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
|
|
3
|
+
`)||!lx(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[o,a]of r.entries())if(o!==0){if(a===e)return!0;if(!Kr(a)||lx(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function RB({parent:e}){return!!(e&&Cv(e))}var fd=y(()=>{me()});function oh(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var ah=y(()=>{me()}),BN={};A(BN,{default:()=>qN});function $B(e){let t=$r(e);return t&&Oe(t)&&t.name===e.name}var So,Vd,e1,Co,qN,BB=y(()=>{q(),pd(),Pn(),hd(),nh(),me(),$N(),MB(),fd(),ah(),et(),K(),I(),j(),D(),So="at-rule-empty-line-before",Vd=O(So,{expected:"Expected empty line before at-rule",rejected:"Expected no empty line before at-rule"}),e1={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},Co=(e,t,r)=>(n,i)=>{if(!T(i,So,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[$,_]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if(oh(a)||!Ze(a)||F(t,"ignoreAtRules",a.name)||F(t,"ignore","blockless-after-blockless")&&$v(a)||F(t,"ignore","first-nested")&&Br(a)||F(t,"ignore","blockless-after-same-name-blockless")&&Zx(a)||F(t,"ignore","inside-block")&&s||F(t,"ignore","after-comment")&&Wi(a))return;let l=md(a.raws.before),u=o==="always";if((F(t,"except","after-same-name")&&$B(a)||F(t,"except","inside-block")&&s||F(t,"except","first-nested")&&Br(a)||F(t,"except","blockless-after-blockless")&&$v(a)||F(t,"except","blockless-after-same-name-blockless")&&Zx(a))&&(u=!u),u===l)return;let c=u?Vd.expected:Vd.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:So,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Co.ruleName=So,Co.messages=Vd,Co.meta=e1,qN=Co}),qB=G(()=>{"use strict"}),WN=G(()=>{}),Uw=G((e,t)=>{"use strict";var r=qB(),n=WN(),i=class _N 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,_N)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(){return""}toString(){let a=this.showSourceCode();return a&&(a=`
|
|
4
4
|
|
|
5
5
|
`+a+`
|
|
6
|
-
`),this.name+": "+this.message+a}};t.exports=i,i.default=i}),
|
|
6
|
+
`),this.name+": "+this.message+a}};t.exports=i,i.default=i}),UN=G((e,t)=>{"use strict";var r=/(<)(\/?style\b)/gi,n=/(<)(!--)/g;function i(l){return typeof l!="string"||!l.includes("<")?l:l.replace(r,"\\3c $2").replace(n,"\\3c $2")}var o={after:`
|
|
7
7
|
`,beforeClose:`
|
|
8
8
|
`,beforeComment:`
|
|
9
9
|
`,beforeDecl:`
|
|
10
10
|
`,beforeOpen:" ",beforeRule:`
|
|
11
11
|
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function a(l){return l[0].toUpperCase()+l.slice(1)}var s=class{constructor(l){this.builder=l}atrule(l,u){let c=l.raws,d="@"+l.name,p=l.params?this.rawValue(l,"params"):"";if(typeof c.afterName<"u"?d+=c.afterName:p&&(d+=" "),l.nodes)this.block(l,d+p);else{let m=(c.between||"")+(u?";":"");this.builder(i(d+p+m),l)}}beforeAfter(l,u){let c;l.type==="decl"?c=this.raw(l,null,"beforeDecl"):l.type==="comment"?c=this.raw(l,null,"beforeComment"):u==="before"?c=this.raw(l,null,"beforeRule"):c=this.raw(l,null,"beforeClose");let d=l.parent,p=0;for(;d&&d.type!=="root";)p+=1,d=d.parent;if(c.includes(`
|
|
12
|
-
`)){let m=this.raw(l,null,"indent");if(m.length)for(let v=0;v<p;v++)c+=m}return c}block(l,u){let c=
|
|
12
|
+
`)){let m=this.raw(l,null,"indent");if(m.length)for(let v=0;v<p;v++)c+=m}return c}block(l,u){let c=this.raw(l,"between","beforeOpen");this.builder(i(u+c)+"{",l,"start");let d;l.nodes&&l.nodes.length?(this.body(l),d=this.raw(l,"after")):d=this.raw(l,"after","emptyBody"),d&&this.builder(i(d)),this.builder("}",l,"end")}body(l){let u=l.nodes,c=u.length-1;for(;c>0&&u[c].type==="comment";)c-=1;let d=this.raw(l,"semicolon"),p=l.type==="document";for(let m=0;m<u.length;m++){let v=u[m],h=this.raw(v,"before");h&&this.builder(p?h:i(h)),this.stringify(v,c!==m||d)}}comment(l){let u=this.raw(l,"left","commentLeft"),c=this.raw(l,"right","commentRight");this.builder(i("/*"+u+l.text+c+"*/"),l)}decl(l,u){let c=l.raws,d=this.raw(l,"between","colon"),p=l.prop+d+this.rawValue(l,"value");l.important&&(p+=c.important||" !important"),u&&(p+=";"),this.builder(i(p),l)}document(l){this.body(l)}raw(l,u,c){let d;if(c||(c=u),u&&(d=l.raws[u],typeof d<"u"))return d;let p=l.parent;if(c==="before"&&(!p||p.type==="root"&&p.first===l||p&&p.type==="document"))return"";if(!p)return o[c];let m=l.root(),v=m.rawCache||(m.rawCache={});if(typeof v[c]<"u")return v[c];if(c==="before"||c==="after")return this.beforeAfter(l,c);{let h="raw"+a(c);this[h]?d=this[h](m,l):m.walk(b=>{if(d=b.raws[u],typeof d<"u")return!1})}return typeof d>"u"&&(d=o[c]),v[c]=d,d}rawBeforeClose(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length>0&&typeof c.raws.after<"u")return u=c.raws.after,u.includes(`
|
|
13
13
|
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawBeforeComment(l,u){let c;return l.walkComments(d=>{if(typeof d.raws.before<"u")return c=d.raws.before,c.includes(`
|
|
14
14
|
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(l,u){let c;return l.walkDecls(d=>{if(typeof d.raws.before<"u")return c=d.raws.before,c.includes(`
|
|
15
15
|
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(l){let u;return l.walk(c=>{if(c.type!=="decl"&&(u=c.raws.between,typeof u<"u"))return!1}),u}rawBeforeRule(l){let u;return l.walk(c=>{if(c.nodes&&(c.parent!==l||l.first!==c)&&typeof c.raws.before<"u")return u=c.raws.before,u.includes(`
|
|
16
16
|
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawColon(l){let u;return l.walkDecls(c=>{if(typeof c.raws.between<"u")return u=c.raws.between.replace(/[^\s:]/g,""),!1}),u}rawEmptyBody(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length===0&&(u=c.raws.after,typeof u<"u"))return!1}),u}rawIndent(l){if(l.raws.indent)return l.raws.indent;let u;return l.walk(c=>{let d=c.parent;if(d&&d!==l&&d.parent&&d.parent===l&&typeof c.raws.before<"u"){let p=c.raws.before.split(`
|
|
17
|
-
`);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),
|
|
17
|
+
`);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),Vw=G((e,t)=>{"use strict";var r=UN();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Qw=G((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),sh=G((e,t)=>{"use strict";var r=Uw(),n=UN(),i=Vw(),{isClean:o,my:a}=Qw();function s(c,d){let p=new c.constructor;for(let m in c){if(!Object.prototype.hasOwnProperty.call(c,m)||m==="proxyCache")continue;let v=c[m],h=typeof v;m==="parent"&&h==="object"?d&&(p[m]=d):m==="source"?p[m]=v:Array.isArray(v)?p[m]=v.map(b=>s(b,p)):(h==="object"&&v!==null&&(v=s(v)),p[m]=v)}return p}function l(c,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,m=1,v=0;for(let h=0;h<c.length;h++){if(m===d.line&&p===d.column){v=h;break}c[h]===`
|
|
18
18
|
`?(p=1,m+=1):p+=1}return v}var u=class{get proxyOf(){return this}constructor(c={}){this.raws={},this[o]=!1,this[a]=!0;for(let d in c)if(d==="nodes"){this.nodes=[];for(let p of c[d])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[d]=c[d]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let d=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let d in c)this[d]=c[d];return this}before(c){return this.parent.insertBefore(this,c),this}clone(c={}){let d=s(this);for(let p in c)d[p]=c[p];return d}cloneAfter(c={}){let d=this.clone(c);return this.parent.insertAfter(this,d),d}cloneBefore(c={}){let d=this.clone(c);return this.parent.insertBefore(this,d),d}error(c,d={}){if(this.source){let{end:p,start:m}=this.rangeBy(d);return this.source.input.error(c,{column:m.column,line:m.line},{column:p.column,line:p.line},d)}return new r(c)}markClean(){this[o]=!0}markDirty(){if(this[o]){this[o]=!1;let c=this;for(;c=c.parent;)c[o]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c={}){let d=this.source.start;if(c.index)d=this.positionInside(c.index);else if(c.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,m=p.slice(l(p,this.source.start),l(p,this.source.end)).indexOf(c.word);m!==-1&&(d=this.positionInside(m))}return d}positionInside(c){let d=this.source.start.column,p=this.source.start.line,m="document"in this.source.input?this.source.input.document:this.source.input.css,v=l(m,this.source.start),h=v+c;for(let b=v;b<h;b++)m[b]===`
|
|
19
|
-
`?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let g=d.get(b.input);g==null&&(g=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:g,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),
|
|
20
|
-
`),x=new Array(f.length),w=0;for(let k=0,S=f.length;k<S;k++)x[k]=w,w+=f[k].length+1;return g[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(g,f={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,f.document&&(this.document=f.document.toString()),f.from&&(!v||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),v&&m){let x=new c(this.css,f);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(g,f,x,w={}){let k,S,E,
|
|
21
|
-
`;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),
|
|
22
|
-
`," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),XN=G((e,t)=>{"use strict";var r=In(),n=HN(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(o){let a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=o.join(s)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),KB=G((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,g,f,x,w=l.length,k=0,S=[],E=[],z=-1;function L(){return k}function N(ve){throw a.error("Unclosed "+ve,k)}function B(){return E.length===0&&k>=w}function te(ve){if(E.length)return E.pop();if(k>=w)return;let he=ve?ve.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);h=[oe,oe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=l.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||he){m=k;break}else N("bracket");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else k<=z?h=["(","(",k]:(m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?(z=m===-1?w:m,h=["(","(",k]):(h=["brackets",d,k,m],k=m));break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||he){m=k+1;break}else N("string");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||he?m=l.length:N("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function re(ve){E.push(ve)}return{back:re,endOfFile:B,nextToken:te,position:L}}}),HB=G((e,t)=>{"use strict";var r=YN(),n=Qw(),i=Yw(),o=sh(),a=XN(),s=KB(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){g=!0;break}else if(m==="}"){if(f.length>0){for(h=f.length-1,v=f[h];v&&v[0]==="space";)v=f[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),b&&(d=f[f.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),g&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,g]of d.entries()){if(v=g,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(h=d[f],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=f;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(m.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(m=x[0],f.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(g&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(f,g);return}else break;else if(m==="{"){this.rule(f);return}else if(m==="}"){this.tokenizer.back(f.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!g)for(;f.length&&(x=f[f.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,g)}else this.unknownWord(f)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,g=m.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)h=m[S],b=h[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?f.slice(-1)===","?x=!1:f+=h[1]:x=!1):f+=h[1];if(!x){let S=m.reduce((E,z)=>E+z[1],"");d.raws[p]={raw:S,value:f}}d[p]=f}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),JN=G((e,t)=>{"use strict";var r=In(),n=Kw(),i=HB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),ZN=G((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let o=i.node.rangeBy(i);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(let o in i)this[o]=i[o]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};t.exports=r,r.default=r}),eE=G((e,t)=>{"use strict";var r=ZN(),n=class{get content(){return this.css}constructor(i,o,a){this.processor=i,this.messages=[],this.root=o,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,o);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),XB=G(()=>{}),tE=G((e,t)=>{"use strict";var r=In(),n=Gw(),i=GB(),o=JN(),a=eE(),s=sh(),l=Uw(),{isClean:u,my:c}=Vw(),d=XB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class rE{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,g,f){this.stringified=!1,this.processed=!1;let x;if(typeof g=="object"&&g!==null&&(g.type==="root"||g.type==="document"))x=p(g);else if(g instanceof rE||g instanceof a)x=p(g.root),g.map&&(typeof f.map>"u"&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=g.map);else{let w=o;f.syntax&&(w=f.syntax.parse),f.parser&&(w=f.parser),w.parse&&(w=w.parse);try{x=w(g,f)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,f),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,g=l;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=this.result.root.source;if(b.map===void 0&&!(f&&f.input&&f.input.map)){let w="";return g(this.result.root,k=>{w+=k}),this.result.css=w,this.result}let x=new i(g,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),JB=G((e,t)=>{var r=class{};t.exports=r}),ZB=G((e,t)=>{"use strict";var r=Gw(),n=tE(),i=JB(),o=sh(),a=class{constructor(s=[]){this.version="8.5.13",this.plugins=this.normalize(s)}normalize(){return[]}process(s,l={}){return!this.plugins.length&&!l.parser&&!l.stringifier&&!l.syntax?new i(this,s,l):new n(this,s,l)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),eq=G((e,t)=>{"use strict";var r=YN(),n=Qw(),i=In(),o=_w(),a=Yw(),s=Gw(),l=VB(),u=Kw(),c=tE(),d=HN(),p=ah(),m=JN(),v=ZB(),h=eE(),b=sh(),g=XN(),f=Uw(),x=ZN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new g(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Zh,_i,nE,gd=y(()=>{Zh=X(eq(),1),_i=Zh.default,nE=Zh.default.Node}),iE={};A(iE,{default:()=>oE});var zo,ef,t1,Ao,oE,tq=y(()=>{gd(),q(),no(),et(),K(),I(),j(),D(),zo="at-rule-no-deprecated",ef=O(zo,{rejected:e=>`Deprecated at-rule "${e}"`}),t1={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},Ao=(e,t)=>(r,n)=>{T(n,zo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(F(t,"ignoreAtRules",o)||!zv.has(a))return;let s=a==="nest"?()=>{let u=_i.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:ef.rejected,messageArgs:[l],node:i,ruleName:zo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},Ao.ruleName=zo,Ao.messages=ef,Ao.meta=t1,oE=Ao}),Xe,Dt=y(()=>{Xe={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),aE={};A(aE,{default:()=>sE});var No,tf,r1,Eo,sE,rq=y(()=>{q(),no(),et(),K(),I(),j(),D(),Dt(),No="at-rule-no-unknown",tf=O(No,{rejected:e=>`Unknown at-rule "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Eo=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,No,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Ze(u))return;let c=u.name;if(o.has(c)||F(t,"ignoreAtRules",u.name)||Xe.prefix(c)||KA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:tf.rejected,messageArgs:[d],node:u,ruleName:No,result:n,word:d})})},Eo.ruleName=No,Eo.messages=tf,Eo.meta=r1,sE=Eo}),n1,i1,o1,a1,zr,bd=y(()=>{Dt(),n1=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),i1=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),o1=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),a1=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),zr={atRuleName(e){return n1.has(`@${e.toLowerCase()}`)},selector(e){return i1.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Xe.prefix(t).length===0?!1:o1.has(Xe.unprefixed(t))},propertyValue(e){return a1.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),lE={};A(lE,{default:()=>uE});var Po,rf,s1,Io,uE,nq=y(()=>{q(),bd(),et(),K(),I(),j(),D(),Po="at-rule-no-vendor-prefix",rf=O(Po,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),s1={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Io=(e,t)=>(r,n)=>{T(n,Po,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(F(t,"ignoreAtRules",o)||!o.startsWith("-")||!zr.atRuleName(o))return;let a=()=>{i.name=zr.unprefix(i.name)},s=`@${o}`;P({message:rf.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:Po,fix:{apply:a,node:i}})})},Io.ruleName=Po,Io.messages=rf,Io.meta=s1,uE=Io}),cE={};A(cE,{default:()=>dE});var Oo,nf,l1,jo,dE,iq=y(()=>{q(),et(),J(),K(),I(),j(),D(),Oo="at-rule-prelude-no-invalid",nf=O(Oo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),l1={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},jo=(e,t)=>(r,n)=>{if(!T(n,Oo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(F(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=je(o),d=c+s.length;P({message:nf.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Oo,result:n})})},jo.ruleName=Oo,jo.messages=nf,jo.meta=l1,dE=jo});function oq(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var aq=y(()=>{});function Bt(...e){return t=>Cr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),pE={};A(pE,{default:()=>mE});var To,of,u1,Do,mE,sq=y(()=>{aq(),et(),q(),I(),j(),Ht(),D(),To="at-rule-property-required-list",of=O(To,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Do=e=>(t,r)=>{if(!T(r,To,{actual:e,possible:[Bt($)]}))return;let n=oq(e),i=new Set;t.walkAtRules(o=>{if(!Ze(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:of.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:To})}}})},Do.ruleName=To,Do.messages=of,Do.meta=u1,mE=Do});function hE(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),it(e))r+=e.selector;else if(Oe(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var fE=y(()=>{me()});function gE(e,t=vd){if(!e)return e;let[r]=e.split(/\s/,1);return eo(r),r.replace(t,"")}function ji(e,t=vd){let r=$(e)?e:Kr(e)?e.text:void 0;if(!r)return!1;let n=gE(r,t);return n!==void 0&&bE.has(n)}function lq(e,t=vd){return`${t}${e}`}var xm,Sm,Cm,zm,bE,vd,yd=y(()=>{q(),me(),xm="-disable",Sm="-disable-line",Cm="-disable-next-line",zm="-enable",bE=new Set([xm,Sm,Cm,zm]),vd="stylelint"}),vE={};A(vE,{default:()=>yE});var Lo,af,c1,Fo,yE,uq=y(()=>{fE(),nh(),me(),yd(),K(),I(),j(),D(),Lo="block-no-empty",af=O(Lo,{rejected:"Empty block"}),c1={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Fo=(e,t,r)=>(n,i)=>{if(!T(i,Lo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=F(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Gc(u)||s(u)||l(u))return;let c=hE(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:af.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Lo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Kr(d)&&(o||ji(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Fo.ruleName=Lo,Fo.messages=af,Fo.meta=c1,yE=Fo});function wd(e){return!(Zm(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var kd=y(()=>{eh()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!wd(e.selector))}var de=y(()=>{kd()}),wE={};A(wE,{default:()=>kE});var Mo,sf,d1,Ro,kE,cq=y(()=>{me(),de(),I(),j(),D(),Mo="block-no-redundant-nested-style-rules",sf=O(Mo,{rejected:"Redundant nested style rule"}),d1={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Ro=e=>(t,r)=>{T(r,Mo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:sf.rejected,messageArgs:[],node:n,result:r,ruleName:Mo}))})},Ro.ruleName=Mo,Ro.messages=sf,Ro.meta=d1,kE=Ro});function xd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var Sd=y(()=>{});function Hw(e){if(!xd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Hw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var xE=y(()=>{Sd()}),SE={};A(SE,{default:()=>CE});var p1,$o,lf,m1,Bo,CE,dq=y(()=>{p1=X(ue(),1),Ir(),J(),Be(),xE(),me(),V(),I(),j(),gt(),D(),$o="color-function-alias-notation",lf=O($o,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m1={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},Bo=e=>(t,r)=>{if(!T(r,$o,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?bm:Uc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,p1.default)($e(o));a.walk(s=>{if(!Nn(s)||!Hw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,ft(o,a.toString())},p=ie(o)+u,m=p+l.length;P({message:lf.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:$o,fix:{apply:d,node:o}})})})},Bo.ruleName=$o,Bo.messages=lf,Bo.meta=m1,CE=Bo});function ao(e){return Nn(e)&&e.value.toLowerCase()==="var"}var Cd=y(()=>{me()}),zE={};A(zE,{default:()=>NE});function uf(e){return e!==""?e:" "}function pq(e){return e.some(t=>ao(t))}function AE(e){return e.type==="div"&&e.value===","}function h1(e){let t=0;for(let r of e)if(AE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var f1,qo,cf,g1,Wo,NE,mq=y(()=>{f1=X(ue(),1),Ir(),J(),Be(),xE(),me(),Cd(),V(),K(),I(),j(),gt(),D(),qo="color-function-notation",cf=O(qo,{expected:e=>`Expected ${e} color-function notation`}),g1={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Wo=(e,t)=>(r,n)=>{if(!T(n,qo,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=F(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,f1.default)($e(o));a.walk(s=>{if(!Nn(s)||!Hw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&pq(d)||!jw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!h1(d)||e==="legacy"&&h1(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(AE(g)&&(b<2?(g.type="space",g.value=uf(g.after),b++):(g.value="/",g.before=uf(g.before),g.after=uf(g.after))),g)),Uc.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),ft(o,a.toString())},m=ie(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:cf.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:qo,fix:{apply:h,node:o}})})})},Wo.ruleName=qo,Wo.messages=cf,Wo.meta=g1,NE=Wo});function EE(e){return PE.test(e)}var PE,IE=y(()=>{PE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function OE({type:e,value:t}){return e==="word"&&EE(t)}var jE=y(()=>{IE()});function zd(e){return Nn(e)&&e.value.toLowerCase()==="url"}var Ad=y(()=>{me()}),TE={};A(TE,{default:()=>DE});function b1(e){return e.length===5||e.length===9}var v1,_o,Qd,y1,Uo,DE,hq=y(()=>{v1=X(ue(),1),J(),jE(),Ad(),V(),I(),j(),D(),_o="color-hex-alpha",Qd=O(_o,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),y1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Uo=e=>(t,r)=>{T(r,_o,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,v1.default)(n.value).walk(i=>{if(zd(i))return!1;if(!OE(i))return;let{value:o}=i;if(e==="always"&&b1(o)||e==="never"&&!b1(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Qd.rejected:Qd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:_o})})})},Uo.ruleName=_o,Uo.messages=Qd,Uo.meta=y1,DE=Uo}),LE={};A(LE,{default:()=>FE});function fq(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function gq(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function bq(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var w1,Vo,df,k1,Qo,FE,vq=y(()=>{w1=X(ue(),1),J(),Be(),jE(),Ad(),V(),I(),j(),gt(),D(),Vo="color-hex-length",df=O(Vo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),k1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Qo=e=>(t,r)=>{T(r,Vo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,w1.default)($e(n));i.walk(o=>{let{value:a}=o;if(zd(o))return!1;if(!OE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!fq(a)))return;let s=(e==="long"?bq:gq)(a),l=()=>{o.value=s,ft(n,i.toString())},u=ie(n)+o.sourceIndex,c=u+o.value.length;P({message:df.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Vo,fix:{apply:l,node:n}})})})},Qo.ruleName=Vo,Qo.messages=df,Qo.meta=k1,FE=Qo}),x1,fr,Je,Ft,pf,mf,Yd,S1,Yo,hf,ff,gf,bf,vf,qn,C1,z1,A1,N1,Gd,yf,E1,Kd,Hd,wf,Xd,er,kf,ME,yq=y(()=>{x1={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ft=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},pf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},mf=function(e){return{r:Ft(e.r,0,255),g:Ft(e.g,0,255),b:Ft(e.b,0,255),a:Ft(e.a)}},Yd=function(e){return{r:Je(e.r),g:Je(e.g),b:Je(e.b),a:Je(e.a,3)}},S1=/^#([0-9a-f]{3,8})$/i,Yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},hf=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},ff=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},gf=function(e){return{h:pf(e.h),s:Ft(e.s,0,100),l:Ft(e.l,0,100),a:Ft(e.a)}},bf=function(e){return{h:Je(e.h),s:Je(e.s),l:Je(e.l),a:Je(e.a,3)}},vf=function(e){return ff((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qn=function(e){return{h:(t=hf(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},C1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,A1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,N1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gd={string:[[function(e){var t=S1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Je(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=A1.exec(e)||N1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:mf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=C1.exec(e)||z1.exec(e);if(!t)return null;var r,n,i=gf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(x1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return vf(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return fr(t)&&fr(r)&&fr(n)?mf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=gf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return vf(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=(function(s){return{h:pf(s.h),s:Ft(s.s,0,100),v:Ft(s.v,0,100),a:Ft(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return ff(a)},"hsv"]]},yf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},E1=function(e){return typeof e=="string"?yf(e.trim(),Gd.string):typeof e=="object"&&e!==null?yf(e,Gd.object):[null,void 0]},Kd=function(e,t){var r=qn(e);return{h:r.h,s:Ft(r.s+100*t,0,100),l:r.l,a:r.a}},Hd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},wf=function(e,t){var r=qn(e);return{h:r.h,s:r.s,l:Ft(r.l+100*t,0,100),a:r.a}},Xd=(function(){function e(t){this.parsed=E1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Je(Hd(this.rgba),2)},e.prototype.isDark=function(){return Hd(this.rgba)<.5},e.prototype.isLight=function(){return Hd(this.rgba)>=.5},e.prototype.toHex=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Yo(Je(255*o)):"","#"+Yo(r)+Yo(n)+Yo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Yd(this.rgba)},e.prototype.toRgbString=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return bf(qn(this.rgba))},e.prototype.toHslString=function(){return t=bf(qn(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=hf(this.rgba),{h:Je(t.h),s:Je(t.s),v:Je(t.v),a:Je(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Kd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Je(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qn(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Je(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Xd?e:new Xd(e)},kf=[],ME=function(e){e.forEach(function(t){kf.indexOf(t)<0&&(t(Xd,Gd),kf.push(t))})}});function wq(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var kq=y(()=>{});function xq(e,t){e.prototype.toHwb=function(){return Bv(qv(this.rgba))},e.prototype.toHwbString=function(){return r=Bv(qv(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([$E,"hwb"]),t.object.push([RE,"hwb"])}var P1,Jd,Go,Zd,xf,Bv,qv,Sf,RE,I1,$E,Sq=y(()=>{P1={grad:.9,turn:360,rad:360/(2*Math.PI)},Jd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Go=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Zd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},xf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Zd(e.w,0,100),b:Zd(e.b,0,100),a:Zd(e.a)};var t},Bv=function(e){return{h:Go(e.h),w:Go(e.w),b:Go(e.b),a:Go(e.a,3)}},qv=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},Sf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},RE=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Jd(t)||!Jd(r)||!Jd(n))return null;var a=xf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Sf(a)},I1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$E=function(e){var t=I1.exec(e);if(!t)return null;var r,n,i=xf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(P1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Sf(i)}});function Cq(e,t){e.prototype.toLab=function(){return n=BE(this.rgba),o=n.y/Qp,a=n.z/Yp,i=(i=n.x/Vp)>Ti?Math.cbrt(i):(bn*i+16)/116,r={l:116*(o=o>Ti?Math.cbrt(o):(bn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ti?Math.cbrt(a):(bn*a+16)/116)),alpha:n.a},{l:wi(r.l,2),a:wi(r.a,2),b:wi(r.b,2),alpha:wi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),z=(S+E)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,N=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),N<0&&(N+=360);var B=N-L,te=Math.abs(N-L);te>180&&N<=L?B+=360:te>180&&N>L&&(B-=360);var re=L+N;te<=180?re/=2:re=(L+N<360?re+360:re-360)/2;var ve=1-.17*Math.cos(v*(re-30))+.24*Math.cos(2*v*re)+.32*Math.cos(v*(3*re+6))-.2*Math.cos(v*(4*re-63)),he=c-s,oe=E-S,qe=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Ue=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),At=1+.045*z,Ve=1+.015*z*ve,Y=30*Math.exp(-1*Math.pow((re-275)/25,2)),H=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*Y);return Math.pow(Math.pow(he/1/Ue,2)+Math.pow(oe/1/At,2)+Math.pow(qe/1/Ve,2)+H*oe*qe/(1*At*1*Ve),.5)})(this.toLab(),n.toLab())/100;return Qt(wi(i,3))},t.object.push([qE,"lab"])}var ep,wi,Qt,tp,rp,Vp,Qp,Yp,O1,BE,Ti,bn,qE,j1,zq=y(()=>{ep=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},wi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},tp=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},rp=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Vp=96.422,Qp=100,Yp=82.521,O1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:rp(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:rp(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:rp(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},BE=function(e){var t=tp(e.r),r=tp(e.g),n=tp(e.b);return(function(i){return{x:Qt(i.x,0,Vp),y:Qt(i.y,0,Qp),z:Qt(i.z,0,Yp),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ti=216/24389,bn=24389/27,qE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!ep(t)||!ep(r)||!ep(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return j1(a)},j1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return O1({x:(Math.pow(r,3)>Ti?Math.pow(r,3):(116*r-16)/bn)*Vp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/bn)*Qp,z:(Math.pow(n,3)>Ti?Math.pow(n,3):(116*n-16)/bn)*Yp,a:e.alpha})}});function Aq(e,t){e.prototype.toLch=function(){return Wv(_v(this.rgba))},e.prototype.toLchString=function(){return r=Wv(_v(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([_E,"lch"]),t.object.push([WE,"lch"])}var T1,np,on,gr,ip,op,ap,sp,lp,D1,L1,Wn,an,Cf,Wv,WE,_v,zf,F1,_E,Nq=y(()=>{T1={grad:.9,turn:360,rad:360/(2*Math.PI)},np=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},gr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},ip=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},op=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},ap=96.422,sp=100,lp=82.521,D1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:op(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:op(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:op(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:gr(r.r,0,255),g:gr(r.g,0,255),b:gr(r.b,0,255),a:gr(r.a)}},L1=function(e){var t=ip(e.r),r=ip(e.g),n=ip(e.b);return(function(i){return{x:gr(i.x,0,ap),y:gr(i.y,0,sp),z:gr(i.z,0,lp),a:gr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Wn=216/24389,an=24389/27,Cf=function(e){return{l:gr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Wv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},WE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!np(t)||!np(r)||!np(n))return null;var a=Cf({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return zf(a)},_v=function(e){var t=(function(o){var a=L1(o),s=a.x/ap,l=a.y/sp,u=a.z/lp;return s=s>Wn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Wn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Wn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},zf=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,D1({x:(Math.pow(n,3)>Wn?Math.pow(n,3):(116*n-16)/an)*ap,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*sp,z:(Math.pow(i,3)>Wn?Math.pow(i,3):(116*i-16)/an)*lp,a:t.alpha});var t,r,n,i},F1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_E=function(e){var t=F1.exec(e);if(!t)return null;var r,n,i=Cf({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(T1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return zf(i)}});function Eq(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||o.length>0)return null;let a=lh(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Pq(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Uv.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Uv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return lh(o).rgba}var Uv,lh,Iq=y(()=>{yq(),Uv=X(ue(),1),kq(),Sq(),zq(),Nq(),ME([wq,xq,Cq,Aq,(e,t)=>{t.string.push([Eq,"hwb-with-comma"])},(e,t)=>{t.string.push([Pq,"gray"])}]),lh=er}),UE={};A(UE,{default:()=>VE});var Af,Ko,up,M1,R1,Ho,VE,Oq=y(()=>{Af=X(ue(),1),q(),Pr(),Iq(),J(),Sd(),_e(),V(),Ke(),K(),I(),j(),D(),Ko="color-named",up=O(Ko,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),M1={url:"https://stylelint.io/user-guide/rules/color-named"},R1=new Set(["word","function"]),Ho=(e,t)=>(r,n)=>{if(!T(n,Ko,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(HA.has(o.prop)||F(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,Af.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(F(t,"ignore","inside-function")&&u==="function"||!xd(s))return!1;if(!Re(l)||!R1.has(u))return;if(e==="never"&&u==="word"&&Qc.has(l.toLowerCase())){i(up.rejected,[l],o,ie(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=Af.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=lh(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(up.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Ko,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Ho.ruleName=Ko,Ho.messages=up,Ho.meta=M1,VE=Ho}),QE={};A(QE,{default:()=>GE});function jq({type:e,value:t}){return e==="word"&&YE.test(t)}var $1,Xo,Nf,B1,YE,Jo,GE,Tq=y(()=>{$1=X(ue(),1),J(),Be(),Ad(),V(),I(),j(),D(),Xo="color-no-hex",Nf=O(Xo,{rejected:e=>`Disallowed hex color "${e}"`}),B1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},YE=/^#[\da-z]+$/i,Jo=e=>(t,r)=>{T(r,Xo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,$1.default)($e(n)).walk(i=>{if(zd(i))return!1;if(!jq(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:Nf.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Xo})})})},Jo.ruleName=Xo,Jo.messages=Nf,Jo.meta=B1,GE=Jo});function Dq(e){return!e.includes("[")}var Lq=y(()=>{}),KE={};A(KE,{default:()=>HE});var q1,Zo,Ef,W1,ea,HE,Fq=y(()=>{q1=X(ue(),1),J(),Lq(),IE(),V(),I(),j(),D(),Zo="color-no-invalid-hex",Ef=O(Zo,{rejected:e=>`Invalid hex color "${e}"`}),W1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},ea=e=>(t,r)=>{T(r,Zo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&Dq(n.value)&&(0,q1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||EE(l))return;let u=ie(n)+a,c=u+l.length;P({message:Ef.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Zo})})})},ea.ruleName=Zo,ea.messages=Ef,ea.meta=W1,HE=ea});function Kc(e){return!("inline"in e||"inline"in e.raws)}var uh=y(()=>{}),XE={};A(XE,{default:()=>JE});var ta,cp,_1,ra,JE,Mq=y(()=>{q(),pd(),hd(),rh(),yd(),fd(),oh(),Ww(),uh(),K(),I(),j(),D(),ta="comment-empty-line-before",cp=O(ta,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),_1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},ra=(e,t,r)=>(n,i)=>{T(i,ta,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(ih(o)||ji(o,r.configurationComment)&&F(t,"ignore","stylelint-commands")||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignoreComments",o.text)||qw(o)||!Kc(o))return;let a=F(t,"except","first-nested")&&Br(o)?!1:e==="always",s=o.raws.before||"",l=md(s);if(a===l)return;let u=a?cp.expected:cp.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:ta,fix:{apply:()=>dd({node:o,newline:r.newline,action:c}),node:o.parent}})})},ra.ruleName=ta,ra.messages=cp,ra.meta=_1,JE=ra}),ZE={};A(ZE,{default:()=>eP});var na,Pf,U1,ia,eP,Rq=y(()=>{uh(),I(),j(),D(),na="comment-no-empty",Pf=O(na,{rejected:"Empty comment"}),U1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},ia=e=>(t,r)=>{T(r,na,{actual:e})&&t.walkComments(n=>{Kc(n)&&(n.text&&n.text.length!==0||P({message:Pf.rejected,messageArgs:[],node:n,result:r,ruleName:na}))})},ia.ruleName=na,ia.messages=Pf,ia.meta=U1,eP=ia}),tP={};A(tP,{default:()=>rP});var oa,If,V1,aa,rP,$q=y(()=>{q(),I(),j(),D(),oa="comment-pattern",If=O(oa,{expected:e=>`Expected comment to match pattern "${e}"`}),V1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},aa=e=>(t,r)=>{if(!T(r,oa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:If.expected,messageArgs:[e],node:i,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=If,aa.meta=V1,rP=aa});function Vv(e){return[" ",`
|
|
23
|
-
`," ","\r","\f"].includes(e)}var nP=y(()=>{}),iP={};A(iP,{default:()=>oP});function Bq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function qq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var sa,sn,Q1,la,oP,Wq=y(()=>{uh(),nP(),I(),j(),D(),sa="comment-whitespace-inside",sn=O(sa,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),Q1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},la=e=>(t,r)=>{T(r,sa,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Kc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let g=l.length,f=g+u.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!Vv(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let g=i.length-m.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!Vv(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:sa,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(g===sn.expectedClosing?qq:Bq)(n)},node:n}})}})},la.ruleName=sa,la.messages=sn,la.meta=Q1,oP=la});function _q(e,t){if(!Array.isArray(t))return Y1(e,t);for(let r of t){let n=Y1(e,r);if(n)return n}return!1}function Y1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var Uq=y(()=>{q()}),aP={};A(aP,{default:()=>sP});var ua,Of,G1,_n,sP,Vq=y(()=>{q(),Uq(),Le(),I(),j(),D(),ua="comment-word-disallowed-list",Of=O(ua,{rejected:e=>`Disallowed word matching pattern "${e}"`}),G1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},_n=e=>(t,r)=>{T(r,ua,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||_q(i,e);o&&P({message:Of.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ua})})},_n.primaryOptionArray=!0,_n.ruleName=ua,_n.messages=Of,_n.meta=G1,sP=_n}),lP={};A(lP,{default:()=>uP});var jf,ca,Tf,K1,H1,da,uP,Qq=y(()=>{jf=X(ue(),1),J(),V(),q(),Ke(),et(),ct(),_e(),I(),j(),D(),ca="container-name-pattern",Tf=O(ca,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),K1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},H1=new Set(["and","or","none","not"]),da=e=>(t,r)=>{var s,l,u,c;if(!T(r,ca,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(dr.containerNameAndShorthandName,d=>{if(!ut(d))return;let p=(0,jf.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Re(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(Se.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,jf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;H1.has(h.toLowerCase())||n.test(h)||a(je(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:ca,message:Tf.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},da.ruleName=ca,da.messages=Tf,da.meta=K1,uP=da}),cP={};A(cP,{default:()=>dP});var pa,Df,X1,ma,dP,Yq=y(()=>{q(),J(),V(),I(),j(),D(),pa="custom-media-pattern",Df=O(pa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),X1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},ma=e=>(t,r)=>{if(!T(r,pa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=je(i);P({message:Df.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:pa})})},ma.ruleName=pa,ma.messages=Df,ma.meta=X1,dP=ma});function Gq(e){var i;let t=Qv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Qv.set(e,{result:n,before:r}),n}var Qv,Kq=y(()=>{Qv=new WeakMap});function Xw(e){return Gc(e)?Gq(e).slice(hE(e).length):""}var Jw=y(()=>{fE(),nh(),Kq()});function pP(e){let t=e.prev();return t?it(t)||Oe(t):!1}var mP=y(()=>{me()});function yt(e){return e.startsWith("--")}var pr=y(()=>{});function ch(e){return!/[\n\r]/.test(e)}var dh=y(()=>{}),hP={};A(hP,{default:()=>fP});function J1(e){let t=$r(e);return t!=null&&to(t)&&yt(t.prop)}var ha,dp,Z1,fa,fP,Hq=y(()=>{me(),Jw(),pd(),Pn(),hd(),mP(),rh(),pr(),fd(),dh(),ct(),K(),I(),j(),D(),ha="custom-property-empty-line-before",dp=O(ha,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),Z1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},fa=(e,t,r)=>(n,i)=>{T(i,ha,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!ut(o)||!yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-custom-property")&&J1(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||it(s))&&ch(Xw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&pP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-custom-property")&&J1(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?dp.expected:dp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ha,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},fa.ruleName=ha,fa.messages=dp,fa.meta=Z1,fP=fa}),gP={};A(gP,{default:()=>bP});function e0({type:e,value:t}){return e==="word"&&t.startsWith("--")}var t0,ga,Lf,r0,n0,ba,bP,Xq=y(()=>{t0=X(ue(),1),V(),J(),Cd(),I(),j(),D(),ga="custom-property-no-missing-var-function",Lf=O(ga,{rejected:e=>`Missing var function for "${e}"`}),r0={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},n0=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ba=e=>(t,r)=>{if(!T(r,ga,{actual:e}))return;let n=new Set;t.walkAtRules(Se.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(dr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(n0.has(a.toLowerCase())||(0,t0.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&ao(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&e0(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!e0(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ie(a)+o.sourceIndex,u=l+s.length;P({message:Lf.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ga})}},ba.ruleName=ga,ba.messages=Lf,ba.meta=r0,bP=ba});function Or(e){return!(IN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||Zm(e))}var jr=y(()=>{eh(),ON()}),vP={};A(vP,{default:()=>yP});var i0,va,Ff,o0,ya,yP,Jq=y(()=>{i0=X(ue(),1),J(),V(),q(),pr(),jr(),Cd(),I(),j(),D(),va="custom-property-pattern",Ff=O(va,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),o0={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ya=e=>(t,r)=>{if(!T(r,va,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Or(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,i0.default)(l).walk(u=>{if(!ao(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(Se.propertyName,a=>{let{params:s}=a;i(s)||o(je(a),s,a)});function o(a,s,l){P({result:r,ruleName:va,message:Ff.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},ya.ruleName=va,ya.messages=Ff,ya.meta=o0,yP=ya});function Zq(e){return it(e)||Oe(e)||ur(e)}function ph(e,t){function r(n){if(Zq(n)&&n.nodes&&n.nodes.length){let i=[];for(let o of n.nodes)o.type==="decl"&&i.push(o),r(o);i.length&&t(i.forEach.bind(i))}}r(e)}var mh=y(()=>{me()}),wP={};A(wP,{default:()=>kP});var wa,Mf,a0,ka,kP,e9=y(()=>{q(),mh(),pr(),jr(),K(),I(),j(),D(),wa="declaration-block-no-duplicate-custom-properties",Mf=O(wa,{rejected:e=>`Duplicate custom property "${e}"`}),a0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ka=(e,t)=>(r,n)=>{T(n,wa,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&ph(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Or(s)||!yt(s)||F(t,"ignoreProperties",s))){if(o.has(s)){P({message:Mf.rejected,messageArgs:[s],node:a,result:n,ruleName:wa,word:s});return}o.add(s)}})})},ka.ruleName=wa,ka.messages=Mf,ka.meta=a0,kP=ka}),s0=y(()=>{});function pt(e){return e>=48&&e<=57}function en(e){return pt(e)||e>=65&&e<=70||e>=97&&e<=102}function Zw(e){return e>=65&&e<=90}function t9(e){return e>=97&&e<=122}function r9(e){return Zw(e)||t9(e)}function n9(e){return e>=128}function Am(e){return r9(e)||n9(e)||e===95}function xP(e){return Am(e)||pt(e)||e===45}function i9(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Nm(e){return e===10||e===13||e===12}function xn(e){return Nm(e)||e===32||e===9}function wr(e,t){return!(e!==92||Nm(t)||t===0)}function Gp(e,t,r){return e===45?Am(t)||t===45||wr(t,r):Am(e)?!0:e===92?wr(e,t):!1}function Rf(e,t,r){return e===43||e===45?pt(t)?2:t===46&&pt(r)?3:0:e===46?pt(t)?2:0:pt(e)?1:0}function SP(e){return e===65279||e===65534?1:0}function $f(e){return e<128?Kp[e]:Em}var Kp,l0,Nc,Yv,Em,Gv,Pm=y(()=>{Kp=new Array(128),l0=128,Nc=130,Yv=131,Em=132,Gv=133;for(let e=0;e<Kp.length;e++)Kp[e]=xn(e)&&Nc||pt(e)&&Yv||Am(e)&&Em||i9(e)&&Gv||e||l0});function Di(e,t){return t<e.length?e.charCodeAt(t):0}function Kv(e,t,r){return r===13&&Di(e,t+1)===10?2:1}function Li(e,t,r){let n=e.charCodeAt(t);return Zw(n)&&(n=n|32),n===r}function Hc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Zw(a)&&(a=a|32),a!==o)return!1}return!0}function o9(e,t){for(;t>=0&&xn(e.charCodeAt(t));t--);return t+1}function pp(e,t){for(;t<e.length&&xn(e.charCodeAt(t));t++);return t}function Bf(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function Ui(e,t){if(t+=2,en(Di(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&en(Di(e,t));t++);let r=Di(e,t);xn(r)&&(t+=Kv(e,t,r))}return t}function mp(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!xP(r)){if(wr(r,Di(e,t+1))){t=Ui(e,t)-1;continue}break}}return t}function hh(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),pt(r)&&(t=Bf(e,t+1),r=e.charCodeAt(t)),r===46&&pt(e.charCodeAt(t+1))&&(t+=2,t=Bf(e,t)),Li(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),pt(r)&&(t=Bf(e,t+1+n+1))}return t}function qf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}wr(r,Di(e,t+1))&&(t=Ui(e,t))}return t}function CP(e){if(e.length===1&&!en(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Hv=y(()=>{Pm()}),Im,zP=y(()=>{Im=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"]});function Om(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var AP=y(()=>{});function u0(e){let t=e.source,r=t.length,n=t.length>0?SP(t.charCodeAt(0)):0,i=Om(e.lines,r),o=Om(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Xv||u===Jv||u===NP)&&(u===Jv&&l+1<r&&t.charCodeAt(l+1)===Xv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Xv,NP,Jv,EP,a9=y(()=>{AP(),Pm(),Xv=10,NP=12,Jv=13,EP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||u0(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||u0(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}});function c0(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Un,xa,Fr,Vt,PP,s9=y(()=>{AP(),Hv(),zP(),_t=16777215,Ut=24,Un=1,xa=2,Fr=new Uint8Array(32),Fr[2]=22,Fr[21]=22,Fr[19]=20,Fr[23]=24,Vt=new Uint8Array(32),Vt[2]=Un,Vt[21]=Un,Vt[19]=Un,Vt[23]=Un,Vt[22]=xa,Vt[20]=xa,Vt[24]=xa,PP=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){e=String(e||"");let r=e.length,n=Om(this.offsetAndType,e.length+1),i=Om(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Fr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Fr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Hc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[c0(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[c0(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Un}isBlockCloserTokenType(e){return Vt[e]===xa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Fr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Fr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:Im[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function fh(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=hh(e,u),Gp(r(u),r(u+1),r(u+2))){c=12,u=mp(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=mp(e,u),Hc(e,d,u,"url")&&r(u)===40){if(u=pp(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch($f(p)){case d:u++;return;case Nc:if(Nm(p)){u+=Kv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);Nm(m)?u+=Kv(e,u+1,m):wr(p,m)&&(u=Ui(e,u)-1);break}}}function a(){for(c=7,u=pp(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch($f(d)){case 41:u++;return;case Nc:if(u=pp(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=qf(e,u),c=8;return;case 34:case 39:case 40:case Gv:u=qf(e,u),c=8;return;case 92:if(wr(d,r(u+1))){u=Ui(e,u)-1;break}u=qf(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=SP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch($f(d)){case Nc:c=13,u=pp(e,u+1);break;case 34:o();break;case 35:xP(r(u+1))||wr(r(u+1),r(u+2))?(c=4,u=mp(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Rf(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Gp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 47:r(u+1)===42?(c=25,u=e.indexOf("*/",u+2),u=u===-1?e.length:u+2):(c=9,u++);break;case 58:c=16,u++;break;case 59:c=17,u++;break;case 60:r(u+1)===33&&r(u+2)===45&&r(u+3)===45?(c=14,u=u+4):(c=9,u++);break;case 64:Gp(r(u+1),r(u+2),r(u+3))?(c=3,u=mp(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:wr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Yv:n();break;case Em:i();break;default:c=9,u++}t(c,l,l=u)}}var mr=y(()=>{Pm(),Hv(),s0(),s0(),zP(),Pm(),Hv(),a9(),s9()}),ln,Xc,ek=y(()=>{ln=null,Xc=class pn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(pn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(pn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function jm(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
24
|
-
`)}})}var
|
|
19
|
+
`?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let g=d.get(b.input);g==null&&(g=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:g,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),Yw=G((e,t)=>{"use strict";var r=sh(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Gw=G((e,t)=>{"use strict";var r=sh(),n=class extends r{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};t.exports=n,n.default=n}),In=G((e,t)=>{"use strict";var r=Yw(),n=Gw(),i=sh(),{isClean:o,my:a}=Qw(),s,l,u,c;function d(v){return v.map(h=>(h.nodes&&(h.nodes=d(h.nodes)),delete h.source,h))}function p(v){if(v[o]=!1,v.proxyOf.nodes)for(let h of v.proxyOf.nodes)p(h)}var m=class VN extends i{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...h){for(let b of h){let g=this.normalize(b,this.last);for(let f of g)this.proxyOf.nodes.push(f)}return this.markDirty(),this}each(h){if(!this.proxyOf.nodes)return;let b=this.getIterator(),g,f;for(;this.indexes[b]<this.proxyOf.nodes.length&&(g=this.indexes[b],f=h(this.proxyOf.nodes[g],g),f!==!1);)this.indexes[b]+=1;return delete this.indexes[b],f}every(h){return this.nodes.every(h)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let h=this.lastEach;return this.indexes[h]=0,h}index(h){return typeof h=="number"?h:(h.proxyOf&&(h=h.proxyOf),this.proxyOf.nodes.indexOf(h))}insertAfter(h,b){let g=this.index(h),f=this.normalize(b,this.proxyOf.nodes[g]).reverse();g=this.index(h);for(let w of f)this.proxyOf.nodes.splice(g+1,0,w);let x;for(let w in this.indexes)x=this.indexes[w],g<x&&(this.indexes[w]=x+f.length);return this.markDirty(),this}insertBefore(h,b){let g=this.index(h),f=g===0?"prepend":!1,x=this.normalize(b,this.proxyOf.nodes[g],f).reverse();g=this.index(h);for(let k of x)this.proxyOf.nodes.splice(g,0,k);let w;for(let k in this.indexes)w=this.indexes[k],g<=w&&(this.indexes[k]=w+x.length);return this.markDirty(),this}normalize(h,b){if(typeof h=="string")h=d(l(h).nodes);else if(typeof h>"u")h=[];else if(Array.isArray(h)){h=h.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type==="root"&&this.type!=="document"){h=h.nodes.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type)h=[h];else if(h.prop){if(typeof h.value>"u")throw new Error("Value field is missed in node creation");typeof h.value!="string"&&(h.value=String(h.value)),h=[new n(h)]}else if(h.selector||h.selectors)h=[new c(h)];else if(h.name)h=[new s(h)];else if(h.text)h=[new r(h)];else throw new Error("Unknown node type in node creation");return h.map(g=>(g[a]||VN.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[o]&&p(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(g.raws.before=b.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...h){h=h.reverse();for(let b of h){let g=this.normalize(b,this.first,"prepend").reverse();for(let f of g)this.proxyOf.nodes.unshift(f);for(let f in this.indexes)this.indexes[f]=this.indexes[f]+g.length}return this.markDirty(),this}push(h){return h.parent=this,this.proxyOf.nodes.push(h),this}removeAll(){for(let h of this.proxyOf.nodes)h.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(h){h=this.index(h),this.proxyOf.nodes[h].parent=void 0,this.proxyOf.nodes.splice(h,1);let b;for(let g in this.indexes)b=this.indexes[g],b>=h&&(this.indexes[g]=b-1);return this.markDirty(),this}some(h){return this.nodes.some(h)}walk(h){return this.each((b,g)=>{let f;try{f=h(b,g)}catch(x){throw b.addToError(x)}return f!==!1&&b.walk&&(f=b.walk(h)),f})}walkAtRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="atrule"&&h.test(g.name))return b(g,f)}):this.walk((g,f)=>{if(g.type==="atrule"&&g.name===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="atrule")return b(g,f)}))}walkComments(h){return this.walk((b,g)=>{if(b.type==="comment")return h(b,g)})}walkDecls(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="decl"&&h.test(g.prop))return b(g,f)}):this.walk((g,f)=>{if(g.type==="decl"&&g.prop===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="decl")return b(g,f)}))}walkRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="rule"&&h.test(g.selector))return b(g,f)}):this.walk((g,f)=>{if(g.type==="rule"&&g.selector===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="rule")return b(g,f)}))}};m.registerParse=v=>{l=v},m.registerRule=v=>{c=v},m.registerAtRule=v=>{s=v},m.registerRoot=v=>{u=v},t.exports=m,m.default=m,m.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,s.prototype):v.type==="rule"?Object.setPrototypeOf(v,c.prototype):v.type==="decl"?Object.setPrototypeOf(v,n.prototype):v.type==="comment"?Object.setPrototypeOf(v,r.prototype):v.type==="root"&&Object.setPrototypeOf(v,u.prototype),v[a]=!0,v.nodes&&v.nodes.forEach(h=>{m.rebuild(h)})}}),QN=G((e,t)=>{"use strict";var r=In(),n=class extends r{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};t.exports=n,n.default=n,r.registerAtRule(n)}),Kw=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[])}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o}),WB=G(()=>{}),_B=G((e,t)=>{"use strict";var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=i=>{let o="",a=i;for(;a--;)o+=r[Math.random()*64|0];return o};t.exports={nanoid:n}}),YN=G(()=>{}),GN=G(()=>{}),UB=G((e,t)=>{var r=class{};t.exports=r}),Hw=G((e,t)=>{"use strict";var{nanoid:r}=_B(),{isAbsolute:n,resolve:i}=(Zm(),vA(xw)),{SourceMapConsumer:o,SourceMapGenerator:a}=YN(),{fileURLToPath:s,pathToFileURL:l}=GN(),u=Uw(),c=UB(),d=WN(),p=Symbol("lineToIndexCache"),m=!!(o&&a),v=!!(i&&n);function h(g){if(g[p])return g[p];let f=g.css.split(`
|
|
20
|
+
`),x=new Array(f.length),w=0;for(let k=0,S=f.length;k<S;k++)x[k]=w,w+=f[k].length+1;return g[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(g,f={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,f.document&&(this.document=f.document.toString()),f.from&&(!v||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),v&&m){let x=new c(this.css,f);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(g,f,x,w={}){let k,S,E,C,L;if(f&&typeof f=="object"){let B=f,ie=x;if(typeof B.offset=="number"){C=B.offset;let te=this.fromOffset(C);f=te.line,x=te.col}else f=B.line,x=B.column,C=this.fromLineAndColumn(f,x);if(typeof ie.offset=="number"){E=ie.offset;let te=this.fromOffset(E);S=te.line,k=te.col}else S=ie.line,k=ie.column,E=this.fromLineAndColumn(ie.line,ie.column)}else if(x)C=this.fromLineAndColumn(f,x);else{C=f;let B=this.fromOffset(C);f=B.line,x=B.col}let N=this.origin(f,x,S,k);return N?L=new u(g,N.endLine===void 0?N.line:{column:N.column,line:N.line},N.endLine===void 0?N.column:{column:N.endColumn,line:N.endLine},N.source,N.file,w.plugin):L=new u(g,S===void 0?f:{column:x,line:f},S===void 0?x:{column:k,line:S},this.css,this.file,w.plugin),L.input={column:x,endColumn:k,endLine:S,endOffset:E,line:f,offset:C,source:this.css},this.file&&(l&&(L.input.url=l(this.file).toString()),L.input.file=this.file),L}fromLineAndColumn(g,f){return h(this)[g-1]+f-1}fromOffset(g){let f=h(this),x=f[f.length-1],w=0;if(g>=x)w=f.length-1;else{let k=f.length-2,S;for(;w<k;)if(S=w+(k-w>>1),g<f[S])k=S-1;else if(g>=f[S+1])w=S+1;else{w=S;break}}return{col:g-f[w]+1,line:w+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:i(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,f,x,w){if(!this.map)return!1;let k=this.map.consumer(),S=k.originalPositionFor({column:f,line:g});if(!S.source)return!1;let E;typeof x=="number"&&(E=k.originalPositionFor({column:w,line:x}));let C;n(S.source)?C=l(S.source):C=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let L={column:S.column,endColumn:E&&E.column,endLine:E&&E.line,line:S.line,url:C.toString()};if(C.protocol==="file:")if(s)L.file=s(C);else throw new Error("file: protocol is not available in this PostCSS build");let N=k.sourceContentFor(S.source);return N&&(L.source=N),L}toJSON(){let g={};for(let f of["hasBOM","css","file","id"])this[f]!=null&&(g[f]=this[f]);return this.map&&(g.map={...this.map},g.map.consumerCache&&(g.map.consumerCache=void 0)),g}};t.exports=b,b.default=b,d&&d.registerInput&&d.registerInput(b)}),VB=G((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Zm(),vA(xw)),{SourceMapConsumer:a,SourceMapGenerator:s}=YN(),{pathToFileURL:l}=GN(),u=Hw(),c=!!(a&&s),d=!!(r&&i&&n&&o),p=class{constructor(m,v,h,b){this.stringify=m,this.mapOpts=h.map||{},this.root=v,this.opts=h,this.css=b,this.originalCSS=b,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let m;for(let v=this.root.nodes.length-1;v>=0;v--)m=this.root.nodes[v],m.type==="comment"&&m.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(v)}else if(this.css){let m;for(;(m=this.css.lastIndexOf("/*#"))!==-1;){let v=this.css.indexOf("*/",m+3);if(v===-1)break;for(;m>0&&this.css[m-1]===`
|
|
21
|
+
`;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),lh=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,s,l){let u=super.normalize(a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let c of u)c.raws.before=s.raws.before}return u}removeChild(a,s){let l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o,r.registerRoot(o)}),KN=G((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
|
|
22
|
+
`," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),HN=G((e,t)=>{"use strict";var r=In(),n=KN(),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)}),QB=G((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,g,f,x,w=l.length,k=0,S=[],E=[],C=-1;function L(){return k}function N(he){throw a.error("Unclosed "+he,k)}function B(){return E.length===0&&k>=w}function ie(he){if(E.length)return E.pop();if(k>=w)return;let fe=he?he.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);h=[oe,oe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=l.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||fe){m=k;break}else N("bracket");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else k<=C?h=["(","(",k]:(m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?(C=m===-1?w:m,h=["(","(",k]):(h=["brackets",d,k,m],k=m));break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||fe){m=k+1;break}else N("string");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||fe?m=l.length:N("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function te(he){E.push(he)}return{back:te,endOfFile:B,nextToken:ie,position:L}}}),YB=G((e,t)=>{"use strict";var r=QN(),n=Yw(),i=Gw(),o=lh(),a=HN(),s=QB(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){g=!0;break}else if(m==="}"){if(f.length>0){for(h=f.length-1,v=f[h];v&&v[0]==="space";)v=f[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),b&&(d=f[f.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),g&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,g]of d.entries()){if(v=g,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(h=d[f],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=f;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(m.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(m=x[0],f.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(g&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(f,g);return}else break;else if(m==="{"){this.rule(f);return}else if(m==="}"){this.tokenizer.back(f.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!g)for(;f.length&&(x=f[f.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,g)}else this.unknownWord(f)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,g=m.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)h=m[S],b=h[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?f.slice(-1)===","?x=!1:f+=h[1]:x=!1):f+=h[1];if(!x){let S=m.reduce((E,C)=>E+C[1],"");d.raws[p]={raw:S,value:f}}d[p]=f}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),XN=G((e,t)=>{"use strict";var r=In(),n=Hw(),i=YB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),JN=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}),ZN=G((e,t)=>{"use strict";var r=JN(),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}),GB=G(()=>{}),eE=G((e,t)=>{"use strict";var r=In(),n=Kw(),i=VB(),o=XN(),a=ZN(),s=lh(),l=Vw(),{isClean:u,my:c}=Qw(),d=GB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class tE{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,g,f){this.stringified=!1,this.processed=!1;let x;if(typeof g=="object"&&g!==null&&(g.type==="root"||g.type==="document"))x=p(g);else if(g instanceof tE||g instanceof a)x=p(g.root),g.map&&(typeof f.map>"u"&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=g.map);else{let w=o;f.syntax&&(w=f.syntax.parse),f.parser&&(w=f.parser),w.parse&&(w=w.parse);try{x=w(g,f)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,f),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,g=l;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=this.result.root.source;if(b.map===void 0&&!(f&&f.input&&f.input.map)){let w="";return g(this.result.root,k=>{w+=k}),this.result.css=w,this.result}let x=new i(g,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),KB=G((e,t)=>{var r=class{};t.exports=r}),HB=G((e,t)=>{"use strict";var r=Kw(),n=eE(),i=KB(),o=lh(),a=class{constructor(s=[]){this.version="8.5.14",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)}),XB=G((e,t)=>{"use strict";var r=QN(),n=Yw(),i=In(),o=Uw(),a=Gw(),s=Kw(),l=WB(),u=Hw(),c=eE(),d=KN(),p=sh(),m=XN(),v=HB(),h=ZN(),b=lh(),g=HN(),f=Vw(),x=JN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new g(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),ef,_i,rE,gd=y(()=>{ef=X(XB(),1),_i=ef.default,rE=ef.default.Node}),nE={};A(nE,{default:()=>iE});var zo,tf,t1,Ao,iE,JB=y(()=>{gd(),q(),no(),et(),K(),I(),j(),D(),zo="at-rule-no-deprecated",tf=O(zo,{rejected:e=>`Deprecated at-rule "${e}"`}),t1={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},Ao=(e,t)=>(r,n)=>{T(n,zo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(F(t,"ignoreAtRules",o)||!zv.has(a))return;let s=a==="nest"?()=>{let u=_i.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:tf.rejected,messageArgs:[l],node:i,ruleName:zo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},Ao.ruleName=zo,Ao.messages=tf,Ao.meta=t1,iE=Ao}),Xe,Dt=y(()=>{Xe={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),oE={};A(oE,{default:()=>aE});var No,rf,r1,Eo,aE,ZB=y(()=>{q(),no(),et(),K(),I(),j(),D(),Dt(),No="at-rule-no-unknown",rf=O(No,{rejected:e=>`Unknown at-rule "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Eo=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,No,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Ze(u))return;let c=u.name;if(o.has(c)||F(t,"ignoreAtRules",u.name)||Xe.prefix(c)||GA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:rf.rejected,messageArgs:[d],node:u,ruleName:No,result:n,word:d})})},Eo.ruleName=No,Eo.messages=rf,Eo.meta=r1,aE=Eo}),n1,i1,o1,a1,zr,bd=y(()=>{Dt(),n1=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),i1=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),o1=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),a1=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),zr={atRuleName(e){return n1.has(`@${e.toLowerCase()}`)},selector(e){return i1.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Xe.prefix(t).length===0?!1:o1.has(Xe.unprefixed(t))},propertyValue(e){return a1.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),sE={};A(sE,{default:()=>lE});var Po,nf,s1,Io,lE,eq=y(()=>{q(),bd(),et(),K(),I(),j(),D(),Po="at-rule-no-vendor-prefix",nf=O(Po,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),s1={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Io=(e,t)=>(r,n)=>{T(n,Po,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(F(t,"ignoreAtRules",o)||!o.startsWith("-")||!zr.atRuleName(o))return;let a=()=>{i.name=zr.unprefix(i.name)},s=`@${o}`;P({message:nf.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:Po,fix:{apply:a,node:i}})})},Io.ruleName=Po,Io.messages=nf,Io.meta=s1,lE=Io}),uE={};A(uE,{default:()=>cE});var Oo,of,l1,jo,cE,tq=y(()=>{q(),et(),J(),K(),I(),j(),D(),Oo="at-rule-prelude-no-invalid",of=O(Oo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),l1={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},jo=(e,t)=>(r,n)=>{if(!T(n,Oo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(F(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=je(o),d=c+s.length;P({message:of.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Oo,result:n})})},jo.ruleName=Oo,jo.messages=of,jo.meta=l1,cE=jo});function rq(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 nq=y(()=>{});function Bt(...e){return t=>Cr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),dE={};A(dE,{default:()=>pE});var To,af,u1,Do,pE,iq=y(()=>{nq(),et(),q(),I(),j(),Ht(),D(),To="at-rule-property-required-list",af=O(To,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Do=e=>(t,r)=>{if(!T(r,To,{actual:e,possible:[Bt($)]}))return;let n=rq(e),i=new Set;t.walkAtRules(o=>{if(!Ze(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:af.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:To})}}})},Do.ruleName=To,Do.messages=af,Do.meta=u1,pE=Do});function mE(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),it(e))r+=e.selector;else if(Oe(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var hE=y(()=>{me()});function fE(e,t=vd){if(!e)return e;let[r]=e.split(/\s/,1);return eo(r),r.replace(t,"")}function ji(e,t=vd){let r=$(e)?e:Kr(e)?e.text:void 0;if(!r)return!1;let n=fE(r,t);return n!==void 0&&gE.has(n)}function oq(e,t=vd){return`${t}${e}`}var Sm,Cm,zm,Am,gE,vd,yd=y(()=>{q(),me(),Sm="-disable",Cm="-disable-line",zm="-disable-next-line",Am="-enable",gE=new Set([Sm,Cm,zm,Am]),vd="stylelint"}),bE={};A(bE,{default:()=>vE});var Lo,sf,c1,Fo,vE,aq=y(()=>{hE(),ih(),me(),yd(),K(),I(),j(),D(),Lo="block-no-empty",sf=O(Lo,{rejected:"Empty block"}),c1={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Fo=(e,t,r)=>(n,i)=>{if(!T(i,Lo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=F(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Gc(u)||s(u)||l(u))return;let c=mE(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:sf.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Lo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Kr(d)&&(o||ji(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Fo.ruleName=Lo,Fo.messages=sf,Fo.meta=c1,vE=Fo});function wd(e){return!(eh(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var kd=y(()=>{th()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!wd(e.selector))}var de=y(()=>{kd()}),yE={};A(yE,{default:()=>wE});var Mo,lf,d1,Ro,wE,sq=y(()=>{me(),de(),I(),j(),D(),Mo="block-no-redundant-nested-style-rules",lf=O(Mo,{rejected:"Redundant nested style rule"}),d1={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Ro=e=>(t,r)=>{T(r,Mo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:lf.rejected,messageArgs:[],node:n,result:r,ruleName:Mo}))})},Ro.ruleName=Mo,Ro.messages=lf,Ro.meta=d1,wE=Ro});function xd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var Sd=y(()=>{});function Xw(e){if(!xd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Xw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var kE=y(()=>{Sd()}),xE={};A(xE,{default:()=>SE});var p1,$o,uf,m1,Bo,SE,lq=y(()=>{p1=X(ue(),1),Ir(),J(),We(),kE(),me(),V(),I(),j(),gt(),D(),$o="color-function-alias-notation",uf=O($o,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m1={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},Bo=e=>(t,r)=>{if(!T(r,$o,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?vm:Uc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,p1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Xw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,ft(o,a.toString())},p=ne(o)+u,m=p+l.length;P({message:uf.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:$o,fix:{apply:d,node:o}})})})},Bo.ruleName=$o,Bo.messages=uf,Bo.meta=m1,SE=Bo});function ao(e){return Nn(e)&&e.value.toLowerCase()==="var"}var Cd=y(()=>{me()}),CE={};A(CE,{default:()=>AE});function cf(e){return e!==""?e:" "}function uq(e){return e.some(t=>ao(t))}function zE(e){return e.type==="div"&&e.value===","}function h1(e){let t=0;for(let r of e)if(zE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var f1,qo,df,g1,Wo,AE,cq=y(()=>{f1=X(ue(),1),Ir(),J(),We(),kE(),me(),Cd(),V(),K(),I(),j(),gt(),D(),qo="color-function-notation",df=O(qo,{expected:e=>`Expected ${e} color-function notation`}),g1={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Wo=(e,t)=>(r,n)=>{if(!T(n,qo,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=F(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,f1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Xw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&uq(d)||!Tw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!h1(d)||e==="legacy"&&h1(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(zE(g)&&(b<2?(g.type="space",g.value=cf(g.after),b++):(g.value="/",g.before=cf(g.before),g.after=cf(g.after))),g)),Uc.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),ft(o,a.toString())},m=ne(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:df.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:qo,fix:{apply:h,node:o}})})})},Wo.ruleName=qo,Wo.messages=df,Wo.meta=g1,AE=Wo});function NE(e){return EE.test(e)}var EE,PE=y(()=>{EE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function IE({type:e,value:t}){return e==="word"&&NE(t)}var OE=y(()=>{PE()});function zd(e){return Nn(e)&&e.value.toLowerCase()==="url"}var Ad=y(()=>{me()}),jE={};A(jE,{default:()=>TE});function b1(e){return e.length===5||e.length===9}var v1,_o,Qd,y1,Uo,TE,dq=y(()=>{v1=X(ue(),1),J(),OE(),Ad(),V(),I(),j(),D(),_o="color-hex-alpha",Qd=O(_o,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),y1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Uo=e=>(t,r)=>{T(r,_o,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,v1.default)(n.value).walk(i=>{if(zd(i))return!1;if(!IE(i))return;let{value:o}=i;if(e==="always"&&b1(o)||e==="never"&&!b1(o))return;let a=ne(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Qd.rejected:Qd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:_o})})})},Uo.ruleName=_o,Uo.messages=Qd,Uo.meta=y1,TE=Uo}),DE={};A(DE,{default:()=>LE});function pq(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 mq(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function hq(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var w1,Vo,pf,k1,Qo,LE,fq=y(()=>{w1=X(ue(),1),J(),We(),OE(),Ad(),V(),I(),j(),gt(),D(),Vo="color-hex-length",pf=O(Vo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),k1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Qo=e=>(t,r)=>{T(r,Vo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,w1.default)(qe(n));i.walk(o=>{let{value:a}=o;if(zd(o))return!1;if(!IE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!pq(a)))return;let s=(e==="long"?hq:mq)(a),l=()=>{o.value=s,ft(n,i.toString())},u=ne(n)+o.sourceIndex,c=u+o.value.length;P({message:pf.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Vo,fix:{apply:l,node:n}})})})},Qo.ruleName=Vo,Qo.messages=pf,Qo.meta=k1,LE=Qo}),x1,fr,Je,Ft,mf,hf,Yd,S1,Yo,ff,gf,bf,vf,yf,qn,C1,z1,A1,N1,Gd,wf,E1,Kd,Hd,kf,Xd,er,xf,FE,gq=y(()=>{x1={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ft=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},mf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},hf=function(e){return{r:Ft(e.r,0,255),g:Ft(e.g,0,255),b:Ft(e.b,0,255),a:Ft(e.a)}},Yd=function(e){return{r:Je(e.r),g:Je(e.g),b:Je(e.b),a:Je(e.a,3)}},S1=/^#([0-9a-f]{3,8})$/i,Yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ff=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}},gf=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}},bf=function(e){return{h:mf(e.h),s:Ft(e.s,0,100),l:Ft(e.l,0,100),a:Ft(e.a)}},vf=function(e){return{h:Je(e.h),s:Je(e.s),l:Je(e.l),a:Je(e.a,3)}},yf=function(e){return gf((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qn=function(e){return{h:(t=ff(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},C1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,A1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,N1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gd={string:[[function(e){var t=S1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Je(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=A1.exec(e)||N1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:hf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=C1.exec(e)||z1.exec(e);if(!t)return null;var r,n,i=bf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(x1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return yf(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return fr(t)&&fr(r)&&fr(n)?hf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=bf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return yf(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=(function(s){return{h:mf(s.h),s:Ft(s.s,0,100),v:Ft(s.v,0,100),a:Ft(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return gf(a)},"hsv"]]},wf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},E1=function(e){return typeof e=="string"?wf(e.trim(),Gd.string):typeof e=="object"&&e!==null?wf(e,Gd.object):[null,void 0]},Kd=function(e,t){var r=qn(e);return{h:r.h,s:Ft(r.s+100*t,0,100),l:r.l,a:r.a}},Hd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},kf=function(e,t){var r=qn(e);return{h:r.h,s:r.s,l:Ft(r.l+100*t,0,100),a:r.a}},Xd=(function(){function e(t){this.parsed=E1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Je(Hd(this.rgba),2)},e.prototype.isDark=function(){return Hd(this.rgba)<.5},e.prototype.isLight=function(){return Hd(this.rgba)>=.5},e.prototype.toHex=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Yo(Je(255*o)):"","#"+Yo(r)+Yo(n)+Yo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Yd(this.rgba)},e.prototype.toRgbString=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return vf(qn(this.rgba))},e.prototype.toHslString=function(){return t=vf(qn(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=ff(this.rgba),{h:Je(t.h),s:Je(t.s),v:Je(t.v),a:Je(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Kd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(kf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(kf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Je(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qn(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Je(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Xd?e:new Xd(e)},xf=[],FE=function(e){e.forEach(function(t){xf.indexOf(t)<0&&(t(Xd,Gd),xf.push(t))})}});function bq(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var vq=y(()=>{});function yq(e,t){e.prototype.toHwb=function(){return Bv(qv(this.rgba))},e.prototype.toHwbString=function(){return r=Bv(qv(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([RE,"hwb"]),t.object.push([ME,"hwb"])}var P1,Jd,Go,Zd,Sf,Bv,qv,Cf,ME,I1,RE,wq=y(()=>{P1={grad:.9,turn:360,rad:360/(2*Math.PI)},Jd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Go=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Zd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Sf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Zd(e.w,0,100),b:Zd(e.b,0,100),a:Zd(e.a)};var t},Bv=function(e){return{h:Go(e.h),w:Go(e.w),b:Go(e.b),a:Go(e.a,3)}},qv=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},Cf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},ME=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Jd(t)||!Jd(r)||!Jd(n))return null;var a=Sf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Cf(a)},I1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,RE=function(e){var t=I1.exec(e);if(!t)return null;var r,n,i=Sf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(P1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Cf(i)}});function kq(e,t){e.prototype.toLab=function(){return n=$E(this.rgba),o=n.y/Yp,a=n.z/Gp,i=(i=n.x/Qp)>Ti?Math.cbrt(i):(bn*i+16)/116,r={l:116*(o=o>Ti?Math.cbrt(o):(bn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ti?Math.cbrt(a):(bn*a+16)/116)),alpha:n.a},{l:wi(r.l,2),a:wi(r.a,2),b:wi(r.b,2),alpha:wi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),C=(S+E)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,N=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),N<0&&(N+=360);var B=N-L,ie=Math.abs(N-L);ie>180&&N<=L?B+=360:ie>180&&N>L&&(B-=360);var te=L+N;ie<=180?te/=2:te=(L+N<360?te+360:te-360)/2;var he=1-.17*Math.cos(v*(te-30))+.24*Math.cos(2*v*te)+.32*Math.cos(v*(3*te+6))-.2*Math.cos(v*(4*te-63)),fe=c-s,oe=E-S,Fe=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Ue=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),At=1+.045*C,Ve=1+.015*C*he,Y=30*Math.exp(-1*Math.pow((te-275)/25,2)),H=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*Y);return Math.pow(Math.pow(fe/1/Ue,2)+Math.pow(oe/1/At,2)+Math.pow(Fe/1/Ve,2)+H*oe*Fe/(1*At*1*Ve),.5)})(this.toLab(),n.toLab())/100;return Qt(wi(i,3))},t.object.push([BE,"lab"])}var ep,wi,Qt,tp,rp,Qp,Yp,Gp,O1,$E,Ti,bn,BE,j1,xq=y(()=>{ep=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},wi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},tp=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},rp=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Qp=96.422,Yp=100,Gp=82.521,O1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:rp(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:rp(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:rp(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},$E=function(e){var t=tp(e.r),r=tp(e.g),n=tp(e.b);return(function(i){return{x:Qt(i.x,0,Qp),y:Qt(i.y,0,Yp),z:Qt(i.z,0,Gp),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ti=216/24389,bn=24389/27,BE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!ep(t)||!ep(r)||!ep(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return j1(a)},j1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return O1({x:(Math.pow(r,3)>Ti?Math.pow(r,3):(116*r-16)/bn)*Qp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/bn)*Yp,z:(Math.pow(n,3)>Ti?Math.pow(n,3):(116*n-16)/bn)*Gp,a:e.alpha})}});function Sq(e,t){e.prototype.toLch=function(){return Wv(_v(this.rgba))},e.prototype.toLchString=function(){return r=Wv(_v(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([WE,"lch"]),t.object.push([qE,"lch"])}var T1,np,on,gr,ip,op,ap,sp,lp,D1,L1,Wn,an,zf,Wv,qE,_v,Af,F1,WE,Cq=y(()=>{T1={grad:.9,turn:360,rad:360/(2*Math.PI)},np=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},gr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},ip=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},op=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},ap=96.422,sp=100,lp=82.521,D1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:op(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:op(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:op(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:gr(r.r,0,255),g:gr(r.g,0,255),b:gr(r.b,0,255),a:gr(r.a)}},L1=function(e){var t=ip(e.r),r=ip(e.g),n=ip(e.b);return(function(i){return{x:gr(i.x,0,ap),y:gr(i.y,0,sp),z:gr(i.z,0,lp),a:gr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Wn=216/24389,an=24389/27,zf=function(e){return{l:gr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Wv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},qE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!np(t)||!np(r)||!np(n))return null;var a=zf({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return Af(a)},_v=function(e){var t=(function(o){var a=L1(o),s=a.x/ap,l=a.y/sp,u=a.z/lp;return s=s>Wn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Wn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Wn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},Af=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,D1({x:(Math.pow(n,3)>Wn?Math.pow(n,3):(116*n-16)/an)*ap,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*sp,z:(Math.pow(i,3)>Wn?Math.pow(i,3):(116*i-16)/an)*lp,a:t.alpha});var t,r,n,i},F1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,WE=function(e){var t=F1.exec(e);if(!t)return null;var r,n,i=zf({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(T1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Af(i)}});function zq(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=uh(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Aq(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Uv.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Uv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return uh(o).rgba}var Uv,uh,Nq=y(()=>{gq(),Uv=X(ue(),1),vq(),wq(),xq(),Cq(),FE([bq,yq,kq,Sq,(e,t)=>{t.string.push([zq,"hwb-with-comma"])},(e,t)=>{t.string.push([Aq,"gray"])}]),uh=er}),_E={};A(_E,{default:()=>UE});var Nf,Ko,up,M1,R1,Ho,UE,Eq=y(()=>{Nf=X(ue(),1),q(),Pr(),Nq(),J(),Sd(),_e(),V(),Ke(),K(),I(),j(),D(),Ko="color-named",up=O(Ko,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),M1={url:"https://stylelint.io/user-guide/rules/color-named"},R1=new Set(["word","function"]),Ho=(e,t)=>(r,n)=>{if(!T(n,Ko,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(KA.has(o.prop)||F(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,Nf.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(F(t,"ignore","inside-function")&&u==="function"||!xd(s))return!1;if(!Be(l)||!R1.has(u))return;if(e==="never"&&u==="word"&&Qc.has(l.toLowerCase())){i(up.rejected,[l],o,ne(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=Nf.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=uh(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(up.expected,[p,v],o,ne(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Ko,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Ho.ruleName=Ko,Ho.messages=up,Ho.meta=M1,UE=Ho}),VE={};A(VE,{default:()=>YE});function Pq({type:e,value:t}){return e==="word"&&QE.test(t)}var $1,Xo,Ef,B1,QE,Jo,YE,Iq=y(()=>{$1=X(ue(),1),J(),We(),Ad(),V(),I(),j(),D(),Xo="color-no-hex",Ef=O(Xo,{rejected:e=>`Disallowed hex color "${e}"`}),B1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},QE=/^#[\da-z]+$/i,Jo=e=>(t,r)=>{T(r,Xo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,$1.default)(qe(n)).walk(i=>{if(zd(i))return!1;if(!Pq(i))return;let o=ne(n)+i.sourceIndex,a=o+i.value.length;P({message:Ef.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Xo})})})},Jo.ruleName=Xo,Jo.messages=Ef,Jo.meta=B1,YE=Jo});function Oq(e){return!e.includes("[")}var jq=y(()=>{}),GE={};A(GE,{default:()=>KE});var q1,Zo,Pf,W1,ea,KE,Tq=y(()=>{q1=X(ue(),1),J(),jq(),PE(),V(),I(),j(),D(),Zo="color-no-invalid-hex",Pf=O(Zo,{rejected:e=>`Invalid hex color "${e}"`}),W1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},ea=e=>(t,r)=>{T(r,Zo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&Oq(n.value)&&(0,q1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||NE(l))return;let u=ne(n)+a,c=u+l.length;P({message:Pf.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Zo})})})},ea.ruleName=Zo,ea.messages=Pf,ea.meta=W1,KE=ea});function Kc(e){return!("inline"in e||"inline"in e.raws)}var ch=y(()=>{}),HE={};A(HE,{default:()=>XE});var ta,cp,_1,ra,XE,Dq=y(()=>{q(),pd(),hd(),nh(),yd(),fd(),ah(),_w(),ch(),K(),I(),j(),D(),ta="comment-empty-line-before",cp=O(ta,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),_1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},ra=(e,t,r)=>(n,i)=>{T(i,ta,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(oh(o)||ji(o,r.configurationComment)&&F(t,"ignore","stylelint-commands")||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignoreComments",o.text)||Ww(o)||!Kc(o))return;let a=F(t,"except","first-nested")&&Br(o)?!1:e==="always",s=o.raws.before||"",l=md(s);if(a===l)return;let u=a?cp.expected:cp.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:ta,fix:{apply:()=>dd({node:o,newline:r.newline,action:c}),node:o.parent}})})},ra.ruleName=ta,ra.messages=cp,ra.meta=_1,XE=ra}),JE={};A(JE,{default:()=>ZE});var na,If,U1,ia,ZE,Lq=y(()=>{ch(),I(),j(),D(),na="comment-no-empty",If=O(na,{rejected:"Empty comment"}),U1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},ia=e=>(t,r)=>{T(r,na,{actual:e})&&t.walkComments(n=>{Kc(n)&&(n.text&&n.text.length!==0||P({message:If.rejected,messageArgs:[],node:n,result:r,ruleName:na}))})},ia.ruleName=na,ia.messages=If,ia.meta=U1,ZE=ia}),eP={};A(eP,{default:()=>tP});var oa,Of,V1,aa,tP,Fq=y(()=>{q(),I(),j(),D(),oa="comment-pattern",Of=O(oa,{expected:e=>`Expected comment to match pattern "${e}"`}),V1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},aa=e=>(t,r)=>{if(!T(r,oa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:Of.expected,messageArgs:[e],node:i,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=Of,aa.meta=V1,tP=aa});function Vv(e){return[" ",`
|
|
23
|
+
`," ","\r","\f"].includes(e)}var rP=y(()=>{}),nP={};A(nP,{default:()=>iP});function Mq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function Rq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var sa,sn,Q1,la,iP,$q=y(()=>{ch(),rP(),I(),j(),D(),sa="comment-whitespace-inside",sn=O(sa,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),Q1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},la=e=>(t,r)=>{T(r,sa,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Kc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let g=l.length,f=g+u.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!Vv(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let g=i.length-m.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!Vv(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:sa,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(g===sn.expectedClosing?Rq:Mq)(n)},node:n}})}})},la.ruleName=sa,la.messages=sn,la.meta=Q1,iP=la});function Bq(e,t){if(!Array.isArray(t))return Y1(e,t);for(let r of t){let n=Y1(e,r);if(n)return n}return!1}function Y1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var qq=y(()=>{q()}),oP={};A(oP,{default:()=>aP});var ua,jf,G1,_n,aP,Wq=y(()=>{q(),qq(),Le(),I(),j(),D(),ua="comment-word-disallowed-list",jf=O(ua,{rejected:e=>`Disallowed word matching pattern "${e}"`}),G1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},_n=e=>(t,r)=>{T(r,ua,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||Bq(i,e);o&&P({message:jf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ua})})},_n.primaryOptionArray=!0,_n.ruleName=ua,_n.messages=jf,_n.meta=G1,aP=_n}),sP={};A(sP,{default:()=>lP});var Tf,ca,Df,K1,H1,da,lP,_q=y(()=>{Tf=X(ue(),1),J(),V(),q(),Ke(),et(),ct(),_e(),I(),j(),D(),ca="container-name-pattern",Df=O(ca,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),K1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},H1=new Set(["and","or","none","not"]),da=e=>(t,r)=>{var s,l,u,c;if(!T(r,ca,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(dr.containerNameAndShorthandName,d=>{if(!ut(d))return;let p=(0,Tf.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Be(b)&&(n.test(b)||a(ne(d)+v,b,d))}})}),t.walkAtRules(Se.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,Tf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;H1.has(h.toLowerCase())||n.test(h)||a(je(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:ca,message:Df.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},da.ruleName=ca,da.messages=Df,da.meta=K1,lP=da}),uP={};A(uP,{default:()=>cP});var pa,Lf,X1,ma,cP,Uq=y(()=>{q(),J(),V(),I(),j(),D(),pa="custom-media-pattern",Lf=O(pa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),X1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},ma=e=>(t,r)=>{if(!T(r,pa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=je(i);P({message:Lf.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:pa})})},ma.ruleName=pa,ma.messages=Lf,ma.meta=X1,cP=ma});function Vq(e){var i;let t=Qv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Qv.set(e,{result:n,before:r}),n}var Qv,Qq=y(()=>{Qv=new WeakMap});function Jw(e){return Gc(e)?Vq(e).slice(mE(e).length):""}var Zw=y(()=>{hE(),ih(),Qq()});function dP(e){let t=e.prev();return t?it(t)||Oe(t):!1}var pP=y(()=>{me()});function yt(e){return e.startsWith("--")}var pr=y(()=>{});function dh(e){return!/[\n\r]/.test(e)}var ph=y(()=>{}),mP={};A(mP,{default:()=>hP});function J1(e){let t=$r(e);return t!=null&&to(t)&&yt(t.prop)}var ha,dp,Z1,fa,hP,Yq=y(()=>{me(),Zw(),pd(),Pn(),hd(),pP(),nh(),pr(),fd(),ph(),ct(),K(),I(),j(),D(),ha="custom-property-empty-line-before",dp=O(ha,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),Z1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},fa=(e,t,r)=>(n,i)=>{T(i,ha,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!ut(o)||!yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-custom-property")&&J1(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||it(s))&&dh(Jw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&dP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-custom-property")&&J1(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?dp.expected:dp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ha,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},fa.ruleName=ha,fa.messages=dp,fa.meta=Z1,hP=fa}),fP={};A(fP,{default:()=>gP});function e0({type:e,value:t}){return e==="word"&&t.startsWith("--")}var t0,ga,Ff,r0,n0,ba,gP,Gq=y(()=>{t0=X(ue(),1),V(),J(),Cd(),I(),j(),D(),ga="custom-property-no-missing-var-function",Ff=O(ga,{rejected:e=>`Missing var function for "${e}"`}),r0={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},n0=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ba=e=>(t,r)=>{if(!T(r,ga,{actual:e}))return;let n=new Set;t.walkAtRules(Se.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(dr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(n0.has(a.toLowerCase())||(0,t0.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&ao(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&e0(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!e0(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ne(a)+o.sourceIndex,u=l+s.length;P({message:Ff.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ga})}},ba.ruleName=ga,ba.messages=Ff,ba.meta=r0,gP=ba});function Or(e){return!(PN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||eh(e))}var jr=y(()=>{th(),IN()}),bP={};A(bP,{default:()=>vP});var i0,va,Mf,o0,ya,vP,Kq=y(()=>{i0=X(ue(),1),J(),V(),q(),pr(),jr(),Cd(),I(),j(),D(),va="custom-property-pattern",Mf=O(va,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),o0={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ya=e=>(t,r)=>{if(!T(r,va,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Or(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,i0.default)(l).walk(u=>{if(!ao(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ne(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(Se.propertyName,a=>{let{params:s}=a;i(s)||o(je(a),s,a)});function o(a,s,l){P({result:r,ruleName:va,message:Mf.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},ya.ruleName=va,ya.messages=Mf,ya.meta=o0,vP=ya});function Hq(e){return it(e)||Oe(e)||ur(e)}function mh(e,t){function r(n){if(Hq(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 hh=y(()=>{me()}),yP={};A(yP,{default:()=>wP});var wa,Rf,a0,ka,wP,Xq=y(()=>{q(),hh(),pr(),jr(),K(),I(),j(),D(),wa="declaration-block-no-duplicate-custom-properties",Rf=O(wa,{rejected:e=>`Duplicate custom property "${e}"`}),a0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ka=(e,t)=>(r,n)=>{T(n,wa,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&mh(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Or(s)||!yt(s)||F(t,"ignoreProperties",s))){if(o.has(s)){P({message:Rf.rejected,messageArgs:[s],node:a,result:n,ruleName:wa,word:s});return}o.add(s)}})})},ka.ruleName=wa,ka.messages=Rf,ka.meta=a0,wP=ka}),s0=y(()=>{});function pt(e){return e>=48&&e<=57}function en(e){return pt(e)||e>=65&&e<=70||e>=97&&e<=102}function ek(e){return e>=65&&e<=90}function Jq(e){return e>=97&&e<=122}function Zq(e){return ek(e)||Jq(e)}function e9(e){return e>=128}function Nm(e){return Zq(e)||e9(e)||e===95}function kP(e){return Nm(e)||pt(e)||e===45}function t9(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Em(e){return e===10||e===13||e===12}function xn(e){return Em(e)||e===32||e===9}function wr(e,t){return!(e!==92||Em(t)||t===0)}function Kp(e,t,r){return e===45?Nm(t)||t===45||wr(t,r):Nm(e)?!0:e===92?wr(e,t):!1}function $f(e,t,r){return e===43||e===45?pt(t)?2:t===46&&pt(r)?3:0:e===46?pt(t)?2:0:pt(e)?1:0}function xP(e){return e===65279||e===65534?1:0}function Bf(e){return e<128?Hp[e]:Pm}var Hp,l0,Nc,Yv,Pm,Gv,Im=y(()=>{Hp=new Array(128),l0=128,Nc=130,Yv=131,Pm=132,Gv=133;for(let e=0;e<Hp.length;e++)Hp[e]=xn(e)&&Nc||pt(e)&&Yv||Nm(e)&&Pm||t9(e)&&Gv||e||l0});function Di(e,t){return t<e.length?e.charCodeAt(t):0}function Kv(e,t,r){return r===13&&Di(e,t+1)===10?2:1}function Li(e,t,r){let n=e.charCodeAt(t);return ek(n)&&(n=n|32),n===r}function Hc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(ek(a)&&(a=a|32),a!==o)return!1}return!0}function r9(e,t){for(;t>=0&&xn(e.charCodeAt(t));t--);return t+1}function pp(e,t){for(;t<e.length&&xn(e.charCodeAt(t));t++);return t}function qf(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function Ui(e,t){if(t+=2,en(Di(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&en(Di(e,t));t++);let r=Di(e,t);xn(r)&&(t+=Kv(e,t,r))}return t}function mp(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!kP(r)){if(wr(r,Di(e,t+1))){t=Ui(e,t)-1;continue}break}}return t}function fh(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),pt(r)&&(t=qf(e,t+1),r=e.charCodeAt(t)),r===46&&pt(e.charCodeAt(t+1))&&(t+=2,t=qf(e,t)),Li(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),pt(r)&&(t=qf(e,t+1+n+1))}return t}function Wf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}wr(r,Di(e,t+1))&&(t=Ui(e,t))}return t}function SP(e){if(e.length===1&&!en(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Hv=y(()=>{Im()}),Om,CP=y(()=>{Om=["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 jm(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var zP=y(()=>{});function u0(e){let t=e.source,r=t.length,n=t.length>0?xP(t.charCodeAt(0)):0,i=jm(e.lines,r),o=jm(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Xv||u===Jv||u===AP)&&(u===Jv&&l+1<r&&t.charCodeAt(l+1)===Xv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Xv,AP,Jv,NP,n9=y(()=>{zP(),Im(),Xv=10,AP=12,Jv=13,NP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||u0(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||u0(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}});function c0(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Un,xa,Fr,Vt,EP,i9=y(()=>{zP(),Hv(),CP(),_t=16777215,Ut=24,Un=1,xa=2,Fr=new Uint8Array(32),Fr[2]=22,Fr[21]=22,Fr[19]=20,Fr[23]=24,Vt=new Uint8Array(32),Vt[2]=Un,Vt[21]=Un,Vt[19]=Un,Vt[23]=Un,Vt[22]=xa,Vt[20]=xa,Vt[24]=xa,EP=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=jm(this.offsetAndType,e.length+1),i=jm(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Fr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Fr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Hc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[c0(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[c0(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Un}isBlockCloserTokenType(e){return Vt[e]===xa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Fr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Fr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:Om[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function gh(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=fh(e,u),Kp(r(u),r(u+1),r(u+2))){c=12,u=mp(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=mp(e,u),Hc(e,d,u,"url")&&r(u)===40){if(u=pp(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch(Bf(p)){case d:u++;return;case Nc:if(Em(p)){u+=Kv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);Em(m)?u+=Kv(e,u+1,m):wr(p,m)&&(u=Ui(e,u)-1);break}}}function a(){for(c=7,u=pp(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch(Bf(d)){case 41:u++;return;case Nc:if(u=pp(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=Wf(e,u),c=8;return;case 34:case 39:case 40:case Gv:u=Wf(e,u),c=8;return;case 92:if(wr(d,r(u+1))){u=Ui(e,u)-1;break}u=Wf(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=xP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch(Bf(d)){case Nc:c=13,u=pp(e,u+1);break;case 34:o();break;case 35:kP(r(u+1))||wr(r(u+1),r(u+2))?(c=4,u=mp(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:$f(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:$f(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Kp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:$f(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:Kp(r(u+1),r(u+2),r(u+3))?(c=3,u=mp(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:wr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Yv:n();break;case Pm:i();break;default:c=9,u++}t(c,l,l=u)}}var mr=y(()=>{Im(),Hv(),s0(),s0(),CP(),Im(),Hv(),n9(),i9()}),ln,Xc,tk=y(()=>{ln=null,Xc=class pn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(pn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(pn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function Tm(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 rk=y(()=>{});function d0({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(v,h){return u.slice(v,h).map((b,g)=>String(v+g+1).padStart(p)+" |"+b).join(`
|
|
25
25
|
`)}let s=`
|
|
26
|
-
`.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(ey.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>
|
|
27
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function p0(e,t,r,n,i,o=1,a=1){return Object.assign(
|
|
28
|
-
`+d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var
|
|
29
|
-
`,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=
|
|
26
|
+
`.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(ey.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Xp&&(m=r-Zv+3,r=Zv-2);for(let v=c;v<=d;v++)v>=0&&v<u.length&&(u[v]=u[v].replace(/\t/g,ey),u[v]=(m>0&&u[v].length>m?"…":"")+u[v].substr(m,Xp-2)+(u[v].length>m+Xp-1?"…":""));return[a(c,t),new Array(r+p+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
|
|
27
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function p0(e,t,r,n,i,o=1,a=1){return Object.assign(Tm("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
|
|
28
|
+
`+d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var Xp,Zv,ey,o9=y(()=>{rk(),Xp=100,Zv=60,ey=" "});function a9(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 s9=y(()=>{});function l9(e){return function(){return this[e]()}}function _f(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 u9(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:_f(e.atrule),pseudo:_f(e.pseudo),node:_f(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]=l9(n);break}return{config:t,...t,...t.node}}function c9(e){let t="",r="<unknown>",n=!1,i=mn,o=!1,a=new NP,s=Object.assign(new EP,u9(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a9,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===ty?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===ty||u===Jp?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===PP||u===Jp?1:0},consumeUntilSemicolonIncluded(u){return u===Jp?2:0},createList:mn,createSingleNodeList:mn,getFirstListNode:mn,getLastListNode:mn,parseWithFallback(u,c){let d=this.tokenIndex;try{return u.call(this)}catch(p){if(o)throw p;this.skip(d-this.tokenIndex);let m=c.call(this);return o=!0,i(p,m),o=!1,m}},lookupNonWSType(u){let c;do if(c=this.lookupType(u++),c!==13&&c!==25)return c;while(c!==ry);return ry},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,c){return t.substring(u,c)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,c){return Li(t,u,c)},cmpStr(u,c,d){return Hc(t,u,c,d)},consume(u){let c=this.tokenStart;return this.eat(u),this.substrToCursor(c)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let c=t.substring(this.tokenStart,fh(t,this.tokenStart));return this.eat(u),c},eat(u){if(this.tokenType!==u){let c=Om[u].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),d=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,p=this.tokenStart;switch(u){case 1:this.tokenType===2||this.tokenType===7?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case 4:this.isDelim(IP)&&(this.next(),p++,d="Name is expected");break;case 11:this.tokenType===10&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==1||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,c){return n?a.getLocationRange(u,c,r):null},getLocationFromList(u){if(n){let c=this.getFirstListNode(u),d=this.getLastListNode(u);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,d!==null?d.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(u,c){let d=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(r9(t,t.length-1)):a.getLocation(this.tokenStart);throw new p0(u||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}}),l=()=>({filename:r,source:t,tokenCount:s.tokenCount,getTokenType:u=>s.getTokenType(u),getTokenTypeName:u=>Om[s.getTokenType(u)],getTokenStart:u=>s.getTokenStart(u),getTokenEnd:u=>s.getTokenEnd(u),getTokenValue:u=>s.source.substring(s.getTokenStart(u),s.getTokenEnd(u)),substring:(u,c)=>s.source.substring(u,c),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:u=>s.getBlockTokenPairIndex(u),getLocation:u=>a.getLocation(u,r),getRangeLocation:(u,c)=>a.getLocationRange(u,c,r)});return Object.assign(function(u,c){t=u,c=c||{},s.setSource(t,gh),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:mn,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,s.parseValue="parseValue"in c?!!c.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;let{context:d="default",list:p=!0,onComment:m,onToken:v}=c;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");Object.assign(s,p?jP:OP),Array.isArray(v)?s.forEachToken((b,g,f)=>{v.push({type:b,start:g,end:f})}):typeof v=="function"&&s.forEachToken(v.bind(l())),typeof m=="function"&&s.forEachToken((b,g,f)=>{if(b===25){let x=s.getLocation(g,f),w=Hc(t,f-2,f,"*/")?t.slice(g+2,f-2):t.slice(g+2,f);m(w,x)}});let h=s.context[d].call(s,c);return s.eof||s.error(),h},{SyntaxError:p0,config:s.config})}var mn,PP,IP,Jp,ty,ry,OP,jP,d9=y(()=>{tk(),o9(),mr(),s9(),mn=()=>{},PP=33,IP=35,Jp=59,ty=123,ry=0,OP={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}},jP={createList(){return new Xc},createSingleNodeList(e){return new Xc().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),TP,p9=y(()=>{TP=()=>{}}),ny={};A(ny,{safe:()=>nk,spec:()=>FP});function m0(e){let t=new Set(e.map(([r,n])=>Zp(r)<<16|Zp(n)));return function(r,n,i){let o=Zp(n,i),a=i.charCodeAt(0),s=a===LP&&n!==1&&n!==2&&n!==15||a===DP?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var DP,LP,Zp,Uf,h0,FP,nk,m9=y(()=>{DP=43,LP=45,Zp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),Uf=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],h0=Uf.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,"-"]]),FP=m0(Uf),nk=m0(h0)});function h9(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 f9(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:nk,token(l,u,c){o=this.tokenBefore(o,l,u),!c&&o&1&&this.emit(" ",13,!0),this.emit(u,l,!1),l===9&&u.charCodeAt(0)===MP&&this.emit(`
|
|
29
|
+
`,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=TP(a)),n.mode in ny&&(a.tokenBefore=ny[n.mode]));let s={node:l=>a.node(l),children:h9,token:(l,u)=>a.token(l,u),tokenize:l=>gh(l,(u,c,d)=>{a.token(u,l.slice(c,d),c!==0)})};return a.node(r),a.result()}}var MP,g9=y(()=>{mr(),p9(),m9(),MP=92}),RP,b9=y(()=>{RP=()=>({})});function f0(e){return typeof e=="function"?e:Ci}function g0(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function v9(e,t){let r=t.structure,n=[];for(let i in r){if(bh.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 y9(e){let t={};for(let r in e.node)if(bh.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]=v9(r,n)}return t}function b0(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,l){let u;i&&(u=a[n],a[n]=o);for(let c of r){let d=o[c.name];if(!c.nullable||d){if(c.type==="list"){if(t?d.reduceRight(l,!1):d.reduce(l,!1))return!0}else if(s(d))return!0}}i&&(a[n]=u)}}function v0({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function w9(e){let t=y9(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)bh.call(t,u)&&t[u]!==null&&(r[u]=b0(t[u],!1),n[u]=b0(t[u],!0));let a=v0(r),s=v0(n),l=function(u,c){function d(g,f,x){let w=p.call(b,g,f,x);return w===i?!0:w===o?!1:!!(v.hasOwnProperty(g.type)&&v[g.type](g,b,d,h)||m.call(b,g,f,x)===i)}let p=Ci,m=Ci,v=r,h=(g,f,x,w)=>g||d(f,x,w),b={break:i,skip:o,root:u,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")p=c;else if(c&&(p=f0(c.enter),m=f0(c.leave),c.reverse&&(v=n),c.visit)){if(a.hasOwnProperty(c.visit))v=c.reverse?s[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");p=g0(p,c.visit),m=g0(m,c.visit)}if(p===Ci&&m===Ci)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(u)};return l.break=i,l.skip=o,l.find=function(u,c){let d=null;return l(u,function(p,m,v){if(c.call(this,p,m,v))return d=p,i}),d},l.findLast=function(u,c){let d=null;return l(u,{reverse:!0,enter(p,m,v){if(c.call(this,p,m,v))return d=p,i}}),d},l.findAll=function(u,c){let d=[];return l(u,function(p,m,v){c.call(this,p,m,v)&&d.push(p)}),d},l}var bh,Ci,k9=y(()=>{({hasOwnProperty:bh}=Object.prototype),Ci=function(){}});function x9(e){return e}function S9(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 C9(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 z9(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Dm(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Dm(e,t,r,n){let i;switch(e.type){case"Group":i=z9(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Dm(e.term,t,r,n)+t(S9(e),e);case"Boolean":i="<boolean-expr["+Dm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(C9(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 A9(e,t){let r=x9,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Dm(e,r,n,i)}var N9=y(()=>{});function E9(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,s=0,l=0,u="",c,d;for(let p=0;p<r.length;p++){let m=r[p].value;p===n&&(s=m.length,a=u.length),o!==null&&r[p].node===o&&(p<=n?l++:l=0),u+=m}return n===r.length||l>1?(c=hp(o||t,"end")||yc(iy,u),d=yc(c)):(c=hp(o,"start")||yc(hp(t,"start")||iy,u.slice(0,a)),d=hp(o,"end")||yc(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function hp(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?yc(r):r:null}function yc({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var iy,em,$P,P9=y(()=>{rk(),N9(),iy={offset:0,line:1,column:1},em=function(e,t){let r=Tm("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},$P=function(e,t,r,n){let i=Tm("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=E9(n,r);return i.rawMessage=e,i.syntax=t?A9(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
|
|
30
30
|
syntax: `+i.syntax+`
|
|
31
31
|
value: `+(o||"<empty string>")+`
|
|
32
|
-
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function
|
|
32
|
+
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function ik(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)===Jc}function BP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)!==Jc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function I9(e){if(wc.has(e))return wc.get(e);let t=e.toLowerCase(),r=wc.get(t);if(r===void 0){let n=ik(t,0),i=n?"":BP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return wc.set(e,r),r}function O9(e){if(hn.has(e))return hn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=ik(t,r.length);if(!n&&(t=t.toLowerCase(),hn.has(t))){let s=hn.get(t);return hn.set(e,s),s}let i=n?"":BP(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return hn.set(e,a),a}var wc,hn,Jc,tm,oy,ok=y(()=>{wc=new Map,hn=new Map,Jc=45,tm=I9,oy=O9}),vh,ak=y(()=>{vh=["initial","inherit","unset","revert","revert-layer"]});function ay(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Ec(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Qr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Vi||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!pt(e.value.charCodeAt(t)))return 0;return n+1}function Vf(e,t,r){let n=!1,i=Ec(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(ay(e,Vi)||ay(e,tr)){if(n=!0,i=Ec(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==Vi&&o!==tr)return 0}return Qr(e,n?0:1,n,i)}function j9(e,t){let r=0;if(!e)return 0;if(e.type===10)return Qr(e,0,qP,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!Li(e.value,1,rm))return 0;switch(e.value.length){case 2:return Vf(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(2)!==tr?0:Qr(e,3,fn,r)}}else if(e.type===1||ay(e,Vi)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Li(e.value,0,rm))return 0;switch(e.value.length){case 1:return Vf(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(1)!==tr?0:Qr(e,2,fn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Vi||n===tr?1:0,o=i;for(;o<e.value.length&&pt(e.value.charCodeAt(o));o++);return o===i||!Li(e.value,o,rm)?0:o+1===e.value.length?Vf(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r)):Qr(e,o+2,fn,r)}return 0}var Vi,tr,rm,fn,qP,T9=y(()=>{mr(),Vi=43,tr=45,rm=110,fn=!0,qP=!1});function sy(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function D9(e,t){return e.value.charCodeAt(0)===t}function kc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===sk&&r&&n!==0)return kc(e,t+n+1,!1),6;if(!en(o)||++n>6)return 0}return n}function fp(e,t,r){if(!e)return 0;for(;sy(r(t),lk);){if(++e>6)return 0;t++}return t}function L9(e,t){let r=0;if(e===null||e.type!==1||!Li(e.value,0,_P)||(e=t(++r),e===null))return 0;if(sy(e,WP))return e=t(++r),e===null?0:e.type===1?fp(kc(e,0,!0),++r,t):sy(e,lk)?fp(1,++r,t):0;if(e.type===10){let n=kc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!D9(e,sk)||!kc(e,1,!1)?0:r+1:fp(n,r,t))}return e.type===12?fp(kc(e,1,!0),++r,t):0}var WP,sk,lk,_P,F9=y(()=>{mr(),WP=43,sk=45,lk=63,_P=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function UP(e,t){return Hc(e,0,e.length,t)}function VP(e,t){for(let r=0;r<t.length;r++)if(UP(e,t[r]))return!0;return!1}function QP(e,t){return t!==e.length-2?!1:lr(e,t)===92&&pt(lr(e,t+1))}function yh(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 M9(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=wh.get(e.type);break}i++}while(e=t(i));return i}function Yt(e,t){return function(r,n,i){return r===null?0:r.type===2&&VP(r.value,t)?M9(r,n):e(r,n,i)}}function Re(e){return function(t){return t===null||t.type!==e?0:1}}function R9(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return VP(t,vh)||UP(t,"default")?0:1}function YP(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function $9(e){return!YP(e)||e.value==="--"?0:1}function B9(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!en(lr(e.value,r)))return 0;return 1}function q9(e){return e===null||e.type!==4||!Kp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function W9(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=wh.get(e.type);break}i++}while(e=t(i));return i}function _9(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=wh.get(e.type);break}i++}while(e=t(i));return i}function Mr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=fh(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!QP(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return yh(n,t.value,i)?0:1}}function U9(e,t,r){return e===null||e.type!==11||yh(r,e.value,e.value.length-1)?0:1}function GP(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 V9(e,t,r){if(e===null)return 0;let n=fh(e.value,0);return n!==e.value.length&&!QP(e.value,n)||yh(r,e.value,n)?0:1}function Q9(e,t,r){if(e===null||e.type!==10)return 0;let n=lr(e.value,0)===43||lr(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!pt(lr(e.value,n)))return 0;return yh(r,e.value,n)?0:1}function Y9(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Yt(Mr(null),yr),angle:Yt(Mr(t),yr),decibel:Yt(Mr(r),yr),frequency:Yt(Mr(n),yr),flex:Yt(Mr(i),yr),length:Yt(GP(Mr(o)),yr),resolution:Yt(Mr(a),yr),semitones:Yt(Mr(s),yr),time:Yt(Mr(l),yr)}}function G9(e){let t=new Set;for(let r of XP)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 K9(e){return{...KP,...HP,...Y9(e),"attr-unit":G9(e)}}var gp,bp,vp,y0,w0,k0,yp,wp,Qf,x0,yr,wh,KP,HP,XP,H9=y(()=>{ak(),T9(),F9(),mr(),gp=["calc(","-moz-calc(","-webkit-calc("],bp=["min(","max(","clamp("],vp=["round(","mod(","rem("],y0=["sin(","cos(","tan("],w0=["asin(","acos(","atan(","atan2("],k0=["pow(","sqrt(","log(","exp(","sign("],yp=["hypot("],wp=["abs("],Qf=[...gp,...bp,...vp,...y0,...k0,...yp,...wp],x0=[...gp,...bp,...vp,...yp,...wp],yr=[...gp,...bp,...vp,...w0,...yp,...wp],wh=new Map([[2,22],[21,22],[19,20],[23,24]]),KP={"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)},HP={string:Re(5),ident:Re(1),percentage:Yt(U9,x0),zero:GP(),number:Yt(V9,Qf),integer:Yt(Q9,Qf),"custom-ident":R9,"dashed-ident":YP,"custom-property-name":$9,"hex-color":B9,"id-selector":q9,"an-plus-b":j9,urange:L9,"declaration-value":W9,"any-value":_9},XP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),ly={};A(ly,{angle:()=>ZP,decibel:()=>iI,flex:()=>nI,frequency:()=>tI,length:()=>JP,resolution:()=>rI,semitones:()=>oI,time:()=>eI});var JP,ZP,eI,tI,rI,nI,iI,oI,X9=y(()=>{JP=["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"],ZP=["deg","grad","rad","turn"],eI=["s","ms"],tI=["hz","khz"],rI=["dpi","dpcm","dppx","x"],nI=["fr"],iI=["db"],oI=["st"]});function J9(e,t,r){return Object.assign(Tm("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
33
33
|
`+t+`
|
|
34
|
-
--`+new Array((r||t.length)+1).join("-")+"^"})}var rW=y(()=>{tk()}),S0,C0,z0,A0,N0,Qf,sI,nW=y(()=>{rW(),S0=9,C0=10,z0=12,A0=13,N0=32,Qf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),sI=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&Qf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==A0&&t!==C0&&t!==z0&&t!==N0&&t!==S0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new tW(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Qf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function E0(e){let t=null,r=null;return e.eat(td),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Sh?(e.pos++,e.skipWs(),e.charCode()!==Lm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Lm),{min:Number(t),max:r?Number(r):0}}function iW(e){let t=null,r=!1;switch(e.charCode()){case dk:e.pos++,t={min:0,max:0};break;case xh:e.pos++,t={min:1,max:0};break;case ed:e.pos++,t={min:0,max:1};break;case kh:e.pos++,r=!0,e.charCode()===td?t=E0(e):e.charCode()===ed?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case td:t=E0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function tn(e,t){let r=iW(e);return r!==null?(r.term=t,e.charCode()===kh&&e.charCodeAt(e.pos-1)===xh||e.charCode()===ed&&e.charCodeAt(e.pos-1)===Lm?tn(e,r):r):t}function Yf(e){let t=e.peek();return t===""?null:tn(e,{type:"Token",value:t})}function oW(e){let t;return e.eat(Ch),e.eat(Zc),t=e.scanWord(),e.eat(Zc),e.eat(Dm),tn(e,{type:"Property",name:t})}function aW(e){let t=null,r=null,n=1;return e.eat(Qi),e.charCode()===cy&&(e.peek(),n=-1),n==-1&&e.charCode()===py?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Sh),e.skipWs(),e.charCode()===py?e.peek():(n=1,e.charCode()===cy&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Sn),{type:"Range",min:t,max:r}}function sW(e){let t,r=null;if(e.eat(Ch),t=e.scanWord(),t==="boolean-expr"){e.eat(Qi);let n=wh(e,Sn);return e.eat(Sn),e.eat(Dm),tn(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===uk&&e.nextCharCode()===ck&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Qi&&(e.skipWs(),r=aW(e)),e.eat(Dm),tn(e,{type:"Type",name:t,opts:r})}function lW(e){let t=e.scanWord();return e.charCode()===uk?(e.pos++,{type:"Function",name:t}):tn(e,{type:"Keyword",name:t})}function uW(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>my[i]-my[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function wh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?wh(e,ck):dW(e);if(!s)break;if(s.type!=="Spaces"){if(a){if(s.terms.length===0){a=!1;continue}if(s.combinator===" "){for(;s.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},s.terms.shift());s=s.terms[0]}}s.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[s.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(s),i=s,o=e.pos,a=s.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:uW(n,r)||" ",disallowEmpty:!1,explicit:!1}}function cW(e){let t;return e.eat(Qi),t=wh(e,Sn),e.eat(Sn),t.explicit=!0,e.charCode()===lk&&(e.pos++,t.disallowEmpty=!0),t}function dW(e){let t=e.charCode();switch(t){case Sn:break;case Qi:return tn(e,cW(e));case Ch:return e.nextCharCode()===Zc?oW(e):sW(e);case dy:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===dy?2:1))};case uy:return e.pos++,e.eat(uy),{type:"Combinator",value:"&&"};case Sh:return e.pos++,{type:"Comma"};case Zc:return tn(e,{type:"String",value:e.scanString()});case mI:case uI:case cI:case pI:case dI:return{type:"Spaces",value:e.scanSpaces()};case hI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Yf(e);case dk:case xh:case ed:case kh:case lk:break;case td:if(t=e.nextCharCode(),t<48||t>57)return Yf(e);break;default:return e.isNameCharCode(t)?lW(e):Yf(e)}}function lI(e){let t=new sI(e),r=wh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var uI,cI,dI,pI,mI,lk,kh,uy,Zc,uk,ck,dk,xh,Sh,cy,Ch,Dm,ed,hI,Qi,Sn,td,dy,Lm,py,my,fI=y(()=>{nW(),uI=9,cI=10,dI=12,pI=13,mI=32,lk=33,kh=35,uy=38,Zc=39,uk=40,ck=41,dk=42,xh=43,Sh=44,cy=45,Ch=60,Dm=62,ed=63,hI=64,Qi=91,Sn=93,td=123,dy=124,Lm=125,py=8734,my={" ":1,"&&":2,"||":3,"|":4}}),pW=y(()=>{}),gI=y(()=>{fI(),pW()});function mW(e){let t=[];return fh(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function hW(e,t){return typeof e=="string"?mW(e):t.generate(e,bI)}var bI,fW=y(()=>{mr(),bI={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function vt(e,t,r){return t===Ne&&r===De||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===De&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function vI(e){return e.length>2&&e.charCodeAt(e.length-2)===yI&&e.charCodeAt(e.length-1)===wI}function P0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&vI(e.name)}function _r(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Pc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Pc(e.match,t,r),e.then=Pc(e.then,t,r),e.else=Pc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function hy(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=vt(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(P0(a)&&(i===null&&o>0&&P0(t[o-1])&&(i=Object.create(null),n=vt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(vI(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=vt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=vt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=vt(o,a,n)}return n}}}function gW(e){let t=Ne,r=zi(e.term);if(e.max===0)r=vt(r,zh,De),t=vt(r,null,De),t.then=vt(Ne,Ne,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,vt(Ne,Ne,t),De);if(e.min===0)t=vt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,t,De);return t}function zi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=hy(e.combinator,e.terms.map(zi),!1);return e.disallowEmpty&&(t=vt(t,zh,De)),t}case"Multiplier":return gW(e);case"Boolean":{let t=zi(e.term),r=zi(_r([_r([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),_r([{type:"Type",name:"!boolean-group"},_r([{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=zi(_r([{type:"Type",name:"!term"},_r([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Pc(n,{"!term":t,"!self":r}),Pc(r,{"!boolean-group":n}),r}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function kp(e,t){return typeof e=="string"&&(e=lI(e)),{type:"MatchGraph",match:zi(e),syntax:t||null,source:e}}var Ne,De,zh,yI,wI,kI=y(()=>{fI(),Ne={type:"Match"},De={type:"Mismatch"},zh={type:"DisallowEmpty"},yI=40,wI=41});function bW(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Gf(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function vW(e){return e.type!==9?!1:e.value!=="?"}function I0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||vW(e)}function O0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function yW(e,t,r){function n(){do f++,g=f<e.length?e[f]:null;while(g!==null&&(g.type===13||g.type===25))}function i(k){let S=f+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:f,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:SI,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:Fm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===Fm?w=w.prev:w={type:pk,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,g=null,f=-1,x=0,w={type:xI,syntax:null,token:null,prev:null};for(n();b===null&&++h<by;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=De;break}b=gy;break}if(t=p.nextState,t===zh)if(p.matchStack===w){t=De;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||f>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=CI;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,f=m.tokenIndex,g=f<e.length?e[f]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==Ne&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let E=t.syntax.terms;if(t.index===E.length){if(t.mask===0||t.syntax.all){t=De;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.length;t.index++){let z=1<<t.index;if((t.mask&z)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|z}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let E=g.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),fy.call(t.map,E)){t=t.map[E];break}}t=De;break;case"Generic":{let E=d!==null?d.opts:null,z=f+Math.floor(t.fn(g,i,E));if(!isNaN(z)&&z>f){for(;f<z;)l();t=Ne}else t=De;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",z=fy.call(r,E)?r[E][t.name]:null;if(!z||!z.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=z.matchRef||z.match;break}case"Keyword":{let E=t.name;if(g!==null){let z=g.value;if(z.indexOf("\\")!==-1&&(z=z.replace(/\\[09].*$/,"")),Gf(z,E)){l(),t=Ne;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Gf(g.value,t.name)){l(),t=Ne;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=Ne;break}t=De;break;case"Comma":g!==null&&g.type===18?I0(w.token)?t=De:(l(),t=O0(g)?De:Ne):t=I0(w.token)||O0(g)?Ne:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Gf(k,t.value)){for(;f<S;)l();t=Ne}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(AI+=h,b){case null:console.warn("[csstree-match] BREAK after "+by+" iterations"),b=zI,w=null;break;case gy:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function j0(e,t,r){let n=yW(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=bW(i).prev;i!==null;){switch(i.type){case Fm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case pk:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var fy,xI,SI,Fm,pk,gy,CI,zI,by,AI,wW=y(()=>{kI(),{hasOwnProperty:fy}=Object.prototype,xI=0,SI=1,Fm=2,pk=3,gy="Match",CI="Mismatch",zI="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",by=15e3,AI=0}),NI={};A(NI,{getTrace:()=>EI,isKeyword:()=>SW,isProperty:()=>xW,isType:()=>kW});function EI(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function kW(e,t){return mk(this,e,r=>r.type==="Type"&&r.name===t)}function xW(e,t){return mk(this,e,r=>r.type==="Property"&&r.name===t)}function SW(e){return mk(this,e,t=>t.type==="Keyword")}function mk(e,t,r){let n=EI.call(e,t);return n===null?!1:n.some(r)}var CW=y(()=>{});function Kf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function T0(e){return!!e&&Kf(e.offset)&&Kf(e.line)&&Kf(e.column)}function zW(e,t){return function(r,n){if(!r||r.constructor!==Object)return n(r,"Type of node should be an Object");for(let i in r){let o=!0;if(Fi.call(r,i)!==!1){if(i==="type")r.type!==e&&n(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!T0(r.loc.start))i+=".start";else if(!T0(r.loc.end))i+=".end";else continue;o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let a=0;!o&&a<t[i].length;a++){let s=t[i][a];switch(s){case String:o=typeof r[i]=="string";break;case Boolean:o=typeof r[i]=="boolean";break;case null:o=r[i]===null;break;default:typeof s=="string"?o=r[i]&&r[i].type===s:Array.isArray(s)&&(o=r[i]instanceof Xc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Fi.call(t,i)&&Fi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function PI(e,t){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(PI(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function AW(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Fi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=PI(a,e+"."+o)}return{docs:i,check:zW(e,n)}}function NW(e){let t={};if(e.node){for(let r in e.node)if(Fi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=AW(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Fi,EW=y(()=>{ek(),{hasOwnProperty:Fi}=Object.prototype});function PW(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function IW(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...NI}}function xp(e,t,r,n){let i=hW(r,e.syntax),o;return PW(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=j0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=j0(i,t.match,e),!o.match)?Gr(null,new BP(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var vy,OW=y(()=>{j9(),ik(),ok(),Z9(),eW(),gI(),fW(),kI(),wW(),CW(),EW(),vy=class{constructor(e,t,r){if(this.cssWideKeywords=bh,this.syntax=t,this.generic=!1,this.units={...ly},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||NW(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(ly))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(J9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=kp(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=kp(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:lI(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:kp(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=IW(a)?kp({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Zp("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!xp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=em(t);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[i.name]&&!n.descriptors[i.basename])return new Zp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Zp("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?xp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=em(t);return xp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(oy(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):xp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=em(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=oy(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Hf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function jW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Xf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?jW(o,r):o};return n}function yy(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Hf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Hf(l.descriptors[u],c):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Hf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Xf(e[n],i);break;case"atrule":case"pseudo":r[n]=Xf(e[n],i,["parse"]);break;case"node":r[n]=Xf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var TW=y(()=>{});function II(e){let t=m9(e),r=S9(e),n=v9(e),{fromPlainObject:i,toPlainObject:o}=$P(r),a={lexer:null,createLexer:s=>new vy(s,a,a.lexer.structure),tokenize:fh,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=yy({},e);return II(typeof s=="function"?s(l):yy(l,s))}};return a.lexer=new vy({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var OI,DW=y(()=>{mr(),h9(),y9(),w9(),C9(),OW(),TW(),OI=e=>II(yy({},e))}),jI,LW=y(()=>{jI={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}}}),TI={};A(TI,{generate:()=>FW,name:()=>FI,parse:()=>DI,structure:()=>MI});function rm(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Pt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)pt(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ai(e){return rm.call(this,0,e)}function Ur(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case Ic:r="N is expected";break;case Pt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Jf(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(Pt,e)){t=this.isDelim(rr,e)?rr:Pt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ai.call(this,Yr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Pt&&this.error("Number sign is expected")),Ai.call(this,t!==0),t===Pt?"-"+this.consume(10):this.consume(10)}function DI(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ai.call(this,LI),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Pt))switch(t="-1",Ur.call(this,1,Ic),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Jf.call(this);break;case 3:Ur.call(this,2,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,2,Pt),rm.call(this,3,Yr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),Ur.call(this,0,Ic),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Jf.call(this);break;case 2:Ur.call(this,1,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,1,Pt),rm.call(this,2,Yr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Pt,o=this.tokenStart+i;for(;o<this.tokenEnd&&pt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ur.call(this,o-this.tokenStart,Ic),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Jf.call(this)):(Ur.call(this,o-this.tokenStart+1,Pt),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10)):(rm.call(this,o-this.tokenStart+2,Yr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function FW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,Pt,Ic,Yr,LI,FI,MI,RI=y(()=>{mr(),rr=43,Pt=45,Ic=110,Yr=!0,LI=!1,FI="AnPlusB",MI={a:[String,null],b:[String,null]}}),$I={};A($I,{generate:()=>RW,name:()=>qI,parse:()=>BI,structure:()=>_I,walkContext:()=>WI});function D0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function MW(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function BI(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),D0):i=D0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(MW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function RW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var qI,WI,_I,UI=y(()=>{qI="Atrule",WI="atrule",_I={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),VI={};A(VI,{generate:()=>$W,name:()=>YI,parse:()=>QI,structure:()=>KI,walkContext:()=>GI});function QI(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function $W(e){this.children(e)}var YI,GI,KI,HI=y(()=>{YI="AtrulePrelude",GI="atrulePrelude",KI={children:[[]]}}),XI={};A(XI,{generate:()=>WW,name:()=>rO,parse:()=>JI,structure:()=>nO});function BW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(hk)?(t=!0,this.next()):this.isDelim(Mm)||this.eat(1),this.isDelim(Mm)?this.charCodeAt(this.tokenStart+1)!==Oc?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function qW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Oc&&t!==tO&&t!==eO&&t!==ZI&&t!==hk&&t!==Mm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Oc&&(this.isDelim(Oc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function JI(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=BW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=qW.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function WW(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var ZI,hk,Oc,eO,Mm,tO,rO,nO,iO=y(()=>{ZI=36,hk=42,Oc=61,eO=94,Mm=124,tO=126,rO="AttributeSelector",nO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),oO={};A(oO,{generate:()=>UW,name:()=>uO,parse:()=>sO,structure:()=>dO,walkContext:()=>cO});function aO(){return this.Raw(null,!0)}function L0(){return this.parseWithFallback(this.Rule,aO)}function F0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function _W(){if(this.tokenType===17)return F0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,F0);return this.tokenType===17&&this.next(),e}function sO(e){let t=e?_W:L0,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),aO));break;default:e&&this.isDelim(lO)?n.push(L0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function UW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var lO,uO,cO,dO,pO=y(()=>{lO=38,uO="Block",cO="block",dO={children:[["Atrule","Rule","Declaration"]]}}),mO={};A(mO,{generate:()=>VW,name:()=>fO,parse:()=>hO,structure:()=>gO});function hO(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function VW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var fO,gO,bO=y(()=>{fO="Brackets",gO={children:[[]]}}),vO={};A(vO,{generate:()=>QW,name:()=>wO,parse:()=>yO,structure:()=>kO});function yO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function QW(){this.token(15,"-->")}var wO,kO,xO=y(()=>{wO="CDC",kO=[]}),SO={};A(SO,{generate:()=>YW,name:()=>zO,parse:()=>CO,structure:()=>AO});function CO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function YW(){this.token(14,"<!--")}var zO,AO,NO=y(()=>{zO="CDO",AO=[]}),EO={};A(EO,{generate:()=>GW,name:()=>OO,parse:()=>PO,structure:()=>jO});function PO(){return this.eatDelim(IO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function GW(e){this.token(9,"."),this.token(1,e.name)}var IO,OO,jO,TO=y(()=>{IO=46,OO="ClassSelector",jO={name:String}}),DO={};A(DO,{generate:()=>KW,name:()=>$O,parse:()=>LO,structure:()=>BO});function LO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case MO:case FO:case RO:this.next();break;case wy:this.next(),this.eatIdent("deep"),this.eatDelim(wy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function KW(e){this.tokenize(e.name)}var FO,wy,MO,RO,$O,BO,qO=y(()=>{FO=43,wy=47,MO=62,RO=126,$O="Combinator",BO={name:String}}),WO={};A(WO,{generate:()=>HW,name:()=>QO,parse:()=>_O,structure:()=>YO});function _O(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===UO&&this.charCodeAt(t-1)===VO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function HW(e){this.token(25,"/*"+e.value+"*/")}var UO,VO,QO,YO,GO=y(()=>{UO=42,VO=47,QO="Comment",YO={value:String}}),KO={};A(KO,{generate:()=>XW,name:()=>JO,parse:()=>HO,structure:()=>ZO});function M0(e){return this.lookupTypeNonSC(1)===1&&XO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function HO(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>ej[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function XW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var XO,JO,ZO,ej,tj=y(()=>{XO=new Set([16,22,0]),JO="Condition",ZO={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},ej={media:M0,container:M0,supports(){return this.SupportsDeclaration()}}}),rj={};A(rj,{generate:()=>t_,name:()=>uj,parse:()=>nj,structure:()=>dj,walkContext:()=>cj});function JW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function ZW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function e_(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(fk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function nj(){let e=this.tokenStart,t=this.tokenIndex,r=r_.call(this),n=nk(r),i=n?this.parseCustomProperty:this.parseValue,o=n?ZW:JW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(e_,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(fk)&&(a=n_.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function t_(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function r_(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case sj:case oj:case lj:case ij:case aj:this.next();break;case ky:this.next(),this.isDelim(ky)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function n_(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var fk,ij,oj,aj,sj,lj,ky,uj,cj,dj,pj=y(()=>{ik(),fk=33,ij=35,oj=36,aj=38,sj=42,lj=43,ky=47,uj="Declaration",cj="declaration",dj={important:[Boolean,String],property:String,value:["Value","Raw"]}}),mj={};A(mj,{generate:()=>i_,name:()=>gj,parse:()=>hj,structure:()=>bj});function Zf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function hj(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Zf));break;default:this.isDelim(fj)?e.push(this.parseWithFallback(this.Rule,Zf)):e.push(this.parseWithFallback(this.Declaration,Zf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function i_(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var fj,gj,bj,vj=y(()=>{fj=38,gj="DeclarationList",bj={children:[["Declaration","Atrule","Rule"]]}}),yj={};A(yj,{generate:()=>o_,name:()=>kj,parse:()=>wj,structure:()=>xj});function wj(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function o_(e){this.token(12,e.value+e.unit)}var kj,xj,Sj=y(()=>{kj="Dimension",xj={value:String,unit:String}}),Cj={};A(Cj,{generate:()=>a_,name:()=>Nj,parse:()=>zj,structure:()=>Ej});function zj(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Aj)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function a_(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var Aj,Nj,Ej,Pj=y(()=>{Aj=47,Nj="Feature",Ej={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),Ij={};A(Ij,{generate:()=>l_,name:()=>jj,parse:()=>Oj,structure:()=>Tj});function s_(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Oj(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=s_.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function l_(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var jj,Tj,Dj=y(()=>{jj="FeatureFunction",Tj={kind:String,feature:String,value:["Declaration","Selector"]}}),Lj={};A(Lj,{generate:()=>u_,name:()=>$j,parse:()=>Fj,structure:()=>Bj});function eg(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(xy,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(xy)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function R0(e){if(this.skipSC(),this.isDelim(Mj)||this.isDelim(Rj)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Sy)?(this.next(),t+"="):t}if(this.isDelim(Sy))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Fj(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=eg.call(this),n=R0.call(this,r.type==="Identifier"),i=eg.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=R0.call(this),a=eg.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function u_(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var xy,Mj,Sy,Rj,$j,Bj,qj=y(()=>{xy=47,Mj=60,Sy=61,Rj=62,$j="FeatureRange",Bj={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}}),Wj={};A(Wj,{generate:()=>c_,name:()=>Uj,parse:()=>_j,structure:()=>Qj,walkContext:()=>Vj});function _j(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function c_(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var Uj,Vj,Qj,Yj=y(()=>{Uj="Function",Vj="function",Qj={name:String,children:[[]]}}),Gj={};A(Gj,{generate:()=>d_,name:()=>Hj,parse:()=>Kj,structure:()=>Xj});function Kj(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function d_(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var Hj,Xj,Jj=y(()=>{Hj="GeneralEnclosed",Xj={kind:String,function:[String,null],children:[[]]}}),Zj={};A(Zj,{generate:()=>p_,name:()=>rT,parse:()=>eT,structure:()=>nT,xxx:()=>tT});function eT(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function p_(e){this.token(4,"#"+e.value)}var tT,rT,nT,iT=y(()=>{tT="XXX",rT="Hash",nT={value:String}}),oT={};A(oT,{generate:()=>m_,name:()=>sT,parse:()=>aT,structure:()=>lT});function aT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function m_(e){this.token(1,e.name)}var sT,lT,uT=y(()=>{sT="Identifier",lT={name:String}}),cT={};A(cT,{generate:()=>h_,name:()=>pT,parse:()=>dT,structure:()=>mT});function dT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function h_(e){this.token(9,"#"+e.name)}var pT,mT,hT=y(()=>{pT="IdSelector",mT={name:String}}),fT={};A(fT,{generate:()=>f_,name:()=>vT,parse:()=>gT,structure:()=>yT});function gT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(bT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function f_(e){this.tokenize(e.name)}var bT,vT,yT,wT=y(()=>{bT=46,vT="Layer",yT={name:String}}),kT={};A(kT,{generate:()=>g_,name:()=>ST,parse:()=>xT,structure:()=>CT});function xT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function g_(e){this.children(e,()=>this.token(18,","))}var ST,CT,zT=y(()=>{ST="LayerList",CT={children:[["Layer"]]}}),AT={};A(AT,{generate:()=>b_,name:()=>ET,parse:()=>NT,structure:()=>PT});function NT(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function b_(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var ET,PT,IT=y(()=>{ET="MediaQuery",PT={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),OT={};A(OT,{generate:()=>v_,name:()=>TT,parse:()=>jT,structure:()=>DT});function jT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function v_(e){this.children(e,()=>this.token(18,","))}var TT,DT,LT=y(()=>{TT="MediaQueryList",DT={children:[["MediaQuery"]]}}),FT={};A(FT,{generate:()=>y_,name:()=>$T,parse:()=>MT,structure:()=>BT});function MT(){let e=this.tokenStart;return this.eatDelim(RT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function y_(){this.token(9,"&")}var RT,$T,BT,qT=y(()=>{RT=38,$T="NestingSelector",BT={}}),WT={};A(WT,{generate:()=>w_,name:()=>UT,parse:()=>_T,structure:()=>VT});function _T(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function w_(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var UT,VT,QT=y(()=>{UT="Nth",VT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),YT={};A(YT,{generate:()=>k_,name:()=>KT,parse:()=>GT,structure:()=>HT});function GT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function k_(e){this.token(10,e.value)}var KT,HT,XT=y(()=>{KT="Number",HT={value:String}}),JT={};A(JT,{generate:()=>x_,name:()=>e4,parse:()=>ZT,structure:()=>t4});function ZT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function x_(e){this.tokenize(e.value)}var e4,t4,r4=y(()=>{e4="Operator",t4={value:String}}),n4={};A(n4,{generate:()=>S_,name:()=>o4,parse:()=>i4,structure:()=>a4});function i4(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function S_(e){this.token(21,"("),this.children(e),this.token(22,")")}var o4,a4,s4=y(()=>{o4="Parentheses",a4={children:[[]]}}),l4={};A(l4,{generate:()=>C_,name:()=>c4,parse:()=>u4,structure:()=>d4});function u4(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function C_(e){this.token(11,e.value+"%")}var c4,d4,p4=y(()=>{c4="Percentage",d4={value:String}}),m4={};A(m4,{generate:()=>z_,name:()=>f4,parse:()=>h4,structure:()=>b4,walkContext:()=>g4});function h4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function z_(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var f4,g4,b4,v4=y(()=>{f4="PseudoClassSelector",g4="function",b4={name:String,children:[["Raw"],null]}}),y4={};A(y4,{generate:()=>A_,name:()=>k4,parse:()=>w4,structure:()=>S4,walkContext:()=>x4});function w4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function A_(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var k4,x4,S4,C4=y(()=>{k4="PseudoElementSelector",x4="function",S4={name:String,children:[["Raw"],null]}}),z4={};A(z4,{generate:()=>N_,name:()=>N4,parse:()=>A4,structure:()=>E4});function $0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function A4(){let e=this.tokenStart,t=$0.call(this),r=null;return this.skipSC(),this.isDelim(Cy)&&(this.eatDelim(Cy),r=$0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function N_(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Cy,N4,E4,P4=y(()=>{Cy=47,N4="Ratio",E4={left:["Number","Function"],right:["Number","Function",null]}}),I4={};A(I4,{generate:()=>P_,name:()=>j4,parse:()=>O4,structure:()=>T4});function E_(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function O4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=E_.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function P_(e){this.tokenize(e.value)}var j4,T4,D4=y(()=>{j4="Raw",T4={value:String}}),L4={};A(L4,{generate:()=>O_,name:()=>M4,parse:()=>F4,structure:()=>$4,walkContext:()=>R4});function B0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function I_(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function F4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(I_,B0):r=B0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function O_(e){this.node(e.prelude),this.node(e.block)}var M4,R4,$4,B4=y(()=>{M4="Rule",R4="rule",$4={prelude:["SelectorList","Raw"],block:["Block"]}}),q4={};A(q4,{generate:()=>j_,name:()=>_4,parse:()=>W4,structure:()=>U4});function W4(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function j_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var _4,U4,V4=y(()=>{_4="Scope",U4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),Q4={};A(Q4,{generate:()=>T_,name:()=>G4,parse:()=>Y4,structure:()=>K4});function Y4(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function T_(e){this.children(e)}var G4,K4,H4=y(()=>{G4="Selector",K4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),X4={};A(X4,{generate:()=>D_,name:()=>Z4,parse:()=>J4,structure:()=>tD,walkContext:()=>eD});function J4(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function D_(e){this.children(e,()=>this.token(18,","))}var Z4,eD,tD,rD=y(()=>{Z4="SelectorList",eD="selector",tD={children:[["Selector","Raw"]]}}),nD={};A(nD,{decode:()=>gk,encode:()=>iD});function gk(e){let t=e.length,r=e.charCodeAt(0),n=r===bk||r===vk?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let s=e.charCodeAt(a);if(s===Rm){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),wr(Rm,s)){let l=a-1,u=Ui(e,l);a=u-1,o+=CP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function iD(e,t){let r=t?"'":'"',n=t?vk:bk,i="",o=!1;for(let a=0;a<e.length;a++){let s=e.charCodeAt(a);if(s===0){i+="�";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===Rm?(i+="\\"+e.charAt(a),o=!1):(o&&(en(s)||xn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Rm,bk,vk,yk=y(()=>{mr(),Rm=92,bk=34,vk=39}),oD={};A(oD,{generate:()=>L_,name:()=>sD,parse:()=>aD,structure:()=>lD});function aD(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:gk(this.consume(5))}}function L_(e){this.token(5,iD(e.value))}var sD,lD,uD=y(()=>{yk(),sD="String",lD={value:String}}),cD={};A(cD,{generate:()=>F_,name:()=>mD,parse:()=>dD,structure:()=>fD,walkContext:()=>hD});function q0(){return this.Raw(null,!1)}function dD(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==pD){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,q0);break;default:r=this.parseWithFallback(this.Rule,q0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function F_(e){this.children(e)}var pD,mD,hD,fD,gD=y(()=>{pD=33,mD="StyleSheet",hD="stylesheet",fD={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),bD={};A(bD,{generate:()=>M_,name:()=>yD,parse:()=>vD,structure:()=>wD});function vD(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function M_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var yD,wD,kD=y(()=>{yD="SupportsDeclaration",wD={declaration:"Declaration"}}),xD={};A(xD,{generate:()=>R_,name:()=>zD,parse:()=>SD,structure:()=>AD});function tg(){this.tokenType!==1&&this.isDelim(CD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function SD(){let e=this.tokenStart;return this.isDelim(zy)?(this.next(),tg.call(this)):(tg.call(this),this.isDelim(zy)&&(this.next(),tg.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function R_(e){this.tokenize(e.name)}var CD,zy,zD,AD,ND=y(()=>{CD=42,zy=124,zD="TypeSelector",AD={name:String}}),ED={};A(ED,{generate:()=>q_,name:()=>ID,parse:()=>PD,structure:()=>OD});function xc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===kk&&t&&r!==0)return xc.call(this,e+r+1,!1),-1;en(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Sp(e){let t=0;for(;this.isDelim($m);)++t>e&&this.error("Too many question marks"),this.next()}function $_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===wk?"Plus sign":"Hyphen minus")+" is expected")}function B_(){let e=0;switch(this.tokenType){case 10:if(e=xc.call(this,1,!0),this.isDelim($m)){Sp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){$_.call(this,kk),xc.call(this,1,!1);break}break;case 12:e=xc.call(this,1,!0),e>0&&Sp.call(this,6-e);break;default:if(this.eatDelim(wk),this.tokenType===1){e=xc.call(this,0,!0),e>0&&Sp.call(this,6-e);break}if(this.isDelim($m)){this.next(),Sp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function PD(){let e=this.tokenStart;return this.eatIdent("u"),B_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function q_(e){this.tokenize(e.value)}var wk,kk,$m,ID,OD,jD=y(()=>{mr(),wk=43,kk=45,$m=63,ID="UnicodeRange",OD={value:String}});function W_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===xk?t-2:t-1,i="";for(;r<n&&xn(e.charCodeAt(r));)r++;for(;r<n&&xn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===Bm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),wr(Bm,a)){let s=o-1,l=Ui(e,s);o=l-1,i+=CP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function __(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===TD||i===Bm||i===DD||i===LD||i===FD||i===xk?(t+="\\"+e.charAt(n),r=!1):(r&&en(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var TD,Bm,DD,LD,FD,xk,MD=y(()=>{mr(),TD=32,Bm=92,DD=34,LD=39,FD=40,xk=41}),RD={};A(RD,{generate:()=>U_,name:()=>BD,parse:()=>$D,structure:()=>qD});function $D(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=W_(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=gk(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function U_(e){this.token(7,__(e.value))}var BD,qD,WD=y(()=>{MD(),yk(),BD="Url",qD={value:String}}),_D={};A(_D,{generate:()=>V_,name:()=>VD,parse:()=>UD,structure:()=>QD});function UD(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function V_(e){this.children(e)}var VD,QD,YD=y(()=>{VD="Value",QD={children:[[]]}}),GD={};A(GD,{generate:()=>Q_,name:()=>XD,parse:()=>KD,structure:()=>JD});function KD(){return this.eat(13),HD}function Q_(e){this.token(13,e.value)}var HD,XD,JD,ZD=y(()=>{HD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),XD="WhiteSpace",JD={value:String}}),Sk={};A(Sk,{AnPlusB:()=>TI,Atrule:()=>$I,AtrulePrelude:()=>VI,AttributeSelector:()=>XI,Block:()=>oO,Brackets:()=>mO,CDC:()=>vO,CDO:()=>SO,ClassSelector:()=>EO,Combinator:()=>DO,Comment:()=>WO,Condition:()=>KO,Declaration:()=>rj,DeclarationList:()=>mj,Dimension:()=>yj,Feature:()=>Cj,FeatureFunction:()=>Ij,FeatureRange:()=>Lj,Function:()=>Wj,GeneralEnclosed:()=>Gj,Hash:()=>Zj,IdSelector:()=>cT,Identifier:()=>oT,Layer:()=>fT,LayerList:()=>kT,MediaQuery:()=>AT,MediaQueryList:()=>OT,NestingSelector:()=>FT,Nth:()=>WT,Number:()=>YT,Operator:()=>JT,Parentheses:()=>n4,Percentage:()=>l4,PseudoClassSelector:()=>m4,PseudoElementSelector:()=>y4,Ratio:()=>z4,Raw:()=>I4,Rule:()=>L4,Scope:()=>q4,Selector:()=>Q4,SelectorList:()=>X4,String:()=>oD,StyleSheet:()=>cD,SupportsDeclaration:()=>bD,TypeSelector:()=>xD,UnicodeRange:()=>ED,Url:()=>RD,Value:()=>_D,WhiteSpace:()=>GD});var eL=y(()=>{RI(),UI(),HI(),iO(),pO(),bO(),xO(),NO(),TO(),qO(),GO(),tj(),pj(),vj(),Sj(),Pj(),Dj(),qj(),Yj(),Jj(),iT(),uT(),hT(),wT(),zT(),IT(),LT(),qT(),QT(),XT(),r4(),s4(),p4(),v4(),C4(),P4(),D4(),B4(),V4(),H4(),rD(),uD(),gD(),kD(),ND(),jD(),WD(),YD(),ZD()}),tL,Y_=y(()=>{ok(),LW(),eL(),tL={generic:!0,cssWideKeywords:bh,...jI,node:Sk}});function rL(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,sL)&&this.cmpChar(this.tokenStart+1,Ay)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===aL||t===iL||t===Ay||t===oL)return this.Operator();t===nL&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var nL,iL,Ay,oL,aL,sL,lL=y(()=>{nL=35,iL=42,Ay=43,oL=45,aL=47,sL=117}),uL,G_=y(()=>{lL(),uL={getNode:rL}});function K_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function H_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Ny&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case mL:case fL:case bL:case hL:return this.Combinator();case Ny:return this.ClassSelector();case pL:case gL:return this.TypeSelector();case cL:return this.IdSelector();case dL:return this.NestingSelector()}break}}}var cL,dL,pL,mL,hL,Ny,fL,gL,bL,vL,X_=y(()=>{cL=35,dL=38,pL=42,mL=43,hL=47,Ny=46,fL=62,gL=124,bL=126,vL={onWhiteSpace:K_,getNode:H_}});function J_(){return this.createSingleNodeList(this.Raw(null,!1))}var Z_=y(()=>{});function e8(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var t8=y(()=>{});function W0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var yL,r8=y(()=>{lL(),Z_(),t8(),yL={getNode:rL,onWhiteSpace(e,t){W0(e)&&(e.value=" "+e.value),W0(t.last)&&(t.last.value+=" ")},expression:J_,var:e8}}),wL={};A(wL,{AtrulePrelude:()=>uL,Selector:()=>vL,Value:()=>yL});var n8=y(()=>{G_(),X_(),r8()}),_0,kL,i8=y(()=>{_0=new Set(["none","and","not","or"]),kL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);_0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),xL,o8=y(()=>{xL={parse:{prelude:null,block(){return this.Block(!0)}}}}),rg,SL,a8=y(()=>{rg={},SL={parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,rg)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,rg)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),CL,s8=y(()=>{CL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),zL,l8=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),AL,u8=y(()=>{AL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),NL,c8=y(()=>{NL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),EL,d8=y(()=>{EL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),PL,p8=y(()=>{PL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),IL,m8=y(()=>{IL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),OL,h8=y(()=>{i8(),o8(),a8(),s8(),l8(),u8(),c8(),d8(),p8(),m8(),OL={container:kL,"font-face":xL,import:SL,layer:CL,media:zL,nest:AL,page:NL,scope:EL,"starting-style":PL,supports:IL}});function f8(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var g8=y(()=>{}),Vr,Cp,U0,V0,Sa,jL,b8=y(()=>{g8(),Vr={parse(){return this.createSingleNodeList(this.SelectorList())}},Cp={parse(){return this.createSingleNodeList(this.Selector())}},U0={parse(){return this.createSingleNodeList(this.Identifier())}},V0={parse:f8},Sa={parse(){return this.createSingleNodeList(this.Nth())}},jL={dir:U0,has:Vr,lang:V0,matches:Vr,is:Vr,"-moz-any":Vr,"-webkit-any":Vr,where:Vr,not:Vr,"nth-child":Sa,"nth-last-child":Sa,"nth-last-of-type":Sa,"nth-of-type":Sa,slotted:Cp,host:Cp,"host-context":Cp}}),TL={};A(TL,{AnPlusB:()=>DI,Atrule:()=>BI,AtrulePrelude:()=>QI,AttributeSelector:()=>JI,Block:()=>sO,Brackets:()=>hO,CDC:()=>yO,CDO:()=>CO,ClassSelector:()=>PO,Combinator:()=>LO,Comment:()=>_O,Condition:()=>HO,Declaration:()=>nj,DeclarationList:()=>hj,Dimension:()=>wj,Feature:()=>zj,FeatureFunction:()=>Oj,FeatureRange:()=>Fj,Function:()=>_j,GeneralEnclosed:()=>Kj,Hash:()=>eT,IdSelector:()=>dT,Identifier:()=>aT,Layer:()=>gT,LayerList:()=>xT,MediaQuery:()=>NT,MediaQueryList:()=>jT,NestingSelector:()=>MT,Nth:()=>_T,Number:()=>GT,Operator:()=>ZT,Parentheses:()=>i4,Percentage:()=>u4,PseudoClassSelector:()=>h4,PseudoElementSelector:()=>w4,Ratio:()=>A4,Raw:()=>O4,Rule:()=>F4,Scope:()=>W4,Selector:()=>Y4,SelectorList:()=>J4,String:()=>aD,StyleSheet:()=>dD,SupportsDeclaration:()=>vD,TypeSelector:()=>SD,UnicodeRange:()=>PD,Url:()=>$D,Value:()=>UD,WhiteSpace:()=>KD});var v8=y(()=>{RI(),UI(),HI(),iO(),pO(),bO(),xO(),NO(),TO(),qO(),GO(),tj(),pj(),vj(),Sj(),Pj(),Dj(),qj(),Yj(),Jj(),iT(),uT(),hT(),wT(),zT(),IT(),LT(),qT(),QT(),XT(),r4(),s4(),p4(),v4(),C4(),P4(),D4(),B4(),V4(),H4(),rD(),uD(),gD(),kD(),ND(),jD(),WD(),YD(),ZD()}),DL,y8=y(()=>{n8(),h8(),b8(),v8(),DL={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:wL,atrule:OL,pseudo:jL,node:TL}}),LL,w8=y(()=>{eL(),LL={node:Sk}}),FL,k8=y(()=>{DW(),Y_(),y8(),w8(),FL=OI({...tL,...DL,...LL})}),x8=y(()=>{}),S8=G(()=>{}),C8,z8,qr,A8,ML,N8,Ni,Ck,E8,P8,I8,O8,zk,On=y(()=>{k8(),x8(),ek(),gI(),ik(),C8=X(S8(),1),yk(),MD(),{tokenize:z8,parse:qr,generate:A8,lexer:ML,createLexer:N8,walk:Ni,find:Ck,findLast:E8,findAll:P8,toPlainObject:I8,fromPlainObject:O8,fork:zk}=FL}),RL={};A(RL,{default:()=>$L});var Vn,zp,Q0,Ca,ng,Y0,za,$L,j8=y(()=>{On(),q(),Pr(),mh(),pr(),jr(),_e(),Ke(),K(),I(),j(),D(),Dt(),Vn="declaration-block-no-duplicate-properties",zp=O(Vn,{rejected:e=>`Duplicate property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Ca=e=>"children"in e&&e.children instanceof Xc,ng=(e,t,r)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=t[n];if(typeof i>"u"||typeof o>"u"||i.type!==o.type)return!1;let a="name"in i?String(i.name):"",s="name"in o?String(o.name):"";if(i.type==="Identifier"&&yt(a)&&o.type==="Identifier"&&yt(s)||i.type==="Identifier"&&o.type==="Identifier"&&ZA.has(r.toLowerCase())&&Qc.has(a.toLowerCase())&&Qc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=Ca(i)?i.children.toArray():null,d=Ca(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(ng(c,d,r))continue;return!1}}return!0},Y0=(e,t,r)=>{if(e===t)return!0;if(!(Re(e)&&Re(t)))return!1;let n,i;try{n=qr(e,{context:"value"}),i=qr(t,{context:"value"})}catch{return!1}let o=Ca(n)?n.children.toArray():[],a=Ca(i)?i.children.toArray():[];return ng(o,a,r)},za=(e,t)=>(r,n)=>{if(!T(n,Vn,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,_]},optional:!0}))return;let i=F(t,"ignore","consecutive-duplicates"),o=F(t,"ignore","consecutive-duplicates-with-different-values"),a=F(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=F(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};ph(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(z=>z.prop.toLowerCase()===m);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!h&&x,k=b===c.length-1,S=Xe.unprefixed(v)===Xe.unprefixed(f),E=()=>{let z=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:zp.rejected,messageArgs:[L],node:z,result:n,ruleName:Vn,word:L,fix:{apply:l(z),node:z.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&Y0(v,f,p)){E();return}return v!==f?void 0:P({message:zp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:Vn,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||E()})})},za.ruleName=Vn,za.messages=zp,za.meta=Q0,$L=za}),BL={};A(BL,{default:()=>qL});var ig,Qn,Ap,G0,K0,H0,X0,Aa,qL,T8=y(()=>{ig=X(ue(),1),q(),Ew(),Ke(),mh(),Pr(),K(),I(),j(),D(),Dt(),Qn="declaration-block-no-redundant-longhand-properties",Ap=O(Qn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},K0=new Map([["font-synthesis",e=>{var a,s,l;let t=(a=e.get("font-synthesis-weight"))==null?void 0:a.value.trim(),r=(s=e.get("font-synthesis-style"))==null?void 0:s.value.trim(),n=(l=e.get("font-synthesis-small-caps"))==null?void 0:l.value.trim(),i=u=>u==="none"||u==="auto";if(!i(t)||!i(r)||!i(n))return;let o=[];return t==="auto"&&o.push("weight"),r==="auto"&&o.push("style"),n==="auto"&&o.push("small-caps"),o.length===0?"none":o.join(" ")}],["grid-column",e=>{var n,i;let t=(n=e.get("grid-column-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-column-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-row",e=>{var n,i;let t=(n=e.get("grid-row-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-row-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-template",e=>{var a,s,l;let t=(a=e.get("grid-template-areas"))==null?void 0:a.value.trim(),r=(s=e.get("grid-template-columns"))==null?void 0:s.value.trim(),n=(l=e.get("grid-template-rows"))==null?void 0:l.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(u=>u[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((u,c)=>`${u} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var a,s,l,u;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,ig.default)(d),m=[];{let v=[];p.nodes.forEach(h=>{if(h.type==="div"&&h.value===","){m.push(v),v=[];return}v.push(h)}),m.push(v)}return m.map(v=>ig.default.stringify(v).trim()).filter(v=>v.length>0)},r=t((a=e.get("transition-delay"))==null?void 0:a.value),n=t((s=e.get("transition-duration"))==null?void 0:s.value),i=t((l=e.get("transition-timing-function"))==null?void 0:l.value),o=t((u=e.get("transition-property"))==null?void 0:u.value);if(r.length&&n.length&&i.length&&o.length)return o.map((c,d)=>[c,n[d%n.length],i[d%i.length],r[d%r.length]].filter($).join(" ")).join(", ")}]]),H0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],X0=(e,t,r)=>{let n=K0.get(e);if(n===void 0){let i=t.map(o=>{var a;return(a=r.get(o))==null?void 0:a.value.trim()}).filter(Boolean);return i.length>0?i.join(" "):void 0}return n(r)},Aa=(e,t)=>(r,n)=>{var a;if(!T(n,Qn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,_],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of Ac.entries())if(!F(t,"ignoreShorthands",s))for(let u of l){if(o.includes(u))continue;let c=i.get(u)||[];c.push(s),i.set(u,c)}ph(r,s=>{let l=new Map,u=new Map,c=new Map;s(d=>{let p=d.value.trim();if(Te.has(d.value))return;let m=d.prop.toLowerCase(),v=Xe.unprefixed(m),h=Xe.prefix(m);Ac.has(v)&&c.set(m,p);let b=i.get(v);if(b)for(let g of b){let f=h+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Qn,result:n,node:d,word:d.prop,message:Ap.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=l.get(f)||[],w=u.get(f)||[];x.push(m),l.set(f,x),w.push(d),u.set(f,w);let k=new Set(Ac.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>h+te);if(!Nw(S.slice().sort(),x.slice().sort()))continue;let E=u.get(f)||[],z=E.reduce((te,re)=>re.important?te+1:te,0);if(z&&z!==E.length)continue;let[L]=E,N;if(L){let te=new Map(E.map(re=>[re.prop.toLowerCase(),re]));N=X0(f,S,te)}let B=L&&N?()=>{let te=L.clone({prop:f,value:N});L.replaceWith(te),E.forEach(re=>re.remove()),H0.includes(g)&&l.forEach((re,ve)=>{l.set(ve,re.filter(he=>!x.includes(he)))})}:void 0;P({ruleName:Qn,result:n,node:d,word:d.prop,message:Ap.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},Aa.ruleName=Qn,Aa.messages=Ap,Aa.meta=G0,qL=Aa}),WL={};A(WL,{default:()=>_L});var Na,og,J0,Ea,_L,D8=y(()=>{mh(),I(),j(),ro(),D(),Dt(),Pr(),Na="declaration-block-no-shorthand-property-overrides",og=O(Na,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),J0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Ea=e=>(t,r)=>{T(r,Na,{actual:e})&&ph(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Xe.unprefixed(a).toLowerCase(),l=Xe.prefix(a).toLowerCase(),u=Ac.get(s),c=JA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:Na,result:r,node:o,message:og.rejected,messageArgs:[a,m||""],word:a})}})})},Ea.ruleName=Na,Ea.messages=og,Ea.meta=J0,_L=Ea}),UL={};A(UL,{default:()=>VL});var Pa,ag,Z0,Ia,VL,L8=y(()=>{Jw(),q(),dh(),I(),j(),D(),Pa="declaration-block-single-line-max-declarations",ag=O(Pa,{expected:e=>`Too many declarations, maximum ${e}`}),Z0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Ia=e=>(t,r)=>{T(r,Pa,{actual:e,possible:[Sr]})&&t.walkRules(n=>{let i=Xw(n);!ch(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:ag.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:Pa})})},Ia.ruleName=Pa,Ia.messages=ag,Ia.meta=Z0,VL=Ia});function eS(e){let t=$r(e);return t!==void 0&&to(t)&&ut(t)&&!yt(t.prop||"")}var F8=y(()=>{Pn(),pr(),me(),ct()}),QL={};A(QL,{default:()=>YL});var Oa,Np,tS,ja,YL,M8=y(()=>{me(),Jw(),pd(),hd(),mP(),rh(),F8(),pr(),fd(),oh(),dh(),ct(),K(),I(),j(),D(),Oa="declaration-empty-line-before",Np=O(Oa,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),tS={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},ja=(e,t,r)=>(n,i)=>{T(i,Oa,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||ih(o)||!Oe(s)&&!it(s)&&!ur(s)||!ut(o)||yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-declaration")&&eS(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&ch(Xw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&pP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-declaration")&&eS(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?Np.expected:Np.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:Oa,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},ja.ruleName=Oa,ja.messages=Np,ja.meta=tS,YL=ja});function GL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var KL=y(()=>{}),HL={};A(HL,{default:()=>XL});var Ta,sg,rS,Da,XL,R8=y(()=>{q(),KL(),I(),j(),D(),Ta="declaration-no-important",sg=O(Ta,{rejected:"Disallowed !important"}),rS={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Da=e=>(t,r)=>{T(r,Ta,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=GL(n.toString());We(i),P({message:sg.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Ta})})},Da.ruleName=Ta,Da.messages=sg,Da.meta=rS,XL=Da});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Tr=y(()=>{});function qm(e){return t=>Cr(t)?Object.values(t).every(r=>e(r)):!1}var Ak=y(()=>{q()}),JL={};A(JL,{default:()=>ZL});var nS,La,lg,iS,oS,Fa,ZL,$8=y(()=>{nS=X(ue(),1),q(),Tr(),Le(),V(),I(),j(),Ak(),D(),La="declaration-property-max-values",lg=O(La,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),iS={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},oS=e=>e.type==="word"||e.type==="function"||e.type==="string",Fa=e=>(t,r)=>{T(r,La,{actual:e,possible:[qm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,nS.default)(o).nodes.filter(oS).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];zc(l),!(a<=l)&&P({message:lg.expected,messageArgs:[i,l],node:n,result:r,ruleName:La})})},Fa.ruleName=La,Fa.messages=lg,Fa.meta=iS,ZL=Fa});function B8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var q8=y(()=>{});function jn(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Re(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=B8(e.value,"").replace("\\0","").replace("\\9","");return eF.default.unit(t)||{unit:null,number:null}}var eF,Tn=y(()=>{eF=X(ue(),1),q8(),_e()}),tF={};A(tF,{default:()=>rF});var aS,Ma,ug,sS,Ra,rF,W8=y(()=>{aS=X(ue(),1),J(),Tn(),q(),Le(),K(),I(),j(),Ht(),D(),Ma="declaration-property-unit-allowed-list",ug=O(Ma,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ra=(e,t)=>(r,n)=>{T(n,Ma,{actual:e,possible:[Bt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,aS.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||F(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=jn(c);if(!d||u.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,m=p+c.value.length;P({message:ug.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Ma})})})},Ra.ruleName=Ma,Ra.messages=ug,Ra.meta=sS,rF=Ra}),nF={};A(nF,{default:()=>iF});var lS,$a,cg,uS,Ba,iF,_8=y(()=>{lS=X(ue(),1),J(),Tn(),q(),Ad(),Le(),V(),I(),j(),Ht(),D(),$a="declaration-property-unit-disallowed-list",cg=O($a,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),uS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ba=e=>(t,r)=>{T(r,$a,{actual:e,possible:[Bt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,lS.default)(o).walk(u=>{if(zd(u))return!1;if(u.type==="string")return;let{unit:c}=jn(u);if(!c||!l.has(c.toLowerCase()))return;let d=ie(n)+u.sourceIndex,p=d+u.value.length;P({message:cg.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:$a})})})},Ba.ruleName=$a,Ba.messages=cg,Ba.meta=uS,iF=Ba}),oF={};A(oF,{default:()=>aF});var qa,dg,cS,Wa,aF,U8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),qa="declaration-property-value-allowed-list",dg=O(qa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),cS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Wa=e=>(t,r)=>{if(!T(r,qa,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>F(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:dg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:qa})})},Wa.ruleName=qa,Wa.messages=dg,Wa.meta=cS,aF=Wa}),sF={};A(sF,{default:()=>lF});var _a,pg,dS,Ua,lF,V8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),_a="declaration-property-value-disallowed-list",pg=O(_a,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ua=e=>(t,r)=>{if(!T(r,_a,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!F(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:pg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:_a})})},Ua.ruleName=_a,Ua.messages=pg,Ua.meta=dS,lF=Ua}),uF={};A(uF,{default:()=>cF});var pS,Va,Ep,mS,Pp,hS,fS,Qa,cF,Q8=y(()=>{pS=X(ue(),1),q(),Ir(),J(),Be(),ct(),_e(),V(),K(),I(),j(),gt(),Pr(),D(),Va="declaration-property-value-keyword-no-deprecated",Ep=O(Va,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),mS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Pp={activecaption:"canvas",appworkspace:"canvas",background:"canvas",inactivecaption:"canvas",infobackground:"canvas",menu:"canvas",scrollbar:"canvas",window:"canvas",activeborder:"ButtonBorder",inactiveborder:"ButtonBorder",threeddarkshadow:"ButtonBorder",threedhighlight:"ButtonBorder",threedlightshadow:"ButtonBorder",threedshadow:"ButtonBorder",windowframe:"ButtonBorder",captiontext:"CanvasText",infotext:"CanvasText",menutext:"CanvasText",windowtext:"CanvasText",buttonhighlight:"ButtonFace",buttonshadow:"ButtonFace",threedface:"ButtonFace",inactivecaptiontext:"GrayText"},hS=[...Ev.values()].map(e=>[e,Pp]),fS=new Map([["appearance",{button:"auto",checkbox:"auto",listbox:"auto",menulist:"auto",meter:"auto","progress-bar":"auto","push-button":"auto",radio:"auto",searchfield:"auto","slider-horizontal":"auto","square-button":"auto",textarea:"auto"}],["image-rendering",{optimizeQuality:"smooth",optimizeSpeed:"pixelated"}],["overflow",{overlay:"auto"}],["overflow-x",{overlay:"auto"}],["overflow-y",{overlay:"auto"}],["text-justify",{distribute:"inter-character"}],["text-orientation",{"sideways-right":"sideways"}],["user-select",{element:"contain"}],["zoom",{reset:"1"}],["border-color",Pp],["scrollbar-color",Pp],["text-decoration",["blink"]],["text-decoration-line",["blink"]],["box-sizing",["padding-box"]],["image-orientation",["flip"]],["min-height",["intrinsic","min-intrinsic"]],["min-width",["intrinsic","min-intrinsic"]],["max-height",["intrinsic","min-intrinsic"]],["max-width",["intrinsic","min-intrinsic"]],["height",["intrinsic","min-intrinsic"]],["width",["intrinsic","min-intrinsic"]],["word-break",["break-word"]],...hS]),Qa=(e,t)=>(r,n)=>{T(n,Va,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!ut(i)||F(t,"ignoreKeywords",a))return;let s=fS.get(o.toLowerCase());if(!s)return;let l=(0,pS.default)($e(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Re(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Tw.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=Ep.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=Ep.expected,b=[d,x],v=()=>{c.value=x,ft(i,l.toString())}}let g=ie(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Va,index:g,endIndex:f,fix:{apply:v,node:i}})})})},Qa.ruleName=Va,Qa.messages=Ep,Qa.meta=mS,cF=Qa});function Y8(e){return gF?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function G8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===ot&&e.source.codePointAt(e.cursor+3)===ot}function Gt(e){return e>=48&&e<=57}function K8(e){return e>=65&&e<=90}function H8(e){return e>=97&&e<=122}function Mi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function X8(e){return H8(e)||K8(e)}function Yi(e){return X8(e)||J8(e)||e===95}function Nk(e){return Yi(e)||Gt(e)||e===ot}function J8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Gi(e)||e>=65536}function Z8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Wm(e){return e===zn||e===Cn||e===12}function wn(e){return e===32||e===zn||e===9||e===Cn||e===12}function Gi(e){return e>=55296&&e<=57343}function so(e){var t;return e.source.codePointAt(e.cursor)===92&&!Wm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function _m(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Yi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Wm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Yi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||so(t)}function gS(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===An||e.source.codePointAt(e.cursor)===ot?!!Gt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Gt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Gt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Gt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function e7(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function t7(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function r7(e){switch(e){case C.OpenParen:return C.CloseParen;case C.CloseParen:return C.OpenParen;case C.OpenCurly:return C.CloseCurly;case C.CloseCurly:return C.OpenCurly;case C.OpenSquare:return C.CloseSquare;case C.CloseSquare:return C.OpenSquare;default:return null}}function n7(e){switch(e[0]){case C.OpenParen:return[C.CloseParen,")",-1,-1,void 0];case C.CloseParen:return[C.OpenParen,"(",-1,-1,void 0];case C.OpenCurly:return[C.CloseCurly,"}",-1,-1,void 0];case C.CloseCurly:return[C.OpenCurly,"{",-1,-1,void 0];case C.OpenSquare:return[C.CloseSquare,"]",-1,-1,void 0];case C.CloseSquare:return[C.OpenSquare,"[",-1,-1,void 0];default:return null}}function i7(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Ah(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new nd(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Rr;if(Mi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Mi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();wn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Gi(a)||a>1114111?Rr:a}return r===0||Gi(r)?Rr:r}function Nh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Gi(i))r.push(Rr),t.advanceCodePoint(+(i>65535)+1);else if(Nk(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!so(t))return r;t.advanceCodePoint(),r.push(Ah(e,t))}}}function o7(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Nk(r)||so(t))){let n=Um.Unrestricted;_m(0,t)&&(n=Um.ID);let i=Nh(e,t);return[C.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[C.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function a7(e,t){var n,i,o,a,s,l;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==An&&t.source.codePointAt(t.cursor)!==ot||t.advanceCodePoint();Gt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Gt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Gt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Gt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==ot&&t.source.codePointAt(t.cursor+1)!==An||!Gt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Gt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function mg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===An&&(r="+")}let n=a7(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(_m(0,t)){let o=Nh(e,t);return[C.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[C.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[C.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function s7(e){var t;for(;wn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[C.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function l7(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Wm(o)){t.unreadCodePoint();let a=[C.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Gi(o)?r+=String.fromCodePoint(Rr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Wm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Ah(e,t))}}}function u7(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function hg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();so(t)?(t.advanceCodePoint(),Ah(e,t)):t.advanceCodePoint()}}function c7(e,t){var n,i,o,a;for(;wn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(wn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();wn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(hg(e,t),[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let s=t.source.codePointAt(t.cursor);if(s===34||s===39||s===40||Z8(s!=null?s:-1)){hg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(so(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Ah(e,t));continue}hg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Gi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Rr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function fg(e,t){var n,i;let r=Nh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[C.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(u7(r)){t.advanceCodePoint();let o=0;for(;;){let a=wn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=wn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return c7(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function d7(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==An||e.source.codePointAt(e.cursor+2)!==63&&!Mi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function p7(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Mi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===ot&&Mi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Mi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:l,endOfRange:l}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function St(e,t){let r=dF(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function dF(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new bF(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:m7};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[C.EOF,"",-1,-1,void 0];if(l===47&&e7(i))return i7(o,i);if(n&&(l===117||l===85)&&d7(i))return p7(0,i);if(Yi(l))return fg(o,i);if(Gt(l))return mg(o,i);switch(l){case 44:return i.advanceCodePoint(),[C.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[C.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[C.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[C.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[C.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[C.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[C.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[C.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[C.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return l7(o,i);case 35:return o7(o,i);case An:case 46:return gS(i)?mg(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case zn:case Cn:case 12:case 9:case 32:return s7(i);case ot:return gS(i)?mg(o,i):t7(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):_m(0,i)?fg(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return G8(i)?(i.advanceCodePoint(4),[C.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[C.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),_m(0,i)){let u=Nh(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(so(i))return fg(o,i);i.advanceCodePoint();let u=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new kr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.source.codePointAt(i.cursor)===void 0}}}function m7(){}function h7(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...pF(r));e[1]=n,e[4].value=t}function Eh(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=pF(r);n[0]===101&&Ey(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function pF(e){let t=0;if(e[0]===0)e.splice(0,1,Rr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Yi(e[1])||(t+=Ey(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Yi(e[0])?t=1:(t=1,t+=Ey(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Nk(e[r])||(r+=f7(e,r,e[r])):(e.splice(r,1,Rr),r++);return e}function f7(e,t,r){return e.splice(t,1,92,r),1}function Ey(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function rd(e){return!!Array.isArray(e)&&!(e.length<4)&&!!vF.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function Et(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function mF(e){return!!e&&e[0]===C.Colon}function rn(e){return!!e&&e[0]===C.Comma}function Ph(e){return!!e&&e[0]===C.Comment}function qt(e){return!!e&&e[0]===C.Delim}function Ee(e){return!!e&&e[0]===C.Dimension}function Kt(e){return!!e&&e[0]===C.EOF}function g7(e){return!!e&&e[0]===C.Function}function Ye(e){return!!e&&e[0]===C.Ident}function Ae(e){return!!e&&e[0]===C.Number}function Ge(e){return!!e&&e[0]===C.Percentage}function hF(e){return!!e&&e[0]===C.Semicolon}function b7(e){return!!e&&e[0]===C.String}function v7(e){return!!e&&e[0]===C.URL}function Ek(e){return!!e&&e[0]===C.Whitespace}function lo(e){return!!e&&e[0]===C.OpenParen}function y7(e){return!!e&&e[0]===C.CloseParen}function w7(e){return!!e&&e[0]===C.OpenSquare}function fF(e){return!!e&&e[0]===C.OpenCurly}var nd,kr,ir,gF,Cn,ot,zn,An,Rr,C,ne,Um,bF,vF,rt=y(()=>{nd=class extends Error{constructor(t,r,n,i){super(t);U(this,"sourceStart");U(this,"sourceEnd");U(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},kr=class extends nd{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},gF=typeof globalThis<"u"&&"structuredClone"in globalThis,Cn=13,ot=45,zn=10,An=43,Rr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(C||(C={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Um||(Um={})),bF=class{constructor(e){U(this,"cursor",0);U(this,"source","");U(this,"representationStart",0);U(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},vF=Object.values(C)});function Ei(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function Ih(e,t){let r=t[0];if(lo(r)||fF(r)||w7(r)){let n=x7(e,t);return{advance:n.advance,node:n.node}}if(g7(r)){let n=k7(e,t);return{advance:n.advance,node:n.node}}if(Ek(r)){let n=yF(e,t);return{advance:n.advance,node:n.node}}if(Ph(r)){let n=S7(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new pe(r)}}function k7(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new nd("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new $t(t[0],i,r)};if(y7(i))return{advance:n+1,node:new $t(t[0],i,r)};if(Et(i)){let a=wF(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Ih(e,t.slice(n));n+=o.advance,r.push(o.node)}}function x7(e,t){let r=r7(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new nd("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Vm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Vm(t[0],o,n)};if(Et(o)){let s=wF(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Ih(e,t.slice(i));i+=a.advance,n.push(a.node)}}function yF(e,t){let r=0;for(;;){let n=t[r];if(!Ek(n))return{advance:r,node:new Ot(t.slice(0,r))};r++}}function S7(e,t){return{advance:1,node:new Oh(t[0])}}function wF(e,t){let r=[],n=0;for(;;){if(Ek(t[n])){let i=yF(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Ph(t[n]))return{advance:n,nodes:r};r.push(new Oh(t[n])),n++}}function uo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=Ih(r,n.slice(o));i.push(s.node),o+=s.advance}}function kF(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=Ih(r,e.slice(a));o.push(l.node),a+=l.advance}}function C7(e,t,r){if(e.length===0)return;let n=Ei(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function Dn(e,t,r){e.length!==0&&C7(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function xF(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Dr(e){return Vm.isSimpleBlockNode(e)}function He(e){return $t.isFunctionNode(e)}function id(e){return Ot.isWhitespaceNode(e)}function Pk(e){return Oh.isCommentNode(e)}function It(e){return id(e)||Pk(e)}function le(e){return pe.isTokenNode(e)}function Wt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Wt(i)[0],Wt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Ie,gg,$t,Vm,Ot,Oh,pe,Ct=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Ie||(Ie={})),gg=class{constructor(){U(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=Ei(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},$t=class Py extends gg{constructor(r,n,i){super();U(this,"type",Ie.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Py.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Py&&r.type===Ie.Function}},Vm=class Iy extends gg{constructor(r,n,i){super();U(this,"type",Ie.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=n7(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Iy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Iy&&r.type===Ie.SimpleBlock}},Ot=class Oy{constructor(t){U(this,"type",Ie.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Oy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof Oy&&t.type===Ie.Whitespace}},Oh=class jy{constructor(t){U(this,"type",Ie.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return jy.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof jy&&t.type===Ie.Comment}},pe=class Ty{constructor(t){U(this,"type",Ie.Token);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return Ty.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Ty&&t.type===Ie.Token}}});function jt(e){return e.replace(zF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function ht(e,t){if(!Ee(e)||!Ee(t))return t;let r=jt(e[4].unit),n=jt(t[4].unit);if(r===n)return t;let i=jk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[C.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return Eh(s,e[4].unit),s}function z7(e){if(!Ee(e))return e;let t=jt(e[4].unit),r=AF[t];if(t===r)return e;let n=jk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[C.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return Eh(a,r),a}function A7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value+n[4].value;return new pe([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value+n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value+n[4].value;return new pe([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ok(od.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function N7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function xt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(le(i)){r.push(i);continue}let o=xt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function E7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ge(r)){let n=t[4].value*r[4].value;return new pe([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([C.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:t[4].unit}])}if(Ae(t)&&Ee(r)){let n=t[4].value*r[4].value;return new pe([C.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return-1}function Ki(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Ye(i))continue;let o=jt(i[4].value);switch(o){case"e":e.splice(r,1,new pe([C.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new pe([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new pe([C.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new pe([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new pe([C.Number,"NaN",i[2],i[3],{value:Number.NaN,type:ne.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new pe(a))}}}return e}function jh(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function mt(e,t,r){return Ee(t)?Nd(e,t[4].unit,r):Ge(t)?P7(e,r):Ae(t)?Ar(e,r):-1}function Nd(e,t,r){let n=e.tokens();return{inputs:[new pe([C.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?ne.Integer:ne.Number,unit:t}])],operation:jh}}function P7(e,t){let r=e.tokens();return{inputs:[new pe([C.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:jh}}function Ar(e,t){let r=e.tokens();return{inputs:[new pe([C.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:jh}}function I7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.acos(r[4].value)):-1}function O7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.asin(r[4].value)):-1}function j7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.atan(r[4].value)):-1}function Th(e){return Ee(e)||Ae(e)}function Ik(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=jt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==jt(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&jt(e[4].unit)===jt(t[4].unit):e[0]===t[0])}function T7(e,t,r){let n=t.value;if(!Th(n))return-1;let i=ht(n,r.value);return Nr(n,i)?Nd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function D7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:mt(e,n,Math.abs(n[4].value))}function L7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,r.value);if(!Nr(o,a))return-1;let s=ht(o,n.value);return Nr(o,s)?mt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function F7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function M7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.exp(r[4].value)):-1}function R7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return mt(e,n,a)}function bS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return mt(e,n,a)}function vS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ik(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return mt(e,n,a)}function $7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function B7(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function q7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function SF(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[C.Dimension,`${n}px`,t[2],t[3],{value:n,type:ne.Integer,unit:"px"}],o=ht(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return mt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return mt(e,t,ht(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,mt(e,t,ht(t,o)[4].value)}return mt(e,t,t[4].value)}function W7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=xt(mt(e,o,s),i);return p===-1?-1:SF(e,p.value,i)}break}}else s=Number.NaN;return mt(e,o,s)}function _7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:Ar(e,Math.sign(n[4].value))}function U7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function V7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.sqrt(r[4].value)):-1}function Q7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":i=Ly.get("deg")(n);break;case"deg":i=n,o=ad.get("rad")(n);break;case"grad":i=Hi.get("deg")(n),o=Hi.get("rad")(n);break;case"turn":i=Xi.get("deg")(n),o=Xi.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function Y7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value-n[4].value;return new pe([C.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value-n[4].value;return new pe([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value-n[4].value;return new pe([C.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ok(od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function G7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ae(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!le(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ae(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function Dy(e){if(Array.isArray(e)){let r=e.filter(n=>!(id(n)&&Pk(n)));return r.length===1&&Dy(r[0])}if(!le(e))return!1;let t=e.value;return!!Ye(t)&&NF.test(t[4].value)}function K7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=ht(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=ht(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return mt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return mt(e,a,a[4].value);let u=t.fixed===-1?H7(X7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(EF))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let f=c+b;if(!(f+v<d)){h.push(d);break}if(h.push(f),f+l[4].value-v>d)break}let g=u();return mt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return mt(e,a,Number((p*(d-c)+c).toFixed(5)))}function H7(e=.34944106645296036,t=.19228640875738723,r=.8784393832007205,n=.04850964319275053){return()=>{let i=((e|=0)+(t|=0)|0)+(n|=0)|0;return n=n+1|0,e=t^t>>>9,t=(r|=0)+(r<<3)|0,r=(r=r<<21|r>>>11)+i|0,(i>>>0)/4294967296}}function X7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function kt(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:jh};let i=0;for(;i<n.length;){let o=n[i];if(Dr(o)&&lo(o.startToken)){let a=kt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(He(o)){let a=Qm.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:N7}):n.splice(i,3,{inputs:[o,l],operation:E7})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:Y7}):n.splice(i,3,{inputs:[o,l],operation:A7})}return n.length===1&&un(n[0])?n[0]:-1}function br(e,t,r,n){let i=J7(e,t,r);return i===-1?-1:n(e,i,r)}function J7(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t),i=xt(kt(Rt(e,n),t,r),r);return i===-1?-1:i}function Ip(e,t,r,n){let i=Z7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function Z7(e,t,r){let n=Ki([...e.value.filter(l=>!It(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(le(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=xt(kt(Rt(e,i),t,r),r);if(a===-1)return-1;let s=xt(kt(Rt(e,o),t,r),r);return s===-1?-1:[a,s]}function Op(e,t,r,n){let i=CF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function CF(e,t,r,n){let i=Ki([...t.filter(a=>!It(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];le(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=xt(kt(Rt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function eU(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Ye(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!le(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Ye(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=xt(kt(Rt(e,[u]),r,n),n);if(c===-1||!Ae(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Rt(e,t){return new $t([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function tU(e,t,r){return new $t([C.Function,"max(",e.name[2],e.name[3],{value:"max"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new pe([C.Comma,",",...Wt(t),void 0]),r])}function rU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Ge(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function nU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ae(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new $t([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new pe([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[C.Whitespace," ",t[2],t[3],void 0]]),new pe([C.Percentage,"1%",t[2],t[3],{value:1}])])}function iU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ge(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function oU(e,t=13){if(e===-1)return-1;if(t<=0||He(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ge(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function aU(e){return e===-1?-1:(He(e)||Ee(e.value)&&(e.value=z7(e.value)),e)}function sU(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=aU(r)),r=oU(r,t==null?void 0:t.precision),r=iU(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=rU(r),r=nU(r)),r}function lU(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(rd(n))t.set(r,n);else if(typeof n=="string"){let i=dF({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function uU(e,t){let r=lU(t==null?void 0:t.globals);return cU(e,n=>{if(!He(n))return;let i=Qm.get(n.getName().toLowerCase());if(!i)return;let o=sU(xt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function cU(e,t){for(let r=0;r<e.length;r++){let n=e[r];Dn(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];le(l)&&qt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Ot([[C.Whitespace," ",...Wt(i.node),void 0]]));let u=i.parent.value[o+1];!u||It(u)||le(u)&&(rn(u.value)||mF(u.value)||hF(u.value)||qt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Ot([[C.Whitespace," ",...Wt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var yS,Ok,od,zF,AF,wS,ad,Hi,kS,xS,SS,CS,zS,AS,NS,ES,PS,Ly,IS,Xi,jk,NF,EF,Qm,OS,dU,pU=y(()=>{Ct(),rt(),yS=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Ok=class extends yS{constructor(t,r){super(t,...Wt(r));U(this,"componentValues");this.componentValues=r}},od={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},zF=/[A-Z]/g,AF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},wS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),ad=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Hi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),kS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),xS=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),SS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),CS=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),zS=new Map([["ms",e=>e],["s",e=>e/1e3]]),AS=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),NS=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),ES=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),PS=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),Ly=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),IS=new Map([["ms",e=>1e3*e],["s",e=>e]]),Xi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),jk=new Map([["cm",wS],["mm",CS],["q",PS],["in",xS],["pc",AS],["pt",NS],["px",ES],["ms",zS],["s",IS],["deg",ad],["grad",Hi],["rad",Ly],["turn",Xi],["hz",kS],["khz",SS]]),NF=/^none$/i,EF=String.fromCodePoint(0),Qm=new Map([["abs",function(e,t,r){return br(e,t,r,D7)}],["acos",function(e,t,r){return br(e,t,r,I7)}],["asin",function(e,t,r){return br(e,t,r,O7)}],["atan",function(e,t,r){return br(e,t,r,j7)}],["atan2",function(e,t,r){return Ip(e,t,r,T7)}],["calc",kt],["clamp",function(e,t,r){let n=Ki([...e.value.filter(h=>!It(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let g=n[b];if(le(g)&&rn(g.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(g)}}let s=Dy(i),l=Dy(a);if(s&&l)return kt(Rt(e,o),t,r);let u=xt(kt(Rt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=xt(kt(Rt(e,a),t,r),r);return h===-1?-1:vS((c=e,d=u,p=h,new $t([C.Function,"min(",c.name[2],c.name[3],{value:"min"}],[C.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new pe([C.Comma,",",...Wt(d),void 0]),p])),[u,h],r)}if(l){let h=xt(kt(Rt(e,i),t,r),r);return h===-1?-1:bS(tU(e,h,u),[h,u],r)}var c,d,p;let m=xt(kt(Rt(e,i),t,r),r);if(m===-1)return-1;let v=xt(kt(Rt(e,a),t,r),r);return v===-1?-1:L7(e,m,u,v,r)}],["cos",function(e,t,r){return br(e,t,r,F7)}],["exp",function(e,t,r){return br(e,t,r,M7)}],["hypot",function(e,t,r){return Op(e,t,r,R7)}],["log",function(e,t,r){return Op(e,t,r,G7)}],["max",function(e,t,r){return Op(e,t,r,bS)}],["min",function(e,t,r){return Op(e,t,r,vS)}],["mod",function(e,t,r){return Ip(e,t,r,$7)}],["pow",function(e,t,r){return Ip(e,t,r,B7)}],["random",function(e,t,r){let n=eU(e,e.value.filter(c=>!It(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=CF(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:K7(e,i,s,l,u,r)}],["rem",function(e,t,r){return Ip(e,t,r,q7)}],["round",function(e,t,r){let n=Ki([...e.value.filter(c=>!It(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&le(p)&&Ye(p.value)){let m=p.value[4].value.toLowerCase();if(OS.has(m)){i=m;continue}}if(le(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=xt(kt(Rt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=ht([C.Dimension,"1px",l.value[2],l.value[3],{value:1,type:ne.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:SF(e,l.value,r);s.push(new pe([C.Number,"1",l.value[2],l.value[3],{value:1,type:ne.Integer}]))}let u=xt(kt(Rt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),W7(e,i,l,u,r))}],["sign",function(e,t,r){return br(e,t,r,_7)}],["sin",function(e,t,r){return br(e,t,r,U7)}],["sqrt",function(e,t,r){return br(e,t,r,V7)}],["tan",function(e,t,r){return br(e,t,r,Q7)}]]),OS=new Set(["nearest","line-width","up","down","to-zero"]),dU=new Set(Qm.keys())}),PF,mU=y(()=>{PF={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function hU(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=fU(t,i))}return t}function fU(e,t){let r={};return r.atrules=gU(e.atrules,t.atrules),r.properties=Fy(e.properties,t.properties),r.types=Fy(e.types,t.types),r.cssWideKeywords=bU(e.cssWideKeywords,t.cssWideKeywords),r.units=vU(e.units,t.units),r}function gU(e,t){var n,i;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r=structuredClone(e);for(let[o,a]of Object.entries(t)){let s=(i=r[o])!=null?i:{};s.prelude=wU(s.prelude,a.prelude),s.descriptors=Fy(s.descriptors,a.descriptors),r[o]=s}return r}function Fy(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t))r[i]=yU(r[i],o);return r}function bU(e,t){var r;return typeof e>"u"||typeof t>"u"?(r=e!=null?e:t)!=null?r:[]:Array.from(new Set([...e,...t]))}function vU(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t)){let a=r[i];r[i]=a?Array.from(new Set([...a,...o])):o}return r}function yU(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function wU(e,t){if(typeof e>"u"||typeof t>"u")return e!=null?e:t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}var kU=y(()=>{});function IF(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=ML.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=My.get(n);if(i)return i;let{lexer:o}=zk(hU(OF,r));return My.set(n,o),o}var OF,My,jF=y(()=>{On(),mU(),kU(),{next:OF}=PF,My=new Map});function xU(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Tk;)r=r.parent}var Tk,SU=y(()=>{me(),Tk="STOP"});function Ji(e,t){let r;return xU(e,n=>{if(t(n))return r=n,Tk}),r}var Ed=y(()=>{SU()});function TF(e){return!!Ji(e,CU)}function CU(e){return Oe(e)&&!$c.has(e.name.toLowerCase())}var DF=y(()=>{Ed(),me(),no()});function LF(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var FF=y(()=>{Le()}),MF={};A(MF,{default:()=>BF});function RF(e){return!!Ck(e,t=>t.type==="Function"&&$F.has(t.name.toLowerCase()))}function zU(e){let t=!1;return Dn(e,({node:r})=>{if(!(!He(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===C.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function AU(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=uo(St({css:e}),{});if(zU(i))return["skip-validation",-1,-1];let o=[],a=uU([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case od.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=xF(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=qr(s,{context:"value",positions:!0});if(RF(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,h,b;return m.forEach(g=>{d===v&&(h=g),v+=g[1].length,p===v&&(b=g)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var vr,Yn,jS,TS,$F,bg,vg,Ya,BF,NU=y(()=>{pU(),rt(),On(),Ct(),V(),q(),J(),zw(),Be(),jF(),pr(),me(),DF(),ct(),jr(),_e(),FF(),I(),j(),Ht(),Ak(),D(),vr="declaration-property-value-no-unknown",Yn=O(vr,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),jS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},TS=/^syntax$/i,$F=new Set(["clamp","min","max","env"]),bg=new WeakMap,vg=1e4,Ya=(e,t)=>(r,n)=>{var c;if(!T(n,vr,{actual:e},{actual:t,possible:{ignoreProperties:[Bt($,_)],propertiesSyntax:[qm($)],typesSyntax:[qm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Mc(`We've deprecated the "propertiesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Mc(`We've deprecated the "typesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(d,p)=>LF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(Se.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!yt(p))){for(let m of d.nodes)if(to(m)&&TS.test(m.prop)){let v=m.value.trim(),h=nD.decode(v);if(h===v||h==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=h}}});let l=Object.keys(o).length>0||Object.keys(a).length>0?IF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=bg.get(l);u||(u=new Set,bg.set(l,u)),r.walkDecls(d=>{var N;let{prop:p}=d,m=$e(d);if(/^-moz-initial$/i.test(m)||!ut(d)||TF(d)||!Or(p)||!Re(m)||yt(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=yt(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=AU(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<vg&&u.add(v);return}if(h==="invalid"){let B=ie(d),te=m,re=B,ve=re+te.length;b!==-1&&g!==-1&&(te=m.slice(b,g),re=B+b,ve=re+te.length),P({message:Yn.rejectedMath,messageArgs:[p,te],node:d,index:re,endIndex:ve,result:n,ruleName:vr});return}let f;try{if(f=qr(m,{context:"value",positions:!0}),RF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ie(d),te=B+m.length;P({message:Yn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:te,result:n,ruleName:vr});return}let{error:x}=l.matchProperty((N=s.get(p))!=null?N:p,f);if(!x){v&&u.size<vg&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ie(d),z=m.slice(S.start.offset,S.end.offset),L=Ck(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(L!=null&&L.loc){let B=m.slice(L.loc.start.offset,L.loc.end.offset),te=E+L.loc.start.offset,re=te+B.length;P({message:Yn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:re,result:n,ruleName:vr});return}P({message:Yn.rejected,messageArgs:[p,z],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:vr})})},Ya.ruleName=vr,Ya.messages=Yn,Ya.meta=jS,BF=Ya}),qF={};A(qF,{default:()=>VF});function DS(e){return WF.test(e)?1:_F.test(e)?2:UF.test(e)?3:0}function EU(e,t){return DS(e)-DS(t)}function PU(e){return e.map(t=>t[4].value).sort(EU).join(" ").toLowerCase()}function IU(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Ph),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([C.Whitespace," ",-1,-1,void 0]),u.push([C.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var Ga,yg,LS,WF,_F,UF,FS,MS,RS,Ka,VF,OU=y(()=>{rt(),Ke(),J(),Be(),_e(),V(),I(),j(),gt(),D(),Ga="display-notation",yg=O(Ga,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),LS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},WF=new RegExp(`^(?:${[...Dw.values()].join("|")})$`,"i"),_F=new RegExp(`^(?:${[...Lw.values()].join("|")})$`,"i"),UF=new RegExp(`^(?:${[...Fw.values()].join("|")})$`,"i"),FS=/^display$/i,MS={"block list-item":["block","flow","list-item"],block:["block","flow"],flex:["block","flex"],"flow list-item":["block","flow","list-item"],flow:["block","flow"],"flow-root":["block","flow-root"],grid:["block","grid"],"inline list-item":["inline","flow","list-item"],inline:["inline","flow"],"inline-block":["inline","flow-root"],"inline-flex":["inline","flex"],"inline-grid":["inline","grid"],"inline-table":["inline","table"],"list-item":["block","flow","list-item"],ruby:["inline","ruby"],"run-in":["run-in","flow"],table:["block","table"]},RS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Ka=e=>(t,r)=>{T(r,Ga,{actual:e,possible:["short","full"]})&&t.walkDecls(FS,n=>{let i=$e(n);if(!Q.displayKeyword.test(i)||!Re(i))return;let o=St({css:i});if(o.some(p=>!(Et(p)||Kt(p)||Ye(p))))return;let a=o.filter(Ye);if(!a.length)return;let s=PU(a),l=e==="short"?RS[s]:MS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ie(n);P({message:yg.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ga,fix:{apply:()=>{ft(n,IU(o,u,c,l))},node:n}})})},Ka.ruleName=Ga,Ka.messages=yg,Ka.meta=LS,VF=Ka});function nm(e){return e.toString().trim().length!==0&&Number(e)==e}var QF=y(()=>{});function $S(e){if(!e)return!1;if(wm.has(e))return!0;let t=YF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||qi.has(r.toLowerCase()))}var YF,jU=y(()=>{YF=X(ue(),1),Ke(),oo()});function Pd(e){return e.toLowerCase().startsWith("var(")}var Id=y(()=>{});function TU(e,t,r){return e.value=e.value+r+t.value,e}function Dk(e){let t=[],r=(0,GF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!KF.has(a.type))return;let u=a.value.toLowerCase();if(!Re(u)||Pd(u))return;let c=Zr.has(u);if(!c&&Mw.has(u)||!c&&$S(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&wm.has(u)&&!(!d||Ry(d)||v.find(Ry))||p&&p.value==="/"&&m&&$S(m.value)||nm(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];We(b),TU(b,h,o),i=!1,o=null}else t.push(h)}),t}var GF,KF,Ry,Lk=y(()=>{GF=X(ue(),1),Ke(),q(),QF(),_e(),jU(),Id(),KF=new Set(["word","string","space","div"]),Ry=e=>e.type==="div"&&e.value===","}),HF={};A(HF,{default:()=>XF});function DU(e){return!!(hN.has(e)||e==="BlinkMacSystemFont")}function LU(e){return!/^[-a-z]+$/i.test(e)}function FU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ha,wg,BS,qS,Xa,XF,MU=y(()=>{Ke(),Lk(),_e(),Id(),V(),I(),j(),D(),Ha="font-family-name-quotes",wg=O(Ha,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),BS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},qS=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Xa=e=>(t,r)=>{if(!T(r,Ha,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(dr.fontFamilyAndShorthandName,o=>{if(!Re(o.value))return;let a=qS(Dk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(Pd(l))return;if(Zr.has(s.toLowerCase())||DU(s))return u?i("rejected",o,a):void 0;let c=FU(s),d=LU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ha,message:wg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Xa.ruleName=Ha,Xa.messages=wg,Xa.meta=BS,XF=Xa}),JF={};A(JF,{default:()=>ZF});var Ja,kg,WS,_S,Za,ZF,RU=y(()=>{q(),J(),Lk(),Ke(),K(),V(),I(),j(),D(),Ja="font-family-no-duplicate-names",kg=O(Ja,{rejected:e=>`Duplicate font-family name "${e}"`}),WS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},_S=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),Za=(e,t)=>(r,n)=>{if(!T(n,Ja,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Dk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(F(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(_S(u)){if(a.has(c.toLowerCase())){i(c,ie(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Ja,message:kg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Za.ruleName=Ja,Za.messages=kg,Za.meta=WS,ZF=Za}),eM={};A(eM,{default:()=>tM});var es,xg,US,VS,QS,ts,tM,$U=y(()=>{gd(),q(),Ke(),J(),Lk(),me(),_e(),Id(),K(),V(),I(),j(),D(),es="font-family-no-missing-generic-family-keyword",xg=O(es,{rejected:"Missing generic font family"}),US={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},VS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),QS=e=>{let t=_i.list.comma(e).pop();return t!=null&&(Pd(t)||!Re(t))},ts=(e,t)=>(r,n)=>{if(!T(n,es,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&mN.has(o.value.toLowerCase())||QS(o.value))return;let s=Dk(o.value);if(s.length===0||s.some(p=>VS(p))||s.some(p=>F(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];We(l);let u=ie(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:es,message:xg.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},ts.ruleName=es,ts.messages=xg,ts.meta=US,tM=ts}),rM={};A(rM,{default:()=>nM});function $y(e){return e!==void 0&&e.type==="div"}function BU(e,t,r){return!(e.type!=="word"||$y(r[t-1])||$y(r[t+1]))}var YS,rs,ns,GS,KS,HS,Sg,is,nM,qU=y(()=>{YS=X(ue(),1),Ke(),V(),q(),J(),Be(),QF(),_e(),Id(),K(),I(),j(),gt(),D(),rs="font-weight-notation",ns=O(rs,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),GS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},KS="normal",HS=new Map([["normal","400"],["bold","700"]]),Sg=new Map([["400","normal"],["700","bold"]]),is=(e,t)=>(r,n)=>{if(!T(n,rs,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=F(t,"ignore","relative");r.walkDecls(dr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,YS.default)($e(a)),u=l.nodes,c=u.some((d,p,m)=>nm(d.value)&&!$y(m[p-1]));for(let[d,p]of u.entries()){if(!BU(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===KS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Re(u)||Pd(u))return;let c=u.toLowerCase();if(i&&vm.has(c))return;let d=m=>()=>{s.value=m,ft(a,l.toString())};if(e==="numeric"){if(!nm(c)&&ym.has(c)){let m=HS.get(c);return m?p(ns.expectedWithActual,[u,m],s,d(m)):p(ns.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&nm(c)&&Sg.has(c)){let m=Sg.get(c);eo(m);let v=d(m);return p(ns.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ie(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:rs,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},is.ruleName=rs,is.messages=ns,is.meta=GS,nM=is}),iM={};A(iM,{default:()=>oM});function WU(e){let t=e.prop.toLowerCase();if(yt(t))return!1;let r=e.prev();for(;r;){if(r.type==="decl"&&r.prop.toLowerCase()===t)return!0;r=r.prev()}return!1}var XS,os,Cg,JS,Gn,oM,_U=y(()=>{XS=X(ue(),1),q(),J(),pr(),Sd(),Le(),I(),j(),D(),os="function-allowed-list",Cg=O(os,{rejected:e=>`Disallowed function "${e}"`}),JS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Gn=(e,t)=>(r,n)=>{var o;if(!T(n,os,{actual:e,possible:[$,_]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,_]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,XS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!xd(s)||Pe(c,e)&&(!Pe(c,i)||WU(a)))return;let d=ie(a)+u,p=d+c.length;P({message:Cg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:os})})})},Gn.primaryOptionArray=!0,Gn.ruleName=os,Gn.messages=Cg,Gn.meta=JS,oM=Gn}),aM={};A(aM,{default:()=>cM});function UU(e){let t=St({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;Eh(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=St({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!qt(r)||r[4].value!=="#")return;let i=t[n+1];if(!fF(i))return;let o=t[n+2];!qt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),uo(t)}function ZS(e){if(Dr(e))return!0;if(He(e)){let t=e.getName().toLowerCase();return!!(io.has(t)||t==="var")}return le(e)?lM.has(e.value[0]):!1}function jp(e=" "){return new Ot([[C.Whitespace,e,-1,-1,void 0]])}function VU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;It(s);)s=e.value[++t];for(ZS(s)&&(r=s,s=e.value[++t]);It(s);)i.push(s),s=e.value[++t];for(le(s)&&qt(s.value)&&sM.has(s.value[4].value)&&(a=s,s=e.value[++t]);It(s);)o.push(s),s=e.value[++t];for(ZS(s)&&(n=s,s=e.value[++t]);It(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||hF(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new uM(r,i,n,o,a),t]}var as,cn,eC,sM,tC,rC,ss,lM,uM,cM,QU=y(()=>{var e,By,r;Ct(),rt(),J(),Be(),Ir(),V(),I(),j(),gt(),D(),q(),as="function-calc-no-unspaced-operator",cn=O(as,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),eC={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},sM=new Set(["+","-"]),tC=new RegExp(`^(?:${[...io].join("|")})$`,"i"),rC=/\n|\r\n/,ss=n=>(i,o)=>{if(!T(o,as,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:as,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=$e(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=UU(l);if(u.length===0)return;let c=ie(s),d=()=>ft(s,xF([u]));function p(h,b,g){b[g].some(id)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,g),d()})}function m(h,b){if(le(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=g;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Eh(g,k)))return}if(Ye(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>h7(g,k)))return}}if(le(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(h,b){h[b].forEach(g=>{if(!id(g))return;let f=g.toString();if(f===" ")return;let x=f.search(rC);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=jp(x===-1?" ":f.slice(x)).value,d()})})}Dn(u,({node:h,state:b})=>{if(!b)return;if(He(h))b.inMathFunction=tC.test(h.getName().toLowerCase());else if(!Dr(h)||!lo(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=VU(h,g),!f){g++;continue}f.operator||m(h,f),f.operator&&(p(h,f,"before"),p(h,f,"after"),v(f,"before"),v(f,"after")),g=h.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},lM=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),uM=(r=class{constructor(n,i,o,a,s){ox(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Vh(this,e,By)[4].value}get operatorCharPosition(){return Vh(this,e,By)[2]}insertWhitespace(n,i){We(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,jp())}insertOperatorAfterFirstOperand(n){We(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){We(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new pe([C.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[jp()]):this.after=[jp()]}},e=new WeakSet,By=function(){var n;return We(qt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),ss.ruleName=as,ss.messages=cn,ss.meta=eC,cM=ss}),dM={};A(dM,{default:()=>pM});var nC,ls,zg,iC,Kn,pM,YU=y(()=>{nC=X(ue(),1),q(),J(),Sd(),Le(),I(),j(),D(),ls="function-disallowed-list",zg=O(ls,{rejected:e=>`Disallowed function "${e}"`}),iC={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Kn=e=>(t,r)=>{T(r,ls,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,nC.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!xd(i)||!Pe(s,e))return;let l=ie(n)+a,u=l+s.length;P({message:zg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ls})})})},Kn.primaryOptionArray=!0,Kn.ruleName=ls,Kn.messages=zg,Kn.meta=iC,pM=Kn});function Od(e,t,r){let n=(0,qy.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||_(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,qy.default)(e.slice(i.sourceIndex+o.length)).nodes;We(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var qy,jd=y(()=>{qy=X(ue(),1),q()}),mM={};A(mM,{default:()=>gM});function GU(e,t){let r=t?hM:fM,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Ag,us,Ng,oC,Eg,aC,sC,Hn,hM,fM,lC,uC,cC,cs,gM,KU=y(()=>{Ag=X(ue(),1),J(),jd(),_e(),I(),j(),D(),Dt(),us="function-linear-gradient-no-nonstandard-direction",Ng=O(us,{rejected:"Nonstandard direction"}),oC={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Eg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",aC=new RegExp(`${Eg}\\(`,"i"),sC=new RegExp(`^${Eg}$`,"i"),Hn=/top|left|bottom|right/i,hM=new RegExp(`^to (${Hn.source})(?: (${Hn.source}))?$`,"i"),fM=new RegExp(`^(${Hn.source})(?: (${Hn.source}))?$`,"i"),lC=/[\d.]/,uC=/^[\d.]+(?:deg|grad|rad|turn)$/,cC=/\bin\b/i,cs=e=>(t,r)=>{T(r,us,{actual:e})&&t.walkDecls(n=>{aC.test(n.value)&&(0,Ag.default)(n.value).walk(i=>{i.type==="function"&&Od(Ag.default.stringify(i).toLowerCase(),sC,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Re(l)||l.startsWith("var(")||cC.test(l))return;if(lC.test(l.charAt(0))){if(uC.test(l))return;c();return}if(!Hn.test(l))return;let u=!Xe.prefix(i.value);GU(l,u)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Ng.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:us})}})})})},cs.ruleName=us,cs.messages=Ng,cs.meta=oC,gM=cs}),bM={};A(bM,{default:()=>vM});var dC,ds,Pg,pC,Tp,ps,vM,HU=y(()=>{dC=X(ue(),1),q(),Ir(),J(),Be(),Sd(),_e(),K(),I(),j(),gt(),D(),ds="function-name-case",Pg=O(ds,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pC={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Tp=new Map;for(let e of dN)Tp.set(e.toLowerCase(),e);ps=(e,t)=>(r,n)=>{T(n,ds,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Re(i.value))return;let o=(0,dC.default)($e(i));o.walk(a=>{if(a.type!=="function"||!xd(a))return;let s=a.value,l=s.toLowerCase();if(F(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Tp.has(l)?u=Tp.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,ft(i,o.toString())};P({message:Pg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:ds,fix:{apply:p,node:i}})})})},ps.ruleName=ds,ps.messages=Pg,ps.meta=pC,vM=ps}),yM,XU=y(()=>{yM=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function JU(e){return e.startsWith("--")}var ZU=y(()=>{}),wM={};A(wM,{default:()=>kM});var ms,Ig,mC,hs,kM,eV=y(()=>{Ct(),XU(),rt(),q(),J(),ZU(),_e(),K(),I(),j(),D(),ms="function-no-unknown",Ig=O(ms,{rejected:e=>`Unknown function "${e}"`}),mC={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},hs=(e,t)=>(r,n)=>{T(n,ms,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Re(o)&&Dn(uo(St({css:o})),({node:a})=>{if(!He(a))return;let s=a.getName();if(JU(s)||F(t,"ignoreFunctions",s)||yM.includes(s.toLowerCase()))return;let l=ie(i),u=l+a.name[2],c=l+a.name[3];P({message:Ig.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:ms})})})},hs.ruleName=ms,hs.messages=Ig,hs.meta=mC,kM=hs});function Dh(e){return e.length===0?!0:OA(e)||DA(e)||EA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!zA(e):!(e.startsWith("@")&&xM.test(e)||e.includes("$")&&SM.test(e)&&!e.endsWith("/"))}var xM,SM,Lh=y(()=>{NA(),IA(),TA(),FA(),xM=/^@@?[\w-]+$/,SM=/^[$\s\w+\-,./*'"@#?]+$/}),CM={};A(CM,{default:()=>zM});var fs,Og,hC,jg,gs,zM,tV=y(()=>{V(),jd(),Lh(),I(),j(),D(),fs="function-url-no-scheme-relative",Og=O(fs,{rejected:"Disallowed scheme-relative url"}),hC={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},jg=(e,t,r)=>{Od(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Dh(o)||!o.startsWith("//")||P({message:Og.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:fs})})},gs=e=>(t,r)=>{T(r,fs,{actual:e})&&(t.walkDecls(n=>{jg(n,n.toString(),r)}),t.walkAtRules(Se.importName,n=>{jg(n,n.toString(),r)}))},gs.ruleName=fs,gs.messages=Og,gs.meta=hC,zM=gs}),AM={};A(AM,{default:()=>NM});var bs,Tg,fC,vs,NM,rV=y(()=>{rt(),J(),jd(),lt(),Be(),ct(),Lh(),V(),K(),I(),j(),D(),bs="function-url-quotes",Tg=O(bs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),fC={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},vs=(e,t)=>(r,n)=>{if(!T(n,bs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=F(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=f.toString();break;case"atrule":h.params=f.toString();break}}}function s(h,b,g){Od(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:E,...z}=S,L=Tg[E],N=[w.value.toLowerCase()],B=a(h,w,E,k);P({...z,node:h,fix:{apply:B,node:h},message:L,messageArgs:N,result:n,ruleName:bs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!ut(h))return;let b=$e(h),g=ie(h);s(h,b,g)}function u(h){let b=st(h),g=je(h);s(h,b,g)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,g=(k=h[0])!=null?k:"",f=h.lastIndexOf(g);f>0&&(b=h.slice(1,f));let x=St({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!v7(w)}function m(h,b){let g=h.trimStart();if(!Dh(g))return;let f=e==="always";i&&o.has(h.trim())&&(f=!f);let x=g.startsWith("'")||g.startsWith('"');if(x&&p(g)||f&&x||!f&&!x)return;let w=f?"expected":"rejected",k=b+h.length-g.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},vs.ruleName=bs,vs.messages=Tg,vs.meta=fC,NM=vs});function EM(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var PM=y(()=>{}),IM={};A(IM,{default:()=>OM});var ys,Dg,gC,Xn,OM,nV=y(()=>{q(),jd(),PM(),Lh(),Le(),I(),j(),D(),ys="function-url-scheme-allowed-list",Dg=O(ys,{rejected:e=>`Disallowed URL scheme "${e}:"`}),gC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Xn=e=>(t,r)=>{T(r,ys,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&(Pe(l,e)||P({message:Dg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ys}))})})},Xn.primaryOptionArray=!0,Xn.ruleName=ys,Xn.messages=Dg,Xn.meta=gC,OM=Xn}),jM={};A(jM,{default:()=>TM});var ws,Lg,bC,Jn,TM,iV=y(()=>{q(),jd(),PM(),Lh(),Le(),I(),j(),D(),ws="function-url-scheme-disallowed-list",Lg=O(ws,{rejected:e=>`Disallowed URL scheme "${e}:"`}),bC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Jn=e=>(t,r)=>{T(r,ws,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&Pe(l,e)&&P({message:Lg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ws})})})},Jn.primaryOptionArray=!0,Jn.ruleName=ws,Jn.messages=Lg,Jn.meta=bC,TM=Jn}),DM={};A(DM,{default:()=>LM});function oV(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(Lv.has(r))return t[0+n];if(Fv.has(r))return t[2+n]}var Fg,ks,Mg,vC,xs,LM,aV=y(()=>{Fg=X(ue(),1),Ir(),J(),Be(),_e(),V(),I(),j(),gt(),D(),ks="hue-degree-notation",Mg=O(ks,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),vC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},xs=e=>(t,r)=>{T(r,ks,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Fg.default)($e(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Iw.has(a))return;let s=oV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Fg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ie(n),h=()=>{s.value=p,ft(n,i.toString())};P({message:Mg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ks,fix:{apply:h,node:n}})})})},xs.ruleName=ks,xs.messages=Mg,xs.meta=vC,LM=xs});function FM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var MM=y(()=>{}),RM={};A(RM,{default:()=>$M});var Ss,Cs,Dp,yC,Rg,zs,$M,sV=y(()=>{Ss=X(ue(),1),J(),V(),lt(),I(),j(),MM(),D(),Cs="import-notation",Dp=O(Cs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),yC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Rg=(e,t,r)=>()=>{let n=e.params.slice(r);FM(e,`${t}${n}`)},zs=e=>(t,r)=>{if(!T(r,Cs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(Se.importName,n);function n(i){var l;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=je(i),s=(0,Ss.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:Cs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=Ss.default.stringify(u),b=Ss.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Rg(i,g,c),x=Dp.expected;P({...v,message:x,messageArgs:[h,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${Ss.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Rg(i,h,c),f=Dp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},zs.ruleName=Cs,zs.messages=Dp,zs.meta=yC,$M=zs}),BM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),lV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();if(!n[s])return;n=n[s]}return n}t.exports=e.default}),uV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),cV=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),Fh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(BM());e.unesc=t.default;var r=o(lV());e.getProp=r.default;var n=o(uV());e.ensureObject=n.default;var i=o(cV());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=Fh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),wt=G(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),Fk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(wt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=l(h))||b&&h&&typeof h.length=="number"){g&&(h=g);var f=0;return function(){return f>=h.length?{done:!0}:{done:!1,value:h[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=h[g];return f}function c(h,b){for(var g=0;g<b.length;g++){var f=b[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function d(h,b,g){return b&&c(h.prototype,b),g&&c(h,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},m(h,b)}var v=(function(h){p(b,h);function b(f){var x;return x=h.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=b.prototype;return g.append=function(f){return f.parent=this,this.nodes.push(f),this},g.prepend=function(f){f.parent=this,this.nodes.unshift(f);for(var x in this.indexes)this.indexes[x]++;return this},g.at=function(f){return this.nodes[f]},g.index=function(f){return typeof f=="number"?f:this.nodes.indexOf(f)},g.removeChild=function(f){f=this.index(f),this.at(f).parent=void 0,this.nodes.splice(f,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=f&&(this.indexes[w]=x-1);return this},g.removeAll=function(){for(var f=s(this.nodes),x;!(x=f()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var z;for(var L in this.indexes)z=this.indexes[L],k<z&&(this.indexes[L]=z+arguments.length-1);return this},g.insertBefore=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var z;for(var L in this.indexes)z=this.indexes[L],z>=k&&(this.indexes[L]=z+arguments.length-1);return this},g._findChildAtPosition=function(f,x){var w=void 0;return this.each(function(k){if(k.atPosition){var S=k.atPosition(f,x);if(S)return w=S,!1}else if(k.isAtPosition(f,x))return w=k,!1}),w},g.atPosition=function(f,x){if(this.isAtPosition(f,x))return this._findChildAtPosition(f,x)||this},g._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},g.each=function(f){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var w,k;this.indexes[x]<this.length&&(w=this.indexes[x],k=f(this.at(w),w),k!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],k===!1)return!1}},g.walk=function(f){return this.each(function(x,w){var k=f(x,w);if(k!==!1&&x.length&&(k=x.walk(f)),k===!1)return!1})},g.walkAttributes=function(f){var x=this;return this.walk(function(w){if(w.type===n.ATTRIBUTE)return f.call(x,w)})},g.walkClasses=function(f){var x=this;return this.walk(function(w){if(w.type===n.CLASS)return f.call(x,w)})},g.walkCombinators=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMBINATOR)return f.call(x,w)})},g.walkComments=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMMENT)return f.call(x,w)})},g.walkIds=function(f){var x=this;return this.walk(function(w){if(w.type===n.ID)return f.call(x,w)})},g.walkNesting=function(f){var x=this;return this.walk(function(w){if(w.type===n.NESTING)return f.call(x,w)})},g.walkPseudos=function(f){var x=this;return this.walk(function(w){if(w.type===n.PSEUDO)return f.call(x,w)})},g.walkTags=function(f){var x=this;return this.walk(function(w){if(w.type===n.TAG)return f.call(x,w)})},g.walkUniversals=function(f){var x=this;return this.walk(function(w){if(w.type===n.UNIVERSAL)return f.call(x,w)})},g.split=function(f){var x=this,w=[];return this.reduce(function(k,S,E){var z=f.call(x,S);return w.push(S),z?(k.push(w),w=[]):E===x.length-1&&k.push(w),k},[])},g.map=function(f){return this.nodes.map(f)},g.reduce=function(f,x){return this.nodes.reduce(f,x)},g.every=function(f){return this.nodes.every(f)},g.some=function(f){return this.nodes.some(f)},g.filter=function(f){return this.nodes.filter(f)},g.sort=function(f){return this.nodes.sort(f)},g.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),qM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),WM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),Mk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,g=c.length;b<g;){var f=c.charAt(b++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<g){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(f)?w="\\"+f:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?w="\\"+x.toString(16).toUpperCase()+" ":f=="\\"||!m&&(f=='"'&&p==f||f=="'"&&p==f)||m&&a.test(f)?w="\\"+f:w=f;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,E,z){return E&&E.length%2?S:(E||"")+z}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),_M=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Mk()),n=Fh(),i=a(nn()),o=wt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),UM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),VM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),Rk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Mk()),n=Fh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),QM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),YM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),GM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Fk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),dV=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),KM=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(Mk()),r=a(BM()),n=a(Rk()),i=wt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var z=S[E];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(k,z.key,z)}}function l(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,z){return E.__proto__=z,E},c(k,S)}var d=dV(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,E=null,z=k,L=z.match(p);return L&&(E=L[1],z=L[2]),z=(0,r.default)(z),z!==k&&(S=!0),{deprecatedUsage:S,unescaped:z,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),E=S.quoteMark,z=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=z,k.quoteMark=E,k}var f=(function(k){u(S,k);function S(z){var L;return z===void 0&&(z={}),L=k.call(this,g(z))||this,L.type=i.ATTRIBUTE,L.raws=L.raws||{},Object.defineProperty(L.raws,"unquoted",{get:d(function(){return L.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return L.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),L._constructed=!0,L}var E=S.prototype;return E._syncRawValue=function(){var z=(0,t.default)(this._value,x[this.quoteMark]);z===this._value?this.raws&&delete this.raws.value:this.raws.value=z},E._handleEscapes=function(z,L){if(this._constructed){var N=(0,t.default)(L,{isIdentifier:!0});N!==L?this.raws[z]=N:delete this.raws[z]}},E._spacesFor=function(z){var L={before:"",after:""},N=this.spaces[z]||{},B=this.raws.spaces&&this.raws.spaces[z]||{};return Object.assign(L,N,B)},E._stringFor=function(z,L,N){L===void 0&&(L=z),N===void 0&&(N=w);var B=this._spacesFor(L);return N(this.stringifyProperty(z),B)},E.offsetOf=function(z){var L=1,N=this._spacesFor("attribute");if(L+=N.before.length,z==="namespace"||z==="ns")return this.namespace?L:-1;if(z==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),z==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=N.after.length;var B=this._spacesFor("operator");L+=B.before.length;var te=this.stringifyProperty("operator");if(z==="operator")return te?L:-1;L+=te.length,L+=B.after.length;var re=this._spacesFor("value");L+=re.before.length;var ve=this.stringifyProperty("value");if(z==="value")return ve?L:-1;L+=ve.length,L+=re.after.length;var he=this._spacesFor("insensitive");return L+=he.before.length,z==="insensitive"&&this.insensitive?L:-1},E.toString=function(){var z=this,L=[this.rawSpaceBefore,"["];return L.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(L.push(this._stringFor("operator")),L.push(this._stringFor("value")),L.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!z.quoted&&B.before.length===0&&!(z.spaces.value&&z.spaces.value.after)&&(B.before=" "),w(N,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var z=this.quoteMark;return z==="'"||z==='"'},set:function(z){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(z){if(!this._constructed){this._quoteMark=z;return}this._quoteMark!==z&&(this._quoteMark=z,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(z){if(this._constructed){var L=b(z),N=L.deprecatedUsage,B=L.unescaped,te=L.quoteMark;if(N&&m(),B===this._value&&te===this._quoteMark)return;this._value=B,this._quoteMark=te,this._syncRawValue()}else this._value=z}},{key:"insensitive",get:function(){return this._insensitive},set:function(z){z||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=z}},{key:"attribute",get:function(){return this._attribute},set:function(z){this._handleEscapes("attribute",z),this._attribute=z}}]),S})(n.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),HM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Rk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),XM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),JM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),pV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),ZM=G(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var g=62;e.greaterThan=g;var f=32;e.space=f;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var E=92;e.backslash=E;var z=13;e.cr=z;var L=12;e.feed=L;var N=10;e.newline=N;var B=9;e.tab=B;var te=x;e.str=te;var re=-1;e.comment=re;var ve=-2;e.word=ve;var he=-3;e.combinator=he}),mV=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(ZM()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var g=b,f;do{if(f=h.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(h,g)+1:g++}while(g<h.length);return g-1}function p(h,b){var g=b,f=h.charCodeAt(g+1);if(!a[f])if(l[f]){var x=0;do g++,x++,f=h.charCodeAt(g+1);while(l[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],g=h.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,z,L,N,B,te,re,ve,he,oe,qe,Ue,At,Ve;function Y(H,R){if(h.safe)g+=R,oe=g.length-1;else throw h.error("Unclosed "+H,k,S-w,S)}for(;S<x;){switch(z=g.charCodeAt(S),z===t.newline&&(w=S,k+=1),z){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:oe=S;do oe+=1,z=g.charCodeAt(oe),z===t.newline&&(w=oe,k+=1);while(z===t.space||z===t.newline||z===t.tab||z===t.cr||z===t.feed);Ve=t.space,B=k,N=oe-w-1,E=oe;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:oe=S;do oe+=1,z=g.charCodeAt(oe);while(z===t.plus||z===t.greaterThan||z===t.tilde||z===t.pipe);Ve=t.combinator,B=k,N=S-w,E=oe;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:oe=S,Ve=z,B=k,N=S-w,E=oe+1;break;case t.singleQuote:case t.doubleQuote:At=z===t.singleQuote?"'":'"',oe=S;do for(te=!1,oe=g.indexOf(At,oe+1),oe===-1&&Y("quote",At),re=oe;g.charCodeAt(re-1)===t.backslash;)re-=1,te=!te;while(te);Ve=t.str,B=k,N=S-w,E=oe+1;break;default:z===t.slash&&g.charCodeAt(S+1)===t.asterisk?(oe=g.indexOf("*/",S+2)+1,oe===0&&Y("comment","*/"),L=g.slice(S,oe+1),he=L.split(`
|
|
36
|
-
`),ve=he.length-1,ve>0?(qe=k+ve,Ue=oe-he[ve].length):(qe=k,Ue=w),Ve=t.comment,k=qe,B=qe,N=oe-Ue):z===t.slash?(oe=S,Ve=z,B=k,N=S-w,E=oe+1):(oe=d(g,S),Ve=t.word,B=k,N=oe-w),E=oe+1;break}b.push([Ve,k,S-w,B,N,S,E]),Ue&&(w=Ue,Ue=null),S=E}return b}}),hV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(qM()),n=E(WM()),i=E(_M()),o=E(UM()),a=E(VM()),s=E(QM()),l=E(YM()),u=E(GM()),c=S(KM()),d=E(HM()),p=E(XM()),m=E(JM()),v=E(pV()),h=S(mV()),b=S(ZM()),g=S(wt()),f=Fh(),x,w;function k(Y){if(typeof WeakMap!="function")return null;var H=new WeakMap,R=new WeakMap;return(k=function(W){return W?R:H})(Y)}function S(Y,H){if(!H&&Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var R=k(H);if(R&&R.has(Y))return R.get(Y);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in Y)if(M!=="default"&&Object.prototype.hasOwnProperty.call(Y,M)){var ee=Z?Object.getOwnPropertyDescriptor(Y,M):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,M,ee):W[M]=Y[M]}return W.default=Y,R&&R.set(Y,W),W}function E(Y){return Y&&Y.__esModule?Y:{default:Y}}function z(Y,H){for(var R=0;R<H.length;R++){var W=H[R];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Y,W.key,W)}}function L(Y,H,R){return H&&z(Y.prototype,H),R&&z(Y,R),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var N=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},N,(w={},w[b.comment]=!0,w));function te(Y){return{line:Y[h.FIELDS.START_LINE],column:Y[h.FIELDS.START_COL]}}function re(Y){return{line:Y[h.FIELDS.END_LINE],column:Y[h.FIELDS.END_COL]}}function ve(Y,H,R,W){return{start:{line:Y,column:H},end:{line:R,column:W}}}function he(Y){return ve(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],Y[h.FIELDS.END_LINE],Y[h.FIELDS.END_COL])}function oe(Y,H){if(Y)return ve(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],H[h.FIELDS.END_LINE],H[h.FIELDS.END_COL])}function qe(Y,H){var R=Y[H];if(typeof R=="string")return R.indexOf("\\")!==-1&&((0,f.ensureObject)(Y,"raws"),Y[H]=(0,f.unesc)(R),Y.raws[H]===void 0&&(Y.raws[H]=R)),Y}function Ue(Y,H){for(var R=-1,W=[];(R=Y.indexOf(H,R+1))!==-1;)W.push(R);return W}function At(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(H,R){return R===Y.indexOf(H)})}var Ve=(function(){function Y(R,W){W===void 0&&(W={}),this.rule=R,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:Z}),this.root.errorGenerator=this._errorGenerator();var M=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(M),this.current=M,this.loop()}var H=Y.prototype;return H._errorGenerator=function(){var R=this;return function(W,Z){return typeof R.rule=="string"?new Error(W):R.rule.error(W,Z)}},H.attribute=function(){var R=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)R.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var Z=R.length,M={source:ve(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(Z===1&&!~[b.word].indexOf(R[0][h.FIELDS.TYPE]))return this.expected("attribute",R[0][h.FIELDS.START_POS]);for(var ee=0,be="",fe="",ae=null,Fe=!1;ee<Z;){var nt=R[ee],ye=this.content(nt),Qe=R[ee+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Fe=!0,this.options.lossy)break;if(ae){(0,f.ensureObject)(M,"spaces",ae);var Lr=M.spaces[ae].after||"";M.spaces[ae].after=Lr+ye;var hr=(0,f.getProp)(M,"raws","spaces",ae,"after")||null;hr&&(M.raws.spaces[ae].after=hr+ye)}else be=be+ye,fe=fe+ye;break;case b.asterisk:if(Qe[h.FIELDS.TYPE]===b.equals)M.operator=ye,ae="operator";else if((!M.namespace||ae==="namespace"&&!Fe)&&Qe){be&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=be,be=""),fe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=be,fe=""),M.namespace=(M.namespace||"")+ye;var Lt=(0,f.getProp)(M,"raws","namespace")||null;Lt&&(M.raws.namespace+=ye),ae="namespace"}Fe=!1;break;case b.dollar:if(ae==="value"){var bt=(0,f.getProp)(M,"raws","value");M.value+="$",bt&&(M.raws.value=bt+"$");break}case b.caret:Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),Fe=!1;break;case b.combinator:if(ye==="~"&&Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),ye!=="|"){Fe=!1;break}Qe[h.FIELDS.TYPE]===b.equals?(M.operator=ye,ae="operator"):!M.namespace&&!M.attribute&&(M.namespace=!0),Fe=!1;break;case b.word:if(Qe&&this.content(Qe)==="|"&&R[ee+2]&&R[ee+2][h.FIELDS.TYPE]!==b.equals&&!M.operator&&!M.namespace)M.namespace=ye,ae="namespace";else if(!M.attribute||ae==="attribute"&&!Fe){be&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=be,be=""),fe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=fe,fe=""),M.attribute=(M.attribute||"")+ye;var Jt=(0,f.getProp)(M,"raws","attribute")||null;Jt&&(M.raws.attribute+=ye),ae="attribute"}else if(!M.value&&M.value!==""||ae==="value"&&!(Fe||M.quoteMark)){var Zt=(0,f.unesc)(ye),Wr=(0,f.getProp)(M,"raws","value")||"",qd=M.value||"";M.value=qd+Zt,M.quoteMark=null,(Zt!==ye||Wr)&&((0,f.ensureObject)(M,"raws"),M.raws.value=(Wr||qd)+ye),ae="value"}else{var Wd=ye==="i"||ye==="I";(M.value||M.value==="")&&(M.quoteMark||Fe)?(M.insensitive=Wd,(!Wd||ye==="I")&&((0,f.ensureObject)(M,"raws"),M.raws.insensitiveFlag=ye),ae="insensitive",be&&((0,f.ensureObject)(M,"spaces","insensitive"),M.spaces.insensitive.before=be,be=""),fe&&((0,f.ensureObject)(M,"raws","spaces","insensitive"),M.raws.spaces.insensitive.before=fe,fe="")):(M.value||M.value==="")&&(ae="value",M.value+=ye,M.raws.value&&(M.raws.value+=ye))}Fe=!1;break;case b.str:if(!M.attribute||!M.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var co=(0,c.unescapeValue)(ye),I6=co.unescaped,O6=co.quoteMark;M.value=I6,M.quoteMark=O6,ae="value",(0,f.ensureObject)(M,"raws"),M.raws.value=ye,Fe=!1;break;case b.equals:if(!M.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],ye);if(M.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});M.operator=M.operator?M.operator+ye:ye,ae="operator",Fe=!1;break;case b.comment:if(ae)if(Fe||Qe&&Qe[h.FIELDS.TYPE]===b.space||ae==="insensitive"){var j6=(0,f.getProp)(M,"spaces",ae,"after")||"",T6=(0,f.getProp)(M,"raws","spaces",ae,"after")||j6;(0,f.ensureObject)(M,"raws","spaces",ae),M.raws.spaces[ae].after=T6+ye}else{var D6=M[ae]||"",L6=(0,f.getProp)(M,"raws",ae)||D6;(0,f.ensureObject)(M,"raws"),M.raws[ae]=L6+ye}else fe=fe+ye;break;default:return this.error('Unexpected "'+ye+'" found.',{index:nt[h.FIELDS.START_POS]})}ee++}qe(M,"attribute"),qe(M,"namespace"),this.newNode(new c.default(M)),this.position++},H.parseWhitespaceEquivalentTokens=function(R){R<0&&(R=this.tokens.length);var W=this.position,Z=[],M="",ee=void 0;do if(N[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(M+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var be={};M&&(be.before=M,M=""),ee=new o.default({value:this.content(),source:he(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:be}),Z.push(ee)}while(++this.position<R);if(M){if(ee)ee.spaces.after=M;else if(!this.options.lossy){var fe=this.tokens[W],ae=this.tokens[this.position-1];Z.push(new l.default({value:"",source:ve(fe[h.FIELDS.START_LINE],fe[h.FIELDS.START_COL],ae[h.FIELDS.END_LINE],ae[h.FIELDS.END_COL]),sourceIndex:fe[h.FIELDS.START_POS],spaces:{before:M,after:""}}))}}return Z},H.convertWhitespaceNodesToSpace=function(R,W){var Z=this;W===void 0&&(W=!1);var M="",ee="";R.forEach(function(fe){var ae=Z.lossySpace(fe.spaces.before,W),Fe=Z.lossySpace(fe.rawSpaceBefore,W);M+=ae+Z.lossySpace(fe.spaces.after,W&&ae.length===0),ee+=ae+fe.value+Z.lossySpace(fe.rawSpaceAfter,W&&Fe.length===0)}),ee===M&&(ee=void 0);var be={space:M,rawSpace:ee};return be},H.isNamedCombinator=function(R){return R===void 0&&(R=this.position),this.tokens[R+0]&&this.tokens[R+0][h.FIELDS.TYPE]===b.slash&&this.tokens[R+1]&&this.tokens[R+1][h.FIELDS.TYPE]===b.word&&this.tokens[R+2]&&this.tokens[R+2][h.FIELDS.TYPE]===b.slash},H.namedCombinator=function(){if(this.isNamedCombinator()){var R=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(R).toLowerCase(),Z={};W!==R&&(Z.value="/"+R+"/");var M=new p.default({value:"/"+W+"/",source:ve(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:Z});return this.position=this.position+3,M}else this.unexpected()},H.combinator=function(){var R=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(W);if(Z.length>0){var M=this.current.last;if(M){var ee=this.convertWhitespaceNodesToSpace(Z),be=ee.space,fe=ee.rawSpace;fe!==void 0&&(M.rawSpaceAfter+=fe),M.spaces.after+=be}else Z.forEach(function(Wr){return R.newNode(Wr)})}return}var ae=this.currToken,Fe=void 0;W>this.position&&(Fe=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:he(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):N[this.currToken[h.FIELDS.TYPE]]||Fe||this.unexpected(),nt){if(Fe){var ye=this.convertWhitespaceNodesToSpace(Fe),Qe=ye.space,Lr=ye.rawSpace;nt.spaces.before=Qe,nt.rawSpaceBefore=Lr}}else{var hr=this.convertWhitespaceNodesToSpace(Fe,!0),Lt=hr.space,bt=hr.rawSpace;bt||(bt=Lt);var Jt={},Zt={spaces:{}};Lt.endsWith(" ")&&bt.endsWith(" ")?(Jt.before=Lt.slice(0,Lt.length-1),Zt.spaces.before=bt.slice(0,bt.length-1)):Lt[0]===" "&&bt[0]===" "?(Jt.after=Lt.slice(1),Zt.spaces.after=bt.slice(1)):Zt.value=bt,nt=new p.default({value:" ",source:oe(ae,this.tokens[this.position-1]),sourceIndex:ae[h.FIELDS.START_POS],spaces:Jt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},H.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var R=new n.default({source:{start:te(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(R),this.current=R,this.position++},H.comment=function(){var R=this.currToken;this.newNode(new o.default({value:this.content(),source:he(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.error=function(R,W){throw this.root.error(R,W)},H.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},H.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},H.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},H.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},H.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},H.namespace=function(){var R=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(R);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(R);this.unexpectedPipe()},H.nesting=function(){if(this.nextToken){var R=this.content(this.nextToken);if(R==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:he(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},H.parentheses=function(){var R=this.current.last,W=1;if(this.position++,R&&R.type===g.PSEUDO){var Z=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),M=this.current;for(R.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=re(this.currToken),this.current.parent.source.end=re(this.currToken),this.position++);this.current=M}else{for(var ee=this.currToken,be="(",fe;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,fe=this.currToken,be+=this.parseParenthesisToken(this.currToken),this.position++;R?R.appendToPropertyAndEscape("value",be,be):this.newNode(new l.default({value:be,source:ve(ee[h.FIELDS.START_LINE],ee[h.FIELDS.START_COL],fe[h.FIELDS.END_LINE],fe[h.FIELDS.END_COL]),sourceIndex:ee[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},H.pseudo=function(){for(var R=this,W="",Z=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(M,ee){W+=M,R.newNode(new u.default({value:W,source:oe(Z,R.currToken),sourceIndex:Z[h.FIELDS.START_POS]})),ee>1&&R.nextToken&&R.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&R.error("Misplaced parenthesis.",{index:R.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},H.space=function(){var R=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(R),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(R),this.position++):this.combinator()},H.string=function(){var R=this.currToken;this.newNode(new l.default({value:this.content(),source:he(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.universal=function(R){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new d.default({value:this.content(),source:he(Z),sourceIndex:Z[h.FIELDS.START_POS]}),R),this.position++},H.splitWord=function(R,W){for(var Z=this,M=this.nextToken,ee=this.content();M&&~[b.dollar,b.caret,b.equals,b.word].indexOf(M[h.FIELDS.TYPE]);){this.position++;var be=this.content();if(ee+=be,be.lastIndexOf("\\")===be.length-1){var fe=this.nextToken;fe&&fe[h.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(fe)),this.position++)}M=this.nextToken}var ae=Ue(ee,".").filter(function(Qe){var Lr=ee[Qe-1]==="\\",hr=/^\d+\.\d+%$/.test(ee);return!Lr&&!hr}),Fe=Ue(ee,"#").filter(function(Qe){return ee[Qe-1]!=="\\"}),nt=Ue(ee,"#{");nt.length&&(Fe=Fe.filter(function(Qe){return!~nt.indexOf(Qe)}));var ye=(0,v.default)(At([0].concat(ae,Fe)));ye.forEach(function(Qe,Lr){var hr=ye[Lr+1]||ee.length,Lt=ee.slice(Qe,hr);if(Lr===0&&W)return W.call(Z,Lt,ye.length);var bt,Jt=Z.currToken,Zt=Jt[h.FIELDS.START_POS]+ye[Lr],Wr=ve(Jt[1],Jt[2]+Qe,Jt[3],Jt[2]+(hr-1));if(~ae.indexOf(Qe)){var qd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new i.default(qe(qd,"value"))}else if(~Fe.indexOf(Qe)){var Wd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new a.default(qe(Wd,"value"))}else{var co={value:Lt,source:Wr,sourceIndex:Zt};qe(co,"value"),bt=new s.default(co)}Z.newNode(bt,R),R=null}),this.position++},H.word=function(R){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(R)},H.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},H.parse=function(R){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:R&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},H.expected=function(R,W,Z){if(Array.isArray(R)){var M=R.pop();R=R.join(", ")+" or "+M}var ee=/^[aeiou]/.test(R[0])?"an":"a";return Z?this.error("Expected "+ee+" "+R+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+R+".",{index:W})},H.requiredSpace=function(R){return this.options.lossy?" ":R},H.optionalSpace=function(R){return this.options.lossy?"":R},H.lossySpace=function(R,W){return this.options.lossy?W?" ":"":R},H.parseParenthesisToken=function(R){var W=this.content(R);return R[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},H.newNode=function(R,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),R.namespace=W,qe(R,"namespace")),this.spaces&&(R.spaces.before=this.spaces,this.spaces=""),this.current.append(R)},H.content=function(R){return R===void 0&&(R=this.currToken),this.css.slice(R[h.FIELDS.START_POS],R[h.FIELDS.END_POS])},H.locateNextMeaningfulToken=function(R){R===void 0&&(R=this.position+1);for(var W=R;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},L(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=Ve,t.exports=e.default}),fV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(hV());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,l){this.func=s||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var l=Object.assign({},this.options,s);return l.lossless===!1},a._root=function(s,l){l===void 0&&(l={});var u=new r.default(s,this._parseOptions(l));return u.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,l){l===void 0&&(l={});var u=this._root(s,l),c=this.func(u);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return l.updateSelector&&typeof s!="string"&&(d=u.toString(),s.selector=d),{transform:c,root:u,string:d}},a.astSync=function(s,l){return this._runSync(s,l).root},a.processSync=function(s,l){var u=this._runSync(s,l);return u.string||u.root.toString()},o})();e.default=i,t.exports=e.default}),gV=G(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(KM()),r=m(_M()),n=m(XM()),i=m(UM()),o=m(VM()),a=m(JM()),s=m(GM()),l=m(qM()),u=m(WM()),c=m(YM()),d=m(QM()),p=m(HM());function m(N){return N&&N.__esModule?N:{default:N}}var v=function(N){return new t.default(N)};e.attribute=v;var h=function(N){return new r.default(N)};e.className=h;var b=function(N){return new n.default(N)};e.combinator=b;var g=function(N){return new i.default(N)};e.comment=g;var f=function(N){return new o.default(N)};e.id=f;var x=function(N){return new a.default(N)};e.nesting=x;var w=function(N){return new s.default(N)};e.pseudo=w;var k=function(N){return new l.default(N)};e.root=k;var S=function(N){return new u.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var z=function(N){return new d.default(N)};e.tag=z;var L=function(N){return new p.default(N)};e.universal=L}),bV=G(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=f,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=wt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,E){return i(E)&&E.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var g=o.bind(null,t.UNIVERSAL);e.isUniversal=g;function f(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!f(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),vV=G(e=>{"use strict";e.__esModule=!0;var t=wt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=gV();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=bV();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),dt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(fV()),n=o(vV());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function at(e){var l,u;let t=e.nodes.findIndex(c=>!Wy(c)),r=e.nodes.findLastIndex(c=>!Wy(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var wC,Wy,zt=y(()=>{wC=X(dt(),1),{isComment:Wy}=wC.default});function xe(e,t,r){if(e)try{return(0,e3.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var e3,ze=y(()=>{e3=X(dt(),1)}),t3={};A(t3,{default:()=>r3});var As,$g,kC,Ns,r3,yV=y(()=>{V(),we(),zt(),de(),ze(),I(),j(),D(),As="keyframe-block-no-duplicate-selectors",$g=O(As,{rejected:e=>`Duplicate keyframe selector "${e}"`}),kC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},Ns=e=>(t,r)=>{T(r,As,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=xe(ge(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=at(s),d=l.toLowerCase();if(i.has(d)){P({message:$g.rejected,messageArgs:[l],node:o,result:r,ruleName:As,index:u,endIndex:c});return}i.add(d)}))})})},Ns.ruleName=As,Ns.messages=$g,Ns.meta=kC,r3=Ns}),n3={};A(n3,{default:()=>i3});var Es,Bg,xC,Ps,i3,wV=y(()=>{q(),V(),KL(),I(),j(),D(),Es="keyframe-declaration-no-important",Bg=O(Es,{rejected:"Disallowed !important"}),xC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Ps=e=>(t,r)=>{T(r,Es,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=GL(i.toString());We(o),P({message:Bg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:Es})})})},Ps.ruleName=Es,Ps.messages=Bg,Ps.meta=xC,i3=Ps}),o3={};A(o3,{default:()=>a3});function kV(e){let t=e.nodes.filter(i=>!(im.default.isComment(i)||im.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(im.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Bi.has(n)&&!Wc.has(n)))return[r,n]}function qg(e,t){let r=e.get(t);return eo(r),r}function xV(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var im,Is,Wg,SC,CC,_g,Os,a3,SV=y(()=>{q(),Ke(),V(),we(),ze(),im=X(dt(),1),Tt(),I(),j(),D(),Is="keyframe-selector-notation",Wg=O(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),SC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},CC=new Map([["0%","from"],["100%","to"]]),_g=new Map([["from","0%"],["to","100%"]]),Os=e=>(t,r)=>{if(!T(r,Is,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Bi.has(s),fixFunc:s=>qg(CC,s)},percentage:{expFunc:s=>Wc.has(s),fixFunc:s=>qg(_g,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Bi.has(u))?!0:Wc.has(s),fixFunc:s=>qg(_g,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(Se.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?xV(s):[];s.walkRules(a,u=>{let c=ge(u),d=xe(c,r,u);d&&d.each(p=>{let m=kV(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),g=()=>{v.value=b,u.selector=d.toString()};P({message:Wg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Is,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Os.ruleName=Is,Os.messages=Wg,Os.meta=SC,a3=Os});function CV(e){return!Zm(e)}var zV=y(()=>{eh()}),s3={};A(s3,{default:()=>l3});var js,Ug,zC,Ts,l3,AV=y(()=>{q(),J(),V(),zV(),I(),j(),D(),js="keyframes-name-pattern",Ug=O(js,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),zC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ts=e=>(t,r)=>{if(!T(r,js,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.keyframesName,i=>{let o=i.params;if(!CV(o)||n.test(o))return;let a=je(i),s=a+o.length;P({index:a,endIndex:s,message:Ug.expected,messageArgs:[o,e],node:i,ruleName:js,result:r})})},Ts.ruleName=js,Ts.messages=Ug,Ts.meta=zC,l3=Ts}),u3={};A(u3,{default:()=>c3});var Vg,Ds,Qg,AC,Ls,c3,NV=y(()=>{Vg=X(ue(),1),V(),q(),J(),I(),j(),D(),Ds="layer-name-pattern",Qg=O(Ds,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),AC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ls=e=>(t,r)=>{if(!T(r,Ds,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.layerName,o=>{let{params:a}=o;a&&(0,Vg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(Se.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,Vg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=je(l)+s,c=u+a.length;P({message:Qg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:Ds,result:r})}},Ls.ruleName=Ds,Ls.messages=Qg,Ls.meta=AC,c3=Ls});function EV(e){return e.type==="function"&&io.has(e.value.toLowerCase())}var PV=y(()=>{Ir()}),d3={};A(d3,{default:()=>p3});function IV({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function OV(e){return e.toLowerCase()==="line-height"}function jV(e){return e.toLowerCase()==="flex"}function TV(e){return qi.has(e.toLowerCase())}function DV(e){return e.toLowerCase()==="fr"}function LV(e){return Number.parseFloat(e)===0}function FV(e){return e===""}var Lp,Fs,Yg,NC,Ms,p3,MV=y(()=>{Lp=X(ue(),1),J(),me(),q(),lt(),Be(),pr(),PV(),et(),ct(),oo(),V(),K(),I(),j(),MM(),gt(),D(),Fs="length-zero-no-unit",Yg=O(Fs,{rejected:"Disallowed unit"}),NC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Ms=(e,t)=>(r,n)=>{if(!T(n,Fs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(EV(u)||Nn(u)&&F(t,"ignoreFunctions",d))return!1;if(!En(u))return;let m=Lp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!LV(v)||FV(h)||!TV(h)||DV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":FM(s,c.toString());break;case"decl":ft(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Yg.rejected,messageArgs:[],node:s,result:n,ruleName:Fs,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||F(t,"ignorePreludeOfAtRules",s.name))return;let l=je(s),u=(0,Lp.default)(st(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!ut(s)||OV(l)||jV(l)||F(t,"ignore","custom-properties")&&yt(l))return;let c=ie(s),d=(0,Lp.default)($e(s));d.walk((p,m,v)=>{if(!IV(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Ms.ruleName=Fs,Ms.messages=Yg,Ms.meta=NC,p3=Ms}),m3={};A(m3,{default:()=>f3});function RV(e,t){let r=Number.parseFloat(e);return Mv.has(t)?`${r}%`:(gm.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${h3(r,e)}%`)}function $V(e,t){let r=Number.parseFloat(e);return gm.has(t)?(r/=100,`${h3(r,e)}`):`${r}`}function h3(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function BV({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Gg,Rs,Kg,EC,$s,f3,qV=y(()=>{Gg=X(ue(),1),Ir(),J(),Be(),_e(),V(),I(),j(),gt(),D(),Rs="lightness-notation",Kg=O(Rs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),EC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},$s=e=>(t,r)=>{T(r,Rs,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Gg.default)($e(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Ow.has(a))return;let s=BV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Gg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?RV(l,a):$V(l,a),m=ie(n),v=()=>{s.value=p,ft(n,i.toString())};P({message:Kg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Rs,fix:{apply:v,node:n}})})})},$s.ruleName=Rs,$s.messages=Kg,$s.meta=EC,f3=$s}),g3={};A(g3,{default:()=>b3});function PC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var IC,Bs,Hg,OC,qs,b3,WV=y(()=>{IC=X(dt(),1),me(),q(),nh(),de(),K(),I(),j(),D(),Bs="max-nesting-depth",Hg=O(Bs,{expected:e=>`Too deep nesting, maximum ${e}`}),OC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},qs=(e,t)=>{let r=o=>Oe(o)&&F(t,"ignoreAtRules",o.name),n=o=>it(o)&&F(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,Bs,{actual:e,possible:[Sr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,_],ignoreRules:[$,_],ignorePseudoClasses:[$,_]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Gc(l)||it(l)&&!ce(l)||i(l,0)>e&&P({ruleName:Bs,result:a,node:l,message:Hg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Oe(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,IC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!F(t,"ignoreRules",d)).every(d=>PC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&F(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=PC(d);return p?F(t,"ignorePseudoClasses",p):!1}):!1}return F(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!to(c))||F(t,"ignore","pseudo-classes")&&it(o)&&l(o.selector)||it(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},qs.ruleName=Bs,qs.messages=Hg,qs.meta=OC,b3=qs});function v3(e){return!!(le(e)&&Ae(e.value)||He(e)&&O3.has(e.getName().toLowerCase()))}function _V(e){return le(e)&&Ee(e.value)}function Td(e){return le(e)&&Ye(e.value)}function UV(e){return He(e)&&e.getName().toLowerCase()==="env"}function jc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(!Td(n)||t!==-1)return!1;t=r}}return t!==-1&&new qk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function VV(e){let t=jc(e);return t===!1?t:new Wk(t)}function Sc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Ie.Whitespace&&o.type!==Ie.Comment){if(r!==-1)return!1;if(v3(o)){let a=y3(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(UV(o))r=i,n=i;else if(_V(o))r=i,n=i;else{if(t||!Td(o))return!1;r=i,n=i}}}return r!==-1&&new _k(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function y3(e){let t=-1,r=-1,n=QV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!It(o))return-1}return[t,r]}function QV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!It(i)){if(le(i)){let o=i.value;if(qt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!v3(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function YV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Ie.Token){let l=s.value;if(mF(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=jc(t);if(i===!1)return!1;let o=Sc(r);return o!==!1&&new Uk(i,n,o)}function GV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Ie.Token){let i=n.value;if(qt(i)){if(i[4].value===Xr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function Pi(e){if(e.length!==1&&e.length!==2||!qt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Xr.EQ:return Xr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!qt(e[1])||e[1][4].value!==Xr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function KV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Ie.Token){let m=p.value;if(qt(m)){let v=GV(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=jc(d);if(m){let h=Sc(p,!0);return!!h&&new Rh(m,n,h)}let v=jc(p);if(v){let h=Sc(d,!0);return!!h&&new Vk(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=Sc(o,!0),u=jc(a),c=Sc(s,!0);if(!l||!u||!c)return!1;{let d=Pi(n);if(d===!1||d===Xr.EQ)return!1;let p=Pi(i);if(p===!1||p===Xr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new Qk(u,l,n,c,i)}function w3(e,t=[],r=[]){if(!lo(e.startToken))return!1;let n=VV(e.value);if(n!==!1)return new Tc(n,t,r);let i=YV(e.value);if(i!==!1)return new Tc(i,t,r);let o=KV(e.value);return o!==!1&&new Tc(o,t,r)}function jC(e){if(!Ye(e))return!1;switch(e[4].value.toLowerCase()){case Oi.Not:return Oi.Not;case Oi.Only:return Oi.Only;default:return!1}}function HV(e){{let t=$k(e);if(t!==!1)return new om(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!id(l)&&!Pk(l)){if(le(l)){let u=l.value;if(t===-1&&Ye(u)&&jC(u)){t=s;continue}if(r===-1&&Ye(u)&&!jC(u)){r=s;continue}if(n===-1&&Ye(u)&&Yk.test(u[4].value)){if(n=s,TC(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];t!==-1?(i=e.slice(0,t+1).flatMap(s=>s.tokens()),r!==-1&&(o=e.slice(t+1,r+1).flatMap(s=>s.tokens()))):r!==-1&&(o=e.slice(0,r+1).flatMap(s=>s.tokens()));let a=TC(e.slice(Math.max(t,r,n)+1));return a===!1?new sd(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new sd(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function XV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=JV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new I3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function k3(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=ZV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new P3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function $k(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=XV(e);if(n!==!1)return new xr(n);let i=x3(e);return i!==!1&&new xr(i)}function TC(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=x3(e);return n!==!1&&new xr(n)}function x3(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Ie.Whitespace&&l.type!==Ie.Comment){if(!Dr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!lo(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=w3(r,n,i);if(o!==!1)return new Hr(o);let a=$k(r.value);return a!==!1?new Hr(a,n,i):new Hr(new Mh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function Dd(e){if(!lo(e.startToken))return!1;let t=w3(e,[e.startToken],[e.endToken]);if(t!==!1)return new Hr(t);let r=$k(e.value);return r!==!1?new Hr(r,[e.startToken],[e.endToken]):new Hr(new Mh(e))}function S3(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Ie.Whitespace&&i.type!==Ie.Comment){if(Td(i)){let o=i.value;if(D3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(i)){i.normalize();let o=Dd(i);if(o===!1)return!1;r=new j3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function JV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(L3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new T3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function ZV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(Yk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new E3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function Ld(e,t){let r=kF(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=HV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Bk(r[i]):o}).filter(n=>!!n)}function eQ(e,t){return Ld(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function tQ(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Et(e[o])){if(Ye(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Et(n[o])){if(Ye(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new _y(r,null,n):new _y(r,Ld(Y8(n),t))}function rQ(e,t){return tQ(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function C3(e){return Mh.isGeneralEnclosed(e)}function nQ(e){return Wk.isMediaFeatureBoolean(e)}function z3(e){return _k.isMediaFeatureValue(e)}function Ii(e){return Uk.isMediaFeaturePlain(e)}function Ym(e){return A3(e)||N3(e)||iQ(e)}function A3(e){return Rh.isMediaFeatureRangeNameValue(e)}function N3(e){return Vk.isMediaFeatureRangeValueName(e)}function iQ(e){return Qk.isMediaFeatureRangeValueNameValue(e)}function Ln(e){return Tc.isMediaFeature(e)}function oQ(e){return sd.isMediaQueryWithType(e)}function Fn(e){return Bk.isMediaQueryInvalid(e)}var se,xr,Hr,sd,om,Bk,Mh,E3,P3,I3,O3,qk,Wk,_k,Uk,or,ar,Xr,Oi,Rh,Vk,Qk,Tc,j3,T3,D3,L3,Yk,_y,DC,Xt=y(()=>{Ct(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(se||(se={})),xr=class Uy{constructor(t){U(this,"type",se.MediaCondition);U(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return Uy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Uy&&t.type===se.MediaCondition}},Hr=class Vy{constructor(t,r=[],n=[]){U(this,"type",se.MediaInParens);U(this,"media");U(this,"before");U(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Vy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Vy&&t.type===se.MediaInParens}},sd=class gn{constructor(t,r,n,i){U(this,"type",se.MediaQueryWithType);U(this,"modifier");U(this,"mediaType");U(this,"and");U(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Ye(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new gn([],[[C.Ident,r,-1,-1,{value:r}]]),new om(this.media)]:[new gn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new om(this.media).negateQuery()]:t?[new gn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new gn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Ye(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return gn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof gn&&t.type===se.MediaQueryWithType}},om=class am{constructor(t){U(this,"type",se.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new am(new xr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new xr(new Hr(t,[[C.Whitespace," ",-1,-1,void 0],[C.OpenParen,"(",-1,-1,void 0]],[[C.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[C.Whitespace," ",-1,-1,void 0])),[new sd([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"all",-1,-1,{value:"all"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"and",-1,-1,{value:"and"}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return am.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof am&&t.type===se.MediaQueryWithoutType}},Bk=class sm{constructor(t){U(this,"type",se.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new sm(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=Ei(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return sm.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof sm&&t.type===se.MediaQueryInvalid}},Mh=class Qy{constructor(t){U(this,"type",se.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Et(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Qy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Qy&&t.type===se.GeneralEnclosed}},E3=class Yy{constructor(t,r){U(this,"type",se.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Et(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Yy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Yy&&t.type===se.MediaAnd}},P3=class Gy{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithAnd);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return Gy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Gy&&t.type===se.MediaConditionListWithAnd}},I3=class Ky{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithOr);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Ky.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Ky&&t.type===se.MediaConditionListWithOr}},O3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),qk=class Hy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureName);U(this,"name");U(this,"before");U(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Hy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Hy&&t.type===se.MediaFeatureName}},Wk=class Xy{constructor(t){U(this,"type",se.MediaFeatureBoolean);U(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Xy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Xy&&t.type===se.MediaFeatureBoolean}},_k=class Jy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureValue);U(this,"value");U(this,"before");U(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ei(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Jy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Jy&&t.type===se.MediaFeatureValue}},Uk=class Zy{constructor(t,r,n){U(this,"type",se.MediaFeaturePlain);U(this,"name");U(this,"colon");U(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return Zy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof Zy&&t.type===se.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Xr||(Xr={})),Rh=class ew{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return ew.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof ew&&t.type===se.MediaFeatureRangeNameValue}},Vk=class tw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return tw.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof tw&&t.type===se.MediaFeatureRangeValueName}},Qk=class rw{constructor(t,r,n,i,o){U(this,"type",se.MediaFeatureRangeValueNameValue);U(this,"name");U(this,"valueOne");U(this,"valueOneOperator");U(this,"valueTwo");U(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return Pi(this.valueOneOperator)}valueTwoOperatorKind(){return Pi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return rw.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof rw&&t.type===se.MediaFeatureRangeValueNameValue}},Tc=class nw{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeature);U(this,"feature");U(this,"before");U(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Et(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return nw.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof nw&&t.type===se.MediaFeature}},j3=class iw{constructor(t,r){U(this,"type",se.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Et(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return iw.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof iw&&t.type===se.MediaNot}},T3=class ow{constructor(t,r){U(this,"type",se.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return ow.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof ow&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Oi||(Oi={})),D3=/^not$/i,L3=/^or$/i,Yk=/^and$/i,_y=class aw{constructor(t,r,n){U(this,"type",se.CustomMedia);U(this,"name");U(this,"mediaQueryList",null);U(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([C.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return aw.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof aw&&t.type===se.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(DC||(DC={}))});function Gk(e,t){let r=St({css:e});return kF(r).flatMap(n=>n.flatMap(i=>{if(!Dr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return Ld(o,{preserveInvalidMediaQueries:!0}).filter(a=>!Fn(a))})).forEach(n=>{n.walk(({node:i})=>{if(Ln(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}C3(i)&&aQ(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===C.Colon||l&&l[0]===C.Delim&&sw.test(l[4].value)||u&&u[0]===C.Delim&&sw.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function aQ(e){let t=e.value.value;if(rd(t)||t.length===0||rd(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;LC(n)||a===C.Ident&&LC(o[i-1])||FC(n)||a===C.Ident&&FC(o[i+1])||r.push(n.value)}),r}function LC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function FC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var sw,Kk=y(()=>{rt(),Xt(),Ct(),sw=/[<>=]/});function Zi(e){return e.startsWith("--")}var Fd=y(()=>{}),F3={};A(F3,{default:()=>M3});var Ws,Xg,MC,Zn,M3,sQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),Le(),I(),j(),D(),Ws="media-feature-name-allowed-list",Xg=O(Ws,{rejected:e=>`Disallowed media feature name "${e}"`}),MC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Zn=e=>(t,r)=>{T(r,Ws,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Gk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||Pe(s,e))return;let l=je(n);P({message:Xg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ws,result:r})})})},Zn.primaryOptionArray=!0,Zn.ruleName=Ws,Zn.messages=Xg,Zn.meta=MC,M3=Zn}),R3={};A(R3,{default:()=>$3});var _s,Jg,RC,ei,$3,lQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),Le(),I(),j(),D(),_s="media-feature-name-disallowed-list",Jg=O(_s,{rejected:e=>`Disallowed media feature name "${e}"`}),RC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},ei=e=>(t,r)=>{T(r,_s,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Gk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||!Pe(s,e))return;let l=je(n);P({message:Jg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:_s,result:r})})})},ei.primaryOptionArray=!0,ei.ruleName=_s,ei.messages=Jg,ei.meta=RC,$3=ei}),Zg,Dc,$C,BC,Hk,B3,lm,$h=y(()=>{ro(),Zg=new Set(["device-aspect-ratio","device-height","device-width"]),Dc=Ce(Zg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),$C=new Set([...Dc].flatMap(e=>[`min-${e}`,`max-${e}`])),BC=new Set(["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","environment-blending","forced-colors","grid","hover","inverted-colors","light-level","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-color-gamut","video-dynamic-range"]),Hk=Ce(Zg,Dc,$C,BC),B3=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),lm=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),q3={};A(q3,{default:()=>W3});var Us,eb,qC,Vs,W3,uQ=y(()=>{q(),J(),V(),Kk(),lt(),Fd(),$h(),K(),I(),j(),D(),Dt(),Us="media-feature-name-no-unknown",eb=O(Us,{rejected:e=>`Unknown media feature name "${e}"`}),qC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Vs=(e,t)=>(r,n)=>{T(n,Us,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{Gk(st(i),o=>{let[,,a,s,{value:l}]=o;if(Zi(l)||F(t,"ignoreMediaFeatureNames",l)||Xe.prefix(l)||Hk.has(l.toLowerCase()))return;let u=je(i);P({message:eb.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Us,result:n})})})},Vs.ruleName=Us,Vs.messages=eb,Vs.meta=qC,W3=Vs}),_3={};A(_3,{default:()=>U3});var Qs,tb,WC,_C,Ys,U3,cQ=y(()=>{q(),V(),bd(),K(),I(),j(),D(),Qs="media-feature-name-no-vendor-prefix",tb=O(Qs,{rejected:"Vendor-prefixed media feature name"}),WC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},_C=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Ys=(e,t)=>(r,n)=>{T(n,Qs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(Se.mediaName,i=>{let o=i.params;if(!zr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${_C.join("|")}`,"gi"));if(a)for(let s of a){if(F(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:tb.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Qs,fix:{apply:l,node:i}})}})},Ys.ruleName=Qs,Ys.messages=tb,Ys.meta=WC,U3=Ys});function Mn(e){return eQ(st(e),{preserveInvalidMediaQueries:!0})}var Rn=y(()=>{Xt(),lt()}),V3={};A(V3,{default:()=>Q3});var Gs,rb,UC,Ks,Q3,dQ=y(()=>{Xt(),rt(),Ct(),V(),J(),q(),Le(),Rn(),I(),j(),Ht(),D(),Gs="media-feature-name-unit-allowed-list",rb=O(Gs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),UC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ks=e=>(t,r)=>{if(!T(r,Gs,{actual:e,possible:[Bt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(Se.mediaName,o=>{Q.dimension.test(o.params)&&Mn(o).forEach(a=>{if(Fn(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(Ii(l)||Ym(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!le(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==C.Dimension||d.includes(h.unit.toLowerCase()))return;let b=je(o);P({message:rb.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:Gs})},s)})})},Ks.ruleName=Gs,Ks.messages=rb,Ks.meta=UC,Q3=Ks}),Y3={};A(Y3,{default:()=>G3});var Hs,nb,VC,Xs,G3,pQ=y(()=>{Xt(),Ct(),q(),J(),V(),Le(),K(),Rn(),I(),j(),Ht(),D(),Hs="media-feature-name-value-allowed-list",nb=O(Hs,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),VC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Xs=e=>(t,r)=>{T(r,Hs,{actual:e,possible:[Bt($,_)]})&&t.walkAtRules(Se.mediaName,n=>{Mn(n).forEach(i=>{if(Fn(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Ln(a)){s.mediaFeatureName=a.getName();return}if(!z3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||F(e,d,c))return;let p=je(n),[m,v]=Wt(u);P({index:p+m,endIndex:p+v+1,message:nb.rejected,messageArgs:[l,c],node:n,ruleName:Hs,result:r})},o)})})},Xs.ruleName=Hs,Xs.messages=nb,Xs.meta=VC,G3=Xs}),K3={};A(K3,{default:()=>H3});var Js,ib,QC,YC,Zs,H3,mQ=y(()=>{rt(),Ct(),Xt(),oo(),$h(),Ir(),q(),J(),V(),FF(),Rn(),I(),j(),Ht(),D(),Dt(),Js="media-feature-name-value-no-unknown",ib=O(Js,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),QC=/^(?:min|max)-/i,YC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Zs=(e,t)=>(r,n)=>{if(!T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Bt($,_)]},optional:!0}))return;let i=(u,c)=>LF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===C.Ident){let w=Xe.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=B3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=lm.get(g);if(!f){d(u,m,v,h);return}if(p===C.Number){if(b.type===ne.Integer){if(f.has("integer")||f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||b.value===1&&f.has("mq-boolean"))return;d(u,m,v,h);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(u,m,v,h);return}if(p===C.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&Rv.has(w)||f.has("length")&&qi.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=lm.get(u.mediaFeatureName);m&&io.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...Wt(c))}function s(u,c,d){let p=lm.get(u.mediaFeatureName);p&&p.has("ratio")&&y3(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...Wt(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(He(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(Se.mediaName,u=>{let c=(p,m,v,h)=>{let b=je(u);P({message:ib.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Js,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Mn(u).forEach(p=>{Fn(p)||p.walk(({node:m,state:v})=>{if(v){if(Ln(m)){let h=m.getName(),b=Xe.unprefixed(h.toLowerCase());if(!Hk.has(b))return;b=b.replace(QC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||z3(m)&&l(v,m,c)}},d)})})},Zs.ruleName=Js,Zs.messages=ib,Zs.meta=YC,H3=Zs}),X3={};A(X3,{default:()=>J3});var el,ob,GC,tl,J3,hQ=y(()=>{Xt(),Ct(),rt(),J(),V(),K(),Rn(),$h(),I(),j(),D(),el="media-feature-range-notation",ob=O(el,{expected:e=>`Expected "${e}" media feature range notation`}),GC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},tl=(e,t)=>(r,n)=>{if(!T(n,el,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=F(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(Se.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Mn(a);s.forEach(l=>{Fn(l)||l.walk(({node:u,parent:c})=>{if(!Ym(u)&&!Ii(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!Dc.has(p))return;let m=e;if(i){let x=(A3(u)||N3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=Ii(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&Ii(u)||m==="context"&&Ym(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:w=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new Rh(new qk(new pe([C.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&Ii(u)&&Ln(c)?v({node:u,parent:c}):void 0,[b,g]=Wt(u),f=je(a);P({message:ob.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:el,fix:{apply:h,node:a}})})})})},tl.ruleName=el,tl.messages=ob,tl.meta=GC,J3=tl}),Z3={};A(Z3,{default:()=>eR});function KC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(He(n)&&(r=F(t,"ignoreFunctions",n.getName()),r))return!1}),r}var rl,ab,HC,sb,XC,nl,eR,fQ=y(()=>{Ct(),Xt(),q(),J(),V(),Fd(),K(),Rn(),$h(),I(),j(),D(),rl="media-query-no-invalid",ab=O(rl,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),HC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},sb=/^(?:min|max)-/i,XC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},nl=(e,t)=>(r,n)=>{if(!T(n,rl,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(Se.mediaName,o=>{let a=je(o);Mn(o).forEach(s=>{if(Fn(s)){if(KC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(C3(l)){if(KC(s,t))return;i(o,a,l);return}if(Ii(l)){let c=l.getName();if(Zi(c)){i(o,a,u,"custom");return}return}if(Ym(l)){let c=l.getName().toLowerCase();if(Zi(c)){i(o,a,u,"custom");return}if(sb.test(c)){i(o,a,u,"min_max_in_range");return}if(!Dc.has(c)){i(o,a,u,"discrete");return}return}if(nQ(l)){let c=l.getName();sb.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Wt(s);P({message:ab.rejected,messageArgs:[s.toString(),l?HC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:rl,result:n})}},nl.ruleName=rl,nl.messages=ab,nl.meta=XC,eR=nl}),tR={};A(tR,{default:()=>rR});var il,lb,JC,ol,rR,gQ=y(()=>{V(),q(),J(),NN(),Xt(),et(),rt(),K(),Rn(),I(),j(),Ct(),D(),il="media-type-no-deprecated",lb=O(il,{rejected:e=>`Deprecated media type "${e}"`}),JC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},ol=(e,t)=>(r,n)=>{T(n,il,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||Mn(i).forEach(o=>{if(!oQ(o))return;let a=o.getMediaType();if(!Bw.has(a.toLowerCase())||F(t,"ignoreMediaTypes",a))return;let s=je(i),[l,u]=Wt({tokens:()=>o.mediaType.filter(Ye)});P({message:lb.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:il,result:n})})})},ol.ruleName=il,ol.messages=lb,ol.meta=JC,rR=ol});function bQ(e,t){let r=e.map(n=>{let i=[],o=n.indexOf(t);for(;o!==-1;)i.push(o),o=n.indexOf(t,o+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let o=r[n],a=r[i];if(!(o&&o.length===0||a&&a.length===0)&&!Nw(o,a))return!1}return!0}function vQ(e){let t=new Set(e.flat());return t.delete("."),[...t]}function yQ(e){return vQ(e).filter(t=>!bQ(e,t))}var wQ=y(()=>{Ew()}),nR={};A(nR,{default:()=>iR});var ZC,al,sl,e2,ll,iR,kQ=y(()=>{ZC=X(ue(),1),q(),J(),wQ(),_e(),V(),I(),j(),D(),al="named-grid-areas-no-invalid",sl=O(al,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),e2={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},ll=e=>(t,r)=>{T(r,al,{actual:e})&&t.walkDecls(dr.gridAreaNames,n=>{let{value:i}=n;if(!Re(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,ZC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(sl.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(sl.expectedSameNumber,[],l.index,l.endIndex);return}let u=yQ(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));We(p),c(sl.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ie(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:al})}})},ll.ruleName=al,ll.messages=sl,ll.meta=e2,iR=ll});function lw(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Cv(n))return!0;if("document"in n&&n.document instanceof nE&&Cv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var oR=y(()=>{gd(),me()}),aR={};A(aR,{default:()=>sR});function t2(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&F(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var ul,ub,r2,cl,sR,xQ=y(()=>{On(),V(),q(),J(),lt(),we(),oR(),et(),de(),K(),I(),j(),D(),ul="nesting-selector-no-missing-scoping-root",ub=O(ul,{rejected:"Missing scoping root"}),r2={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},cl=(e,t)=>(r,n)=>{if(!T(n,ul,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(lw(o)||!ce(o)||t2(o,t))return;let a;try{a=qr(ge(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(Se.scopeName,o=>{if(lw(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||t2(o,t))return;let a;try{a=qr(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,je(o))});function i(o,a,s=0){Ni(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:ub.rejected,node:o,result:n,ruleName:ul,index:u,endIndex:c})}})}},cl.ruleName=ul,cl.messages=ub,cl.meta=r2,sR=cl});function Xk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function kn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(SQ(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&e.nodes.length===1&&e.nodes[0].type==="selector"&&CQ(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Lc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Lc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Fp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=Fp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Lc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Fp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=kn(n,t);Xk(i,r)<0||(r=i)}),r}function SQ(e){return Lc.default.isPseudoElement(e)}function CQ(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Lc,lR=y(()=>{Lc=X(dt(),1)});function Jk(e){let t=e.parent;return t?Oe(t)?t:it(t)?Jk(t):null:null}var uR=y(()=>{me()});function cR(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=n2(e,n);return r.reduce((o,a)=>n2(o,a),i)}}}function n2(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var dR=y(()=>{});function Cc(e,t){let r=uw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,uw.set(e,r);let n=e.toString(),i=ki.get(n);if(i)return r.set(t,i),i;let o=zQ(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ki.size>=mR){let s=ki.keys().next().value;s!==void 0&&ki.delete(s)}return ki.set(n,a),a}function zQ(e){return a2(e),i2(e),e.walk(t=>{a2(t),i2(t)}),pR(e),e}function i2(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function pR(e){if(nr.default.isContainer(e)){if(e.each(pR),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=NQ(e.nodes))}}function o2(e){var t;return(t=hR.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function AQ(e,t){let r=o2(e)-o2(t);return r!==0?r:String(e).localeCompare(String(t))}function NQ(e){let t=[],r=[];return e.forEach(n=>{nr.default.isCombinator(n)||nr.default.isPseudoElement(n)?(t.push(r,[n]),r=[]):r.push(n)}),t.push(r),t.forEach(n=>n.sort(AQ)),t.flat()}function a2(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,uw,ki,mR,hR,fR=y(()=>{nr=X(dt(),1),uw=new WeakMap,ki=new Map,mR=1e4,hR=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function vn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function EQ(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...vn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...vn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>s2(a)-s2(s)),n.push(...o)}e.removeAll();for(let i=n.length-1;i>=0;i--)n[i].remove(),n[i].parent=e,e.nodes.unshift(n[i])}function s2(e){return sr.default.isPseudoElement(e)?cw.pseudoElement:cw[e.type]}function l2(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...vn(s)})):(s.prepend(sr.default.combinator({value:" ",...vn(s)})),s.prepend(sr.default.nesting({...vn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...u2(t,!0)):u.replaceWith(...u2(t)))});for(let u of l)EQ(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...vn(e)});return n.forEach(a=>{i.append(a)}),i}function u2(e,t=!1){if(t||!PQ(e.nodes)){let r=sr.default.pseudo({value:":is",...vn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function PQ(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,cw,IQ=y(()=>{sr=X(dt(),1),cw={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function ld(e,t){let r=pw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,pw.set(e,r);let n=xe(ge(e),t,e);if(!n)return[];let i,o=[];{let s=e.parent;for(;s;)o.push(s),s=s.parent}o.reverse();for(let s of o){if(Oe(s)&&s.name==="scope"){i=xe(":where(:scope)",t,s);continue}if(!it(s))continue;if(!ce(s))return[];let l=xe(ge(s),t,s);if(!l)return[];i?i=l2(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:l2(dw.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:dw.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var dw,pw,Bh=y(()=>{IQ(),me(),we(),de(),ze(),dw=X(dt(),1),pw=new WeakMap}),gR={};A(gR,{default:()=>vR});function OQ(e,t){if(e.nodes.length===0)return;e=Cc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||th.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function bR(e){return e.nodes?e.some(t=>to(t)||Oe(t)&&bR(t)):!1}var dl,cb,c2,pl,vR,jQ=y(()=>{lR(),me(),uR(),zt(),de(),dR(),fR(),K(),Tt(),I(),Bh(),j(),D(),dl="no-descending-specificity",cb=O(dl,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),c2={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},pl=(e,t)=>(r,n)=>{if(!T(n,dl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=F(t,"ignore","selectors-within-list"),o=cR();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!bR(s))return;let l=o.getContext(s,Jk(s));ld(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=OQ(s,n);if(!d)return;let p=kn(s),{selector:m,index:v,endIndex:h}=at(l),{selector:b}=at(s);b=b===m?"":b;let g={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},f=c.get(d);if(!f){c.set(d,[g]);return}for(let S of f)if(Xk(p,S.specificity)<0){P({ruleName:dl,result:n,node:u,message:cb.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},pl.ruleName=dl,pl.messages=cb,pl.meta=c2,vR=pl}),yR={};A(yR,{default:()=>wR});function Mp(e){return mw.default.stringify(e).replace(/\s/g,"")}function TQ(e){if(!e.length)return[];let t=" ",r=[],n=[],i=[];for(let a of e)if(!(a.type==="space"||a.type==="comment")){if(!n.length){if(a.type==="function"&&(a.value==="supports"||a.value==="layer")){r.push(Mp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Mp(a));continue}}if(a.type==="div"&&a.value===","){n.push(Mp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Mp(i)),n.length&&!r.length)return n;if(!n.length&&r.length)return[r.join(t)];let o=r.join(t);return n.map(a=>o+t+a)}var mw,ml,db,d2,hl,wR,DQ=y(()=>{mw=X(ue(),1),V(),lt(),Ad(),I(),j(),D(),ml="no-duplicate-at-import-rules",db=O(ml,{rejected:e=>`Duplicate @import rule ${e}`}),d2={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},hl=e=>(t,r)=>{if(!T(r,ml,{actual:e}))return;let n={};t.walkAtRules(Se.importName,i=>{let[o,...a]=(0,mw.default)(st(i)).nodes;if(!o)return;let s=zd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=TQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:db.rejected,messageArgs:[s],node:i,result:r,ruleName:ml,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},hl.ruleName=ml,hl.messages=db,hl.meta=d2,wR=hl});function Md(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var Rd=y(()=>{me()}),kR={};A(kR,{default:()=>xR});var p2,fl,pb,m2,gl,xR,LQ=y(()=>{p2=X(dt(),1),q(),uR(),we(),zt(),Rd(),de(),dR(),fR(),K(),ze(),I(),Bh(),j(),D(),fl="no-duplicate-selectors",pb=O(fl,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),m2={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},gl=(e,t)=>(r,n)=>{if(!T(n,fl,{actual:e},{actual:t,possible:{disallowInList:[cd],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=cR();function a(c,d,p,m,v){P({result:n,ruleName:fl,node:c,message:pb.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=xe(ge(c),n,c))==null||p.each(m=>{var x,w,k,S,E,z;let v=Cc(m,n).string;if(F(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((z=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?z:1)-1});return}let{index:b,endIndex:g,selector:f}=at(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=ld(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=Cc(w,n).string;return F(t,"ignoreSelectors",k)}))return;let m=p2.default.root({nodes:p,value:""}),v=Cc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let b=ge(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){ld(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,E,z,L,N;let b=Cc(h,n).string;if(F(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((E=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(L=(z=c.source)==null?void 0:z.start)==null?void 0:L.line)!=null?N:1)-1});return}let{index:f,endIndex:x,selector:w}=at(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Md(c)||!ce(c))return;let d=o.getContext(c,Jk(c));if(i){u(c,d);return}s(c),l(c,d)})},gl.ruleName=fl,gl.messages=pb,gl.meta=m2,xR=gl}),SR={};A(SR,{default:()=>CR});var bl,mb,h2,vl,CR,FQ=y(()=>{yd(),I(),j(),D(),bl="no-empty-source",mb=O(bl,{rejected:"Empty source"}),h2={url:"https://stylelint.io/user-guide/rules/no-empty-source"},vl=(e,t,r)=>(n,i)=>{var a;if(!T(i,bl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!ji(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:mb.rejected,messageArgs:[],node:n,result:i,ruleName:bl})},vl.ruleName=bl,vl.messages=mb,vl.meta=h2,CR=vl}),zR={};A(zR,{default:()=>AR});var ti,Rp,f2,yl,AR,MQ=y(()=>{q(),we(),I(),j(),D(),ti="no-invalid-double-slash-comments",Rp=O(ti,{rejected:"Invalid double-slash CSS comment"}),f2={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},yl=(e,t,r)=>(n,i)=>{T(i,ti,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:Rp.rejected,messageArgs:[],node:o,result:i,ruleName:ti})}),n.walkRules(o=>{var u;let a=ge(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),eo(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:Rp.rejected,messageArgs:[],node:o,result:i,ruleName:ti,index:m,endIndex:h})}l+=c.length+1}}))},yl.ruleName=ti,yl.messages=Rp,yl.meta=f2,AR=yl}),NR={};A(NR,{default:()=>ER});var wl,hb,g2,kl,ER,RQ=y(()=>{q(),me(),et(),de(),K(),I(),j(),D(),wl="no-invalid-position-at-import-rule",hb=O(wl,{rejected:"Invalid position for @import rule"}),g2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},kl=(e,t)=>(r,n)=>{if(!T(n,wl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Oe(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!F(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:hb.rejected,messageArgs:[],node:o,result:n,ruleName:wl,word:o.toString()})})},kl.ruleName=wl,kl.messages=hb,kl.meta=g2,ER=kl}),PR={};A(PR,{default:()=>IR});var xl,fb,b2,Sl,IR,$Q=y(()=>{no(),me(),q(),Ed(),oR(),ct(),K(),I(),j(),D(),xl="no-invalid-position-declaration",fb=O(xl,{rejected:"Invalid position for declaration"}),b2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},Sl=(e,t)=>(r,n)=>{if(!T(n,xl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=a=>Oe(a)&&F(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&GA.has(a.name.toLowerCase());r.walkDecls(a=>{if(lw(a,{inline:!0})||!ut(a))return;let{parent:s}=a;if(s&&!(it(s)||o(s))){if(Oe(s)){let l=s.name.toLowerCase();if($c.has(l)){if(Ji(a,u=>it(u)||o(u)||i(u)))return}else return}P({message:fb.rejected,messageArgs:[],node:a,result:n,ruleName:xl})}})},Sl.ruleName=xl,Sl.messages=fb,Sl.meta=b2,IR=Sl}),OR={};A(OR,{default:()=>RR});function Cl(){return 0}function BQ(){return 1}function jR(e){return e.replace(fw," ")}function TR(e,t){if(!Gm.test(e))return e;let r=(0,DR.default)(e);return r.walk(n=>{t(n)&&(n.value=jR(n.value))}),r.toString()}function qQ(e){return TR(e,t=>t.type==="string")}function gb(e,t){if(!e)return;let r=t?MR.test(t.toLowerCase()):!1;return TR(e,n=>n.type==="string"&&!r||n.type==="comment")}function WQ(e){return Gm.test(e)?(0,hw.default)(t=>{t.walk(r=>{r.value&&(LR(r)||FR(r))&&(r.value=jR(r.value))})}).processSync(e):e}var hw,DR,LR,FR,zl,bb,v2,y2,vb,Gm,fw,w2,MR,k2,Al,RR,_Q=y(()=>{hw=X(dt(),1),DR=X(ue(),1),J(),lt(),Be(),we(),I(),j(),D(),{isAttribute:LR,isComment:FR}=hw.default,zl="no-irregular-whitespace",bb=O(zl,{rejected:"Irregular whitespace"}),v2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},y2=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],vb=y2.join(""),Gm=new RegExp(`[${vb}]`),fw=new RegExp(`[${vb}]+`,"g"),w2=["grid","grid-template","grid-template-areas"],MR=new RegExp(`^(?:${w2.join("|")})$`,"i"),k2=e=>Array.from(e.matchAll(fw)).map(t=>({index:t.index,length:t[0].length})),Al=e=>(t,r)=>{var o;if(!T(r,zl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Gm.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=k2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:zl,result:r,message:bb.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,Cl),i(a,a.name,BQ),i(a,a.raws.afterName,xA),i(a,qQ(st(a)),je),i(a,a.raws.between,eB),i(a,a.raws.after,Z6)}),t.walkRules(a=>{i(a,a.raws.before,Cl),i(a,WQ(ge(a)),Cl),i(a,a.raws.between,tB),i(a,a.raws.after,rB)}),t.walkDecls(a=>{i(a,a.raws.before,Cl),i(a,gb(a.prop),Cl),i(a,gb(a.raws.between),SA),i(a,gb($e(a),a.prop),ie)})},Al.ruleName=zl,Al.messages=bb,Al.meta=v2,RR=Al});function UQ(e){let t=[],r=(0,$R.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Re(a)){i=!0,t.length=0;return}if(Pd(a)||Rw.has(a))return;let{unit:s}=jn(o);s||s===""||t.push(o)}),t}var $R,VQ=y(()=>{$R=X(ue(),1),Ke(),Tn(),_e(),Id()}),BR={};A(BR,{default:()=>qR});var Nl,yb,x2,El,qR,QQ=y(()=>{Ke(),V(),J(),VQ(),I(),j(),D(),Nl="no-unknown-animations",yb=O(Nl,{rejected:e=>`Unknown animation "${e}"`}),x2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},El=e=>(t,r)=>{if(!T(r,Nl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=UQ(o.value);if(a.length===0)return;for(let s of a){if(Vc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ie(o);P({result:r,ruleName:Nl,message:yb.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},El.ruleName=Nl,El.messages=yb,El.meta=x2,qR=El});function YQ(e){return rQ(st(e),{preserveInvalidMediaQueries:!0})}var GQ=y(()=>{Xt(),lt()}),WR={};A(WR,{default:()=>_R});var Pl,wb,S2,Il,_R,KQ=y(()=>{V(),Xt(),J(),Fd(),GQ(),Rn(),I(),j(),D(),Pl="no-unknown-custom-media",wb=O(Pl,{rejected:e=>`Unknown custom media query "${e}"`}),S2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Il=e=>(t,r)=>{if(!T(r,Pl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.customMediaName,a=>{let s=YQ(a);s&&n.add(s.getName())});t.walkAtRules(Se.mediaName,o=>{Q.customProperty.test(o.params)&&Mn(o).forEach(a=>{Fn(a)||a.walk(({node:s})=>{if(!Ln(s))return;let[,l,u,c]=s.getNameToken();if(!Zi(l)||n.has(l))return;let d=je(o),p=d+u,m=d+c+1;P({message:wb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:Pl})})})})},Il.ruleName=Pl,Il.messages=wb,Il.meta=S2,_R=Il}),UR={};A(UR,{default:()=>VR});var C2,Ol,kb,z2,jl,VR,HQ=y(()=>{C2=X(ue(),1),V(),J(),Cd(),I(),j(),D(),Ol="no-unknown-custom-properties",kb=O(Ol,{rejected:e=>`Unknown custom property "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},jl=e=>(t,r)=>{if(!T(r,Ol,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(dr.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,C2.default)(a).walk(s=>{if(!ao(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ie(o);P({result:r,ruleName:Ol,message:kb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},jl.ruleName=Ol,jl.messages=kb,jl.meta=z2,VR=jl}),QR={};A(QR,{default:()=>YR});var Tl,xb,A2,Dl,YR,XQ=y(()=>{rt(),Ct(),J(),q(),lt(),Be(),Tr(),Le(),K(),I(),j(),Ak(),D(),Tl="number-max-precision",xb=O(Tl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),A2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Dl=(e,t)=>(r,n)=>{var l;if(!T(n,Tl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[qm(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,je,st(u))}),r.walkDecls(u=>{o(u,ie,$e(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(F(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};Dn(uo(St({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(He(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!le(d))return;let[m,v,h,b,g]=d.value;if(m!==C.Number&&m!==C.Dimension&&m!==C.Percentage)return;let f=0;if(m===C.Dimension){let k=g.unit;if(f=k.length,F(t,"ignoreUnits",k))return}else if(m===C.Percentage&&(f=1,F(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Tl,node:u,index:w+h,endIndex:w+(b+1)-f,message:xb.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},Dl.ruleName=Tl,Dl.messages=xb,Dl.meta=A2,YR=Dl}),GR={};A(GR,{default:()=>KR});var Ll,Sb,N2,ri,KR,JQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Ll="property-allowed-list",Sb=O(Ll,{rejected:e=>`Disallowed property "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ri=e=>(t,r)=>{T(r,Ll,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&(Pe(i,e)||P({message:Sb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Ll}))})},ri.primaryOptionArray=!0,ri.ruleName=Ll,ri.messages=Sb,ri.meta=N2,KR=ri}),HR={};A(HR,{default:()=>XR});var Fl,Cb,E2,ni,XR,ZQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Fl="property-disallowed-list",Cb=O(Fl,{rejected:e=>`Disallowed property "${e}"`}),E2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ni=e=>(t,r)=>{T(r,Fl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&Pe(i,e)&&P({message:Cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Fl})})},ni.primaryOptionArray=!0,ni.ruleName=Fl,ni.messages=Cb,ni.meta=E2,XR=ni});function Km(e){let t=JR.get(e);return We(t,`Invalid direction flow: ${e}`),t}var JR,ZR=y(()=>{q(),JR=new Map([["top-to-bottom",["top","bottom"]],["bottom-to-top",["bottom","top"]],["left-to-right",["left","right"]],["right-to-left",["right","left"]]])}),e$={};A(e$,{default:()=>t$});function P2(e){return Oe(e)&&e.name.toLowerCase()==="page"}function eY(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of Bc){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var I2,dn,Ml,O2,Rl,t$,tY=y(()=>{I2=X(ue(),1),Pr(),me(),q(),J(),ZR(),Ed(),Be(),pr(),jr(),K(),V(),I(),j(),gt(),D(),dn="property-layout-mappings",Ml=O(dn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),O2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Rl=(e,t)=>(r,n)=>{var u,c;if(!T(n,dn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?eY({block:o,inline:a}):null;function l(d,p,m,v,h){P({message:Ml.rejected,messageArgs:[d,p],node:m,result:n,ruleName:dn,index:v,endIndex:h})}r.walkDecls(d=>{let{prop:p}=d;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p))return;let m=0,v=m+p.length;if(e==="physical"){if(!Pv.has(p)||Ji(d,P2))return;l("flow-relative",p,d,m,v)}else{if(!Bc.has(p)||Ji(d,P2))return;if(!s){l("physical",p,d,m,v);return}let h=s.get(p);if(!h)return;P({message:Ml.expected,messageArgs:[p,h],index:m,endIndex:v,node:d,result:n,ruleName:dn,fix:{apply:()=>{d.prop=h},node:d}})}}),r.walkDecls(dr.propertyAcceptingNames,d=>{if(F(t,"ignoreProperties",d.prop))return;let p=(0,I2.default)($e(d)),m=ie(d);p.walk(v=>{if(!En(v))return;let{value:h,sourceIndex:b}=v;if(F(t,"ignoreProperties",h))return;let g=m+b,f=g+h.length;if(e==="physical"){if(!Pv.has(h))return;l("flow-relative",h,d,g,f)}else{if(!Bc.has(h))return;if(!s){l("physical",h,d,g,f);return}let x=s.get(h);if(!x)return;P({message:Ml.expected,messageArgs:[h,x],node:d,result:n,ruleName:dn,index:g,endIndex:f,fix:{apply:()=>{v.value=x,ft(d,p.toString())},node:d}})}})})},Rl.ruleName=dn,Rl.messages=Ml,Rl.meta=O2,t$=Rl}),r$={};A(r$,{default:()=>n$});var j2,$l,$p,T2,D2,L2,Bl,n$,rY=y(()=>{j2=X(ue(),1),q(),Be(),ct(),me(),K(),I(),j(),gt(),D(),$l="property-no-deprecated",$p=O($l,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),T2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},D2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},L2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},Bl=(e,t)=>(r,n)=>{T(n,$l,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ut(i))return;let{prop:o,value:a}=i;if(F(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=L2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=$p.expected,d=[o,l],u=()=>{i.prop=l;let p=D2[s];if(p){let m=(0,j2.default)($e(i));m.walk(v=>{if(!En(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),ft(i,m.toString())}}):(c=$p.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:$l,fix:{apply:u,node:i}})})},Bl.ruleName=$l,Bl.messages=$p,Bl.meta=T2,n$=Bl}),i$={};A(i$,{default:()=>o$});var ql,zb,F2,Wl,o$,nY=y(()=>{me(),q(),Pr(),Ed(),pr(),DF(),ct(),jr(),K(),I(),j(),D(),Dt(),ql="property-no-unknown",zb=O(ql,{rejected:e=>`Unknown property "${e}"`}),F2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Wl=(e,t)=>(r,n)=>{if(!T(n,ql,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[cd],ignoreSelectors:[$,_],ignoreAtRules:[$,_]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!ut(s)||TF(s)||!Or(l)||yt(l)||!i&&Xe.prefix(l)||F(t,"ignoreProperties",l))return;let u=s.parent;u&&it(u)&&F(t,"ignoreSelectors",u.selector)||Ji(s,c=>Oe(c)&&F(t,"ignoreAtRules",c.name))||o.getProperty(l)||iN.has(l.toLowerCase())||i&&oN.has(l.toLowerCase())||P({message:zb.rejected,messageArgs:[l],node:s,result:n,ruleName:ql,word:l})}},Wl.ruleName=ql,Wl.messages=zb,Wl.meta=F2,o$=Wl}),a$={};A(a$,{default:()=>s$});var _l,Ab,M2,Ul,s$,iY=y(()=>{q(),Ke(),bd(),K(),I(),j(),D(),_l="property-no-vendor-prefix",Ab=O(_l,{rejected:e=>`Vendor-prefixed property "${e}"`}),M2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Ul=(e,t)=>(r,n)=>{T(n,_l,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(F(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!zr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=zr.unprefix(i.prop)};P({message:Ab.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:_l,fix:{apply:a,node:i}})})},Ul.ruleName=_l,Ul.messages=Ab,Ul.meta=M2,s$=Ul}),l$={};A(l$,{default:()=>c$});function oY(e){return!!Ji(e,({type:t})=>t==="rule")}function aY(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function sY(e){let t=e.nodes.find(r=>!Wh(r));return qh(t)}function lY(e){let t=e.nodes.find(r=>!Wh(r)&&!Zk(r));return qh(t)}function uY(e,t,r){let n=e.nodes.find(i=>!Wh(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,u$({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function cY(e,t,r){let n=e.nodes.find(Zk),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(qh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var R2,Vl,Nb,$2,qh,Wh,Zk,B2,u$,Ql,c$,dY=y(()=>{R2=X(dt(),1),Ed(),we(),de(),ze(),I(),j(),D(),Vl="relative-selector-nesting-notation",Nb=O(Vl,{expected:e=>`Expected ${e} nesting notation`}),$2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:qh,isComment:Wh,isNesting:Zk,isSelector:B2,nesting:u$}=R2.default,Ql=e=>(t,r)=>{T(r,Vl,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!oY(n))return;let i=xe(ge(n),r,n);i&&i.each(o=>{if(!B2(o))return;let a=sY(o),s;if(e==="explicit"){if(aY(o)&&!a)return;s=()=>uY(o,n,i)}else{if(a||!lY(o))return;s=()=>cY(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:Nb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Vl,result:r,fix:{apply:s,node:n}})})})},Ql.ruleName=Vl,Ql.messages=Nb,Ql.meta=$2,c$=Ql});function pY(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!qw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var mY=y(()=>{Ww()}),d$={};A(d$,{default:()=>p$});function q2(e){let t=$r(e);return t!=null&&t.type==="rule"}var Yl,Bp,W2,Gl,p$,hY=y(()=>{pd(),Pn(),hd(),mY(),fd(),oh(),dh(),de(),K(),I(),j(),D(),Yl="rule-empty-line-before",Bp=O(Yl,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),W2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Gl=(e,t,r)=>(n,i)=>{if(!T(i,Yl,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!ce(a)||ih(a))return;if(F(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(F(t,"ignore","first-nested")&&Br(a))return;let s=a.parent&&a.parent.type!=="root";if(F(t,"ignore","inside-block")&&s||o.includes("multi-line")&&ch(a.toString()))return;let l=o.includes("always");(F(t,"except","first-nested")&&Br(a)||F(t,"except","after-rule")&&q2(a)||F(t,"except","inside-block-and-after-rule")&&s&&q2(a)||F(t,"except","after-single-line-comment")&&pY(a)||F(t,"except","inside-block")&&s)&&(l=!l);let u=md(a.raws.before);if(l===u)return;let c=l?Bp.expected:Bp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Yl,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Gl.ruleName=Yl,Gl.messages=Bp,Gl.meta=W2,p$=Gl}),m$={};A(m$,{default:()=>h$});function fY(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Kl,Eb,_2,ii,h$,gY=y(()=>{me(),q(),de(),Le(),I(),j(),D(),Kl="rule-nesting-at-rule-required-list",Eb=O(Kl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),_2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},ii=e=>(t,r)=>{if(!T(r,Kl,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(fY(i,n)||P({message:Eb.expected,messageArgs:n,node:i,result:r,ruleName:Kl}))})},ii.primaryOptionArray=!0,ii.ruleName=Kl,ii.messages=Eb,ii.meta=_2,h$=ii}),f$={};A(f$,{default:()=>g$});function bY(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Hl,Pb,U2,Xl,g$,vY=y(()=>{q(),Rd(),de(),Le(),K(),I(),j(),Ht(),D(),Hl="rule-selector-property-disallowed-list",Pb=O(Hl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),U2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Xl=(e,t)=>(r,n)=>{if(!T(n,Hl,{actual:e,possible:[Bt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=F(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Md(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!bY(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:Pb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Hl,word:c})})})},Xl.ruleName=Hl,Xl.messages=Pb,Xl.meta=U2,g$=Xl}),b$={};A(b$,{default:()=>v$});function yY(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Jl,Ib,V2,Zl,v$,wY=y(()=>{On(),Tt(),q(),we(),de(),V(),I(),j(),D(),Jl="selector-anb-no-unmatchable",Ib=O(Jl,{rejected:e=>`Unmatchable An+B selector "${e}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Zl=e=>(t,r)=>{T(r,Jl,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=ge(n),o;try{o=qr(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!_c.has(l.name)&&!$i.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;We(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;yY(c.nth)&&P({message:Ib.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Jl})})})}})},Zl.ruleName=Jl,Zl.messages=Ib,Zl.meta=V2,v$=Zl}),y$={};A(y$,{default:()=>w$});var eu,Ob,Q2,oi,w$,kY=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),eu="selector-attribute-name-disallowed-list",Ob=O(eu,{rejected:e=>`Disallowed name "${e}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},oi=e=>(t,r)=>{T(r,eu,{actual:e,possible:[$,_]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=xe(ge(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:Ob.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:eu})}))})},oi.primaryOptionArray=!0,oi.ruleName=eu,oi.messages=Ob,oi.meta=Q2,w$=oi}),k$={};A(k$,{default:()=>x$});var tu,jb,Y2,ai,x$,xY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),tu="selector-attribute-operator-allowed-list",jb=O(tu,{rejected:e=>`Disallowed operator "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ai=e=>(t,r)=>{if(!T(r,tu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:tu})}))})},ai.primaryOptionArray=!0,ai.ruleName=tu,ai.messages=jb,ai.meta=Y2,x$=ai}),S$={};A(S$,{default:()=>C$});var ru,Tb,G2,si,C$,SY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),ru="selector-attribute-operator-disallowed-list",Tb=O(ru,{rejected:e=>`Disallowed operator "${e}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},si=e=>(t,r)=>{if(!T(r,ru,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:Tb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:ru})}))})},si.primaryOptionArray=!0,si.ruleName=ru,si.messages=Tb,si.meta=G2,C$=si});function CY(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(z$,"").replace(A$,"");return!(N$.test(t)||gw.test(t.charAt(0))||t.charAt(0)==="-"&&gw.test(t.charAt(1)))}var z$,A$,N$,gw,zY=y(()=>{z$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,A$=/\\./g,N$=/[^\w-]/,gw=/\d/}),E$={};A(E$,{default:()=>P$});var nu,Db,K2,iu,P$,AY=y(()=>{we(),de(),zY(),V(),ze(),I(),j(),D(),nu="selector-attribute-quotes",Db=O(nu,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),K2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},iu=e=>(t,r)=>{T(r,nu,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=xe(ge(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:Db[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:nu,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!CY(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},iu.ruleName=nu,iu.messages=Db,iu.meta=K2,P$=iu});function _h(e){return!!(Bi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||I$.test(e))}var I$,Uh=y(()=>{Ke(),I$=new RegExp(`^(?:${[...SN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),O$={};A(O$,{default:()=>j$});var ou,Lb,H2,au,j$,NY=y(()=>{q(),we(),Uh(),de(),V(),ze(),I(),j(),D(),ou="selector-class-pattern",Lb=O(ou,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},au=e=>(t,r)=>{if(!T(r,ou,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(_h)||((o=xe(ge(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:ou,message:Lb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},au.ruleName=ou,au.messages=Lb,au.meta=H2,j$=au});function T$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var D$=y(()=>{}),L$={};A(L$,{default:()=>F$});function EY(e){return e.replace(/\s+/g," ")}var su,Fb,X2,li,F$,PY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),su="selector-combinator-allowed-list",Fb=O(su,{rejected:e=>`Disallowed combinator "${e}"`}),X2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},li=e=>(t,r)=>{T(r,su,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(ge(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=EY(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:su,message:Fb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},li.primaryOptionArray=!0,li.ruleName=su,li.messages=Fb,li.meta=X2,F$=li}),M$={};A(M$,{default:()=>R$});function IY(e){return e.replace(/\s+/g," ")}var lu,Mb,J2,ui,R$,OY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),lu="selector-combinator-disallowed-list",Mb=O(lu,{rejected:e=>`Disallowed combinator "${e}"`}),J2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ui=e=>(t,r)=>{T(r,lu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(ge(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=IY(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:lu,message:Mb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ui.primaryOptionArray=!0,ui.ruleName=lu,ui.messages=Mb,ui.meta=J2,R$=ui}),$$={};A($$,{default:()=>B$});var uu,Rb,Z2,ci,B$,jY=y(()=>{q(),we(),zt(),Rd(),de(),Le(),K(),ze(),I(),j(),D(),uu="selector-disallowed-list",Rb=O(uu,{rejected:e=>`Disallowed selector "${e}"`}),Z2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!T(n,uu,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[cd]},optional:!0}))return;let i=F(t,"ignore","inside-block"),o=F(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Md(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:uu,message:Rb.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=ge(s);if(!a){l(u,0,u.length);return}(c=xe(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=at(d);l(p,m,v)})})},ci.primaryOptionArray=!0,ci.ruleName=uu,ci.messages=Rb,ci.meta=Z2,B$=ci}),q$={};A(q$,{default:()=>W$});var cu,$b,ez,du,W$,TY=y(()=>{q(),we(),de(),V(),ze(),I(),j(),D(),cu="selector-id-pattern",$b=O(cu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),ez={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},du=e=>(t,r)=>{if(!T(r,cu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:cu,message:$b.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},du.ruleName=cu,du.messages=$b,du.meta=ez,W$=du}),_$={};A(_$,{default:()=>U$});var pu,Bb,tz,mu,U$,DY=y(()=>{q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),pu="selector-max-attribute",Bb=O(pu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),tz={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},mu=(e,t)=>(r,n)=>{if(!T(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,_]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{F(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:pu,result:n,node:a,message:Bb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=xe(ge(o),n,o))==null||a.each(s=>{i(s,o)}))})},mu.ruleName=pu,mu.messages=Bb,mu.meta=tz,U$=mu}),V$={};A(V$,{default:()=>Q$});var hu,qb,rz,fu,Q$,LY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),hu="selector-max-class",qb=O(hu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),rz={url:"https://stylelint.io/user-guide/rules/selector-max-class"},fu=e=>(t,r)=>{if(!T(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:hu,result:r,node:o,message:qb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=qb,fu.meta=rz,Q$=fu}),Y$={};A(Y$,{default:()=>G$});var gu,Wb,nz,bu,G$,FY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),gu="selector-max-combinators",Wb=O(gu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),nz={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},bu=e=>(t,r)=>{if(!T(r,gu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:gu,result:r,node:o,message:Wb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},bu.ruleName=gu,bu.messages=Wb,bu.meta=nz,G$=bu}),K$={};A(K$,{default:()=>H$});var iz,_b,Ub,oz,vu,Vb,az,yu,H$,MY=y(()=>{iz=X(dt(),1),q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),{isCombinator:_b,isPseudo:Ub,isRoot:oz}=iz.default,vu="selector-max-compound-selectors",Vb=O(vu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),az={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},yu=(e,t)=>(r,n)=>{if(!T(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Ub(a)?a.value:a.toString();return F(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(oz(a)||Ub(a))&&l.reduce((u,c,d,p)=>!_b(c)||d===0||d===p.length-1||_b(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=at(a);P({ruleName:vu,result:n,node:s,message:Vb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=xe(ge(a),n,a))==null||s.each(l=>{o(l,a)}))})},yu.ruleName=vu,yu.messages=Vb,yu.meta=az,H$=yu});function RY(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Tv.has(t)||$i.has(t)}return!1}var $Y=y(()=>{Tt()}),X$={};A(X$,{default:()=>J$});var wu,Qb,sz,ku,J$,BY=y(()=>{q(),we(),zt(),$Y(),Tr(),de(),V(),K(),ze(),I(),j(),D(),wu="selector-max-id",Qb=O(wu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),sz={url:"https://stylelint.io/user-guide/rules/selector-max-id"},ku=(e,t)=>(r,n)=>{if(!T(n,wu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(RY(a)&&F(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=xe(ge(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=at(s);P({ruleName:wu,result:n,node:o,message:Qb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},ku.ruleName=wu,ku.messages=Qb,ku.meta=sz,J$=ku}),Z$={};A(Z$,{default:()=>e5});var xu,Yb,lz,Su,e5,qY=y(()=>{we(),zt(),Tr(),de(),Tt(),V(),ze(),I(),j(),D(),xu="selector-max-pseudo-class",Yb=O(xu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),lz={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},Su=e=>(t,r)=>{if(!T(r,xu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||qc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:xu,result:r,node:o,message:Yb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(ge(i),r,i))==null||o.each(a=>{n(a,i)}))})},Su.ruleName=xu,Su.messages=Yb,Su.meta=lz,e5=Su}),t5={};A(t5,{default:()=>r5});var Cu,Gb,uz,Kb,zu,r5,WY=y(()=>{lR(),q(),zt(),de(),K(),I(),Bh(),j(),D(),Cu="selector-max-specificity",Gb=O(Cu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),uz={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Kb=()=>({a:0,b:0,c:0}),zu=(e,t)=>(r,n)=>{if(!T(n,Cu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;let i=c=>F(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Kb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Kb();let p=kn(c),m=kn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));zc(a),zc(s),zc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&ld(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=kn(m,{customSpecificity:o});if(Xk(v,u)>0){let{index:h,endIndex:b,selector:g}=at(d),{selector:f}=at(m);f=f===g?"":f,P({ruleName:Cu,result:n,node:c,message:Gb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},zu.ruleName=Cu,zu.messages=Gb,zu.meta=uz,r5=zu}),ex,n5=y(()=>{"use strict";ex=[]}),i5=G((e,t)=>{"use strict";t.exports=[]});function o5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||a5.default.includes(t)||ex.includes(t))}var a5,s5=y(()=>{n5(),a5=X(i5(),1)});function _Y(e){for(let t of e)if(!Vv(t))return!1;return!0}var UY=y(()=>{nP()});function $d(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(_c.has(o)||$i.has(o)||Ov.has(o)||Iv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Bd=y(()=>{Tt()}),l5={};A(l5,{default:()=>u5});function VY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>KY(r))}function QY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>HY(r))}function YY(e){return!!(e.prev()&&!ud(e.prev())||e.next()&&!ud(e.next()))}function GY(e){return XY(e.prev())}function ud(e){return e?e.type==="combinator":!1}function KY(e){return e?ud(e)&&$(e.value)&&_Y(e.value):!1}function HY(e){return e?ud(e)&&e.value===">":!1}function XY(e){return ud(e)&&e.value==="+"}var Au,Hb,cz,Nu,u5,JY=y(()=>{q(),we(),zt(),s5(),Uh(),Tr(),UY(),de(),Bd(),V(),K(),ze(),I(),j(),D(),Au="selector-max-type",Hb=O(Au,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),cz={url:"https://stylelint.io/user-guide/rules/selector-max-type"},Nu=(e,t)=>(r,n)=>{if(!T(n,Au,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},optional:!0}))return;let i=F(t,"ignore","descendant"),o=F(t,"ignore","child"),a=F(t,"ignore","compounded"),s=F(t,"ignore","next-sibling"),l=F(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{F(t,"ignoreTypes",m.value)||i&&VY(m)||o&&QY(m)||a&&YY(m)||s&&GY(m)||l&&m.value&&o5(m.value)||$d(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=at(c);P({ruleName:Au,result:n,node:d,message:Hb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(_h)||(d=xe(ge(c),n,c))==null||d.each(p=>{u(p,c)})})},Nu.ruleName=Au,Nu.messages=Hb,Nu.meta=cz,u5=Nu}),c5={};A(c5,{default:()=>d5});var Eu,Xb,dz,Pu,d5,ZY=y(()=>{we(),zt(),Tr(),de(),q(),V(),K(),ze(),I(),j(),D(),Eu="selector-max-universal",Xb=O(Eu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),dz={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},Pu=(e,t)=>(r,n)=>{if(!T(n,Eu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;F(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:Eu,result:n,node:a,message:Xb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=xe(ge(o),n,o))==null||a.each(s=>{i(s,o)}))})},Pu.ruleName=Eu,Pu.messages=Xb,Pu.meta=dz,d5=Pu}),p5={};A(p5,{default:()=>m5});var Iu,Jb,pz,Ou,m5,eG=y(()=>{q(),we(),zt(),de(),ze(),I(),j(),D(),Iu="selector-nested-pattern",Jb=O(Iu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),pz={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Ou=(e,t)=>(r,n)=>{if(!T(n,Iu,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[cd]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!ce(s))return;let l=ge(s);o?(u=xe(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=at(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:Iu,message:Jb.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Ou.ruleName=Iu,Ou.messages=Jb,Ou.meta=pz,m5=Ou});function h5(e){return e.startsWith(":--")}var f5=y(()=>{}),g5={};A(g5,{default:()=>b5});var mz,di,ju,hz,fz,gz,bz,Tu,b5,tG=y(()=>{mz=X(dt(),1),Tt(),q(),we(),f5(),de(),kd(),Bd(),V(),K(),ze(),I(),j(),D(),di="selector-no-deprecated",ju=O(di,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),hz={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:fz}=mz.default,gz={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},bz={content:"slotted"},Tu=(e,t)=>(r,n)=>{T(n,di,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=ge(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=xe(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!wd(c)||h5(c))return;let p,m;if(fz(u)){p=c.slice(2);let g=p.toLowerCase();if(!hm.has(g))return;let f=bz[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!fm.has(g))return;let f=gz[g];f&&(m=`:${f}`)}if(F(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=ju.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=ju.rejected,b=[c]),P({result:n,ruleName:di,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;$d(u)&&(F(t,"ignoreSelectors",d)||!pm.has(d.toLowerCase())&&!Pw.has(d)||P({result:n,ruleName:di,message:ju.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Tu.ruleName=di,Tu.messages=ju,Tu.meta=hz,b5=Tu}),v5={};A(v5,{default:()=>y5});function rG(e,t){let{children:r}=e;if((r==null?void 0:r.size)!==1)return!1;let n=r.first;return(n==null?void 0:n.type)!=="Identifier"?!1:t.has(n.name.toLowerCase())}var Du,Zb,vz,Lu,y5,nG=y(()=>{On(),Tt(),we(),Rd(),de(),V(),I(),j(),D(),Du="selector-no-invalid",Zb=O(Du,{rejected:(e,t)=>`Invalid selector "${e}"${t?`, ${t}`:""}`}),vz={url:"https://stylelint.io/user-guide/rules/selector-no-invalid"},Lu=e=>(t,r)=>{T(r,Du,{actual:e})&&t.walkRules(n=>{if(!ce(n)||Md(n))return;let i=ge(n),o=(s,l,u,c)=>{P({message:Zb.rejected,messageArgs:[u,c],node:n,index:s,endIndex:l,ruleName:Du,result:r})},a;try{a=qr(i,{context:"selectorList",positions:!0})}catch(s){if(!(s instanceof SyntaxError))throw s;let l="offset"in s&&typeof s.offset=="number"?s.offset:0,u=s.message;o(l,Math.min(l+1,i.length),i,u.charAt(0).toLowerCase()+u.slice(1));return}Q.dirPseudoClass.test(i)&&Ni(a,{visit:"PseudoClassSelector",enter(s){if(s.name.toLowerCase()!=="dir"||!s.loc||rG(s,jv))return Ni.skip;let l=s.loc.start.offset,u=s.loc.end.offset,c=`expected ${[...jv].map(d=>`"${d}"`).join(" or ")}`;o(l,u,i.slice(l,u),c)}})})},Lu.ruleName=Du,Lu.messages=Zb,Lu.meta=vz,y5=Lu});function bw(e){return w5.default.isPseudoClass(e)&&e.nodes.length>0&&k5.has(e.value.toLowerCase())}var w5,k5,x5=y(()=>{w5=X(dt(),1),k5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function iG(e){let t=Ri.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{oG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ri.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function oG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=vw(e);return[...t,...r].filter(n=>n.length)}function vw(e){let t=[],r=[[]];return e.each(n=>{if(Ri.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ri.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Ri.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=vw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(bw(n)){let i=[];n.each(o=>{let a=vw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Ri,aG=y(()=>{Ri=X(dt(),1),x5()}),S5={};A(S5,{default:()=>z5});function C5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(bw(t))return C5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Nt.default.isCombinator(n)||Nt.default.isPseudoElement(n));)Nt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Nt.default.isCombinator(i)||Nt.default.isPseudoElement(i));)Nt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Nt.default.isIdentifier(i)||Nt.default.isClassName(i)||Nt.default.isAttribute(i)||Nt.default.isTag(i)||bw(i));)r.splice(-1,1);return r}var Nt,Fu,ev,yz,Mu,z5,sG=y(()=>{Nt=X(dt(),1),aG(),zt(),Rd(),x5(),de(),Bd(),V(),K(),I(),Bh(),j(),D(),Fu="selector-no-qualifying-type",ev=O(Fu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),yz={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},Mu=(e,t)=>(r,n)=>{if(!T(n,Fu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=F(t,"ignore","id"),o=F(t,"ignore","class"),a=F(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Md(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=iG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!$d(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=C5(h);for(let w of g)if(Nt.default.isIdentifier(w)&&!i||Nt.default.isClassName(w)&&!o||Nt.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:Fu,result:n,node:s,message:ev.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}ld(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},Mu.ruleName=Fu,Mu.messages=ev,Mu.meta=yz,z5=Mu}),A5={};A(A5,{default:()=>N5});var Ru,tv,wz,$u,N5,lG=y(()=>{q(),we(),bd(),de(),V(),K(),ze(),I(),j(),D(),Ru="selector-no-vendor-prefix",tv=O(Ru,{rejected:e=>`Vendor-prefixed selector "${e}"`}),wz={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},$u=(e,t)=>(r,n)=>{T(n,Ru,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=xe(ge(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!zr.selector(s)||F(t,"ignoreSelectors",s))return;let l=()=>{a.value=zr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Ru,message:tv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},$u.ruleName=Ru,$u.messages=tv,$u.meta=wz,N5=$u}),E5={};A(E5,{default:()=>I5});function uG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&yw(o[0])).map(o=>(We(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();We(i),We(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=P5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function cG(e,t,r){let n=s=>{for(let l of s)We(l.nodes[0]),l.nodes[0].rawSpaceBefore=" ",l.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for(We(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);xi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var kz,xz,Sz,Cz,rv,zz,Az,Bu,nv,Nz,yw,xi,Ez,qu,P5,I5,dG=y(()=>{kz=X(dt(),1),q(),we(),de(),V(),ze(),I(),j(),D(),{isAttribute:xz,isClassName:Sz,isIdentifier:Cz,isPseudoClass:rv,isTag:zz,isUniversal:Az}=kz.default,Bu="selector-not-notation",nv=O(Bu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),Nz={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},yw=e=>rv(e)||xz(e)||Sz(e)||Az(e)||Cz(e)||zz(e),xi=e=>rv(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",Ez=e=>{if(e.length>1)return!1;We(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:yw(t)&&!xi(t):!0},qu=e=>(t,r)=>{T(r,Bu,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=xe(ge(n),r,n);i&&i.walkPseudos(o=>{if(!xi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&xi(u)))return;l=()=>cG(u,n,i)}else{let u=o.nodes;if(Ez(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>uG(o,n,i))}P({message:nv.expected,messageArgs:[e],node:n,result:r,ruleName:Bu,index:a,endIndex:s,fix:{apply:l,node:n}})})})},P5=({parent:e,sourceIndex:t})=>{We(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!xi(o)),i=n===-1?r[r.length-1]:r[n-1];return We(i),i},qu.ruleName=Bu,qu.messages=nv,qu.meta=Nz,I5=qu}),O5={};A(O5,{default:()=>j5});var Wu,iv,Pz,pi,j5,pG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),Wu="selector-pseudo-class-allowed-list",iv=O(Wu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Pz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},pi=e=>(t,r)=>{if(!T(r,Wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:iv.rejected,messageArgs:[l],node:o,result:r,ruleName:Wu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(ge(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},pi.primaryOptionArray=!0,pi.ruleName=Wu,pi.messages=iv,pi.meta=Pz,j5=pi}),T5={};A(T5,{default:()=>D5});var _u,ov,Iz,mi,D5,mG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),_u="selector-pseudo-class-disallowed-list",ov=O(_u,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Iz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},mi=e=>(t,r)=>{if(!T(r,_u,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:ov.rejected,messageArgs:[l],node:o,result:r,ruleName:_u,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(ge(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},mi.primaryOptionArray=!0,mi.ruleName=_u,mi.messages=ov,mi.meta=Iz,D5=mi}),L5={};A(L5,{default:()=>F5});function hG(e,t){var n;let r=e.parent;for(;r;){if(it(r)){let i=ge(r);if(i.includes("::")){let o=!1;if((n=xe(i,t,r))==null||n.walkPseudos(a=>{if(a.value.startsWith("::")&&mm.has(a.value.toLowerCase().slice(2)))return o=!0,!1}),o)return!0}}r=r.parent}return!1}var Uu,av,Oz,Vu,F5,fG=y(()=>{Tt(),me(),q(),J(),lt(),we(),f5(),et(),de(),kd(),K(),ze(),I(),j(),D(),Dt(),Uu="selector-pseudo-class-no-unknown",av=O(Uu,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),Oz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Vu=(e,t)=>(r,n)=>{if(!T(n,Uu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=xe(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!wd(u)||h5(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(qc.has(c)||F(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Xe.prefix(c),p;if(Oe(a)&&a.name==="page"){if(uN.has(c))return;p=je(a)+l.sourceIndex}else if(th.has(c)&&!d)p=l.sourceIndex;else{if(d||cN.has(c))return;let v=l,h=!1,b=!1;do if(v=v.prev(),v&&(v.type==="combinator"&&(h=!0),v.type==="nesting"&&!h&&(b=!0),v.value.startsWith("::")))break;while(v);if(v){let g=v.value.toLowerCase().slice(2);if(mm.has(g)&&Dv.has(c))return}else if(Dv.has(c)&&b&&hG(a,n))return;p=l.sourceIndex}let m=p+l.value.length;P({message:av.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Uu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=ge(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Vu.ruleName=Uu,Vu.messages=av,Vu.meta=Oz,F5=Vu}),M5={};A(M5,{default:()=>R5});var Qu,sv,jz,hi,R5,gG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Qu="selector-pseudo-element-allowed-list",sv=O(Qu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),jz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},hi=e=>(t,r)=>{T(r,Qu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(ge(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:sv.rejected,messageArgs:[a],node:n,result:r,ruleName:Qu})}))})},hi.primaryOptionArray=!0,hi.ruleName=Qu,hi.messages=sv,hi.meta=jz,R5=hi}),$5={};A($5,{default:()=>B5});var Yu,lv,Tz,Gu,B5,bG=y(()=>{we(),de(),Tt(),V(),ze(),I(),j(),D(),Yu="selector-pseudo-element-colon-notation",lv=O(Yu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),Tz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Gu=e=>(t,r)=>{if(!T(r,Yu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!ce(i))return;let o=xe(ge(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!qc.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:lv.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Yu,fix:{apply:u,node:i}})})})},Gu.ruleName=Yu,Gu.messages=lv,Gu.meta=Tz,B5=Gu}),q5={};A(q5,{default:()=>W5});var Ku,uv,Dz,fi,W5,vG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Ku="selector-pseudo-element-disallowed-list",uv=O(Ku,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Dz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},fi=e=>(t,r)=>{T(r,Ku,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(ge(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:uv.rejected,messageArgs:[a],node:n,result:r,ruleName:Ku})}))})},fi.primaryOptionArray=!0,fi.ruleName=Ku,fi.messages=uv,fi.meta=Dz,W5=fi}),_5={};A(_5,{default:()=>U5});var Hu,cv,Lz,Xu,U5,yG=y(()=>{q(),we(),de(),kd(),V(),K(),ze(),Tt(),I(),j(),D(),Dt(),Hu="selector-pseudo-element-no-unknown",cv=O(Hu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),Lz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Xu=(e,t)=>(r,n)=>{T(n,Hu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(ge(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!wd(s)||s.slice(0,2)!=="::"||F(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Xe.prefix(l)||th.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:cv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Hu,result:n})}))})},Xu.ruleName=Hu,Xu.messages=cv,Xu.meta=Lz,U5=Xu}),V5={};A(V5,{default:()=>Q5});var Ju,dv,Fz,Mz,Rz,$z,Zu,Q5,wG=y(()=>{q(),we(),Uh(),de(),Bd(),Tt(),K(),ze(),I(),j(),D(),Ju="selector-type-case",dv=O(Ju,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Fz={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Mz=/(?:[^.#[:a-z-]|^)[a-z]/i,Rz=/[A-Z]/,$z=/[a-z]/,Zu=(e,t)=>(r,n)=>{T(n,Ju,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Mz.test(o)||e==="lower"&&!Rz.test(o)||e==="upper"&&!$z.test(o)||!ce(i)||i.selectors.some(_h))return;let a=xe(ge(i),n,i);a&&a.walkTags(s=>{if(!$d(s)||lN.has(s.value)||F(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:dv.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Ju,result:n,fix:{apply:m,node:i}})})})},Zu.ruleName=Ju,Zu.messages=dv,Zu.meta=Fz,Q5=Zu}),Y5={};A(Y5,{default:()=>H5});function kG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return tx.default.isPseudoElement(t)&&G5.has(t.value)}function xG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return tx.default.isPseudoClass(t)&&K5.has(t.value)}var tx,Bz,ec,pv,qz,Wz,G5,K5,tc,H5,SG=y(()=>{n5(),tx=X(dt(),1),Bz=X(i5(),1),q(),we(),Tt(),s5(),Uh(),de(),Bd(),K(),ze(),I(),j(),D(),ec="selector-type-no-unknown",pv=O(ec,{rejected:e=>`Unknown type selector "${e}"`}),qz={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Wz=/(?:[^.#[:a-z-]|^)[a-z]/i,G5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),K5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),tc=(e,t)=>(r,n)=>{T(n,ec,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;Wz.test(i.selector)&&ce(i)&&(i.selectors.some(_h)||((o=xe(ge(i),n,i))==null||o.walkTags(a=>{if(!$d(a)||F(t,"ignore","custom-elements")&&o5(a.value)||F(t,"ignore","default-namespace")&&typeof a.namespace!="string"||F(t,"ignoreNamespaces",a.namespace)||F(t,"ignoreTypes",a.value)||kG(a)||xG(a))return;let s=a.value,l=s.toLowerCase(),u=[...Bz.default,"hatch","hatchpath","hatchPath"];if(sN.has(l)||u.includes(s)||ex.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:pv.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:ec,result:n})})))})},tc.ruleName=ec,tc.messages=pv,tc.meta=qz,H5=tc}),X5={};A(X5,{default:()=>J5});function ww(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return CG(i,o,a,s)?[e]:zG(i,o,a,s)?[e,t]:AG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function CG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function zG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function AG(e,t,r,n){return t===n}function NG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Fc.default)(e).nodes){if(MA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(ao(a)&&(n?o=!0:i=!0),En(a)||Nn(a)){let s=Fc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function EG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):ww(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):ww(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ie(t),k=w+t.value.length;P({message:um.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:Si,fix:{apply:x,node:t}})}var Fc,Si,um,_z,Uz,Vz,rc,J5,PG=y(()=>{Fc=X(ue(),1),J(),ct(),jr(),_e(),Cd(),K(),I(),j(),D(),Dt(),me(),Si="shorthand-property-no-redundant-values",um=O(Si,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),_z={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Uz=new Set(["margin","margin-block","margin-inline","padding","padding-block","padding-inline","border-color","border-style","border-width","border-radius","border-block-color","border-block-style","border-block-width","border-inline-color","border-inline-style","border-inline-width","gap","grid-gap","overflow","overscroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-inline","scroll-padding","scroll-padding-block","scroll-padding-inline","inset","inset-block","inset-inline"]),Vz=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),rc=(e,t)=>(r,n)=>{T(n,Si,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!ut(i)||!Or(o)||!Re(a))return;let s=Xe.unprefixed(o.toLowerCase());if(!Uz.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=NG(a);if(k){EG(n,i,x,w,S,E);return}}let l=[];for(let x of(0,Fc.default)(a).nodes){if(MA(x)||ao(x))return;(En(x)||Nn(x))&&l.push(Fc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=ww(u,c,d,p);if(F(t,"ignore","four-into-three-edge-values")&&Vz.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ie(i),f=g+i.value.length;P({message:um.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:Si,fix:{apply:b,node:i}})})},rc.ruleName=Si,rc.messages=um,rc.meta=_z,J5=rc}),Z5={};A(Z5,{default:()=>e6});var nc,mv,hv,Qz,ic,e6,IG=y(()=>{rt(),J(),kd(),K(),I(),j(),D(),nc="string-no-newline",mv=/\r?\n/,hv=O(nc,{rejected:"Newline in string"}),Qz={url:"https://stylelint.io/user-guide/rules/string-no-newline"},ic=(e,t)=>(r,n)=>{if(!T(n,nc,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(F(t,"ignore","at-rule-preludes"))break;o(a,a.params,je);break;case"decl":if(F(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){mv.test(a.selector)&&wd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){mv.test(s)&&St({css:s},{onParseError:u=>{if(!(u instanceof kr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:hv.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:nc})}})}},ic.ruleName=nc,ic.messages=hv,ic.meta=Qz,e6=ic}),t6={};A(t6,{default:()=>r6});var oc,fv,Yz,Gz,ac,r6,OG=y(()=>{rt(),On(),V(),J(),I(),j(),D(),oc="syntax-string-no-invalid",fv=O(oc,{rejected:e=>`Invalid syntax string "${e}"`}),Yz={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},Gz=zk({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,ac=e=>(t,r)=>{T(r,oc,{actual:e})&&t.walkAtRules(Se.propertyName,n=>{n.walkDecls(PN.syntaxName,i=>{St({css:i.value}).filter(o=>b7(o)).forEach(o=>{let{error:a}=Gz.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:l}=a;if(s!=="SyntaxMatchError"||l!=="Mismatch")return;let u=ie(i);P({message:fv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:oc})})})})},ac.ruleName=oc,ac.messages=fv,ac.meta=Yz,r6=ac}),n6={};A(n6,{default:()=>i6});var Kz,sc,gv,Hz,Xz,lc,i6,jG=y(()=>{Kz=X(ue(),1),Pr(),J(),Be(),Tn(),q(),V(),K(),I(),j(),D(),Dt(),sc="time-min-milliseconds",gv=O(sc,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),Hz={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Xz=new Set(["animation-delay","transition-delay"]),lc=(e,t)=>(r,n)=>{if(!T(n,sc,{actual:e,possible:Sr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=F(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=Xe.unprefixed(c.prop.toLowerCase()),m=(0,Kz.default)($e(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=jn(h);eN.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),tN.has(p)&&(v=a(f,b,v),!(l(f)||o&&v!==1)&&u(c,g,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&Xz.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ie(c)+d,v=m+p;P({result:n,ruleName:sc,message:gv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},lc.ruleName=sc,lc.messages=gv,lc.meta=Hz,i6=lc}),o6={};A(o6,{default:()=>a6});var Jz,uc,bv,Zz,gi,a6,TG=y(()=>{Jz=X(ue(),1),J(),V(),q(),Tn(),K(),I(),j(),Ht(),D(),uc="unit-allowed-list",bv=O(uc,{rejected:e=>`Disallowed unit "${e}"`}),Zz={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},gi=(e,t)=>(r,n)=>{if(!T(n,uc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,Jz.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||F(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=jn(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&F(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:bv.rejected,messageArgs:[d],node:a,result:n,ruleName:uc})}))}r.walkAtRules(Se.mediaName,a=>o(a,a.params,je)),r.walkDecls(a=>o(a,a.value,ie))},gi.primaryOptionArray=!0,gi.ruleName=uc,gi.messages=bv,gi.meta=Zz,a6=gi});function s6(e){if(!l6.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:u6.test(t.name)}var l6,u6,c6=y(()=>{me(),l6=/^unicode-range$/i,u6=/^font-face$/i}),d6={};A(d6,{default:()=>p6});function eA(e){return St({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var cc,vv,tA,bi,p6,DG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),Be(),c6(),K(),I(),j(),Ht(),D(),cc="unit-disallowed-list",vv=O(cc,{rejected:e=>`Disallowed unit "${e}"`}),tA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},bi=(e,t)=>(r,n)=>{if(!T(n,cc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)],ignoreMediaFeatureNames:[Bt($,_)]}}))return;let i=[e].flat();function o(s){if(!He(s))return!1;let l=s.getName().toLowerCase();return l==="url"||F(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==C.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&F(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:vv.rejected,messageArgs:[m],node:s,result:n,ruleName:cc})}r.walkAtRules(Se.mediaName,s=>{let l=st(s);Q.dimension.test(l)&&Ld(eA(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Ln(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,je,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(s6(s))return;let l=$e(s);if(!Q.dimension.test(l))return;let u={ignored:!1};Dn(uo(eA(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},bi.primaryOptionArray=!0,bi.ruleName=cc,bi.messages=vv,bi.meta=tA,p6=bi}),m6={};A(m6,{default:()=>h6});function LG(e){let t=e==="left-to-right"||e==="right-to-left"?"horizontalInline":"verticalInline";return new Map([...Yc].map(([r,n])=>[r,n[t]]))}var rA,vi,qp,nA,dc,h6,FG=y(()=>{rA=X(ue(),1),oo(),q(),J(),Be(),Tn(),ct(),V(),K(),I(),j(),gt(),D(),vi="unit-layout-mappings",qp=O(vi,{rejected:(e,t)=>`Disallowed ${e} unit "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),nA={url:"https://stylelint.io/user-guide/rules/unit-layout-mappings",fixable:!0},dc=(e,t)=>(r,n)=>{var s,l,u;if(!T(n,vi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreUnits:[$,_]},optional:!0}))return;let i=(u=(l=(s=n.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.directionality)==null?void 0:u.inline,o=i?LG(i):null;function a(c,d,p,m,v){P({index:p,endIndex:m,message:qp.rejected,messageArgs:[c,d],node:v,result:n,ruleName:vi})}r.walkDecls(c=>{if(!Q.axisUnit.test(c.value)||!ut(c))return;let d=(0,rA.default)($e(c)),p=ie(c);d.walk(m=>{let{number:v,unit:h}=jn(m);if(!v||!h||F(t,"ignoreUnits",h))return;let{sourceIndex:b,sourceEndIndex:g}=m,f=p+b+v.length,x=p+g;if(e==="physical"){if(!$w.has(h))return;a("flow-relative",h,f,x,c);return}if(!Yc.has(h))return;if(!o){a("physical",h,f,x,c);return}let w=o.get(h);w&&P({index:f,endIndex:x,message:qp.expected,messageArgs:[h,w],node:c,result:n,ruleName:vi,fix:{apply:()=>{m.value=v+w,ft(c,d.toString())},node:c}})})})},dc.ruleName=vi,dc.messages=qp,dc.meta=nA,h6=dc}),f6={};A(f6,{default:()=>g6});var Wp,pc,yv,iA,oA,mc,g6,MG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),Be(),et(),ct(),_e(),c6(),K(),oo(),I(),j(),D(),Dt(),Wp=new Set(AN),Wp.delete("x"),pc="unit-no-unknown",yv=O(pc,{rejected:e=>`Unknown unit "${e}"`}),iA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},oA=/^(?:min-|max-)?resolution$/i,mc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,pc,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([...Wp,...d])}else i=Wp;let a=d=>{if(!Q.dimension.test(d))return;let p=St({css:d});if(p.some(m=>m[0]===C.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(He(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||F(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Xe.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==C.Dimension||F(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&v.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(b+1)-f.length;P({message:yv.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:pc})};r.walkAtRules(Se.mediaName,d=>{if(!Ze(d))return;let p=st(d),m=a(p);m&&Ld(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Ln(b)){let f=b.getName();oA.test(f)&&(g.allowX=!0)}else(He(b)||le(b))&&s(d,je,b,g)},h)})}),r.walkDecls(d=>{if(!ut(d)||s6(d))return;let p=$e(d);if(!Re(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};Dn(uo(m),({node:h,state:b})=>{b&&(b.ignored||(He(h)||le(h))&&s(d,ie,h,b))},v)})},mc.ruleName=pc,mc.messages=yv,mc.meta=iA,g6=mc});function RG(e){let t=e.toLowerCase();return!(yN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var $G=y(()=>{Ke()});function BG(e){let t=e.toLowerCase();return!(wN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var qG=y(()=>{Ke()}),b6={};A(b6,{default:()=>v6});var aA,hc,wv,sA,lA,uA,cA,_p,fc,v6,WG=y(()=>{aA=X(ue(),1),Ke(),q(),J(),Be(),Tn(),$G(),qG(),_e(),V(),K(),I(),j(),D(),hc="value-keyword-case",wv=O(hc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),sA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},lA=new Set(["+","-","/","*","%"]),uA=new Set(["grid-row","grid-row-start","grid-row-end"]),cA=new Set(["grid-column","grid-column-start","grid-column-end"]),_p=new Map;for(let e of xN)_p.set(e.toLowerCase(),e);fc=(e,t)=>(r,n)=>{T(n,hc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[cd]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Re(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,aA.default)($e(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(CN.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&F(t,"ignoreFunctions",c))return!1;let{unit:p}=jn(u);if(u.type!=="word"||!Re(c)||o.includes("#")||lA.has(c)||p||s==="animation"&&!Rw.has(d)&&!Vc.has(d)||s==="animation-name"&&!Vc.has(d)||s==="font"&&!Mw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&RG(d)||s==="counter-reset"&&BG(d)||uA.has(s)&&!gN.has(d)||cA.has(s)&&!bN.has(d)||s==="grid-area"&&!vN.has(d)||s==="list-style"&&!kN.has(d)&&!km.has(d)||s==="list-style-type"&&!km.has(d)||F(t,"ignoreKeywords",c)||F(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&_p.has(m)&&h?v=_p.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:wv.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:hc,fix:{apply:f,node:i}})})})},fc.ruleName=hc,fc.messages=wv,fc.meta=sA,v6=fc}),y6={};A(y6,{default:()=>k6});function _G(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of yn){let c=w6.get(l),d=new Map;switch(c){case"side":for(let p of u.keys()){let m=a[p];m&&d.set(p,m)}break;case"inlineSide":o&&(d.set(n,"inline-start"),d.set(i,"inline-end"));break;case"axis":d.set(o?"horizontal":"vertical","inline"),d.set(o?"vertical":"horizontal","block");break;case"startEnd":o&&(d.set(n,"start"),d.set(i,"end"));break}s.set(l,d)}return s}var dA,yi,Up,pA,w6,gc,k6,UG=y(()=>{dA=X(ue(),1),q(),Ke(),V(),J(),ZR(),Be(),ct(),_e(),me(),K(),I(),j(),gt(),D(),yi="value-keyword-layout-mappings",Up=O(yi,{rejected:(e,t)=>`Disallowed ${e} keyword "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pA={url:"https://stylelint.io/user-guide/rules/value-keyword-layout-mappings",fixable:!0},w6=new Map([["caption-side","side"],["offset-anchor","side"],["offset-position","side"],["clear","inlineSide"],["float","inlineSide"],["resize","axis"],["text-align","startEnd"],["text-align-last","startEnd"]]),gc=(e,t)=>(r,n)=>{var d,p;if(!T(n,yi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_]},optional:!0}))return;let i=(p=(d=n.stylelint.config)==null?void 0:d.languageOptions)==null?void 0:p.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?_G({block:o,inline:a}):null,l=e==="physical"?Q.layoutFlowRelativeKeyword:Q.layoutPhysicalKeyword,u=e==="physical"?zN:yn;function c(m,v,h,b,g){P({index:h,endIndex:b,message:Up.rejected,messageArgs:[m,v],node:g,result:n,ruleName:yi})}r.walkDecls(dr.layoutMappings,m=>{let{prop:v,value:h}=m;if(!l.test(h)||!ut(m)||F(t,"ignoreProperties",v))return;let b=v.toLowerCase(),g=u.get(b);We(g);let f=(0,dA.default)($e(m)),x=ie(m);f.walk(w=>{var B;if(!En(w))return;let{value:k,sourceIndex:S}=w;if(!Re(k))return;let E=k.toLowerCase();if(!g.has(E)||F(t,"ignoreKeywords",k))return;let z=x+S,L=z+k.length;if(e==="physical"){c("flow-relative",k,z,L,m);return}if(!s){c("physical",k,z,L,m);return}let N=(B=s.get(b))==null?void 0:B.get(E);if(!N){c("physical",k,z,L,m);return}P({index:z,endIndex:L,message:Up.expected,messageArgs:[k,N],node:m,result:n,ruleName:yi,fix:{apply:()=>{w.value=N,ft(m,f.toString())},node:m}})})})},gc.ruleName=yi,gc.messages=Up,gc.meta=pA,k6=gc}),x6={};A(x6,{default:()=>S6});var mA,bc,kv,hA,vc,S6,VG=y(()=>{mA=X(ue(),1),J(),bd(),ct(),jr(),V(),K(),I(),j(),gt(),D(),q(),bc="value-no-vendor-prefix",kv=O(bc,{rejected:e=>`Vendor-prefixed value "${e}"`}),hA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},vc=(e,t)=>(r,n)=>{T(n,bc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!ut(i)||!Or(i.prop))return;let a=(0,mA.default)(o);a.walk(s=>{if(!zr.propertyValue(s.value)||F(t,"ignoreValues",s.value))return;let l=ie(i)+s.sourceIndex,u=()=>{s.value=zr.unprefix(s.value),ft(i,a.toString())};P({message:kv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:bc,fix:{apply:u,node:i}})})})},vc.ruleName=bc,vc.messages=kv,vc.meta=hA,S6=vc}),QG=G((e,t)=>{"use strict";t.exports=()=>{}});Jm();var rx={noDeprecation:!0,cwd(){return"/"}},YG=()=>{},GG={};Er();q();Er();Er();function C6(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=(rx.noDeprecation?[]:e.messages.filter(s=>s.stylelintType==="deprecation")).map(s=>({text:s.text,reference:s.stylelintReference})),o=e.messages.filter(s=>s.stylelintType==="invalidOption").map(s=>({text:s.text})),a=e.messages.filter(s=>s.stylelintType==="parseError");e.messages=e.messages.filter(s=>s.stylelintType!=="deprecation"&&s.stylelintType!=="invalidOption"&&s.stylelintType!=="parseError"),r={source:n,deprecations:i,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map(s=>({line:s.line,column:s.column,endLine:s.endLine,endColumn:s.endColumn,fix:s.fix,rule:s.rule,severity:s.severity,text:s.text,url:s.url})),ignored:e.stylelint.ignored,autofixed:e.stylelint.autofixed,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Jr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var KG=(e={})=>{let t=e.cwd||rx.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};zw();var HG=()=>!0,XG=U6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(SB(),WA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(CB(),UA)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(zB(),QA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(jB(),jN)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(TB(),DN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DB(),FN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(_B(),qN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tq(),iE)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(rq(),aE)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(nq(),lE)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(iq(),cE)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(sq(),pE)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(uq(),vE)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(cq(),wE)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(dq(),SE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(mq(),zE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(hq(),TE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(vq(),LE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(Oq(),UE)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(Tq(),QE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(Fq(),KE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Mq(),XE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(Rq(),ZE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>($q(),tP)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(Wq(),iP)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(Vq(),aP)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(Qq(),lP)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(Yq(),cP)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Hq(),hP)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(Xq(),gP)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(Jq(),vP)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(e9(),wP)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(j8(),RL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(T8(),BL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(D8(),WL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(L8(),UL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(M8(),QL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(R8(),HL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>($8(),JL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(W8(),tF)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(_8(),nF)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(U8(),oF)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(V8(),sF)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(Q8(),uF)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(NU(),MF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(OU(),qF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(MU(),HF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(RU(),JF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>($U(),eM)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(qU(),rM)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_U(),iM)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(QU(),aM)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(YU(),dM)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(KU(),mM)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(HU(),bM)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(eV(),wM)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(tV(),CM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(rV(),AM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(nV(),IM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(iV(),jM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(aV(),DM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(sV(),RM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(yV(),t3)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(wV(),n3)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(SV(),o3)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(AV(),s3)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(NV(),u3)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(MV(),d3)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(qV(),m3)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(WV(),g3)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),F3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(lQ(),R3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(uQ(),q3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(cQ(),_3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dQ(),V3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(pQ(),Y3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(mQ(),K3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(hQ(),X3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(fQ(),Z3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(gQ(),tR)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(kQ(),nR)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(xQ(),aR)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(jQ(),gR)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(DQ(),yR)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(LQ(),kR)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(FQ(),SR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(MQ(),zR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(RQ(),NR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>($Q(),PR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(_Q(),OR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(QQ(),BR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(KQ(),WR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(HQ(),UR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(XQ(),QR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(JQ(),GR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZQ(),HR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(tY(),e$)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(rY(),r$)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(nY(),i$)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(iY(),a$)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(dY(),l$)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(hY(),d$)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(gY(),m$)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(vY(),f$)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(wY(),b$)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(kY(),y$)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(xY(),k$)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(SY(),S$)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(AY(),E$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(NY(),O$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(PY(),L$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OY(),M$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(jY(),$$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(TY(),q$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(DY(),_$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(LY(),V$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(FY(),Y$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(MY(),K$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(BY(),X$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(qY(),Z$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(WY(),t5)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(JY(),l5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(ZY(),c5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(eG(),p5)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tG(),g5)),"./selector-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(nG(),v5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(sG(),S5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(lG(),A5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(dG(),E5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(pG(),O5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(mG(),T5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(fG(),L5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(gG(),M5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(bG(),$5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(vG(),q5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(yG(),_5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(wG(),V5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(SG(),Y5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(PG(),X5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(IG(),Z5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(OG(),t6)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(jG(),n6)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),o6)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(DG(),d6)),"./unit-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(FG(),m6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(MG(),f6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(WG(),b6)),"./value-keyword-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(UG(),y6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(VG(),x6))}),fA=new Map;function JG(e){let t=fA.get(e);return t||(t=XG(`./${e}/index.mjs`).then(r=>r.default),fA.set(e,t)),t}var ZG=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-invalid","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-layout-mappings","unit-no-unknown","value-keyword-case","value-keyword-layout-mappings","value-no-vendor-prefix"],z6={};for(let e of ZG)Object.defineProperty(z6,e,{get(){return JG(e)},enumerable:!0,configurable:!0});var nx=z6;function A6(e,t){var r;return eK(e)?nx[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function eK(e){return e in nx}q();function tK(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Cr(r)&&Cr(n)?e:[e]}async function rK(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await A6(r,e);i?t[r]=tK(n,i):t[r]=[]}return e.rules=t,e}var nK=(e,t)=>{let r={...t},n=["fix","computeEditInfo","ignoreDisables","quiet","validate"];for(let i of n){let o=e._options[i];o&&(r[i]=i==="fix"||o)}return r},iK=async(e,t,{config:r})=>({config:await rK(nK(e,r))}),N6=({stylelint:e,filePath:t})=>iK(e,t,{config:e._options.config}),oK=()=>[];function aK(e,t){return e.startsWith("_")?void 0:t}function sK(e){return JSON.stringify(e,aK)}var lK=()=>sK;Jm();gd();var uK=()=>{};jF();var cK=()=>{};gd();var dK=e=>e,E6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,pK=_i();async function mK(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?dK(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=E6(e._options.fix),s=t!=null?t:await hK(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await cK(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await pK.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function hK(e){return{parse:await(e?Promise.resolve().then(()=>X(QG(),1)).then(t=>t.default):_i.parse),stringify:_i.stringify}}var fK=async()=>[],gK=()=>{},bK=()=>Promise.resolve(!1),vK=()=>!1;Er();yd();Er();yd();q();me();uh();rt();function xv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function yK(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Mt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,z,L,N,B,te,re,ve,he,oe,qe,Ue,At,Ve,Y,H,R,W;if(Kr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Kc(w)&&ji(w.text,o)&&Z&&Kr(Z)&&(w.text.includes("--")||Z.text.startsWith("--")))){p(w,w.source,w.text);return}let M=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),be=Z;for(;!Kc(be)&&!ji(be.text,o);){let fe=(N=(L=(z=be.source)==null?void 0:z.end)==null?void 0:L.line)!=null?N:0;if(M+1!==fe)break;ee.text+=`
|
|
37
|
-
${
|
|
38
|
-
`,s={configurationComment:r.configurationComment||vd,newline:a};
|
|
34
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}var Z9=y(()=>{rk()}),S0,C0,z0,A0,N0,Yf,aI,eW=y(()=>{Z9(),S0=9,C0=10,z0=12,A0=13,N0=32,Yf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),aI=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&&Yf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==A0&&t!==C0&&t!==z0&&t!==N0&&t!==S0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new J9(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||Yf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function E0(e){let t=null,r=null;return e.eat(td),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Ch?(e.pos++,e.skipWs(),e.charCode()!==Fm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Fm),{min:Number(t),max:r?Number(r):0}}function tW(e){let t=null,r=!1;switch(e.charCode()){case pk:e.pos++,t={min:0,max:0};break;case Sh:e.pos++,t={min:1,max:0};break;case ed:e.pos++,t={min:0,max:1};break;case xh:e.pos++,r=!0,e.charCode()===td?t=E0(e):e.charCode()===ed?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case td:t=E0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function tn(e,t){let r=tW(e);return r!==null?(r.term=t,e.charCode()===xh&&e.charCodeAt(e.pos-1)===Sh||e.charCode()===ed&&e.charCodeAt(e.pos-1)===Fm?tn(e,r):r):t}function Gf(e){let t=e.peek();return t===""?null:tn(e,{type:"Token",value:t})}function rW(e){let t;return e.eat(zh),e.eat(Zc),t=e.scanWord(),e.eat(Zc),e.eat(Lm),tn(e,{type:"Property",name:t})}function nW(e){let t=null,r=null,n=1;return e.eat(Qi),e.charCode()===cy&&(e.peek(),n=-1),n==-1&&e.charCode()===py?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Ch),e.skipWs(),e.charCode()===py?e.peek():(n=1,e.charCode()===cy&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Sn),{type:"Range",min:t,max:r}}function iW(e){let t,r=null;if(e.eat(zh),t=e.scanWord(),t==="boolean-expr"){e.eat(Qi);let n=kh(e,Sn);return e.eat(Sn),e.eat(Lm),tn(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===ck&&e.nextCharCode()===dk&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Qi&&(e.skipWs(),r=nW(e)),e.eat(Lm),tn(e,{type:"Type",name:t,opts:r})}function oW(e){let t=e.scanWord();return e.charCode()===ck?(e.pos++,{type:"Function",name:t}):tn(e,{type:"Keyword",name:t})}function aW(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>my[i]-my[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function kh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?kh(e,dk):lW(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:aW(n,r)||" ",disallowEmpty:!1,explicit:!1}}function sW(e){let t;return e.eat(Qi),t=kh(e,Sn),e.eat(Sn),t.explicit=!0,e.charCode()===uk&&(e.pos++,t.disallowEmpty=!0),t}function lW(e){let t=e.charCode();switch(t){case Sn:break;case Qi:return tn(e,sW(e));case zh:return e.nextCharCode()===Zc?rW(e):iW(e);case dy:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===dy?2:1))};case uy:return e.pos++,e.eat(uy),{type:"Combinator",value:"&&"};case Ch:return e.pos++,{type:"Comma"};case Zc:return tn(e,{type:"String",value:e.scanString()});case pI:case lI:case uI:case dI:case cI:return{type:"Spaces",value:e.scanSpaces()};case mI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Gf(e);case pk:case Sh:case ed:case xh:case uk:break;case td:if(t=e.nextCharCode(),t<48||t>57)return Gf(e);break;default:return e.isNameCharCode(t)?oW(e):Gf(e)}}function sI(e){let t=new aI(e),r=kh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var lI,uI,cI,dI,pI,uk,xh,uy,Zc,ck,dk,pk,Sh,Ch,cy,zh,Lm,ed,mI,Qi,Sn,td,dy,Fm,py,my,hI=y(()=>{eW(),lI=9,uI=10,cI=12,dI=13,pI=32,uk=33,xh=35,uy=38,Zc=39,ck=40,dk=41,pk=42,Sh=43,Ch=44,cy=45,zh=60,Lm=62,ed=63,mI=64,Qi=91,Sn=93,td=123,dy=124,Fm=125,py=8734,my={" ":1,"&&":2,"||":3,"|":4}}),uW=y(()=>{}),fI=y(()=>{hI(),uW()});function cW(e){let t=[];return gh(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function dW(e,t){return typeof e=="string"?cW(e):t.generate(e,gI)}var gI,pW=y(()=>{mr(),gI={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function vt(e,t,r){return t===Ne&&r===De||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===De&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function bI(e){return e.length>2&&e.charCodeAt(e.length-2)===vI&&e.charCodeAt(e.length-1)===yI}function P0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&bI(e.name)}function _r(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Pc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Pc(e.match,t,r),e.then=Pc(e.then,t,r),e.else=Pc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function hy(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=vt(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(P0(a)&&(i===null&&o>0&&P0(t[o-1])&&(i=Object.create(null),n=vt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(bI(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=vt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=vt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=vt(o,a,n)}return n}}}function mW(e){let t=Ne,r=zi(e.term);if(e.max===0)r=vt(r,Ah,De),t=vt(r,null,De),t.then=vt(Ne,Ne,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,vt(Ne,Ne,t),De);if(e.min===0)t=vt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,t,De);return t}function zi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=hy(e.combinator,e.terms.map(zi),!1);return e.disallowEmpty&&(t=vt(t,Ah,De)),t}case"Multiplier":return mW(e);case"Boolean":{let t=zi(e.term),r=zi(_r([_r([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),_r([{type:"Type",name:"!boolean-group"},_r([{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=zi(_r([{type:"Type",name:"!term"},_r([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Pc(n,{"!term":t,"!self":r}),Pc(r,{"!boolean-group":n}),r}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function kp(e,t){return typeof e=="string"&&(e=sI(e)),{type:"MatchGraph",match:zi(e),syntax:t||null,source:e}}var Ne,De,Ah,vI,yI,wI=y(()=>{hI(),Ne={type:"Match"},De={type:"Mismatch"},Ah={type:"DisallowEmpty"},vI=40,yI=41});function hW(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Kf(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 fW(e){return e.type!==9?!1:e.value!=="?"}function I0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||fW(e)}function O0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function gW(e,t,r){function n(){do f++,g=f<e.length?e[f]:null;while(g!==null&&(g.type===13||g.type===25))}function i(k){let S=f+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:f,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:xI,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:Mm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===Mm?w=w.prev:w={type:mk,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,g=null,f=-1,x=0,w={type:kI,syntax:null,token:null,prev:null};for(n();b===null&&++h<by;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=De;break}b=gy;break}if(t=p.nextState,t===Ah)if(p.matchStack===w){t=De;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||f>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=SI;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,f=m.tokenIndex,g=f<e.length?e[f]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==Ne&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let E=t.syntax.terms;if(t.index===E.length){if(t.mask===0||t.syntax.all){t=De;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.length;t.index++){let C=1<<t.index;if((t.mask&C)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|C}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let E=g.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),fy.call(t.map,E)){t=t.map[E];break}}t=De;break;case"Generic":{let E=d!==null?d.opts:null,C=f+Math.floor(t.fn(g,i,E));if(!isNaN(C)&&C>f){for(;f<C;)l();t=Ne}else t=De;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",C=fy.call(r,E)?r[E][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=C.matchRef||C.match;break}case"Keyword":{let E=t.name;if(g!==null){let C=g.value;if(C.indexOf("\\")!==-1&&(C=C.replace(/\\[09].*$/,"")),Kf(C,E)){l(),t=Ne;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Kf(g.value,t.name)){l(),t=Ne;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=Ne;break}t=De;break;case"Comma":g!==null&&g.type===18?I0(w.token)?t=De:(l(),t=O0(g)?De:Ne):t=I0(w.token)||O0(g)?Ne:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Kf(k,t.value)){for(;f<S;)l();t=Ne}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(zI+=h,b){case null:console.warn("[csstree-match] BREAK after "+by+" iterations"),b=CI,w=null;break;case gy:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function j0(e,t,r){let n=gW(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=hW(i).prev;i!==null;){switch(i.type){case Mm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case mk:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var fy,kI,xI,Mm,mk,gy,SI,CI,by,zI,bW=y(()=>{wI(),{hasOwnProperty:fy}=Object.prototype,kI=0,xI=1,Mm=2,mk=3,gy="Match",SI="Mismatch",CI="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",by=15e3,zI=0}),AI={};A(AI,{getTrace:()=>NI,isKeyword:()=>wW,isProperty:()=>yW,isType:()=>vW});function NI(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 vW(e,t){return hk(this,e,r=>r.type==="Type"&&r.name===t)}function yW(e,t){return hk(this,e,r=>r.type==="Property"&&r.name===t)}function wW(e){return hk(this,e,t=>t.type==="Keyword")}function hk(e,t,r){let n=NI.call(e,t);return n===null?!1:n.some(r)}var kW=y(()=>{});function Hf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function T0(e){return!!e&&Hf(e.offset)&&Hf(e.line)&&Hf(e.column)}function xW(e,t){return function(r,n){if(!r||r.constructor!==Object)return n(r,"Type of node should be an Object");for(let i in r){let o=!0;if(Fi.call(r,i)!==!1){if(i==="type")r.type!==e&&n(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!T0(r.loc.start))i+=".start";else if(!T0(r.loc.end))i+=".end";else continue;o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let a=0;!o&&a<t[i].length;a++){let s=t[i][a];switch(s){case String:o=typeof r[i]=="string";break;case Boolean:o=typeof r[i]=="boolean";break;case null:o=r[i]===null;break;default:typeof s=="string"?o=r[i]&&r[i].type===s:Array.isArray(s)&&(o=r[i]instanceof Xc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Fi.call(t,i)&&Fi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function EI(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<"+(EI(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function SW(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Fi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=EI(a,e+"."+o)}return{docs:i,check:xW(e,n)}}function CW(e){let t={};if(e.node){for(let r in e.node)if(Fi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=SW(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Fi,zW=y(()=>{tk(),{hasOwnProperty:Fi}=Object.prototype});function AW(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function NW(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...AI}}function xp(e,t,r,n){let i=dW(r,e.syntax),o;return AW(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=j0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=j0(i,t.match,e),!o.match)?Gr(null,new $P(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var vy,EW=y(()=>{P9(),ok(),ak(),H9(),X9(),fI(),pW(),wI(),bW(),kW(),zW(),vy=class{constructor(e,t,r){if(this.cssWideKeywords=vh,this.syntax=t,this.generic=!1,this.units={...ly},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||CW(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(ly))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(K9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=kp(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=kp(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:sI(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:kp(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=NW(a)?kp({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new em("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!xp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=tm(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 em("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new em("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?xp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=tm(t);return xp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(oy(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):xp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=tm(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=oy(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Xf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function PW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Jf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?PW(o,r):o};return n}function yy(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Xf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Xf(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]=Xf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Jf(e[n],i);break;case"atrule":case"pseudo":r[n]=Jf(e[n],i,["parse"]);break;case"node":r[n]=Jf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var IW=y(()=>{});function PI(e){let t=c9(e),r=w9(e),n=f9(e),{fromPlainObject:i,toPlainObject:o}=RP(r),a={lexer:null,createLexer:s=>new vy(s,a,a.lexer.structure),tokenize:gh,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=yy({},e);return PI(typeof s=="function"?s(l):yy(l,s))}};return a.lexer=new vy({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var II,OW=y(()=>{mr(),d9(),g9(),b9(),k9(),EW(),IW(),II=e=>PI(yy({},e))}),OI,jW=y(()=>{OI={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"}}}}}),jI={};A(jI,{generate:()=>TW,name:()=>LI,parse:()=>TI,structure:()=>FI});function nm(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Pt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)pt(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ai(e){return nm.call(this,0,e)}function Ur(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case Ic:r="N is expected";break;case Pt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Zf(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(Pt,e)){t=this.isDelim(rr,e)?rr:Pt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ai.call(this,Yr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Pt&&this.error("Number sign is expected")),Ai.call(this,t!==0),t===Pt?"-"+this.consume(10):this.consume(10)}function TI(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ai.call(this,DI),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Pt))switch(t="-1",Ur.call(this,1,Ic),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Zf.call(this);break;case 3:Ur.call(this,2,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,2,Pt),nm.call(this,3,Yr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),Ur.call(this,0,Ic),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Zf.call(this);break;case 2:Ur.call(this,1,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,1,Pt),nm.call(this,2,Yr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Pt,o=this.tokenStart+i;for(;o<this.tokenEnd&&pt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ur.call(this,o-this.tokenStart,Ic),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Zf.call(this)):(Ur.call(this,o-this.tokenStart+1,Pt),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10)):(nm.call(this,o-this.tokenStart+2,Yr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function TW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,Pt,Ic,Yr,DI,LI,FI,MI=y(()=>{mr(),rr=43,Pt=45,Ic=110,Yr=!0,DI=!1,LI="AnPlusB",FI={a:[String,null],b:[String,null]}}),RI={};A(RI,{generate:()=>LW,name:()=>BI,parse:()=>$I,structure:()=>WI,walkContext:()=>qI});function D0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function DW(){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 $I(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),D0):i=D0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(DW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function LW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var BI,qI,WI,_I=y(()=>{BI="Atrule",qI="atrule",WI={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),UI={};A(UI,{generate:()=>FW,name:()=>QI,parse:()=>VI,structure:()=>GI,walkContext:()=>YI});function VI(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 FW(e){this.children(e)}var QI,YI,GI,KI=y(()=>{QI="AtrulePrelude",YI="atrulePrelude",GI={children:[[]]}}),HI={};A(HI,{generate:()=>$W,name:()=>tO,parse:()=>XI,structure:()=>rO});function MW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(fk)?(t=!0,this.next()):this.isDelim(Rm)||this.eat(1),this.isDelim(Rm)?this.charCodeAt(this.tokenStart+1)!==Oc?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function RW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Oc&&t!==eO&&t!==ZI&&t!==JI&&t!==fk&&t!==Rm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Oc&&(this.isDelim(Oc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function XI(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=MW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=RW.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 $W(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 JI,fk,Oc,ZI,Rm,eO,tO,rO,nO=y(()=>{JI=36,fk=42,Oc=61,ZI=94,Rm=124,eO=126,tO="AttributeSelector",rO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),iO={};A(iO,{generate:()=>qW,name:()=>lO,parse:()=>aO,structure:()=>cO,walkContext:()=>uO});function oO(){return this.Raw(null,!0)}function L0(){return this.parseWithFallback(this.Rule,oO)}function F0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function BW(){if(this.tokenType===17)return F0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,F0);return this.tokenType===17&&this.next(),e}function aO(e){let t=e?BW:L0,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),oO));break;default:e&&this.isDelim(sO)?n.push(L0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function qW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var sO,lO,uO,cO,dO=y(()=>{sO=38,lO="Block",uO="block",cO={children:[["Atrule","Rule","Declaration"]]}}),pO={};A(pO,{generate:()=>WW,name:()=>hO,parse:()=>mO,structure:()=>fO});function mO(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 WW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var hO,fO,gO=y(()=>{hO="Brackets",fO={children:[[]]}}),bO={};A(bO,{generate:()=>_W,name:()=>yO,parse:()=>vO,structure:()=>wO});function vO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function _W(){this.token(15,"-->")}var yO,wO,kO=y(()=>{yO="CDC",wO=[]}),xO={};A(xO,{generate:()=>UW,name:()=>CO,parse:()=>SO,structure:()=>zO});function SO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function UW(){this.token(14,"<!--")}var CO,zO,AO=y(()=>{CO="CDO",zO=[]}),NO={};A(NO,{generate:()=>VW,name:()=>IO,parse:()=>EO,structure:()=>OO});function EO(){return this.eatDelim(PO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function VW(e){this.token(9,"."),this.token(1,e.name)}var PO,IO,OO,jO=y(()=>{PO=46,IO="ClassSelector",OO={name:String}}),TO={};A(TO,{generate:()=>QW,name:()=>RO,parse:()=>DO,structure:()=>$O});function DO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case FO:case LO:case MO:this.next();break;case wy:this.next(),this.eatIdent("deep"),this.eatDelim(wy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function QW(e){this.tokenize(e.name)}var LO,wy,FO,MO,RO,$O,BO=y(()=>{LO=43,wy=47,FO=62,MO=126,RO="Combinator",$O={name:String}}),qO={};A(qO,{generate:()=>YW,name:()=>VO,parse:()=>WO,structure:()=>QO});function WO(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===_O&&this.charCodeAt(t-1)===UO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function YW(e){this.token(25,"/*"+e.value+"*/")}var _O,UO,VO,QO,YO=y(()=>{_O=42,UO=47,VO="Comment",QO={value:String}}),GO={};A(GO,{generate:()=>GW,name:()=>XO,parse:()=>KO,structure:()=>JO});function M0(e){return this.lookupTypeNonSC(1)===1&&HO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function KO(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(()=>ZO[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 GW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var HO,XO,JO,ZO,ej=y(()=>{HO=new Set([16,22,0]),XO="Condition",JO={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},ZO={media:M0,container:M0,supports(){return this.SupportsDeclaration()}}}),tj={};A(tj,{generate:()=>JW,name:()=>lj,parse:()=>rj,structure:()=>cj,walkContext:()=>uj});function KW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function HW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function XW(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(gk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function rj(){let e=this.tokenStart,t=this.tokenIndex,r=ZW.call(this),n=ik(r),i=n?this.parseCustomProperty:this.parseValue,o=n?HW:KW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(XW,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(gk)&&(a=e_.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 JW(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 ZW(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case aj:case ij:case sj:case nj:case oj:this.next();break;case ky:this.next(),this.isDelim(ky)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function e_(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var gk,nj,ij,oj,aj,sj,ky,lj,uj,cj,dj=y(()=>{ok(),gk=33,nj=35,ij=36,oj=38,aj=42,sj=43,ky=47,lj="Declaration",uj="declaration",cj={important:[Boolean,String],property:String,value:["Value","Raw"]}}),pj={};A(pj,{generate:()=>t_,name:()=>fj,parse:()=>mj,structure:()=>gj});function eg(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function mj(){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),eg));break;default:this.isDelim(hj)?e.push(this.parseWithFallback(this.Rule,eg)):e.push(this.parseWithFallback(this.Declaration,eg))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function t_(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var hj,fj,gj,bj=y(()=>{hj=38,fj="DeclarationList",gj={children:[["Declaration","Atrule","Rule"]]}}),vj={};A(vj,{generate:()=>r_,name:()=>wj,parse:()=>yj,structure:()=>kj});function yj(){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 r_(e){this.token(12,e.value+e.unit)}var wj,kj,xj=y(()=>{wj="Dimension",kj={value:String,unit:String}}),Sj={};A(Sj,{generate:()=>n_,name:()=>Aj,parse:()=>Cj,structure:()=>Nj});function Cj(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(zj)&&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 n_(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var zj,Aj,Nj,Ej=y(()=>{zj=47,Aj="Feature",Nj={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),Pj={};A(Pj,{generate:()=>o_,name:()=>Oj,parse:()=>Ij,structure:()=>jj});function i_(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Ij(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=i_.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 o_(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var Oj,jj,Tj=y(()=>{Oj="FeatureFunction",jj={kind:String,feature:String,value:["Declaration","Selector"]}}),Dj={};A(Dj,{generate:()=>a_,name:()=>Rj,parse:()=>Lj,structure:()=>$j});function tg(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(xy,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(xy)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function R0(e){if(this.skipSC(),this.isDelim(Fj)||this.isDelim(Mj)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Sy)?(this.next(),t+"="):t}if(this.isDelim(Sy))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Lj(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=tg.call(this),n=R0.call(this,r.type==="Identifier"),i=tg.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=R0.call(this),a=tg.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 a_(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var xy,Fj,Sy,Mj,Rj,$j,Bj=y(()=>{xy=47,Fj=60,Sy=61,Mj=62,Rj="FeatureRange",$j={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]}}),qj={};A(qj,{generate:()=>s_,name:()=>_j,parse:()=>Wj,structure:()=>Vj,walkContext:()=>Uj});function Wj(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function s_(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var _j,Uj,Vj,Qj=y(()=>{_j="Function",Uj="function",Vj={name:String,children:[[]]}}),Yj={};A(Yj,{generate:()=>l_,name:()=>Kj,parse:()=>Gj,structure:()=>Hj});function Gj(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 l_(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var Kj,Hj,Xj=y(()=>{Kj="GeneralEnclosed",Hj={kind:String,function:[String,null],children:[[]]}}),Jj={};A(Jj,{generate:()=>u_,name:()=>tT,parse:()=>Zj,structure:()=>rT,xxx:()=>eT});function Zj(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function u_(e){this.token(4,"#"+e.value)}var eT,tT,rT,nT=y(()=>{eT="XXX",tT="Hash",rT={value:String}}),iT={};A(iT,{generate:()=>c_,name:()=>aT,parse:()=>oT,structure:()=>sT});function oT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function c_(e){this.token(1,e.name)}var aT,sT,lT=y(()=>{aT="Identifier",sT={name:String}}),uT={};A(uT,{generate:()=>d_,name:()=>dT,parse:()=>cT,structure:()=>pT});function cT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function d_(e){this.token(9,"#"+e.name)}var dT,pT,mT=y(()=>{dT="IdSelector",pT={name:String}}),hT={};A(hT,{generate:()=>p_,name:()=>bT,parse:()=>fT,structure:()=>vT});function fT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(gT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function p_(e){this.tokenize(e.name)}var gT,bT,vT,yT=y(()=>{gT=46,bT="Layer",vT={name:String}}),wT={};A(wT,{generate:()=>m_,name:()=>xT,parse:()=>kT,structure:()=>ST});function kT(){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 m_(e){this.children(e,()=>this.token(18,","))}var xT,ST,CT=y(()=>{xT="LayerList",ST={children:[["Layer"]]}}),zT={};A(zT,{generate:()=>h_,name:()=>NT,parse:()=>AT,structure:()=>ET});function AT(){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 h_(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 NT,ET,PT=y(()=>{NT="MediaQuery",ET={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),IT={};A(IT,{generate:()=>f_,name:()=>jT,parse:()=>OT,structure:()=>TT});function OT(){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 f_(e){this.children(e,()=>this.token(18,","))}var jT,TT,DT=y(()=>{jT="MediaQueryList",TT={children:[["MediaQuery"]]}}),LT={};A(LT,{generate:()=>g_,name:()=>RT,parse:()=>FT,structure:()=>$T});function FT(){let e=this.tokenStart;return this.eatDelim(MT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function g_(){this.token(9,"&")}var MT,RT,$T,BT=y(()=>{MT=38,RT="NestingSelector",$T={}}),qT={};A(qT,{generate:()=>b_,name:()=>_T,parse:()=>WT,structure:()=>UT});function WT(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function b_(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var _T,UT,VT=y(()=>{_T="Nth",UT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),QT={};A(QT,{generate:()=>v_,name:()=>GT,parse:()=>YT,structure:()=>KT});function YT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function v_(e){this.token(10,e.value)}var GT,KT,HT=y(()=>{GT="Number",KT={value:String}}),XT={};A(XT,{generate:()=>y_,name:()=>ZT,parse:()=>JT,structure:()=>e4});function JT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function y_(e){this.tokenize(e.value)}var ZT,e4,t4=y(()=>{ZT="Operator",e4={value:String}}),r4={};A(r4,{generate:()=>w_,name:()=>i4,parse:()=>n4,structure:()=>o4});function n4(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 w_(e){this.token(21,"("),this.children(e),this.token(22,")")}var i4,o4,a4=y(()=>{i4="Parentheses",o4={children:[[]]}}),s4={};A(s4,{generate:()=>k_,name:()=>u4,parse:()=>l4,structure:()=>c4});function l4(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function k_(e){this.token(11,e.value+"%")}var u4,c4,d4=y(()=>{u4="Percentage",c4={value:String}}),p4={};A(p4,{generate:()=>x_,name:()=>h4,parse:()=>m4,structure:()=>g4,walkContext:()=>f4});function m4(){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 x_(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var h4,f4,g4,b4=y(()=>{h4="PseudoClassSelector",f4="function",g4={name:String,children:[["Raw"],null]}}),v4={};A(v4,{generate:()=>S_,name:()=>w4,parse:()=>y4,structure:()=>x4,walkContext:()=>k4});function y4(){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 S_(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 w4,k4,x4,S4=y(()=>{w4="PseudoElementSelector",k4="function",x4={name:String,children:[["Raw"],null]}}),C4={};A(C4,{generate:()=>C_,name:()=>A4,parse:()=>z4,structure:()=>N4});function $0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function z4(){let e=this.tokenStart,t=$0.call(this),r=null;return this.skipSC(),this.isDelim(Cy)&&(this.eatDelim(Cy),r=$0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function C_(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Cy,A4,N4,E4=y(()=>{Cy=47,A4="Ratio",N4={left:["Number","Function"],right:["Number","Function",null]}}),P4={};A(P4,{generate:()=>A_,name:()=>O4,parse:()=>I4,structure:()=>j4});function z_(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function I4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=z_.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function A_(e){this.tokenize(e.value)}var O4,j4,T4=y(()=>{O4="Raw",j4={value:String}}),D4={};A(D4,{generate:()=>E_,name:()=>F4,parse:()=>L4,structure:()=>R4,walkContext:()=>M4});function B0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function N_(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function L4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(N_,B0):r=B0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function E_(e){this.node(e.prelude),this.node(e.block)}var F4,M4,R4,$4=y(()=>{F4="Rule",M4="rule",R4={prelude:["SelectorList","Raw"],block:["Block"]}}),B4={};A(B4,{generate:()=>P_,name:()=>W4,parse:()=>q4,structure:()=>_4});function q4(){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 P_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var W4,_4,U4=y(()=>{W4="Scope",_4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),V4={};A(V4,{generate:()=>I_,name:()=>Y4,parse:()=>Q4,structure:()=>G4});function Q4(){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 I_(e){this.children(e)}var Y4,G4,K4=y(()=>{Y4="Selector",G4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),H4={};A(H4,{generate:()=>O_,name:()=>J4,parse:()=>X4,structure:()=>eD,walkContext:()=>Z4});function X4(){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 O_(e){this.children(e,()=>this.token(18,","))}var J4,Z4,eD,tD=y(()=>{J4="SelectorList",Z4="selector",eD={children:[["Selector","Raw"]]}}),rD={};A(rD,{decode:()=>bk,encode:()=>nD});function bk(e){let t=e.length,r=e.charCodeAt(0),n=r===vk||r===yk?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===$m){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),wr($m,s)){let l=a-1,u=Ui(e,l);a=u-1,o+=SP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function nD(e,t){let r=t?"'":'"',n=t?yk:vk,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===$m?(i+="\\"+e.charAt(a),o=!1):(o&&(en(s)||xn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var $m,vk,yk,wk=y(()=>{mr(),$m=92,vk=34,yk=39}),iD={};A(iD,{generate:()=>j_,name:()=>aD,parse:()=>oD,structure:()=>sD});function oD(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:bk(this.consume(5))}}function j_(e){this.token(5,nD(e.value))}var aD,sD,lD=y(()=>{wk(),aD="String",sD={value:String}}),uD={};A(uD,{generate:()=>T_,name:()=>pD,parse:()=>cD,structure:()=>hD,walkContext:()=>mD});function q0(){return this.Raw(null,!1)}function cD(){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)!==dD){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,q0);break;default:r=this.parseWithFallback(this.Rule,q0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function T_(e){this.children(e)}var dD,pD,mD,hD,fD=y(()=>{dD=33,pD="StyleSheet",mD="stylesheet",hD={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),gD={};A(gD,{generate:()=>D_,name:()=>vD,parse:()=>bD,structure:()=>yD});function bD(){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 D_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var vD,yD,wD=y(()=>{vD="SupportsDeclaration",yD={declaration:"Declaration"}}),kD={};A(kD,{generate:()=>L_,name:()=>CD,parse:()=>xD,structure:()=>zD});function rg(){this.tokenType!==1&&this.isDelim(SD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function xD(){let e=this.tokenStart;return this.isDelim(zy)?(this.next(),rg.call(this)):(rg.call(this),this.isDelim(zy)&&(this.next(),rg.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function L_(e){this.tokenize(e.name)}var SD,zy,CD,zD,AD=y(()=>{SD=42,zy=124,CD="TypeSelector",zD={name:String}}),ND={};A(ND,{generate:()=>R_,name:()=>PD,parse:()=>ED,structure:()=>ID});function xc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===xk&&t&&r!==0)return xc.call(this,e+r+1,!1),-1;en(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Sp(e){let t=0;for(;this.isDelim(Bm);)++t>e&&this.error("Too many question marks"),this.next()}function F_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===kk?"Plus sign":"Hyphen minus")+" is expected")}function M_(){let e=0;switch(this.tokenType){case 10:if(e=xc.call(this,1,!0),this.isDelim(Bm)){Sp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){F_.call(this,xk),xc.call(this,1,!1);break}break;case 12:e=xc.call(this,1,!0),e>0&&Sp.call(this,6-e);break;default:if(this.eatDelim(kk),this.tokenType===1){e=xc.call(this,0,!0),e>0&&Sp.call(this,6-e);break}if(this.isDelim(Bm)){this.next(),Sp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function ED(){let e=this.tokenStart;return this.eatIdent("u"),M_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function R_(e){this.tokenize(e.value)}var kk,xk,Bm,PD,ID,OD=y(()=>{mr(),kk=43,xk=45,Bm=63,PD="UnicodeRange",ID={value:String}});function $_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===Sk?t-2:t-1,i="";for(;r<n&&xn(e.charCodeAt(r));)r++;for(;r<n&&xn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===qm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),wr(qm,a)){let s=o-1,l=Ui(e,s);o=l-1,i+=SP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function B_(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===jD||i===qm||i===TD||i===DD||i===LD||i===Sk?(t+="\\"+e.charAt(n),r=!1):(r&&en(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var jD,qm,TD,DD,LD,Sk,FD=y(()=>{mr(),jD=32,qm=92,TD=34,DD=39,LD=40,Sk=41}),MD={};A(MD,{generate:()=>q_,name:()=>$D,parse:()=>RD,structure:()=>BD});function RD(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=$_(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=bk(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 q_(e){this.token(7,B_(e.value))}var $D,BD,qD=y(()=>{FD(),wk(),$D="Url",BD={value:String}}),WD={};A(WD,{generate:()=>W_,name:()=>UD,parse:()=>_D,structure:()=>VD});function _D(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function W_(e){this.children(e)}var UD,VD,QD=y(()=>{UD="Value",VD={children:[[]]}}),YD={};A(YD,{generate:()=>__,name:()=>HD,parse:()=>GD,structure:()=>XD});function GD(){return this.eat(13),KD}function __(e){this.token(13,e.value)}var KD,HD,XD,JD=y(()=>{KD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),HD="WhiteSpace",XD={value:String}}),Ck={};A(Ck,{AnPlusB:()=>jI,Atrule:()=>RI,AtrulePrelude:()=>UI,AttributeSelector:()=>HI,Block:()=>iO,Brackets:()=>pO,CDC:()=>bO,CDO:()=>xO,ClassSelector:()=>NO,Combinator:()=>TO,Comment:()=>qO,Condition:()=>GO,Declaration:()=>tj,DeclarationList:()=>pj,Dimension:()=>vj,Feature:()=>Sj,FeatureFunction:()=>Pj,FeatureRange:()=>Dj,Function:()=>qj,GeneralEnclosed:()=>Yj,Hash:()=>Jj,IdSelector:()=>uT,Identifier:()=>iT,Layer:()=>hT,LayerList:()=>wT,MediaQuery:()=>zT,MediaQueryList:()=>IT,NestingSelector:()=>LT,Nth:()=>qT,Number:()=>QT,Operator:()=>XT,Parentheses:()=>r4,Percentage:()=>s4,PseudoClassSelector:()=>p4,PseudoElementSelector:()=>v4,Ratio:()=>C4,Raw:()=>P4,Rule:()=>D4,Scope:()=>B4,Selector:()=>V4,SelectorList:()=>H4,String:()=>iD,StyleSheet:()=>uD,SupportsDeclaration:()=>gD,TypeSelector:()=>kD,UnicodeRange:()=>ND,Url:()=>MD,Value:()=>WD,WhiteSpace:()=>YD});var ZD=y(()=>{MI(),_I(),KI(),nO(),dO(),gO(),kO(),AO(),jO(),BO(),YO(),ej(),dj(),bj(),xj(),Ej(),Tj(),Bj(),Qj(),Xj(),nT(),lT(),mT(),yT(),CT(),PT(),DT(),BT(),VT(),HT(),t4(),a4(),d4(),b4(),S4(),E4(),T4(),$4(),U4(),K4(),tD(),lD(),fD(),wD(),AD(),OD(),qD(),QD(),JD()}),eL,U_=y(()=>{ak(),jW(),ZD(),eL={generic:!0,cssWideKeywords:vh,...OI,node:Ck}});function tL(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,aL)&&this.cmpChar(this.tokenStart+1,Ay)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===oL||t===nL||t===Ay||t===iL)return this.Operator();t===rL&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var rL,nL,Ay,iL,oL,aL,sL=y(()=>{rL=35,nL=42,Ay=43,iL=45,oL=47,aL=117}),lL,V_=y(()=>{sL(),lL={getNode:tL}});function Q_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Y_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Ny&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case pL:case hL:case gL:case mL:return this.Combinator();case Ny:return this.ClassSelector();case dL:case fL:return this.TypeSelector();case uL:return this.IdSelector();case cL:return this.NestingSelector()}break}}}var uL,cL,dL,pL,mL,Ny,hL,fL,gL,bL,G_=y(()=>{uL=35,cL=38,dL=42,pL=43,mL=47,Ny=46,hL=62,fL=124,gL=126,bL={onWhiteSpace:Q_,getNode:Y_}});function K_(){return this.createSingleNodeList(this.Raw(null,!1))}var H_=y(()=>{});function X_(){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 J_=y(()=>{});function W0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var vL,Z_=y(()=>{sL(),H_(),J_(),vL={getNode:tL,onWhiteSpace(e,t){W0(e)&&(e.value=" "+e.value),W0(t.last)&&(t.last.value+=" ")},expression:K_,var:X_}}),yL={};A(yL,{AtrulePrelude:()=>lL,Selector:()=>bL,Value:()=>vL});var e8=y(()=>{V_(),G_(),Z_()}),_0,wL,t8=y(()=>{_0=new Set(["none","and","not","or"]),wL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);_0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),kL,r8=y(()=>{kL={parse:{prelude:null,block(){return this.Block(!0)}}}}),ng,xL,n8=y(()=>{ng={},xL={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,ng)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,ng)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),SL,i8=y(()=>{SL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),CL,o8=y(()=>{CL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),zL,a8=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),AL,s8=y(()=>{AL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),NL,l8=y(()=>{NL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),EL,u8=y(()=>{EL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),PL,c8=y(()=>{PL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),IL,d8=y(()=>{t8(),r8(),n8(),i8(),o8(),a8(),s8(),l8(),u8(),c8(),IL={container:wL,"font-face":kL,import:xL,layer:SL,media:CL,nest:zL,page:AL,scope:NL,"starting-style":EL,supports:PL}});function p8(){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 m8=y(()=>{}),Vr,Cp,U0,V0,Sa,OL,h8=y(()=>{m8(),Vr={parse(){return this.createSingleNodeList(this.SelectorList())}},Cp={parse(){return this.createSingleNodeList(this.Selector())}},U0={parse(){return this.createSingleNodeList(this.Identifier())}},V0={parse:p8},Sa={parse(){return this.createSingleNodeList(this.Nth())}},OL={dir:U0,has:Vr,lang:V0,matches:Vr,is:Vr,"-moz-any":Vr,"-webkit-any":Vr,where:Vr,not:Vr,"nth-child":Sa,"nth-last-child":Sa,"nth-last-of-type":Sa,"nth-of-type":Sa,slotted:Cp,host:Cp,"host-context":Cp}}),jL={};A(jL,{AnPlusB:()=>TI,Atrule:()=>$I,AtrulePrelude:()=>VI,AttributeSelector:()=>XI,Block:()=>aO,Brackets:()=>mO,CDC:()=>vO,CDO:()=>SO,ClassSelector:()=>EO,Combinator:()=>DO,Comment:()=>WO,Condition:()=>KO,Declaration:()=>rj,DeclarationList:()=>mj,Dimension:()=>yj,Feature:()=>Cj,FeatureFunction:()=>Ij,FeatureRange:()=>Lj,Function:()=>Wj,GeneralEnclosed:()=>Gj,Hash:()=>Zj,IdSelector:()=>cT,Identifier:()=>oT,Layer:()=>fT,LayerList:()=>kT,MediaQuery:()=>AT,MediaQueryList:()=>OT,NestingSelector:()=>FT,Nth:()=>WT,Number:()=>YT,Operator:()=>JT,Parentheses:()=>n4,Percentage:()=>l4,PseudoClassSelector:()=>m4,PseudoElementSelector:()=>y4,Ratio:()=>z4,Raw:()=>I4,Rule:()=>L4,Scope:()=>q4,Selector:()=>Q4,SelectorList:()=>X4,String:()=>oD,StyleSheet:()=>cD,SupportsDeclaration:()=>bD,TypeSelector:()=>xD,UnicodeRange:()=>ED,Url:()=>RD,Value:()=>_D,WhiteSpace:()=>GD});var f8=y(()=>{MI(),_I(),KI(),nO(),dO(),gO(),kO(),AO(),jO(),BO(),YO(),ej(),dj(),bj(),xj(),Ej(),Tj(),Bj(),Qj(),Xj(),nT(),lT(),mT(),yT(),CT(),PT(),DT(),BT(),VT(),HT(),t4(),a4(),d4(),b4(),S4(),E4(),T4(),$4(),U4(),K4(),tD(),lD(),fD(),wD(),AD(),OD(),qD(),QD(),JD()}),TL,g8=y(()=>{e8(),d8(),h8(),f8(),TL={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:yL,atrule:IL,pseudo:OL,node:jL}}),DL,b8=y(()=>{ZD(),DL={node:Ck}}),LL,v8=y(()=>{OW(),U_(),g8(),b8(),LL=II({...eL,...TL,...DL})}),y8=y(()=>{}),w8=G(()=>{}),k8,x8,qr,S8,FL,C8,Ni,zk,z8,A8,N8,E8,Ak,On=y(()=>{v8(),y8(),tk(),fI(),ok(),k8=X(w8(),1),wk(),FD(),{tokenize:x8,parse:qr,generate:S8,lexer:FL,createLexer:C8,walk:Ni,find:zk,findLast:z8,findAll:A8,toPlainObject:N8,fromPlainObject:E8,fork:Ak}=LL}),ML={};A(ML,{default:()=>RL});var Vn,zp,Q0,Ca,ig,Y0,za,RL,P8=y(()=>{On(),q(),Pr(),hh(),pr(),jr(),_e(),Ke(),K(),I(),j(),D(),Dt(),Vn="declaration-block-no-duplicate-properties",zp=O(Vn,{rejected:e=>`Duplicate property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Ca=e=>"children"in e&&e.children instanceof Xc,ig=(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"&&JA.has(r.toLowerCase())&&Qc.has(a.toLowerCase())&&Qc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=Ca(i)?i.children.toArray():null,d=Ca(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(ig(c,d,r))continue;return!1}}return!0},Y0=(e,t,r)=>{if(e===t)return!0;if(!(Be(e)&&Be(t)))return!1;let n,i;try{n=qr(e,{context:"value"}),i=qr(t,{context:"value"})}catch{return!1}let o=Ca(n)?n.children.toArray():[],a=Ca(i)?i.children.toArray():[];return ig(o,a,r)},za=(e,t)=>(r,n)=>{if(!T(n,Vn,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,_]},optional:!0}))return;let i=F(t,"ignore","consecutive-duplicates"),o=F(t,"ignore","consecutive-duplicates-with-different-values"),a=F(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=F(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};mh(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(C=>C.prop.toLowerCase()===m);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!h&&x,k=b===c.length-1,S=Xe.unprefixed(v)===Xe.unprefixed(f),E=()=>{let C=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:zp.rejected,messageArgs:[L],node:C,result:n,ruleName:Vn,word:L,fix:{apply:l(C),node:C.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&Y0(v,f,p)){E();return}return v!==f?void 0:P({message:zp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:Vn,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||E()})})},za.ruleName=Vn,za.messages=zp,za.meta=Q0,RL=za}),$L={};A($L,{default:()=>qL});function Ap(e){let t=e==null?void 0:e.trim();if(!t)return[];if(!t.includes(","))return[t];let r=[],n=[];r.push(n);for(let i of(0,Ey.default)(t).nodes)i.type==="div"&&i.value===","?(n=[],r.push(n)):n.push(i);return r.map(i=>Ey.default.stringify(i).trim()).filter(Boolean)}function I8(e){let t=r=>r.important;return e.some(t)&&!e.every(t)}function O8(e,t,r){let n=BL.get(e);return n?n(r):t.map(i=>{var o,a;return(a=(o=r.get(i))==null?void 0:o.value.trim())!=null?a:""}).filter(Boolean).join(" ")}var Ey,Qn,Np,G0,BL,K0,Aa,qL,j8=y(()=>{Ey=X(ue(),1),q(),Pw(),Ke(),hh(),Pr(),K(),I(),j(),D(),Dt(),Qn="declaration-block-no-redundant-longhand-properties",Np=O(Qn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},BL=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 o,a,s,l;let t=Ap((o=e.get("transition-delay"))==null?void 0:o.value),r=Ap((a=e.get("transition-duration"))==null?void 0:a.value),n=Ap((s=e.get("transition-timing-function"))==null?void 0:s.value),i=Ap((l=e.get("transition-property"))==null?void 0:l.value);if(t.length&&r.length&&n.length&&i.length)return i.map((u,c)=>[u,r[c%r.length],n[c%n.length],t[c%t.length]].filter($).join(" ")).join(", ")}]]),K0=new Set(["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"]),Aa=(e,t)=>(r,n)=>{var a;if(!T(n,Qn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,_],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of Ac.entries())if(!F(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)}mh(r,s=>{let l=new Map,u=new Map;s(c=>{var g;let d=c.value.trim();if(Te.has(d))return;let p=c.prop.toLowerCase(),m=Xe.unprefixed(p),v=Xe.prefix(p);Ac.has(m)&&u.set(p,d);let h=i.get(m);if(!h)return;let{parent:b}=c;$e(b);for(let f of h){let x=v+f;if(u.get(x)===d){P({ruleName:Qn,result:n,node:c,word:c.prop,message:Np.unexpectedLonghand,messageArgs:[c.prop,x],fix:{apply:()=>{c.remove()},node:b}});return}let w=l.get(x)||[];w.push(c),l.set(x,w);let k=[...(g=Ac.get(f))!=null?g:[]].filter(te=>!o.includes(te)).map(te=>v+te),S=w.map(te=>te.prop.toLowerCase());if(!Ew(k.slice().sort(),S.slice().sort())||I8(w))continue;let E=w.at(0),C=w.at(-1);$e(E&&C);let L=new Map(w.map(te=>[te.prop.toLowerCase(),te])),N=O8(x,k,L),B=N?()=>{let te=E.clone({prop:x,value:N});if(E.replaceWith(te),w.forEach(he=>he.remove()),K0.has(f)){let he=new Set(S);l.forEach((fe,oe)=>{l.set(oe,fe.filter(Fe=>!he.has(Fe.prop.toLowerCase())))})}}:void 0,ie=b.index(C)-b.index(E)+1===w.length?E:C;P({ruleName:Qn,result:n,message:Np.expected,messageArgs:[x],node:b,start:ie.rangeBy({}).start,end:C.rangeBy({}).end,fix:{apply:B,node:b}})}})})},Aa.ruleName=Qn,Aa.messages=Np,Aa.meta=G0,qL=Aa}),WL={};A(WL,{default:()=>_L});var Na,og,H0,Ea,_L,T8=y(()=>{hh(),I(),j(),ro(),D(),Dt(),Pr(),Na="declaration-block-no-shorthand-property-overrides",og=O(Na,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),H0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Ea=e=>(t,r)=>{T(r,Na,{actual:e})&&mh(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Xe.unprefixed(a).toLowerCase(),l=Xe.prefix(a).toLowerCase(),u=Ac.get(s),c=XA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:Na,result:r,node:o,message:og.rejected,messageArgs:[a,m||""],word:a})}})})},Ea.ruleName=Na,Ea.messages=og,Ea.meta=H0,_L=Ea}),UL={};A(UL,{default:()=>VL});var Pa,ag,X0,Ia,VL,D8=y(()=>{Zw(),q(),ph(),I(),j(),D(),Pa="declaration-block-single-line-max-declarations",ag=O(Pa,{expected:e=>`Too many declarations, maximum ${e}`}),X0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Ia=e=>(t,r)=>{T(r,Pa,{actual:e,possible:[Sr]})&&t.walkRules(n=>{let i=Jw(n);!dh(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:ag.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:Pa})})},Ia.ruleName=Pa,Ia.messages=ag,Ia.meta=X0,VL=Ia});function J0(e){let t=$r(e);return t!==void 0&&to(t)&&ut(t)&&!yt(t.prop||"")}var L8=y(()=>{Pn(),pr(),me(),ct()}),QL={};A(QL,{default:()=>YL});var Oa,Ep,Z0,ja,YL,F8=y(()=>{me(),Zw(),pd(),hd(),pP(),nh(),L8(),pr(),fd(),ah(),ph(),ct(),K(),I(),j(),D(),Oa="declaration-empty-line-before",Ep=O(Oa,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),Z0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},ja=(e,t,r)=>(n,i)=>{T(i,Oa,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||oh(o)||!Oe(s)&&!it(s)&&!ur(s)||!ut(o)||yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-declaration")&&J0(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&dh(Jw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&dP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-declaration")&&J0(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?Ep.expected:Ep.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:Oa,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},ja.ruleName=Oa,ja.messages=Ep,ja.meta=Z0,YL=ja});function GL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var KL=y(()=>{}),HL={};A(HL,{default:()=>XL});var Ta,sg,eS,Da,XL,M8=y(()=>{q(),KL(),I(),j(),D(),Ta="declaration-no-important",sg=O(Ta,{rejected:"Disallowed !important"}),eS={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Da=e=>(t,r)=>{T(r,Ta,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=GL(n.toString());$e(i),P({message:sg.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Ta})})},Da.ruleName=Ta,Da.messages=sg,Da.meta=eS,XL=Da});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Tr=y(()=>{});function Wm(e){return t=>Cr(t)?Object.values(t).every(r=>e(r)):!1}var Nk=y(()=>{q()}),JL={};A(JL,{default:()=>ZL});var tS,La,lg,rS,nS,Fa,ZL,R8=y(()=>{tS=X(ue(),1),q(),Tr(),Le(),V(),I(),j(),Nk(),D(),La="declaration-property-max-values",lg=O(La,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),rS={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},nS=e=>e.type==="word"||e.type==="function"||e.type==="string",Fa=e=>(t,r)=>{T(r,La,{actual:e,possible:[Wm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,tS.default)(o).nodes.filter(nS).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];zc(l),!(a<=l)&&P({message:lg.expected,messageArgs:[i,l],node:n,result:r,ruleName:La})})},Fa.ruleName=La,Fa.messages=lg,Fa.meta=rS,ZL=Fa});function $8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var B8=y(()=>{});function jn(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=$8(e.value,"").replace("\\0","").replace("\\9","");return eF.default.unit(t)||{unit:null,number:null}}var eF,Tn=y(()=>{eF=X(ue(),1),B8(),_e()}),tF={};A(tF,{default:()=>rF});var iS,Ma,ug,oS,Ra,rF,q8=y(()=>{iS=X(ue(),1),J(),Tn(),q(),Le(),K(),I(),j(),Ht(),D(),Ma="declaration-property-unit-allowed-list",ug=O(Ma,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),oS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ra=(e,t)=>(r,n)=>{T(n,Ma,{actual:e,possible:[Bt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,iS.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||F(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=jn(c);if(!d||u.has(d.toLowerCase()))return;let p=ne(i)+c.sourceIndex,m=p+c.value.length;P({message:ug.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Ma})})})},Ra.ruleName=Ma,Ra.messages=ug,Ra.meta=oS,rF=Ra}),nF={};A(nF,{default:()=>iF});var aS,$a,cg,sS,Ba,iF,W8=y(()=>{aS=X(ue(),1),J(),Tn(),q(),Ad(),Le(),V(),I(),j(),Ht(),D(),$a="declaration-property-unit-disallowed-list",cg=O($a,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ba=e=>(t,r)=>{T(r,$a,{actual:e,possible:[Bt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,aS.default)(o).walk(u=>{if(zd(u))return!1;if(u.type==="string")return;let{unit:c}=jn(u);if(!c||!l.has(c.toLowerCase()))return;let d=ne(n)+u.sourceIndex,p=d+u.value.length;P({message:cg.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:$a})})})},Ba.ruleName=$a,Ba.messages=cg,Ba.meta=sS,iF=Ba}),oF={};A(oF,{default:()=>aF});var qa,dg,lS,Wa,aF,_8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),qa="declaration-property-value-allowed-list",dg=O(qa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),lS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Wa=e=>(t,r)=>{if(!T(r,qa,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>F(e,c,a)))return;let l=ne(i),u=l+i.value.length;P({message:dg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:qa})})},Wa.ruleName=qa,Wa.messages=dg,Wa.meta=lS,aF=Wa}),sF={};A(sF,{default:()=>lF});var _a,pg,uS,Ua,lF,U8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),_a="declaration-property-value-disallowed-list",pg=O(_a,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),uS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ua=e=>(t,r)=>{if(!T(r,_a,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!F(e,c,a)))return;let l=ne(i),u=l+i.value.length;P({message:pg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:_a})})},Ua.ruleName=_a,Ua.messages=pg,Ua.meta=uS,lF=Ua}),uF={};A(uF,{default:()=>cF});var cS,Va,Pp,dS,Ip,pS,mS,Qa,cF,V8=y(()=>{cS=X(ue(),1),q(),Ir(),J(),We(),ct(),_e(),V(),K(),I(),j(),gt(),Pr(),D(),Va="declaration-property-value-keyword-no-deprecated",Pp=O(Va,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Ip={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"},pS=[...Ev.values()].map(e=>[e,Ip]),mS=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",Ip],["scrollbar-color",Ip],["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"]],...pS]),Qa=(e,t)=>(r,n)=>{T(n,Va,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!ut(i)||F(t,"ignoreKeywords",a))return;let s=mS.get(o.toLowerCase());if(!s)return;let l=(0,cS.default)(qe(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Be(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Dw.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=Pp.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=Pp.expected,b=[d,x],v=()=>{c.value=x,ft(i,l.toString())}}let g=ne(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Va,index:g,endIndex:f,fix:{apply:v,node:i}})})})},Qa.ruleName=Va,Qa.messages=Pp,Qa.meta=dS,cF=Qa});function Q8(e){return gF?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function Y8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===ot&&e.source.codePointAt(e.cursor+3)===ot}function Gt(e){return e>=48&&e<=57}function G8(e){return e>=65&&e<=90}function K8(e){return e>=97&&e<=122}function Mi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function H8(e){return K8(e)||G8(e)}function Yi(e){return H8(e)||X8(e)||e===95}function Ek(e){return Yi(e)||Gt(e)||e===ot}function X8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Gi(e)||e>=65536}function J8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function _m(e){return e===zn||e===Cn||e===12}function wn(e){return e===32||e===zn||e===9||e===Cn||e===12}function Gi(e){return e>=55296&&e<=57343}function so(e){var t;return e.source.codePointAt(e.cursor)===92&&!_m((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function Um(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Yi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!_m((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Yi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||so(t)}function hS(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===An||e.source.codePointAt(e.cursor)===ot?!!Gt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Gt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Gt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Gt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function Z8(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function e7(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function t7(e){switch(e){case z.OpenParen:return z.CloseParen;case z.CloseParen:return z.OpenParen;case z.OpenCurly:return z.CloseCurly;case z.CloseCurly:return z.OpenCurly;case z.OpenSquare:return z.CloseSquare;case z.CloseSquare:return z.OpenSquare;default:return null}}function r7(e){switch(e[0]){case z.OpenParen:return[z.CloseParen,")",-1,-1,void 0];case z.CloseParen:return[z.OpenParen,"(",-1,-1,void 0];case z.OpenCurly:return[z.CloseCurly,"}",-1,-1,void 0];case z.CloseCurly:return[z.OpenCurly,"{",-1,-1,void 0];case z.OpenSquare:return[z.CloseSquare,"]",-1,-1,void 0];case z.CloseSquare:return[z.OpenSquare,"[",-1,-1,void 0];default:return null}}function n7(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Nh(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new nd(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Rr;if(Mi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Mi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();wn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Gi(a)||a>1114111?Rr:a}return r===0||Gi(r)?Rr:r}function Eh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Gi(i))r.push(Rr),t.advanceCodePoint(+(i>65535)+1);else if(Ek(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!so(t))return r;t.advanceCodePoint(),r.push(Nh(e,t))}}}function i7(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Ek(r)||so(t))){let n=Vm.Unrestricted;Um(0,t)&&(n=Vm.ID);let i=Eh(e,t);return[z.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[z.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function o7(e,t){var n,i,o,a,s,l;let r=re.Integer;for(t.source.codePointAt(t.cursor)!==An&&t.source.codePointAt(t.cursor)!==ot||t.advanceCodePoint();Gt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Gt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=re.Number;Gt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Gt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==ot&&t.source.codePointAt(t.cursor+1)!==An||!Gt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=re.Number;Gt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function mg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===An&&(r="+")}let n=o7(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(Um(0,t)){let o=Eh(e,t);return[z.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(),[z.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[z.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function a7(e){var t;for(;wn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[z.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function s7(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(_m(o)){t.unreadCodePoint();let a=[z.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Gi(o)?r+=String.fromCodePoint(Rr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(_m((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Nh(e,t))}}}function l7(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function hg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();so(t)?(t.advanceCodePoint(),Nh(e,t)):t.advanceCodePoint()}}function u7(e,t){var n,i,o,a;for(;wn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(wn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();wn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(hg(e,t),[z.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||J8(s!=null?s:-1)){hg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(so(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Nh(e,t));continue}hg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Gi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Rr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function fg(e,t){var n,i;let r=Eh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[z.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(l7(r)){t.advanceCodePoint();let o=0;for(;;){let a=wn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=wn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return u7(e,t)}return t.advanceCodePoint(),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function c7(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==An||e.source.codePointAt(e.cursor+2)!==63&&!Mi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function d7(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Mi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===ot&&Mi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Mi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[z.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[z.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function St(e,t){let r=dF(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function dF(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new bF(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:p7};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[z.EOF,"",-1,-1,void 0];if(l===47&&Z8(i))return n7(o,i);if(n&&(l===117||l===85)&&c7(i))return d7(0,i);if(Yi(l))return fg(o,i);if(Gt(l))return mg(o,i);switch(l){case 44:return i.advanceCodePoint(),[z.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[z.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[z.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[z.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[z.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[z.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[z.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[z.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[z.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return s7(o,i);case 35:return i7(o,i);case An:case 46:return hS(i)?mg(o,i):(i.advanceCodePoint(),[z.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case zn:case Cn:case 12:case 9:case 32:return a7(i);case ot:return hS(i)?mg(o,i):e7(i)?(i.advanceCodePoint(3),[z.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Um(0,i)?fg(o,i):(i.advanceCodePoint(),[z.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return Y8(i)?(i.advanceCodePoint(4),[z.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[z.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),Um(0,i)){let u=Eh(o,i);return[z.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[z.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(so(i))return fg(o,i);i.advanceCodePoint();let u=[z.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new kr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[z.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 p7(){}function m7(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...pF(r));e[1]=n,e[4].value=t}function Ph(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=pF(r);n[0]===101&&Py(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function pF(e){let t=0;if(e[0]===0)e.splice(0,1,Rr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Yi(e[1])||(t+=Py(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Yi(e[0])?t=1:(t=1,t+=Py(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Ek(e[r])||(r+=h7(e,r,e[r])):(e.splice(r,1,Rr),r++);return e}function h7(e,t,r){return e.splice(t,1,92,r),1}function Py(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function rd(e){return!!Array.isArray(e)&&!(e.length<4)&&!!vF.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case z.Dimension:case z.Number:case z.Percentage:return!0;default:return!1}}function Et(e){if(!e)return!1;switch(e[0]){case z.Whitespace:case z.Comment:return!0;default:return!1}}function mF(e){return!!e&&e[0]===z.Colon}function rn(e){return!!e&&e[0]===z.Comma}function Ih(e){return!!e&&e[0]===z.Comment}function qt(e){return!!e&&e[0]===z.Delim}function Ee(e){return!!e&&e[0]===z.Dimension}function Kt(e){return!!e&&e[0]===z.EOF}function f7(e){return!!e&&e[0]===z.Function}function Ye(e){return!!e&&e[0]===z.Ident}function Ae(e){return!!e&&e[0]===z.Number}function Ge(e){return!!e&&e[0]===z.Percentage}function hF(e){return!!e&&e[0]===z.Semicolon}function g7(e){return!!e&&e[0]===z.String}function b7(e){return!!e&&e[0]===z.URL}function Pk(e){return!!e&&e[0]===z.Whitespace}function lo(e){return!!e&&e[0]===z.OpenParen}function v7(e){return!!e&&e[0]===z.CloseParen}function y7(e){return!!e&&e[0]===z.OpenSquare}function fF(e){return!!e&&e[0]===z.OpenCurly}var nd,kr,ir,gF,Cn,ot,zn,An,Rr,z,re,Vm,bF,vF,rt=y(()=>{nd=class extends Error{constructor(t,r,n,i){super(t);U(this,"sourceStart");U(this,"sourceEnd");U(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},kr=class extends nd{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},gF=typeof globalThis<"u"&&"structuredClone"in globalThis,Cn=13,ot=45,zn=10,An=43,Rr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(z||(z={})),(function(e){e.Integer="integer",e.Number="number"})(re||(re={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Vm||(Vm={})),bF=class{constructor(e){U(this,"cursor",0);U(this,"source","");U(this,"representationStart",0);U(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},vF=Object.values(z)});function Ei(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function Oh(e,t){let r=t[0];if(lo(r)||fF(r)||y7(r)){let n=k7(e,t);return{advance:n.advance,node:n.node}}if(f7(r)){let n=w7(e,t);return{advance:n.advance,node:n.node}}if(Pk(r)){let n=yF(e,t);return{advance:n.advance,node:n.node}}if(Ih(r)){let n=x7(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new pe(r)}}function w7(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new nd("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new $t(t[0],i,r)};if(v7(i))return{advance:n+1,node:new $t(t[0],i,r)};if(Et(i)){let a=wF(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Oh(e,t.slice(n));n+=o.advance,r.push(o.node)}}function k7(e,t){let r=t7(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new nd("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Qm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Qm(t[0],o,n)};if(Et(o)){let s=wF(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Oh(e,t.slice(i));i+=a.advance,n.push(a.node)}}function yF(e,t){let r=0;for(;;){let n=t[r];if(!Pk(n))return{advance:r,node:new Ot(t.slice(0,r))};r++}}function x7(e,t){return{advance:1,node:new jh(t[0])}}function wF(e,t){let r=[],n=0;for(;;){if(Pk(t[n])){let i=yF(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Ih(t[n]))return{advance:n,nodes:r};r.push(new jh(t[n])),n++}}function uo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=Oh(r,n.slice(o));i.push(s.node),o+=s.advance}}function kF(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=Oh(r,e.slice(a));o.push(l.node),a+=l.advance}}function S7(e,t,r){if(e.length===0)return;let n=Ei(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function Dn(e,t,r){e.length!==0&&S7(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function xF(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Dr(e){return Qm.isSimpleBlockNode(e)}function He(e){return $t.isFunctionNode(e)}function id(e){return Ot.isWhitespaceNode(e)}function Ik(e){return jh.isCommentNode(e)}function It(e){return id(e)||Ik(e)}function le(e){return pe.isTokenNode(e)}function Wt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Wt(i)[0],Wt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Ie,gg,$t,Qm,Ot,jh,pe,Ct=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Ie||(Ie={})),gg=class{constructor(){U(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=Ei(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},$t=class Iy extends gg{constructor(r,n,i){super();U(this,"type",Ie.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[z.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Iy.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Iy&&r.type===Ie.Function}},Qm=class Oy extends gg{constructor(r,n,i){super();U(this,"type",Ie.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=r7(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Oy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Oy&&r.type===Ie.SimpleBlock}},Ot=class jy{constructor(t){U(this,"type",Ie.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return jy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof jy&&t.type===Ie.Whitespace}},jh=class Ty{constructor(t){U(this,"type",Ie.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Ty.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Ty&&t.type===Ie.Comment}},pe=class Dy{constructor(t){U(this,"type",Ie.Token);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return Dy.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Dy&&t.type===Ie.Token}}});function jt(e){return e.replace(zF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function ht(e,t){if(!Ee(e)||!Ee(t))return t;let r=jt(e[4].unit),n=jt(t[4].unit);if(r===n)return t;let i=Tk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[z.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?re.Integer:re.Number,value:a}];return Ph(s,e[4].unit),s}function C7(e){if(!Ee(e))return e;let t=jt(e[4].unit),r=AF[t];if(t===r)return e;let n=Tk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[z.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?re.Integer:re.Number,value:o}];return Ph(a,r),a}function z7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value+n[4].value;return new pe([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value+n[4].value;return new pe([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value+n[4].value;return new pe([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new jk(od.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function A7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?re.Integer:re.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?re.Integer:re.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function xt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(le(i)){r.push(i);continue}let o=xt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function N7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ge(r)){let n=t[4].value*r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number,unit:t[4].unit}])}if(Ae(t)&&Ee(r)){let n=t[4].value*r[4].value;return new pe([z.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return-1}function Ki(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Ye(i))continue;let o=jt(i[4].value);switch(o){case"e":e.splice(r,1,new pe([z.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:re.Number}]));break;case"pi":e.splice(r,1,new pe([z.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:re.Number}]));break;case"infinity":e.splice(r,1,new pe([z.Number,"infinity",i[2],i[3],{value:1/0,type:re.Number}]));break;case"-infinity":e.splice(r,1,new pe([z.Number,"-infinity",i[2],i[3],{value:-1/0,type:re.Number}]));break;case"nan":e.splice(r,1,new pe([z.Number,"NaN",i[2],i[3],{value:Number.NaN,type:re.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new pe(a))}}}return e}function Th(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function mt(e,t,r){return Ee(t)?Nd(e,t[4].unit,r):Ge(t)?E7(e,r):Ae(t)?Ar(e,r):-1}function Nd(e,t,r){let n=e.tokens();return{inputs:[new pe([z.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?re.Integer:re.Number,unit:t}])],operation:Th}}function E7(e,t){let r=e.tokens();return{inputs:[new pe([z.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:Th}}function Ar(e,t){let r=e.tokens();return{inputs:[new pe([z.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?re.Integer:re.Number}])],operation:Th}}function P7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.acos(r[4].value)):-1}function I7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.asin(r[4].value)):-1}function O7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.atan(r[4].value)):-1}function Dh(e){return Ee(e)||Ae(e)}function Ok(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=jt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==jt(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&jt(e[4].unit)===jt(t[4].unit):e[0]===t[0])}function j7(e,t,r){let n=t.value;if(!Dh(n))return-1;let i=ht(n,r.value);return Nr(n,i)?Nd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function T7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:mt(e,n,Math.abs(n[4].value))}function D7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,r.value);if(!Nr(o,a))return-1;let s=ht(o,n.value);return Nr(o,s)?mt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function L7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function F7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.exp(r[4].value)):-1}function M7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return mt(e,n,a)}function fS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return mt(e,n,a)}function gS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return mt(e,n,a)}function R7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function $7(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function B7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function SF(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[z.Dimension,`${n}px`,t[2],t[3],{value:n,type:re.Integer,unit:"px"}],o=ht(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return mt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return mt(e,t,ht(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,mt(e,t,ht(t,o)[4].value)}return mt(e,t,t[4].value)}function q7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=xt(mt(e,o,s),i);return p===-1?-1:SF(e,p.value,i)}break}}else s=Number.NaN;return mt(e,o,s)}function W7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:Ar(e,Math.sign(n[4].value))}function _7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function U7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.sqrt(r[4].value)):-1}function V7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":i=Fy.get("deg")(n);break;case"deg":i=n,o=ad.get("rad")(n);break;case"grad":i=Hi.get("deg")(n),o=Hi.get("rad")(n);break;case"turn":i=Xi.get("deg")(n),o=Xi.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function Q7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value-n[4].value;return new pe([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value-n[4].value;return new pe([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value-n[4].value;return new pe([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new jk(od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function Y7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ae(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!le(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ae(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function Ly(e){if(Array.isArray(e)){let r=e.filter(n=>!(id(n)&&Ik(n)));return r.length===1&&Ly(r[0])}if(!le(e))return!1;let t=e.value;return!!Ye(t)&&NF.test(t[4].value)}function G7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=ht(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=ht(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return mt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return mt(e,a,a[4].value);let u=t.fixed===-1?K7(H7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(EF))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let f=c+b;if(!(f+v<d)){h.push(d);break}if(h.push(f),f+l[4].value-v>d)break}let g=u();return mt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return mt(e,a,Number((p*(d-c)+c).toFixed(5)))}function K7(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 H7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function kt(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:Th};let i=0;for(;i<n.length;){let o=n[i];if(Dr(o)&&lo(o.startToken)){let a=kt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(He(o)){let a=Ym.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:A7}):n.splice(i,3,{inputs:[o,l],operation:N7})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:Q7}):n.splice(i,3,{inputs:[o,l],operation:z7})}return n.length===1&&un(n[0])?n[0]:-1}function br(e,t,r,n){let i=X7(e,t,r);return i===-1?-1:n(e,i,r)}function X7(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t),i=xt(kt(Rt(e,n),t,r),r);return i===-1?-1:i}function Op(e,t,r,n){let i=J7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function J7(e,t,r){let n=Ki([...e.value.filter(l=>!It(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(le(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=xt(kt(Rt(e,i),t,r),r);if(a===-1)return-1;let s=xt(kt(Rt(e,o),t,r),r);return s===-1?-1:[a,s]}function jp(e,t,r,n){let i=CF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function CF(e,t,r,n){let i=Ki([...t.filter(a=>!It(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];le(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=xt(kt(Rt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function Z7(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Ye(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!le(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Ye(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=xt(kt(Rt(e,[u]),r,n),n);if(c===-1||!Ae(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Rt(e,t){return new $t([z.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function eU(e,t,r){return new $t([z.Function,"max(",e.name[2],e.name[3],{value:"max"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new pe([z.Comma,",",...Wt(t),void 0]),r])}function tU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:re.Integer,unit:t[4].unit}])]):Ge(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function rU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:re.Integer,unit:t[4].unit}])]):new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Percentage,"1%",t[2],t[3],{value:1}])])}function nU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ge(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function iU(e,t=13){if(e===-1)return-1;if(t<=0||He(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ge(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function oU(e){return e===-1?-1:(He(e)||Ee(e.value)&&(e.value=C7(e.value)),e)}function aU(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=oU(r)),r=iU(r,t==null?void 0:t.precision),r=nU(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=tU(r),r=rU(r)),r}function sU(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(rd(n))t.set(r,n);else if(typeof n=="string"){let i=dF({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function lU(e,t){let r=sU(t==null?void 0:t.globals);return uU(e,n=>{if(!He(n))return;let i=Ym.get(n.getName().toLowerCase());if(!i)return;let o=aU(xt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function uU(e,t){for(let r=0;r<e.length;r++){let n=e[r];Dn(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];le(l)&&qt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Ot([[z.Whitespace," ",...Wt(i.node),void 0]]));let u=i.parent.value[o+1];!u||It(u)||le(u)&&(rn(u.value)||mF(u.value)||hF(u.value)||qt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Ot([[z.Whitespace," ",...Wt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var bS,jk,od,zF,AF,vS,ad,Hi,yS,wS,kS,xS,SS,CS,zS,AS,NS,Fy,ES,Xi,Tk,NF,EF,Ym,PS,cU,dU=y(()=>{Ct(),rt(),bS=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},jk=class extends bS{constructor(t,r){super(t,...Wt(r));U(this,"componentValues");this.componentValues=r}},od={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},zF=/[A-Z]/g,AF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},vS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),ad=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Hi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),yS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),wS=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]]),kS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),xS=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]]),SS=new Map([["ms",e=>e],["s",e=>e/1e3]]),CS=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]]),zS=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]]),AS=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]]),NS=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]]),Fy=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]]),ES=new Map([["ms",e=>1e3*e],["s",e=>e]]),Xi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Tk=new Map([["cm",vS],["mm",xS],["q",NS],["in",wS],["pc",CS],["pt",zS],["px",AS],["ms",SS],["s",ES],["deg",ad],["grad",Hi],["rad",Fy],["turn",Xi],["hz",yS],["khz",kS]]),NF=/^none$/i,EF=String.fromCodePoint(0),Ym=new Map([["abs",function(e,t,r){return br(e,t,r,T7)}],["acos",function(e,t,r){return br(e,t,r,P7)}],["asin",function(e,t,r){return br(e,t,r,I7)}],["atan",function(e,t,r){return br(e,t,r,O7)}],["atan2",function(e,t,r){return Op(e,t,r,j7)}],["calc",kt],["clamp",function(e,t,r){let n=Ki([...e.value.filter(h=>!It(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let g=n[b];if(le(g)&&rn(g.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(g)}}let s=Ly(i),l=Ly(a);if(s&&l)return kt(Rt(e,o),t,r);let u=xt(kt(Rt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=xt(kt(Rt(e,a),t,r),r);return h===-1?-1:gS((c=e,d=u,p=h,new $t([z.Function,"min(",c.name[2],c.name[3],{value:"min"}],[z.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new pe([z.Comma,",",...Wt(d),void 0]),p])),[u,h],r)}if(l){let h=xt(kt(Rt(e,i),t,r),r);return h===-1?-1:fS(eU(e,h,u),[h,u],r)}var c,d,p;let m=xt(kt(Rt(e,i),t,r),r);if(m===-1)return-1;let v=xt(kt(Rt(e,a),t,r),r);return v===-1?-1:D7(e,m,u,v,r)}],["cos",function(e,t,r){return br(e,t,r,L7)}],["exp",function(e,t,r){return br(e,t,r,F7)}],["hypot",function(e,t,r){return jp(e,t,r,M7)}],["log",function(e,t,r){return jp(e,t,r,Y7)}],["max",function(e,t,r){return jp(e,t,r,fS)}],["min",function(e,t,r){return jp(e,t,r,gS)}],["mod",function(e,t,r){return Op(e,t,r,R7)}],["pow",function(e,t,r){return Op(e,t,r,$7)}],["random",function(e,t,r){let n=Z7(e,e.value.filter(c=>!It(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=CF(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:G7(e,i,s,l,u,r)}],["rem",function(e,t,r){return Op(e,t,r,B7)}],["round",function(e,t,r){let n=Ki([...e.value.filter(c=>!It(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&le(p)&&Ye(p.value)){let m=p.value[4].value.toLowerCase();if(PS.has(m)){i=m;continue}}if(le(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=xt(kt(Rt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=ht([z.Dimension,"1px",l.value[2],l.value[3],{value:1,type:re.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:SF(e,l.value,r);s.push(new pe([z.Number,"1",l.value[2],l.value[3],{value:1,type:re.Integer}]))}let u=xt(kt(Rt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),q7(e,i,l,u,r))}],["sign",function(e,t,r){return br(e,t,r,W7)}],["sin",function(e,t,r){return br(e,t,r,_7)}],["sqrt",function(e,t,r){return br(e,t,r,U7)}],["tan",function(e,t,r){return br(e,t,r,V7)}]]),PS=new Set(["nearest","line-width","up","down","to-zero"]),cU=new Set(Ym.keys())}),PF,pU=y(()=>{PF={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function mU(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=hU(t,i))}return t}function hU(e,t){let r={};return r.atrules=fU(e.atrules,t.atrules),r.properties=My(e.properties,t.properties),r.types=My(e.types,t.types),r.cssWideKeywords=gU(e.cssWideKeywords,t.cssWideKeywords),r.units=bU(e.units,t.units),r}function fU(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=yU(s.prelude,a.prelude),s.descriptors=My(s.descriptors,a.descriptors),r[o]=s}return r}function My(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]=vU(r[i],o);return r}function gU(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 bU(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 vU(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function yU(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 wU=y(()=>{});function IF(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=FL.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=Ry.get(n);if(i)return i;let{lexer:o}=Ak(mU(OF,r));return Ry.set(n,o),o}var OF,Ry,jF=y(()=>{On(),pU(),wU(),{next:OF}=PF,Ry=new Map});function kU(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Dk;)r=r.parent}var Dk,xU=y(()=>{me(),Dk="STOP"});function Ji(e,t){let r;return kU(e,n=>{if(t(n))return r=n,Dk}),r}var Ed=y(()=>{xU()});function TF(e){return!!Ji(e,SU)}function SU(e){return Oe(e)&&!$c.has(e.name.toLowerCase())}var DF=y(()=>{Ed(),me(),no()});function LF(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var FF=y(()=>{Le()}),MF={};A(MF,{default:()=>BF});function RF(e){return!!zk(e,t=>t.type==="Function"&&$F.has(t.name.toLowerCase()))}function CU(e){let t=!1;return Dn(e,({node:r})=>{if(!(!He(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===z.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function zU(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=uo(St({css:e}),{});if(CU(i))return["skip-validation",-1,-1];let o=[],a=lU([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case od.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=xF(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=qr(s,{context:"value",positions:!0});if(RF(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,h,b;return m.forEach(g=>{d===v&&(h=g),v+=g[1].length,p===v&&(b=g)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var vr,Yn,IS,OS,$F,bg,vg,Ya,BF,AU=y(()=>{dU(),rt(),On(),Ct(),V(),q(),J(),Aw(),We(),jF(),pr(),me(),DF(),ct(),jr(),_e(),FF(),I(),j(),Ht(),Nk(),D(),vr="declaration-property-value-no-unknown",Yn=O(vr,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),IS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},OS=/^syntax$/i,$F=new Set(["clamp","min","max","env"]),bg=new WeakMap,vg=1e4,Ya=(e,t)=>(r,n)=>{var c;if(!T(n,vr,{actual:e},{actual:t,possible:{ignoreProperties:[Bt($,_)],propertiesSyntax:[Wm($)],typesSyntax:[Wm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Mc(`We've deprecated the "propertiesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Mc(`We've deprecated the "typesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(d,p)=>LF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(Se.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!yt(p))){for(let m of d.nodes)if(to(m)&&OS.test(m.prop)){let v=m.value.trim(),h=rD.decode(v);if(h===v||h==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=h}}});let l=Object.keys(o).length>0||Object.keys(a).length>0?IF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=bg.get(l);u||(u=new Set,bg.set(l,u)),r.walkDecls(d=>{var N;let{prop:p}=d,m=qe(d);if(/^-moz-initial$/i.test(m)||!ut(d)||TF(d)||!Or(p)||!Be(m)||yt(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=yt(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=zU(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<vg&&u.add(v);return}if(h==="invalid"){let B=ne(d),ie=m,te=B,he=te+ie.length;b!==-1&&g!==-1&&(ie=m.slice(b,g),te=B+b,he=te+ie.length),P({message:Yn.rejectedMath,messageArgs:[p,ie],node:d,index:te,endIndex:he,result:n,ruleName:vr});return}let f;try{if(f=qr(m,{context:"value",positions:!0}),RF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ne(d),ie=B+m.length;P({message:Yn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:ie,result:n,ruleName:vr});return}let{error:x}=l.matchProperty((N=s.get(p))!=null?N:p,f);if(!x){v&&u.size<vg&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ne(d),C=m.slice(S.start.offset,S.end.offset),L=zk(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(L!=null&&L.loc){let B=m.slice(L.loc.start.offset,L.loc.end.offset),ie=E+L.loc.start.offset,te=ie+B.length;P({message:Yn.rejected,messageArgs:[p,B],node:d,index:ie,endIndex:te,result:n,ruleName:vr});return}P({message:Yn.rejected,messageArgs:[p,C],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:vr})})},Ya.ruleName=vr,Ya.messages=Yn,Ya.meta=IS,BF=Ya}),qF={};A(qF,{default:()=>VF});function jS(e){return WF.test(e)?1:_F.test(e)?2:UF.test(e)?3:0}function NU(e,t){return jS(e)-jS(t)}function EU(e){return e.map(t=>t[4].value).sort(NU).join(" ").toLowerCase()}function PU(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Ih),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([z.Whitespace," ",-1,-1,void 0]),u.push([z.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var Ga,yg,TS,WF,_F,UF,DS,LS,FS,Ka,VF,IU=y(()=>{rt(),Ke(),J(),We(),_e(),V(),I(),j(),gt(),D(),Ga="display-notation",yg=O(Ga,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),TS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},WF=new RegExp(`^(?:${[...Lw.values()].join("|")})$`,"i"),_F=new RegExp(`^(?:${[...Fw.values()].join("|")})$`,"i"),UF=new RegExp(`^(?:${[...Mw.values()].join("|")})$`,"i"),DS=/^display$/i,LS={"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"]},FS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Ka=e=>(t,r)=>{T(r,Ga,{actual:e,possible:["short","full"]})&&t.walkDecls(DS,n=>{let i=qe(n);if(!Q.displayKeyword.test(i)||!Be(i))return;let o=St({css:i});if(o.some(p=>!(Et(p)||Kt(p)||Ye(p))))return;let a=o.filter(Ye);if(!a.length)return;let s=EU(a),l=e==="short"?FS[s]:LS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ne(n);P({message:yg.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ga,fix:{apply:()=>{ft(n,PU(o,u,c,l))},node:n}})})},Ka.ruleName=Ga,Ka.messages=yg,Ka.meta=TS,VF=Ka});function im(e){return e.toString().trim().length!==0&&Number(e)==e}var QF=y(()=>{});function MS(e){if(!e)return!1;if(km.has(e))return!0;let t=YF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||qi.has(r.toLowerCase()))}var YF,OU=y(()=>{YF=X(ue(),1),Ke(),oo()});function Pd(e){return e.toLowerCase().startsWith("var(")}var Id=y(()=>{});function jU(e,t,r){return e.value=e.value+r+t.value,e}function Lk(e){let t=[],r=(0,GF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!KF.has(a.type))return;let u=a.value.toLowerCase();if(!Be(u)||Pd(u))return;let c=Zr.has(u);if(!c&&Rw.has(u)||!c&&MS(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&km.has(u)&&!(!d||$y(d)||v.find($y))||p&&p.value==="/"&&m&&MS(m.value)||im(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];$e(b),jU(b,h,o),i=!1,o=null}else t.push(h)}),t}var GF,KF,$y,Fk=y(()=>{GF=X(ue(),1),Ke(),q(),QF(),_e(),OU(),Id(),KF=new Set(["word","string","space","div"]),$y=e=>e.type==="div"&&e.value===","}),HF={};A(HF,{default:()=>XF});function TU(e){return!!(mN.has(e)||e==="BlinkMacSystemFont")}function DU(e){return!/^[-a-z]+$/i.test(e)}function LU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ha,wg,RS,$S,Xa,XF,FU=y(()=>{Ke(),Fk(),_e(),Id(),V(),I(),j(),D(),Ha="font-family-name-quotes",wg=O(Ha,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),RS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},$S=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Xa=e=>(t,r)=>{if(!T(r,Ha,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(dr.fontFamilyAndShorthandName,o=>{if(!Be(o.value))return;let a=$S(Lk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(Pd(l))return;if(Zr.has(s.toLowerCase())||TU(s))return u?i("rejected",o,a):void 0;let c=LU(s),d=DU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ha,message:wg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Xa.ruleName=Ha,Xa.messages=wg,Xa.meta=RS,XF=Xa}),JF={};A(JF,{default:()=>ZF});var Ja,kg,BS,qS,Za,ZF,MU=y(()=>{q(),J(),Fk(),Ke(),K(),V(),I(),j(),D(),Ja="font-family-no-duplicate-names",kg=O(Ja,{rejected:e=>`Duplicate font-family name "${e}"`}),BS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},qS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),Za=(e,t)=>(r,n)=>{if(!T(n,Ja,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Lk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(F(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(qS(u)){if(a.has(c.toLowerCase())){i(c,ne(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ne(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Ja,message:kg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Za.ruleName=Ja,Za.messages=kg,Za.meta=BS,ZF=Za}),eM={};A(eM,{default:()=>tM});var es,xg,WS,_S,US,ts,tM,RU=y(()=>{gd(),q(),Ke(),J(),Fk(),me(),_e(),Id(),K(),V(),I(),j(),D(),es="font-family-no-missing-generic-family-keyword",xg=O(es,{rejected:"Missing generic font family"}),WS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},_S=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),US=e=>{let t=_i.list.comma(e).pop();return t!=null&&(Pd(t)||!Be(t))},ts=(e,t)=>(r,n)=>{if(!T(n,es,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&pN.has(o.value.toLowerCase())||US(o.value))return;let s=Lk(o.value);if(s.length===0||s.some(p=>_S(p))||s.some(p=>F(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];$e(l);let u=ne(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:es,message:xg.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},ts.ruleName=es,ts.messages=xg,ts.meta=WS,tM=ts}),rM={};A(rM,{default:()=>nM});function By(e){return e!==void 0&&e.type==="div"}function $U(e,t,r){return!(e.type!=="word"||By(r[t-1])||By(r[t+1]))}var VS,rs,ns,QS,YS,GS,Sg,is,nM,BU=y(()=>{VS=X(ue(),1),Ke(),V(),q(),J(),We(),QF(),_e(),Id(),K(),I(),j(),gt(),D(),rs="font-weight-notation",ns=O(rs,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),QS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},YS="normal",GS=new Map([["normal","400"],["bold","700"]]),Sg=new Map([["400","normal"],["700","bold"]]),is=(e,t)=>(r,n)=>{if(!T(n,rs,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=F(t,"ignore","relative");r.walkDecls(dr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,VS.default)(qe(a)),u=l.nodes,c=u.some((d,p,m)=>im(d.value)&&!By(m[p-1]));for(let[d,p]of u.entries()){if(!$U(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===YS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Be(u)||Pd(u))return;let c=u.toLowerCase();if(i&&ym.has(c))return;let d=m=>()=>{s.value=m,ft(a,l.toString())};if(e==="numeric"){if(!im(c)&&wm.has(c)){let m=GS.get(c);return m?p(ns.expectedWithActual,[u,m],s,d(m)):p(ns.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&im(c)&&Sg.has(c)){let m=Sg.get(c);eo(m);let v=d(m);return p(ns.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ne(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:rs,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},is.ruleName=rs,is.messages=ns,is.meta=QS,nM=is}),iM={};A(iM,{default:()=>oM});function qU(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 KS,os,Cg,HS,Gn,oM,WU=y(()=>{KS=X(ue(),1),q(),J(),pr(),Sd(),Le(),I(),j(),D(),os="function-allowed-list",Cg=O(os,{rejected:e=>`Disallowed function "${e}"`}),HS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Gn=(e,t)=>(r,n)=>{var o;if(!T(n,os,{actual:e,possible:[$,_]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,_]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,KS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!xd(s)||Pe(c,e)&&(!Pe(c,i)||qU(a)))return;let d=ne(a)+u,p=d+c.length;P({message:Cg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:os})})})},Gn.primaryOptionArray=!0,Gn.ruleName=os,Gn.messages=Cg,Gn.meta=HS,oM=Gn}),aM={};A(aM,{default:()=>cM});function _U(e){let t=St({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;Ph(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=St({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!qt(r)||r[4].value!=="#")return;let i=t[n+1];if(!fF(i))return;let o=t[n+2];!qt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),uo(t)}function XS(e){if(Dr(e))return!0;if(He(e)){let t=e.getName().toLowerCase();return!!(io.has(t)||t==="var")}return le(e)?lM.has(e.value[0]):!1}function Tp(e=" "){return new Ot([[z.Whitespace,e,-1,-1,void 0]])}function UU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;It(s);)s=e.value[++t];for(XS(s)&&(r=s,s=e.value[++t]);It(s);)i.push(s),s=e.value[++t];for(le(s)&&qt(s.value)&&sM.has(s.value[4].value)&&(a=s,s=e.value[++t]);It(s);)o.push(s),s=e.value[++t];for(XS(s)&&(n=s,s=e.value[++t]);It(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||hF(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new uM(r,i,n,o,a),t]}var as,cn,JS,sM,ZS,eC,ss,lM,uM,cM,VU=y(()=>{var e,qy,r;Ct(),rt(),J(),We(),Ir(),V(),I(),j(),gt(),D(),q(),as="function-calc-no-unspaced-operator",cn=O(as,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),JS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},sM=new Set(["+","-"]),ZS=new RegExp(`^(?:${[...io].join("|")})$`,"i"),eC=/\n|\r\n/,ss=n=>(i,o)=>{if(!T(o,as,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:as,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=qe(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=_U(l);if(u.length===0)return;let c=ne(s),d=()=>ft(s,xF([u]));function p(h,b,g){b[g].some(id)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,g),d()})}function m(h,b){if(le(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=g;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Ph(g,k)))return}if(Ye(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>m7(g,k)))return}}if(le(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(h,b){h[b].forEach(g=>{if(!id(g))return;let f=g.toString();if(f===" ")return;let x=f.search(eC);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=Tp(x===-1?" ":f.slice(x)).value,d()})})}Dn(u,({node:h,state:b})=>{if(!b)return;if(He(h))b.inMathFunction=ZS.test(h.getName().toLowerCase());else if(!Dr(h)||!lo(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=UU(h,g),!f){g++;continue}f.operator||m(h,f),f.operator&&(p(h,f,"before"),p(h,f,"after"),v(f,"before"),v(f,"after")),g=h.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},lM=new Set([z.Number,z.Dimension,z.Percentage,z.Ident]),uM=(r=class{constructor(n,i,o,a,s){ax(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Qh(this,e,qy)[4].value}get operatorCharPosition(){return Qh(this,e,qy)[2]}insertWhitespace(n,i){$e(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,Tp())}insertOperatorAfterFirstOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new pe([z.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[Tp()]):this.after=[Tp()]}},e=new WeakSet,qy=function(){var n;return $e(qt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),ss.ruleName=as,ss.messages=cn,ss.meta=JS,cM=ss}),dM={};A(dM,{default:()=>pM});var tC,ls,zg,rC,Kn,pM,QU=y(()=>{tC=X(ue(),1),q(),J(),Sd(),Le(),I(),j(),D(),ls="function-disallowed-list",zg=O(ls,{rejected:e=>`Disallowed function "${e}"`}),rC={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Kn=e=>(t,r)=>{T(r,ls,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,tC.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!xd(i)||!Pe(s,e))return;let l=ne(n)+a,u=l+s.length;P({message:zg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ls})})})},Kn.primaryOptionArray=!0,Kn.ruleName=ls,Kn.messages=zg,Kn.meta=rC,pM=Kn});function Od(e,t,r){let n=(0,Wy.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,Wy.default)(e.slice(i.sourceIndex+o.length)).nodes;$e(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var Wy,jd=y(()=>{Wy=X(ue(),1),q()}),mM={};A(mM,{default:()=>gM});function YU(e,t){let r=t?hM:fM,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Ag,us,Ng,nC,Eg,iC,oC,Hn,hM,fM,aC,sC,lC,cs,gM,GU=y(()=>{Ag=X(ue(),1),J(),jd(),_e(),I(),j(),D(),Dt(),us="function-linear-gradient-no-nonstandard-direction",Ng=O(us,{rejected:"Nonstandard direction"}),nC={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Eg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",iC=new RegExp(`${Eg}\\(`,"i"),oC=new RegExp(`^${Eg}$`,"i"),Hn=/top|left|bottom|right/i,hM=new RegExp(`^to (${Hn.source})(?: (${Hn.source}))?$`,"i"),fM=new RegExp(`^(${Hn.source})(?: (${Hn.source}))?$`,"i"),aC=/[\d.]/,sC=/^[\d.]+(?:deg|grad|rad|turn)$/,lC=/\bin\b/i,cs=e=>(t,r)=>{T(r,us,{actual:e})&&t.walkDecls(n=>{iC.test(n.value)&&(0,Ag.default)(n.value).walk(i=>{i.type==="function"&&Od(Ag.default.stringify(i).toLowerCase(),oC,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Be(l)||l.startsWith("var(")||lC.test(l))return;if(aC.test(l.charAt(0))){if(sC.test(l))return;c();return}if(!Hn.test(l))return;let u=!Xe.prefix(i.value);YU(l,u)||c();function c(){let d=ne(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Ng.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:us})}})})})},cs.ruleName=us,cs.messages=Ng,cs.meta=nC,gM=cs}),bM={};A(bM,{default:()=>vM});var uC,ds,Pg,cC,Dp,ps,vM,KU=y(()=>{uC=X(ue(),1),q(),Ir(),J(),We(),Sd(),_e(),K(),I(),j(),gt(),D(),ds="function-name-case",Pg=O(ds,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cC={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Dp=new Map;for(let e of cN)Dp.set(e.toLowerCase(),e);ps=(e,t)=>(r,n)=>{T(n,ds,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Be(i.value))return;let o=(0,uC.default)(qe(i));o.walk(a=>{if(a.type!=="function"||!xd(a))return;let s=a.value,l=s.toLowerCase();if(F(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Dp.has(l)?u=Dp.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ne(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,ft(i,o.toString())};P({message:Pg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:ds,fix:{apply:p,node:i}})})})},ps.ruleName=ds,ps.messages=Pg,ps.meta=cC,vM=ps}),yM,HU=y(()=>{yM=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function XU(e){return e.startsWith("--")}var JU=y(()=>{}),wM={};A(wM,{default:()=>kM});var ms,Ig,dC,hs,kM,ZU=y(()=>{Ct(),HU(),rt(),q(),J(),JU(),_e(),K(),I(),j(),D(),ms="function-no-unknown",Ig=O(ms,{rejected:e=>`Unknown function "${e}"`}),dC={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},hs=(e,t)=>(r,n)=>{T(n,ms,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Be(o)&&Dn(uo(St({css:o})),({node:a})=>{if(!He(a))return;let s=a.getName();if(XU(s)||F(t,"ignoreFunctions",s)||yM.includes(s.toLowerCase()))return;let l=ne(i),u=l+a.name[2],c=l+a.name[3];P({message:Ig.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:ms})})})},hs.ruleName=ms,hs.messages=Ig,hs.meta=dC,kM=hs});function Lh(e){return e.length===0?!0:IA(e)||TA(e)||NA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!CA(e):!(e.startsWith("@")&&xM.test(e)||e.includes("$")&&SM.test(e)&&!e.endsWith("/"))}var xM,SM,Fh=y(()=>{AA(),PA(),jA(),LA(),xM=/^@@?[\w-]+$/,SM=/^[$\s\w+\-,./*'"@#?]+$/}),CM={};A(CM,{default:()=>zM});var fs,Og,pC,jg,gs,zM,eV=y(()=>{V(),jd(),Fh(),I(),j(),D(),fs="function-url-no-scheme-relative",Og=O(fs,{rejected:"Disallowed scheme-relative url"}),pC={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},jg=(e,t,r)=>{Od(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Lh(o)||!o.startsWith("//")||P({message:Og.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:fs})})},gs=e=>(t,r)=>{T(r,fs,{actual:e})&&(t.walkDecls(n=>{jg(n,n.toString(),r)}),t.walkAtRules(Se.importName,n=>{jg(n,n.toString(),r)}))},gs.ruleName=fs,gs.messages=Og,gs.meta=pC,zM=gs}),AM={};A(AM,{default:()=>NM});var bs,Tg,mC,vs,NM,tV=y(()=>{rt(),J(),jd(),lt(),We(),ct(),Fh(),V(),K(),I(),j(),D(),bs="function-url-quotes",Tg=O(bs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),mC={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},vs=(e,t)=>(r,n)=>{if(!T(n,bs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=F(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=f.toString();break;case"atrule":h.params=f.toString();break}}}function s(h,b,g){Od(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:E,...C}=S,L=Tg[E],N=[w.value.toLowerCase()],B=a(h,w,E,k);P({...C,node:h,fix:{apply:B,node:h},message:L,messageArgs:N,result:n,ruleName:bs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!ut(h))return;let b=qe(h),g=ne(h);s(h,b,g)}function u(h){let b=st(h),g=je(h);s(h,b,g)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,g=(k=h[0])!=null?k:"",f=h.lastIndexOf(g);f>0&&(b=h.slice(1,f));let x=St({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!b7(w)}function m(h,b){let g=h.trimStart();if(!Lh(g))return;let f=e==="always";i&&o.has(h.trim())&&(f=!f);let x=g.startsWith("'")||g.startsWith('"');if(x&&p(g)||f&&x||!f&&!x)return;let w=f?"expected":"rejected",k=b+h.length-g.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},vs.ruleName=bs,vs.messages=Tg,vs.meta=mC,NM=vs});function EM(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var PM=y(()=>{}),IM={};A(IM,{default:()=>OM});var ys,Dg,hC,Xn,OM,rV=y(()=>{q(),jd(),PM(),Fh(),Le(),I(),j(),D(),ys="function-url-scheme-allowed-list",Dg=O(ys,{rejected:e=>`Disallowed URL scheme "${e}:"`}),hC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Xn=e=>(t,r)=>{T(r,ys,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Lh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&(Pe(l,e)||P({message:Dg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ys}))})})},Xn.primaryOptionArray=!0,Xn.ruleName=ys,Xn.messages=Dg,Xn.meta=hC,OM=Xn}),jM={};A(jM,{default:()=>TM});var ws,Lg,fC,Jn,TM,nV=y(()=>{q(),jd(),PM(),Fh(),Le(),I(),j(),D(),ws="function-url-scheme-disallowed-list",Lg=O(ws,{rejected:e=>`Disallowed URL scheme "${e}:"`}),fC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Jn=e=>(t,r)=>{T(r,ws,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Lh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&Pe(l,e)&&P({message:Lg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ws})})})},Jn.primaryOptionArray=!0,Jn.ruleName=ws,Jn.messages=Lg,Jn.meta=fC,TM=Jn}),DM={};A(DM,{default:()=>LM});function iV(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(Lv.has(r))return t[0+n];if(Fv.has(r))return t[2+n]}var Fg,ks,Mg,gC,xs,LM,oV=y(()=>{Fg=X(ue(),1),Ir(),J(),We(),_e(),V(),I(),j(),gt(),D(),ks="hue-degree-notation",Mg=O(ks,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),gC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},xs=e=>(t,r)=>{T(r,ks,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Fg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Ow.has(a))return;let s=iV(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Fg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ne(n),h=()=>{s.value=p,ft(n,i.toString())};P({message:Mg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ks,fix:{apply:h,node:n}})})})},xs.ruleName=ks,xs.messages=Mg,xs.meta=gC,LM=xs});function FM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var MM=y(()=>{}),RM={};A(RM,{default:()=>$M});var Ss,Cs,Lp,bC,Rg,zs,$M,aV=y(()=>{Ss=X(ue(),1),J(),V(),lt(),I(),j(),MM(),D(),Cs="import-notation",Lp=O(Cs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),bC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Rg=(e,t,r)=>()=>{let n=e.params.slice(r);FM(e,`${t}${n}`)},zs=e=>(t,r)=>{if(!T(r,Cs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(Se.importName,n);function n(i){var l;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=je(i),s=(0,Ss.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:Cs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=Ss.default.stringify(u),b=Ss.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Rg(i,g,c),x=Lp.expected;P({...v,message:x,messageArgs:[h,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${Ss.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Rg(i,h,c),f=Lp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},zs.ruleName=Cs,zs.messages=Lp,zs.meta=bC,$M=zs}),BM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),sV=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}),lV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),uV=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),Mh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(BM());e.unesc=t.default;var r=o(sV());e.getProp=r.default;var n=o(lV());e.ensureObject=n.default;var i=o(uV());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=Mh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),wt=G(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),Mk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(wt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=l(h))||b&&h&&typeof h.length=="number"){g&&(h=g);var f=0;return function(){return f>=h.length?{done:!0}:{done:!1,value:h[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=h[g];return f}function c(h,b){for(var g=0;g<b.length;g++){var f=b[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function d(h,b,g){return b&&c(h.prototype,b),g&&c(h,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},m(h,b)}var v=(function(h){p(b,h);function b(f){var x;return x=h.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=b.prototype;return g.append=function(f){return f.parent=this,this.nodes.push(f),this},g.prepend=function(f){f.parent=this,this.nodes.unshift(f);for(var x in this.indexes)this.indexes[x]++;return this},g.at=function(f){return this.nodes[f]},g.index=function(f){return typeof f=="number"?f:this.nodes.indexOf(f)},g.removeChild=function(f){f=this.index(f),this.at(f).parent=void 0,this.nodes.splice(f,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=f&&(this.indexes[w]=x-1);return this},g.removeAll=function(){for(var f=s(this.nodes),x;!(x=f()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var C;for(var L in this.indexes)C=this.indexes[L],k<C&&(this.indexes[L]=C+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 C;for(var L in this.indexes)C=this.indexes[L],C>=k&&(this.indexes[L]=C+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 C=f.call(x,S);return w.push(S),C?(k.push(w),w=[]):E===x.length-1&&k.push(w),k},[])},g.map=function(f){return this.nodes.map(f)},g.reduce=function(f,x){return this.nodes.reduce(f,x)},g.every=function(f){return this.nodes.every(f)},g.some=function(f){return this.nodes.some(f)},g.filter=function(f){return this.nodes.filter(f)},g.sort=function(f){return this.nodes.sort(f)},g.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),qM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),WM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),Rk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,g=c.length;b<g;){var f=c.charAt(b++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<g){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(f)?w="\\"+f:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?w="\\"+x.toString(16).toUpperCase()+" ":f=="\\"||!m&&(f=='"'&&p==f||f=="'"&&p==f)||m&&a.test(f)?w="\\"+f:w=f;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,E,C){return E&&E.length%2?S:(E||"")+C}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),_M=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Rk()),n=Mh(),i=a(nn()),o=wt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),UM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),VM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),$k=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Rk()),n=Mh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),QM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i($k()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),YM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),GM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),cV=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),KM=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(Rk()),r=a(BM()),n=a($k()),i=wt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var C=S[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(k,C.key,C)}}function l(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},c(k,S)}var d=cV(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,E=null,C=k,L=C.match(p);return L&&(E=L[1],C=L[2]),C=(0,r.default)(C),C!==k&&(S=!0),{deprecatedUsage:S,unescaped:C,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),E=S.quoteMark,C=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=C,k.quoteMark=E,k}var f=(function(k){u(S,k);function S(C){var L;return C===void 0&&(C={}),L=k.call(this,g(C))||this,L.type=i.ATTRIBUTE,L.raws=L.raws||{},Object.defineProperty(L.raws,"unquoted",{get:d(function(){return L.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return L.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),L._constructed=!0,L}var E=S.prototype;return E._syncRawValue=function(){var C=(0,t.default)(this._value,x[this.quoteMark]);C===this._value?this.raws&&delete this.raws.value:this.raws.value=C},E._handleEscapes=function(C,L){if(this._constructed){var N=(0,t.default)(L,{isIdentifier:!0});N!==L?this.raws[C]=N:delete this.raws[C]}},E._spacesFor=function(C){var L={before:"",after:""},N=this.spaces[C]||{},B=this.raws.spaces&&this.raws.spaces[C]||{};return Object.assign(L,N,B)},E._stringFor=function(C,L,N){L===void 0&&(L=C),N===void 0&&(N=w);var B=this._spacesFor(L);return N(this.stringifyProperty(C),B)},E.offsetOf=function(C){var L=1,N=this._spacesFor("attribute");if(L+=N.before.length,C==="namespace"||C==="ns")return this.namespace?L:-1;if(C==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),C==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=N.after.length;var B=this._spacesFor("operator");L+=B.before.length;var ie=this.stringifyProperty("operator");if(C==="operator")return ie?L:-1;L+=ie.length,L+=B.after.length;var te=this._spacesFor("value");L+=te.before.length;var he=this.stringifyProperty("value");if(C==="value")return he?L:-1;L+=he.length,L+=te.after.length;var fe=this._spacesFor("insensitive");return L+=fe.before.length,C==="insensitive"&&this.insensitive?L:-1},E.toString=function(){var C=this,L=[this.rawSpaceBefore,"["];return L.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(L.push(this._stringFor("operator")),L.push(this._stringFor("value")),L.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!C.quoted&&B.before.length===0&&!(C.spaces.value&&C.spaces.value.after)&&(B.before=" "),w(N,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var C=this.quoteMark;return C==="'"||C==='"'},set:function(C){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(C){if(!this._constructed){this._quoteMark=C;return}this._quoteMark!==C&&(this._quoteMark=C,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(C){if(this._constructed){var L=b(C),N=L.deprecatedUsage,B=L.unescaped,ie=L.quoteMark;if(N&&m(),B===this._value&&ie===this._quoteMark)return;this._value=B,this._quoteMark=ie,this._syncRawValue()}else this._value=C}},{key:"insensitive",get:function(){return this._insensitive},set:function(C){C||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=C}},{key:"attribute",get:function(){return this._attribute},set:function(C){this._handleEscapes("attribute",C),this._attribute=C}}]),S})(n.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),HM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i($k()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),XM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),JM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),dV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),ZM=G(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var g=62;e.greaterThan=g;var f=32;e.space=f;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var E=92;e.backslash=E;var C=13;e.cr=C;var L=12;e.feed=L;var N=10;e.newline=N;var B=9;e.tab=B;var ie=x;e.str=ie;var te=-1;e.comment=te;var he=-2;e.word=he;var fe=-3;e.combinator=fe}),pV=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(ZM()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var g=b,f;do{if(f=h.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(h,g)+1:g++}while(g<h.length);return g-1}function p(h,b){var g=b,f=h.charCodeAt(g+1);if(!a[f])if(l[f]){var x=0;do g++,x++,f=h.charCodeAt(g+1);while(l[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],g=h.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,C,L,N,B,ie,te,he,fe,oe,Fe,Ue,At,Ve;function Y(H,R){if(h.safe)g+=R,oe=g.length-1;else throw h.error("Unclosed "+H,k,S-w,S)}for(;S<x;){switch(C=g.charCodeAt(S),C===t.newline&&(w=S,k+=1),C){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:oe=S;do oe+=1,C=g.charCodeAt(oe),C===t.newline&&(w=oe,k+=1);while(C===t.space||C===t.newline||C===t.tab||C===t.cr||C===t.feed);Ve=t.space,B=k,N=oe-w-1,E=oe;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:oe=S;do oe+=1,C=g.charCodeAt(oe);while(C===t.plus||C===t.greaterThan||C===t.tilde||C===t.pipe);Ve=t.combinator,B=k,N=S-w,E=oe;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:oe=S,Ve=C,B=k,N=S-w,E=oe+1;break;case t.singleQuote:case t.doubleQuote:At=C===t.singleQuote?"'":'"',oe=S;do for(ie=!1,oe=g.indexOf(At,oe+1),oe===-1&&Y("quote",At),te=oe;g.charCodeAt(te-1)===t.backslash;)te-=1,ie=!ie;while(ie);Ve=t.str,B=k,N=S-w,E=oe+1;break;default:C===t.slash&&g.charCodeAt(S+1)===t.asterisk?(oe=g.indexOf("*/",S+2)+1,oe===0&&Y("comment","*/"),L=g.slice(S,oe+1),fe=L.split(`
|
|
36
|
+
`),he=fe.length-1,he>0?(Fe=k+he,Ue=oe-fe[he].length):(Fe=k,Ue=w),Ve=t.comment,k=Fe,B=Fe,N=oe-Ue):C===t.slash?(oe=S,Ve=C,B=k,N=S-w,E=oe+1):(oe=d(g,S),Ve=t.word,B=k,N=oe-w),E=oe+1;break}b.push([Ve,k,S-w,B,N,S,E]),Ue&&(w=Ue,Ue=null),S=E}return b}}),mV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(qM()),n=E(WM()),i=E(_M()),o=E(UM()),a=E(VM()),s=E(QM()),l=E(YM()),u=E(GM()),c=S(KM()),d=E(HM()),p=E(XM()),m=E(JM()),v=E(dV()),h=S(pV()),b=S(ZM()),g=S(wt()),f=Mh(),x,w;function k(Y){if(typeof WeakMap!="function")return null;var H=new WeakMap,R=new WeakMap;return(k=function(W){return W?R:H})(Y)}function S(Y,H){if(!H&&Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var R=k(H);if(R&&R.has(Y))return R.get(Y);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in Y)if(M!=="default"&&Object.prototype.hasOwnProperty.call(Y,M)){var ee=Z?Object.getOwnPropertyDescriptor(Y,M):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,M,ee):W[M]=Y[M]}return W.default=Y,R&&R.set(Y,W),W}function E(Y){return Y&&Y.__esModule?Y:{default:Y}}function C(Y,H){for(var R=0;R<H.length;R++){var W=H[R];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Y,W.key,W)}}function L(Y,H,R){return H&&C(Y.prototype,H),R&&C(Y,R),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var N=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},N,(w={},w[b.comment]=!0,w));function ie(Y){return{line:Y[h.FIELDS.START_LINE],column:Y[h.FIELDS.START_COL]}}function te(Y){return{line:Y[h.FIELDS.END_LINE],column:Y[h.FIELDS.END_COL]}}function he(Y,H,R,W){return{start:{line:Y,column:H},end:{line:R,column:W}}}function fe(Y){return he(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],Y[h.FIELDS.END_LINE],Y[h.FIELDS.END_COL])}function oe(Y,H){if(Y)return he(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],H[h.FIELDS.END_LINE],H[h.FIELDS.END_COL])}function Fe(Y,H){var R=Y[H];if(typeof R=="string")return R.indexOf("\\")!==-1&&((0,f.ensureObject)(Y,"raws"),Y[H]=(0,f.unesc)(R),Y.raws[H]===void 0&&(Y.raws[H]=R)),Y}function Ue(Y,H){for(var R=-1,W=[];(R=Y.indexOf(H,R+1))!==-1;)W.push(R);return W}function At(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(H,R){return R===Y.indexOf(H)})}var Ve=(function(){function Y(R,W){W===void 0&&(W={}),this.rule=R,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:Z}),this.root.errorGenerator=this._errorGenerator();var M=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(M),this.current=M,this.loop()}var H=Y.prototype;return H._errorGenerator=function(){var R=this;return function(W,Z){return typeof R.rule=="string"?new Error(W):R.rule.error(W,Z)}},H.attribute=function(){var R=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)R.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var Z=R.length,M={source:he(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(Z===1&&!~[b.word].indexOf(R[0][h.FIELDS.TYPE]))return this.expected("attribute",R[0][h.FIELDS.START_POS]);for(var ee=0,ve="",ge="",ae=null,Me=!1;ee<Z;){var nt=R[ee],ye=this.content(nt),Qe=R[ee+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Me=!0,this.options.lossy)break;if(ae){(0,f.ensureObject)(M,"spaces",ae);var Lr=M.spaces[ae].after||"";M.spaces[ae].after=Lr+ye;var hr=(0,f.getProp)(M,"raws","spaces",ae,"after")||null;hr&&(M.raws.spaces[ae].after=hr+ye)}else ve=ve+ye,ge=ge+ye;break;case b.asterisk:if(Qe[h.FIELDS.TYPE]===b.equals)M.operator=ye,ae="operator";else if((!M.namespace||ae==="namespace"&&!Me)&&Qe){ve&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ve,ge=""),M.namespace=(M.namespace||"")+ye;var Lt=(0,f.getProp)(M,"raws","namespace")||null;Lt&&(M.raws.namespace+=ye),ae="namespace"}Me=!1;break;case b.dollar:if(ae==="value"){var bt=(0,f.getProp)(M,"raws","value");M.value+="$",bt&&(M.raws.value=bt+"$");break}case b.caret:Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),Me=!1;break;case b.combinator:if(ye==="~"&&Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),ye!=="|"){Me=!1;break}Qe[h.FIELDS.TYPE]===b.equals?(M.operator=ye,ae="operator"):!M.namespace&&!M.attribute&&(M.namespace=!0),Me=!1;break;case b.word:if(Qe&&this.content(Qe)==="|"&&R[ee+2]&&R[ee+2][h.FIELDS.TYPE]!==b.equals&&!M.operator&&!M.namespace)M.namespace=ye,ae="namespace";else if(!M.attribute||ae==="attribute"&&!Me){ve&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ge,ge=""),M.attribute=(M.attribute||"")+ye;var Jt=(0,f.getProp)(M,"raws","attribute")||null;Jt&&(M.raws.attribute+=ye),ae="attribute"}else if(!M.value&&M.value!==""||ae==="value"&&!(Me||M.quoteMark)){var Zt=(0,f.unesc)(ye),Wr=(0,f.getProp)(M,"raws","value")||"",qd=M.value||"";M.value=qd+Zt,M.quoteMark=null,(Zt!==ye||Wr)&&((0,f.ensureObject)(M,"raws"),M.raws.value=(Wr||qd)+ye),ae="value"}else{var Wd=ye==="i"||ye==="I";(M.value||M.value==="")&&(M.quoteMark||Me)?(M.insensitive=Wd,(!Wd||ye==="I")&&((0,f.ensureObject)(M,"raws"),M.raws.insensitiveFlag=ye),ae="insensitive",ve&&((0,f.ensureObject)(M,"spaces","insensitive"),M.spaces.insensitive.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","insensitive"),M.raws.spaces.insensitive.before=ge,ge="")):(M.value||M.value==="")&&(ae="value",M.value+=ye,M.raws.value&&(M.raws.value+=ye))}Me=!1;break;case b.str:if(!M.attribute||!M.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var co=(0,c.unescapeValue)(ye),I6=co.unescaped,O6=co.quoteMark;M.value=I6,M.quoteMark=O6,ae="value",(0,f.ensureObject)(M,"raws"),M.raws.value=ye,Me=!1;break;case b.equals:if(!M.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],ye);if(M.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});M.operator=M.operator?M.operator+ye:ye,ae="operator",Me=!1;break;case b.comment:if(ae)if(Me||Qe&&Qe[h.FIELDS.TYPE]===b.space||ae==="insensitive"){var j6=(0,f.getProp)(M,"spaces",ae,"after")||"",T6=(0,f.getProp)(M,"raws","spaces",ae,"after")||j6;(0,f.ensureObject)(M,"raws","spaces",ae),M.raws.spaces[ae].after=T6+ye}else{var D6=M[ae]||"",L6=(0,f.getProp)(M,"raws",ae)||D6;(0,f.ensureObject)(M,"raws"),M.raws[ae]=L6+ye}else ge=ge+ye;break;default:return this.error('Unexpected "'+ye+'" found.',{index:nt[h.FIELDS.START_POS]})}ee++}Fe(M,"attribute"),Fe(M,"namespace"),this.newNode(new c.default(M)),this.position++},H.parseWhitespaceEquivalentTokens=function(R){R<0&&(R=this.tokens.length);var W=this.position,Z=[],M="",ee=void 0;do if(N[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(M+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var ve={};M&&(ve.before=M,M=""),ee=new o.default({value:this.content(),source:fe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ve}),Z.push(ee)}while(++this.position<R);if(M){if(ee)ee.spaces.after=M;else if(!this.options.lossy){var ge=this.tokens[W],ae=this.tokens[this.position-1];Z.push(new l.default({value:"",source:he(ge[h.FIELDS.START_LINE],ge[h.FIELDS.START_COL],ae[h.FIELDS.END_LINE],ae[h.FIELDS.END_COL]),sourceIndex:ge[h.FIELDS.START_POS],spaces:{before:M,after:""}}))}}return Z},H.convertWhitespaceNodesToSpace=function(R,W){var Z=this;W===void 0&&(W=!1);var M="",ee="";R.forEach(function(ge){var ae=Z.lossySpace(ge.spaces.before,W),Me=Z.lossySpace(ge.rawSpaceBefore,W);M+=ae+Z.lossySpace(ge.spaces.after,W&&ae.length===0),ee+=ae+ge.value+Z.lossySpace(ge.rawSpaceAfter,W&&Me.length===0)}),ee===M&&(ee=void 0);var ve={space:M,rawSpace:ee};return ve},H.isNamedCombinator=function(R){return R===void 0&&(R=this.position),this.tokens[R+0]&&this.tokens[R+0][h.FIELDS.TYPE]===b.slash&&this.tokens[R+1]&&this.tokens[R+1][h.FIELDS.TYPE]===b.word&&this.tokens[R+2]&&this.tokens[R+2][h.FIELDS.TYPE]===b.slash},H.namedCombinator=function(){if(this.isNamedCombinator()){var R=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(R).toLowerCase(),Z={};W!==R&&(Z.value="/"+R+"/");var M=new p.default({value:"/"+W+"/",source:he(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:Z});return this.position=this.position+3,M}else this.unexpected()},H.combinator=function(){var R=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(W);if(Z.length>0){var M=this.current.last;if(M){var ee=this.convertWhitespaceNodesToSpace(Z),ve=ee.space,ge=ee.rawSpace;ge!==void 0&&(M.rawSpaceAfter+=ge),M.spaces.after+=ve}else Z.forEach(function(Wr){return R.newNode(Wr)})}return}var ae=this.currToken,Me=void 0;W>this.position&&(Me=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:fe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):N[this.currToken[h.FIELDS.TYPE]]||Me||this.unexpected(),nt){if(Me){var ye=this.convertWhitespaceNodesToSpace(Me),Qe=ye.space,Lr=ye.rawSpace;nt.spaces.before=Qe,nt.rawSpaceBefore=Lr}}else{var hr=this.convertWhitespaceNodesToSpace(Me,!0),Lt=hr.space,bt=hr.rawSpace;bt||(bt=Lt);var Jt={},Zt={spaces:{}};Lt.endsWith(" ")&&bt.endsWith(" ")?(Jt.before=Lt.slice(0,Lt.length-1),Zt.spaces.before=bt.slice(0,bt.length-1)):Lt[0]===" "&&bt[0]===" "?(Jt.after=Lt.slice(1),Zt.spaces.after=bt.slice(1)):Zt.value=bt,nt=new p.default({value:" ",source:oe(ae,this.tokens[this.position-1]),sourceIndex:ae[h.FIELDS.START_POS],spaces:Jt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},H.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var R=new n.default({source:{start:ie(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(R),this.current=R,this.position++},H.comment=function(){var R=this.currToken;this.newNode(new o.default({value:this.content(),source:fe(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.error=function(R,W){throw this.root.error(R,W)},H.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},H.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},H.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},H.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},H.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},H.namespace=function(){var R=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(R);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(R);this.unexpectedPipe()},H.nesting=function(){if(this.nextToken){var R=this.content(this.nextToken);if(R==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:fe(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},H.parentheses=function(){var R=this.current.last,W=1;if(this.position++,R&&R.type===g.PSEUDO){var Z=new n.default({source:{start:ie(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),M=this.current;for(R.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=te(this.currToken),this.current.parent.source.end=te(this.currToken),this.position++);this.current=M}else{for(var ee=this.currToken,ve="(",ge;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,ge=this.currToken,ve+=this.parseParenthesisToken(this.currToken),this.position++;R?R.appendToPropertyAndEscape("value",ve,ve):this.newNode(new l.default({value:ve,source:he(ee[h.FIELDS.START_LINE],ee[h.FIELDS.START_COL],ge[h.FIELDS.END_LINE],ge[h.FIELDS.END_COL]),sourceIndex:ee[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},H.pseudo=function(){for(var R=this,W="",Z=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(M,ee){W+=M,R.newNode(new u.default({value:W,source:oe(Z,R.currToken),sourceIndex:Z[h.FIELDS.START_POS]})),ee>1&&R.nextToken&&R.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&R.error("Misplaced parenthesis.",{index:R.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},H.space=function(){var R=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(R),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(R),this.position++):this.combinator()},H.string=function(){var R=this.currToken;this.newNode(new l.default({value:this.content(),source:fe(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.universal=function(R){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new d.default({value:this.content(),source:fe(Z),sourceIndex:Z[h.FIELDS.START_POS]}),R),this.position++},H.splitWord=function(R,W){for(var Z=this,M=this.nextToken,ee=this.content();M&&~[b.dollar,b.caret,b.equals,b.word].indexOf(M[h.FIELDS.TYPE]);){this.position++;var ve=this.content();if(ee+=ve,ve.lastIndexOf("\\")===ve.length-1){var ge=this.nextToken;ge&&ge[h.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(ge)),this.position++)}M=this.nextToken}var ae=Ue(ee,".").filter(function(Qe){var Lr=ee[Qe-1]==="\\",hr=/^\d+\.\d+%$/.test(ee);return!Lr&&!hr}),Me=Ue(ee,"#").filter(function(Qe){return ee[Qe-1]!=="\\"}),nt=Ue(ee,"#{");nt.length&&(Me=Me.filter(function(Qe){return!~nt.indexOf(Qe)}));var ye=(0,v.default)(At([0].concat(ae,Me)));ye.forEach(function(Qe,Lr){var hr=ye[Lr+1]||ee.length,Lt=ee.slice(Qe,hr);if(Lr===0&&W)return W.call(Z,Lt,ye.length);var bt,Jt=Z.currToken,Zt=Jt[h.FIELDS.START_POS]+ye[Lr],Wr=he(Jt[1],Jt[2]+Qe,Jt[3],Jt[2]+(hr-1));if(~ae.indexOf(Qe)){var qd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new i.default(Fe(qd,"value"))}else if(~Me.indexOf(Qe)){var Wd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new a.default(Fe(Wd,"value"))}else{var co={value:Lt,source:Wr,sourceIndex:Zt};Fe(co,"value"),bt=new s.default(co)}Z.newNode(bt,R),R=null}),this.position++},H.word=function(R){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(R)},H.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},H.parse=function(R){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:R&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},H.expected=function(R,W,Z){if(Array.isArray(R)){var M=R.pop();R=R.join(", ")+" or "+M}var ee=/^[aeiou]/.test(R[0])?"an":"a";return Z?this.error("Expected "+ee+" "+R+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+R+".",{index:W})},H.requiredSpace=function(R){return this.options.lossy?" ":R},H.optionalSpace=function(R){return this.options.lossy?"":R},H.lossySpace=function(R,W){return this.options.lossy?W?" ":"":R},H.parseParenthesisToken=function(R){var W=this.content(R);return R[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},H.newNode=function(R,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),R.namespace=W,Fe(R,"namespace")),this.spaces&&(R.spaces.before=this.spaces,this.spaces=""),this.current.append(R)},H.content=function(R){return R===void 0&&(R=this.currToken),this.css.slice(R[h.FIELDS.START_POS],R[h.FIELDS.END_POS])},H.locateNextMeaningfulToken=function(R){R===void 0&&(R=this.position+1);for(var W=R;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},L(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=Ve,t.exports=e.default}),hV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(mV());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}),fV=G(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(KM()),r=m(_M()),n=m(XM()),i=m(UM()),o=m(VM()),a=m(JM()),s=m(GM()),l=m(qM()),u=m(WM()),c=m(YM()),d=m(QM()),p=m(HM());function m(N){return N&&N.__esModule?N:{default:N}}var v=function(N){return new t.default(N)};e.attribute=v;var h=function(N){return new r.default(N)};e.className=h;var b=function(N){return new n.default(N)};e.combinator=b;var g=function(N){return new i.default(N)};e.comment=g;var f=function(N){return new o.default(N)};e.id=f;var x=function(N){return new a.default(N)};e.nesting=x;var w=function(N){return new s.default(N)};e.pseudo=w;var k=function(N){return new l.default(N)};e.root=k;var S=function(N){return new u.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var C=function(N){return new d.default(N)};e.tag=C;var L=function(N){return new p.default(N)};e.universal=L}),gV=G(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=f,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=wt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,E){return i(E)&&E.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var g=o.bind(null,t.UNIVERSAL);e.isUniversal=g;function f(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!f(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),bV=G(e=>{"use strict";e.__esModule=!0;var t=wt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=fV();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=gV();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),dt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(hV()),n=o(bV());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function at(e){var l,u;let t=e.nodes.findIndex(c=>!_y(c)),r=e.nodes.findLastIndex(c=>!_y(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var vC,_y,zt=y(()=>{vC=X(dt(),1),{isComment:_y}=vC.default});function xe(e,t,r){if(e)try{return(0,e3.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var e3,ze=y(()=>{e3=X(dt(),1)}),t3={};A(t3,{default:()=>r3});var As,$g,yC,Ns,r3,vV=y(()=>{V(),we(),zt(),de(),ze(),I(),j(),D(),As="keyframe-block-no-duplicate-selectors",$g=O(As,{rejected:e=>`Duplicate keyframe selector "${e}"`}),yC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},Ns=e=>(t,r)=>{T(r,As,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=xe(be(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=at(s),d=l.toLowerCase();if(i.has(d)){P({message:$g.rejected,messageArgs:[l],node:o,result:r,ruleName:As,index:u,endIndex:c});return}i.add(d)}))})})},Ns.ruleName=As,Ns.messages=$g,Ns.meta=yC,r3=Ns}),n3={};A(n3,{default:()=>i3});var Es,Bg,wC,Ps,i3,yV=y(()=>{q(),V(),KL(),I(),j(),D(),Es="keyframe-declaration-no-important",Bg=O(Es,{rejected:"Disallowed !important"}),wC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Ps=e=>(t,r)=>{T(r,Es,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=GL(i.toString());$e(o),P({message:Bg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:Es})})})},Ps.ruleName=Es,Ps.messages=Bg,Ps.meta=wC,i3=Ps}),o3={};A(o3,{default:()=>a3});function wV(e){let t=e.nodes.filter(i=>!(om.default.isComment(i)||om.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(om.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Bi.has(n)&&!Wc.has(n)))return[r,n]}function qg(e,t){let r=e.get(t);return eo(r),r}function kV(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var om,Is,Wg,kC,xC,_g,Os,a3,xV=y(()=>{q(),Ke(),V(),we(),ze(),om=X(dt(),1),Tt(),I(),j(),D(),Is="keyframe-selector-notation",Wg=O(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),kC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},xC=new Map([["0%","from"],["100%","to"]]),_g=new Map([["from","0%"],["to","100%"]]),Os=e=>(t,r)=>{if(!T(r,Is,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Bi.has(s),fixFunc:s=>qg(xC,s)},percentage:{expFunc:s=>Wc.has(s),fixFunc:s=>qg(_g,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Bi.has(u))?!0:Wc.has(s),fixFunc:s=>qg(_g,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(Se.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?kV(s):[];s.walkRules(a,u=>{let c=be(u),d=xe(c,r,u);d&&d.each(p=>{let m=wV(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),g=()=>{v.value=b,u.selector=d.toString()};P({message:Wg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Is,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Os.ruleName=Is,Os.messages=Wg,Os.meta=kC,a3=Os});function SV(e){return!eh(e)}var CV=y(()=>{th()}),s3={};A(s3,{default:()=>l3});var js,Ug,SC,Ts,l3,zV=y(()=>{q(),J(),V(),CV(),I(),j(),D(),js="keyframes-name-pattern",Ug=O(js,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),SC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ts=e=>(t,r)=>{if(!T(r,js,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.keyframesName,i=>{let o=i.params;if(!SV(o)||n.test(o))return;let a=je(i),s=a+o.length;P({index:a,endIndex:s,message:Ug.expected,messageArgs:[o,e],node:i,ruleName:js,result:r})})},Ts.ruleName=js,Ts.messages=Ug,Ts.meta=SC,l3=Ts}),u3={};A(u3,{default:()=>c3});var Vg,Ds,Qg,CC,Ls,c3,AV=y(()=>{Vg=X(ue(),1),V(),q(),J(),I(),j(),D(),Ds="layer-name-pattern",Qg=O(Ds,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),CC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ls=e=>(t,r)=>{if(!T(r,Ds,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.layerName,o=>{let{params:a}=o;a&&(0,Vg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(Se.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,Vg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=je(l)+s,c=u+a.length;P({message:Qg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:Ds,result:r})}},Ls.ruleName=Ds,Ls.messages=Qg,Ls.meta=CC,c3=Ls});function NV(e){return e.type==="function"&&io.has(e.value.toLowerCase())}var EV=y(()=>{Ir()}),d3={};A(d3,{default:()=>p3});function PV({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function IV(e){return e.toLowerCase()==="line-height"}function OV(e){return e.toLowerCase()==="flex"}function jV(e){return qi.has(e.toLowerCase())}function TV(e){return e.toLowerCase()==="fr"}function DV(e){return Number.parseFloat(e)===0}function LV(e){return e===""}var Fp,Fs,Yg,zC,Ms,p3,FV=y(()=>{Fp=X(ue(),1),J(),me(),q(),lt(),We(),pr(),EV(),et(),ct(),oo(),V(),K(),I(),j(),MM(),gt(),D(),Fs="length-zero-no-unit",Yg=O(Fs,{rejected:"Disallowed unit"}),zC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Ms=(e,t)=>(r,n)=>{if(!T(n,Fs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(NV(u)||Nn(u)&&F(t,"ignoreFunctions",d))return!1;if(!En(u))return;let m=Fp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!DV(v)||LV(h)||!jV(h)||TV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":FM(s,c.toString());break;case"decl":ft(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Yg.rejected,messageArgs:[],node:s,result:n,ruleName:Fs,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||F(t,"ignorePreludeOfAtRules",s.name))return;let l=je(s),u=(0,Fp.default)(st(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!ut(s)||IV(l)||OV(l)||F(t,"ignore","custom-properties")&&yt(l))return;let c=ne(s),d=(0,Fp.default)(qe(s));d.walk((p,m,v)=>{if(!PV(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Ms.ruleName=Fs,Ms.messages=Yg,Ms.meta=zC,p3=Ms}),m3={};A(m3,{default:()=>f3});function MV(e,t){let r=Number.parseFloat(e);return Mv.has(t)?`${r}%`:(bm.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${h3(r,e)}%`)}function RV(e,t){let r=Number.parseFloat(e);return bm.has(t)?(r/=100,`${h3(r,e)}`):`${r}`}function h3(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function $V({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Gg,Rs,Kg,AC,$s,f3,BV=y(()=>{Gg=X(ue(),1),Ir(),J(),We(),_e(),V(),I(),j(),gt(),D(),Rs="lightness-notation",Kg=O(Rs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),AC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},$s=e=>(t,r)=>{T(r,Rs,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Gg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!jw.has(a))return;let s=$V(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Gg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?MV(l,a):RV(l,a),m=ne(n),v=()=>{s.value=p,ft(n,i.toString())};P({message:Kg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Rs,fix:{apply:v,node:n}})})})},$s.ruleName=Rs,$s.messages=Kg,$s.meta=AC,f3=$s}),g3={};A(g3,{default:()=>b3});function NC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var EC,Bs,Hg,PC,qs,b3,qV=y(()=>{EC=X(dt(),1),me(),q(),ih(),de(),K(),I(),j(),D(),Bs="max-nesting-depth",Hg=O(Bs,{expected:e=>`Too deep nesting, maximum ${e}`}),PC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},qs=(e,t)=>{let r=o=>Oe(o)&&F(t,"ignoreAtRules",o.name),n=o=>it(o)&&F(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,Bs,{actual:e,possible:[Sr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,_],ignoreRules:[$,_],ignorePseudoClasses:[$,_]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Gc(l)||it(l)&&!ce(l)||i(l,0)>e&&P({ruleName:Bs,result:a,node:l,message:Hg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Oe(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,EC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!F(t,"ignoreRules",d)).every(d=>NC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&F(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=NC(d);return p?F(t,"ignorePseudoClasses",p):!1}):!1}return F(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!to(c))||F(t,"ignore","pseudo-classes")&&it(o)&&l(o.selector)||it(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},qs.ruleName=Bs,qs.messages=Hg,qs.meta=PC,b3=qs});function v3(e){return!!(le(e)&&Ae(e.value)||He(e)&&O3.has(e.getName().toLowerCase()))}function WV(e){return le(e)&&Ee(e.value)}function Td(e){return le(e)&&Ye(e.value)}function _V(e){return He(e)&&e.getName().toLowerCase()==="env"}function jc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(!Td(n)||t!==-1)return!1;t=r}}return t!==-1&&new Wk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function UV(e){let t=jc(e);return t===!1?t:new _k(t)}function Sc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Ie.Whitespace&&o.type!==Ie.Comment){if(r!==-1)return!1;if(v3(o)){let a=y3(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(_V(o))r=i,n=i;else if(WV(o))r=i,n=i;else{if(t||!Td(o))return!1;r=i,n=i}}}return r!==-1&&new Uk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function y3(e){let t=-1,r=-1,n=VV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!It(o))return-1}return[t,r]}function VV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!It(i)){if(le(i)){let o=i.value;if(qt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!v3(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function QV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Ie.Token){let l=s.value;if(mF(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=jc(t);if(i===!1)return!1;let o=Sc(r);return o!==!1&&new Vk(i,n,o)}function YV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Ie.Token){let i=n.value;if(qt(i)){if(i[4].value===Xr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function Pi(e){if(e.length!==1&&e.length!==2||!qt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Xr.EQ:return Xr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!qt(e[1])||e[1][4].value!==Xr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function GV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Ie.Token){let m=p.value;if(qt(m)){let v=YV(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=jc(d);if(m){let h=Sc(p,!0);return!!h&&new $h(m,n,h)}let v=jc(p);if(v){let h=Sc(d,!0);return!!h&&new Qk(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=Sc(o,!0),u=jc(a),c=Sc(s,!0);if(!l||!u||!c)return!1;{let d=Pi(n);if(d===!1||d===Xr.EQ)return!1;let p=Pi(i);if(p===!1||p===Xr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new Yk(u,l,n,c,i)}function w3(e,t=[],r=[]){if(!lo(e.startToken))return!1;let n=UV(e.value);if(n!==!1)return new Tc(n,t,r);let i=QV(e.value);if(i!==!1)return new Tc(i,t,r);let o=GV(e.value);return o!==!1&&new Tc(o,t,r)}function IC(e){if(!Ye(e))return!1;switch(e[4].value.toLowerCase()){case Oi.Not:return Oi.Not;case Oi.Only:return Oi.Only;default:return!1}}function KV(e){{let t=Bk(e);if(t!==!1)return new am(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!id(l)&&!Ik(l)){if(le(l)){let u=l.value;if(t===-1&&Ye(u)&&IC(u)){t=s;continue}if(r===-1&&Ye(u)&&!IC(u)){r=s;continue}if(n===-1&&Ye(u)&&Gk.test(u[4].value)){if(n=s,OC(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=OC(e.slice(Math.max(t,r,n)+1));return a===!1?new sd(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new sd(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function HV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=XV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new I3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function k3(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=JV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new P3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function Bk(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=HV(e);if(n!==!1)return new xr(n);let i=x3(e);return i!==!1&&new xr(i)}function OC(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=x3(e);return n!==!1&&new xr(n)}function x3(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Ie.Whitespace&&l.type!==Ie.Comment){if(!Dr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!lo(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=w3(r,n,i);if(o!==!1)return new Hr(o);let a=Bk(r.value);return a!==!1?new Hr(a,n,i):new Hr(new Rh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function Dd(e){if(!lo(e.startToken))return!1;let t=w3(e,[e.startToken],[e.endToken]);if(t!==!1)return new Hr(t);let r=Bk(e.value);return r!==!1?new Hr(r,[e.startToken],[e.endToken]):new Hr(new Rh(e))}function S3(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Ie.Whitespace&&i.type!==Ie.Comment){if(Td(i)){let o=i.value;if(D3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(i)){i.normalize();let o=Dd(i);if(o===!1)return!1;r=new j3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function XV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(L3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new T3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function JV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(Gk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new E3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function Ld(e,t){let r=kF(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=KV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new qk(r[i]):o}).filter(n=>!!n)}function ZV(e,t){return Ld(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function eQ(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Et(e[o])){if(Ye(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Et(n[o])){if(Ye(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new Uy(r,null,n):new Uy(r,Ld(Q8(n),t))}function tQ(e,t){return eQ(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function C3(e){return Rh.isGeneralEnclosed(e)}function rQ(e){return _k.isMediaFeatureBoolean(e)}function z3(e){return Uk.isMediaFeatureValue(e)}function Ii(e){return Vk.isMediaFeaturePlain(e)}function Gm(e){return A3(e)||N3(e)||nQ(e)}function A3(e){return $h.isMediaFeatureRangeNameValue(e)}function N3(e){return Qk.isMediaFeatureRangeValueName(e)}function nQ(e){return Yk.isMediaFeatureRangeValueNameValue(e)}function Ln(e){return Tc.isMediaFeature(e)}function iQ(e){return sd.isMediaQueryWithType(e)}function Fn(e){return qk.isMediaQueryInvalid(e)}var se,xr,Hr,sd,am,qk,Rh,E3,P3,I3,O3,Wk,_k,Uk,Vk,or,ar,Xr,Oi,$h,Qk,Yk,Tc,j3,T3,D3,L3,Gk,Uy,jC,Xt=y(()=>{Ct(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(se||(se={})),xr=class Vy{constructor(t){U(this,"type",se.MediaCondition);U(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return Vy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Vy&&t.type===se.MediaCondition}},Hr=class Qy{constructor(t,r=[],n=[]){U(this,"type",se.MediaInParens);U(this,"media");U(this,"before");U(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Qy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Qy&&t.type===se.MediaInParens}},sd=class gn{constructor(t,r,n,i){U(this,"type",se.MediaQueryWithType);U(this,"modifier");U(this,"mediaType");U(this,"and");U(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Ye(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]]),new am(this.media)]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]]),...new am(this.media).negateQuery()]:t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]])]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Ye(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return gn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof gn&&t.type===se.MediaQueryWithType}},am=class sm{constructor(t){U(this,"type",se.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new sm(new xr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new xr(new Hr(t,[[z.Whitespace," ",-1,-1,void 0],[z.OpenParen,"(",-1,-1,void 0]],[[z.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[z.Whitespace," ",-1,-1,void 0])),[new sd([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,"all",-1,-1,{value:"all"}],[z.Whitespace," ",-1,-1,void 0]],[[z.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 sm.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof sm&&t.type===se.MediaQueryWithoutType}},qk=class lm{constructor(t){U(this,"type",se.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new lm(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=Ei(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return lm.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof lm&&t.type===se.MediaQueryInvalid}},Rh=class Yy{constructor(t){U(this,"type",se.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Et(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Yy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Yy&&t.type===se.GeneralEnclosed}},E3=class Gy{constructor(t,r){U(this,"type",se.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Et(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Gy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Gy&&t.type===se.MediaAnd}},P3=class Ky{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithAnd);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return Ky.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Ky&&t.type===se.MediaConditionListWithAnd}},I3=class Hy{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithOr);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Hy.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Hy&&t.type===se.MediaConditionListWithOr}},O3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),Wk=class Xy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureName);U(this,"name");U(this,"before");U(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Xy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Xy&&t.type===se.MediaFeatureName}},_k=class Jy{constructor(t){U(this,"type",se.MediaFeatureBoolean);U(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Jy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Jy&&t.type===se.MediaFeatureBoolean}},Uk=class Zy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureValue);U(this,"value");U(this,"before");U(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ei(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Zy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Zy&&t.type===se.MediaFeatureValue}},Vk=class ew{constructor(t,r,n){U(this,"type",se.MediaFeaturePlain);U(this,"name");U(this,"colon");U(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return ew.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof ew&&t.type===se.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Xr||(Xr={})),$h=class tw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return tw.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof tw&&t.type===se.MediaFeatureRangeNameValue}},Qk=class rw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return rw.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof rw&&t.type===se.MediaFeatureRangeValueName}},Yk=class nw{constructor(t,r,n,i,o){U(this,"type",se.MediaFeatureRangeValueNameValue);U(this,"name");U(this,"valueOne");U(this,"valueOneOperator");U(this,"valueTwo");U(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return Pi(this.valueOneOperator)}valueTwoOperatorKind(){return Pi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return nw.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof nw&&t.type===se.MediaFeatureRangeValueNameValue}},Tc=class iw{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeature);U(this,"feature");U(this,"before");U(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Et(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return iw.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof iw&&t.type===se.MediaFeature}},j3=class ow{constructor(t,r){U(this,"type",se.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Et(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return ow.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof ow&&t.type===se.MediaNot}},T3=class aw{constructor(t,r){U(this,"type",se.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return aw.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof aw&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Oi||(Oi={})),D3=/^not$/i,L3=/^or$/i,Gk=/^and$/i,Uy=class sw{constructor(t,r,n){U(this,"type",se.CustomMedia);U(this,"name");U(this,"mediaQueryList",null);U(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([z.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return sw.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof sw&&t.type===se.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(jC||(jC={}))});function Kk(e,t){let r=St({css:e});return kF(r).flatMap(n=>n.flatMap(i=>{if(!Dr(i)||i.startToken[0]!==z.OpenParen)return[];let o=i.tokens();return Ld(o,{preserveInvalidMediaQueries:!0}).filter(a=>!Fn(a))})).forEach(n=>{n.walk(({node:i})=>{if(Ln(i)){let o=i.getNameToken();if(o[0]!==z.Ident)return;t(o)}C3(i)&&oQ(i).forEach((o,a,s)=>{if(o[0]!==z.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===z.Colon||l&&l[0]===z.Delim&&lw.test(l[4].value)||u&&u[0]===z.Delim&&lw.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function oQ(e){let t=e.value.value;if(rd(t)||t.length===0||rd(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;TC(n)||a===z.Ident&&TC(o[i-1])||DC(n)||a===z.Ident&&DC(o[i+1])||r.push(n.value)}),r}function TC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="$"}function DC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="."}var lw,Hk=y(()=>{rt(),Xt(),Ct(),lw=/[<>=]/});function Zi(e){return e.startsWith("--")}var Fd=y(()=>{}),F3={};A(F3,{default:()=>M3});var Ws,Xg,LC,Zn,M3,aQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Le(),I(),j(),D(),Ws="media-feature-name-allowed-list",Xg=O(Ws,{rejected:e=>`Disallowed media feature name "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Zn=e=>(t,r)=>{T(r,Ws,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Kk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||Pe(s,e))return;let l=je(n);P({message:Xg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ws,result:r})})})},Zn.primaryOptionArray=!0,Zn.ruleName=Ws,Zn.messages=Xg,Zn.meta=LC,M3=Zn}),R3={};A(R3,{default:()=>$3});var _s,Jg,FC,ei,$3,sQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Le(),I(),j(),D(),_s="media-feature-name-disallowed-list",Jg=O(_s,{rejected:e=>`Disallowed media feature name "${e}"`}),FC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},ei=e=>(t,r)=>{T(r,_s,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Kk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||!Pe(s,e))return;let l=je(n);P({message:Jg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:_s,result:r})})})},ei.primaryOptionArray=!0,ei.ruleName=_s,ei.messages=Jg,ei.meta=FC,$3=ei}),Zg,Dc,MC,RC,Xk,B3,um,Bh=y(()=>{ro(),Zg=new Set(["device-aspect-ratio","device-height","device-width"]),Dc=Ce(Zg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),MC=new Set([...Dc].flatMap(e=>[`min-${e}`,`max-${e}`])),RC=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"]),Xk=Ce(Zg,Dc,MC,RC),B3=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),um=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),q3={};A(q3,{default:()=>W3});var Us,eb,$C,Vs,W3,lQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Bh(),K(),I(),j(),D(),Dt(),Us="media-feature-name-no-unknown",eb=O(Us,{rejected:e=>`Unknown media feature name "${e}"`}),$C={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Vs=(e,t)=>(r,n)=>{T(n,Us,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{Kk(st(i),o=>{let[,,a,s,{value:l}]=o;if(Zi(l)||F(t,"ignoreMediaFeatureNames",l)||Xe.prefix(l)||Xk.has(l.toLowerCase()))return;let u=je(i);P({message:eb.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Us,result:n})})})},Vs.ruleName=Us,Vs.messages=eb,Vs.meta=$C,W3=Vs}),_3={};A(_3,{default:()=>U3});var Qs,tb,BC,qC,Ys,U3,uQ=y(()=>{q(),V(),bd(),K(),I(),j(),D(),Qs="media-feature-name-no-vendor-prefix",tb=O(Qs,{rejected:"Vendor-prefixed media feature name"}),BC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},qC=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Ys=(e,t)=>(r,n)=>{T(n,Qs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(Se.mediaName,i=>{let o=i.params;if(!zr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${qC.join("|")}`,"gi"));if(a)for(let s of a){if(F(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:tb.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Qs,fix:{apply:l,node:i}})}})},Ys.ruleName=Qs,Ys.messages=tb,Ys.meta=BC,U3=Ys});function Mn(e){return ZV(st(e),{preserveInvalidMediaQueries:!0})}var Rn=y(()=>{Xt(),lt()}),V3={};A(V3,{default:()=>Q3});var Gs,rb,WC,Ks,Q3,cQ=y(()=>{Xt(),rt(),Ct(),V(),J(),q(),Le(),Rn(),I(),j(),Ht(),D(),Gs="media-feature-name-unit-allowed-list",rb=O(Gs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),WC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ks=e=>(t,r)=>{if(!T(r,Gs,{actual:e,possible:[Bt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(Se.mediaName,o=>{Q.dimension.test(o.params)&&Mn(o).forEach(a=>{if(Fn(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(Ii(l)||Gm(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!le(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==z.Dimension||d.includes(h.unit.toLowerCase()))return;let b=je(o);P({message:rb.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:Gs})},s)})})},Ks.ruleName=Gs,Ks.messages=rb,Ks.meta=WC,Q3=Ks}),Y3={};A(Y3,{default:()=>G3});var Hs,nb,_C,Xs,G3,dQ=y(()=>{Xt(),Ct(),q(),J(),V(),Le(),K(),Rn(),I(),j(),Ht(),D(),Hs="media-feature-name-value-allowed-list",nb=O(Hs,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),_C={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Xs=e=>(t,r)=>{T(r,Hs,{actual:e,possible:[Bt($,_)]})&&t.walkAtRules(Se.mediaName,n=>{Mn(n).forEach(i=>{if(Fn(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Ln(a)){s.mediaFeatureName=a.getName();return}if(!z3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||F(e,d,c))return;let p=je(n),[m,v]=Wt(u);P({index:p+m,endIndex:p+v+1,message:nb.rejected,messageArgs:[l,c],node:n,ruleName:Hs,result:r})},o)})})},Xs.ruleName=Hs,Xs.messages=nb,Xs.meta=_C,G3=Xs}),K3={};A(K3,{default:()=>H3});var Js,ib,UC,VC,Zs,H3,pQ=y(()=>{rt(),Ct(),Xt(),oo(),Bh(),Ir(),q(),J(),V(),FF(),Rn(),I(),j(),Ht(),D(),Dt(),Js="media-feature-name-value-no-unknown",ib=O(Js,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),UC=/^(?:min|max)-/i,VC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Zs=(e,t)=>(r,n)=>{if(!T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Bt($,_)]},optional:!0}))return;let i=(u,c)=>LF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===z.Ident){let w=Xe.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=B3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=um.get(g);if(!f){d(u,m,v,h);return}if(p===z.Number){if(b.type===re.Integer){if(f.has("integer")||f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||b.value===1&&f.has("mq-boolean"))return;d(u,m,v,h);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(u,m,v,h);return}if(p===z.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&Rv.has(w)||f.has("length")&&qi.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=um.get(u.mediaFeatureName);m&&io.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...Wt(c))}function s(u,c,d){let p=um.get(u.mediaFeatureName);p&&p.has("ratio")&&y3(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...Wt(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(He(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(Se.mediaName,u=>{let c=(p,m,v,h)=>{let b=je(u);P({message:ib.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Js,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Mn(u).forEach(p=>{Fn(p)||p.walk(({node:m,state:v})=>{if(v){if(Ln(m)){let h=m.getName(),b=Xe.unprefixed(h.toLowerCase());if(!Xk.has(b))return;b=b.replace(UC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||z3(m)&&l(v,m,c)}},d)})})},Zs.ruleName=Js,Zs.messages=ib,Zs.meta=VC,H3=Zs}),X3={};A(X3,{default:()=>J3});var el,ob,QC,tl,J3,mQ=y(()=>{Xt(),Ct(),rt(),J(),V(),K(),Rn(),Bh(),I(),j(),D(),el="media-feature-range-notation",ob=O(el,{expected:e=>`Expected "${e}" media feature range notation`}),QC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},tl=(e,t)=>(r,n)=>{if(!T(n,el,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=F(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(Se.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Mn(a);s.forEach(l=>{Fn(l)||l.walk(({node:u,parent:c})=>{if(!Gm(u)&&!Ii(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!Dc.has(p))return;let m=e;if(i){let x=(A3(u)||N3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=Ii(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&Ii(u)||m==="context"&&Gm(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[z.Delim,">",-1,-1,{value:">"}],[z.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[z.Delim,"<",-1,-1,{value:"<"}],[z.Delim,"=",-1,-1,{value:"="}]]:w=[[z.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new $h(new Wk(new pe([z.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[z.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&Ii(u)&&Ln(c)?v({node:u,parent:c}):void 0,[b,g]=Wt(u),f=je(a);P({message:ob.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:el,fix:{apply:h,node:a}})})})})},tl.ruleName=el,tl.messages=ob,tl.meta=QC,J3=tl}),Z3={};A(Z3,{default:()=>eR});function YC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(He(n)&&(r=F(t,"ignoreFunctions",n.getName()),r))return!1}),r}var rl,ab,GC,sb,KC,nl,eR,hQ=y(()=>{Ct(),Xt(),q(),J(),V(),Fd(),K(),Rn(),Bh(),I(),j(),D(),rl="media-query-no-invalid",ab=O(rl,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),GC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},sb=/^(?:min|max)-/i,KC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},nl=(e,t)=>(r,n)=>{if(!T(n,rl,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(Se.mediaName,o=>{let a=je(o);Mn(o).forEach(s=>{if(Fn(s)){if(YC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(C3(l)){if(YC(s,t))return;i(o,a,l);return}if(Ii(l)){let c=l.getName();if(Zi(c)){i(o,a,u,"custom");return}return}if(Gm(l)){let c=l.getName().toLowerCase();if(Zi(c)){i(o,a,u,"custom");return}if(sb.test(c)){i(o,a,u,"min_max_in_range");return}if(!Dc.has(c)){i(o,a,u,"discrete");return}return}if(rQ(l)){let c=l.getName();sb.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Wt(s);P({message:ab.rejected,messageArgs:[s.toString(),l?GC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:rl,result:n})}},nl.ruleName=rl,nl.messages=ab,nl.meta=KC,eR=nl}),tR={};A(tR,{default:()=>rR});var il,lb,HC,ol,rR,fQ=y(()=>{V(),q(),J(),AN(),Xt(),et(),rt(),K(),Rn(),I(),j(),Ct(),D(),il="media-type-no-deprecated",lb=O(il,{rejected:e=>`Deprecated media type "${e}"`}),HC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},ol=(e,t)=>(r,n)=>{T(n,il,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||Mn(i).forEach(o=>{if(!iQ(o))return;let a=o.getMediaType();if(!qw.has(a.toLowerCase())||F(t,"ignoreMediaTypes",a))return;let s=je(i),[l,u]=Wt({tokens:()=>o.mediaType.filter(Ye)});P({message:lb.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:il,result:n})})})},ol.ruleName=il,ol.messages=lb,ol.meta=HC,rR=ol});function gQ(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)&&!Ew(o,a))return!1}return!0}function bQ(e){let t=new Set(e.flat());return t.delete("."),[...t]}function vQ(e){return bQ(e).filter(t=>!gQ(e,t))}var yQ=y(()=>{Pw()}),nR={};A(nR,{default:()=>iR});var XC,al,sl,JC,ll,iR,wQ=y(()=>{XC=X(ue(),1),q(),J(),yQ(),_e(),V(),I(),j(),D(),al="named-grid-areas-no-invalid",sl=O(al,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),JC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},ll=e=>(t,r)=>{T(r,al,{actual:e})&&t.walkDecls(dr.gridAreaNames,n=>{let{value:i}=n;if(!Be(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,XC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(sl.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(sl.expectedSameNumber,[],l.index,l.endIndex);return}let u=vQ(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));$e(p),c(sl.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ne(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:al})}})},ll.ruleName=al,ll.messages=sl,ll.meta=JC,iR=ll});function uw(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Cv(n))return!0;if("document"in n&&n.document instanceof rE&&Cv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var oR=y(()=>{gd(),me()}),aR={};A(aR,{default:()=>sR});function ZC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&F(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var ul,ub,e2,cl,sR,kQ=y(()=>{On(),V(),q(),J(),lt(),we(),oR(),et(),de(),K(),I(),j(),D(),ul="nesting-selector-no-missing-scoping-root",ub=O(ul,{rejected:"Missing scoping root"}),e2={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},cl=(e,t)=>(r,n)=>{if(!T(n,ul,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(uw(o)||!ce(o)||ZC(o,t))return;let a;try{a=qr(be(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(Se.scopeName,o=>{if(uw(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||ZC(o,t))return;let a;try{a=qr(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,je(o))});function i(o,a,s=0){Ni(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:ub.rejected,node:o,result:n,ruleName:ul,index:u,endIndex:c})}})}},cl.ruleName=ul,cl.messages=ub,cl.meta=e2,sR=cl});function Jk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function kn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(xQ(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Mp(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"&&SQ(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Lc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=Mp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Lc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Mp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=Mp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Lc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Mp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=kn(n,t);Jk(i,r)<0||(r=i)}),r}function xQ(e){return Lc.default.isPseudoElement(e)}function SQ(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Lc,lR=y(()=>{Lc=X(dt(),1)});function Zk(e){let t=e.parent;return t?Oe(t)?t:it(t)?Zk(t):null:null}var uR=y(()=>{me()});function cR(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=t2(e,n);return r.reduce((o,a)=>t2(o,a),i)}}}function t2(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var dR=y(()=>{});function Cc(e,t){let r=cw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,cw.set(e,r);let n=e.toString(),i=ki.get(n);if(i)return r.set(t,i),i;let o=CQ(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ki.size>=mR){let s=ki.keys().next().value;s!==void 0&&ki.delete(s)}return ki.set(n,a),a}function CQ(e){return i2(e),r2(e),e.walk(t=>{i2(t),r2(t)}),pR(e),e}function r2(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function pR(e){if(nr.default.isContainer(e)){if(e.each(pR),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=AQ(e.nodes))}}function n2(e){var t;return(t=hR.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function zQ(e,t){let r=n2(e)-n2(t);return r!==0?r:String(e).localeCompare(String(t))}function AQ(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(zQ)),t.flat()}function i2(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,cw,ki,mR,hR,fR=y(()=>{nr=X(dt(),1),cw=new WeakMap,ki=new Map,mR=1e4,hR=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function vn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function NQ(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...vn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...vn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>o2(a)-o2(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 o2(e){return sr.default.isPseudoElement(e)?dw.pseudoElement:dw[e.type]}function a2(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...vn(s)})):(s.prepend(sr.default.combinator({value:" ",...vn(s)})),s.prepend(sr.default.nesting({...vn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...s2(t,!0)):u.replaceWith(...s2(t)))});for(let u of l)NQ(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...vn(e)});return n.forEach(a=>{i.append(a)}),i}function s2(e,t=!1){if(t||!EQ(e.nodes)){let r=sr.default.pseudo({value:":is",...vn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function EQ(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,dw,PQ=y(()=>{sr=X(dt(),1),dw={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function ld(e,t){let r=mw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,mw.set(e,r);let n=xe(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=xe(":where(:scope)",t,s);continue}if(!it(s))continue;if(!ce(s))return[];let l=xe(be(s),t,s);if(!l)return[];i?i=a2(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:a2(pw.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:pw.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var pw,mw,qh=y(()=>{PQ(),me(),we(),de(),ze(),pw=X(dt(),1),mw=new WeakMap}),gR={};A(gR,{default:()=>vR});function IQ(e,t){if(e.nodes.length===0)return;e=Cc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||rh.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function bR(e){return e.nodes?e.some(t=>to(t)||Oe(t)&&bR(t)):!1}var dl,cb,l2,pl,vR,OQ=y(()=>{lR(),me(),uR(),zt(),de(),dR(),fR(),K(),Tt(),I(),qh(),j(),D(),dl="no-descending-specificity",cb=O(dl,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),l2={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},pl=(e,t)=>(r,n)=>{if(!T(n,dl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=F(t,"ignore","selectors-within-list"),o=cR();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!bR(s))return;let l=o.getContext(s,Zk(s));ld(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=IQ(s,n);if(!d)return;let p=kn(s),{selector:m,index:v,endIndex:h}=at(l),{selector:b}=at(s);b=b===m?"":b;let g={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},f=c.get(d);if(!f){c.set(d,[g]);return}for(let S of f)if(Jk(p,S.specificity)<0){P({ruleName:dl,result:n,node:u,message:cb.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},pl.ruleName=dl,pl.messages=cb,pl.meta=l2,vR=pl}),yR={};A(yR,{default:()=>wR});function Rp(e){return hw.default.stringify(e).replace(/\s/g,"")}function jQ(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(Rp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Rp(a));continue}}if(a.type==="div"&&a.value===","){n.push(Rp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Rp(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 hw,ml,db,u2,hl,wR,TQ=y(()=>{hw=X(ue(),1),V(),lt(),Ad(),I(),j(),D(),ml="no-duplicate-at-import-rules",db=O(ml,{rejected:e=>`Duplicate @import rule ${e}`}),u2={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},hl=e=>(t,r)=>{if(!T(r,ml,{actual:e}))return;let n={};t.walkAtRules(Se.importName,i=>{let[o,...a]=(0,hw.default)(st(i)).nodes;if(!o)return;let s=zd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=jQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:db.rejected,messageArgs:[s],node:i,result:r,ruleName:ml,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},hl.ruleName=ml,hl.messages=db,hl.meta=u2,wR=hl});function Md(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var Rd=y(()=>{me()}),kR={};A(kR,{default:()=>xR});var c2,fl,pb,d2,gl,xR,DQ=y(()=>{c2=X(dt(),1),q(),uR(),we(),zt(),Rd(),de(),dR(),fR(),K(),ze(),I(),qh(),j(),D(),fl="no-duplicate-selectors",pb=O(fl,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),d2={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},gl=(e,t)=>(r,n)=>{if(!T(n,fl,{actual:e},{actual:t,possible:{disallowInList:[cd],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=cR();function a(c,d,p,m,v){P({result:n,ruleName:fl,node:c,message:pb.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=xe(be(c),n,c))==null||p.each(m=>{var x,w,k,S,E,C;let v=Cc(m,n).string;if(F(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((C=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?C:1)-1});return}let{index:b,endIndex:g,selector:f}=at(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=ld(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=Cc(w,n).string;return F(t,"ignoreSelectors",k)}))return;let m=c2.default.root({nodes:p,value:""}),v=Cc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let b=be(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){ld(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,E,C,L,N;let b=Cc(h,n).string;if(F(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((E=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(L=(C=c.source)==null?void 0:C.start)==null?void 0:L.line)!=null?N:1)-1});return}let{index:f,endIndex:x,selector:w}=at(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Md(c)||!ce(c))return;let d=o.getContext(c,Zk(c));if(i){u(c,d);return}s(c),l(c,d)})},gl.ruleName=fl,gl.messages=pb,gl.meta=d2,xR=gl}),SR={};A(SR,{default:()=>CR});var bl,mb,p2,vl,CR,LQ=y(()=>{yd(),I(),j(),D(),bl="no-empty-source",mb=O(bl,{rejected:"Empty source"}),p2={url:"https://stylelint.io/user-guide/rules/no-empty-source"},vl=(e,t,r)=>(n,i)=>{var a;if(!T(i,bl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!ji(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:mb.rejected,messageArgs:[],node:n,result:i,ruleName:bl})},vl.ruleName=bl,vl.messages=mb,vl.meta=p2,CR=vl}),zR={};A(zR,{default:()=>AR});var ti,$p,m2,yl,AR,FQ=y(()=>{q(),we(),I(),j(),D(),ti="no-invalid-double-slash-comments",$p=O(ti,{rejected:"Invalid double-slash CSS comment"}),m2={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},yl=(e,t,r)=>(n,i)=>{T(i,ti,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:$p.rejected,messageArgs:[],node:o,result:i,ruleName:ti})}),n.walkRules(o=>{var u;let a=be(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),eo(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:$p.rejected,messageArgs:[],node:o,result:i,ruleName:ti,index:m,endIndex:h})}l+=c.length+1}}))},yl.ruleName=ti,yl.messages=$p,yl.meta=m2,AR=yl}),NR={};A(NR,{default:()=>ER});var wl,hb,h2,kl,ER,MQ=y(()=>{q(),me(),et(),de(),K(),I(),j(),D(),wl="no-invalid-position-at-import-rule",hb=O(wl,{rejected:"Invalid position for @import rule"}),h2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},kl=(e,t)=>(r,n)=>{if(!T(n,wl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Oe(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!F(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:hb.rejected,messageArgs:[],node:o,result:n,ruleName:wl,word:o.toString()})})},kl.ruleName=wl,kl.messages=hb,kl.meta=h2,ER=kl}),PR={};A(PR,{default:()=>IR});var xl,fb,f2,Sl,IR,RQ=y(()=>{no(),me(),q(),Ed(),oR(),ct(),K(),I(),j(),D(),xl="no-invalid-position-declaration",fb=O(xl,{rejected:"Invalid position for declaration"}),f2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},Sl=(e,t)=>(r,n)=>{if(!T(n,xl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=a=>Oe(a)&&F(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&YA.has(a.name.toLowerCase());r.walkDecls(a=>{if(uw(a,{inline:!0})||!ut(a))return;let{parent:s}=a;if(s&&!(it(s)||o(s))){if(Oe(s)){let l=s.name.toLowerCase();if($c.has(l)){if(Ji(a,u=>it(u)||o(u)||i(u)))return}else return}P({message:fb.rejected,messageArgs:[],node:a,result:n,ruleName:xl})}})},Sl.ruleName=xl,Sl.messages=fb,Sl.meta=f2,IR=Sl}),OR={};A(OR,{default:()=>RR});function Cl(){return 0}function $Q(){return 1}function jR(e){return e.replace(gw," ")}function TR(e,t){if(!Km.test(e))return e;let r=(0,DR.default)(e);return r.walk(n=>{t(n)&&(n.value=jR(n.value))}),r.toString()}function BQ(e){return TR(e,t=>t.type==="string")}function gb(e,t){if(!e)return;let r=t?MR.test(t.toLowerCase()):!1;return TR(e,n=>n.type==="string"&&!r||n.type==="comment")}function qQ(e){return Km.test(e)?(0,fw.default)(t=>{t.walk(r=>{r.value&&(LR(r)||FR(r))&&(r.value=jR(r.value))})}).processSync(e):e}var fw,DR,LR,FR,zl,bb,g2,b2,vb,Km,gw,v2,MR,y2,Al,RR,WQ=y(()=>{fw=X(dt(),1),DR=X(ue(),1),J(),lt(),We(),we(),I(),j(),D(),{isAttribute:LR,isComment:FR}=fw.default,zl="no-irregular-whitespace",bb=O(zl,{rejected:"Irregular whitespace"}),g2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},b2=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],vb=b2.join(""),Km=new RegExp(`[${vb}]`),gw=new RegExp(`[${vb}]+`,"g"),v2=["grid","grid-template","grid-template-areas"],MR=new RegExp(`^(?:${v2.join("|")})$`,"i"),y2=e=>Array.from(e.matchAll(gw)).map(t=>({index:t.index,length:t[0].length})),Al=e=>(t,r)=>{var o;if(!T(r,zl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Km.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=y2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:zl,result:r,message:bb.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,Cl),i(a,a.name,$Q),i(a,a.raws.afterName,kA),i(a,BQ(st(a)),je),i(a,a.raws.between,X6),i(a,a.raws.after,H6)}),t.walkRules(a=>{i(a,a.raws.before,Cl),i(a,qQ(be(a)),Cl),i(a,a.raws.between,J6),i(a,a.raws.after,Z6)}),t.walkDecls(a=>{i(a,a.raws.before,Cl),i(a,gb(a.prop),Cl),i(a,gb(a.raws.between),xA),i(a,gb(qe(a),a.prop),ne)})},Al.ruleName=zl,Al.messages=bb,Al.meta=g2,RR=Al});function _Q(e){let t=[],r=(0,$R.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Be(a)){i=!0,t.length=0;return}if(Pd(a)||$w.has(a))return;let{unit:s}=jn(o);s||s===""||t.push(o)}),t}var $R,UQ=y(()=>{$R=X(ue(),1),Ke(),Tn(),_e(),Id()}),BR={};A(BR,{default:()=>qR});var Nl,yb,w2,El,qR,VQ=y(()=>{Ke(),V(),J(),UQ(),I(),j(),D(),Nl="no-unknown-animations",yb=O(Nl,{rejected:e=>`Unknown animation "${e}"`}),w2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},El=e=>(t,r)=>{if(!T(r,Nl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=_Q(o.value);if(a.length===0)return;for(let s of a){if(Vc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ne(o);P({result:r,ruleName:Nl,message:yb.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},El.ruleName=Nl,El.messages=yb,El.meta=w2,qR=El});function QQ(e){return tQ(st(e),{preserveInvalidMediaQueries:!0})}var YQ=y(()=>{Xt(),lt()}),WR={};A(WR,{default:()=>_R});var Pl,wb,k2,Il,_R,GQ=y(()=>{V(),Xt(),J(),Fd(),YQ(),Rn(),I(),j(),D(),Pl="no-unknown-custom-media",wb=O(Pl,{rejected:e=>`Unknown custom media query "${e}"`}),k2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Il=e=>(t,r)=>{if(!T(r,Pl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.customMediaName,a=>{let s=QQ(a);s&&n.add(s.getName())});t.walkAtRules(Se.mediaName,o=>{Q.customProperty.test(o.params)&&Mn(o).forEach(a=>{Fn(a)||a.walk(({node:s})=>{if(!Ln(s))return;let[,l,u,c]=s.getNameToken();if(!Zi(l)||n.has(l))return;let d=je(o),p=d+u,m=d+c+1;P({message:wb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:Pl})})})})},Il.ruleName=Pl,Il.messages=wb,Il.meta=k2,_R=Il}),UR={};A(UR,{default:()=>VR});var x2,Ol,kb,S2,jl,VR,KQ=y(()=>{x2=X(ue(),1),V(),J(),Cd(),I(),j(),D(),Ol="no-unknown-custom-properties",kb=O(Ol,{rejected:e=>`Unknown custom property "${e}"`}),S2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},jl=e=>(t,r)=>{if(!T(r,Ol,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(dr.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,x2.default)(a).walk(s=>{if(!ao(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ne(o);P({result:r,ruleName:Ol,message:kb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},jl.ruleName=Ol,jl.messages=kb,jl.meta=S2,VR=jl}),QR={};A(QR,{default:()=>YR});var Tl,xb,C2,Dl,YR,HQ=y(()=>{rt(),Ct(),J(),q(),lt(),We(),Tr(),Le(),K(),I(),j(),Nk(),D(),Tl="number-max-precision",xb=O(Tl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),C2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Dl=(e,t)=>(r,n)=>{var l;if(!T(n,Tl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[Wm(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,je,st(u))}),r.walkDecls(u=>{o(u,ne,qe(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(F(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};Dn(uo(St({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(He(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!le(d))return;let[m,v,h,b,g]=d.value;if(m!==z.Number&&m!==z.Dimension&&m!==z.Percentage)return;let f=0;if(m===z.Dimension){let k=g.unit;if(f=k.length,F(t,"ignoreUnits",k))return}else if(m===z.Percentage&&(f=1,F(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Tl,node:u,index:w+h,endIndex:w+(b+1)-f,message:xb.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},Dl.ruleName=Tl,Dl.messages=xb,Dl.meta=C2,YR=Dl}),GR={};A(GR,{default:()=>KR});var Ll,Sb,z2,ri,KR,XQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Ll="property-allowed-list",Sb=O(Ll,{rejected:e=>`Disallowed property "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ri=e=>(t,r)=>{T(r,Ll,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&(Pe(i,e)||P({message:Sb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Ll}))})},ri.primaryOptionArray=!0,ri.ruleName=Ll,ri.messages=Sb,ri.meta=z2,KR=ri}),HR={};A(HR,{default:()=>XR});var Fl,Cb,A2,ni,XR,JQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Fl="property-disallowed-list",Cb=O(Fl,{rejected:e=>`Disallowed property "${e}"`}),A2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ni=e=>(t,r)=>{T(r,Fl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&Pe(i,e)&&P({message:Cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Fl})})},ni.primaryOptionArray=!0,ni.ruleName=Fl,ni.messages=Cb,ni.meta=A2,XR=ni});function Hm(e){let t=JR.get(e);return $e(t,`Invalid direction flow: ${e}`),t}var JR,ZR=y(()=>{q(),JR=new Map([["top-to-bottom",["top","bottom"]],["bottom-to-top",["bottom","top"]],["left-to-right",["left","right"]],["right-to-left",["right","left"]]])}),e$={};A(e$,{default:()=>t$});function N2(e){return Oe(e)&&e.name.toLowerCase()==="page"}function ZQ(e){let[t,r]=Hm(e.block),[n,i]=Hm(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of Bc){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var E2,dn,Ml,P2,Rl,t$,eY=y(()=>{E2=X(ue(),1),Pr(),me(),q(),J(),ZR(),Ed(),We(),pr(),jr(),K(),V(),I(),j(),gt(),D(),dn="property-layout-mappings",Ml=O(dn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),P2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Rl=(e,t)=>(r,n)=>{var u,c;if(!T(n,dn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?ZQ({block:o,inline:a}):null;function l(d,p,m,v,h){P({message:Ml.rejected,messageArgs:[d,p],node:m,result:n,ruleName:dn,index:v,endIndex:h})}r.walkDecls(d=>{let{prop:p}=d;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p))return;let m=0,v=m+p.length;if(e==="physical"){if(!Pv.has(p)||Ji(d,N2))return;l("flow-relative",p,d,m,v)}else{if(!Bc.has(p)||Ji(d,N2))return;if(!s){l("physical",p,d,m,v);return}let h=s.get(p);if(!h)return;P({message:Ml.expected,messageArgs:[p,h],index:m,endIndex:v,node:d,result:n,ruleName:dn,fix:{apply:()=>{d.prop=h},node:d}})}}),r.walkDecls(dr.propertyAcceptingNames,d=>{if(F(t,"ignoreProperties",d.prop))return;let p=(0,E2.default)(qe(d)),m=ne(d);p.walk(v=>{if(!En(v))return;let{value:h,sourceIndex:b}=v;if(F(t,"ignoreProperties",h))return;let g=m+b,f=g+h.length;if(e==="physical"){if(!Pv.has(h))return;l("flow-relative",h,d,g,f)}else{if(!Bc.has(h))return;if(!s){l("physical",h,d,g,f);return}let x=s.get(h);if(!x)return;P({message:Ml.expected,messageArgs:[h,x],node:d,result:n,ruleName:dn,index:g,endIndex:f,fix:{apply:()=>{v.value=x,ft(d,p.toString())},node:d}})}})})},Rl.ruleName=dn,Rl.messages=Ml,Rl.meta=P2,t$=Rl}),r$={};A(r$,{default:()=>n$});var I2,$l,Bp,O2,j2,T2,Bl,n$,tY=y(()=>{I2=X(ue(),1),q(),We(),ct(),me(),K(),I(),j(),gt(),D(),$l="property-no-deprecated",Bp=O($l,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),O2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},j2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},T2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},Bl=(e,t)=>(r,n)=>{T(n,$l,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ut(i))return;let{prop:o,value:a}=i;if(F(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=T2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=Bp.expected,d=[o,l],u=()=>{i.prop=l;let p=j2[s];if(p){let m=(0,I2.default)(qe(i));m.walk(v=>{if(!En(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),ft(i,m.toString())}}):(c=Bp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:$l,fix:{apply:u,node:i}})})},Bl.ruleName=$l,Bl.messages=Bp,Bl.meta=O2,n$=Bl}),i$={};A(i$,{default:()=>o$});var ql,zb,D2,Wl,o$,rY=y(()=>{me(),q(),Pr(),Ed(),pr(),DF(),ct(),jr(),K(),I(),j(),D(),Dt(),ql="property-no-unknown",zb=O(ql,{rejected:e=>`Unknown property "${e}"`}),D2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Wl=(e,t)=>(r,n)=>{if(!T(n,ql,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[cd],ignoreSelectors:[$,_],ignoreAtRules:[$,_]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!ut(s)||TF(s)||!Or(l)||yt(l)||!i&&Xe.prefix(l)||F(t,"ignoreProperties",l))return;let u=s.parent;u&&it(u)&&F(t,"ignoreSelectors",u.selector)||Ji(s,c=>Oe(c)&&F(t,"ignoreAtRules",c.name))||o.getProperty(l)||nN.has(l.toLowerCase())||i&&iN.has(l.toLowerCase())||P({message:zb.rejected,messageArgs:[l],node:s,result:n,ruleName:ql,word:l})}},Wl.ruleName=ql,Wl.messages=zb,Wl.meta=D2,o$=Wl}),a$={};A(a$,{default:()=>s$});var _l,Ab,L2,Ul,s$,nY=y(()=>{q(),Ke(),bd(),K(),I(),j(),D(),_l="property-no-vendor-prefix",Ab=O(_l,{rejected:e=>`Vendor-prefixed property "${e}"`}),L2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Ul=(e,t)=>(r,n)=>{T(n,_l,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(F(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!zr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=zr.unprefix(i.prop)};P({message:Ab.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:_l,fix:{apply:a,node:i}})})},Ul.ruleName=_l,Ul.messages=Ab,Ul.meta=L2,s$=Ul}),l$={};A(l$,{default:()=>c$});function iY(e){return!!Ji(e,({type:t})=>t==="rule")}function oY(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function aY(e){let t=e.nodes.find(r=>!_h(r));return Wh(t)}function sY(e){let t=e.nodes.find(r=>!_h(r)&&!ex(r));return Wh(t)}function lY(e,t,r){let n=e.nodes.find(i=>!_h(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,u$({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function uY(e,t,r){let n=e.nodes.find(ex),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(Wh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var F2,Vl,Nb,M2,Wh,_h,ex,R2,u$,Ql,c$,cY=y(()=>{F2=X(dt(),1),Ed(),we(),de(),ze(),I(),j(),D(),Vl="relative-selector-nesting-notation",Nb=O(Vl,{expected:e=>`Expected ${e} nesting notation`}),M2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:Wh,isComment:_h,isNesting:ex,isSelector:R2,nesting:u$}=F2.default,Ql=e=>(t,r)=>{T(r,Vl,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!iY(n))return;let i=xe(be(n),r,n);i&&i.each(o=>{if(!R2(o))return;let a=aY(o),s;if(e==="explicit"){if(oY(o)&&!a)return;s=()=>lY(o,n,i)}else{if(a||!sY(o))return;s=()=>uY(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:Nb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Vl,result:r,fix:{apply:s,node:n}})})})},Ql.ruleName=Vl,Ql.messages=Nb,Ql.meta=M2,c$=Ql});function dY(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!Ww(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var pY=y(()=>{_w()}),d$={};A(d$,{default:()=>p$});function $2(e){let t=$r(e);return t!=null&&t.type==="rule"}var Yl,qp,B2,Gl,p$,mY=y(()=>{pd(),Pn(),hd(),pY(),fd(),ah(),ph(),de(),K(),I(),j(),D(),Yl="rule-empty-line-before",qp=O(Yl,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),B2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Gl=(e,t,r)=>(n,i)=>{if(!T(i,Yl,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!ce(a)||oh(a))return;if(F(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(F(t,"ignore","first-nested")&&Br(a))return;let s=a.parent&&a.parent.type!=="root";if(F(t,"ignore","inside-block")&&s||o.includes("multi-line")&&dh(a.toString()))return;let l=o.includes("always");(F(t,"except","first-nested")&&Br(a)||F(t,"except","after-rule")&&$2(a)||F(t,"except","inside-block-and-after-rule")&&s&&$2(a)||F(t,"except","after-single-line-comment")&&dY(a)||F(t,"except","inside-block")&&s)&&(l=!l);let u=md(a.raws.before);if(l===u)return;let c=l?qp.expected:qp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Yl,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Gl.ruleName=Yl,Gl.messages=qp,Gl.meta=B2,p$=Gl}),m$={};A(m$,{default:()=>h$});function hY(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Kl,Eb,q2,ii,h$,fY=y(()=>{me(),q(),de(),Le(),I(),j(),D(),Kl="rule-nesting-at-rule-required-list",Eb=O(Kl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),q2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},ii=e=>(t,r)=>{if(!T(r,Kl,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(hY(i,n)||P({message:Eb.expected,messageArgs:n,node:i,result:r,ruleName:Kl}))})},ii.primaryOptionArray=!0,ii.ruleName=Kl,ii.messages=Eb,ii.meta=q2,h$=ii}),f$={};A(f$,{default:()=>g$});function gY(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Hl,Pb,W2,Xl,g$,bY=y(()=>{q(),Rd(),de(),Le(),K(),I(),j(),Ht(),D(),Hl="rule-selector-property-disallowed-list",Pb=O(Hl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),W2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Xl=(e,t)=>(r,n)=>{if(!T(n,Hl,{actual:e,possible:[Bt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=F(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Md(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!gY(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:Pb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Hl,word:c})})})},Xl.ruleName=Hl,Xl.messages=Pb,Xl.meta=W2,g$=Xl}),b$={};A(b$,{default:()=>v$});function vY(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Jl,Ib,_2,Zl,v$,yY=y(()=>{On(),Tt(),q(),we(),de(),V(),I(),j(),D(),Jl="selector-anb-no-unmatchable",Ib=O(Jl,{rejected:e=>`Unmatchable An+B selector "${e}"`}),_2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Zl=e=>(t,r)=>{T(r,Jl,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=be(n),o;try{o=qr(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!_c.has(l.name)&&!$i.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;$e(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;vY(c.nth)&&P({message:Ib.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Jl})})})}})},Zl.ruleName=Jl,Zl.messages=Ib,Zl.meta=_2,v$=Zl}),y$={};A(y$,{default:()=>w$});var eu,Ob,U2,oi,w$,wY=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),eu="selector-attribute-name-disallowed-list",Ob=O(eu,{rejected:e=>`Disallowed name "${e}"`}),U2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},oi=e=>(t,r)=>{T(r,eu,{actual:e,possible:[$,_]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:Ob.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:eu})}))})},oi.primaryOptionArray=!0,oi.ruleName=eu,oi.messages=Ob,oi.meta=U2,w$=oi}),k$={};A(k$,{default:()=>x$});var tu,jb,V2,ai,x$,kY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),tu="selector-attribute-operator-allowed-list",jb=O(tu,{rejected:e=>`Disallowed operator "${e}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ai=e=>(t,r)=>{if(!T(r,tu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:tu})}))})},ai.primaryOptionArray=!0,ai.ruleName=tu,ai.messages=jb,ai.meta=V2,x$=ai}),S$={};A(S$,{default:()=>C$});var ru,Tb,Q2,si,C$,xY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),ru="selector-attribute-operator-disallowed-list",Tb=O(ru,{rejected:e=>`Disallowed operator "${e}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},si=e=>(t,r)=>{if(!T(r,ru,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:Tb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:ru})}))})},si.primaryOptionArray=!0,si.ruleName=ru,si.messages=Tb,si.meta=Q2,C$=si});function SY(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(z$,"").replace(A$,"");return!(N$.test(t)||bw.test(t.charAt(0))||t.charAt(0)==="-"&&bw.test(t.charAt(1)))}var z$,A$,N$,bw,CY=y(()=>{z$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,A$=/\\./g,N$=/[^\w-]/,bw=/\d/}),E$={};A(E$,{default:()=>P$});var nu,Db,Y2,iu,P$,zY=y(()=>{we(),de(),CY(),V(),ze(),I(),j(),D(),nu="selector-attribute-quotes",Db=O(nu,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},iu=e=>(t,r)=>{T(r,nu,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=xe(be(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:Db[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:nu,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!SY(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},iu.ruleName=nu,iu.messages=Db,iu.meta=Y2,P$=iu});function Uh(e){return!!(Bi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||I$.test(e))}var I$,Vh=y(()=>{Ke(),I$=new RegExp(`^(?:${[...xN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),O$={};A(O$,{default:()=>j$});var ou,Lb,G2,au,j$,AY=y(()=>{q(),we(),Vh(),de(),V(),ze(),I(),j(),D(),ou="selector-class-pattern",Lb=O(ou,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},au=e=>(t,r)=>{if(!T(r,ou,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(Uh)||((o=xe(be(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:ou,message:Lb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},au.ruleName=ou,au.messages=Lb,au.meta=G2,j$=au});function T$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var D$=y(()=>{}),L$={};A(L$,{default:()=>F$});function NY(e){return e.replace(/\s+/g," ")}var su,Fb,K2,li,F$,EY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),su="selector-combinator-allowed-list",Fb=O(su,{rejected:e=>`Disallowed combinator "${e}"`}),K2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},li=e=>(t,r)=>{T(r,su,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=NY(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:su,message:Fb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},li.primaryOptionArray=!0,li.ruleName=su,li.messages=Fb,li.meta=K2,F$=li}),M$={};A(M$,{default:()=>R$});function PY(e){return e.replace(/\s+/g," ")}var lu,Mb,H2,ui,R$,IY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),lu="selector-combinator-disallowed-list",Mb=O(lu,{rejected:e=>`Disallowed combinator "${e}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ui=e=>(t,r)=>{T(r,lu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=PY(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:lu,message:Mb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ui.primaryOptionArray=!0,ui.ruleName=lu,ui.messages=Mb,ui.meta=H2,R$=ui}),$$={};A($$,{default:()=>B$});var uu,Rb,X2,ci,B$,OY=y(()=>{q(),we(),zt(),Rd(),de(),Le(),K(),ze(),I(),j(),D(),uu="selector-disallowed-list",Rb=O(uu,{rejected:e=>`Disallowed selector "${e}"`}),X2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!T(n,uu,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[cd]},optional:!0}))return;let i=F(t,"ignore","inside-block"),o=F(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Md(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:uu,message:Rb.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=be(s);if(!a){l(u,0,u.length);return}(c=xe(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=at(d);l(p,m,v)})})},ci.primaryOptionArray=!0,ci.ruleName=uu,ci.messages=Rb,ci.meta=X2,B$=ci}),q$={};A(q$,{default:()=>W$});var cu,$b,J2,du,W$,jY=y(()=>{q(),we(),de(),V(),ze(),I(),j(),D(),cu="selector-id-pattern",$b=O(cu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),J2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},du=e=>(t,r)=>{if(!T(r,cu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:cu,message:$b.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},du.ruleName=cu,du.messages=$b,du.meta=J2,W$=du}),_$={};A(_$,{default:()=>U$});var pu,Bb,Z2,mu,U$,TY=y(()=>{q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),pu="selector-max-attribute",Bb=O(pu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),Z2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},mu=(e,t)=>(r,n)=>{if(!T(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,_]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{F(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:pu,result:n,node:a,message:Bb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},mu.ruleName=pu,mu.messages=Bb,mu.meta=Z2,U$=mu}),V$={};A(V$,{default:()=>Q$});var hu,qb,ez,fu,Q$,DY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),hu="selector-max-class",qb=O(hu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),ez={url:"https://stylelint.io/user-guide/rules/selector-max-class"},fu=e=>(t,r)=>{if(!T(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:hu,result:r,node:o,message:qb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=qb,fu.meta=ez,Q$=fu}),Y$={};A(Y$,{default:()=>G$});var gu,Wb,tz,bu,G$,LY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),gu="selector-max-combinators",Wb=O(gu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),tz={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},bu=e=>(t,r)=>{if(!T(r,gu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:gu,result:r,node:o,message:Wb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},bu.ruleName=gu,bu.messages=Wb,bu.meta=tz,G$=bu}),K$={};A(K$,{default:()=>H$});var rz,_b,Ub,nz,vu,Vb,iz,yu,H$,FY=y(()=>{rz=X(dt(),1),q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),{isCombinator:_b,isPseudo:Ub,isRoot:nz}=rz.default,vu="selector-max-compound-selectors",Vb=O(vu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),iz={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},yu=(e,t)=>(r,n)=>{if(!T(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Ub(a)?a.value:a.toString();return F(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(nz(a)||Ub(a))&&l.reduce((u,c,d,p)=>!_b(c)||d===0||d===p.length-1||_b(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=at(a);P({ruleName:vu,result:n,node:s,message:Vb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=xe(be(a),n,a))==null||s.each(l=>{o(l,a)}))})},yu.ruleName=vu,yu.messages=Vb,yu.meta=iz,H$=yu});function MY(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Tv.has(t)||$i.has(t)}return!1}var RY=y(()=>{Tt()}),X$={};A(X$,{default:()=>J$});var wu,Qb,oz,ku,J$,$Y=y(()=>{q(),we(),zt(),RY(),Tr(),de(),V(),K(),ze(),I(),j(),D(),wu="selector-max-id",Qb=O(wu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),oz={url:"https://stylelint.io/user-guide/rules/selector-max-id"},ku=(e,t)=>(r,n)=>{if(!T(n,wu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(MY(a)&&F(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=at(s);P({ruleName:wu,result:n,node:o,message:Qb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},ku.ruleName=wu,ku.messages=Qb,ku.meta=oz,J$=ku}),Z$={};A(Z$,{default:()=>e5});var xu,Yb,az,Su,e5,BY=y(()=>{we(),zt(),Tr(),de(),Tt(),V(),ze(),I(),j(),D(),xu="selector-max-pseudo-class",Yb=O(xu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),az={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},Su=e=>(t,r)=>{if(!T(r,xu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||qc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:xu,result:r,node:o,message:Yb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},Su.ruleName=xu,Su.messages=Yb,Su.meta=az,e5=Su}),t5={};A(t5,{default:()=>r5});var Cu,Gb,sz,Kb,zu,r5,qY=y(()=>{lR(),q(),zt(),de(),K(),I(),qh(),j(),D(),Cu="selector-max-specificity",Gb=O(Cu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),sz={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Kb=()=>({a:0,b:0,c:0}),zu=(e,t)=>(r,n)=>{if(!T(n,Cu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;let i=c=>F(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Kb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Kb();let p=kn(c),m=kn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));zc(a),zc(s),zc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&ld(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=kn(m,{customSpecificity:o});if(Jk(v,u)>0){let{index:h,endIndex:b,selector:g}=at(d),{selector:f}=at(m);f=f===g?"":f,P({ruleName:Cu,result:n,node:c,message:Gb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},zu.ruleName=Cu,zu.messages=Gb,zu.meta=sz,r5=zu}),tx,n5=y(()=>{"use strict";tx=[]}),i5=G((e,t)=>{"use strict";t.exports=[]});function o5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||a5.default.includes(t)||tx.includes(t))}var a5,s5=y(()=>{n5(),a5=X(i5(),1)});function WY(e){for(let t of e)if(!Vv(t))return!1;return!0}var _Y=y(()=>{rP()});function $d(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(_c.has(o)||$i.has(o)||Ov.has(o)||Iv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Bd=y(()=>{Tt()}),l5={};A(l5,{default:()=>u5});function UY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>GY(r))}function VY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>KY(r))}function QY(e){return!!(e.prev()&&!ud(e.prev())||e.next()&&!ud(e.next()))}function YY(e){return HY(e.prev())}function ud(e){return e?e.type==="combinator":!1}function GY(e){return e?ud(e)&&$(e.value)&&WY(e.value):!1}function KY(e){return e?ud(e)&&e.value===">":!1}function HY(e){return ud(e)&&e.value==="+"}var Au,Hb,lz,Nu,u5,XY=y(()=>{q(),we(),zt(),s5(),Vh(),Tr(),_Y(),de(),Bd(),V(),K(),ze(),I(),j(),D(),Au="selector-max-type",Hb=O(Au,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),lz={url:"https://stylelint.io/user-guide/rules/selector-max-type"},Nu=(e,t)=>(r,n)=>{if(!T(n,Au,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},optional:!0}))return;let i=F(t,"ignore","descendant"),o=F(t,"ignore","child"),a=F(t,"ignore","compounded"),s=F(t,"ignore","next-sibling"),l=F(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{F(t,"ignoreTypes",m.value)||i&&UY(m)||o&&VY(m)||a&&QY(m)||s&&YY(m)||l&&m.value&&o5(m.value)||$d(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=at(c);P({ruleName:Au,result:n,node:d,message:Hb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(Uh)||(d=xe(be(c),n,c))==null||d.each(p=>{u(p,c)})})},Nu.ruleName=Au,Nu.messages=Hb,Nu.meta=lz,u5=Nu}),c5={};A(c5,{default:()=>d5});var Eu,Xb,uz,Pu,d5,JY=y(()=>{we(),zt(),Tr(),de(),q(),V(),K(),ze(),I(),j(),D(),Eu="selector-max-universal",Xb=O(Eu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),uz={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},Pu=(e,t)=>(r,n)=>{if(!T(n,Eu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;F(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:Eu,result:n,node:a,message:Xb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},Pu.ruleName=Eu,Pu.messages=Xb,Pu.meta=uz,d5=Pu}),p5={};A(p5,{default:()=>m5});var Iu,Jb,cz,Ou,m5,ZY=y(()=>{q(),we(),zt(),de(),ze(),I(),j(),D(),Iu="selector-nested-pattern",Jb=O(Iu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),cz={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Ou=(e,t)=>(r,n)=>{if(!T(n,Iu,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[cd]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!ce(s))return;let l=be(s);o?(u=xe(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=at(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:Iu,message:Jb.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Ou.ruleName=Iu,Ou.messages=Jb,Ou.meta=cz,m5=Ou});function h5(e){return e.startsWith(":--")}var f5=y(()=>{}),g5={};A(g5,{default:()=>b5});var dz,di,ju,pz,mz,hz,fz,Tu,b5,eG=y(()=>{dz=X(dt(),1),Tt(),q(),we(),f5(),de(),kd(),Bd(),V(),K(),ze(),I(),j(),D(),di="selector-no-deprecated",ju=O(di,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),pz={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:mz}=dz.default,hz={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},fz={content:"slotted"},Tu=(e,t)=>(r,n)=>{T(n,di,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=be(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=xe(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!wd(c)||h5(c))return;let p,m;if(mz(u)){p=c.slice(2);let g=p.toLowerCase();if(!fm.has(g))return;let f=fz[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!gm.has(g))return;let f=hz[g];f&&(m=`:${f}`)}if(F(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=ju.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=ju.rejected,b=[c]),P({result:n,ruleName:di,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;$d(u)&&(F(t,"ignoreSelectors",d)||!mm.has(d.toLowerCase())&&!Iw.has(d)||P({result:n,ruleName:di,message:ju.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Tu.ruleName=di,Tu.messages=ju,Tu.meta=pz,b5=Tu}),v5={};A(v5,{default:()=>y5});function tG(e,t){let{children:r}=e;if((r==null?void 0:r.size)!==1)return!1;let n=r.first;return(n==null?void 0:n.type)!=="Identifier"?!1:t.has(n.name.toLowerCase())}var Du,Zb,gz,Lu,y5,rG=y(()=>{On(),Tt(),we(),Rd(),de(),V(),I(),j(),D(),Du="selector-no-invalid",Zb=O(Du,{rejected:(e,t)=>`Invalid selector "${e}"${t?`, ${t}`:""}`}),gz={url:"https://stylelint.io/user-guide/rules/selector-no-invalid"},Lu=e=>(t,r)=>{T(r,Du,{actual:e})&&t.walkRules(n=>{if(!ce(n)||Md(n))return;let i=be(n),o=(s,l,u,c)=>{P({message:Zb.rejected,messageArgs:[u,c],node:n,index:s,endIndex:l,ruleName:Du,result:r})},a;try{a=qr(i,{context:"selectorList",positions:!0})}catch(s){if(!(s instanceof SyntaxError))throw s;let l="offset"in s&&typeof s.offset=="number"?s.offset:0,u=s.message;o(l,Math.min(l+1,i.length),i,u.charAt(0).toLowerCase()+u.slice(1));return}Q.dirPseudoClass.test(i)&&Ni(a,{visit:"PseudoClassSelector",enter(s){if(s.name.toLowerCase()!=="dir"||!s.loc||tG(s,jv))return Ni.skip;let l=s.loc.start.offset,u=s.loc.end.offset,c=`expected ${[...jv].map(d=>`"${d}"`).join(" or ")}`;o(l,u,i.slice(l,u),c)}})})},Lu.ruleName=Du,Lu.messages=Zb,Lu.meta=gz,y5=Lu});function vw(e){return w5.default.isPseudoClass(e)&&e.nodes.length>0&&k5.has(e.value.toLowerCase())}var w5,k5,x5=y(()=>{w5=X(dt(),1),k5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function nG(e){let t=Ri.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{iG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ri.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function iG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=yw(e);return[...t,...r].filter(n=>n.length)}function yw(e){let t=[],r=[[]];return e.each(n=>{if(Ri.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ri.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Ri.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=yw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(vw(n)){let i=[];n.each(o=>{let a=yw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Ri,oG=y(()=>{Ri=X(dt(),1),x5()}),S5={};A(S5,{default:()=>z5});function C5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(vw(t))return C5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Nt.default.isCombinator(n)||Nt.default.isPseudoElement(n));)Nt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Nt.default.isCombinator(i)||Nt.default.isPseudoElement(i));)Nt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Nt.default.isIdentifier(i)||Nt.default.isClassName(i)||Nt.default.isAttribute(i)||Nt.default.isTag(i)||vw(i));)r.splice(-1,1);return r}var Nt,Fu,ev,bz,Mu,z5,aG=y(()=>{Nt=X(dt(),1),oG(),zt(),Rd(),x5(),de(),Bd(),V(),K(),I(),qh(),j(),D(),Fu="selector-no-qualifying-type",ev=O(Fu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),bz={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},Mu=(e,t)=>(r,n)=>{if(!T(n,Fu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=F(t,"ignore","id"),o=F(t,"ignore","class"),a=F(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Md(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=nG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!$d(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=C5(h);for(let w of g)if(Nt.default.isIdentifier(w)&&!i||Nt.default.isClassName(w)&&!o||Nt.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:Fu,result:n,node:s,message:ev.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}ld(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},Mu.ruleName=Fu,Mu.messages=ev,Mu.meta=bz,z5=Mu}),A5={};A(A5,{default:()=>N5});var Ru,tv,vz,$u,N5,sG=y(()=>{q(),we(),bd(),de(),V(),K(),ze(),I(),j(),D(),Ru="selector-no-vendor-prefix",tv=O(Ru,{rejected:e=>`Vendor-prefixed selector "${e}"`}),vz={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},$u=(e,t)=>(r,n)=>{T(n,Ru,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=xe(be(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!zr.selector(s)||F(t,"ignoreSelectors",s))return;let l=()=>{a.value=zr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Ru,message:tv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},$u.ruleName=Ru,$u.messages=tv,$u.meta=vz,N5=$u}),E5={};A(E5,{default:()=>I5});function lG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&ww(o[0])).map(o=>($e(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();$e(i),$e(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=P5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function uG(e,t,r){let n=s=>{for(let l of s)$e(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($e(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);xi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var yz,wz,kz,xz,rv,Sz,Cz,Bu,nv,zz,ww,xi,Az,qu,P5,I5,cG=y(()=>{yz=X(dt(),1),q(),we(),de(),V(),ze(),I(),j(),D(),{isAttribute:wz,isClassName:kz,isIdentifier:xz,isPseudoClass:rv,isTag:Sz,isUniversal:Cz}=yz.default,Bu="selector-not-notation",nv=O(Bu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),zz={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},ww=e=>rv(e)||wz(e)||kz(e)||Cz(e)||xz(e)||Sz(e),xi=e=>rv(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",Az=e=>{if(e.length>1)return!1;$e(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:ww(t)&&!xi(t):!0},qu=e=>(t,r)=>{T(r,Bu,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=xe(be(n),r,n);i&&i.walkPseudos(o=>{if(!xi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&xi(u)))return;l=()=>uG(u,n,i)}else{let u=o.nodes;if(Az(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>lG(o,n,i))}P({message:nv.expected,messageArgs:[e],node:n,result:r,ruleName:Bu,index:a,endIndex:s,fix:{apply:l,node:n}})})})},P5=({parent:e,sourceIndex:t})=>{$e(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!xi(o)),i=n===-1?r[r.length-1]:r[n-1];return $e(i),i},qu.ruleName=Bu,qu.messages=nv,qu.meta=zz,I5=qu}),O5={};A(O5,{default:()=>j5});var Wu,iv,Nz,pi,j5,dG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),Wu="selector-pseudo-class-allowed-list",iv=O(Wu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Nz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},pi=e=>(t,r)=>{if(!T(r,Wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:iv.rejected,messageArgs:[l],node:o,result:r,ruleName:Wu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},pi.primaryOptionArray=!0,pi.ruleName=Wu,pi.messages=iv,pi.meta=Nz,j5=pi}),T5={};A(T5,{default:()=>D5});var _u,ov,Ez,mi,D5,pG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),_u="selector-pseudo-class-disallowed-list",ov=O(_u,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Ez={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},mi=e=>(t,r)=>{if(!T(r,_u,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:ov.rejected,messageArgs:[l],node:o,result:r,ruleName:_u,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},mi.primaryOptionArray=!0,mi.ruleName=_u,mi.messages=ov,mi.meta=Ez,D5=mi}),L5={};A(L5,{default:()=>F5});function mG(e,t){var n;let r=e.parent;for(;r;){if(it(r)){let i=be(r);if(i.includes("::")){let o=!1;if((n=xe(i,t,r))==null||n.walkPseudos(a=>{if(a.value.startsWith("::")&&hm.has(a.value.toLowerCase().slice(2)))return o=!0,!1}),o)return!0}}r=r.parent}return!1}var Uu,av,Pz,Vu,F5,hG=y(()=>{Tt(),me(),q(),J(),lt(),we(),f5(),et(),de(),kd(),K(),ze(),I(),j(),D(),Dt(),Uu="selector-pseudo-class-no-unknown",av=O(Uu,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),Pz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Vu=(e,t)=>(r,n)=>{if(!T(n,Uu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=xe(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!wd(u)||h5(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(qc.has(c)||F(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Xe.prefix(c),p;if(Oe(a)&&a.name==="page"){if(lN.has(c))return;p=je(a)+l.sourceIndex}else if(rh.has(c)&&!d)p=l.sourceIndex;else{if(d||uN.has(c))return;let v=l,h=!1,b=!1;do if(v=v.prev(),v&&(v.type==="combinator"&&(h=!0),v.type==="nesting"&&!h&&(b=!0),v.value.startsWith("::")))break;while(v);if(v){let g=v.value.toLowerCase().slice(2);if(hm.has(g)&&Dv.has(c))return}else if(Dv.has(c)&&b&&mG(a,n))return;p=l.sourceIndex}let m=p+l.value.length;P({message:av.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Uu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=be(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Vu.ruleName=Uu,Vu.messages=av,Vu.meta=Pz,F5=Vu}),M5={};A(M5,{default:()=>R5});var Qu,sv,Iz,hi,R5,fG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Qu="selector-pseudo-element-allowed-list",sv=O(Qu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Iz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},hi=e=>(t,r)=>{T(r,Qu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:sv.rejected,messageArgs:[a],node:n,result:r,ruleName:Qu})}))})},hi.primaryOptionArray=!0,hi.ruleName=Qu,hi.messages=sv,hi.meta=Iz,R5=hi}),$5={};A($5,{default:()=>B5});var Yu,lv,Oz,Gu,B5,gG=y(()=>{we(),de(),Tt(),V(),ze(),I(),j(),D(),Yu="selector-pseudo-element-colon-notation",lv=O(Yu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),Oz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Gu=e=>(t,r)=>{if(!T(r,Yu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!ce(i))return;let o=xe(be(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!qc.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:lv.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Yu,fix:{apply:u,node:i}})})})},Gu.ruleName=Yu,Gu.messages=lv,Gu.meta=Oz,B5=Gu}),q5={};A(q5,{default:()=>W5});var Ku,uv,jz,fi,W5,bG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Ku="selector-pseudo-element-disallowed-list",uv=O(Ku,{rejected:e=>`Disallowed pseudo-element "${e}"`}),jz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},fi=e=>(t,r)=>{T(r,Ku,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:uv.rejected,messageArgs:[a],node:n,result:r,ruleName:Ku})}))})},fi.primaryOptionArray=!0,fi.ruleName=Ku,fi.messages=uv,fi.meta=jz,W5=fi}),_5={};A(_5,{default:()=>U5});var Hu,cv,Tz,Xu,U5,vG=y(()=>{q(),we(),de(),kd(),V(),K(),ze(),Tt(),I(),j(),D(),Dt(),Hu="selector-pseudo-element-no-unknown",cv=O(Hu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),Tz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Xu=(e,t)=>(r,n)=>{T(n,Hu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(be(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!wd(s)||s.slice(0,2)!=="::"||F(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Xe.prefix(l)||rh.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:cv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Hu,result:n})}))})},Xu.ruleName=Hu,Xu.messages=cv,Xu.meta=Tz,U5=Xu}),V5={};A(V5,{default:()=>Q5});var Ju,dv,Dz,Lz,Fz,Mz,Zu,Q5,yG=y(()=>{q(),we(),Vh(),de(),Bd(),Tt(),K(),ze(),I(),j(),D(),Ju="selector-type-case",dv=O(Ju,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Dz={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Lz=/(?:[^.#[:a-z-]|^)[a-z]/i,Fz=/[A-Z]/,Mz=/[a-z]/,Zu=(e,t)=>(r,n)=>{T(n,Ju,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Lz.test(o)||e==="lower"&&!Fz.test(o)||e==="upper"&&!Mz.test(o)||!ce(i)||i.selectors.some(Uh))return;let a=xe(be(i),n,i);a&&a.walkTags(s=>{if(!$d(s)||sN.has(s.value)||F(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:dv.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Ju,result:n,fix:{apply:m,node:i}})})})},Zu.ruleName=Ju,Zu.messages=dv,Zu.meta=Dz,Q5=Zu}),Y5={};A(Y5,{default:()=>H5});function wG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return rx.default.isPseudoElement(t)&&G5.has(t.value)}function kG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return rx.default.isPseudoClass(t)&&K5.has(t.value)}var rx,Rz,ec,pv,$z,Bz,G5,K5,tc,H5,xG=y(()=>{n5(),rx=X(dt(),1),Rz=X(i5(),1),q(),we(),Tt(),s5(),Vh(),de(),Bd(),K(),ze(),I(),j(),D(),ec="selector-type-no-unknown",pv=O(ec,{rejected:e=>`Unknown type selector "${e}"`}),$z={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Bz=/(?:[^.#[:a-z-]|^)[a-z]/i,G5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),K5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),tc=(e,t)=>(r,n)=>{T(n,ec,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;Bz.test(i.selector)&&ce(i)&&(i.selectors.some(Uh)||((o=xe(be(i),n,i))==null||o.walkTags(a=>{if(!$d(a)||F(t,"ignore","custom-elements")&&o5(a.value)||F(t,"ignore","default-namespace")&&typeof a.namespace!="string"||F(t,"ignoreNamespaces",a.namespace)||F(t,"ignoreTypes",a.value)||wG(a)||kG(a))return;let s=a.value,l=s.toLowerCase(),u=[...Rz.default,"hatch","hatchpath","hatchPath"];if(aN.has(l)||u.includes(s)||tx.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:pv.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:ec,result:n})})))})},tc.ruleName=ec,tc.messages=pv,tc.meta=$z,H5=tc}),X5={};A(X5,{default:()=>J5});function kw(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return SG(i,o,a,s)?[e]:CG(i,o,a,s)?[e,t]:zG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function SG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function CG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function zG(e,t,r,n){return t===n}function AG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Fc.default)(e).nodes){if(FA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(ao(a)&&(n?o=!0:i=!0),En(a)||Nn(a)){let s=Fc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function NG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):kw(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):kw(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ne(t),k=w+t.value.length;P({message:cm.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:Si,fix:{apply:x,node:t}})}var Fc,Si,cm,qz,Wz,_z,rc,J5,EG=y(()=>{Fc=X(ue(),1),J(),ct(),jr(),_e(),Cd(),K(),I(),j(),D(),Dt(),me(),Si="shorthand-property-no-redundant-values",cm=O(Si,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),qz={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Wz=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"]),_z=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),rc=(e,t)=>(r,n)=>{T(n,Si,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!ut(i)||!Or(o)||!Be(a))return;let s=Xe.unprefixed(o.toLowerCase());if(!Wz.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=AG(a);if(k){NG(n,i,x,w,S,E);return}}let l=[];for(let x of(0,Fc.default)(a).nodes){if(FA(x)||ao(x))return;(En(x)||Nn(x))&&l.push(Fc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=kw(u,c,d,p);if(F(t,"ignore","four-into-three-edge-values")&&_z.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ne(i),f=g+i.value.length;P({message:cm.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:Si,fix:{apply:b,node:i}})})},rc.ruleName=Si,rc.messages=cm,rc.meta=qz,J5=rc}),Z5={};A(Z5,{default:()=>e6});var nc,mv,hv,Uz,ic,e6,PG=y(()=>{rt(),J(),kd(),K(),I(),j(),D(),nc="string-no-newline",mv=/\r?\n/,hv=O(nc,{rejected:"Newline in string"}),Uz={url:"https://stylelint.io/user-guide/rules/string-no-newline"},ic=(e,t)=>(r,n)=>{if(!T(n,nc,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(F(t,"ignore","at-rule-preludes"))break;o(a,a.params,je);break;case"decl":if(F(t,"ignore","declaration-values"))break;o(a,a.value,ne);break;case"rule":i(a);break}});function i(a){mv.test(a.selector)&&wd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){mv.test(s)&&St({css:s},{onParseError:u=>{if(!(u instanceof kr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:hv.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:nc})}})}},ic.ruleName=nc,ic.messages=hv,ic.meta=Uz,e6=ic}),t6={};A(t6,{default:()=>r6});var oc,fv,Vz,Qz,ac,r6,IG=y(()=>{rt(),On(),V(),J(),I(),j(),D(),oc="syntax-string-no-invalid",fv=O(oc,{rejected:e=>`Invalid syntax string "${e}"`}),Vz={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},Qz=Ak({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,ac=e=>(t,r)=>{T(r,oc,{actual:e})&&t.walkAtRules(Se.propertyName,n=>{n.walkDecls(EN.syntaxName,i=>{St({css:i.value}).filter(o=>g7(o)).forEach(o=>{let{error:a}=Qz.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=ne(i);P({message:fv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:oc})})})})},ac.ruleName=oc,ac.messages=fv,ac.meta=Vz,r6=ac}),n6={};A(n6,{default:()=>i6});var Yz,sc,gv,Gz,Kz,lc,i6,OG=y(()=>{Yz=X(ue(),1),Pr(),J(),We(),Tn(),q(),V(),K(),I(),j(),D(),Dt(),sc="time-min-milliseconds",gv=O(sc,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),Gz={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Kz=new Set(["animation-delay","transition-delay"]),lc=(e,t)=>(r,n)=>{if(!T(n,sc,{actual:e,possible:Sr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=F(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=Xe.unprefixed(c.prop.toLowerCase()),m=(0,Yz.default)(qe(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=jn(h);ZA.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),eN.has(p)&&(v=a(f,b,v),!(l(f)||o&&v!==1)&&u(c,g,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&Kz.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ne(c)+d,v=m+p;P({result:n,ruleName:sc,message:gv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},lc.ruleName=sc,lc.messages=gv,lc.meta=Gz,i6=lc}),o6={};A(o6,{default:()=>a6});var Hz,uc,bv,Xz,gi,a6,jG=y(()=>{Hz=X(ue(),1),J(),V(),q(),Tn(),K(),I(),j(),Ht(),D(),uc="unit-allowed-list",bv=O(uc,{rejected:e=>`Disallowed unit "${e}"`}),Xz={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},gi=(e,t)=>(r,n)=>{if(!T(n,uc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,Hz.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||F(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=jn(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&F(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:bv.rejected,messageArgs:[d],node:a,result:n,ruleName:uc})}))}r.walkAtRules(Se.mediaName,a=>o(a,a.params,je)),r.walkDecls(a=>o(a,a.value,ne))},gi.primaryOptionArray=!0,gi.ruleName=uc,gi.messages=bv,gi.meta=Xz,a6=gi});function s6(e){if(!l6.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:u6.test(t.name)}var l6,u6,c6=y(()=>{me(),l6=/^unicode-range$/i,u6=/^font-face$/i}),d6={};A(d6,{default:()=>p6});function Jz(e){return St({css:e}).map(t=>t[0]!==z.Percentage?t:[z.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:re.Number}])}var cc,vv,Zz,bi,p6,TG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),We(),c6(),K(),I(),j(),Ht(),D(),cc="unit-disallowed-list",vv=O(cc,{rejected:e=>`Disallowed unit "${e}"`}),Zz={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},bi=(e,t)=>(r,n)=>{if(!T(n,cc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)],ignoreMediaFeatureNames:[Bt($,_)]}}))return;let i=[e].flat();function o(s){if(!He(s))return!1;let l=s.getName().toLowerCase();return l==="url"||F(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==z.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&F(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:vv.rejected,messageArgs:[m],node:s,result:n,ruleName:cc})}r.walkAtRules(Se.mediaName,s=>{let l=st(s);Q.dimension.test(l)&&Ld(Jz(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Ln(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,je,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(s6(s))return;let l=qe(s);if(!Q.dimension.test(l))return;let u={ignored:!1};Dn(uo(Jz(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ne,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},bi.primaryOptionArray=!0,bi.ruleName=cc,bi.messages=vv,bi.meta=Zz,p6=bi}),m6={};A(m6,{default:()=>h6});function DG(e){let t=e==="left-to-right"||e==="right-to-left"?"horizontalInline":"verticalInline";return new Map([...Yc].map(([r,n])=>[r,n[t]]))}var eA,vi,Wp,tA,dc,h6,LG=y(()=>{eA=X(ue(),1),oo(),q(),J(),We(),Tn(),ct(),V(),K(),I(),j(),gt(),D(),vi="unit-layout-mappings",Wp=O(vi,{rejected:(e,t)=>`Disallowed ${e} unit "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tA={url:"https://stylelint.io/user-guide/rules/unit-layout-mappings",fixable:!0},dc=(e,t)=>(r,n)=>{var s,l,u;if(!T(n,vi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreUnits:[$,_]},optional:!0}))return;let i=(u=(l=(s=n.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.directionality)==null?void 0:u.inline,o=i?DG(i):null;function a(c,d,p,m,v){P({index:p,endIndex:m,message:Wp.rejected,messageArgs:[c,d],node:v,result:n,ruleName:vi})}r.walkDecls(c=>{if(!Q.axisUnit.test(c.value)||!ut(c))return;let d=(0,eA.default)(qe(c)),p=ne(c);d.walk(m=>{let{number:v,unit:h}=jn(m);if(!v||!h||F(t,"ignoreUnits",h))return;let{sourceIndex:b,sourceEndIndex:g}=m,f=p+b+v.length,x=p+g;if(e==="physical"){if(!Bw.has(h))return;a("flow-relative",h,f,x,c);return}if(!Yc.has(h))return;if(!o){a("physical",h,f,x,c);return}let w=o.get(h);w&&P({index:f,endIndex:x,message:Wp.expected,messageArgs:[h,w],node:c,result:n,ruleName:vi,fix:{apply:()=>{m.value=v+w,ft(c,d.toString())},node:c}})})})},dc.ruleName=vi,dc.messages=Wp,dc.meta=tA,h6=dc}),f6={};A(f6,{default:()=>g6});var _p,pc,yv,rA,nA,mc,g6,FG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),We(),et(),ct(),_e(),c6(),K(),oo(),I(),j(),D(),Dt(),_p=new Set(zN),_p.delete("x"),pc="unit-no-unknown",yv=O(pc,{rejected:e=>`Unknown unit "${e}"`}),rA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},nA=/^(?:min-|max-)?resolution$/i,mc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,pc,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([..._p,...d])}else i=_p;let a=d=>{if(!Q.dimension.test(d))return;let p=St({css:d});if(p.some(m=>m[0]===z.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(He(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||F(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Xe.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==z.Dimension||F(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&v.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(b+1)-f.length;P({message:yv.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:pc})};r.walkAtRules(Se.mediaName,d=>{if(!Ze(d))return;let p=st(d),m=a(p);m&&Ld(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Ln(b)){let f=b.getName();nA.test(f)&&(g.allowX=!0)}else(He(b)||le(b))&&s(d,je,b,g)},h)})}),r.walkDecls(d=>{if(!ut(d)||s6(d))return;let p=qe(d);if(!Be(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};Dn(uo(m),({node:h,state:b})=>{b&&(b.ignored||(He(h)||le(h))&&s(d,ne,h,b))},v)})},mc.ruleName=pc,mc.messages=yv,mc.meta=rA,g6=mc});function MG(e){let t=e.toLowerCase();return!(vN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var RG=y(()=>{Ke()});function $G(e){let t=e.toLowerCase();return!(yN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var BG=y(()=>{Ke()}),b6={};A(b6,{default:()=>v6});var iA,hc,wv,oA,aA,sA,lA,Up,fc,v6,qG=y(()=>{iA=X(ue(),1),Ke(),q(),J(),We(),Tn(),RG(),BG(),_e(),V(),K(),I(),j(),D(),hc="value-keyword-case",wv=O(hc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),oA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},aA=new Set(["+","-","/","*","%"]),sA=new Set(["grid-row","grid-row-start","grid-row-end"]),lA=new Set(["grid-column","grid-column-start","grid-column-end"]),Up=new Map;for(let e of kN)Up.set(e.toLowerCase(),e);fc=(e,t)=>(r,n)=>{T(n,hc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[cd]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Be(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,iA.default)(qe(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(SN.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&F(t,"ignoreFunctions",c))return!1;let{unit:p}=jn(u);if(u.type!=="word"||!Be(c)||o.includes("#")||aA.has(c)||p||s==="animation"&&!$w.has(d)&&!Vc.has(d)||s==="animation-name"&&!Vc.has(d)||s==="font"&&!Rw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&MG(d)||s==="counter-reset"&&$G(d)||sA.has(s)&&!fN.has(d)||lA.has(s)&&!gN.has(d)||s==="grid-area"&&!bN.has(d)||s==="list-style"&&!wN.has(d)&&!xm.has(d)||s==="list-style-type"&&!xm.has(d)||F(t,"ignoreKeywords",c)||F(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&Up.has(m)&&h?v=Up.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ne(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:wv.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:hc,fix:{apply:f,node:i}})})})},fc.ruleName=hc,fc.messages=wv,fc.meta=oA,v6=fc}),y6={};A(y6,{default:()=>k6});function WG(e){let[t,r]=Hm(e.block),[n,i]=Hm(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of yn){let c=w6.get(l),d=new Map;switch(c){case"side":for(let p of u.keys()){let m=a[p];m&&d.set(p,m)}break;case"inlineSide":o&&(d.set(n,"inline-start"),d.set(i,"inline-end"));break;case"axis":d.set(o?"horizontal":"vertical","inline"),d.set(o?"vertical":"horizontal","block");break;case"startEnd":o&&(d.set(n,"start"),d.set(i,"end"));break}s.set(l,d)}return s}var uA,yi,Vp,cA,w6,gc,k6,_G=y(()=>{uA=X(ue(),1),q(),Ke(),V(),J(),ZR(),We(),ct(),_e(),me(),K(),I(),j(),gt(),D(),yi="value-keyword-layout-mappings",Vp=O(yi,{rejected:(e,t)=>`Disallowed ${e} keyword "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cA={url:"https://stylelint.io/user-guide/rules/value-keyword-layout-mappings",fixable:!0},w6=new Map([["caption-side","side"],["offset-anchor","side"],["offset-position","side"],["clear","inlineSide"],["float","inlineSide"],["resize","axis"],["text-align","startEnd"],["text-align-last","startEnd"]]),gc=(e,t)=>(r,n)=>{var d,p;if(!T(n,yi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_]},optional:!0}))return;let i=(p=(d=n.stylelint.config)==null?void 0:d.languageOptions)==null?void 0:p.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?WG({block:o,inline:a}):null,l=e==="physical"?Q.layoutFlowRelativeKeyword:Q.layoutPhysicalKeyword,u=e==="physical"?CN:yn;function c(m,v,h,b,g){P({index:h,endIndex:b,message:Vp.rejected,messageArgs:[m,v],node:g,result:n,ruleName:yi})}r.walkDecls(dr.layoutMappings,m=>{let{prop:v,value:h}=m;if(!l.test(h)||!ut(m)||F(t,"ignoreProperties",v))return;let b=v.toLowerCase(),g=u.get(b);$e(g);let f=(0,uA.default)(qe(m)),x=ne(m);f.walk(w=>{var B;if(!En(w))return;let{value:k,sourceIndex:S}=w;if(!Be(k))return;let E=k.toLowerCase();if(!g.has(E)||F(t,"ignoreKeywords",k))return;let C=x+S,L=C+k.length;if(e==="physical"){c("flow-relative",k,C,L,m);return}if(!s){c("physical",k,C,L,m);return}let N=(B=s.get(b))==null?void 0:B.get(E);if(!N){c("physical",k,C,L,m);return}P({index:C,endIndex:L,message:Vp.expected,messageArgs:[k,N],node:m,result:n,ruleName:yi,fix:{apply:()=>{w.value=N,ft(m,f.toString())},node:m}})})})},gc.ruleName=yi,gc.messages=Vp,gc.meta=cA,k6=gc}),x6={};A(x6,{default:()=>S6});var dA,bc,kv,pA,vc,S6,UG=y(()=>{dA=X(ue(),1),J(),bd(),ct(),jr(),V(),K(),I(),j(),gt(),D(),q(),bc="value-no-vendor-prefix",kv=O(bc,{rejected:e=>`Vendor-prefixed value "${e}"`}),pA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},vc=(e,t)=>(r,n)=>{T(n,bc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!ut(i)||!Or(i.prop))return;let a=(0,dA.default)(o);a.walk(s=>{if(!zr.propertyValue(s.value)||F(t,"ignoreValues",s.value))return;let l=ne(i)+s.sourceIndex,u=()=>{s.value=zr.unprefix(s.value),ft(i,a.toString())};P({message:kv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:bc,fix:{apply:u,node:i}})})})},vc.ruleName=bc,vc.messages=kv,vc.meta=pA,S6=vc}),VG=G((e,t)=>{"use strict";t.exports=()=>{}});Zm();var nx={noDeprecation:!0,cwd(){return"/"}},QG=()=>{},YG={};Er();q();Er();Er();function C6(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=(nx.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,autofixed:e.stylelint.autofixed,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Jr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var GG=(e={})=>{let t=e.cwd||nx.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};Aw();var KG=()=>!0,HG=U6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(wB(),qA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(kB(),_A)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(xB(),VA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(PB(),ON)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(IB(),TN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OB(),LN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(BB(),BN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(JB(),nE)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZB(),oE)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(eq(),sE)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(tq(),uE)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(iq(),dE)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(aq(),bE)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(sq(),yE)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(lq(),xE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(cq(),CE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(dq(),jE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(fq(),DE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(Eq(),_E)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(Iq(),VE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(Tq(),GE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Dq(),HE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(Lq(),JE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(Fq(),eP)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>($q(),nP)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(Wq(),oP)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(_q(),sP)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(Uq(),uP)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Yq(),mP)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(Gq(),fP)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(Kq(),bP)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(Xq(),yP)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(P8(),ML)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(j8(),$L)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(T8(),WL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(D8(),UL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(F8(),QL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(M8(),HL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(R8(),JL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(q8(),tF)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(W8(),nF)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_8(),oF)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(U8(),sF)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(V8(),uF)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(AU(),MF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(IU(),qF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(FU(),HF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(MU(),JF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(RU(),eM)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(BU(),rM)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(WU(),iM)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(VU(),aM)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(QU(),dM)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(GU(),mM)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(KU(),bM)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZU(),wM)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(eV(),CM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(tV(),AM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(rV(),IM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(nV(),jM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(oV(),DM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(aV(),RM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(vV(),t3)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(yV(),n3)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(xV(),o3)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(zV(),s3)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(AV(),u3)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(FV(),d3)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(BV(),m3)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(qV(),g3)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(aQ(),F3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),R3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(lQ(),q3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(uQ(),_3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(cQ(),V3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dQ(),Y3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(pQ(),K3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(mQ(),X3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(hQ(),Z3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(fQ(),tR)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(wQ(),nR)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(kQ(),aR)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(OQ(),gR)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(TQ(),yR)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(DQ(),kR)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(LQ(),SR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(FQ(),zR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(MQ(),NR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(RQ(),PR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(WQ(),OR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(VQ(),BR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(GQ(),WR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(KQ(),UR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(HQ(),QR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(XQ(),GR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(JQ(),HR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(eY(),e$)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tY(),r$)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(rY(),i$)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(nY(),a$)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(cY(),l$)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(mY(),d$)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(fY(),m$)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(bY(),f$)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(yY(),b$)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(wY(),y$)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(kY(),k$)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(xY(),S$)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(zY(),E$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(AY(),O$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(EY(),L$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(IY(),M$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OY(),$$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(jY(),q$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(TY(),_$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(DY(),V$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(LY(),Y$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(FY(),K$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>($Y(),X$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(BY(),Z$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(qY(),t5)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(XY(),l5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(JY(),c5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(ZY(),p5)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(eG(),g5)),"./selector-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(rG(),v5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(aG(),S5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(sG(),A5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(cG(),E5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dG(),O5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(pG(),T5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(hG(),L5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(fG(),M5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(gG(),$5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(bG(),q5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(vG(),_5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(yG(),V5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(xG(),Y5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(EG(),X5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(PG(),Z5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(IG(),t6)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(OG(),n6)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(jG(),o6)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),d6)),"./unit-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(LG(),m6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(FG(),f6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(qG(),b6)),"./value-keyword-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(_G(),y6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(UG(),x6))}),mA=new Map;function XG(e){let t=mA.get(e);return t||(t=HG(`./${e}/index.mjs`).then(r=>r.default),mA.set(e,t)),t}var JG=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-invalid","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-layout-mappings","unit-no-unknown","value-keyword-case","value-keyword-layout-mappings","value-no-vendor-prefix"],z6={};for(let e of JG)Object.defineProperty(z6,e,{get(){return XG(e)},enumerable:!0,configurable:!0});var ix=z6;function A6(e,t){var r;return ZG(e)?ix[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function ZG(e){return e in ix}q();function eK(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Cr(r)&&Cr(n)?e:[e]}async function tK(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await A6(r,e);i?t[r]=eK(n,i):t[r]=[]}return e.rules=t,e}var rK=(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},nK=async(e,t,{config:r})=>({config:await tK(rK(e,r))}),N6=({stylelint:e,filePath:t})=>nK(e,t,{config:e._options.config}),iK=()=>[];function oK(e,t){return e.startsWith("_")?void 0:t}function aK(e){return JSON.stringify(e,oK)}var sK=()=>aK;Zm();gd();var lK=()=>{};jF();var uK=()=>{};gd();var cK=e=>e,E6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,dK=_i();async function pK(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?cK(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=E6(e._options.fix),s=t!=null?t:await mK(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await uK(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await dK.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function mK(e){return{parse:await(e?Promise.resolve().then(()=>X(VG(),1)).then(t=>t.default):_i.parse),stringify:_i.stringify}}var hK=async()=>[],fK=()=>{},gK=()=>Promise.resolve(!1),bK=()=>!1;Er();yd();Er();yd();q();me();ch();rt();function xv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function vK(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Mt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,C,L,N,B,ie,te,he,fe,oe,Fe,Ue,At,Ve,Y,H,R,W;if(Kr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Kc(w)&&ji(w.text,o)&&Z&&Kr(Z)&&(w.text.includes("--")||Z.text.startsWith("--")))){p(w,w.source,w.text);return}let M=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),ve=Z;for(;!Kc(ve)&&!ji(ve.text,o);){let ge=(N=(L=(C=ve.source)==null?void 0:C.end)==null?void 0:L.line)!=null?N:0;if(M+1!==ge)break;ee.text+=`
|
|
37
|
+
${ve.text}`,ee.source&&ve.source&&(ee.source.end=ve.source.end),i=ve;let ae=ve.next();if(!ae||!Kr(ae))break;ve=ae,M=ge}p(ee,ee.source,ee.text)}if(it(w)){let Z=0,M=(ie=(B=w.raws)==null?void 0:B.selector)==null?void 0:ie.raw;d(w,M,Z),Z+=(te=M==null?void 0:M.length)!=null?te:w.selector.length;let ee=(he=w.raws)==null?void 0:he.between;d(w,ee,Z)}if(Oe(w)){let Z=w.name.length+1,M=(fe=w.raws)==null?void 0:fe.afterName;d(w,M,Z),Z+=(oe=M==null?void 0:M.length)!=null?oe:0;let ee=(Ue=(Fe=w.raws)==null?void 0:Fe.params)==null?void 0:Ue.raw;d(w,ee,Z),Z+=(At=ee==null?void 0:ee.length)!=null?At:w.params.length;let ve=(Ve=w.raws)==null?void 0:Ve.between;d(w,ve,Z)}if(to(w)){let Z=w.prop.length,M=(Y=w.raws)==null?void 0:Y.between;d(w,M,Z),Z+=(H=M==null?void 0:M.length)!=null?H:0;let ee=(W=(R=w.raws)==null?void 0:R.value)==null?void 0:W.raw;d(w,ee,Z)}}),t;function a(w,k,S){if(k.start){let E=k.start.line,C=v(S);for(let L of m(Cm,S))l(w,E,L,C)}}function s(w,k,S){if(k.end){let E=k.end.line,C=v(S);for(let L of m(zm,S))l(w,E+1,L,C)}}function l(w,k,S,E){if(f(Mt))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Mt)for(let C of Object.keys(r)){if(f(C))continue;let L=C===Mt;h(w,k,C,L,E),b(k,C,L)}else{if(f(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});h(w,k,S,!0,E),b(k,S,!0)}}function u(w,k,S){let E=v(S);for(let C of m(Sm,S)){let L=C===Mt;if(f(C))throw w.error(L?"All rules have already been disabled":`"${C}" has already been disabled`,{plugin:"stylelint"});if(k.start){let N=k.start.line;if(L)for(let B of Object.keys(r))h(w,N,B,B===Mt,E);else h(w,N,C,!0,E)}}}function c(w,k,S){var E;for(let C of m(Am,S)){let L=(E=k.end)==null?void 0:E.line;if(zc(L),C===Mt){if(Object.values(r).every(N=>{if(N.length===0)return!0;let B=N[N.length-1];return B&&typeof B.end=="number"}))throw w.error("No rules have been disabled",{plugin:"stylelint"});for(let[N,B]of Object.entries(r)){let ie=B[B.length-1];(!ie||!ie.end)&&b(L,N,N===Mt)}continue}if(f(Mt)&&r[C]===void 0){r[C]=n.map(({start:N,end:B,description:ie})=>xv(w,N,!1,ie,B,!1)),b(L,C,!0);continue}if(f(C)){b(L,C,!0);continue}throw w.error(`"${C}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&St({css:k}).forEach(E=>{if(!Ih(E))return;let[,C,L,N]=E,B=w.rangeBy({index:L+S,endIndex:N+1+S});p(w,B,C.slice(2,-2).trim())})}function p(w,k,S){if(k&&ji(S,o))switch(fE(S,o)){case Cm:a(w,k,S);break;case zm:s(w,k,S);break;case Sm:u(w,k,S);break;case Am:c(w,k,S);break}}function m(w,k){let S=oq(w,o),E=k.slice(S.length).split(/\s-{2,}\s/u)[0];eo(E);let C=E.trim().split(",").filter(Boolean).map(L=>L.trim());return C.length===0?[Mt]:C}function v(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function h(w,k,S,E,C){let L=xv(w,k,E,C);g(S);let N=r[S];$e(N),N.push(L)}function b(w,k,S){let E=r[k],C=E?E[E.length-1]:null;C&&(C.end=w,C.strictEnd=S)}function g(w){r[w]||(r[w]=n.map(({node:k,start:S,end:E,description:C})=>xv(k,S,!1,C,E,!1)))}function f(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}Aw();Er();function yK(){return[]}function wK(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var Sv=new Map;function kK(e,t,r){let n=Sv.has(e)?Sv.get(e):yK(e);Sv.set(e,n),r.warn(wK(e,n),{severity:Jr,rule:e,node:t,index:0})}var hA={enabled:!1};async function xK(e,t,r){var p,m,v,h;let{abortSignal:n}=e;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let i=t.root;if(!("type"in i))throw new Error("Unexpected Postcss root object!");let o=(p=i.source)==null?void 0:p.input.css.match(/\r?\n/),a=o?o[0]:`
|
|
38
|
+
`,s={configurationComment:r.configurationComment||vd,newline:a};vK(i,t);let l=i&&i.constructor.name==="Document"?i.nodes:[i],u=[],c;if(r.rules){let b=new Map(Object.keys(ix).map((g,f)=>[g,f]));c=Object.keys(r.rules).sort((g,f)=>{var x,w;return((x=b.get(g))!=null?x:-1)-((w=b.get(f))!=null?w:-1)})}else c=[];let d=await Promise.all(c.map(async b=>{let g=await A6(b,r);return[b,g]}));for(let[b,g]of d){if(g===void 0){u.push(Promise.all(l.map(B=>kK(b,B,t))));continue}let f=(m=r.rules)==null?void 0:m[b];if(f===null||f[0]===null)continue;(v=g.meta)!=null&&v.deprecated&&!e.quietDeprecationWarnings&&CK(t,b);let x=f[0],w=f[1],k=r.defaultSeverity||zw;t.stylelint.ruleSeverities[b]=w&&w.severity||k,t.stylelint.customMessages[b]=w&&w.message,t.stylelint.customUrls[b]=w&&w.url,t.stylelint.ruleMetadata[b]=g.meta||{};let S=((h=g.meta)==null?void 0:h.fixable)&&!e.quietDeprecationWarnings,E=(w==null?void 0:w.disableFix)!==!0&&r.fix&&SK(t,b),C={...s,get fix(){return S&&Mc("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${b}" instead.`),E}},L=g(x,w,C);async function N(B){return hA.enabled?hA.time(b,()=>L(B,t))():L(B,t)}u.push(Promise.all(l.map(N)).then(B=>{if(n!=null&&n.aborted)throw n.reason;return B}))}return Promise.all(u)}function SK({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Mt])!=null&&r.length)&&!e[t]}function CK(e,t){let r=`The "${t}" rule is deprecated.`;Mc(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var zK=()=>{};Er();Er();function AK({rule:e,message:t,severity:r,node:n,postcssResult:i}){let{source:o}=n;if(o!=null&&o.start)switch(i.warn(t,{rule:e,severity:r,node:n,start:o.start,end:o.end}),r){case Jr:i.stylelint.stylelintError=!0;break;case dm:i.stylelint.stylelintWarning=!0;break;default:break}}function NK(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=>fA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&fA(r[i])&&AK({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Jr,node:a.node,postcssResult:e})}function fA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var EK=()=>{};async function PK(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let{abortSignal:r}=t;if(r!=null&&r.aborted)throw r.reason;let n=t.code!==void 0,i=n?t.codeFilename:t.filePath;if(i!==void 0&&!Jm(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));let o=await gK(e,i).catch(p=>{if(n&&bK(p))return!1;throw p});if(r!=null&&r.aborted)throw r.reason;if(o)return t.existingPostcssResult,void 0;let a=await N6({stylelint:e,searchPath:i,filePath:i});if(r!=null&&r.aborted)throw r.reason;if(!a)return Promise.reject(new Error("Config file not found"));let s=a.config,l=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(s),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let u=l||await pK(e,{code:t.code,codeFilename:t.codeFilename,filePath:i,customSyntax:s._resolvedCustomSyntax});if(r!=null&&r.aborted)throw r.reason;let c=await hK(s);if(r!=null&&r.aborted)throw r.reason;let d=Object.assign(u,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:IF(s),referenceRoots:c}});if(await xK(e._options,d,s),r==null?void 0:r.aborted)throw r.reason;return NK(d),zK(d),fK(d),lK(d),EK(d),d}Er();function gA({results:e,maxWarnings:t,formatter:r,cwd:n}){let i=!1;for(let a of e)(a.errored||a.parseErrors.length>0||a.warnings.some(s=>s.severity===Jr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:IK(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 IK(e){var r;let t={};for(let n of e){let i=(r=n._postcssResult)==null?void 0:r.stylelint.ruleMetadata;i!==void 0&&Object.assign(t,i)}return t}async function OK({stylelint:e,name:t,default:r=void 0}){var o,a,s,l,u;let n=e._options,i=(a=n[t])!=null?a:(o=n.config)==null?void 0:o[t];return(u=i!=null?i:(l=(s=await N6({stylelint:e,failIfNoConfig:!1}))==null?void 0:s.config)==null?void 0:l[t])!=null?u:r}var FK=QG("stylelint:standalone"),jK=["**/node_modules/**"];async function P6({abortSignal:e,allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,code:o,codeFilename:a,config:s,configBasedir:l,configFile:u,customSyntax:c,cwd:d=nx.cwd(),disableDefaultIgnores:p,files:m,fix:v,computeEditInfo:h,formatter:b,_defaultFormatter:g,globbyOptions:f,ignoreDisables:x,ignorePath:w,ignorePattern:k,maxWarnings:S,quiet:E,quietDeprecationWarnings:C=!1,reportDescriptionlessDisables:L,reportInvalidScopeDisables:N,reportNeedlessDisables:B,reportUnscopedDisables:ie,suppressAll:te,suppressRule:he,suppressLocation:fe,validate:oe=!0}){var R,W;let Fe=Date.now(),Ue=!m&&$(o);if(!(m&&!$(o)||Ue))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let At;try{At=iK({cwd:d,ignorePath:w,ignorePattern:k})}catch(Z){return Promise.reject(Z)}let Ve=GG({allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,config:s,configFile:u,configBasedir:l,cwd:d,formatter:b,_defaultFormatter:g,ignoreDisables:x,ignorePath:w,reportNeedlessDisables:B,reportInvalidScopeDisables:N,reportDescriptionlessDisables:L,reportUnscopedDisables:ie,maxWarnings:S,customSyntax:c,fix:v,computeEditInfo:h,quiet:E,quietDeprecationWarnings:C,validate:oe}),Y=await sK(Ve),H=await OK({stylelint:Ve,name:"maxWarnings",default:S});if(!m){eo(o);let Z=a!==void 0&&!Jm(a)?Sw(d,a):a;if(Z&&(!KG(At,[Cw(d,Z)]).length||!p&&YG.isMatch(Z,jK,{dot:!0})))return gA({results:[],maxWarnings:H,quietDeprecationWarnings:C,formatter:Y,cwd:d});let M,ee;try{if(e!=null&&e.aborted)throw e.reason;let ge=await PK(Ve,{code:o,codeFilename:Z,abortSignal:e});if((W=(R=E6(Ve._options.fix))!=null?R:s==null?void 0:s.fix)!=null&&W&&!ge.stylelint.ignored&&(ee=ge.root.toString(ge.opts.syntax),o!==ee&&(ge.stylelint.autofixed=!0)),e==null?void 0:e.aborted)throw e.reason;M=C6(ge)}catch(ge){M=TK(ge)}await DK(Ve,M,Z);let ve=gA({results:[M],maxWarnings:H,quietDeprecationWarnings:C,formatter:Y,cwd:d});return ee!==void 0&&(ve.code=ee),ve}}function TK(e){if(e instanceof Error&&e.name==="CssSyntaxError")return C6(void 0,e);throw e}async function DK(){}Object.assign(globalThis,{stylelint:{lint:P6}});})();
|