/*!= Stylelint v14.9.1 bundle =*/ (()=>{"use strict";function e(e,t){if(null==e)return{};var s,r,i={},n=Object.keys(e);for(r=0;r=0||(i[s]=e[s]);return i}function t(){return(t=Object.assign||function(e){for(var t=1;t(function e(t,s,r){function i(o,a){if(!s[o]){if(!t[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(n)return n(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=s[o]={exports:{}};t[o][0].call(c.exports,e=>i(t[o][1][e]||e),c,c.exports,e,t,s,r)}return s[o].exports}for(var n="function"==typeof require&&require,o=0;o{},{}],2:[(e,t,s)=>{Object.defineProperty(s,"__esModule",{value:!0});var r,i=(r=e("postcss-selector-parser"))&&"object"==typeof r&&"default"in r?r:{default:r};function n(e){if(!e)return{a:0,b:0,c:0};let t=0,s=0,r=0;if("universal"==e.type)return{a:0,b:0,c:0};if("id"===e.type)t+=1;else if("tag"===e.type)r+=1;else if("class"===e.type)s+=1;else if("attribute"===e.type)s+=1;else if((e=>i.default.isPseudoElement(e))(e))r+=1;else if(i.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-moz-any":case":-webkit-any":case":any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){const i=o(e.nodes);t+=i.a,s+=i.b,r+=i.c}break;case":where":break;case":nth-child":case":nth-last-child":if(s+=1,e.nodes&&e.nodes.length>0){const n=e.nodes[0].nodes.findIndex(e=>"tag"===e.type&&"of"===e.value.toLowerCase());if(n>-1){const a=[i.default.selector({nodes:e.nodes[0].nodes.slice(n+1),value:""})];e.nodes.length>1&&a.push(...e.nodes.slice(1));const l=o(a);t+=l.a,s+=l.b,r+=l.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(e=>{const i=n(e);t+=i.a,s+=i.b,r+=i.c});break;default:s+=1}else i.default.isContainer(e)&&e.nodes.length>0&&e.nodes.forEach(e=>{const i=n(e);t+=i.a,s+=i.b,r+=i.c});return{a:t,b:s,c:r}}function o(e){let t={a:0,b:0,c:0};return e.forEach(e=>{const s=n(e);s.a>t.a?t=s:s.at.b?t=s:s.bt.c&&(t=s))}),t}s.compare=((e,t)=>e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a),s.selectorSpecificity=n},{"postcss-selector-parser":29}],3:[function(e,t,s){arguments[4][1][0].apply(s,arguments)},{dup:1}],4:[(e,t,s)=>{const r=e("is-regexp"),i={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};t.exports=((e,t={})=>{if(!r(e))throw new TypeError("Expected a RegExp instance");const s=Object.keys(i).map(s=>("boolean"==typeof t[s]?t[s]:e[s])?i[s]:"").join(""),n=new RegExp(t.source||e.source,s);return n.lastIndex="number"==typeof t.lastIndex?t.lastIndex:e.lastIndex,n})},{"is-regexp":17}],5:[function(e,t,s){Object.defineProperty(s,"__esModule",{value:!0});var r={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=Math.pow(10,t)),Math.round(s*e)/s+0),o=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=1),e>s?s:e>t?e:t),a=e=>(e=isFinite(e)?e%360:0)>0?e:e+360,l=e=>({r:o(e.r,0,255),g:o(e.g,0,255),b:o(e.b,0,255),a:o(e.a)}),u=e=>({r:n(e.r),g:n(e.g),b:n(e.b),a:n(e.a,3)}),c=/^#([0-9a-f]{3,8})$/i,d=e=>{var t=e.toString(16);return t.length<2?"0"+t:t},p=e=>{var t=e.r,s=e.g,r=e.b,i=e.a,n=Math.max(t,s,r),o=n-Math.min(t,s,r),a=o?n===t?(s-r)/o:n===s?2+(r-t)/o:4+(t-s)/o:0;return{h:60*(a<0?a+6:a),s:n?o/n*100:0,v:n/255*100,a:i}},f=e=>{var t=e.h,s=e.s,r=e.v,i=e.a;t=t/360*6,s/=100,r/=100;var n=Math.floor(t),o=r*(1-s),a=r*(1-(t-n)*s),l=r*(1-(1-t+n)*s),u=n%6;return{r:255*[r,a,o,o,l,r][u],g:255*[l,r,r,a,o,o][u],b:255*[o,o,l,r,r,a][u],a:i}},m=e=>({h:a(e.h),s:o(e.s,0,100),l:o(e.l,0,100),a:o(e.a)}),h=e=>({h:n(e.h),s:n(e.s),l:n(e.l),a:n(e.a,3)}),g=e=>{return f((s=(t=e).s,{h:t.h,s:(s*=((r=t.l)<50?r:100-r)/100)>0?2*s/(r+s)*100:0,v:r+s,a:t.a}));var t,s,r},w=e=>{return{h:(t=p(e)).h,s:(i=(200-(s=t.s))*(r=t.v)/100)>0&&i<200?s*r/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,s,r,i},b=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k={string:[[e=>{var t=c.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:4===e.length?n(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?n(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[e=>{var t=x.exec(e)||v.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({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:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[e=>{var t=b.exec(e)||y.exec(e);if(!t)return null;var s,i,n=m({h:(s=t[1],i=t[2],void 0===i&&(i="deg"),Number(s)*(r[i]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return g(n)},"hsl"]],object:[[e=>{var t=e.r,s=e.g,r=e.b,n=e.a,o=void 0===n?1:n;return i(t)&&i(s)&&i(r)?l({r:Number(t),g:Number(s),b:Number(r),a:Number(o)}):null},"rgb"],[e=>{var t=e.h,s=e.s,r=e.l,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(s)||!i(r))return null;var a=m({h:Number(t),s:Number(s),l:Number(r),a:Number(o)});return g(a)},"hsl"],[e=>{var t=e.h,s=e.s,r=e.v,n=e.a,l=void 0===n?1:n;if(!i(t)||!i(s)||!i(r))return null;var u=(e=>({h:a(e.h),s:o(e.s,0,100),v:o(e.v,0,100),a:o(e.a)}))({h:Number(t),s:Number(s),v:Number(r),a:Number(l)});return f(u)},"hsv"]]},S=(e,t)=>{for(var s=0;s"string"==typeof e?S(e.trim(),k.string):"object"==typeof e&&null!==e?S(e,k.object):[null,void 0],C=(e,t)=>{var s=w(e);return{h:s.h,s:o(s.s+100*t,0,100),l:s.l,a:s.a}},M=e=>(299*e.r+587*e.g+114*e.b)/1e3/255,N=(e,t)=>{var s=w(e);return{h:s.h,s:s.s,l:o(s.l+100*t,0,100),a:s.a}},E=function(){function e(e){this.parsed=O(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return n(M(this.rgba),2)},e.prototype.isDark=function(){return M(this.rgba)<.5},e.prototype.isLight=function(){return M(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=u(this.rgba)).r,s=e.g,r=e.b,o=(i=e.a)<1?d(n(255*i)):"","#"+d(t)+d(s)+d(r)+o;var e,t,s,r,i,o},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){return t=(e=u(this.rgba)).r,s=e.g,r=e.b,(i=e.a)<1?"rgba("+t+", "+s+", "+r+", "+i+")":"rgb("+t+", "+s+", "+r+")";var e,t,s,r,i},e.prototype.toHsl=function(){return h(w(this.rgba))},e.prototype.toHslString=function(){return t=(e=h(w(this.rgba))).h,s=e.s,r=e.l,(i=e.a)<1?"hsla("+t+", "+s+"%, "+r+"%, "+i+")":"hsl("+t+", "+s+"%, "+r+"%)";var e,t,s,r,i},e.prototype.toHsv=function(){return e=p(this.rgba),{h:n(e.h),s:n(e.s),v:n(e.v),a:n(e.a,3)};var e},e.prototype.invert=function(){return R({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),R(C(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),R(C(this.rgba,-e))},e.prototype.grayscale=function(){return R(C(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),R(N(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),R(N(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?R({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):n(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=w(this.rgba);return"number"==typeof e?R({h:e,s:t.s,l:t.l,a:t.a}):n(t.h)},e.prototype.isEqual=function(e){return this.toHex()===R(e).toHex()},e}(),R=e=>e instanceof E?e:new E(e),I=[];s.Colord=E,s.colord=R,s.extend=(e=>{e.forEach(e=>{I.indexOf(e)<0&&(e(E,k),I.push(e))})}),s.getFormat=(e=>O(e)[1]),s.random=(()=>new E({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()}))},{}],6:[function(e,t,s){var r={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=Math.pow(10,t)),Math.round(s*e)/s+0),o=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=1),e>s?s:e>t?e:t),a=e=>{return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:o(e.w,0,100),b:o(e.b,0,100),a:o(e.a)};var t},l=e=>({h:n(e.h),w:n(e.w),b:n(e.b),a:n(e.a,3)}),u=e=>{return{h:(t=e,s=t.r,r=t.g,i=t.b,n=t.a,o=Math.max(s,r,i),a=o-Math.min(s,r,i),l=a?o===s?(r-i)/a:o===r?2+(i-s)/a:4+(s-r)/a:0,{h:60*(l<0?l+6:l),s:o?a/o*100:0,v:o/255*100,a:n}).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};var t,s,r,i,n,o,a,l},c=e=>(e=>{var t=e.h,s=e.s,r=e.v,i=e.a;t=t/360*6,s/=100,r/=100;var n=Math.floor(t),o=r*(1-s),a=r*(1-(t-n)*s),l=r*(1-(1-t+n)*s),u=n%6;return{r:255*[r,a,o,o,l,r][u],g:255*[l,r,r,a,o,o][u],b:255*[o,o,l,r,r,a][u],a:i}})({h:e.h,s:100===e.b?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a}),d=e=>{var t=e.h,s=e.w,r=e.b,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(s)||!i(r))return null;var l=a({h:Number(t),w:Number(s),b:Number(r),a:Number(o)});return c(l)},p=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,f=e=>{var t=p.exec(e);if(!t)return null;var s,i,n=a({h:(s=t[1],i=t[2],void 0===i&&(i="deg"),Number(s)*(r[i]||1)),w:Number(t[3]),b:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return c(n)};t.exports=function(e,t){e.prototype.toHwb=function(){return l(u(this.rgba))},e.prototype.toHwbString=function(){return t=(e=l(u(this.rgba))).h,s=e.w,r=e.b,(i=e.a)<1?"hwb("+t+" "+s+"% "+r+"% / "+i+")":"hwb("+t+" "+s+"% "+r+"%)";var e,t,s,r,i},t.string.push([f,"hwb"]),t.object.push([d,"hwb"])}},{}],7:[function(e,t,s){var r=e=>"string"==typeof e?e.length>0:"number"==typeof e,i=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=Math.pow(10,t)),Math.round(s*e)/s+0),n=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=1),e>s?s:e>t?e:t),o=e=>{var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},a=e=>255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e),l=96.422,u=82.521,c=216/24389,d=24389/27,p=e=>{var t=e.l,s=e.a,i=e.b,o=e.alpha,a=void 0===o?1:o;if(!r(t)||!r(s)||!r(i))return null;var l=(e=>({l:n(e.l,0,400),a:e.a,b:e.b,alpha:n(e.alpha)}))({l:Number(t),a:Number(s),b:Number(i),alpha:Number(a)});return f(l)},f=e=>{var t,s,r,i,o,p,f=(e.l+16)/116,m=e.a/500+f,h=f-e.b/200;return i=.9555766*(s=t={x:(Math.pow(m,3)>c?Math.pow(m,3):(116*m-16)/d)*l,y:100*(e.l>8?Math.pow((e.l+16)/116,3):e.l/d),z:(Math.pow(h,3)>c?Math.pow(h,3):(116*h-16)/d)*u,a:e.alpha}).x+-.0230393*s.y+.0631636*s.z,r={r:a(.032404542*i-.015371385*(o=-.0282895*s.x+1.0099416*s.y+.0210077*s.z)-.004985314*(p=.0122982*s.x+-.020483*s.y+1.3299098*s.z)),g:a(-.00969266*i+.018760108*o+41556e-8*p),b:a(556434e-9*i-.002040259*o+.010572252*p),a:t.a},{r:n(r.r,0,255),g:n(r.g,0,255),b:n(r.b,0,255),a:n(r.a)}};t.exports=function(e,t){e.prototype.toLab=function(){return e=this.rgba,m=(p=(e=>({x:n(e.x,0,l),y:n(e.y,0,100),z:n(e.z,0,u),a:n(e.a)}))((e=>({x:1.0478112*e.x+.0228866*e.y+-.050127*e.z,y:.0295424*e.x+.9904844*e.y+-.0170491*e.z,z:-.0092345*e.x+.0150436*e.y+.7521316*e.z,a:e.a}))({x:100*(.4124564*(t=o(e.r))+.3575761*(s=o(e.g))+.1804375*(r=o(e.b))),y:100*(.2126729*t+.7151522*s+.072175*r),z:100*(.0193339*t+.119192*s+.9503041*r),a:e.a}))).y/100,h=p.z/u,f=(f=p.x/l)>c?Math.cbrt(f):(d*f+16)/116,a={l:116*(m=m>c?Math.cbrt(m):(d*m+16)/116)-16,a:500*(f-m),b:200*(m-(h=h>c?Math.cbrt(h):(d*h+16)/116)),alpha:p.a},{l:i(a.l,2),a:i(a.a,2),b:i(a.b,2),alpha:i(a.alpha,3)};var e,t,s,r,a,p,f,m,h},e.prototype.delta=function(t){void 0===t&&(t="#FFF");var s=t instanceof e?t:new e(t),r=((e,t)=>{var s=e.l,r=e.a,i=e.b,n=t.l,o=t.a,a=t.b,l=180/Math.PI,u=Math.PI/180,c=Math.pow(Math.pow(r,2)+Math.pow(i,2),.5),d=Math.pow(Math.pow(o,2)+Math.pow(a,2),.5),p=(s+n)/2,f=Math.pow((c+d)/2,7),m=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),h=r*(1+m),g=o*(1+m),w=Math.pow(Math.pow(h,2)+Math.pow(i,2),.5),b=Math.pow(Math.pow(g,2)+Math.pow(a,2),.5),y=(w+b)/2,x=0===h&&0===i?0:Math.atan2(i,h)*l,v=0===g&&0===a?0:Math.atan2(a,g)*l;x<0&&(x+=360),v<0&&(v+=360);var k=v-x,S=Math.abs(v-x);S>180&&v<=x?k+=360:S>180&&v>x&&(k-=360);var O=x+v;S<=180?O/=2:O=(x+v<360?O+360:O-360)/2;var C=1-.17*Math.cos(u*(O-30))+.24*Math.cos(2*u*O)+.32*Math.cos(u*(3*O+6))-.2*Math.cos(u*(4*O-63)),M=n-s,N=b-w,E=2*Math.sin(u*k/2)*Math.pow(w*b,.5),R=1+.015*Math.pow(p-50,2)/Math.pow(20+Math.pow(p-50,2),.5),I=1+.045*y,A=1+.015*y*C,P=30*Math.exp(-1*Math.pow((O-275)/25,2)),T=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*u*P);return Math.pow(Math.pow(M/1/R,2)+Math.pow(N/1/I,2)+Math.pow(E/1/A,2)+T*N*E/(1*I*1*A),.5)})(this.toLab(),s.toLab())/100;return n(i(r,3))},t.object.push([p,"lab"])}},{}],8:[function(e,t,s){var r={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=Math.pow(10,t)),Math.round(s*e)/s+0),o=(e,t,s)=>(void 0===t&&(t=0),void 0===s&&(s=1),e>s?s:e>t?e:t),a=e=>{var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},l=e=>255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e),u=96.422,c=82.521,d=216/24389,p=24389/27,f=e=>{return{l:o(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},m=e=>({l:n(e.l,2),c:n(e.c,2),h:n(e.h,2),a:n(e.a,3)}),h=e=>{var t=e.l,s=e.c,r=e.h,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(s)||!i(r))return null;var a=f({l:Number(t),c:Number(s),h:Number(r),a:Number(o)});return w(a)},g=e=>{var t,s,r,i,l,f,m,h,g=(f=(l=(e=>({x:o(e.x,0,u),y:o(e.y,0,100),z:o(e.z,0,c),a:o(e.a)}))((e=>({x:1.0478112*e.x+.0228866*e.y+-.050127*e.z,y:.0295424*e.x+.9904844*e.y+-.0170491*e.z,z:-.0092345*e.x+.0150436*e.y+.7521316*e.z,a:e.a}))({x:100*(.4124564*(s=a((t=e).r))+.3575761*(r=a(t.g))+.1804375*(i=a(t.b))),y:100*(.2126729*s+.7151522*r+.072175*i),z:100*(.0193339*s+.119192*r+.9503041*i),a:t.a}))).x/u,m=l.y/100,h=l.z/c,f=f>d?Math.cbrt(f):(p*f+16)/116,{l:116*(m=m>d?Math.cbrt(m):(p*m+16)/116)-16,a:500*(f-m),b:200*(m-(h=h>d?Math.cbrt(h):(p*h+16)/116)),alpha:l.a}),w=n(g.a,3),b=n(g.b,3),y=Math.atan2(b,w)/Math.PI*180;return{l:g.l,c:Math.sqrt(w*w+b*b),h:y<0?y+360:y,a:g.alpha}},w=e=>{return h=(f={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}).a/500+(m=(f.l+16)/116),g=m-f.b/200,i=.9555766*(s=t={x:(Math.pow(h,3)>d?Math.pow(h,3):(116*h-16)/p)*u,y:100*(f.l>8?Math.pow((f.l+16)/116,3):f.l/p),z:(Math.pow(g,3)>d?Math.pow(g,3):(116*g-16)/p)*c,a:f.alpha}).x+-.0230393*s.y+.0631636*s.z,r={r:l(.032404542*i-.015371385*(n=-.0282895*s.x+1.0099416*s.y+.0210077*s.z)-.004985314*(a=.0122982*s.x+-.020483*s.y+1.3299098*s.z)),g:l(-.00969266*i+.018760108*n+41556e-8*a),b:l(556434e-9*i-.002040259*n+.010572252*a),a:t.a},{r:o(r.r,0,255),g:o(r.g,0,255),b:o(r.b,0,255),a:o(r.a)};var t,s,r,i,n,a,f,m,h,g},b=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=e=>{var t=b.exec(e);if(!t)return null;var s,i,n=f({l:Number(t[1]),c:Number(t[2]),h:(s=t[3],i=t[4],void 0===i&&(i="deg"),Number(s)*(r[i]||1)),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return w(n)};t.exports=function(e,t){e.prototype.toLch=function(){return m(g(this.rgba))},e.prototype.toLchString=function(){return t=(e=m(g(this.rgba))).l,s=e.c,r=e.h,(i=e.a)<1?"lch("+t+"% "+s+" "+r+" / "+i+")":"lch("+t+"% "+s+" "+r+")";var e,t,s,r,i},t.string.push([y,"lch"]),t.object.push([h,"lch"])}},{}],9:[function(e,t,s){t.exports=function(e,t){var s={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"},r={};for(var i in s)r[s[i]]=i;var n={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var i,o,a=r[this.toHex()];if(a)return a;if(null==t?void 0:t.closest){var l=this.toRgb(),u=1/0,c="black";if(!n.length)for(var d in s)n[d]=new e(s[d]).toRgb();for(var p in s){var f=(i=l,o=n[p],Math.pow(i.r-o.r,2)+Math.pow(i.g-o.g,2)+Math.pow(i.b-o.b,2));f{var r=t.toLowerCase(),i="transparent"===r?"#0000":s[r];return i?new e(i).toRgb():null},"name"])}},{}],10:[(e,t,s)=>{var r={}.hasOwnProperty,i=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function e(t,s){"single"!=(s=((e,t)=>{if(!e)return t;var s={};for(var i in t)s[i]=r.call(e,i)?e[i]:t[i];return s})(s,e.options)).quotes&&"double"!=s.quotes&&(s.quotes="single");for(var a="double"==s.quotes?'"':"'",l=s.isIdentifier,u=t.charAt(0),c="",d=0,p=t.length;d126){if(m>=55296&&m<=56319&&dt&&t.length%2?e:(t||"")+s),!l&&s.wrap?a+c+a:c};a.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},a.version="3.0.0",t.exports=a},{}],11:[(e,t,s)=>{const r=e("clone-regexp");t.exports=((e,t)=>{let s;const i=[],n=r(e,{lastIndex:0}),o=n.global;for(;(s=n.exec(t))&&(i.push({match:s[0],subMatches:s.slice(1),index:s.index}),o););return i})},{"clone-regexp":4}],12:[(e,t,s)=>{s.__esModule=!0,s.distance=s.closest=void 0;var r=new Uint32Array(65536),i=(e,t)=>{if(e.length{for(var s=e.length,i=t.length,n=1<{for(var s=t.length,i=e.length,n=[],o=[],a=Math.ceil(s/32),l=Math.ceil(i/32),u=0;u>>u&1,b=g|d,y=p&(M=((g|(C=n[u/32|0]>>>u&1))&p)+p^p|g|C);(N=d|~(M|p))>>>31^w&&(o[u/32|0]^=1<>>31^C&&(n[u/32|0]^=1<>>u&1,b=g|x,O+=(N=x|~((M=((g|(C=n[u/32|0]>>>u&1))&v)+v^v|g|C)|v))>>>i-1&1,O-=(y=v&M)>>>i-1&1,N>>>31^w&&(o[u/32|0]^=1<>>31^C&&(n[u/32|0]^=1<{for(var s=1/0,r=0,n=0;n{t.exports=["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","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","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"]},{}],14:[(e,t,s)=>{t.exports=e("./html-tags.json")},{"./html-tags.json":13}],15:[function(e,t,s){(function(e){(function(){function s(e){return Array.isArray(e)?e:[e]}const r=/^\s+$/,i=/^\\!/,n=/^\\#/,o=/\r?\n/g,a=/^\.*\/|^\.+$/,l="undefined"!=typeof Symbol?Symbol.for("node-ignore"):"node-ignore",u=/([0-z])-([0-z])/g,c=()=>!1,d=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,s)=>t+6`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,s,r,i)=>"\\"===t?`\\[${s}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(r)}${i}`:"]"===i&&r.length%2==0?`[${(e=>e.replace(u,(e,t,s)=>t.charCodeAt(0)<=s.charCodeAt(0)?e:""))(s)}${r}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],p=Object.create(null),f=e=>"string"==typeof e,m=(e,t)=>{const s=e;let r=!1;return 0===e.indexOf("!")&&(r=!0,e=e.substr(1)),new class{constructor(e,t,s,r){this.origin=e,this.pattern=t,this.negative=s,this.regex=r}}(s,e=e.replace(i,"!").replace(n,"#"),r,((e,t)=>{let s=p[e];return s||(s=d.reduce((t,s)=>t.replace(s[0],s[1].bind(e)),e),p[e]=s),t?new RegExp(s,"i"):new RegExp(s)})(e,t))},h=(e,t)=>{throw new t(e)},g=(e,t,s)=>f(e)?e?!g.isNotRelative(e)||s(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):s("path must not be empty",TypeError):s(`path must be a string, but got \`${t}\``,TypeError),w=e=>a.test(e);g.isNotRelative=w,g.convert=(e=>e);const b=e=>new class{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:s=!1}={}){((e,t,s)=>Object.defineProperty(e,t,{value:s}))(this,l,!0),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=s,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[l])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&f(e)&&!r.test(e)&&0!==e.indexOf("#"))(e)){const t=m(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,s(f(e)?(e=>e.split(o))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let s=!1,r=!1;return this._rules.forEach(i=>{const{negative:n}=i;r===n&&s!==r||n&&!s&&!r&&!t||i.regex.test(e)&&(s=!n,r=n)}),{ignored:s,unignored:r}}_test(e,t,s,r){const i=e&&g.convert(e);return g(i,e,this._allowRelativePaths?c:h),this._t(i,t,s,r)}_t(e,t,s,r){if(e in t)return t[e];if(r||(r=e.split("/")),r.pop(),!r.length)return t[e]=this._testOne(e,s);const i=this._t(r.join("/")+"/",t,s,r);return t[e]=i.ignored?i:this._testOne(e,s)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return s(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}(e);if(b.isPathValid=(e=>g(e&&g.convert(e),e,c)),b.default=b,t.exports=b,void 0!==e&&(e.env&&e.env.IGNORE_TEST_WIN32||"win32"===e.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");g.convert=e;const t=/^[a-z]:\//i;g.isNotRelative=(e=>t.test(e)||w(e))}}).call(this)}).call(this,e("_process"))},{_process:91}],16:[(e,t,s)=>{function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(s,"__esModule",{value:!0}),s.isPlainObject=(e=>{var t,s;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(s=t.prototype)&&!1!==s.hasOwnProperty("isPrototypeOf"))})},{}],17:[(e,t,s)=>{t.exports=(e=>"[object RegExp]"===Object.prototype.toString.call(e))},{}],18:[(e,t,s)=>{t.exports={properties:["-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","-internal-text-autosizing-status","accelerator","accent-color","-wap-accesskey","additive-symbols","align-content","-webkit-align-content","align-items","-webkit-align-items","align-self","-webkit-align-self","alignment-baseline","all","alt","-webkit-alt","animation","animation-delay","-moz-animation-delay","-ms-animation-delay","-webkit-animation-delay","animation-direction","-moz-animation-direction","-ms-animation-direction","-webkit-animation-direction","animation-duration","-moz-animation-duration","-ms-animation-duration","-webkit-animation-duration","animation-fill-mode","-moz-animation-fill-mode","-ms-animation-fill-mode","-webkit-animation-fill-mode","animation-iteration-count","-moz-animation-iteration-count","-ms-animation-iteration-count","-webkit-animation-iteration-count","-moz-animation","-ms-animation","animation-name","-moz-animation-name","-ms-animation-name","-webkit-animation-name","animation-play-state","-moz-animation-play-state","-ms-animation-play-state","-webkit-animation-play-state","animation-timing-function","-moz-animation-timing-function","-ms-animation-timing-function","-webkit-animation-timing-function","-webkit-animation-trigger","-webkit-animation","app-region","-webkit-app-region","appearance","-moz-appearance","-webkit-appearance","ascent-override","aspect-ratio","-webkit-aspect-ratio","audio-level","azimuth","backdrop-filter","-webkit-backdrop-filter","backface-visibility","-moz-backface-visibility","-ms-backface-visibility","-webkit-backface-visibility","background","background-attachment","-webkit-background-attachment","background-blend-mode","background-clip","-moz-background-clip","-webkit-background-clip","background-color","-webkit-background-color","-webkit-background-composite","background-image","-webkit-background-image","-moz-background-inline-policy","background-origin","-moz-background-origin","-webkit-background-origin","background-position","-webkit-background-position","background-position-x","-webkit-background-position-x","background-position-y","-webkit-background-position-y","background-repeat","-webkit-background-repeat","background-repeat-x","background-repeat-y","background-size","-moz-background-size","-webkit-background-size","-webkit-background","base-palette","baseline-shift","baseline-source","behavior","-moz-binding","block-ellipsis","-ms-block-progression","block-size","block-step","block-step-align","block-step-insert","block-step-round","block-step-size","bookmark-label","bookmark-level","bookmark-state","border","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-webkit-border-before-color","-webkit-border-before-style","-webkit-border-before","-webkit-border-before-width","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","-moz-border-bottom-colors","border-bottom-left-radius","-webkit-border-bottom-left-radius","border-bottom-right-radius","-webkit-border-bottom-right-radius","border-bottom-style","border-bottom-width","border-boundary","border-collapse","border-color","-moz-border-end-color","-webkit-border-end-color","border-end-end-radius","-moz-border-end","border-end-start-radius","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-webkit-border-horizontal-spacing","border-image","-moz-border-image","-o-border-image","border-image-outset","-webkit-border-image-outset","border-image-repeat","-webkit-border-image-repeat","border-image-slice","-webkit-border-image-slice","border-image-source","-webkit-border-image-source","-webkit-border-image","border-image-width","-webkit-border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","-moz-border-left-colors","border-left-style","border-left-width","border-radius","-moz-border-radius-bottomleft","-moz-border-radius-bottomright","-moz-border-radius","-moz-border-radius-topleft","-moz-border-radius-topright","-webkit-border-radius","border-right","border-right-color","-moz-border-right-colors","border-right-style","border-right-width","border-spacing","-moz-border-start-color","-webkit-border-start-color","border-start-end-radius","-moz-border-start","border-start-start-radius","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","border-style","border-top","border-top-color","-moz-border-top-colors","border-top-left-radius","-webkit-border-top-left-radius","border-top-right-radius","-webkit-border-top-right-radius","border-top-style","border-top-width","-webkit-border-vertical-spacing","border-width","bottom","-moz-box-align","-webkit-box-align","box-decoration-break","-webkit-box-decoration-break","-moz-box-direction","-webkit-box-direction","-webkit-box-flex-group","-moz-box-flex","-webkit-box-flex","-webkit-box-lines","-moz-box-ordinal-group","-webkit-box-ordinal-group","-moz-box-orient","-webkit-box-orient","-moz-box-pack","-webkit-box-pack","-webkit-box-reflect","box-shadow","-moz-box-shadow","-webkit-box-shadow","box-sizing","-moz-box-sizing","-webkit-box-sizing","box-snap","break-after","break-before","break-inside","buffered-rendering","caption-side","caret","caret-color","caret-shape","chains","clear","clip","clip-path","-webkit-clip-path","clip-rule","color","color-adjust","-webkit-color-correction","-apple-color-filter","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","-webkit-column-axis","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","column-count","-moz-column-count","-webkit-column-count","column-fill","-moz-column-fill","-webkit-column-fill","column-gap","-moz-column-gap","-webkit-column-gap","column-progression","-webkit-column-progression","column-rule","column-rule-color","-moz-column-rule-color","-webkit-column-rule-color","-moz-column-rule","column-rule-style","-moz-column-rule-style","-webkit-column-rule-style","-webkit-column-rule","column-rule-width","-moz-column-rule-width","-webkit-column-rule-width","column-span","-moz-column-span","-webkit-column-span","column-width","-moz-column-width","-webkit-column-width","columns","-moz-columns","-webkit-columns","-webkit-composition-fill-color","-webkit-composition-frame-color","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","-ms-content-zoom-chaining","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-limit","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-content-zooming","continue","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","-webkit-cursor-visibility","cx","cy","d","-apple-dashboard-region","-webkit-dashboard-region","descent-override","direction","display","display-align","dominant-baseline","elevation","empty-cells","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","fallback","fill","fill-break","fill-color","fill-image","fill-opacity","fill-origin","fill-position","fill-repeat","fill-rule","fill-size","filter","-ms-filter","-webkit-filter","flex","-ms-flex-align","-webkit-flex-align","flex-basis","-webkit-flex-basis","flex-direction","-ms-flex-direction","-webkit-flex-direction","flex-flow","-ms-flex-flow","-webkit-flex-flow","flex-grow","-webkit-flex-grow","-ms-flex-item-align","-webkit-flex-item-align","-ms-flex-line-pack","-webkit-flex-line-pack","-ms-flex","-ms-flex-negative","-ms-flex-order","-webkit-flex-order","-ms-flex-pack","-webkit-flex-pack","-ms-flex-positive","-ms-flex-preferred-size","flex-shrink","-webkit-flex-shrink","-webkit-flex","flex-wrap","-ms-flex-wrap","-webkit-flex-wrap","float","float-defer","-moz-float-edge","float-offset","float-reference","flood-color","flood-opacity","flow","flow-from","-ms-flow-from","-webkit-flow-from","flow-into","-ms-flow-into","-webkit-flow-into","font","font-display","font-family","font-feature-settings","-moz-font-feature-settings","-ms-font-feature-settings","-webkit-font-feature-settings","font-kerning","-webkit-font-kerning","font-language-override","-moz-font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","-webkit-font-size-delta","-webkit-font-smoothing","font-stretch","font-style","font-synthesis","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","-webkit-font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","footnote-display","footnote-policy","-moz-force-broken-image-icon","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","-webkit-grid-after","grid-area","grid-auto-columns","-webkit-grid-auto-columns","grid-auto-flow","-webkit-grid-auto-flow","grid-auto-rows","-webkit-grid-auto-rows","-webkit-grid-before","grid-column","-ms-grid-column-align","grid-column-end","grid-column-gap","-ms-grid-column","-ms-grid-column-span","grid-column-start","-webkit-grid-column","-ms-grid-columns","-webkit-grid-columns","-webkit-grid-end","grid-gap","grid-row","-ms-grid-row-align","grid-row-end","grid-row-gap","-ms-grid-row","-ms-grid-row-span","grid-row-start","-webkit-grid-row","-ms-grid-rows","-webkit-grid-rows","-webkit-grid-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","-ms-high-contrast-adjust","-webkit-highlight","hyphenate-character","-webkit-hyphenate-character","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","hyphenate-limit-chars","-ms-hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","-ms-hyphenate-limit-lines","-webkit-hyphenate-limit-lines","hyphenate-limit-zone","-ms-hyphenate-limit-zone","hyphens","-moz-hyphens","-ms-hyphens","-webkit-hyphens","image-orientation","-moz-image-region","image-rendering","image-resolution","-ms-ime-align","ime-mode","inherits","initial-letter","initial-letter-align","-webkit-initial-letter","initial-letter-wrap","initial-value","inline-size","inline-sizing","input-format","-wap-input-format","-wap-input-required","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","-ms-interpolation-mode","isolation","justify-content","-webkit-justify-content","justify-items","-webkit-justify-items","justify-self","-webkit-justify-self","kerning","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","leading-trim","left","letter-spacing","lighting-color","-webkit-line-align","-webkit-line-box-contain","line-break","-webkit-line-break","line-clamp","-webkit-line-clamp","line-gap-override","line-grid","-webkit-line-grid-snap","-webkit-line-grid","line-height","line-height-step","line-increment","line-padding","line-snap","-webkit-line-snap","-o-link","-o-link-source","list-style","list-style-image","list-style-position","list-style-type","-webkit-locale","-webkit-logical-height","-webkit-logical-width","margin","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","margin-block","margin-block-end","margin-block-start","margin-bottom","-webkit-margin-bottom-collapse","margin-break","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","-moz-margin-start","-webkit-margin-start","margin-top","-webkit-margin-top-collapse","margin-trim","marker","marker-end","marker-knockout-left","marker-knockout-right","marker-mid","marker-offset","marker-pattern","marker-segment","marker-side","marker-start","marks","-wap-marquee-dir","-webkit-marquee-direction","-webkit-marquee-increment","-wap-marquee-loop","-webkit-marquee-repetition","-wap-marquee-speed","-webkit-marquee-speed","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","mask","-webkit-mask-attachment","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image","-webkit-mask-box-image-width","mask-clip","-webkit-mask-clip","mask-composite","-webkit-mask-composite","mask-image","-webkit-mask-image","mask-mode","mask-origin","-webkit-mask-origin","mask-position","-webkit-mask-position","mask-position-x","-webkit-mask-position-x","mask-position-y","-webkit-mask-position-y","mask-repeat","-webkit-mask-repeat","-webkit-mask-repeat-x","-webkit-mask-repeat-y","mask-size","-webkit-mask-size","mask-source-type","-webkit-mask-source-type","mask-type","-webkit-mask","-webkit-match-nearest-mail-blockquote-color","math-style","max-block-size","max-height","max-inline-size","max-lines","-webkit-max-logical-height","-webkit-max-logical-width","max-width","max-zoom","min-block-size","min-height","min-inline-size","min-intrinsic-sizing","-webkit-min-logical-height","-webkit-min-logical-width","min-width","min-zoom","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","-webkit-nbsp-mode","negative","object-fit","-o-object-fit","object-overflow","object-position","-o-object-position","object-view-box","offset","offset-anchor","offset-block-end","offset-block-start","offset-distance","offset-inline-end","offset-inline-start","offset-path","offset-position","offset-rotate","offset-rotation","opacity","-moz-opacity","-webkit-opacity","order","-webkit-order","-moz-orient","orientation","orphans","-moz-osx-font-smoothing","outline","outline-color","-moz-outline-color","-moz-outline","outline-offset","-moz-outline-offset","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius","-moz-outline-radius-topleft","-moz-outline-radius-topright","outline-style","-moz-outline-style","outline-width","-moz-outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","-webkit-overflow-scrolling","-ms-overflow-style","overflow-wrap","overflow-x","overflow-y","override-colors","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","pad","padding","-webkit-padding-after","-webkit-padding-before","padding-block","padding-block-end","padding-block-start","padding-bottom","-moz-padding-end","-webkit-padding-end","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","-moz-padding-start","-webkit-padding-start","padding-top","page","page-break-after","page-break-before","page-break-inside","page-orientation","paint-order","pause","pause-after","pause-before","-apple-pay-button-style","-apple-pay-button-type","pen-action","perspective","-moz-perspective","-ms-perspective","perspective-origin","-moz-perspective-origin","-ms-perspective-origin","-webkit-perspective-origin","perspective-origin-x","-webkit-perspective-origin-x","perspective-origin-y","-webkit-perspective-origin-y","-webkit-perspective","pitch","pitch-range","place-content","place-items","place-self","play-during","pointer-events","position","prefix","print-color-adjust","-webkit-print-color-adjust","property-name","quotes","r","range","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","region-fragment","-webkit-region-fragment","-webkit-region-overflow","resize","rest","rest-after","rest-before","richness","right","rotate","row-gap","-webkit-rtl-ordering","ruby-align","ruby-merge","ruby-overhang","ruby-position","-webkit-ruby-position","running","rx","ry","scale","scroll-behavior","-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","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-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","-ms-scroll-rails","scroll-snap-align","scroll-snap-coordinate","-webkit-scroll-snap-coordinate","scroll-snap-destination","-webkit-scroll-snap-destination","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-snap-points-x","-ms-scroll-snap-points-x","-webkit-scroll-snap-points-x","scroll-snap-points-y","-ms-scroll-snap-points-y","-webkit-scroll-snap-points-y","scroll-snap-stop","scroll-snap-type","-ms-scroll-snap-type","-webkit-scroll-snap-type","scroll-snap-type-x","scroll-snap-type-y","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","scrollbar-arrow-color","scrollbar-base-color","scrollbar-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-gutter","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar-width","scrollbar3d-light-color","scrollbar3dlight-color","shape-image-threshold","-webkit-shape-image-threshold","shape-inside","-webkit-shape-inside","shape-margin","-webkit-shape-margin","shape-outside","-webkit-shape-outside","-webkit-shape-padding","shape-rendering","size","size-adjust","snap-height","solid-color","solid-opacity","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","src","-moz-stack-sizing","stop-color","stop-opacity","stress","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","suffix","supported-color-schemes","-webkit-svg-shadow","symbols","syntax","system","tab-size","-moz-tab-size","-o-tab-size","-o-table-baseline","table-layout","-webkit-tap-highlight-color","text-align","text-align-all","text-align-last","-moz-text-align-last","text-anchor","text-autospace","-moz-text-blink","-ms-text-combine-horizontal","text-combine-upright","-webkit-text-combine","text-decoration","text-decoration-blink","text-decoration-color","-moz-text-decoration-color","-webkit-text-decoration-color","text-decoration-line","-moz-text-decoration-line","text-decoration-line-through","-webkit-text-decoration-line","text-decoration-none","text-decoration-overline","text-decoration-skip","text-decoration-skip-box","text-decoration-skip-ink","text-decoration-skip-inset","text-decoration-skip-self","text-decoration-skip-spaces","-webkit-text-decoration-skip","text-decoration-style","-moz-text-decoration-style","-webkit-text-decoration-style","text-decoration-thickness","text-decoration-underline","-webkit-text-decoration","-webkit-text-decorations-in-effect","text-edge","text-emphasis","text-emphasis-color","-webkit-text-emphasis-color","text-emphasis-position","-webkit-text-emphasis-position","text-emphasis-skip","text-emphasis-style","-webkit-text-emphasis-style","-webkit-text-emphasis","-webkit-text-fill-color","text-group-align","text-indent","text-justify","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-orientation","-webkit-text-orientation","text-overflow","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-rendering","-webkit-text-security","text-shadow","text-size-adjust","-moz-text-size-adjust","-ms-text-size-adjust","-webkit-text-size-adjust","text-space-collapse","text-space-trim","text-spacing","-webkit-text-stroke-color","-webkit-text-stroke","-webkit-text-stroke-width","text-transform","text-underline","text-underline-color","text-underline-mode","text-underline-offset","text-underline-position","-webkit-text-underline-position","text-underline-style","text-underline-width","text-wrap","-webkit-text-zoom","top","touch-action","touch-action-delay","-ms-touch-action","-webkit-touch-callout","-ms-touch-select","-apple-trailing-word","transform","transform-box","-moz-transform","-ms-transform","-o-transform","transform-origin","-moz-transform-origin","-ms-transform-origin","-o-transform-origin","-webkit-transform-origin","transform-origin-x","-webkit-transform-origin-x","transform-origin-y","-webkit-transform-origin-y","transform-origin-z","-webkit-transform-origin-z","transform-style","-moz-transform-style","-ms-transform-style","-webkit-transform-style","-webkit-transform","transition","transition-delay","-moz-transition-delay","-ms-transition-delay","-o-transition-delay","-webkit-transition-delay","transition-duration","-moz-transition-duration","-ms-transition-duration","-o-transition-duration","-webkit-transition-duration","-moz-transition","-ms-transition","-o-transition","transition-property","-moz-transition-property","-ms-transition-property","-o-transition-property","-webkit-transition-property","transition-timing-function","-moz-transition-timing-function","-ms-transition-timing-function","-o-transition-timing-function","-webkit-transition-timing-function","-webkit-transition","translate","uc-alt-skin","uc-skin","unicode-bidi","unicode-range","-webkit-user-drag","-moz-user-focus","-moz-user-input","-moz-user-modify","-webkit-user-modify","user-select","-moz-user-select","-ms-user-select","-webkit-user-select","user-zoom","vector-effect","vertical-align","viewport-fill","viewport-fill-opacity","viewport-fit","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","-webkit-widget-region","widows","width","will-change","-moz-window-dragging","-moz-window-shadow","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","wrap-after","wrap-before","wrap-flow","-ms-wrap-flow","-webkit-wrap-flow","wrap-inside","-ms-wrap-margin","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","wrap-through","-ms-wrap-through","-webkit-wrap-through","-webkit-wrap","writing-mode","-webkit-writing-mode","x","y","z-index","zoom"]}},{}],19:[(e,t,s)=>{t.exports.all=e("./data/all.json").properties},{"./data/all.json":18}],20:[(e,t,s)=>{t.exports=["abs","and","annotation","annotation-xml","apply","approx","arccos","arccosh","arccot","arccoth","arccsc","arccsch","arcsec","arcsech","arcsin","arcsinh","arctan","arctanh","arg","bind","bvar","card","cartesianproduct","cbytes","ceiling","cerror","ci","cn","codomain","complexes","compose","condition","conjugate","cos","cosh","cot","coth","cs","csc","csch","csymbol","curl","declare","degree","determinant","diff","divergence","divide","domain","domainofapplication","emptyset","encoding","eq","equivalent","eulergamma","exists","exp","exponentiale","factorial","factorof","false","floor","fn","forall","function","gcd","geq","grad","gt","ident","image","imaginary","imaginaryi","implies","in","infinity","int","integers","intersect","interval","inverse","lambda","laplacian","lcm","leq","limit","list","ln","log","logbase","lowlimit","lt","maction","malign","maligngroup","malignmark","malignscope","math","matrix","matrixrow","max","mean","median","menclose","merror","mfenced","mfrac","mfraction","mglyph","mi","min","minus","mlabeledtr","mlongdiv","mmultiscripts","mn","mo","mode","moment","momentabout","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mscarries","mscarry","msgroup","msline","mspace","msqrt","msrow","mstack","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","naturalnumbers","neq","none","not","notanumber","notin","notprsubset","notsubset","or","otherwise","outerproduct","partialdiff","pi","piece","piecewice","piecewise","plus","power","primes","product","prsubset","quotient","rationals","real","reals","reln","rem","root","scalarproduct","sdev","sec","sech","select","selector","semantics","sep","set","setdiff","share","sin","sinh","span","subset","sum","tan","tanh","tendsto","times","transpose","true","union","uplimit","var","variance","vector","vectorproduct","xor"]},{}],21:[(e,t,s)=>{t.exports={nanoid(e=21){let t="",s=e;for(;s--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(s=t)=>{let r="",i=s;for(;i--;)r+=e[Math.random()*e.length|0];return r}}},{}],22:[function(e,t,s){(function(e){(()=>{function s(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var s,r="",i=0,n=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),n=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,n=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(n+1,a):r=e.slice(n+1,a),i=a-n-1;n=a,o=0}else 46===s&&-1!==o?++o:o=-1}return r}var i={resolve(){for(var t,i="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=e.cwd()),a=t),s(a),0!==a.length&&(i=a+"/"+i,n=47===a.charCodeAt(0))}return i=r(i,!n),n?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize(e){if(s(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:e=>(s(e),e.length>0&&47===e.charCodeAt(0)),join(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative(e,t){if(s(e),s(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;ru){if(47===t.charCodeAt(a+d))return t.slice(a+d+1);if(0===d)return t.slice(a+d)}else o>u&&(47===e.charCodeAt(r+d)?c=d:0===d&&(c=0));break}var p=e.charCodeAt(r+d);if(p!==t.charCodeAt(a+d))break;47===p&&(c=d)}var f="";for(d=r+c+1;d<=n;++d)d!==n&&47!==e.charCodeAt(d)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(a+c):(a+=c,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:e=>e,dirname(e){if(s(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,i=-1,n=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!n){i=o;break}}else n=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');s(e);var r,i=0,n=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else-1===l&&(o=!1,l=r+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(n=r):(a=-1,n=l))}return i===n?n=l:-1===n&&(n=e.length),e.slice(i,n)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===n&&(o=!1,n=r+1);return-1===n?"":e.slice(i,n)},extname(e){s(e);for(var t=-1,r=0,i=-1,n=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(n=!1,i=a+1),46===l?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!n){r=a+1;break}}return-1===t||-1===i||0===o||1===o&&t===i-1&&t===r+1?"":e.slice(t,i)},format(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return"/",s=(t=e).dir||t.root,r=t.base||(t.name||"")+(t.ext||""),s?s===t.root?s+r:s+"/"+r:r;var t,s,r},parse(e){s(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,i=e.charCodeAt(0),n=47===i;n?(t.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,u=!0,c=e.length-1,d=0;c>=r;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1);else if(!u){a=c+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===a+1?-1!==l&&(t.base=t.name=0===a&&n?e.slice(1,l):e.slice(a,l)):(0===a&&n?(t.name=e.slice(1,o),t.base=e.slice(1,l)):(t.name=e.slice(a,o),t.base=e.slice(a,l)),t.ext=e.slice(o,l)),a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i}).call(this)}).call(this,e("_process"))},{_process:91}],23:[(e,t,s)=>{var r=String,i=()=>({isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r});t.exports=i(),t.exports.createColors=i},{}],24:[(e,t,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.default=(e=>new i.default({nodes:(0,n.parseMediaList)(e),type:"media-query-list",value:e.trim()}));var r,i=(r=e("./nodes/Container"))&&r.__esModule?r:{default:r},n=e("./parsers")},{"./nodes/Container":25,"./parsers":27}],25:[function(e,t,s){Object.defineProperty(s,"__esModule",{value:!0});var r,i=(r=e("./Node"))&&r.__esModule?r:{default:r};function n(e){var t=this;this.constructor(e),this.nodes=e.nodes,void 0===this.after&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),void 0===this.before&&(this.before=this.nodes.length>0?this.nodes[0].before:""),void 0===this.sourceIndex&&(this.sourceIndex=this.before.length),this.nodes.forEach(e=>{e.parent=t})}n.prototype=Object.create(i.default.prototype),n.constructor=i.default,n.prototype.walk=function(e,t){for(var s="string"==typeof e||e instanceof RegExp,r=s?t:e,i="string"==typeof e?new RegExp(e):e,n=0;n{}:arguments[0],t=0;t{Object.defineProperty(s,"__esModule",{value:!0}),s.parseMediaFeature=o,s.parseMediaQuery=a,s.parseMediaList=(e=>{var t=[],s=0,n=0,o=/^(\s*)url\s*\(/.exec(e);if(null!==o){for(var l=o[0].length,u=1;u>0;){var c=e[l];"("===c&&u++,")"===c&&u--,l++}t.unshift(new r.default({type:"url",value:e.substring(0,l).trim(),sourceIndex:o[1].length,before:o[1],after:/^(\s*)/.exec(e.substring(l))[1]})),s=l}for(var d=s;d0&&(s[d-1].after=l.before),void 0===l.type){if(d>0){if("media-feature-expression"===s[d-1].type){l.type="keyword";continue}if("not"===s[d-1].value||"only"===s[d-1].value){l.type="media-type";continue}if("and"===s[d-1].value){l.type="media-feature-expression";continue}"media-type"===s[d-1].type&&(s[d+1]?l.type="media-feature-expression"===s[d+1].type?"keyword":"media-feature-expression":l.type="media-feature-expression")}if(0===d){if(!s[d+1]){l.type="media-type";continue}if(s[d+1]&&("media-feature-expression"===s[d+1].type||"keyword"===s[d+1].type)){l.type="media-type";continue}if(s[d+2]){if("media-feature-expression"===s[d+2].type){l.type="media-type",s[d+1].type="keyword";continue}if("keyword"===s[d+2].type){l.type="keyword",s[d+1].type="media-type";continue}}if(s[d+3]&&"media-feature-expression"===s[d+3].type){l.type="keyword",s[d+1].type="media-type",s[d+2].type="keyword";continue}}}return s}},{"./nodes/Container":25,"./nodes/Node":26}],28:[(e,t,s)=>{t.exports=function e(t,s){var r=s.parent,i="atrule"===r.type&&"nest"===r.name;return"root"===r.type?[t]:"rule"===r.type||i?(i?r.params.split(",").map(e=>e.trim()):r.selectors).reduce((s,i)=>{if(-1!==t.indexOf("&")){var n=e(i,r).map(e=>t.replace(/&/g,e));return s.concat(n)}var o=[i,t].join(" ");return s.concat(e(o,r))},[]):e(t,r)}},{}],29:[(e,t,s)=>{s.__esModule=!0,s.default=void 0;var r,i=(r=e("./processor"))&&r.__esModule?r:{default:r},n=(e=>{if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return()=>e,e}();if(t&&t.has(e))return t.get(e);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(s,i,n):s[i]=e[i]}return s.default=e,t&&t.set(e,s),s})(e("./selectors"));var o=e=>new i.default(e);Object.assign(o,n),delete o.__esModule;var a=o;s.default=a,t.exports=s.default},{"./processor":31,"./selectors":40}],30:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i,n=O(e("./selectors/root")),o=O(e("./selectors/selector")),a=O(e("./selectors/className")),l=O(e("./selectors/comment")),u=O(e("./selectors/id")),c=O(e("./selectors/tag")),d=O(e("./selectors/string")),p=O(e("./selectors/pseudo")),f=S(e("./selectors/attribute")),m=O(e("./selectors/universal")),h=O(e("./selectors/combinator")),g=O(e("./selectors/nesting")),w=O(e("./sortAscending")),b=S(e("./tokenize")),y=S(e("./tokenTypes")),x=S(e("./selectors/types")),v=e("./util");function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=(()=>e),e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(s,i,n):s[i]=e[i]}return s.default=e,t&&t.set(e,s),s}function O(e){return e&&e.__esModule?e:{default:e}}function C(e,t){for(var s=0;s"string"==typeof e.rule?new Error(t):e.rule.error(t,s)},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position{var n=s.lossySpace(e.spaces.before,t),o=s.lossySpace(e.rawSpaceBefore,t);r+=n+s.lossySpace(e.spaces.after,t&&0===n.length),i+=n+e.value+s.lossySpace(e.rawSpaceAfter,t&&0===o.length)}),i===r&&(i=void 0),{space:r,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][b.FIELDS.TYPE]===y.slash&&this.tokens[e+1]&&this.tokens[e+1][b.FIELDS.TYPE]===y.word&&this.tokens[e+2]&&this.tokens[e+2][b.FIELDS.TYPE]===y.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,v.unesc)(e).toLowerCase(),s={};t!==e&&(s.value="/"+e+"/");var r=new h.default({value:"/"+t+"/",source:I(this.currToken[b.FIELDS.START_LINE],this.currToken[b.FIELDS.START_COL],this.tokens[this.position+2][b.FIELDS.END_LINE],this.tokens[this.position+2][b.FIELDS.END_COL]),sourceIndex:this.currToken[b.FIELDS.START_POS],raws:s});return this.position=this.position+3,r}this.unexpected()},r.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][b.FIELDS.TYPE]===y.comma)){var s,r=this.currToken,i=void 0;if(t>this.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?s=this.namedCombinator():this.currToken[b.FIELDS.TYPE]===y.combinator?(s=new h.default({value:this.content(),source:A(this.currToken),sourceIndex:this.currToken[b.FIELDS.START_POS]}),this.position++):M[this.currToken[b.FIELDS.TYPE]]||i||this.unexpected(),s){if(i){var n=this.convertWhitespaceNodesToSpace(i),o=n.space,a=n.rawSpace;s.spaces.before=o,s.rawSpaceBefore=a}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),u=l.space,c=l.rawSpace;c||(c=u);var d={},p={spaces:{}};u.endsWith(" ")&&c.endsWith(" ")?(d.before=u.slice(0,u.length-1),p.spaces.before=c.slice(0,c.length-1)):u.startsWith(" ")&&c.startsWith(" ")?(d.after=u.slice(1),p.spaces.after=c.slice(1)):p.value=c,s=new h.default({value:" ",source:P(r,this.tokens[this.position-1]),sourceIndex:r[b.FIELDS.START_POS],spaces:d,raws:p})}return this.currToken&&this.currToken[b.FIELDS.TYPE]===y.space&&(s.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(s)}var f=this.parseWhitespaceEquivalentTokens(t);if(f.length>0){var m=this.current.last;if(m){var g=this.convertWhitespaceNodesToSpace(f),w=g.space,x=g.rawSpace;void 0!==x&&(m.rawSpaceAfter+=x),m.spaces.after+=w}else f.forEach(t=>e.newNode(t))}},r.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new o.default({source:{start:E(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:A(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[b.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[b.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[b.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[b.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[b.FIELDS.TYPE]===y.word?(this.position++,this.word(e)):this.nextToken[b.FIELDS.TYPE]===y.asterisk?(this.position++,this.universal(e)):void 0},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))this.position++;else{var e=this.currToken;this.newNode(new g.default({value:this.content(),source:A(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++}},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===x.PSEUDO){var s=new o.default({source:{start:E(this.tokens[this.position-1])}}),r=this.current;for(e.append(s),this.current=s;this.position{t+=r,e.newNode(new p.default({value:t,source:P(s,e.currToken),sourceIndex:s[b.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[b.FIELDS.TYPE]===y.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[b.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[b.FIELDS.TYPE]===y.comma||this.prevToken[b.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(e=>"comment"===e.type)?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[b.FIELDS.TYPE]===y.comma||this.nextToken[b.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:A(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var s=this.currToken;this.newNode(new m.default({value:this.content(),source:A(s),sourceIndex:s[b.FIELDS.START_POS]}),e),this.position++},r.splitWord=function(e,t){for(var s=this,r=this.nextToken,i=this.content();r&&~[y.dollar,y.caret,y.equals,y.word].indexOf(r[b.FIELDS.TYPE]);){this.position++;var n=this.content();if(i+=n,n.lastIndexOf("\\")===n.length-1){var o=this.nextToken;o&&o[b.FIELDS.TYPE]===y.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}r=this.nextToken}var l=j(i,".").filter(e=>{var t="\\"===i[e-1],s=/^\d+\.\d+%$/.test(i);return!t&&!s}),d=j(i,"#").filter(e=>"\\"!==i[e-1]),p=j(i,"#{");p.length&&(d=d.filter(e=>!~p.indexOf(e)));var f=(0,w.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((t,s)=>s===e.indexOf(t))}([0].concat(l,d)));f.forEach((r,n)=>{var o,p=f[n+1]||i.length,m=i.slice(r,p);if(0===n&&t)return t.call(s,m,f.length);var h=s.currToken,g=h[b.FIELDS.START_POS]+f[n],w=I(h[1],h[2]+r,h[3],h[2]+(p-1));if(~l.indexOf(r)){var y={value:m.slice(1),source:w,sourceIndex:g};o=new a.default(T(y,"value"))}else if(~d.indexOf(r)){var x={value:m.slice(1),source:w,sourceIndex:g};o=new u.default(T(x,"value"))}else{var v={value:m,source:w,sourceIndex:g};T(v,"value"),o=new c.default(v)}s.newNode(o,e),e=null}),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position{}),this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var s=this;return void 0===t&&(t={}),new Promise((r,i)=>{try{var n=s._root(e,t);Promise.resolve(s.func(n)).then(r=>{var i=void 0;return s._shouldUpdateSelector(e,t)&&(i=n.toString(),e.selector=i),{transform:r,root:n,string:i}}).then(r,i)}catch(e){return void i(e)}})},t._runSync=function(e,t){void 0===t&&(t={});var s=this._root(e,t),r=this.func(s);if(r&&"function"==typeof r.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=s.toString(),e.selector=i),{transform:r,root:s,string:i}},t.ast=function(e,t){return this._run(e,t).then(e=>e.root)},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(e=>e.transform)},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(e=>e.string||e.root.toString())},t.processSync=function(e,t){var s=this._runSync(e,t);return s.string||s.root.toString()},e}();s.default=n,t.exports=s.default},{"./parser":30}],32:[function(e,t,s){s.__esModule=!0,s.unescapeValue=g,s.default=void 0;var r,i=l(e("cssesc")),n=l(e("../util/unesc")),o=l(e("./namespace")),a=e("./types");function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var s=0;s(e.__proto__=t,e)))(e,t)}var d=e("util-deprecate"),p=/^('|")([^]*)\1$/,f=d(()=>{},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),m=d(()=>{},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(()=>{},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function g(e){var t=!1,s=null,r=e,i=r.match(p);return i&&(s=i[1],r=i[2]),(r=(0,n.default)(r))!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:s}}var w=function(e){var t,s;function r(t){var s;return void 0===t&&(t={}),(s=e.call(this,(e=>{if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;h();var t=g(e.value),s=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=r,e.quoteMark=s,e})(t))||this).type=a.ATTRIBUTE,s.raws=s.raws||{},Object.defineProperty(s.raws,"unquoted",{get:d(()=>s.value,"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(()=>s.value,"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),s._constructed=!0,s}s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,c(t,s);var n,o,l=r.prototype;return l.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),s=b[t];return(0,i.default)(this._value,s)},l._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},l.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},l.smartQuoteMark=function(e){var t=this.value,s=t.replace(/[^']/g,"").length,n=t.replace(/[^"]/g,"").length;if(s+n===0){var o=(0,i.default)(t,{isIdentifier:!0});if(o===t)return r.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===r.NO_QUOTE){var l=this.quoteMark||e.quoteMark||r.DOUBLE_QUOTE,u=b[l];if((0,i.default)(t,u).length(!(t.length>0)||e.quoted||0!==s.before.length||e.spaces.value&&e.spaces.value.after||(s.before=" "),y(t,s))))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},n=r,(o=[{key:"quoted",get(){var e=this.quoteMark;return"'"===e||'"'===e},set(e){m()}},{key:"quoteMark",get(){return this._quoteMark},set(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get(){return this.insensitive?"i":""}},{key:"value",get(){return this._value},set(e){if(this._constructed){var t=g(e),s=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(s&&f(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get(){return this._attribute},set(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&u(n.prototype,o),r}(o.default);s.default=w,w.NO_QUOTE=null,w.SINGLE_QUOTE="'",w.DOUBLE_QUOTE='"';var b=((r={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},r);function y(e,t){return""+t.before+e+t.after}},{"../util/unesc":58,"./namespace":41,"./types":49,cssesc:10,"util-deprecate":436}],33:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r=a(e("cssesc")),i=e("../util"),n=a(e("./node")),o=e("./types");function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var s=0;s(e.__proto__=t,e)))(e,t)}var c=function(e){var t,s,n,a;function c(t){var s;return(s=e.call(this,t)||this).type=o.CLASS,s._constructed=!0,s}return s=e,(t=c).prototype=Object.create(s.prototype),t.prototype.constructor=t,u(t,s),c.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},n=c,(a=[{key:"value",get(){return this._value},set(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,i.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&l(n.prototype,a),c}(n.default);s.default=c,t.exports=s.default},{"../util":56,"./node":43,"./types":49,cssesc:10}],34:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.COMBINATOR,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./node":43,"./types":49}],35:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.COMMENT,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./node":43,"./types":49}],36:[(e,t,s)=>{s.__esModule=!0,s.universal=s.tag=s.string=s.selector=s.root=s.pseudo=s.nesting=s.id=s.comment=s.combinator=s.className=s.attribute=void 0;var r=h(e("./attribute")),i=h(e("./className")),n=h(e("./combinator")),o=h(e("./comment")),a=h(e("./id")),l=h(e("./nesting")),u=h(e("./pseudo")),c=h(e("./root")),d=h(e("./selector")),p=h(e("./string")),f=h(e("./tag")),m=h(e("./universal"));function h(e){return e&&e.__esModule?e:{default:e}}s.attribute=(e=>new r.default(e)),s.className=(e=>new i.default(e)),s.combinator=(e=>new n.default(e)),s.comment=(e=>new o.default(e)),s.id=(e=>new a.default(e)),s.nesting=(e=>new l.default(e)),s.pseudo=(e=>new u.default(e)),s.root=(e=>new c.default(e)),s.selector=(e=>new d.default(e)),s.string=(e=>new p.default(e)),s.tag=(e=>new f.default(e)),s.universal=(e=>new m.default(e))},{"./attribute":32,"./className":33,"./combinator":34,"./comment":35,"./id":39,"./nesting":42,"./pseudo":44,"./root":45,"./selector":46,"./string":47,"./tag":48,"./universal":50}],37:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=(e=>{if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return()=>e,e}();if(t&&t.has(e))return t.get(e);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(s,i,n):s[i]=e[i]}return s.default=e,t&&t.set(e,s),s})(e("./types"));function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s(e.__proto__=t,e)))(e,t)}var u=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).nodes||(s.nodes=[]),s}s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,l(t,s);var i,u,c=r.prototype;return c.append=function(e){return e.parent=this,this.nodes.push(e),this},c.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},c.at=function(e){return this.nodes[e]},c.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},c.removeChild=function(e){var t;e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);for(var s in this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this},c.removeAll=function(){for(var e,t=function(e,t){var s;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(s=((e,t)=>{if(e){if("string"==typeof e)return o(e,void 0);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?o(e,void 0):void 0}})(e))||t&&e&&"number"==typeof e.length){s&&(e=s);var r=0;return()=>r>=e.length?{done:!0}:{done:!1,value:e[r++]}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(s=e[Symbol.iterator]()).next.bind(s)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},c.empty=function(){return this.removeAll()},c.insertAfter=function(e,t){t.parent=this;var s,r=this.index(e);this.nodes.splice(r+1,0,t),t.parent=this;for(var i in this.indexes)r<=(s=this.indexes[i])&&(this.indexes[i]=s+1);return this},c.insertBefore=function(e,t){t.parent=this;var s,r=this.index(e);this.nodes.splice(r,0,t),t.parent=this;for(var i in this.indexes)(s=this.indexes[i])<=r&&(this.indexes[i]=s+1);return this},c._findChildAtPosition=function(e,t){var s=void 0;return this.each(r=>{if(r.atPosition){var i=r.atPosition(e,t);if(i)return s=i,!1}else if(r.isAtPosition(e,t))return s=r,!1}),s},c.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},c._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))},c.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var s,r;this.indexes[t]{var r=e(t,s);if(!1!==r&&t.length&&(r=t.walk(e)),!1===r)return!1})},c.walkAttributes=function(e){var t=this;return this.walk(s=>{if(s.type===n.ATTRIBUTE)return e.call(t,s)})},c.walkClasses=function(e){var t=this;return this.walk(s=>{if(s.type===n.CLASS)return e.call(t,s)})},c.walkCombinators=function(e){var t=this;return this.walk(s=>{if(s.type===n.COMBINATOR)return e.call(t,s)})},c.walkComments=function(e){var t=this;return this.walk(s=>{if(s.type===n.COMMENT)return e.call(t,s)})},c.walkIds=function(e){var t=this;return this.walk(s=>{if(s.type===n.ID)return e.call(t,s)})},c.walkNesting=function(e){var t=this;return this.walk(s=>{if(s.type===n.NESTING)return e.call(t,s)})},c.walkPseudos=function(e){var t=this;return this.walk(s=>{if(s.type===n.PSEUDO)return e.call(t,s)})},c.walkTags=function(e){var t=this;return this.walk(s=>{if(s.type===n.TAG)return e.call(t,s)})},c.walkUniversals=function(e){var t=this;return this.walk(s=>{if(s.type===n.UNIVERSAL)return e.call(t,s)})},c.split=function(e){var t=this,s=[];return this.reduce((r,i,n)=>{var o=e.call(t,i);return s.push(i),o?(r.push(s),s=[]):n===t.length-1&&r.push(s),r},[])},c.map=function(e){return this.nodes.map(e)},c.reduce=function(e,t){return this.nodes.reduce(e,t)},c.every=function(e){return this.nodes.every(e)},c.some=function(e){return this.nodes.some(e)},c.filter=function(e){return this.nodes.filter(e)},c.sort=function(e){return this.nodes.sort(e)},c.toString=function(){return this.map(String).join("")},i=r,(u=[{key:"first",get(){return this.at(0)}},{key:"last",get(){return this.at(this.length-1)}},{key:"length",get(){return this.nodes.length}}])&&a(i.prototype,u),r}(i.default);s.default=u,t.exports=s.default},{"./node":43,"./types":49}],38:[(e,t,s)=>{s.__esModule=!0,s.isNode=o,s.isPseudoElement=x,s.isPseudoClass=(e=>m(e)&&!x(e)),s.isContainer=(e=>!(!o(e)||!e.walk)),s.isNamespace=(e=>l(e)||b(e)),s.isUniversal=s.isTag=s.isString=s.isSelector=s.isRoot=s.isPseudo=s.isNesting=s.isIdentifier=s.isComment=s.isCombinator=s.isClassName=s.isAttribute=void 0;var r,i=e("./types"),n=((r={})[i.ATTRIBUTE]=!0,r[i.CLASS]=!0,r[i.COMBINATOR]=!0,r[i.COMMENT]=!0,r[i.ID]=!0,r[i.NESTING]=!0,r[i.PSEUDO]=!0,r[i.ROOT]=!0,r[i.SELECTOR]=!0,r[i.STRING]=!0,r[i.TAG]=!0,r[i.UNIVERSAL]=!0,r);function o(e){return"object"==typeof e&&n[e.type]}function a(e,t){return o(t)&&t.type===e}var l=a.bind(null,i.ATTRIBUTE);s.isAttribute=l;var u=a.bind(null,i.CLASS);s.isClassName=u;var c=a.bind(null,i.COMBINATOR);s.isCombinator=c;var d=a.bind(null,i.COMMENT);s.isComment=d;var p=a.bind(null,i.ID);s.isIdentifier=p;var f=a.bind(null,i.NESTING);s.isNesting=f;var m=a.bind(null,i.PSEUDO);s.isPseudo=m;var h=a.bind(null,i.ROOT);s.isRoot=h;var g=a.bind(null,i.SELECTOR);s.isSelector=g;var w=a.bind(null,i.STRING);s.isString=w;var b=a.bind(null,i.TAG);s.isTag=b;var y=a.bind(null,i.UNIVERSAL);function x(e){return m(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}s.isUniversal=y},{"./types":49}],39:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.ID,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},r}(i.default);s.default=a,t.exports=s.default},{"./node":43,"./types":49}],40:[(e,t,s)=>{s.__esModule=!0;var r=e("./types");Object.keys(r).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in s&&s[e]===r[e]||(s[e]=r[e]))});var i=e("./constructors");Object.keys(i).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in s&&s[e]===i[e]||(s[e]=i[e]))});var n=e("./guards");Object.keys(n).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in s&&s[e]===n[e]||(s[e]=n[e]))})},{"./constructors":36,"./guards":38,"./types":49}],41:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r=n(e("cssesc")),i=e("../util");function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var s=0;s(e.__proto__=t,e)))(e,t)}var l=function(e){var t,s;function n(){return e.apply(this,arguments)||this}s=e,(t=n).prototype=Object.create(s.prototype),t.prototype.constructor=t,a(t,s);var l,u,c=n.prototype;return c.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},c.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},l=n,(u=[{key:"namespace",get(){return this._namespace},set(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,i.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get(){return this._namespace},set(e){this.namespace=e}},{key:"namespaceString",get(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}])&&o(l.prototype,u),n}(n(e("./node")).default);s.default=l,t.exports=s.default},{"../util":56,"./node":43,cssesc:10}],42:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.NESTING,s.value="&",s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./node":43,"./types":49}],43:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r=e("../util");function i(e,t){for(var s=0;se(t,r)):r[i]=e(n,r)}return r}(this);for(var s in e)t[s]=e[s];return t},n.appendToPropertyAndEscape=function(e,t,s){this.raws||(this.raws={});var r=this[e],i=this.raws[e];this[e]=r+t,i||s!==t?this.raws[e]=(i||r)+s:delete this.raws[e]},n.setPropertyAndEscape=function(e,t,s){this.raws||(this.raws={}),this[e]=t,this.raws[e]=s},n.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},n.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.linet||this.source.end.line===e&&this.source.end.column(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.PSEUDO,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},r}(i.default);s.default=a,t.exports=s.default},{"./container":37,"./types":49}],45:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./container"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){for(var s=0;s(e.__proto__=t,e)))(e,t)}var l=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.ROOT,s}s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,a(t,s);var i,l,u=r.prototype;return u.toString=function(){var e=this.reduce((e,t)=>(e.push(String(t)),e),[]).join(",");return this.trailingComma?e+",":e},u.error=function(e,t){return this._error?this._error(e,t):new Error(e)},i=r,(l=[{key:"errorGenerator",set(e){this._error=e}}])&&o(i.prototype,l),r}(i.default);s.default=l,t.exports=s.default},{"./container":37,"./types":49}],46:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./container"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.SELECTOR,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./container":37,"./types":49}],47:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./node"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.STRING,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./node":43,"./types":49}],48:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./namespace"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.TAG,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./namespace":41,"./types":49}],49:[(e,t,s)=>{s.__esModule=!0,s.UNIVERSAL=s.ATTRIBUTE=s.CLASS=s.COMBINATOR=s.COMMENT=s.ID=s.NESTING=s.PSEUDO=s.ROOT=s.SELECTOR=s.STRING=s.TAG=void 0,s.TAG="tag",s.STRING="string",s.SELECTOR="selector",s.ROOT="root",s.PSEUDO="pseudo",s.NESTING="nesting",s.ID="id",s.COMMENT="comment",s.COMBINATOR="combinator",s.CLASS="class",s.ATTRIBUTE="attribute",s.UNIVERSAL="universal"},{}],50:[function(e,t,s){s.__esModule=!0,s.default=void 0;var r,i=(r=e("./namespace"))&&r.__esModule?r:{default:r},n=e("./types");function o(e,t){return(o=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.UNIVERSAL,s.value="*",s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s),r}(i.default);s.default=a,t.exports=s.default},{"./namespace":41,"./types":49}],51:[(e,t,s)=>{s.__esModule=!0,s.default=(e=>e.sort((e,t)=>e-t)),t.exports=s.default},{}],52:[(e,t,s)=>{s.__esModule=!0,s.combinator=s.word=s.comment=s.str=s.tab=s.newline=s.feed=s.cr=s.backslash=s.bang=s.slash=s.doubleQuote=s.singleQuote=s.space=s.greaterThan=s.pipe=s.equals=s.plus=s.caret=s.tilde=s.dollar=s.closeSquare=s.openSquare=s.closeParenthesis=s.openParenthesis=s.semicolon=s.colon=s.comma=s.at=s.asterisk=s.ampersand=void 0,s.ampersand=38,s.asterisk=42,s.at=64,s.comma=44,s.colon=58,s.semicolon=59,s.openParenthesis=40,s.closeParenthesis=41,s.openSquare=91,s.closeSquare=93,s.dollar=36,s.tilde=126,s.caret=94,s.plus=43,s.equals=61,s.pipe=124,s.greaterThan=62,s.space=32,s.singleQuote=39,s.doubleQuote=34,s.slash=47,s.bang=33,s.backslash=92,s.cr=13,s.feed=12,s.newline=10,s.tab=9,s.str=39,s.comment=-1,s.word=-2,s.combinator=-3},{}],53:[(e,t,s)=>{s.__esModule=!0,s.default=(e=>{var t,s,r,i,o,a,l,u,c,p,f,m,h=[],g=e.css.valueOf(),w=g.length,b=-1,y=1,x=0,v=0;function k(t,s){if(!e.safe)throw e.error("Unclosed "+t,y,x-b,x);u=(g+=s).length-1}for(;x0?(c=y+a,p=u-l[a].length):(c=y,p=b),m=n.comment,y=c,r=c,s=u-p):t===n.slash?(m=t,r=y,s=x-b,v=(u=x)+1):(u=d(g,x),m=n.word,r=y,s=u-b),v=u+1}h.push([m,y,x-b,r,s,x,v]),p&&(b=p,p=null),x=v}return h}),s.FIELDS=void 0;var r,i,n=(e=>{if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return()=>e,e}();if(t&&t.has(e))return t.get(e);var s={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=r?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(s,i,n):s[i]=e[i]}return s.default=e,t&&t.set(e,s),s})(e("./tokenTypes"));for(var o=((r={})[n.tab]=!0,r[n.newline]=!0,r[n.cr]=!0,r[n.feed]=!0,r),a=((i={})[n.space]=!0,i[n.tab]=!0,i[n.newline]=!0,i[n.cr]=!0,i[n.feed]=!0,i[n.ampersand]=!0,i[n.asterisk]=!0,i[n.bang]=!0,i[n.comma]=!0,i[n.colon]=!0,i[n.semicolon]=!0,i[n.openParenthesis]=!0,i[n.closeParenthesis]=!0,i[n.openSquare]=!0,i[n.closeSquare]=!0,i[n.singleQuote]=!0,i[n.doubleQuote]=!0,i[n.plus]=!0,i[n.pipe]=!0,i[n.tilde]=!0,i[n.greaterThan]=!0,i[n.equals]=!0,i[n.dollar]=!0,i[n.caret]=!0,i[n.slash]=!0,i),l={},u="0123456789abcdefABCDEF",c=0;c{s.__esModule=!0,s.default=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r0;){var i=s.shift();e[i]||(e[i]={}),e=e[i]}},t.exports=s.default},{}],55:[(e,t,s)=>{s.__esModule=!0,s.default=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r0;){var i=s.shift();if(!e[i])return;e=e[i]}return e},t.exports=s.default},{}],56:[(e,t,s)=>{s.__esModule=!0,s.stripComments=s.ensureObject=s.getProp=s.unesc=void 0;var r=a(e("./unesc"));s.unesc=r.default;var i=a(e("./getProp"));s.getProp=i.default;var n=a(e("./ensureObject"));s.ensureObject=n.default;var o=a(e("./stripComments"));function a(e){return e&&e.__esModule?e:{default:e}}s.stripComments=o.default},{"./ensureObject":54,"./getProp":55,"./stripComments":57,"./unesc":58}],57:[(e,t,s)=>{s.__esModule=!0,s.default=(e=>{for(var t="",s=e.indexOf("/*"),r=0;s>=0;){t+=e.slice(r,s);var i=e.indexOf("*/",s+2);if(i<0)return t;r=i+2,s=e.indexOf("/*",r)}return t+e.slice(r)}),t.exports=s.default},{}],58:[(e,t,s)=>{function r(e){for(var t=e.toLowerCase(),s="",r=!1,i=0;i<6&&void 0!==t[i];i++){var n=t.charCodeAt(i);if(r=32===n,!(n>=97&&n<=102||n>=48&&n<=57))break;s+=t[i]}if(0!==s.length){var o=parseInt(s,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",s.length+(r?1:0)]:[String.fromCodePoint(o),s.length+(r?1:0)]}}s.__esModule=!0,s.default=(e=>{if(!i.test(e))return e;for(var t="",s=0;s{var r="(".charCodeAt(0),i=")".charCodeAt(0),n="'".charCodeAt(0),o='"'.charCodeAt(0),a="\\".charCodeAt(0),l="/".charCodeAt(0),u=",".charCodeAt(0),c=":".charCodeAt(0),d="*".charCodeAt(0),p="u".charCodeAt(0),f="U".charCodeAt(0),m="+".charCodeAt(0),h=/^[a-f0-9?-]+$/i;t.exports=(e=>{for(var t,s,g,w,b,y,x,v,k,S=[],O=e,C=0,M=O.charCodeAt(C),N=O.length,E=[{nodes:S}],R=0,I="",A="",P="";C{function r(e,t){var s,r,n=e.type,o=e.value;return t&&void 0!==(r=t(e))?r:"word"===n||"space"===n?o:"string"===n?(s=e.quote||"")+o+(e.unclosed?"":s):"comment"===n?"/*"+o+(e.unclosed?"":"*/"):"div"===n?(e.before||"")+o+(e.after||""):Array.isArray(e.nodes)?(s=i(e.nodes,t),"function"!==n?s:o+"("+(e.before||"")+s+(e.after||"")+(e.unclosed?"":")")):o}function i(e,t){var s,i;if(Array.isArray(e)){for(s="",i=e.length-1;~i;i-=1)s=r(e[i],t)+s;return s}return r(e,t)}t.exports=i},{}],62:[(e,t,s)=>{var r="-".charCodeAt(0),i="+".charCodeAt(0),n=".".charCodeAt(0),o="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=(e=>{var t,s,l,u=0,c=e.length;if(0===c||!(e=>{var t,s=e.charCodeAt(0);if(s===i||s===r){if((t=e.charCodeAt(1))>=48&&t<=57)return!0;var o=e.charCodeAt(2);return t===n&&o>=48&&o<=57}return s===n?(t=e.charCodeAt(1))>=48&&t<=57:s>=48&&s<=57})(e))return!1;for((t=e.charCodeAt(u))!==i&&t!==r||u++;u57);)u+=1;if(t=e.charCodeAt(u),s=e.charCodeAt(u+1),t===n&&s>=48&&s<=57)for(u+=2;u57);)u+=1;if(t=e.charCodeAt(u),s=e.charCodeAt(u+1),l=e.charCodeAt(u+2),(t===o||t===a)&&(s>=48&&s<=57||(s===i||s===r)&&l>=48&&l<=57))for(u+=s===i||s===r?3:2;u57);)u+=1;return{number:e.slice(0,u),unit:e.slice(u)}})},{}],63:[(e,t,s)=>{t.exports=function e(t,s,r){var i,n,o,a;for(i=0,n=t.length;i{let r;try{r=e(t,s)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("decl"===s.type&&e.test(s.prop))return t(s,r)}):this.walk((s,r)=>{if("decl"===s.type&&s.prop===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("decl"===e.type)return t(e,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("rule"===s.type&&e.test(s.selector))return t(s,r)}):this.walk((s,r)=>{if("rule"===s.type&&s.selector===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("rule"===e.type)return t(e,s)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("atrule"===s.type&&e.test(s.name))return t(s,r)}):this.walk((s,r)=>{if("atrule"===s.type&&s.name===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("atrule"===e.type)return t(e,s)}))}walkComments(e){return this.walk((t,s)=>{if("comment"===t.type)return e(t,s)})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let s,r=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)e<=(s=this.indexes[t])&&(this.indexes[t]=s+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let s,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)e<(s=this.indexes[t])&&(this.indexes[t]=s+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let s in this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,s))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new n(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new u(e)]}return e.map(e=>(e[a]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[o]&&function e(t){if(t[o]=!1,t.proxyOf.nodes)for(let s of t.proxyOf.nodes)e(s)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}getProxyProcessor(){return{set:(e,t,s)=>e[t]===s||(e[t]=s,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty(),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...s)=>e[t](...s.map(e=>"function"==typeof e?(t,s)=>e(t.toProxy(),s):e)):"every"===t||"some"===t?s=>e[t]((e,...t)=>s(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}d.registerParse=(e=>{r=e}),d.registerRule=(e=>{i=e}),d.registerAtRule=(e=>{n=e}),t.exports=d,d.default=d,d.rebuild=(e=>{"atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type&&Object.setPrototypeOf(e,u.prototype),e[a]=!0,e.nodes&&e.nodes.forEach(e=>{d.rebuild(e)})})},{"./comment":65,"./declaration":68,"./node":76,"./symbols":87}],67:[function(e,t,s){let r=e("picocolors"),i=e("./terminal-highlight");class n extends Error{constructor(e,t,s,r,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),o&&(this.plugin=o),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let s,n,o=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),u=String(l).length;if(e){let{bold:e,red:t,gray:i}=r.createColors(!0);s=(s=>e(t(s))),n=(e=>i(e))}else s=n=(e=>e);return o.slice(a,l).map((e,t)=>{let r=a+1+t,i=" "+(" "+r).slice(-u)+" | ";if(r===this.line){let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+n(i)+e+"\n "+t+s("^")}return" "+n(i)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}t.exports=n,n.default=n},{"./terminal-highlight":3,picocolors:23}],68:[function(e,s,r){let i=e("./node");class n extends i{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e=t({},e,{value:String(e.value)})),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}s.exports=n,n.default=n},{"./node":76}],69:[function(e,s,r){let i,n,o=e("./container");class a extends o{constructor(e){super(t({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(e={}){return new i(new n,this,e).stringify()}}a.registerLazyResult=(e=>{i=e}),a.registerProcessor=(e=>{n=e}),s.exports=a,a.default=a},{"./container":66}],70:[(s,r,i)=>{let n=s("./declaration"),o=s("./previous-map"),a=s("./comment"),l=s("./at-rule"),u=s("./input"),c=s("./root"),d=s("./rule");function p(s,r){if(Array.isArray(s))return s.map(e=>p(e));let{inputs:i}=s,f=e(s,["inputs"]);if(i){r=[];for(let e of i){let s=t({},e,{__proto__:u.prototype});s.map&&(s.map=t({},s.map,{__proto__:o.prototype})),r.push(s)}}if(f.nodes&&(f.nodes=s.nodes.map(e=>p(e,r))),f.source){let t=f.source,{inputId:s}=t,i=e(t,["inputId"]);f.source=i,null!=s&&(f.source.input=r[s])}if("root"===f.type)return new c(f);if("decl"===f.type)return new n(f);if("rule"===f.type)return new d(f);if("comment"===f.type)return new a(f);if("atrule"===f.type)return new l(f);throw new Error("Unknown node type: "+s.type)}r.exports=p,p.default=p},{"./at-rule":64,"./comment":65,"./declaration":68,"./input":71,"./previous-map":80,"./root":83,"./rule":84}],71:[function(e,s,r){let{SourceMapConsumer:i,SourceMapGenerator:n}=e("source-map-js"),{fileURLToPath:o,pathToFileURL:a}=e("url"),{resolve:l,isAbsolute:u}=e("path"),{nanoid:c}=e("nanoid/non-secure"),d=e("./terminal-highlight"),p=e("./css-syntax-error"),f=e("./previous-map"),m=Symbol("fromOffsetCache"),h=Boolean(i&&n),g=Boolean(l&&u);class w{constructor(e,t={}){if(null===e||void 0===e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||u(t.from)?this.file=t.from:this.file=l(t.from)),g&&h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(e){let t,s;if(this[m])s=this[m];else{let e=this.css.split("\n");s=new Array(e.length);let t=0;for(let r=0,i=e.length;r=(t=s[s.length-1]))r=s.length-1;else{let t,i=s.length-2;for(;r>1)])i=t-1;else{if(!(e>=s[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-s[r]+1}}error(e,t,s,r={}){let i,n,o;if(t&&"object"==typeof t){let e=t,r=s;if("number"==typeof t.offset){let r=this.fromOffset(e.offset);t=r.line,s=r.col}else t=e.line,s=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);n=e.line,o=e.col}else n=r.line,o=r.column}else if(!s){let e=this.fromOffset(t);t=e.line,s=e.col}let l=this.origin(t,s,n,o);return(i=l?new p(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,r.plugin):new p(e,void 0===n?t:{line:t,column:s},void 0===n?s:{line:n,column:o},this.css,this.file,r.plugin)).input={line:t,column:s,endLine:n,endColumn:o,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}origin(e,t,s,r){if(!this.map)return!1;let i,n,l=this.map.consumer(),c=l.originalPositionFor({line:e,column:t});if(!c.source)return!1;"number"==typeof s&&(i=l.originalPositionFor({line:s,column:r}));let d={url:(n=u(c.source)?a(c.source):new URL(c.source,this.map.consumer().sourceRoot||a(this.map.mapFile))).toString(),line:c.line,column:c.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===n.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(n)}let p=l.sourceContentFor(c.source);return p&&(d.source=p),d}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map=t({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}s.exports=w,w.default=w,d&&d.registerInput&&d.registerInput(w)},{"./css-syntax-error":67,"./previous-map":80,"./terminal-highlight":3,"nanoid/non-secure":21,path:3,"source-map-js":3,url:3}],72:[function(e,s,r){(function(r){(function(){let{isClean:i,my:n}=e("./symbols"),o=e("./map-generator"),a=e("./stringify"),l=e("./container"),u=e("./document"),c=e("./warn-once"),d=e("./result"),p=e("./parse"),f=e("./root");const m={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},h={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},g={postcssPlugin:!0,prepare:!0,Once:!0},w=0;function b(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,s=m[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[s,s+"-"+t,w,s+"Exit",s+"Exit-"+t]:t?[s,s+"-"+t,s+"Exit",s+"Exit-"+t]:e.append?[s,w,s+"Exit"]:[s,s+"Exit"]}function x(e){let t;return{node:e,events:t="document"===e.type?["Document",w,"DocumentExit"]:"root"===e.type?["Root",w,"RootExit"]:y(e),eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function v(e){return e[i]=!1,e.nodes&&e.nodes.forEach(e=>v(e)),e}let k={};class S{constructor(e,s,r){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof s||null===s||"root"!==s.type&&"document"!==s.type)if(s instanceof S||s instanceof d)i=v(s.root),s.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let e=p;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{i=e(s,r)}catch(e){this.processed=!0,this.error=e}i&&!i[n]&&l.rebuild(i)}else i=v(s);this.result=new d(e,i,r),this.helpers=t({},k,{result:this.result,postcss:k}),this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?t({},e,e.prepare(this.result)):e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==r.env.NODE_ENV&&("from"in this.opts||c("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(b(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];)e[i]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new o(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}walkSync(e){e[i]=!0;let t=y(e);for(let s of t)if(s===w)e.nodes&&e.each(e=>{e[i]||this.walkSync(e)});else{let t=this.listeners[s];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[s,r]of e){let e;this.result.lastPlugin=s;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(b(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return b(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(s.postcssVersion&&"production"!==r.env.NODE_ENV){let e=s.postcssPlugin,t=s.postcssVersion,r=this.result.processor.version,i=t.split("."),n=r.split(".");(i[0]!==n[0]||parseInt(i[1])>parseInt(n[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+r+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=s.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(b(e))try{await e}catch(e){let s=t[t.length-1].node;throw this.handleError(e,s)}}}if(this.listeners.OnceExit)for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>s(e,this.helpers));await Promise.all(t)}else await s(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s])};for(let t of this.plugins)if("object"==typeof t)for(let s in t){if(!h[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`);if(!g[s])if("object"==typeof t[s])for(let r in t[s])e(t,"*"===r?s:s+"-"+r.toLowerCase(),t[s][r]);else"function"==typeof t[s]&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:s,visitors:r}=t;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void e.pop();if(r.length>0&&t.visitorIndex{k=e}),s.exports=S,S.default=S,f.registerLazyResult(S),u.registerLazyResult(S)}).call(this)}).call(this,e("_process"))},{"./container":66,"./document":69,"./map-generator":74,"./parse":77,"./result":82,"./root":83,"./stringify":86,"./symbols":87,"./warn-once":89,_process:91}],73:[(e,t,s)=>{let r={split(e,t,s){let r=[],i="",n=!1,o=0,a=!1,l=!1;for(let s of e)l?l=!1:"\\"===s?l=!0:a?s===a&&(a=!1):'"'===s||"'"===s?a=s:"("===s?o+=1:")"===s?o>0&&(o-=1):0===o&&t.includes(s)&&(n=!0),n?(""!==i&&r.push(i.trim()),i="",n=!1):i+=s;return(s||""!==i)&&r.push(i.trim()),r},space:e=>r.split(e,[" ","\n","\t"]),comma:e=>r.split(e,[","],!0)};t.exports=r,r.default=r},{}],74:[function(e,t,s){(function(s){(function(){let{SourceMapConsumer:r,SourceMapGenerator:i}=e("source-map-js"),{dirname:n,resolve:o,relative:a,sep:l}=e("path"),{pathToFileURL:u}=e("url"),c=e("./input"),d=Boolean(r&&i),p=Boolean(n&&o&&a&&l);t.exports=class{constructor(e,t,s,r){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new c(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}clearAnnotation(){let e;if(!1!==this.mapOpts.annotation)if(this.root)for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let s=t.source.input.from;s&&!e[s]&&(e[s]=!0,this.map.setSourceContent(this.toUrl(this.path(s)),t.source.input.css))}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,s=this.toUrl(this.path(e.file)),i=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text)).sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null)):t=e.consumer(),this.map.applySourceMap(t,s,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return s?s.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?n(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=n(o(t,this.mapOpts.annotation))),a(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(u)return u(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,s=1,r=1,n="",o={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(o.generated.line=s,o.generated.column=r-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,this.map.addMapping(o))),(e=i.match(/\n/g))?(s+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=s,o.generated.column=r-2,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,o.generated.line=s,o.generated.column=r-1,this.map.addMapping(o)))}})}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}}).call(this)}).call(this,e("buffer").Buffer)},{"./input":71,buffer:1,path:3,"source-map-js":3,url:3}],75:[function(e,t,s){(function(s){(function(){let r=e("./map-generator"),i=e("./stringify"),n=e("./warn-once"),o=e("./parse");const a=e("./result");class l{constructor(e,t,s){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=s,this._map=void 0;let n=i;this.result=new a(this._processor,void 0,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let l=new r(n,void 0,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==s.env.NODE_ENV&&("from"in this._opts||n("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}t.exports=l,l.default=l}).call(this)}).call(this,e("_process"))},{"./map-generator":74,"./parse":77,"./result":82,"./stringify":86,"./warn-once":89,_process:91}],76:[function(e,t,s){let{isClean:r,my:i}=e("./symbols"),n=e("./css-syntax-error"),o=e("./stringifier"),a=e("./stringify");class l{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let s of e[t])"function"==typeof s.clone?this.append(s.clone()):this.append(s)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:s,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:s.line,column:s.column},{line:r.line,column:r.column},t)}return new n(e)}warn(e,t,s){let r={node:this};for(let e in s)r[e]=s[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=a){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=function e(t,s){let r=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;if("proxyCache"===i)continue;let n=t[i],o=typeof n;"parent"===i&&"object"===o?s&&(r[i]=s):"source"===i?r[i]=n:Array.isArray(n)?r[i]=n.map(t=>e(t,r)):("object"===o&&null!==n&&(n=e(n)),r[i]=n)}return r}(this);for(let s in e)t[s]=e[s];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let r of e)r===this?s=!0:s?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);s||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new o).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let s={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))s[e]=r.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof r&&r.toJSON)s[e]=r.toJSON(null,t);else if("source"===e){let n=t.get(r.input);null==n&&(n=i,t.set(r.input,i),i++),s[e]={inputId:n,start:r.start,end:r.end}}else s[e]=r}return r&&(s.inputs=[...t.keys()].map(e=>e.toJSON())),s}positionInside(e){let t=this.toString(),s=this.source.start.column,r=this.source.start.line;for(let i=0;ie[t]===s||(e[t]=s,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty(),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}get proxyOf(){return this}}t.exports=l,l.default=l},{"./css-syntax-error":67,"./stringifier":85,"./stringify":86,"./symbols":87}],77:[function(e,t,s){(function(s){(()=>{let r=e("./container"),i=e("./parser"),n=e("./input");function o(e,t){let r=new n(e,t),o=new i(r);try{o.parse()}catch(e){throw"production"!==s.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return o.root}t.exports=o,o.default=o,r.registerParse(o)}).call(this)}).call(this,e("_process"))},{"./container":66,"./input":71,"./parser":78,_process:91}],78:[function(e,t,s){let r=e("./declaration"),i=e("./tokenize"),n=e("./comment"),o=e("./at-rule"),a=e("./root"),l=e("./rule");const u={empty:!0,space:!0};t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new n;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,s=null,r=!1,i=null,n=[],o=e[1].startsWith("--"),a=[],l=e;for(;l;){if(s=l[0],a.push(l),"("===s||"["===s)i||(i=l),n.push("("===s?")":"]");else if(o&&r&&"{"===s)i||(i=l),n.push("}");else if(0===n.length){if(";"===s){if(r)return void this.decl(a,o);break}if("{"===s)return void this.rule(a);if("}"===s){this.tokenizer.back(a.pop()),t=!0;break}":"===s&&(r=!0)}else s===n[n.length-1]&&(n.pop(),0===n.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let s=new r;this.init(s,e[0][2]);let i,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),s.source.end=this.getPosition(n[3]||n[2]||(e=>{for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];if(r)return r}})(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),s.raws.before+=e.shift()[1];for(s.source.start=this.getPosition(e[0][2]),s.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;s.prop+=e.shift()[1]}for(s.raws.between="";e.length;){if(":"===(i=e.shift())[0]){s.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),s.raws.between+=i[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let o,a=[];for(;e.length&&("space"===(o=e[0][0])||"comment"===o);)a.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if("!important"===(i=e[t])[1].toLowerCase()){s.important=!0;let r=this.stringFrom(e,t);" !important"!==(r=this.spacesFromEnd(e)+r)&&(s.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(s.important=!0,s.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(s.raws.between+=a.map(e=>e[1]).join(""),a=[]),this.raw(s,"value",a.concat(e),t),s.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,s,r,i=new o;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let n=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(s=l[r=l.length-1];s&&"space"===s[0];)s=l[--r];s&&(i.source.end=this.getPosition(s[3]||s[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),n&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}end(e){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(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}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}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,s,r){let i,n,o,a,l=s.length,c="",d=!0;for(let e=0;ee+t[1],"");e.raws[t]={value:c,raw:r}}e[t]=c}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&"space"===(t=e[e.length-1][0]);)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let r=t;r=0&&("space"===(s=e[i])[0]||2!==(r+=1));i--);throw this.input.error("Missed semicolon","word"===s[0]?s[3]+1:s[2])}}},{"./at-rule":64,"./comment":65,"./declaration":68,"./root":83,"./rule":84,"./tokenize":88}],79:[function(e,t,s){(function(s){(()=>{let r=e("./css-syntax-error"),i=e("./declaration"),n=e("./lazy-result"),o=e("./container"),a=e("./processor"),l=e("./stringify"),u=e("./fromJSON"),c=e("./document"),d=e("./warning"),p=e("./comment"),f=e("./at-rule"),m=e("./result.js"),h=e("./input"),g=e("./parse"),w=e("./list"),b=e("./rule"),y=e("./root"),x=e("./node");function v(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new a(e)}v.plugin=((e,t)=>{let r,i=!1;function n(...r){console&&console.warn&&!i&&(i=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),s.env.LANG&&s.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new a).version,n}return Object.defineProperty(n,"postcss",{get:()=>(r||(r=n()),r)}),n.process=((e,t,s)=>v([n(s)]).process(e,t)),n}),v.stringify=l,v.parse=g,v.fromJSON=u,v.list=w,v.comment=(e=>new p(e)),v.atRule=(e=>new f(e)),v.decl=(e=>new i(e)),v.rule=(e=>new b(e)),v.root=(e=>new y(e)),v.document=(e=>new c(e)),v.CssSyntaxError=r,v.Declaration=i,v.Container=o,v.Processor=a,v.Document=c,v.Comment=p,v.Warning=d,v.AtRule=f,v.Result=m,v.Input=h,v.Rule=b,v.Root=y,v.Node=x,n.registerPostcss(v),t.exports=v,v.default=v}).call(this)}).call(this,e("_process"))},{"./at-rule":64,"./comment":65,"./container":66,"./css-syntax-error":67,"./declaration":68,"./document":69,"./fromJSON":70,"./input":71,"./lazy-result":72,"./list":73,"./node":76,"./parse":77,"./processor":81,"./result.js":82,"./root":83,"./rule":84,"./stringify":86,"./warning":90,_process:91}],80:[function(e,t,s){(function(s){(function(){let{SourceMapConsumer:r,SourceMapGenerator:i}=e("source-map-js"),{existsSync:n,readFileSync:o}=e("fs"),{dirname:a,join:l}=e("path");class u{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:void 0,r=this.loadMap(t.from,s);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let s=e.lastIndexOf(t.pop()),r=e.indexOf("*/",s);s>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),s?s.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=a(e),n(e))return this.mapFile=e,o(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let s=t(e);if(s){let e=this.loadFile(s);if(!e)throw new Error("Unable to load previous source map: "+s.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(a(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}t.exports=u,u.default=u}).call(this)}).call(this,e("buffer").Buffer)},{buffer:1,fs:3,path:3,"source-map-js":3}],81:[function(e,t,s){(function(s){(function(){let r=e("./no-work-result"),i=e("./lazy-result"),n=e("./document"),o=e("./root");class a{constructor(e=[]){this.version="8.4.14",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==s.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}}t.exports=a,a.default=a,o.registerProcessor(a),n.registerProcessor(a)}).call(this)}).call(this,e("_process"))},{"./document":69,"./lazy-result":72,"./no-work-result":75,"./root":83,_process:91}],82:[function(e,t,s){let r=e("./warning");class i{constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let s=new r(e,t);return this.messages.push(s),s}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}t.exports=i,i.default=i},{"./warning":90}],83:[function(e,t,s){let r,i,n=e("./container");class o extends n{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let s=this.index(e);return!t&&0===s&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}normalize(e,t,s){let r=super.normalize(e);if(t)if("prepend"===s)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}o.registerLazyResult=(e=>{r=e}),o.registerProcessor=(e=>{i=e}),t.exports=o,o.default=o},{"./container":66}],84:[function(e,t,s){let r=e("./container"),i=e("./list");class n extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}t.exports=n,n.default=n,r.registerRule(n)},{"./container":66,"./list":73}],85:[function(e,t,s){const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class i{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),r=e.prop+s+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(s+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let s=this.raw(e,"semicolon");for(let r=0;r{if(void 0!==(i=e.raws[t]))return!1})}var a;return void 0===i&&(i=r[s]),o.rawCache[s]=i,i}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==s.raws.before){let e=s.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let s;return e.walkComments(e=>{if(void 0!==e.raws.before)return(s=e.raws.before).includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(s=e.raws.before).includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeRule(e){let t;return e.walk(s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&void 0!==s.raws.before)return(t=s.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e{let r=e("./stringifier");function i(e,t){new r(t).stringify(e)}t.exports=i,i.default=i},{"./stringifier":85}],87:[(e,t,s)=>{t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},{}],88:[(e,t,s)=>{const r="'".charCodeAt(0),i='"'.charCodeAt(0),n="\\".charCodeAt(0),o="/".charCodeAt(0),a="\n".charCodeAt(0),l=" ".charCodeAt(0),u="\f".charCodeAt(0),c="\t".charCodeAt(0),d="\r".charCodeAt(0),p="[".charCodeAt(0),f="]".charCodeAt(0),m="(".charCodeAt(0),h=")".charCodeAt(0),g="{".charCodeAt(0),w="}".charCodeAt(0),b=";".charCodeAt(0),y="*".charCodeAt(0),x=":".charCodeAt(0),v="@".charCodeAt(0),k=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,O=/.[\n"'(/\\]/,C=/[\da-f]/i;t.exports=((e,t={})=>{let s,M,N,E,R,I,A,P,T,j,L=e.css.valueOf(),$=t.ignoreErrors,_=L.length,z=0,D=[],F=[];function B(t){throw e.error("Unclosed "+t,z)}return{back(e){F.push(e)},nextToken(e){if(F.length)return F.pop();if(z>=_)return;let t=!!e&&e.ignoreUnclosed;switch(s=L.charCodeAt(z)){case a:case l:case c:case d:case u:M=z;do{M+=1,s=L.charCodeAt(M)}while(s===l||s===a||s===c||s===d||s===u);j=["space",L.slice(z,M)],z=M-1;break;case p:case f:case g:case w:case x:case b:case h:{let e=String.fromCharCode(s);j=[e,e,z];break}case m:if(P=D.length?D.pop()[1]:"",T=L.charCodeAt(z+1),"url"===P&&T!==r&&T!==i&&T!==l&&T!==a&&T!==c&&T!==u&&T!==d){M=z;do{if(I=!1,-1===(M=L.indexOf(")",M+1))){if($||t){M=z;break}B("bracket")}for(A=M;L.charCodeAt(A-1)===n;)A-=1,I=!I}while(I);j=["brackets",L.slice(z,M+1),z,M],z=M}else M=L.indexOf(")",z+1),E=L.slice(z,M+1),-1===M||O.test(E)?j=["(","(",z]:(j=["brackets",E,z,M],z=M);break;case r:case i:N=s===r?"'":'"',M=z;do{if(I=!1,-1===(M=L.indexOf(N,M+1))){if($||t){M=z+1;break}B("string")}for(A=M;L.charCodeAt(A-1)===n;)A-=1,I=!I}while(I);j=["string",L.slice(z,M+1),z,M],z=M;break;case v:k.lastIndex=z+1,k.test(L),M=0===k.lastIndex?L.length-1:k.lastIndex-2,j=["at-word",L.slice(z,M+1),z,M],z=M;break;case n:for(M=z,R=!0;L.charCodeAt(M+1)===n;)M+=1,R=!R;if(s=L.charCodeAt(M+1),R&&s!==o&&s!==l&&s!==a&&s!==c&&s!==d&&s!==u&&(M+=1,C.test(L.charAt(M)))){for(;C.test(L.charAt(M+1));)M+=1;L.charCodeAt(M+1)===l&&(M+=1)}j=["word",L.slice(z,M+1),z,M],z=M;break;default:s===o&&L.charCodeAt(z+1)===y?(0===(M=L.indexOf("*/",z+2)+1)&&($||t?M=L.length:B("comment")),j=["comment",L.slice(z,M+1),z,M],z=M):(S.lastIndex=z+1,S.test(L),M=0===S.lastIndex?L.length-1:S.lastIndex-2,j=["word",L.slice(z,M+1),z,M],D.push(j),z=M)}return z++,j},endOfFile:()=>0===F.length&&z>=_,position:()=>z}})},{}],89:[(e,t,s)=>{let r={};t.exports=(e=>{r[e]||(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))})},{}],90:[function(e,t,s){class r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=r,r.default=r},{}],91:[function(e,t,s){var r,i,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}(()=>{try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}})();var u,c=[],d=!1,p=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&m())}function m(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++p1)for(var s=1;s[]),n.binding=(e=>{throw new Error("process.binding is not supported")}),n.cwd=(()=>"/"),n.chdir=(e=>{throw new Error("process.chdir is not supported")}),n.umask=(()=>0)},{}],92:[(e,t,s)=>{var r="skip",i="only";t.exports=((e,t)=>{var s=e.source,n=e.target,o=!e.comments||e.comments===r,a=!e.strings||e.strings===r,l=!e.functionNames||e.functionNames===r,u=e.functionArguments===r,c=e.parentheticals===r,d=!1;Object.keys(e).forEach(t=>{if(e[t]===i){if(d)throw new Error('Only one syntax feature option can be the "only" one to check');d=!0}});var p,f=e.comments===i,m=e.strings===i,h=e.functionNames===i,g=e.functionArguments===i,w=e.parentheticals===i,b=!1,y=!1,x=!1,v=!1,k=!1,S=0,O=0,C=Array.isArray(n),M=(()=>C?e=>{for(var t=0,s=n.length;t{const r=e("./utils/isStandardSyntaxComment"),{assert:i,assertNumber:n,assertString:o}=e("./utils/validateTypes"),a="stylelint-",l=`${a}disable`,u=`${a}enable`,c=`${a}disable-line`,d=`${a}disable-next-line`,p="all";function f(e,t,s,r,i,n){return{comment:e,start:t,end:i||void 0,strictStart:s,strictEnd:"boolean"==typeof n?n:void 0,description:r}}t.exports=((e,t)=>{t.stylelint=t.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};const s={[p]:[]};let m;return t.stylelint.disabledRanges=s,e.walkComments(e=>{if(m)return void(m===e&&(m=null));const t=e.next();if(r(e)||!h(e)||!t||"comment"!==t.type||!e.text.includes("--")&&!t.text.startsWith("--"))return void w(e);let s=e.source&&e.source.end&&e.source.end.line||0;const i=e.clone();let n=t;for(;!r(n)&&!h(n);){const e=n.source&&n.source.end&&n.source.end.line||0;if(s+1!==e)break;i.text+=`\n${n.text}`,i.source&&n.source&&(i.source.end=n.source.end),m=n;const t=n.next();if(!t||"comment"!==t.type)break;n=t,s=e}w(i)}),t;function h(e){return e.text.startsWith(l)||e.text.startsWith(u)}function g(e,t,r,i){if(k(p))throw e.error("All rules have already been disabled",{plugin:"stylelint"});if(r===p)for(const r of Object.keys(s)){if(k(r))continue;const s=r===p;x(e,t,r,s,i),v(t,r,s)}else{if(k(r))throw e.error(`"${r}" has already been disabled`,{plugin:"stylelint"});x(e,t,r,!0,i),v(t,r,!0)}}function w(e){const t=e.text;0===t.indexOf(a)&&(t.startsWith(c)?(e=>{if(e.source&&e.source.start){const t=e.source.start.line,s=y(e.text);for(const r of b(c,e.text))g(e,t,r,s)}})(e):t.startsWith(d)?(e=>{if(e.source&&e.source.end){const t=e.source.end.line,s=y(e.text);for(const r of b(d,e.text))g(e,t+1,r,s)}})(e):t.startsWith(l)?(e=>{const t=y(e.text);for(const r of b(l,e.text)){const i=r===p;if(k(r))throw e.error(i?"All rules have already been disabled":`"${r}" has already been disabled`,{plugin:"stylelint"});if(e.source&&e.source.start){const n=e.source.start.line;if(i)for(const r of Object.keys(s))x(e,n,r,r===p,t);else x(e,n,r,!0,t)}}})(e):t.startsWith(u)&&(e=>{for(const t of b(u,e.text)){const r=e.source&&e.source.end&&e.source.end.line;if(n(r),t!==p)if(k(p)&&void 0===s[t])s[t]=s[p].map(({start:t,end:s,description:r})=>f(e,t,!1,r,s,!1)),v(r,t,!0);else{if(!k(t))throw e.error(`"${t}" has not been disabled`,{plugin:"stylelint"});v(r,t,!0)}else{if(Object.values(s).every(e=>{if(0===e.length)return!0;const t=e[e.length-1];return t&&"number"==typeof t.end}))throw e.error("No rules have been disabled",{plugin:"stylelint"});for(const[e,t]of Object.entries(s)){const s=t[t.length-1];s&&s.end||v(r,e,e===p)}}}})(e))}function b(e,t){const s=t.slice(e.length).split(/\s-{2,}\s/u)[0];o(s);const r=s.trim().split(",").filter(Boolean).map(e=>e.trim());return 0===r.length?[p]:r}function y(e){const t=e.indexOf("--");if(-1!==t)return e.slice(t+2).trim()}function x(e,t,r,n,o){const a=f(e,t,n,o);var l;s[l=r]||(s[l]=s[p].map(({comment:e,start:t,end:s,description:r})=>f(e,t,!1,r,s,!1)));const u=s[r];i(u),u.push(a)}function v(e,t,r){const i=s[t],n=i?i[i.length-1]:null;n&&(n.end=e,n.strictEnd=r)}function k(e){const t=s[e];if(!t)return!1;const r=t[t.length-1];return!!r&&!r.end}})},{"./utils/isStandardSyntaxComment":388,"./utils/validateTypes":421}],94:[(e,t,s)=>{t.exports=((e,t)=>{let s,r;if(e&&e.root){e.root.source&&!(r=e.root.source.input.file)&&"id"in e.root.source.input&&(r=e.root.source.input.id);const t=e.messages.filter(e=>"deprecation"===e.stylelintType).map(e=>({text:e.text,reference:e.stylelintReference})),i=e.messages.filter(e=>"invalidOption"===e.stylelintType).map(e=>({text:e.text})),n=e.messages.filter(e=>"parseError"===e.stylelintType);e.messages=e.messages.filter(e=>"deprecation"!==e.stylelintType&&"invalidOption"!==e.stylelintType&&"parseError"!==e.stylelintType),s={source:r,deprecations:t,invalidOptionWarnings:i,parseErrors:n,errored:e.stylelint.stylelintError,warnings:e.messages.map(e=>({line:e.line,column:e.column,endLine:e.endLine,endColumn:e.endColumn,rule:e.rule,severity:e.severity,text:e.text})),ignored:e.stylelint.ignored,_postcssResult:e}}else{if(!t)throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");if("CssSyntaxError"!==t.name)throw t;s={source:t.file||"",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:"error",text:`${t.reason} (${t.name})`}]}}return s})},{}],95:[(e,t,s)=>{t.exports=((e,t)=>({ruleName:e,rule:t}))},{}],96:[function(e,s,r){(function(r){(()=>{const i=e("./createStylelintResult"),n=e("./getPostcssResult"),o=e("./lintSource");"test"===r.env.NODE_ENV&&r.cwd(),s.exports=((s={})=>{const a={_options:t({},s,{cwd:s.cwd||r.cwd()})};return a._specifiedConfigCache=new Map,a._postcssResultCache=new Map,a._createStylelintResult=i.bind(null,a),a._getPostcssResult=n.bind(null,a),a._lintSource=o.bind(null,a),a.getConfigForFile=(async t=>({config:e("./normalizeAllRuleSettings")(t._options.config)})).bind(null,a),a.isPathIgnored=(async()=>!1).bind(null,a),a})}).call(this)}).call(this,e("_process"))},{"./createStylelintResult":97,"./getPostcssResult":101,"./lintSource":104,"./normalizeAllRuleSettings":106,_process:91}],97:[(e,t,s)=>{const r=e("./createPartialStylelintResult");t.exports=(async(e,t,s,i)=>{let n=r(t,i);const o=await e.getConfigForFile(s,s),a=null===o?{}:o.config,l=n.source||i&&i.file;if(a.resultProcessors)for(const e of a.resultProcessors){const t=e(n,l);t&&(n=t)}return n})},{"./createPartialStylelintResult":94}],98:[(e,t,s)=>{const r=e("./utils/optionsMatches"),i=e("./validateDisableSettings");t.exports=(e=>{for(const t of e){const e=i(t._postcssResult,"reportDescriptionlessDisables");if(!e)continue;const[s,n,o]=e,a=new Set;for(const[e,i]of Object.entries(o.disabledRanges))for(const o of i)o.description||a.has(o.comment)||(s!==r(n,"except",e)?(a.add(o.comment),o.comment.source&&o.comment.source.start&&t.warnings.push({text:`Disable for "${e}" is missing a description`,rule:"--report-descriptionless-disables",line:o.comment.source.start.line,column:o.comment.source.start.column,endLine:o.comment.source.end&&o.comment.source.end.line,endColumn:o.comment.source.end&&o.comment.source.end.column,severity:n.severity})):s||"all"!==e||a.add(o.comment))}})},{"./utils/optionsMatches":406,"./validateDisableSettings":424}],99:[(e,t,s)=>{const r={compact(){},json:e("./jsonFormatter"),string(){},tap(){},unix(){},verbose(){}};t.exports=r},{"./jsonFormatter":100}],100:[(e,t,s)=>{t.exports=(e=>{const t=e.map(e=>Object.entries(e).filter(([e])=>!e.startsWith("_")).reduce((e,[t,s])=>(e[t]=s,e),{}));return JSON.stringify(t)})},{}],101:[(e,s,r)=>{const i=e("postcss/lib/lazy-result").default,{default:n}=e("postcss"),o=n();function a(e,t){return n}s.exports=(async(s,r={})=>{const l=r.filePath?s._postcssResultCache.get(r.filePath):void 0;if(l)return l;if(s._options.syntax){let e='The "syntax" option is no longer available. ';return e+="css"===s._options.syntax?'You can remove the "--syntax" CLI flag as stylelint will now parse files as CSS by default':'You should install an appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option',Promise.reject(new Error(e))}const u=r.customSyntax?(s=>{let r;if("string"==typeof s){try{r=e(s)}catch(e){if(e&&"object"==typeof e&&"MODULE_NOT_FOUND"===e.code&&e.message.includes(s))throw new Error(`Cannot resolve custom syntax module "${s}". Check that module "${s}" is available and spelled correctly.\n\nCaused by: ${e}`);throw e}return r.parse||(r={parse:r,stringify:n.stringify}),r}if("object"==typeof s){if("function"!=typeof s.parse)throw new TypeError('An object provided to the "customSyntax" option must have a "parse" property. Ensure the "parse" property exists and its value is a function.');return t({},s)}throw new Error("Custom syntax must be a string or a Syntax object")})(r.customSyntax):a(0,r.filePath),c={from:r.filePath,syntax:u};let d;if(void 0!==r.code?d=r.code:r.filePath,void 0===d)return Promise.reject(new Error("code or filePath required"));if(r.codeProcessors&&r.codeProcessors.length){s._options.fix&&(console.warn("Autofix is incompatible with processors and will be disabled. Are you sure you need a processor?"),s._options.fix=!1);const e=r.code?r.codeFilename:r.filePath;for(const t of r.codeProcessors)d=t(d,e)}const p=await new i(o,d,c);return r.filePath&&s._postcssResultCache.set(r.filePath,p),p}),a.sugarss=e("sugarss")},{postcss:79,"postcss/lib/lazy-result":72,sugarss:426}],102:[(e,t,s)=>{const r=e("./utils/optionsMatches"),i=e("./validateDisableSettings");t.exports=(e=>{for(const t of e){const e=i(t._postcssResult,"reportInvalidScopeDisables");if(!e)continue;const[s,n,o]=e,a=(o.config||{}).rules||{},l=new Set(Object.keys(a));l.add("all");for(const[e,i]of Object.entries(o.disabledRanges))if(!l.has(e)&&s!==r(n,"except",e))for(const s of i)(s.strictStart||s.strictEnd)&&s.comment.source&&s.comment.source.start&&t.warnings.push({text:`Rule "${e}" isn't enabled`,rule:"--report-invalid-scope-disables",line:s.comment.source.start.line,column:s.comment.source.start.column,endLine:s.comment.source.end&&s.comment.source.end.line,endColumn:s.comment.source.end&&s.comment.source.end.column,severity:n.severity})}})},{"./utils/optionsMatches":406,"./validateDisableSettings":424}],103:[(e,t,s)=>{const r=e("./assignDisabledRanges"),i=e("./utils/getOsEol"),n=e("./reportUnknownRuleNames"),o=e("./rules");t.exports=((e,t,s)=>{let a;t.stylelint.ruleSeverities={},t.stylelint.customMessages={},t.stylelint.ruleMetadata={},t.stylelint.stylelintError=!1,t.stylelint.quiet=s.quiet,t.stylelint.config=s;const l=t.root;if(l){if(!("type"in l))throw new Error("Unexpected Postcss root object!");const e=l.source&&l.source.input.css.match(/\r?\n/);a=e?e[0]:i(),r(l,t)}const u=(({stylelint:e})=>!e.disabledRanges.all||!e.disabledRanges.all.length)(t);u||(t.stylelint.disableWritingFix=!0);const c=l&&"Document"===l.constructor.name?l.nodes:[l],d=[],p=Object.keys(o),f=s.rules?Object.keys(s.rules).sort((e,t)=>p.indexOf(e)-p.indexOf(t)):[];for(const r of f){const i=o[r]||s.pluginFunctions&&s.pluginFunctions[r];if(void 0===i){d.push(Promise.all(c.map(e=>n(r,e,t))));continue}const l=s.rules&&s.rules[r];if(null===l||null===l[0])continue;const p=l[0],f=l[1],m=s.defaultSeverity||"error",h=f&&!0===f.disableFix||!1;h&&(t.stylelint.ruleDisableFix=!0),t.stylelint.ruleSeverities[r]=f&&f.severity||m,t.stylelint.customMessages[r]=f&&f.message,t.stylelint.ruleMetadata[r]=i.meta||{},d.push(Promise.all(c.map(s=>i(p,f,{fix:!h&&e.fix&&u&&!t.stylelint.disabledRanges[r],newline:a})(s,t))))}return Promise.all(d)})},{"./assignDisabledRanges":93,"./reportUnknownRuleNames":115,"./rules":208,"./utils/getOsEol":346}],104:[(e,t,s)=>{const r=e("./utils/isPathNotFoundError"),i=e("./lintPostcssResult"),n=e("path");t.exports=(async(e,t={})=>{if(!t.filePath&&void 0===t.code&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));const s=void 0!==t.code,o=s?t.codeFilename:t.filePath;if(void 0!==o&&!n.isAbsolute(o))return s?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await e.isPathIgnored(o).catch(e=>{if(s&&r(e))return!1;throw e}))return t.existingPostcssResult?Object.assign(t.existingPostcssResult,{stylelint:{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1}}):{root:{source:{input:{file:o}}},messages:[],opts:void 0,stylelint:{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1},warn(){}};const a=e._options.configFile||o,l=e._options.cwd,u=await e.getConfigForFile(a,o).catch(t=>{if(s&&r(t))return e.getConfigForFile(l);throw t});if(!u)return Promise.reject(new Error("Config file not found"));const c=u.config,d=t.existingPostcssResult||await e._getPostcssResult({code:t.code,codeFilename:t.codeFilename,filePath:o,codeProcessors:c.codeProcessors,customSyntax:c.customSyntax}),p=Object.assign(d,{stylelint:{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}}});return await i(e._options,p,c),p})},{"./lintPostcssResult":103,"./utils/isPathNotFoundError":380,path:22}],105:[(e,t,s)=>{const r=e("./utils/optionsMatches"),i=e("./utils/putIfAbsent"),n=e("./validateDisableSettings");function o(e,t){const s=e.line;return t.start<=s&&(void 0!==t.end&&t.end>=s||void 0===t.end)}t.exports=(e=>{for(const t of e){const e=n(t._postcssResult,"reportNeedlessDisables");if(!e)continue;const[s,a,l]=e,u=l.disabledRanges;if(!u)continue;const c=l.disabledWarnings||[],d=new Map;for(const e of c){const t=e.rule,s=u[t];if(s)for(const r of s)o(e,r)&&i(d,r.comment,()=>new Set).add(t);for(const s of u.all||[])o(e,s)&&i(d,s.comment,()=>new Set).add(t)}const p=new Set((u.all||[]).map(e=>e.comment));for(const[e,i]of Object.entries(u))for(const n of i){if("all"!==e&&p.has(n.comment))continue;if(s===r(a,"except",e))continue;const i=d.get(n.comment)||new Set;("all"===e?0!==i.size:i.has(e))||n.comment.source&&n.comment.source.start&&t.warnings.push({text:`Needless disable for "${e}"`,rule:"--report-needless-disables",line:n.comment.source.start.line,column:n.comment.source.start.column,endLine:n.comment.source.end&&n.comment.source.end.line,endColumn:n.comment.source.end&&n.comment.source.end.column,severity:a.severity})}}})},{"./utils/optionsMatches":406,"./utils/putIfAbsent":408,"./validateDisableSettings":424}],106:[(e,t,s)=>{const r=e("./normalizeRuleSettings"),i=e("./rules");t.exports=(e=>{if(!e.rules)return e;const t={};for(const[s,n]of Object.entries(e.rules)){const o=i[s]||e.pluginFunctions&&e.pluginFunctions[s];t[s]=o?r(n,s,o.primaryOptionArray):[]}return e.rules=t,e})},{"./normalizeRuleSettings":107,"./rules":208}],107:[(e,t,s)=>{const r=e("./rules"),{isPlainObject:i}=e("./utils/validateTypes");t.exports=((e,t,s)=>{if(null===e||void 0===e)return null;if(!Array.isArray(e))return[e];if(e.length>0&&(null===e[0]||void 0===e[0]))return null;if(void 0===s){const e=r[t];e&&"primaryOptionArray"in e&&(s=e.primaryOptionArray)}return s?1===e.length&&Array.isArray(e[0])?e:2===e.length&&!i(e[0])&&i(e[1])?e:[e]:e})},{"./rules":208,"./utils/validateTypes":421}],108:[function(e,t,s){(function(s){(()=>{const r=e("./createStylelint"),i=e("path");t.exports=((e={})=>{const[t,n]="rules"in e?[s.cwd(),{config:e}]:[e.cwd||s.cwd(),e],o=r(n);return{postcssPlugin:"stylelint",Once(e,{result:s}){let r=e.source&&e.source.input.file;return r&&!i.isAbsolute(r)&&(r=i.join(t,r)),o._lintSource({filePath:r,existingPostcssResult:s})}}}),t.exports.postcss=!0}).call(this)}).call(this,e("_process"))},{"./createStylelint":96,_process:91,path:22}],109:[(e,t,s)=>{const r=e("./descriptionlessDisables"),i=e("./invalidScopeDisables"),n=e("./needlessDisables"),o=e("./reportDisables");t.exports=((e,t,s,a)=>{o(e),n(e),i(e),r(e);const l={cwd:a,errored:e.some(e=>e.errored||e.parseErrors.length>0||e.warnings.some(e=>"error"===e.severity)),results:[],output:"",reportedDisables:[]};if(void 0!==t){const s=e.reduce((e,t)=>e+t.warnings.length,0);s>t&&(l.maxWarningsExceeded={maxWarnings:t,foundWarnings:s})}return l.output=s(e,l),l.results=e,l})},{"./descriptionlessDisables":98,"./invalidScopeDisables":102,"./needlessDisables":105,"./reportDisables":114}],110:[(e,t,s)=>{const r=e("html-tags"),i={};function n(...e){return new Set([...e].reduce((e,t)=>[...e,...t],[]))}i.nonLengthUnits=new Set(["%","s","ms","deg","grad","turn","rad","Hz","kHz","dpi","dpcm","dppx"]),i.lengthUnits=new Set(["em","ex","ch","rem","rlh","lh","dvh","dvmax","dvmin","dvw","lvh","lvmax","lvmin","lvw","svh","svmax","svmin","svw","vh","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr"]),i.units=n(i.nonLengthUnits,i.lengthUnits),i.camelCaseFunctionNames=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),i.basicKeywords=new Set(["initial","inherit","revert","revert-layer","unset"]),i.systemFontValues=n(i.basicKeywords,["caption","icon","menu","message-box","small-caption","status-bar"]),i.fontFamilyKeywords=n(i.basicKeywords,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded"]),i.fontWeightRelativeKeywords=new Set(["bolder","lighter"]),i.fontWeightAbsoluteKeywords=new Set(["bold"]),i.fontWeightNumericKeywords=new Set(["100","200","300","400","500","600","700","800","900"]),i.fontWeightKeywords=n(i.basicKeywords,i.fontWeightRelativeKeywords,i.fontWeightAbsoluteKeywords,i.fontWeightNumericKeywords),i.animationNameKeywords=n(i.basicKeywords,["none"]),i.animationTimingFunctionKeywords=n(i.basicKeywords,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),i.animationIterationCountKeywords=new Set(["infinite"]),i.animationDirectionKeywords=n(i.basicKeywords,["normal","reverse","alternate","alternate-reverse"]),i.animationFillModeKeywords=new Set(["none","forwards","backwards","both"]),i.animationPlayStateKeywords=n(i.basicKeywords,["running","paused"]),i.animationShorthandKeywords=n(i.basicKeywords,i.animationNameKeywords,i.animationTimingFunctionKeywords,i.animationIterationCountKeywords,i.animationDirectionKeywords,i.animationFillModeKeywords,i.animationPlayStateKeywords),i.levelOneAndTwoPseudoElements=new Set(["before","after","first-line","first-letter"]),i.levelThreeAndUpPseudoElements=new Set(["before","after","first-line","first-letter","backdrop","content","cue","file-selector-button","grammar-error","marker","placeholder","selection","shadow","slotted","spelling-error","target-text"]),i.shadowTreePseudoElements=new Set(["part"]),i.webkitScrollbarPseudoElements=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),i.vendorSpecificPseudoElements=new Set(["-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-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",...i.webkitScrollbarPseudoElements]),i.pseudoElements=n(i.levelOneAndTwoPseudoElements,i.levelThreeAndUpPseudoElements,i.vendorSpecificPseudoElements,i.shadowTreePseudoElements),i.aNPlusBNotationPseudoClasses=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),i.linguisticPseudoClasses=new Set(["dir","lang"]),i.atRulePagePseudoClasses=new Set(["first","right","left","blank"]),i.logicalCombinationsPseudoClasses=new Set(["has","is","matches","not","where"]),i.aNPlusBOfSNotationPseudoClasses=new Set(["nth-child","nth-last-child"]),i.otherPseudoClasses=new Set(["active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","first-child","first-of-type","focus","focus-within","focus-visible","fullscreen","fullscreen-ancestor","future","host","host-context","hover","indeterminate","in-range","invalid","last-child","last-of-type","link","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","playing","picture-in-picture","paused","read-only","read-write","required","root","scope","state","target","unresolved","user-invalid","user-valid","valid","visited","window-inactive"]),i.vendorSpecificPseudoClasses=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-broken","-moz-drag-over","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-placeholder","-moz-submit-invalid","-moz-suppressed","-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"]),i.webkitScrollbarPseudoClasses=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),i.pseudoClasses=n(i.aNPlusBNotationPseudoClasses,i.linguisticPseudoClasses,i.logicalCombinationsPseudoClasses,i.aNPlusBOfSNotationPseudoClasses,i.otherPseudoClasses,i.vendorSpecificPseudoClasses),i.shorthandTimeProperties=new Set(["transition","animation"]),i.longhandTimeProperties=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),i.timeProperties=n(i.shorthandTimeProperties,i.longhandTimeProperties),i.camelCaseKeywords=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),i.counterIncrementKeywords=n(i.basicKeywords,["none"]),i.counterResetKeywords=n(i.basicKeywords,["none"]),i.gridRowKeywords=n(i.basicKeywords,["auto","span"]),i.gridColumnKeywords=n(i.basicKeywords,["auto","span"]),i.gridAreaKeywords=n(i.basicKeywords,["auto","span"]),i.listStyleTypeKeywords=n(i.basicKeywords,["none","disc","circle","square","decimal","cjk-decimal","decimal-leading-zero","lower-roman","upper-roman","lower-greek","lower-alpha","lower-latin","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian","cjk-earthly-branch","cjk-ideographic","devanagari","ethiopic-numeric","georgian","gujarati","gurmukhi","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","lower-armenian","malayalam","mongolian","myanmar","oriya","persian","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","trad-chinese-formal","trad-chinese-informal","upper-armenian","disclosure-open","disclosure-closed","ethiopic-halehame","ethiopic-halehame-am","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","hangul","hangul-consonant","urdu"]),i.listStylePositionKeywords=n(i.basicKeywords,["inside","outside"]),i.listStyleImageKeywords=n(i.basicKeywords,["none"]),i.listStyleShorthandKeywords=n(i.basicKeywords,i.listStyleTypeKeywords,i.listStylePositionKeywords,i.listStyleImageKeywords),i.fontStyleKeywords=n(i.basicKeywords,["normal","italic","oblique"]),i.fontVariantKeywords=n(i.basicKeywords,["normal","none","historical-forms","none","common-ligatures","no-common-ligatures","discretionary-ligatures","no-discretionary-ligatures","historical-ligatures","no-historical-ligatures","contextual","no-contextual","small-caps","small-caps","all-small-caps","petite-caps","all-petite-caps","unicase","titling-caps","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions","ordinal","slashed-zero","jis78","jis83","jis90","jis04","simplified","traditional","full-width","proportional-width","ruby"]),i.fontStretchKeywords=n(i.basicKeywords,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),i.fontSizeKeywords=n(i.basicKeywords,["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]),i.lineHeightKeywords=n(i.basicKeywords,["normal"]),i.fontShorthandKeywords=n(i.basicKeywords,i.fontStyleKeywords,i.fontVariantKeywords,i.fontWeightKeywords,i.fontStretchKeywords,i.fontSizeKeywords,i.lineHeightKeywords,i.fontFamilyKeywords),i.keyframeSelectorKeywords=new Set(["from","to"]),i.pageMarginAtRules=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"]),i.atRules=n(i.pageMarginAtRules,["annotation","apply","character-variant","charset","counter-style","custom-media","custom-selector","document","font-face","font-feature-values","import","keyframes","layer","media","namespace","nest","ornaments","page","property","styleset","stylistic","supports","swash","viewport"]),i.deprecatedMediaFeatureNames=new Set(["device-aspect-ratio","device-height","device-width","max-device-aspect-ratio","max-device-height","max-device-width","min-device-aspect-ratio","min-device-height","min-device-width"]),i.mediaFeatureNames=n(i.deprecatedMediaFeatureNames,["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","display-mode","dynamic-range","forced-colors","grid","height","hover","inverted-colors","light-level","max-aspect-ratio","max-color","max-color-index","max-height","max-monochrome","max-resolution","max-width","min-aspect-ratio","min-color","min-color-index","min-height","min-monochrome","min-resolution","min-width","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","video-dynamic-range","width"]),i.systemColors=new Set(["activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),i.standardHtmlTags=new Set(r),i.nonStandardHtmlTags=new Set(["acronym","applet","basefont","big","blink","center","content","dir","font","frame","frameset","hgroup","isindex","keygen","listing","marquee","nobr","noembed","plaintext","spacer","strike","tt","xmp"]),i.validMixedCaseSvgElements=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","linearGradient","radialGradient","textPath"]),t.exports=i},{"html-tags":14}],111:[(e,t,s)=>{t.exports=["calc","clamp","max","min"]},{}],112:[(e,t,s)=>{const r={};r.acceptCustomIdents=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),t.exports=r},{}],113:[(e,t,s)=>{t.exports={margin:["margin-top","margin-bottom","margin-left","margin-right"],padding:["padding-top","padding-bottom","padding-left","padding-right"],background:["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"],font:["font-style","font-variant","font-weight","font-stretch","font-size","font-family","line-height"],border:["border-top-width","border-bottom-width","border-left-width","border-right-width","border-top-style","border-bottom-style","border-left-style","border-right-style","border-top-color","border-bottom-color","border-left-color","border-right-color"],"border-top":["border-top-width","border-top-style","border-top-color"],"border-bottom":["border-bottom-width","border-bottom-style","border-bottom-color"],"border-left":["border-left-width","border-left-style","border-left-color"],"border-right":["border-right-width","border-right-style","border-right-color"],"border-width":["border-top-width","border-bottom-width","border-left-width","border-right-width"],"border-style":["border-top-style","border-bottom-style","border-left-style","border-right-style"],"border-color":["border-top-color","border-bottom-color","border-left-color","border-right-color"],"list-style":["list-style-type","list-style-position","list-style-image"],"border-radius":["border-top-right-radius","border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],transition:["transition-delay","transition-duration","transition-property","transition-timing-function"],animation:["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"],"border-block-end":["border-block-end-width","border-block-end-style","border-block-end-color"],"border-block-start":["border-block-start-width","border-block-start-style","border-block-start-color"],"border-image":["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"],"border-inline-end":["border-inline-end-width","border-inline-end-style","border-inline-end-color"],"border-inline-start":["border-inline-start-width","border-inline-start-style","border-inline-start-color"],"column-rule":["column-rule-width","column-rule-style","column-rule-color"],columns:["column-width","column-count"],flex:["flex-grow","flex-shrink","flex-basis"],"flex-flow":["flex-direction","flex-wrap"],grid:["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":["grid-row-start","grid-column-start","grid-row-end","grid-column-end"],"grid-column":["grid-column-start","grid-column-end"],"grid-gap":["grid-row-gap","grid-column-gap"],"grid-row":["grid-row-start","grid-row-end"],"grid-template":["grid-template-columns","grid-template-rows","grid-template-areas"],outline:["outline-color","outline-style","outline-width"],"text-decoration":["text-decoration-color","text-decoration-style","text-decoration-line"],"text-emphasis":["text-emphasis-style","text-emphasis-color"],mask:["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"]}},{}],114:[(e,t,s)=>{function r(e){return!(!e||!e[1])&&Boolean(e[1].reportDisables)}t.exports=(e=>{for(const t of e){if(!t._postcssResult)continue;const e=t._postcssResult.stylelint.disabledRanges;if(!e)continue;const s=t._postcssResult.stylelint.config;if(s&&s.rules&&Object.values(s.rules).some(e=>r(e)))for(const[i,n]of Object.entries(e))for(const e of n)r(s.rules[i]||[])&&e.comment.source&&e.comment.source.start&&t.warnings.push({text:`Rule "${i}" may not be disabled`,rule:"reportDisables",line:e.comment.source.start.line,column:e.comment.source.start.column,endLine:e.comment.source.end&&e.comment.source.end.line,endColumn:e.comment.source.end&&e.comment.source.end.column,severity:"error"})}})},{}],115:[(e,t,s)=>{const r=e("fastest-levenshtein"),i=e("./rules"),n=new Map;t.exports=((e,t,s)=>{const o=n.has(e)?n.get(e):(e=>{const t=Array.from({length:6});for(let e=0;e0){if(e<3)return r.slice(0,3);s=s.concat(r)}return s.slice(0,3)})(e);n.set(e,o),s.warn(((t,s=[])=>`Unknown rule ${e}.${s.length>0?` Did you mean ${s.join(", ")}?`:""}`)(0,o),{severity:"error",rule:e,node:t,index:0})})},{"./rules":208,"fastest-levenshtein":12}],116:[function(e,t,s){(function(s){(()=>{const r=e("./createStylelint"),i=e("path");t.exports=(async(e,{cwd:t=s.cwd(),config:n,configBasedir:o,configFile:a}={})=>{if(!e)return;const l=r({config:n,configFile:a,configBasedir:o,cwd:t}),u=i.isAbsolute(e)?i.normalize(e):i.join(t,e),c=l._options.configFile||u,d=await l.getConfigForFile(c,u);return d?d.config:void 0})}).call(this)}).call(this,e("_process"))},{"./createStylelint":96,_process:91,path:22}],117:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/isStandardSyntaxValue"),a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/setDeclarationValue"),d=e("../../utils/validateOptions"),{isRegExp:p,isString:f,assert:m}=e("../../utils/validateTypes"),h="alpha-value-notation",g=u(h,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),w=new Set(["opacity","shape-image-threshold"]),b=new Set(["hsl","hsla","hwb","lab","lch","rgb","rgba"]),y=(e,t,s)=>(u,m)=>{if(!d(m,h,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[f,p]},optional:!0}))return;const y=Object.freeze({number:{expFunc:O,fixFunc:k},percentage:{expFunc:S,fixFunc:v}});u.walkDecls(u=>{let d=!1;const p=r(n(u));p.walk(r=>{let n;if(w.has(u.prop.toLowerCase()))n="word"===(x=r).type||"function"===x.type?x:void 0;else{if("function"!==r.type)return;if(!b.has(r.value.toLowerCase()))return;n=(e=>{const t=e.nodes.filter(({type:e})=>"word"===e||"function"===e);if(4===t.length)return t[3];const s=e.nodes.findIndex(({type:e,value:t})=>"div"===e&&"/"===t);return-1!==s?e.nodes.slice(s+1,e.nodes.length).find(({type:e})=>"word"===e):void 0})(r)}if(!n)return;const{value:c}=n;if(!o(c))return;if(!O(c)&&!S(c))return;let p=e;if(a(t,"exceptProperties",u.prop)&&("number"===p?p="percentage":"percentage"===p&&(p="number")),y[p].expFunc(c))return;const f=y[p].fixFunc(c),v=c;if(s.fix)return n.value=String(f),void(d=!0);const k=i(u)+n.sourceIndex,C=k+n.value.length;l({message:g.expected(v,f),node:u,index:k,endIndex:C,result:m,ruleName:h})}),d&&c(u,p.toString())})};var x;function v(e){const t=Number(e);return`${Number((100*t).toPrecision(3))}%`}function k(e){const t=r.unit(e);m(t);const s=Number(t.number);return Number((s/100).toPrecision(3)).toString()}function S(e){const t=r.unit(e);return t&&"%"===t.unit}function O(e){const t=r.unit(e);return t&&""===t.unit}y.ruleName=h,y.messages=g,y.meta={url:"https://stylelint.io/user-guide/rules/list/alpha-value-notation"},t.exports=y},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isStandardSyntaxValue":398,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],118:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/vendor"),{isString:l}=e("../../utils/validateTypes"),u="at-rule-allowed-list",c=n(u,{rejected:e=>`Unexpected at-rule "${e}"`}),d=e=>(t,s)=>{if(!o(s,u,{actual:e,possible:[l]}))return;const n=[e].flat();t.walkAtRules(e=>{const t=e.name;r(e)&&(n.includes(a.unprefixed(t).toLowerCase())||i({message:c.rejected(t),node:e,result:s,ruleName:u,word:`@${t}`}))})};d.primaryOptionArray=!0,d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-allowed-list"},t.exports=d},{"../../utils/isStandardSyntaxAtRule":385,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],119:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/vendor"),{isString:l}=e("../../utils/validateTypes"),u="at-rule-disallowed-list",c=n(u,{rejected:e=>`Unexpected at-rule "${e}"`}),d=e=>(t,s)=>{if(!o(s,u,{actual:e,possible:[l]}))return;const n=[e].flat();t.walkAtRules(e=>{const t=e.name;r(e)&&n.includes(a.unprefixed(t).toLowerCase())&&i({message:c.rejected(t),node:e,result:s,ruleName:u,word:`@${e.name}`})})};d.primaryOptionArray=!0,d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-disallowed-list"},t.exports=d},{"../../utils/isStandardSyntaxAtRule":385,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],120:[(e,t,s)=>{const r=e("../../utils/addEmptyLineBefore"),i=e("../../utils/getPreviousNonSharedLineCommentNode"),n=e("../../utils/hasEmptyLine"),o=e("../../utils/isAfterComment"),a=e("../../utils/isBlocklessAtRuleAfterBlocklessAtRule"),l=e("../../utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule"),u=e("../../utils/isFirstNested"),c=e("../../utils/isFirstNodeOfRoot"),d=e("../../utils/isStandardSyntaxAtRule"),p=e("../../utils/optionsMatches"),f=e("../../utils/removeEmptyLinesBefore"),m=e("../../utils/report"),h=e("../../utils/ruleMessages"),g=e("../../utils/validateOptions"),{isString:w}=e("../../utils/validateTypes"),b="at-rule-empty-line-before",y=h(b,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),x=(e,t,s)=>(h,x)=>{if(!g(x,b,{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:[w]},optional:!0}))return;const v=e;h.walkAtRules(e=>{const h=e.parent&&"root"!==e.parent.type;if(c(e))return;if(!d(e))return;if(p(t,"ignoreAtRules",e.name))return;if(p(t,"ignore","blockless-after-blockless")&&a(e))return;if(p(t,"ignore","first-nested")&&u(e))return;if(p(t,"ignore","blockless-after-same-name-blockless")&&l(e))return;if(p(t,"ignore","inside-block")&&h)return;if(p(t,"ignore","after-comment")&&o(e))return;const g=n(e.raws.before);let w="always"===v;if((p(t,"except","after-same-name")&&(e=>{const t=i(e);return t&&"atrule"===t.type&&t.name===e.name})(e)||p(t,"except","inside-block")&&h||p(t,"except","first-nested")&&u(e)||p(t,"except","blockless-after-blockless")&&a(e)||p(t,"except","blockless-after-same-name-blockless")&&l(e))&&(w=!w),w===g)return;if(s.fix&&s.newline)return void(w?r(e,s.newline):f(e,s.newline));const k=w?y.expected:y.rejected;m({message:k,node:e,result:x,ruleName:b})})};x.ruleName=b,x.messages=y,x.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before"},t.exports=x},{"../../utils/addEmptyLineBefore":323,"../../utils/getPreviousNonSharedLineCommentNode":347,"../../utils/hasEmptyLine":353,"../../utils/isAfterComment":359,"../../utils/isBlocklessAtRuleAfterBlocklessAtRule":362,"../../utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule":363,"../../utils/isFirstNested":372,"../../utils/isFirstNodeOfRoot":373,"../../utils/isStandardSyntaxAtRule":385,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesBefore":411,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],121:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a="at-rule-name-case",l=n(a,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),u=(e,t,s)=>(t,n)=>{if(!o(n,a,{actual:e,possible:["lower","upper"]}))return;const u=e;t.walkAtRules(e=>{if(!r(e))return;const t=e.name,o="lower"===u?t.toLowerCase():t.toUpperCase();t!==o&&(s.fix?e.name=o:i({message:l.expected(t,o),node:e,ruleName:a,result:n}))})};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-name-case"},t.exports=u},{"../../utils/isStandardSyntaxAtRule":385,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],122:[(e,t,s)=>{const r=e("../atRuleNameSpaceChecker"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="at-rule-name-newline-after",l=i(a,{expectedAfter:e=>`Expected newline after at-rule name "${e}"`}),u=e=>{const t=o("newline",e,l);return(s,i)=>{n(i,a,{actual:e,possible:["always","always-multi-line"]})&&r({root:s,result:i,locationChecker:t.afterOneOnly,checkedRuleName:a})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-name-newline-after"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../atRuleNameSpaceChecker":128}],123:[(e,t,s)=>{const r=e("../atRuleNameSpaceChecker"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="at-rule-name-space-after",l=i(a,{expectedAfter:e=>`Expected single space after at-rule name "${e}"`}),u=(e,t,s)=>{const i=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","always-single-line"]})&&r({root:t,result:o,locationChecker:i.after,checkedRuleName:a,fix:s.fix?e=>{"string"==typeof e.raws.afterName&&(e.raws.afterName=e.raws.afterName.replace(/^\s*/," "))}:null})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-name-space-after"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../atRuleNameSpaceChecker":128}],124:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../reference/keywordSets"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="at-rule-no-unknown",f=a(p,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),m=(e,t)=>(s,a)=>{l(a,p,{actual:e},{actual:t,possible:{ignoreAtRules:[d,c]},optional:!0})&&s.walkAtRules(e=>{if(!r(e))return;const s=e.name;if(n(t,"ignoreAtRules",e.name))return;if(u.prefix(s)||i.atRules.has(s.toLowerCase()))return;const l=`@${s}`;o({message:f.rejected(l),node:e,ruleName:p,result:a,word:l})})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-no-unknown"},t.exports=m},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxAtRule":385,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],125:[(e,t,s)=>{const r=e("../../utils/flattenArray"),i=e("../../utils/isStandardSyntaxAtRule"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateObjectWithArrayProps"),l=e("../../utils/validateOptions"),{isString:u}=e("../../utils/validateTypes"),c="at-rule-property-required-list",d=o(c,{expected:(e,t)=>`Expected property "${e}" for at-rule "${t}"`}),p=e=>(t,s)=>{l(s,c,{actual:e,possible:[a(u)]})&&t.walkAtRules(t=>{if(!i(t))return;const{name:o,nodes:a}=t,l=o.toLowerCase(),u=r(e[l]);if(u)for(const e of u){const r=e.toLowerCase();a.find(e=>"decl"===e.type&&e.prop.toLowerCase()===r)||n({message:d.expected(r,l),node:t,result:s,ruleName:c})}})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-property-required-list"},t.exports=p},{"../../utils/flattenArray":338,"../../utils/isStandardSyntaxAtRule":385,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],126:[(e,t,s)=>{const r=e("../../utils/hasBlock"),i=e("../../utils/isStandardSyntaxAtRule"),n=e("../../utils/nextNonCommentNode"),o=e("../../utils/rawNodeString"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("../../utils/whitespaceChecker"),d="at-rule-semicolon-newline-after",p=l(d,{expectedAfter:()=>'Expected newline after ";"'}),f=(e,t,s)=>{const l=c("newline",e,p);return(t,c)=>{u(c,d,{actual:e,possible:["always"]})&&t.walkAtRules(e=>{const t=e.next();if(!t)return;if(r(e))return;if(!i(e))return;const u=n(t);u&&l.afterOneOnly({source:o(u),index:-1,err(t){s.fix?u.raws.before=s.newline+u.raws.before:a({message:t,node:e,index:e.toString().length+1,result:c,ruleName:d})}})})}};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after"},t.exports=f},{"../../utils/hasBlock":351,"../../utils/isStandardSyntaxAtRule":385,"../../utils/nextNonCommentNode":404,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],127:[(e,t,s)=>{const r=e("../../utils/hasBlock"),i=e("../../utils/isStandardSyntaxAtRule"),n=e("../../utils/rawNodeString"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),c="at-rule-semicolon-space-before",d=a(c,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),p=e=>{const t=u("space",e,d);return(s,a)=>{l(a,c,{actual:e,possible:["always","never"]})&&s.walkAtRules(e=>{if(r(e))return;if(!i(e))return;const s=n(e);t.before({source:s,index:s.length,err(t){o({message:t,node:e,index:s.length-1,result:a,ruleName:c})}})})}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/at-rule-semicolon-space-before"},t.exports=p},{"../../utils/hasBlock":351,"../../utils/isStandardSyntaxAtRule":385,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],128:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxAtRule"),i=e("../utils/report");t.exports=(e=>{var t,s,n;e.root.walkAtRules(o=>{r(o)&&(t=`@${o.name}${o.raws.afterName||""}${o.params}`,s=o.name.length,n=o,e.locationChecker({source:t,index:s,err(t){e.fix?e.fix(n):i({message:t,node:n,index:s,result:e.result,ruleName:e.checkedRuleName})},errTarget:`@${n.name}`}))})})},{"../utils/isStandardSyntaxAtRule":385,"../utils/report":412}],129:[(e,t,s)=>{const r=e("../../utils/addEmptyLineAfter"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/hasEmptyLine"),l=e("../../utils/isSingleLineString"),u=e("../../utils/optionsMatches"),c=e("../../utils/removeEmptyLinesAfter"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),m="block-closing-brace-empty-line-before",h=p(m,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),g=(e,t,s)=>(p,g)=>{function w(p){if(!n(p)||o(p))return;const f=(p.raws.after||"").replace(/;+/,""),w=p.toString();let b=w.length-1;"\r"===w[b-1]&&(b-=1);const y=(()=>{const s=p.nodes.map(e=>e.type);return u(t,"except","after-closing-brace")&&"atrule"===p.type&&!s.includes("decl")?"never"===e:"always-multi-line"===e&&!l(i(p))})();if(y===a(f))return;if(s.fix){const{newline:e}=s;if("string"!=typeof e)return;return void(y?r(p,e):c(p,e))}const x=y?h.expected:h.rejected;d({message:x,result:g,ruleName:m,node:p,index:b})}f(g,m,{actual:e,possible:["always-multi-line","never"]},{actual:t,possible:{except:["after-closing-brace"]},optional:!0})&&(p.walkRules(w),p.walkAtRules(w))};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before"},t.exports=g},{"../../utils/addEmptyLineAfter":322,"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/hasEmptyLine":353,"../../utils/isSingleLineString":384,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesAfter":410,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],130:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/hasBlock"),n=e("../../utils/optionsMatches"),o=e("../../utils/rawNodeString"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("../../utils/whitespaceChecker"),{isString:d}=e("../../utils/validateTypes"),p="block-closing-brace-newline-after",f=l(p,{expectedAfter:()=>'Expected newline after "}"',expectedAfterSingleLine:()=>'Expected newline after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected newline after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),m=(e,t,s)=>{const l=c("newline",e,f);return(c,f)=>{function m(u){if(!i(u))return;if("atrule"===u.type&&n(t,"ignoreAtRules",u.name))return;const c=u.next();if(!c)return;const d="comment"!==c.type||/[^ ]/.test(c.raws.before||"")||c.toString().includes("\n")?c:c.next();if(!d)return;let m=u.toString().length,h=o(d);h&&h.startsWith(";")&&(h=h.slice(1),m++),l.afterOneOnly({source:h,index:-1,lineCheckStr:r(u),err(t){if(s.fix){const t=d.raws;if("string"!=typeof t.before)return;if(e.startsWith("always")){const e=t.before.search(/\r?\n/);return void(t.before=e>=0?t.before.slice(e):s.newline+t.before)}if(e.startsWith("never"))return void(t.before="")}a({message:t,node:u,index:m,result:f,ruleName:p})}})}u(f,p,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[d]},optional:!0})&&(c.walkRules(m),c.walkAtRules(m))}};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after"},t.exports=m},{"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/optionsMatches":406,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/whitespaceChecker":423}],131:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/hasBlock"),n=e("../../utils/hasEmptyBlock"),o=e("../../utils/isSingleLineString"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c="block-closing-brace-newline-before",d=l(c,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),p=(e,t,s)=>(t,l)=>{function p(t){if(!i(t)||n(t))return;const u=(t.raws.after||"").replace(/;+/,"");if(void 0===u)return;const p=!o(r(t)),f=t.toString();let m=f.length-2;function h(r){if(s.fix){const r=t.raws;if("string"!=typeof r.after)return;if(e.startsWith("always")){const e=r.after.search(/\s/),t=e>=0?r.after.slice(0,e):r.after,i=e>=0?r.after.slice(e):"",n=i.search(/\r?\n/);return void(r.after=n>=0?t+i.slice(n):t+s.newline+i)}if("never-multi-line"===e)return void(r.after=r.after.replace(/\s/g,""))}a({message:r,result:l,ruleName:c,node:t,index:m})}"\r"===f[m-1]&&(m-=1),u.startsWith("\n")||u.startsWith("\r\n")||("always"===e?h(d.expectedBefore):p&&"always-multi-line"===e&&h(d.expectedBeforeMultiLine)),""!==u&&p&&"never-multi-line"===e&&h(d.rejectedBeforeMultiLine)}u(l,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&(t.walkRules(p),t.walkAtRules(p))};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before"},t.exports=p},{"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/isSingleLineString":384,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],132:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/hasBlock"),n=e("../../utils/rawNodeString"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),c="block-closing-brace-space-after",d=a(c,{expectedAfter:()=>'Expected single space after "}"',rejectedAfter:()=>'Unexpected whitespace after "}"',expectedAfterSingleLine:()=>'Expected single space after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),p=e=>{const t=u("space",e,d);return(s,a)=>{function u(e){const s=e.next();if(!s)return;if(!i(e))return;let l=e.toString().length,u=n(s);u&&u.startsWith(";")&&(u=u.slice(1),l++),t.after({source:u,index:-1,lineCheckStr:r(e),err(t){o({message:t,node:e,index:l,result:a,ruleName:c})}})}l(a,c,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(s.walkRules(u),s.walkAtRules(u))}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/block-closing-brace-space-after"},t.exports=p},{"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],133:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/hasBlock"),n=e("../../utils/hasEmptyBlock"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),c="block-closing-brace-space-before",d=a(c,{expectedBefore:()=>'Expected single space before "}"',rejectedBefore:()=>'Unexpected whitespace before "}"',expectedBeforeSingleLine:()=>'Expected single space before "}" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "}" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "}" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "}" of a multi-line block'}),p=(e,t,s)=>{const a=u("space",e,d);return(t,u)=>{function d(t){if(!i(t)||n(t))return;const l=r(t),d=t.toString();let p=d.length-2;"\r"===d[p-1]&&(p-=1),a.before({source:l,index:l.length-1,err(r){if(s.fix){const s=t.raws;if("string"!=typeof s.after)return;if(e.startsWith("always"))return void(s.after=s.after.replace(/\s*$/," "));if(e.startsWith("never"))return void(s.after=s.after.replace(/\s*$/,""))}o({message:r,node:t,index:p,result:u,ruleName:c})}})}l(u,c,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(t.walkRules(d),t.walkAtRules(d))}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before"},t.exports=p},{"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],134:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/hasBlock"),n=e("../../utils/hasEmptyBlock"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isBoolean:c}=e("../../utils/validateTypes"),d="block-no-empty",p=l(d,{rejected:"Unexpected empty block"}),f=(e,t)=>(s,l)=>{if(!u(l,d,{actual:e,possible:c},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;const f=o(t,"ignore","comments");function m(e){if(!n(e)&&!f)return;if(!i(e))return;if(!e.nodes.every(e=>"comment"===e.type))return;let t=r(e,{noRawBefore:!0}).length;void 0===e.raws.between&&t--,a({message:p.rejected,node:e,start:e.positionBy({index:t}),result:l,ruleName:d})}s.walkRules(m),s.walkAtRules(m)};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/block-no-empty"},t.exports=f},{"../../utils/beforeBlockString":327,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],135:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/optionsMatches"),l=e("../../utils/rawNodeString"),u=e("../../utils/report"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),p=e("../../utils/whitespaceChecker"),f="block-opening-brace-newline-after",m=c(f,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),h=(e,t,s)=>{const c=p("newline",e,m);return(p,m)=>{function h(t){if(!n(t)||o(t))return;const a=new Map,d=function e(t){if(t&&t.next){if("comment"===t.type){const s=/\r?\n/,r=s.test(t.raws.before||""),i=t.next();return i&&r&&!s.test(i.raws.before||"")&&(a.set(i,i.raws.before),i.raws.before=t.raws.before),e(i)}return t}}(t.first);if(d){c.afterOneOnly({source:l(d),index:-1,lineCheckStr:i(t),err(i){if(s.fix){const r=d.raws;if("string"!=typeof r.before)return;if(e.startsWith("always")){const e=r.before.search(/\r?\n/);return r.before=e>=0?r.before.slice(e):s.newline+r.before,void a.delete(d)}if("never-multi-line"===e){for(const[e,t]of a.entries())e.raws.before=t;a.clear();const e=/\r?\n/;let s=t.first;for(;s;){const t=s.raws;if("string"==typeof t.before){if(e.test(t.before||"")&&(t.before=t.before.replace(/\r?\n/g,"")),"comment"!==s.type)break;s=s.next()}}return void(r.before="")}}u({message:i,node:t,index:r(t,{noRawBefore:!0}).length+1,result:m,ruleName:f})}});for(const[e,t]of a.entries())e.raws.before=t}}d(m,f,{actual:e,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["rules"]},optional:!0})&&(a(t,"ignore","rules")||p.walkRules(h),p.walkAtRules(h))}};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after"},t.exports=h},{"../../utils/beforeBlockString":327,"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/optionsMatches":406,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],136:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("../../utils/whitespaceChecker"),d="block-opening-brace-newline-before",p=l(d,{expectedBefore:()=>'Expected newline before "{"',expectedBeforeSingleLine:()=>'Expected newline before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected newline before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),f=(e,t,s)=>{const l=c("newline",e,p);return(t,c)=>{function p(t){if(!n(t)||o(t))return;const u=r(t),p=r(t,{noRawBefore:!0});let f=p.length-1;"\r"===p[f-1]&&(f-=1),l.beforeAllowingIndentation({lineCheckStr:i(t),source:u,index:u.length,err(r){if(s.fix){const r=t.raws;if("string"!=typeof r.between)return;if(e.startsWith("always")){const e=r.between.search(/\s+$/);return void(e>=0?t.raws.between=r.between.slice(0,e)+s.newline+r.between.slice(e):r.between+=s.newline)}if(e.startsWith("never"))return void(r.between=r.between.replace(/\s*$/,""))}a({message:r,node:t,index:f,result:c,ruleName:d})}})}u(c,d,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(t.walkRules(p),t.walkAtRules(p))}};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-before"},t.exports=f},{"../../utils/beforeBlockString":327,"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],137:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d=e("../../utils/whitespaceChecker"),p="block-opening-brace-space-after",f=u(p,{expectedAfter:()=>'Expected single space after "{"',rejectedAfter:()=>'Unexpected whitespace after "{"',expectedAfterSingleLine:()=>'Expected single space after "{" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "{" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),m=(e,t,s)=>{const u=d("space",e,f);return(d,f)=>{function m(t){n(t)&&!o(t)&&u.after({source:i(t),index:0,err(i){if(s.fix){const s=t.first;if(null==s)return;if(e.startsWith("always"))return void(s.raws.before=" ");if(e.startsWith("never"))return void(s.raws.before="")}l({message:i,node:t,index:r(t,{noRawBefore:!0}).length+1,result:f,ruleName:p})}})}c(f,p,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["at-rules"]},optional:!0})&&(d.walkRules(m),a(t,"ignore","at-rules")||d.walkAtRules(m))}};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after"},t.exports=m},{"../../utils/beforeBlockString":327,"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],138:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d=e("../../utils/whitespaceChecker"),{isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="block-opening-brace-space-before",h=u(m,{expectedBefore:()=>'Expected single space before "{"',rejectedBefore:()=>'Unexpected whitespace before "{"',expectedBeforeSingleLine:()=>'Expected single space before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),g=(e,t,s)=>{const u=d("space",e,h);return(d,h)=>{function g(c){if(!n(c)||o(c))return;if("atrule"===c.type&&a(t,"ignoreAtRules",c.name))return;if("rule"===c.type&&a(t,"ignoreSelectors",c.selector))return;const d=r(c),p=r(c,{noRawBefore:!0});let f=p.length-1;"\r"===p[f-1]&&(f-=1),u.before({source:d,index:d.length,lineCheckStr:i(c),err(t){if(s.fix){if(e.startsWith("always"))return void(c.raws.between=" ");if(e.startsWith("never"))return void(c.raws.between="")}l({message:t,node:c,index:f,result:h,ruleName:m})}})}c(h,m,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[f,p],ignoreSelectors:[f,p]},optional:!0})&&(d.walkRules(g),d.walkAtRules(g))}};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before"},t.exports=g},{"../../utils/beforeBlockString":327,"../../utils/blockString":328,"../../utils/hasBlock":351,"../../utils/hasEmptyBlock":352,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/whitespaceChecker":423}],139:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/isStandardSyntaxColorFunction"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),{isValueFunction:c}=e("../../utils/typeGuards"),d=e("../../utils/validateOptions"),p="color-function-notation",f=l(p,{expected:e=>`Expected ${e} color-function notation`}),m=new Set(["rgba","hsla"]),h=new Set(["rgb","rgba","hsl","hsla"]),g=(e,t,s)=>(t,l)=>{d(l,p,{actual:e,possible:["modern","legacy"]})&&t.walkDecls(t=>{let d=!1;const g=r(n(t));g.walk(r=>{if(!c(r))return;if(!o(r))return;const{value:n,sourceIndex:u,sourceEndIndex:g,nodes:x}=r;if(!h.has(n.toLowerCase()))return;if("modern"===e&&!y(r))return;if("legacy"===e&&y(r))return;if(s.fix&&"modern"===e){let e=0;return r.nodes=x.map(t=>(b(t)&&(e<2?(t.type="space",t.value=w(t.after),e++):(t.value="/",t.before=w(t.before),t.after=w(t.after))),t)),m.has(r.value.toLowerCase())&&(r.value=r.value.slice(0,-1)),void(d=!0)}const v=i(t)+u,k=v+(g-u);a({message:f.expected(e),node:t,index:v,endIndex:k,result:l,ruleName:p})}),d&&u(t,g.toString())})};function w(e){return""!==e?e:" "}function b(e){return"div"===e.type&&","===e.value}function y(e){return e.nodes&&e.nodes.some(e=>b(e))}g.ruleName=p,g.messages=f,g.meta={url:"https://stylelint.io/user-guide/rules/list/color-function-notation"},t.exports=g},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isStandardSyntaxColorFunction":386,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"postcss-value-parser":59}],140:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("postcss-value-parser"),l="color-hex-alpha",u=n(l,{expected:e=>`Expected alpha channel in "${e}"`,unexpected:e=>`Unexpected alpha channel in "${e}"`}),c=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i,d=e=>(t,s)=>{o(s,l,{actual:e,possible:["always","never"]})&&t.walkDecls(t=>{a(t.value).walk(n=>{if((({type:e,value:t})=>"function"===e&&"url"===t)(n))return!1;if(!(({type:e,value:t})=>"word"===e&&c.test(t))(n))return;const{value:o}=n;if("always"===e&&p(o))return;if("never"===e&&!p(o))return;const a=r(t)+n.sourceIndex,d=a+o.length;i({message:"never"===e?u.unexpected(o):u.expected(o),node:t,index:a,endIndex:d,result:s,ruleName:l})})})};function p(e){return 5===e.length||9===e.length}d.ruleName=l,d.messages=u,d.meta={url:"https://stylelint.io/user-guide/rules/list/color-hex-alpha"},t.exports=d},{"../../utils/declarationValueIndex":333,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],141:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/setDeclarationValue"),u=e("../../utils/validateOptions"),c="color-hex-case",d=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),p=/^#[0-9A-Za-z]+/,f=new Set(["url"]),m=(e,t,s)=>(t,a)=>{u(a,c,{actual:e,possible:["lower","upper"]})&&t.walkDecls(t=>{const u=r(n(t));let m=!1;u.walk(r=>{const{value:n}=r;if((({type:e,value:t})=>"function"===e&&f.has(t.toLowerCase()))(r))return!1;if(!(({type:e,value:t})=>"word"===e&&p.test(t))(r))return;const l="lower"===e?n.toLowerCase():n.toUpperCase();return n!==l?s.fix?(r.value=l,void(m=!0)):void o({message:d.expected(n,l),node:t,index:i(t)+r.sourceIndex,result:a,ruleName:c}):void 0}),m&&l(t,u.toString())})};m.ruleName=c,m.messages=d,m.meta={url:"https://stylelint.io/user-guide/rules/list/color-hex-case"},t.exports=m},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"postcss-value-parser":59}],142:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/setDeclarationValue"),u=e("../../utils/validateOptions"),c="color-hex-length",d=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),p=/^#[0-9A-Za-z]+/,f=new Set(["url"]),m=(e,t,s)=>(t,a)=>{u(a,c,{actual:e,possible:["short","long"]})&&t.walkDecls(t=>{const u=r(n(t));let m=!1;u.walk(r=>{const{value:n}=r;if((({type:e,value:t})=>"function"===e&&f.has(t.toLowerCase()))(r))return!1;if(!(({type:e,value:t})=>"word"===e&&p.test(t))(r))return;if("long"===e&&4!==n.length&&5!==n.length)return;if("short"===e&&(n.length<6||(h=(h=n).toLowerCase())[1]!==h[2]||h[3]!==h[4]||h[5]!==h[6]||7!==h.length&&(9!==h.length||h[7]!==h[8])))return;const l=("long"===e?function(e){let t="#";for(let s=1;s{const{colord:i,extend:n}=e("colord"),o=e("postcss-value-parser");function a(e){if(!(e=e.toLowerCase()).startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;const[t,s="",r="",n,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!s.trim()||!r.trim()||o.length>0)return null;const a=i(`hwb(${t} ${s} ${r}${n?` / ${n}`:""})`);return a.isValid()?a.rgba:null}function l(e){if(!(e=e.toLowerCase()).startsWith("gray(")||!e.endsWith(")"))return null;const[s,r,...n]=e.slice(5,-1).split(",");if(!s||n.length>0)return null;const a=o.unit(s.trim());if(!a||!["","%"].includes(a.unit))return null;let l={l:Number(a.number),a:0,b:0};if(r){const e=o.unit(r.trim());if(!e||!["","%"].includes(e.unit))return null;l=t({},l,{alpha:Number(e.number)/(e.unit?100:1)})}return i(l).rgba}n([e("colord/plugins/names"),e("colord/plugins/hwb"),e("colord/plugins/lab"),e("colord/plugins/lch"),(e,t)=>{t.string.push([a,"hwb-with-comma"])},(e,t)=>{t.string.push([l,"gray"])}]),s.exports={colord:i}},{colord:5,"colord/plugins/hwb":6,"colord/plugins/lab":7,"colord/plugins/lch":8,"colord/plugins/names":9,"postcss-value-parser":59}],144:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/isStandardSyntaxFunction"),n=e("../../utils/isStandardSyntaxValue"),o=e("../../utils/optionsMatches"),a=e("../../reference/propertySets"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d=e("postcss-value-parser"),{isRegExp:p,isString:f}=e("../../utils/validateTypes"),{colord:m}=e("./colordUtils"),h="color-named",g=u(h,{expected:(e,t)=>`Expected "${t}" to be "${e}"`,rejected:e=>`Unexpected named color "${e}"`}),w=new Set(["word","function"]),b=(e,t)=>(s,u)=>{function b(e,t,s,r){l({result:u,ruleName:h,message:e,node:t,index:s,endIndex:s+r})}c(u,h,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[f,p],ignore:["inside-function"]},optional:!0})&&s.walkDecls(s=>{a.acceptCustomIdents.has(s.prop)||o(t,"ignoreProperties",s.prop)||d(s.value).walk(a=>{const l=a.value,u=a.type,c=a.sourceIndex;if(o(t,"ignore","inside-function")&&"function"===u)return!1;if(!i(a))return!1;if(!n(l))return;if(!w.has(u))return;if("never"===e&&"word"===u&&/^[a-z]+$/iu.test(l)&&"transparent"!==l.toLowerCase()&&m(l).isValid())return void b(g.rejected(l),s,r(s)+c,l.length);if("always-where-possible"!==e)return;let p=null,f=null;if("function"===u)f=(p=d.stringify(a)).replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else{if("word"!==u||!l.startsWith("#"))return;p=f=l}const h=m(f);if(!h.isValid())return;const y=h.toName();y&&"transparent"!==y.toLowerCase()&&b(g.expected(y,f),s,r(s)+c,p.length)})})};b.ruleName=h,b.messages=g,b.meta={url:"https://stylelint.io/user-guide/rules/list/color-named"},t.exports=b},{"../../reference/propertySets":112,"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxFunction":390,"../../utils/isStandardSyntaxValue":398,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"./colordUtils":143,"postcss-value-parser":59}],145:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="color-no-hex",c=a(u,{rejected:e=>`Unexpected hex color "${e}"`}),d=/^#[0-9A-Za-z]+/,p=new Set(["url"]),f=e=>(t,s)=>{l(s,u,{actual:e})&&t.walkDecls(e=>{r(n(e)).walk(t=>{if((({type:e,value:t})=>"function"===e&&p.has(t.toLowerCase()))(t))return!1;if(!(({type:e,value:t})=>"word"===e&&d.test(t))(t))return;const r=i(e)+t.sourceIndex,n=r+t.value.length;o({message:c.rejected(t.value),node:e,index:r,endIndex:n,result:s,ruleName:u})})})};f.ruleName=u,f.messages=c,f.meta={url:"https://stylelint.io/user-guide/rules/list/color-no-hex"},t.exports=f},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],146:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/isStandardSyntaxHexColor"),n=e("../../utils/isValidHex"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("postcss-value-parser"),c="color-no-invalid-hex",d=a(c,{rejected:e=>`Unexpected invalid hex color "${e}"`}),p=e=>(t,s)=>{l(s,c,{actual:e})&&t.walkDecls(e=>{i(e.value)&&u(e.value).walk(({value:t,type:i,sourceIndex:a})=>{if("function"===i&&t.endsWith("url"))return!1;if("word"!==i)return;const l=/^#[0-9A-Za-z]+/.exec(t);if(!l)return;const u=l[0];if(!u||n(u))return;const p=r(e)+a,f=p+u.length;o({message:d.rejected(u),node:e,index:p,endIndex:f,result:s,ruleName:c})})})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/color-no-invalid-hex"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxHexColor":391,"../../utils/isValidHex":400,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],147:[(e,t,s)=>{const r=e("../../utils/addEmptyLineBefore"),i=e("../../utils/hasEmptyLine"),n=e("../../utils/isAfterComment"),o=e("../../utils/isFirstNested"),a=e("../../utils/isFirstNodeOfRoot"),l=e("../../utils/isSharedLineComment"),u=e("../../utils/isStandardSyntaxComment"),c=e("../../utils/optionsMatches"),d=e("../../utils/removeEmptyLinesBefore"),p=e("../../utils/report"),f=e("../../utils/ruleMessages"),m=e("../../utils/validateOptions"),{isRegExp:h,isString:g}=e("../../utils/validateTypes"),w="comment-empty-line-before",b=f(w,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),y=(e,t,s)=>(f,y)=>{m(y,w,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[g,h]},optional:!0})&&f.walkComments(f=>{if(a(f))return;if(f.text.startsWith("stylelint-")&&c(t,"ignore","stylelint-commands"))return;if(c(t,"ignore","after-comment")&&n(f))return;if(c(t,"ignoreComments",f.text))return;if(l(f))return;if(!u(f))return;const m=(()=>!(c(t,"except","first-nested")&&o(f)||"always"!==e))(),h=f.raws.before||"";if(m===i(h))return;if(s.fix){if("string"!=typeof s.newline)return;return void(m?r(f,s.newline):d(f,s.newline))}const g=m?b.expected:b.rejected;p({message:g,node:f,result:y,ruleName:w})})};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/comment-empty-line-before"},t.exports=y},{"../../utils/addEmptyLineBefore":323,"../../utils/hasEmptyLine":353,"../../utils/isAfterComment":359,"../../utils/isFirstNested":372,"../../utils/isFirstNodeOfRoot":373,"../../utils/isSharedLineComment":383,"../../utils/isStandardSyntaxComment":388,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesBefore":411,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],148:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxComment"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a="comment-no-empty",l=n(a,{rejected:"Unexpected empty comment"}),u=e=>(t,s)=>{o(s,a,{actual:e})&&t.walkComments(e=>{r(e)&&(e.text&&0!==e.text.length||i({message:l.rejected,node:e,result:s,ruleName:a}))})};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/comment-no-empty"},t.exports=u},{"../../utils/isStandardSyntaxComment":388,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],149:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),{isRegExp:o,isString:a}=e("../../utils/validateTypes"),l="comment-pattern",u=i(l,{expected:e=>`Expected comment to match pattern "${e}"`}),c=e=>(t,s)=>{if(!n(s,l,{actual:e,possible:[o,a]}))return;const i=a(e)?new RegExp(e):e;t.walkComments(t=>{const n=t.text;i.test(n)||r({message:u.expected(e),node:t,result:s,ruleName:l})})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/comment-pattern"},t.exports=c},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],150:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxComment"),i=e("../../utils/isWhitespace"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="comment-whitespace-inside",u=o(l,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),c=(e,t,s)=>(t,o)=>{a(o,l,{actual:e,possible:["always","never"]})&&t.walkComments(t=>{if(!r(t))return;const a=t.toString(),c=a.slice(0,4);if(/^\/\*[#!]\s/.test(c))return;const d=a.match(/(^\/\*+)(\s)?/);if(null==d||null==d[1])throw new Error(`Invalid comment: "${a}"`);const p=a.match(/(\s)?(\*+\/)$/);if(null==p||null==p[2])throw new Error(`Invalid comment: "${a}"`);const f=d[1],m=d[2]||"",h=p[1]||"",g=p[2];function w(r,i){var a,u;s.fix?"never"===e?(t.raws.left="",t.raws.right="",t.text=t.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(m||((u=t).text.startsWith("*")?u.text=u.text.replace(/^(\*+)/,"$1 "):u.raws.left=" "),h||("*"===(a=t).text[a.text.length-1]?a.text=a.text.replace(/(\*+)$/," $1"):a.raws.right=" ")):n({message:r,index:i,result:o,ruleName:l,node:t})}"never"===e&&""!==m&&w(u.rejectedOpening,f.length),"always"!==e||i(m)||w(u.expectedOpening,f.length),"never"===e&&""!==h&&w(u.rejectedClosing,t.toString().length-g.length-1),"always"!==e||i(h)||w(u.expectedClosing,t.toString().length-g.length-1)})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/comment-whitespace-inside"},t.exports=c},{"../../utils/isStandardSyntaxComment":388,"../../utils/isWhitespace":402,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],151:[(e,t,s)=>{const r=e("../../utils/containsString"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isRegExp:l,isString:u}=e("../../utils/validateTypes"),c="comment-word-disallowed-list",d=o(c,{rejected:e=>`Unexpected word matching pattern "${e}"`}),p=e=>(t,s)=>{a(s,c,{actual:e,possible:[u,l]})&&t.walkComments(t=>{const o=t.text;if("/*# "===t.toString().slice(0,4))return;const a=i(o,e)||r(o,e);a&&n({message:d.rejected(a.pattern),node:t,word:a.substring,result:s,ruleName:c})})};p.primaryOptionArray=!0,p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/comment-word-disallowed-list"},t.exports=p},{"../../utils/containsString":332,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],152:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{isRegExp:a,isString:l}=e("../../utils/validateTypes"),u="custom-media-pattern",c=n(u,{expected:e=>`Expected custom media query name to match pattern "${e}"`}),d=e=>(t,s)=>{if(!o(s,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkAtRules(t=>{if("custom-media"!==t.name.toLowerCase())return;const o=t.params.match(/^--(\S+)\b/);if(null==o||null==o[0])throw new Error(`Unexpected at-rule params: "${t.params}"`);const a=o[1];if(n.test(a))return;const l=r(t);i({message:c.expected(e),node:t,index:l,endIndex:l+o[0].length,result:s,ruleName:u})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/custom-media-pattern"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],153:[(e,t,s)=>{const r=e("../../utils/addEmptyLineBefore"),i=e("../../utils/blockString"),n=e("../../utils/getPreviousNonSharedLineCommentNode"),o=e("../../utils/hasEmptyLine"),a=e("../../utils/isAfterComment"),l=e("../../utils/isCustomProperty"),u=e("../../utils/isFirstNested"),c=e("../../utils/isSingleLineString"),d=e("../../utils/isStandardSyntaxDeclaration"),p=e("../../utils/optionsMatches"),f=e("../../utils/removeEmptyLinesBefore"),m=e("../../utils/report"),h=e("../../utils/ruleMessages"),g=e("../../utils/validateOptions"),{isAtRule:w,isDeclaration:b,isRule:y}=e("../../utils/typeGuards"),x="custom-property-empty-line-before",v=h(x,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),k=(e,t,s)=>(h,k)=>{g(k,x,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-comment","after-custom-property"],ignore:["after-comment","first-nested","inside-single-line-block"]},optional:!0})&&h.walkDecls(h=>{const g=h.prop,S=h.parent;if(!d(h))return;if(!l(g))return;if(p(t,"ignore","after-comment")&&a(h))return;if(p(t,"ignore","first-nested")&&u(h))return;if(p(t,"ignore","inside-single-line-block")&&null!=S&&(w(S)||y(S))&&c(i(S)))return;let O="always"===e;if((p(t,"except","first-nested")&&u(h)||p(t,"except","after-comment")&&a(h)||p(t,"except","after-custom-property")&&(e=>{const t=n(h);return null!=t&&b(t)&&l(t.prop)})())&&(O=!O),O===o(h.raws.before))return;if(s.fix){if(null==s.newline)return;return void(O?r(h,s.newline):f(h,s.newline))}const C=O?v.expected:v.rejected;m({message:C,node:h,result:k,ruleName:x})})};k.ruleName=x,k.messages=v,k.meta={url:"https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before"},t.exports=k},{"../../utils/addEmptyLineBefore":323,"../../utils/blockString":328,"../../utils/getPreviousNonSharedLineCommentNode":347,"../../utils/hasEmptyLine":353,"../../utils/isAfterComment":359,"../../utils/isCustomProperty":370,"../../utils/isFirstNested":372,"../../utils/isSingleLineString":384,"../../utils/isStandardSyntaxDeclaration":389,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesBefore":411,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420}],154:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/isCustomProperty"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="custom-property-no-missing-var-function",c=a(u,{rejected:e=>`Unexpected missing var function for "${e}"`}),d=e=>(t,s)=>{if(!l(s,u,{actual:e}))return;const a=new Set;t.walkAtRules(/^property$/i,e=>{a.add(e.params)}),t.walkDecls(({prop:e})=>{n(e)&&a.add(e)}),t.walkDecls(e=>{const{value:t}=e;r(t).walk(t=>{if((({type:e,value:t})=>"function"===e&&"var"===t)(t))return!1;if(!(({type:e,value:t})=>"word"===e&&t.startsWith("--"))(t))return;if(!a.has(t.value))return;const r=i(e)+t.sourceIndex,n=r+t.value.length;return o({message:c.rejected(t.value),node:e,index:r,endIndex:n,result:s,ruleName:u}),!1})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/custom-property-no-missing-var-function"},t.exports=d},{"../../utils/declarationValueIndex":333,"../../utils/isCustomProperty":370,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],155:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/isCustomProperty"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/declarationValueIndex"),{isRegExp:u,isString:c}=e("../../utils/validateTypes"),{isValueFunction:d}=e("../../utils/typeGuards"),p=e("../../utils/isStandardSyntaxProperty"),f="custom-property-pattern",m=o(f,{expected:e=>`Expected custom property name to match pattern "${e}"`}),h=e=>(t,s)=>{if(!a(s,f,{actual:e,possible:[u,c]}))return;const o=c(e)?new RegExp(e):e;function h(e){return!p(e)||!i(e)||o.test(e.slice(2))}function g(t,r,i){n({result:s,ruleName:f,message:m.expected(e),node:i,index:t,endIndex:t+r})}t.walkDecls(e=>{const{prop:t,value:s}=e;r(s).walk(t=>{if(!d(t))return;if("var"!==t.value.toLowerCase())return;const{nodes:s}=t,r=s[0];r&&!h(r.value)&&g(l(e)+r.sourceIndex,r.value.length,e)}),h(t)||g(0,t.length,e)})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/custom-property-pattern"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],156:[(e,t,s)=>{const r=e("../declarationBangSpaceChecker"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/ruleMessages"),a=e("../../utils/setDeclarationValue"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),c="declaration-bang-space-after",d=o(c,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),p=(e,t,s)=>{const o=u("space",e,d);return(t,u)=>{l(u,c,{actual:e,possible:["always","never"]})&&r({root:t,result:u,locationChecker:o.after,checkedRuleName:c,fix:s.fix?(t,s)=>{let r=s-i(t);const o=n(t);let l,u;if(r{a(t,e)});else{if(!t.important)return!1;l=t.raws.important||" !important",r-=o.length,u=(e=>{t.raws.important=e})}const c=l.slice(0,r+1),d=l.slice(r+1);return"always"===e?(u(c+d.replace(/^\s*/," ")),!0):"never"===e&&(u(c+d.replace(/^\s*/,"")),!0)}:null})}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-bang-space-after"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../declarationBangSpaceChecker":178}],157:[(e,t,s)=>{const r=e("../declarationBangSpaceChecker"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/ruleMessages"),a=e("../../utils/setDeclarationValue"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),c="declaration-bang-space-before",d=o(c,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),p=(e,t,s)=>{const o=u("space",e,d);return(t,u)=>{l(u,c,{actual:e,possible:["always","never"]})&&r({root:t,result:u,locationChecker:o.before,checkedRuleName:c,fix:s.fix?(t,s)=>{let r=s-i(t);const o=n(t);let l,u;if(r{a(t,e)});else{if(!t.important)return!1;l=t.raws.important||" !important",r-=o.length,u=(e=>{t.raws.important=e})}const c=l.slice(0,r),d=l.slice(r);return"always"===e?(u(c.replace(/\s*$/,"")+" "+d),!0):"never"===e&&(u(c.replace(/\s*$/,"")+d),!0)}:null})}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-bang-space-before"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../declarationBangSpaceChecker":178}],158:[(e,t,s)=>{const r=e("../../utils/eachDeclarationBlock"),i=e("../../utils/isCustomProperty"),n=e("../../utils/isStandardSyntaxProperty"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="declaration-block-no-duplicate-custom-properties",c=a(u,{rejected:e=>`Unexpected duplicate "${e}"`}),d=e=>(t,s)=>{l(s,u,{actual:e})&&r(t,e=>{const t=new Set;e(e=>{const r=e.prop;n(r)&&i(r)&&(t.has(r)?o({message:c.rejected(r),node:e,result:s,ruleName:u,word:r}):t.add(r))})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-custom-properties"},t.exports=d},{"../../utils/eachDeclarationBlock":334,"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],159:[(e,t,s)=>{const r=e("../../utils/eachDeclarationBlock"),i=e("../../utils/isCustomProperty"),n=e("../../utils/isStandardSyntaxProperty"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isString:c}=e("../../utils/validateTypes"),d=e("../../utils/vendor"),p="declaration-block-no-duplicate-properties",f=l(p,{rejected:e=>`Unexpected duplicate "${e}"`}),m=(e,t)=>(s,l)=>{if(!u(l,p,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[c]},optional:!0}))return;const m=o(t,"ignore","consecutive-duplicates"),h=o(t,"ignore","consecutive-duplicates-with-different-values"),g=o(t,"ignore","consecutive-duplicates-with-same-prefixless-values");r(s,e=>{const s=[],r=[];e(e=>{const u=e.prop,c=e.value;if(!n(u))return;if(i(u))return;if(o(t,"ignoreProperties",u))return;if("src"===u.toLowerCase())return;const w=s.indexOf(u.toLowerCase());if(-1!==w){if(h||g){if(w!==s.length-1)return void a({message:f.rejected(u),node:e,result:l,ruleName:p,word:u});const t=r[w]||"";return g&&d.unprefixed(c)!==d.unprefixed(t)?void a({message:f.rejected(u),node:e,result:l,ruleName:p,word:u}):c===t?void a({message:f.rejected(u),node:e,result:l,ruleName:p,word:u}):void 0}if(m&&w===s.length-1)return;a({message:f.rejected(u),node:e,result:l,ruleName:p,word:u})}s.push(u.toLowerCase()),r.push(c.toLowerCase())})})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties"},t.exports=m},{"../../utils/eachDeclarationBlock":334,"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],160:[(e,t,s)=>{const r=e("../../utils/arrayEqual"),i=e("../../utils/eachDeclarationBlock"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../reference/shorthandData"),u=e("../../utils/validateOptions"),c=e("../../utils/vendor"),{isRegExp:d,isString:p}=e("../../utils/validateTypes"),f="declaration-block-no-redundant-longhand-properties",m=a(f,{expected:e=>`Expected shorthand property "${e}"`}),h=(e,t)=>(s,a)=>{if(!u(a,f,{actual:e},{actual:t,possible:{ignoreShorthands:[p,d]},optional:!0}))return;const h=Object.entries(l).reduce((e,[s,r])=>{if(n(t,"ignoreShorthands",s))return e;for(const t of r)(e[t]||(e[t]=[])).push(s);return e},{});i(s,e=>{const t={};e(e=>{const s=e.prop.toLowerCase(),i=c.unprefixed(s),n=c.prefix(s),u=h[i];if(u)for(const i of u){const u=n+i;let c=t[u];c||(c=t[u]=[]),c.push(s);const d=(l[i]||[]).map(e=>n+e);r(d.sort(),c.sort())&&o({ruleName:f,result:a,node:e,message:m.expected(u)})}})})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-no-redundant-longhand-properties"},t.exports=h},{"../../reference/shorthandData":113,"../../utils/arrayEqual":325,"../../utils/eachDeclarationBlock":334,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],161:[(e,t,s)=>{const r=e("../../utils/eachDeclarationBlock"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../reference/shorthandData"),a=e("../../utils/validateOptions"),l=e("../../utils/vendor"),u="declaration-block-no-shorthand-property-overrides",c=n(u,{rejected:(e,t)=>`Unexpected shorthand "${e}" after "${t}"`}),d=e=>(t,s)=>{a(s,u,{actual:e})&&r(t,e=>{const t={};e(e=>{const r=e.prop,n=l.unprefixed(r),a=l.prefix(r).toLowerCase(),d=o[n.toLowerCase()];if(d)for(const n of d)Object.prototype.hasOwnProperty.call(t,a+n)&&i({ruleName:u,result:s,node:e,message:c.rejected(r,t[a+n]||""),word:r});else t[r.toLowerCase()]=r})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides"},t.exports=d},{"../../reference/shorthandData":113,"../../utils/eachDeclarationBlock":334,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/vendor":422}],162:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/nextNonCommentNode"),n=e("../../utils/rawNodeString"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),{isAtRule:c,isRule:d}=e("../../utils/typeGuards"),p="declaration-block-semicolon-newline-after",f=a(p,{expectedAfter:()=>'Expected newline after ";"',expectedAfterMultiLine:()=>'Expected newline after ";" in a multi-line declaration block',rejectedAfterMultiLine:()=>'Unexpected newline after ";" in a multi-line declaration block'}),m=(e,t,s)=>{const a=u("newline",e,f);return(t,u)=>{l(u,p,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&t.walkDecls(t=>{const l=t.parent;if(!l)throw new Error("A parent node must be present");if(!c(l)&&!d(l))return;if(!l.raws.semicolon&&l.last===t)return;const f=t.next();if(!f)return;const m=i(f);m&&a.afterOneOnly({source:n(m),index:-1,lineCheckStr:r(l),err(r){if(s.fix){if(e.startsWith("always")){const e=m.raws.before.search(/\r?\n/);return void(m.raws.before=e>=0?m.raws.before.slice(e):s.newline+m.raws.before)}if("never-multi-line"===e)return void(m.raws.before="")}o({message:r,node:t,index:t.toString().length+1,result:u,ruleName:p})}})})}};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after"},t.exports=m},{"../../utils/blockString":328,"../../utils/nextNonCommentNode":404,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],163:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),{isAtRule:l,isRule:u}=e("../../utils/typeGuards"),c="declaration-block-semicolon-newline-before",d=n(c,{expectedBefore:()=>'Expected newline before ";"',expectedBeforeMultiLine:()=>'Expected newline before ";" in a multi-line declaration block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before ";" in a multi-line declaration block'}),p=e=>{const t=a("newline",e,d);return(s,n)=>{o(n,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&s.walkDecls(e=>{const s=e.parent;if(!s)throw new Error("A parent node must be present");if(!l(s)&&!u(s))return;if(!s.raws.semicolon&&s.last===e)return;const o=e.toString();t.beforeAllowingIndentation({source:o,index:o.length,lineCheckStr:r(s),err(t){i({message:t,node:e,index:e.toString().length-1,result:n,ruleName:c})}})})}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-before"},t.exports=p},{"../../utils/blockString":328,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],164:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/rawNodeString"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/whitespaceChecker"),{isAtRule:u,isRule:c}=e("../../utils/typeGuards"),d="declaration-block-semicolon-space-after",p=o(d,{expectedAfter:()=>'Expected single space after ";"',rejectedAfter:()=>'Unexpected whitespace after ";"',expectedAfterSingleLine:()=>'Expected single space after ";" in a single-line declaration block',rejectedAfterSingleLine:()=>'Unexpected whitespace after ";" in a single-line declaration block'}),f=(e,t,s)=>{const o=l("space",e,p);return(t,l)=>{a(l,d,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&t.walkDecls(t=>{const a=t.parent;if(!a)throw new Error("A parent node must be present");if(!u(a)&&!c(a))return;if(!a.raws.semicolon&&a.last===t)return;const p=t.next();p&&o.after({source:i(p),index:-1,lineCheckStr:r(a),err(r){if(s.fix){if(e.startsWith("always"))return void(p.raws.before=" ");if(e.startsWith("never"))return void(p.raws.before="")}n({message:r,node:t,index:t.toString().length+1,result:l,ruleName:d})}})})}};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after"},t.exports=f},{"../../utils/blockString":328,"../../utils/rawNodeString":409,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],165:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/setDeclarationValue"),l=e("../../utils/validateOptions"),u=e("../../utils/whitespaceChecker"),{isAtRule:c,isRule:d}=e("../../utils/typeGuards"),p="declaration-block-semicolon-space-before",f=o(p,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"',expectedBeforeSingleLine:()=>'Expected single space before ";" in a single-line declaration block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before ";" in a single-line declaration block'}),m=(e,t,s)=>{const o=u("space",e,f);return(t,u)=>{l(u,p,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&t.walkDecls(t=>{const l=t.parent;if(!l)throw new Error("A parent node must be present");if(!c(l)&&!d(l))return;if(!l.raws.semicolon&&l.last===t)return;const f=t.toString();o.before({source:f,index:f.length,lineCheckStr:r(l),err(r){if(s.fix){const s=i(t);if(e.startsWith("always"))return void(t.important?t.raws.important=" !important ":a(t,s.replace(/\s*$/," ")));if(e.startsWith("never"))return void(t.raws.important?t.raws.important=t.raws.important.replace(/\s*$/,""):a(t,s.replace(/\s*$/,"")))}n({message:r,node:t,index:t.toString().length-1,result:u,ruleName:p})}})})}};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before"},t.exports=m},{"../../utils/blockString":328,"../../utils/getDeclarationValue":341,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423}],166:[(e,t,s)=>{const r=e("../../utils/blockString"),i=e("../../utils/isSingleLineString"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isNumber:l}=e("../../utils/validateTypes"),u="declaration-block-single-line-max-declarations",c=o(u,{expected:e=>`Expected no more than ${e} ${1===e?"declaration":"declarations"}`}),d=e=>(t,s)=>{a(s,u,{actual:e,possible:[l]})&&t.walkRules(t=>{const o=r(t);i(o)&&t.nodes&&(t.nodes.filter(e=>"decl"===e.type).length<=e||n({message:c.expected(e),node:t,word:o,result:s,ruleName:u}))})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations"},t.exports=d},{"../../utils/blockString":328,"../../utils/isSingleLineString":384,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],167:[(e,t,s)=>{const r=e("../../utils/hasBlock"),i=e("../../utils/optionsMatches"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="declaration-block-trailing-semicolon",u=o(l,{expected:"Expected a trailing semicolon",rejected:"Unexpected trailing semicolon"}),c=(e,t,s)=>(o,c)=>{function d(r){if(!r.parent)throw new Error("A parent node must be present");const o=r.parent.raws.semicolon;if(i(t,"ignore","single-declaration")&&r.parent.first===r)return;let a;if("always"===e){if(o)return;if(s.fix)return r.parent.raws.semicolon=!0,void("atrule"===r.type&&(r.raws.between="",r.parent.raws.after=" "));a=u.expected}else{if("never"!==e)throw new Error(`Unexpected primary option: "${e}"`);if(!o)return;if(s.fix)return void(r.parent.raws.semicolon=!1);a=u.rejected}n({message:a,node:r,index:r.toString().trim().length-1,result:c,ruleName:l})}a(c,l,{actual:e,possible:["always","never"]},{actual:t,possible:{ignore:["single-declaration"]},optional:!0})&&(o.walkAtRules(e=>{if(!e.parent)throw new Error("A parent node must be present");e.parent!==o&&e===e.parent.last&&(r(e)||d(e))}),o.walkDecls(e=>{if(!e.parent)throw new Error("A parent node must be present");"object"!==e.parent.type&&e===e.parent.last&&d(e)}))};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon"},t.exports=c},{"../../utils/hasBlock":351,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],168:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/isStandardSyntaxDeclaration"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/whitespaceChecker"),u="declaration-colon-newline-after",c=o(u,{expectedAfter:()=>'Expected newline after ":"',expectedAfterMultiLine:()=>'Expected newline after ":" with a multi-line declaration'}),d=(e,t,s)=>{const o=l("newline",e,c);return(t,l)=>{a(l,u,{actual:e,possible:["always","always-multi-line"]})&&t.walkDecls(e=>{if(!i(e))return;const t=r(e)+(e.raws.between||"").length-1,a=`${e.toString().slice(0,t)}xxx`;for(let t=0,i=a.length;t{const r=e("../declarationColonSpaceChecker"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="declaration-colon-space-after",u=n(l,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"',expectedAfterSingleLine:()=>'Expected single space after ":" with a single-line declaration'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never","always-single-line"]})&&r({root:t,result:a,locationChecker:n.after,checkedRuleName:l,fix:s.fix?(t,s)=>{const r=s-i(t),n=t.raws.between;if(null==n)throw new Error("`between` must be present");return e.startsWith("always")?(t.raws.between=n.slice(0,r)+n.slice(r).replace(/^:\s*/,": "),!0):"never"===e&&(t.raws.between=n.slice(0,r)+n.slice(r).replace(/^:\s*/,":"),!0)}:null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-colon-space-after"},t.exports=c},{"../../utils/declarationValueIndex":333,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../declarationColonSpaceChecker":179}],170:[(e,t,s)=>{const r=e("../declarationColonSpaceChecker"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="declaration-colon-space-before",u=n(l,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never"]})&&r({root:t,result:a,locationChecker:n.before,checkedRuleName:l,fix:s.fix?(t,s)=>{const r=s-i(t),n=t.raws.between;if(null==n)throw new Error("`between` must be present");return"always"===e?(t.raws.between=n.slice(0,r).replace(/\s*$/," ")+n.slice(r),!0):"never"===e&&(t.raws.between=n.slice(0,r).replace(/\s*$/,"")+n.slice(r),!0)}:null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-colon-space-before"},t.exports=c},{"../../utils/declarationValueIndex":333,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../declarationColonSpaceChecker":179}],171:[(e,t,s)=>{const r=e("../../utils/addEmptyLineBefore"),i=e("../../utils/blockString"),n=e("../../utils/hasEmptyLine"),o=e("../../utils/isAfterComment"),a=e("../../utils/isAfterStandardPropertyDeclaration"),l=e("../../utils/isCustomProperty"),u=e("../../utils/isFirstNested"),c=e("../../utils/isFirstNodeOfRoot"),d=e("../../utils/isSingleLineString"),p=e("../../utils/isStandardSyntaxDeclaration"),f=e("../../utils/optionsMatches"),m=e("../../utils/removeEmptyLinesBefore"),h=e("../../utils/report"),g=e("../../utils/ruleMessages"),w=e("../../utils/validateOptions"),{isAtRule:b,isRule:y,isRoot:x}=e("../../utils/typeGuards"),v="declaration-empty-line-before",k=g(v,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),S=(e,t,s)=>(g,S)=>{w(S,v,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&g.walkDecls(g=>{const w=g.prop,O=g.parent;if(null==O)return;if(c(g))return;if(!b(O)&&!y(O)&&!x(O))return;if(!p(g))return;if(l(w))return;if(f(t,"ignore","after-comment")&&o(g))return;if(f(t,"ignore","after-declaration")&&a(g))return;if(f(t,"ignore","first-nested")&&u(g))return;if(f(t,"ignore","inside-single-line-block")&&d(i(O)))return;let C="always"===e;if((f(t,"except","first-nested")&&u(g)||f(t,"except","after-comment")&&o(g)||f(t,"except","after-declaration")&&a(g))&&(C=!C),C===n(g.raws.before))return;if(s.fix){if(null==s.newline)return;return void(C?r(g,s.newline):m(g,s.newline))}const M=C?k.expected:k.rejected;h({message:M,node:g,result:S,ruleName:v})})};S.ruleName=v,S.messages=k,S.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-empty-line-before"},t.exports=S},{"../../utils/addEmptyLineBefore":323,"../../utils/blockString":328,"../../utils/hasEmptyLine":353,"../../utils/isAfterComment":359,"../../utils/isAfterStandardPropertyDeclaration":361,"../../utils/isCustomProperty":370,"../../utils/isFirstNested":372,"../../utils/isFirstNodeOfRoot":373,"../../utils/isSingleLineString":384,"../../utils/isStandardSyntaxDeclaration":389,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesBefore":411,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420}],172:[(e,t,s)=>{const r=e("../../utils/getImportantPosition"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{assert:a}=e("../../utils/validateTypes"),l="declaration-no-important",u=n(l,{rejected:"Unexpected !important"}),c=e=>(t,s)=>{o(s,l,{actual:e})&&t.walkDecls(e=>{if(!e.important)return;const t=r(e.toString());a(t),i({message:u.rejected,node:e,index:t.index,endIndex:t.endIndex,result:s,ruleName:l})})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-no-important"},t.exports=c},{"../../utils/getImportantPosition":344,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],173:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/vendor"),l=e("../../utils/validateOptions"),{isNumber:u,assertNumber:c}=e("../../utils/validateTypes"),d=e("../../utils/validateObjectWithProps"),p="declaration-property-max-values",f=o(p,{rejected:(e,t)=>`Expected "${e}" to have no more than ${t} ${1===t?"value":"values"}`}),m=e=>"word"===e.type||"function"===e.type||"string"===e.type,h=e=>(t,s)=>{l(s,p,{actual:e,possible:[d(u)]})&&t.walkDecls(t=>{const{prop:o,value:l}=t,u=r(l).nodes.filter(m).length,d=a.unprefixed(o),h=Object.keys(e).find(e=>i(d,e));if(!h)return;const g=e[h];c(g),u<=g||n({message:f.rejected(o,g),node:t,result:s,ruleName:p})})};h.ruleName=p,h.messages=f,h.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-property-max-values"},t.exports=h},{"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithProps":419,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-value-parser":59}],174:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/flattenArray"),o=e("../../utils/getUnitFromValueNode"),a=e("../../utils/matchesStringOrRegExp"),l=e("../../utils/optionsMatches"),u=e("../../utils/report"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateObjectWithArrayProps"),p=e("../../utils/validateOptions"),{isString:f}=e("../../utils/validateTypes"),m=e("../../utils/vendor"),h="declaration-property-unit-allowed-list",g=c(h,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),w=(e,t)=>(s,c)=>{p(c,h,{actual:e,possible:[d(f)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&s.walkDecls(s=>{const d=s.prop,p=s.value,f=m.unprefixed(d),w=Object.keys(e).find(e=>a(f,e));if(!w)return;const b=n(e[w]);b&&r(p).walk(e=>{if("function"===e.type){if("url"===e.value.toLowerCase())return!1;if(l(t,"ignore","inside-function"))return!1}if("string"===e.type)return;const r=o(e);if(!r||r&&b.includes(r.toLowerCase()))return;const n=i(s)+e.sourceIndex,a=n+e.value.length;u({message:g.rejected(d,r),node:s,index:n,endIndex:a,result:c,ruleName:h})})})};w.ruleName=h,w.messages=g,w.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-property-unit-allowed-list"},t.exports=w},{"../../utils/declarationValueIndex":333,"../../utils/flattenArray":338,"../../utils/getUnitFromValueNode":350,"../../utils/matchesStringOrRegExp":403,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-value-parser":59}],175:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/flattenArray"),o=e("../../utils/getUnitFromValueNode"),a=e("../../utils/matchesStringOrRegExp"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateObjectWithArrayProps"),d=e("../../utils/validateOptions"),{isString:p}=e("../../utils/validateTypes"),f=e("../../utils/vendor"),m="declaration-property-unit-disallowed-list",h=u(m,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),g=e=>(t,s)=>{d(s,m,{actual:e,possible:[c(p)]})&&t.walkDecls(t=>{const u=t.prop,c=t.value,d=f.unprefixed(u),p=Object.keys(e).find(e=>a(d,e));if(!p)return;const g=n(e[p]);g&&r(c).walk(e=>{if("function"===e.type&&"url"===e.value.toLowerCase())return!1;if("string"===e.type)return;const r=o(e);if(!r||r&&!g.includes(r.toLowerCase()))return;const n=i(t)+e.sourceIndex,a=n+e.value.length;l({message:h.rejected(u,r),node:t,index:n,endIndex:a,result:s,ruleName:m})})})};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-property-unit-disallowed-list"},t.exports=g},{"../../utils/declarationValueIndex":333,"../../utils/flattenArray":338,"../../utils/getUnitFromValueNode":350,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-value-parser":59}],176:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateObjectWithArrayProps"),u=e("../../utils/validateOptions"),{isString:c,isRegExp:d}=e("../../utils/validateTypes"),p=e("../../utils/vendor"),f="declaration-property-value-allowed-list",m=a(f,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),h=e=>(t,s)=>{u(s,f,{actual:e,possible:[l(c,d)]})&&t.walkDecls(t=>{const a=t.prop,l=t.value,u=p.unprefixed(a),c=Object.keys(e).find(e=>i(u,e));if(!c)return;if(n(e,c,l))return;const d=r(t),h=d+t.value.length;o({message:m.rejected(a,l),node:t,index:d,endIndex:h,result:s,ruleName:f})})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-property-value-allowed-list"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/matchesStringOrRegExp":403,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],177:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateObjectWithArrayProps"),u=e("../../utils/validateOptions"),{isString:c,isRegExp:d}=e("../../utils/validateTypes"),p=e("../../utils/vendor"),f="declaration-property-value-disallowed-list",m=a(f,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),h=e=>(t,s)=>{u(s,f,{actual:e,possible:[l(c,d)]})&&t.walkDecls(t=>{const a=t.prop,l=t.value,u=p.unprefixed(a),c=Object.keys(e).find(e=>i(u,e));if(!c)return;if(!n(e,c,l))return;const d=r(t),h=d+t.value.length;o({message:m.rejected(a,l),node:t,index:d,endIndex:h,result:s,ruleName:f})})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/declaration-property-value-disallowed-list"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/matchesStringOrRegExp":403,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],178:[(e,t,s)=>{const r=e("../utils/declarationValueIndex"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,s,o;e.root.walkDecls(a=>{const l=r(a),u=a.toString(),c=a.toString().slice(l);c.includes("!")&&n({source:c,target:"!"},r=>{t=u,s=r.startIndex+l,o=a,e.locationChecker({source:t,index:s,err(t){e.fix&&e.fix(o,s)||i({message:t,node:o,index:s,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/declarationValueIndex":333,"../utils/report":412,"style-search":92}],179:[(e,t,s)=>{const r=e("../utils/declarationValueIndex"),i=e("../utils/isStandardSyntaxDeclaration"),n=e("../utils/report");t.exports=(e=>{e.root.walkDecls(t=>{if(!i(t))return;const s=r(t)+(t.raws.between||"").length-1,o=`${t.toString().slice(0,s)}xxx`;for(let s=0,r=o.length;s{const r=e("style-search"),i=[">=","<=",">","<","="];t.exports=((e,t)=>{if("media"!==e.name.toLowerCase())return;const s=e.raws.params?e.raws.params.raw:e.params;r({source:s,target:i},r=>{const i=s[r.startIndex-1];">"!==i&&"<"!==i&&t(r,s,e)})})},{"style-search":92}],181:[function(e,t,s){const r=e("../../utils/findFontFamily"),i=e("../../utils/isStandardSyntaxValue"),n=e("../../utils/isVariable"),o=e("../../reference/keywordSets"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c="font-family-name-quotes",d=l(c,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),p=(e,t)=>{const s=[];return e.forEach((e,r)=>{const i="quote"in e&&e.quote,n=e.value,o={name:n,rawName:i?`${i}${n}${i}`:n,sourceIndex:e.sourceIndex,hasQuotes:Boolean(i),resetIndexes(e){s.slice(r+1).forEach(t=>t.sourceIndex+=e)},removeQuotes(){if(!1===this.hasQuotes)return;const e=this.sourceIndex,s=e+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,e)+this.name+t.value.substring(s),this.resetIndexes(-2)},addQuotes(){if(!0===this.hasQuotes)return;const e=this.sourceIndex,s=e+this.name.length;this.hasQuotes=!0;const r=`"${this.name}"`;t.value=t.value.slice(0,e)+r+t.value.substring(s),this.resetIndexes(2)}};s.push(o)}),s},f=(e,t,s)=>(t,l)=>{function f(t,r){const{name:a,rawName:l,hasQuotes:u}=t;if(!i(l))return;if(n(l))return;if(o.fontFamilyKeywords.has(a.toLowerCase())||(c=a).startsWith("-apple-")||"BlinkMacSystemFont"===c)return u?s.fix?void t.removeQuotes():m(d.rejected(a),l,r):void 0;var c;const p=a.split(/\s+/).some(e=>/^(?:-?\d|--)/.test(e)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(e)),f=!/^[-a-zA-Z]+$/.test(a);switch(e){case"always-unless-keyword":return u?void 0:s.fix?void t.addQuotes():m(d.expected(a),l,r);case"always-where-recommended":return!f&&u?s.fix?void t.removeQuotes():m(d.rejected(a),l,r):f&&!u?s.fix?void t.addQuotes():m(d.expected(a),l,r):void 0;case"always-where-required":if(!p&&u)return s.fix?void t.removeQuotes():m(d.rejected(a),l,r);if(p&&!u)return s.fix?void t.addQuotes():m(d.expected(a),l,r)}}function m(e,t,s){a({result:l,ruleName:c,message:e,node:s,word:t})}u(l,c,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]})&&t.walkDecls(/^font(-family)?$/i,e=>{let t=p(r(e.value),e);if(0!==t.length)for(const s of t)f(s,e)})};f.ruleName=c,f.messages=d,f.meta={url:"https://stylelint.io/user-guide/rules/list/font-family-name-quotes"},t.exports=f},{"../../reference/keywordSets":110,"../../utils/findFontFamily":337,"../../utils/isStandardSyntaxValue":398,"../../utils/isVariable":401,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],182:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/findFontFamily"),n=e("../../reference/keywordSets"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="font-family-no-duplicate-names",f=l(p,{rejected:e=>`Unexpected duplicate name ${e}`}),m=e=>!("quote"in e)&&n.fontFamilyKeywords.has(e.value.toLowerCase()),h=(e,t)=>(s,n)=>{function l(e,t,s,r){a({result:n,ruleName:p,message:e,node:r,index:t,endIndex:t+s})}u(n,p,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[d,c]},optional:!0})&&s.walkDecls(/^font(-family)?$/i,e=>{const s=new Set,n=new Set,a=i(e.value);if(0!==a.length)for(const i of a){const a=i.value.trim();if(o(t,"ignoreFontFamilyNames",a))continue;const u="quote"in i?i.quote+a+i.quote:a;if(m(i)){if(s.has(a.toLowerCase())){l(f.rejected(a),r(e)+i.sourceIndex,u.length,e);continue}s.add(a)}else n.has(a)?l(f.rejected(a),r(e)+i.sourceIndex,u.length,e):n.add(a)}})};h.ruleName=p,h.messages=f,h.meta={url:"https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names"},t.exports=h},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/findFontFamily":337,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],183:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/findFontFamily"),n=e("../../utils/isStandardSyntaxValue"),o=e("../../utils/isVariable"),a=e("../../reference/keywordSets"),l=e("../../utils/optionsMatches"),u=e("postcss"),c=e("../../utils/report"),d=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isAtRule:f}=e("../../utils/typeGuards"),{isRegExp:m,isString:h,assert:g}=e("../../utils/validateTypes"),w="font-family-no-missing-generic-family-keyword",b=d(w,{rejected:"Unexpected missing generic font family"}),y=(e,t)=>(s,d)=>{p(d,w,{actual:e},{actual:t,possible:{ignoreFontFamilies:[h,m]},optional:!0})&&s.walkDecls(/^font(-family)?$/i,e=>{const s=e.parent;if(s&&f(s)&&"font-face"===s.name.toLowerCase())return;if("font"===e.prop&&a.systemFontValues.has(e.value.toLowerCase()))return;if((e=>{const t=u.list.comma(e).pop();return null!=t&&(o(t)||!n(t))})(e.value))return;const p=i(e.value);if(0===p.length)return;if(p.some(e=>(e=>!("quote"in e)&&a.fontFamilyKeywords.has(e.value.toLowerCase()))(e)))return;if(p.some(e=>l(t,"ignoreFontFamilies",e.value)))return;const m=p[p.length-1];g(m);const h=r(e),y=h+m.sourceIndex,x=h+m.sourceEndIndex;c({result:d,ruleName:w,message:b.rejected,node:e,index:y,endIndex:x})})};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword"},t.exports=y},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/findFontFamily":337,"../../utils/isStandardSyntaxValue":398,"../../utils/isVariable":401,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421,postcss:79}],184:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/isNumbery"),o=e("../../utils/isStandardSyntaxValue"),a=e("../../utils/isVariable"),l=e("../../reference/keywordSets"),u=e("../../utils/optionsMatches"),c=e("../../utils/report"),d=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isAtRule:f}=e("../../utils/typeGuards"),m="font-weight-notation",h=d(m,{expected:e=>`Expected ${e} font-weight notation`,invalidNamed:e=>`Unexpected invalid font-weight name "${e}"`}),g="inherit",w="initial",b="normal",y=new Set(["400","700"]),x=(e,t)=>(s,d)=>{function x(s,p,x){if(!o(p))return;if(a(p))return;if(r(p).nodes.every(({type:e})=>"function"===e||"comment"===e||"space"===e))return;const k=p.toLowerCase();if(!(k===g||k===w||u(t,"ignore","relative")&&l.fontWeightRelativeKeywords.has(k))){if("numeric"===e){const e=s.parent;if(e&&f(e)&&"font-face"===e.name.toLowerCase()){for(const e of v(p))if(!n(e.value))return S(h.expected("numeric"),e.value,e);return}if(!n(p))return S(h.expected("numeric"),p,x)}if("named-where-possible"===e){if(n(p))return void(y.has(p)&&S(h.expected("named"),p,x));if(!l.fontWeightKeywords.has(k)&&k!==b)return S(h.invalidNamed(p),p,x)}}function S(e,t,r){const n=i(s)+(r?r.sourceIndex:0),o=n+t.length;c({ruleName:m,result:d,message:e,node:s,index:n,endIndex:o})}}p(d,m,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0})&&s.walkDecls(/^font(-weight)?$/i,e=>{const t=e.prop.toLowerCase();"font-weight"===t?x(e,e.value):"font"===t&&(e=>{const t=v(e.value),s=t.some(({value:e})=>n(e));for(const r of t){const t=r.value,i=t.toLowerCase();if(i===b&&!s||n(t)||i!==b&&l.fontWeightKeywords.has(i))return void x(e,t,r)}})(e)})};function v(e){return r(e).nodes.filter((e,t,s)=>{if("word"!==e.type)return!1;const r=s[t-1],i=s[t+1];return!(r&&"div"===r.type||i&&"div"===i.type)})}x.ruleName=m,x.messages=h,x.meta={url:"https://stylelint.io/user-guide/rules/list/font-weight-notation"},t.exports=x},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/isNumbery":378,"../../utils/isStandardSyntaxValue":398,"../../utils/isVariable":401,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"postcss-value-parser":59}],185:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/isStandardSyntaxFunction"),n=e("../../utils/matchesStringOrRegExp"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("postcss-value-parser"),c=e("../../utils/vendor"),{isRegExp:d,isString:p}=e("../../utils/validateTypes"),f="function-allowed-list",m=a(f,{rejected:e=>`Unexpected function "${e}"`}),h=e=>(t,s)=>{l(s,f,{actual:e,possible:[p,d]})&&t.walkDecls(t=>{u(t.value).walk(a=>{if("function"!==a.type)return;if(!i(a))return;if(n(c.unprefixed(a.value),e))return;const l=r(t)+a.sourceIndex,u=l+a.value.length;o({message:m.rejected(a.value),node:t,index:l,endIndex:u,result:s,ruleName:f})})})};h.primaryOptionArray=!0,h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/function-allowed-list"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxFunction":390,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-value-parser":59}],186:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/isStandardSyntaxValue"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),c=e("../../utils/validateOptions"),{assert:d}=e("../../utils/validateTypes"),p="function-calc-no-unspaced-operator",f=l(p,{expectedBefore:e=>`Expected single space before "${e}" operator`,expectedAfter:e=>`Expected single space after "${e}" operator`,expectedOperatorBeforeSign:e=>`Expected an operator before sign "${e}"`}),m=new Set(["+","-"]),h=/[+-]/,g=new Set([...m,"*","/"]),w=(e,t,s)=>(t,l)=>{function w(e,t,s,r){const i=s+r.length;a({message:e,node:t,index:s,endIndex:i,result:l,ruleName:p})}c(l,p,{actual:e})&&t.walkDecls(e=>{let t=!1;const a=i(e),l=r(n(e));function c(r,i,n){const o=r.value,l=r.sourceIndex;if(i&&!y(i)){if("word"===i.type){if(n){const t=i.value.slice(-1);if(m.has(t))return s.fix?(i.value=`${i.value.slice(0,-1)} ${t}`,!0):(w(f.expectedOperatorBeforeSign(o),e,l,o),!0)}else{const t=i.value.slice(0,1);if(m.has(t))return s.fix?(i.value=`${t} ${i.value.slice(1)}`,!0):(w(f.expectedAfter(o),e,l,o),!0)}return s.fix?(t=!0,i.value=n?`${i.value} `:` ${i.value}`,!0):(w(n?f.expectedBefore(o):f.expectedAfter(o),e,a+l,o),!0)}if("space"===i.type){const r=i.value.search(/(\n|\r\n)/);if(0===r)return;return s.fix?(t=!0,i.value=-1===r?" ":i.value.slice(r),!0):(w(n?f.expectedBefore(o):f.expectedAfter(o),e,a+l,o),!0)}if("function"===i.type)return s.fix?(t=!0,i.value=n?`${i.value} `:` ${i.value}`,!0):(w(n?f.expectedBefore(o):f.expectedAfter(o),e,a+l,o),!0)}return!1}l.walk(r=>{if("function"!==r.type||"calc"!==r.value.toLowerCase())return;const{nodes:i}=r;let n=!1;for(const[e,t]of i.entries()){if(!x(t))continue;n=!0;const s=i[e-1],r=i[e+1];y(s)&&y(r)||r&&c(t,r,!1)||s&&c(t,s,!0)}n||function(r){if(!(i=>{const n=r[0];if(d(n),"word"!==n.type)return!1;if(!o(n.value))return!1;const l=n.value.search(h),u=n.value.slice(l,l+1);if(l<=0)return!1;const c=n.value.charAt(l-1),p=n.value.charAt(l+1);return c&&" "!==c&&p&&" "!==p?s.fix?(t=!0,n.value=b(n.value,l+1," "),n.value=b(n.value,l," ")):(w(f.expectedBefore(u),e,a+n.sourceIndex+l,u),w(f.expectedAfter(u),e,a+n.sourceIndex+l+1,u)):c&&" "!==c?s.fix?(t=!0,n.value=b(n.value,l," ")):w(f.expectedBefore(u),e,a+n.sourceIndex+l,u):p&&" "!==p&&(s.fix?(t=!0,n.value=b(n.value,l," ")):w(f.expectedAfter(u),e,a+n.sourceIndex+l+1,u)),!0})()&&!(r=>{if(1===r.length)return!1;const i=r[r.length-1];if(d(i),"word"!==i.type)return!1;const n=i.value.search(h);if(-1===n)return!1;if(" "===i.value.charAt(n-1))return!1;if(x(r[r.length-3],g)&&y(r[r.length-2]))return!1;if(s.fix)return t=!0,i.value=b(i.value,n+1," ").trim(),i.value=b(i.value,n," ").trim(),!0;const o=i.value.charAt(n);return w(f.expectedOperatorBeforeSign(o),e,a+i.sourceIndex+n,o),!0})(r))for(const[t,i]of r.entries()){const n=i.value.slice(-1),o=i.value.slice(0,1);if("word"===i.type)if(0===t&&m.has(n)){if(s.fix){i.value=`${i.value.slice(0,-1)} ${n}`;continue}w(f.expectedBefore(n),e,i.sourceIndex,n)}else if(t===r.length&&m.has(o)){if(s.fix){i.value=`${o} ${i.value.slice(1)}`;continue}w(f.expectedOperatorBeforeSign(o),e,i.sourceIndex,o)}}}(i)}),t&&u(e,l.toString())})};function b(e,t,s){return e.slice(0,t)+s+e.slice(t,e.length)}function y(e){return null!=e&&"space"===e.type&&" "===e.value}function x(e,t=m){return null!=e&&"word"===e.type&&t.has(e.value)}w.ruleName=p,w.messages=f,w.meta={url:"https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator"},t.exports=w},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isStandardSyntaxValue":398,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],187:[(e,t,s)=>{const r=e("../functionCommaSpaceFix"),i=e("../functionCommaSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="function-comma-newline-after",u=n(l,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line function',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line function'}),c=(e,t,s)=>{const n=a("newline",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&i({root:t,result:a,locationChecker:n.afterOneOnly,checkedRuleName:l,fix:s.fix?(t,i,n)=>r({div:t,index:i,nodes:n,expectation:e,position:"after",symb:s.newline||""}):null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/function-comma-newline-after"},t.exports=c},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../functionCommaSpaceChecker":203,"../functionCommaSpaceFix":204}],188:[(e,t,s)=>{const r=e("../functionCommaSpaceFix"),i=e("../functionCommaSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="function-comma-newline-before",u=n(l,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line function',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line function'}),c=(e,t,s)=>{const n=a("newline",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&i({root:t,result:a,locationChecker:n.beforeAllowingIndentation,checkedRuleName:l,fix:s.fix?(t,i,n)=>r({div:t,index:i,nodes:n,expectation:e,position:"before",symb:s.newline||""}):null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/function-comma-newline-before"},t.exports=c},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../functionCommaSpaceChecker":203,"../functionCommaSpaceFix":204}],189:[(e,t,s)=>{const r=e("../functionCommaSpaceFix"),i=e("../functionCommaSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="function-comma-space-after",u=n(l,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line function',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line function'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&i({root:t,result:a,locationChecker:n.after,checkedRuleName:l,fix:s.fix?(t,s,i)=>r({div:t,index:s,nodes:i,expectation:e,position:"after",symb:" "}):null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/function-comma-space-after"},t.exports=c},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../functionCommaSpaceChecker":203,"../functionCommaSpaceFix":204}],190:[(e,t,s)=>{const r=e("../functionCommaSpaceFix"),i=e("../functionCommaSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="function-comma-space-before",u=n(l,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line function',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line function'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&i({root:t,result:a,locationChecker:n.before,checkedRuleName:l,fix:s.fix?(t,s,i)=>r({div:t,index:s,nodes:i,expectation:e,position:"before",symb:" "}):null})}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/function-comma-space-before"},t.exports=c},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../functionCommaSpaceChecker":203,"../functionCommaSpaceFix":204}],191:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/isStandardSyntaxFunction"),n=e("../../utils/matchesStringOrRegExp"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("postcss-value-parser"),c=e("../../utils/vendor"),{isRegExp:d,isString:p}=e("../../utils/validateTypes"),f="function-disallowed-list",m=a(f,{rejected:e=>`Unexpected function "${e}"`}),h=e=>(t,s)=>{l(s,f,{actual:e,possible:[p,d]})&&t.walkDecls(t=>{u(t.value).walk(a=>{if("function"!==a.type)return;if(!i(a))return;if(!n(c.unprefixed(a.value),e))return;const l=r(t)+a.sourceIndex,u=l+a.value.length;o({message:m.rejected(a.value),node:t,index:l,endIndex:u,result:s,ruleName:f})})})};h.primaryOptionArray=!0,h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/function-disallowed-list"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxFunction":390,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-value-parser":59}],192:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/functionArgumentsSearch"),n=e("../../utils/isStandardSyntaxValue"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("postcss-value-parser"),c=e("../../utils/vendor"),d="function-linear-gradient-no-nonstandard-direction",p=a(d,{rejected:"Unexpected nonstandard direction"}),f=e=>(t,s)=>{l(s,d,{actual:e})&&t.walkDecls(e=>{u(e.value).walk(t=>{"function"===t.type&&i(u.stringify(t).toLowerCase(),/^(-webkit-|-moz-|-o-|-ms-)?linear-gradient$/i,(i,a)=>{const l=i.split(","),u=(l[0]||"").trim();if(n(u))if(/[\d.]/.test(u.charAt(0))){if(/^[\d.]+(?:deg|grad|rad|turn)$/.test(u))return;f()}else/left|right|top|bottom/.test(u)&&(((e,s)=>{const r=!c.prefix(t.value)?/^to (top|left|bottom|right)(?: (top|left|bottom|right))?$/:/^(top|left|bottom|right)(?: (top|left|bottom|right))?$/,i=e.match(r);return!!i&&(2===i.length||3===i.length&&i[1]!==i[2])})(u)||f());function f(){const i=r(e)+t.sourceIndex+a,n=i+(l[0]||"").trimEnd().length;o({message:p.rejected,node:e,index:i,endIndex:n,result:s,ruleName:d})}})})})};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction"},t.exports=f},{"../../utils/declarationValueIndex":333,"../../utils/functionArgumentsSearch":339,"../../utils/isStandardSyntaxValue":398,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/vendor":422,"postcss-value-parser":59}],193:[(e,t,s)=>{const r=e("../../utils/getDeclarationValue"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/setDeclarationValue"),a=e("../../utils/validateOptions"),l=e("postcss-value-parser"),{isNumber:u}=e("../../utils/validateTypes"),c="function-max-empty-lines",d=n(c,{expected:e=>`Expected no more than ${e} empty ${1===e?"line":"lines"}`}),p=(e,t,s)=>{const n=e+1;return(t,p)=>{if(!a(p,c,{actual:e,possible:u}))return;const f=new RegExp(`(?:\r\n){${n+1},}`),m=new RegExp(`\n{${n+1},}`),h=s.fix?"\n".repeat(n):"",g=s.fix?"\r\n".repeat(n):"";t.walkDecls(t=>{if(!t.value.includes("("))return;const n=r(t),a=[];let u=0;if(l(n).walk(r=>{if("function"!==r.type||0===r.value.length)return;const o=l.stringify(r);if(m.test(o)||f.test(o))if(s.fix){const e=o.replace(new RegExp(m,"gm"),h).replace(new RegExp(f,"gm"),g);a.push([n.slice(u,r.sourceIndex),e]),u=r.sourceIndex+o.length}else i({message:d.expected(e),node:t,index:(e=>{if(null==e.raws.between)throw new Error("`between` must be present");return e.prop.length+e.raws.between.length-1})(t)+r.sourceIndex,result:p,ruleName:c})}),s.fix&&a.length>0){const e=a.reduce((e,t)=>e+t[0]+t[1],"")+n.slice(u);o(t,e)}})}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/function-max-empty-lines"},t.exports=p},{"../../utils/getDeclarationValue":341,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],194:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/isStandardSyntaxFunction"),o=e("../../reference/keywordSets"),a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/setDeclarationValue"),d=e("../../utils/validateOptions"),p=e("postcss-value-parser"),{isRegExp:f,isString:m}=e("../../utils/validateTypes"),h="function-name-case",g=u(h,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),w=new Map;for(const e of o.camelCaseFunctionNames)w.set(e.toLowerCase(),e);const b=(e,t,s)=>(o,u)=>{d(u,h,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[m,f]},optional:!0})&&o.walkDecls(o=>{let d=!1;const f=p(i(o));f.walk(i=>{if("function"!==i.type||!n(i))return;const c=i.value,p=c.toLowerCase();if(a(t,"ignoreFunctions",c))return;let f=null;return c!==(f="lower"===e&&w.has(p)?w.get(p):"lower"===e?p:c.toUpperCase())?s.fix?(d=!0,void(i.value=f)):void l({message:g.expected(c,f),node:o,index:r(o)+i.sourceIndex,result:u,ruleName:h}):void 0}),s.fix&&d&&c(o,f.toString())})};b.ruleName=h,b.messages=g,b.meta={url:"https://stylelint.io/user-guide/rules/list/function-name-case"},t.exports=b},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isStandardSyntaxFunction":390,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],195:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/isStandardSyntaxFunction"),c=e("../../utils/isCustomFunction"),{isRegExp:d,isString:p}=e("../../utils/validateTypes"),f="function-no-unknown",m=a(f,{rejected:e=>`Unexpected unknown function "${e}"`}),h=(e,t)=>(s,a)=>{if(!l(a,f,{actual:e},{actual:t,possible:{ignoreFunctions:[p,d]},optional:!0}))return;const h=JSON.parse('[\n\t"abs",\n\t"acos",\n\t"annotation",\n\t"asin",\n\t"atan",\n\t"atan2",\n\t"attr",\n\t"blur",\n\t"brightness",\n\t"calc",\n\t"character-variant",\n\t"circle",\n\t"clamp",\n\t"color",\n\t"color-contrast",\n\t"color-mix",\n\t"conic-gradient",\n\t"contrast",\n\t"cos",\n\t"counter",\n\t"counters",\n\t"cross-fade",\n\t"cubic-bezier",\n\t"device-cmyk",\n\t"drop-shadow",\n\t"element",\n\t"ellipse",\n\t"env",\n\t"exp",\n\t"fit-content",\n\t"format",\n\t"grayscale",\n\t"hsl",\n\t"hsla",\n\t"hue-rotate",\n\t"hwb",\n\t"hypot",\n\t"image",\n\t"image-set",\n\t"inset",\n\t"invert",\n\t"lab",\n\t"layer",\n\t"lch",\n\t"leader",\n\t"linear-gradient",\n\t"local",\n\t"log",\n\t"matrix",\n\t"matrix3d",\n\t"max",\n\t"min",\n\t"minmax",\n\t"mod",\n\t"oklab",\n\t"oklch",\n\t"opacity",\n\t"ornaments",\n\t"paint",\n\t"path",\n\t"perspective",\n\t"polygon",\n\t"pow",\n\t"radial-gradient",\n\t"rect",\n\t"rem",\n\t"repeat",\n\t"repeating-conic-gradient",\n\t"repeating-linear-gradient",\n\t"repeating-radial-gradient",\n\t"rgb",\n\t"rgba",\n\t"rotate",\n\t"rotate3d",\n\t"rotateX",\n\t"rotateY",\n\t"rotateZ",\n\t"rotatex",\n\t"rotatey",\n\t"rotatez",\n\t"round",\n\t"saturate",\n\t"scale",\n\t"scale3d",\n\t"scaleX",\n\t"scaleY",\n\t"scaleZ",\n\t"scalex",\n\t"scaley",\n\t"scalez",\n\t"selector",\n\t"sepia",\n\t"sign",\n\t"sin",\n\t"skew",\n\t"skewX",\n\t"skewY",\n\t"skewx",\n\t"skewy",\n\t"sqrt",\n\t"steps",\n\t"styleset",\n\t"stylistic",\n\t"swash",\n\t"symbols",\n\t"tan",\n\t"target-counter",\n\t"target-counters",\n\t"target-text",\n\t"translate",\n\t"translate3d",\n\t"translateX",\n\t"translateY",\n\t"translateZ",\n\t"translatex",\n\t"translatey",\n\t"translatez",\n\t"type",\n\t"url",\n\t"var",\n\t"-webkit-abs",\n\t"-webkit-acos",\n\t"-webkit-annotation",\n\t"-webkit-asin",\n\t"-webkit-atan",\n\t"-webkit-atan2",\n\t"-webkit-attr",\n\t"-webkit-blur",\n\t"-webkit-brightness",\n\t"-webkit-calc",\n\t"-webkit-character-variant",\n\t"-webkit-circle",\n\t"-webkit-clamp",\n\t"-webkit-color",\n\t"-webkit-color-contrast",\n\t"-webkit-color-mix",\n\t"-webkit-conic-gradient",\n\t"-webkit-contrast",\n\t"-webkit-cos",\n\t"-webkit-counter",\n\t"-webkit-counters",\n\t"-webkit-cross-fade",\n\t"-webkit-cubic-bezier",\n\t"-webkit-device-cmyk",\n\t"-webkit-drop-shadow",\n\t"-webkit-element",\n\t"-webkit-ellipse",\n\t"-webkit-env",\n\t"-webkit-exp",\n\t"-webkit-fit-content",\n\t"-webkit-format",\n\t"-webkit-grayscale",\n\t"-webkit-hsl",\n\t"-webkit-hsla",\n\t"-webkit-hue-rotate",\n\t"-webkit-hwb",\n\t"-webkit-hypot",\n\t"-webkit-image",\n\t"-webkit-image-set",\n\t"-webkit-inset",\n\t"-webkit-invert",\n\t"-webkit-lab",\n\t"-webkit-layer",\n\t"-webkit-lch",\n\t"-webkit-leader",\n\t"-webkit-linear-gradient",\n\t"-webkit-local",\n\t"-webkit-log",\n\t"-webkit-matrix",\n\t"-webkit-matrix3d",\n\t"-webkit-max",\n\t"-webkit-min",\n\t"-webkit-minmax",\n\t"-webkit-mod",\n\t"-webkit-oklab",\n\t"-webkit-oklch",\n\t"-webkit-opacity",\n\t"-webkit-ornaments",\n\t"-webkit-paint",\n\t"-webkit-path",\n\t"-webkit-perspective",\n\t"-webkit-polygon",\n\t"-webkit-pow",\n\t"-webkit-radial-gradient",\n\t"-webkit-rect",\n\t"-webkit-rem",\n\t"-webkit-repeat",\n\t"-webkit-repeating-conic-gradient",\n\t"-webkit-repeating-linear-gradient",\n\t"-webkit-repeating-radial-gradient",\n\t"-webkit-rgb",\n\t"-webkit-rgba",\n\t"-webkit-rotate",\n\t"-webkit-rotate3d",\n\t"-webkit-rotateX",\n\t"-webkit-rotateY",\n\t"-webkit-rotateZ",\n\t"-webkit-rotatex",\n\t"-webkit-rotatey",\n\t"-webkit-rotatez",\n\t"-webkit-round",\n\t"-webkit-saturate",\n\t"-webkit-scale",\n\t"-webkit-scale3d",\n\t"-webkit-scaleX",\n\t"-webkit-scaleY",\n\t"-webkit-scaleZ",\n\t"-webkit-scalex",\n\t"-webkit-scaley",\n\t"-webkit-scalez",\n\t"-webkit-selector",\n\t"-webkit-sepia",\n\t"-webkit-sign",\n\t"-webkit-sin",\n\t"-webkit-skew",\n\t"-webkit-skewX",\n\t"-webkit-skewY",\n\t"-webkit-skewx",\n\t"-webkit-skewy",\n\t"-webkit-sqrt",\n\t"-webkit-steps",\n\t"-webkit-styleset",\n\t"-webkit-stylistic",\n\t"-webkit-swash",\n\t"-webkit-symbols",\n\t"-webkit-tan",\n\t"-webkit-target-counter",\n\t"-webkit-target-counters",\n\t"-webkit-target-text",\n\t"-webkit-translate",\n\t"-webkit-translate3d",\n\t"-webkit-translateX",\n\t"-webkit-translateY",\n\t"-webkit-translateZ",\n\t"-webkit-translatex",\n\t"-webkit-translatey",\n\t"-webkit-translatez",\n\t"-webkit-type",\n\t"-webkit-url",\n\t"-webkit-var",\n\t"-moz-abs",\n\t"-moz-acos",\n\t"-moz-annotation",\n\t"-moz-asin",\n\t"-moz-atan",\n\t"-moz-atan2",\n\t"-moz-attr",\n\t"-moz-blur",\n\t"-moz-brightness",\n\t"-moz-calc",\n\t"-moz-character-variant",\n\t"-moz-circle",\n\t"-moz-clamp",\n\t"-moz-color",\n\t"-moz-color-contrast",\n\t"-moz-color-mix",\n\t"-moz-conic-gradient",\n\t"-moz-contrast",\n\t"-moz-cos",\n\t"-moz-counter",\n\t"-moz-counters",\n\t"-moz-cross-fade",\n\t"-moz-cubic-bezier",\n\t"-moz-device-cmyk",\n\t"-moz-drop-shadow",\n\t"-moz-element",\n\t"-moz-ellipse",\n\t"-moz-env",\n\t"-moz-exp",\n\t"-moz-fit-content",\n\t"-moz-format",\n\t"-moz-grayscale",\n\t"-moz-hsl",\n\t"-moz-hsla",\n\t"-moz-hue-rotate",\n\t"-moz-hwb",\n\t"-moz-hypot",\n\t"-moz-image",\n\t"-moz-image-set",\n\t"-moz-inset",\n\t"-moz-invert",\n\t"-moz-lab",\n\t"-moz-layer",\n\t"-moz-lch",\n\t"-moz-leader",\n\t"-moz-linear-gradient",\n\t"-moz-local",\n\t"-moz-log",\n\t"-moz-matrix",\n\t"-moz-matrix3d",\n\t"-moz-max",\n\t"-moz-min",\n\t"-moz-minmax",\n\t"-moz-mod",\n\t"-moz-oklab",\n\t"-moz-oklch",\n\t"-moz-opacity",\n\t"-moz-ornaments",\n\t"-moz-paint",\n\t"-moz-path",\n\t"-moz-perspective",\n\t"-moz-polygon",\n\t"-moz-pow",\n\t"-moz-radial-gradient",\n\t"-moz-rect",\n\t"-moz-rem",\n\t"-moz-repeat",\n\t"-moz-repeating-conic-gradient",\n\t"-moz-repeating-linear-gradient",\n\t"-moz-repeating-radial-gradient",\n\t"-moz-rgb",\n\t"-moz-rgba",\n\t"-moz-rotate",\n\t"-moz-rotate3d",\n\t"-moz-rotateX",\n\t"-moz-rotateY",\n\t"-moz-rotateZ",\n\t"-moz-rotatex",\n\t"-moz-rotatey",\n\t"-moz-rotatez",\n\t"-moz-round",\n\t"-moz-saturate",\n\t"-moz-scale",\n\t"-moz-scale3d",\n\t"-moz-scaleX",\n\t"-moz-scaleY",\n\t"-moz-scaleZ",\n\t"-moz-scalex",\n\t"-moz-scaley",\n\t"-moz-scalez",\n\t"-moz-selector",\n\t"-moz-sepia",\n\t"-moz-sign",\n\t"-moz-sin",\n\t"-moz-skew",\n\t"-moz-skewX",\n\t"-moz-skewY",\n\t"-moz-skewx",\n\t"-moz-skewy",\n\t"-moz-sqrt",\n\t"-moz-steps",\n\t"-moz-styleset",\n\t"-moz-stylistic",\n\t"-moz-swash",\n\t"-moz-symbols",\n\t"-moz-tan",\n\t"-moz-target-counter",\n\t"-moz-target-counters",\n\t"-moz-target-text",\n\t"-moz-translate",\n\t"-moz-translate3d",\n\t"-moz-translateX",\n\t"-moz-translateY",\n\t"-moz-translateZ",\n\t"-moz-translatex",\n\t"-moz-translatey",\n\t"-moz-translatez",\n\t"-moz-type",\n\t"-moz-url",\n\t"-moz-var",\n\t"-o-abs",\n\t"-o-acos",\n\t"-o-annotation",\n\t"-o-asin",\n\t"-o-atan",\n\t"-o-atan2",\n\t"-o-attr",\n\t"-o-blur",\n\t"-o-brightness",\n\t"-o-calc",\n\t"-o-character-variant",\n\t"-o-circle",\n\t"-o-clamp",\n\t"-o-color",\n\t"-o-color-contrast",\n\t"-o-color-mix",\n\t"-o-conic-gradient",\n\t"-o-contrast",\n\t"-o-cos",\n\t"-o-counter",\n\t"-o-counters",\n\t"-o-cross-fade",\n\t"-o-cubic-bezier",\n\t"-o-device-cmyk",\n\t"-o-drop-shadow",\n\t"-o-element",\n\t"-o-ellipse",\n\t"-o-env",\n\t"-o-exp",\n\t"-o-fit-content",\n\t"-o-format",\n\t"-o-grayscale",\n\t"-o-hsl",\n\t"-o-hsla",\n\t"-o-hue-rotate",\n\t"-o-hwb",\n\t"-o-hypot",\n\t"-o-image",\n\t"-o-image-set",\n\t"-o-inset",\n\t"-o-invert",\n\t"-o-lab",\n\t"-o-layer",\n\t"-o-lch",\n\t"-o-leader",\n\t"-o-linear-gradient",\n\t"-o-local",\n\t"-o-log",\n\t"-o-matrix",\n\t"-o-matrix3d",\n\t"-o-max",\n\t"-o-min",\n\t"-o-minmax",\n\t"-o-mod",\n\t"-o-oklab",\n\t"-o-oklch",\n\t"-o-opacity",\n\t"-o-ornaments",\n\t"-o-paint",\n\t"-o-path",\n\t"-o-perspective",\n\t"-o-polygon",\n\t"-o-pow",\n\t"-o-radial-gradient",\n\t"-o-rect",\n\t"-o-rem",\n\t"-o-repeat",\n\t"-o-repeating-conic-gradient",\n\t"-o-repeating-linear-gradient",\n\t"-o-repeating-radial-gradient",\n\t"-o-rgb",\n\t"-o-rgba",\n\t"-o-rotate",\n\t"-o-rotate3d",\n\t"-o-rotateX",\n\t"-o-rotateY",\n\t"-o-rotateZ",\n\t"-o-rotatex",\n\t"-o-rotatey",\n\t"-o-rotatez",\n\t"-o-round",\n\t"-o-saturate",\n\t"-o-scale",\n\t"-o-scale3d",\n\t"-o-scaleX",\n\t"-o-scaleY",\n\t"-o-scaleZ",\n\t"-o-scalex",\n\t"-o-scaley",\n\t"-o-scalez",\n\t"-o-selector",\n\t"-o-sepia",\n\t"-o-sign",\n\t"-o-sin",\n\t"-o-skew",\n\t"-o-skewX",\n\t"-o-skewY",\n\t"-o-skewx",\n\t"-o-skewy",\n\t"-o-sqrt",\n\t"-o-steps",\n\t"-o-styleset",\n\t"-o-stylistic",\n\t"-o-swash",\n\t"-o-symbols",\n\t"-o-tan",\n\t"-o-target-counter",\n\t"-o-target-counters",\n\t"-o-target-text",\n\t"-o-translate",\n\t"-o-translate3d",\n\t"-o-translateX",\n\t"-o-translateY",\n\t"-o-translateZ",\n\t"-o-translatex",\n\t"-o-translatey",\n\t"-o-translatez",\n\t"-o-type",\n\t"-o-url",\n\t"-o-var",\n\t"-ms-abs",\n\t"-ms-acos",\n\t"-ms-annotation",\n\t"-ms-asin",\n\t"-ms-atan",\n\t"-ms-atan2",\n\t"-ms-attr",\n\t"-ms-blur",\n\t"-ms-brightness",\n\t"-ms-calc",\n\t"-ms-character-variant",\n\t"-ms-circle",\n\t"-ms-clamp",\n\t"-ms-color",\n\t"-ms-color-contrast",\n\t"-ms-color-mix",\n\t"-ms-conic-gradient",\n\t"-ms-contrast",\n\t"-ms-cos",\n\t"-ms-counter",\n\t"-ms-counters",\n\t"-ms-cross-fade",\n\t"-ms-cubic-bezier",\n\t"-ms-device-cmyk",\n\t"-ms-drop-shadow",\n\t"-ms-element",\n\t"-ms-ellipse",\n\t"-ms-env",\n\t"-ms-exp",\n\t"-ms-fit-content",\n\t"-ms-format",\n\t"-ms-grayscale",\n\t"-ms-hsl",\n\t"-ms-hsla",\n\t"-ms-hue-rotate",\n\t"-ms-hwb",\n\t"-ms-hypot",\n\t"-ms-image",\n\t"-ms-image-set",\n\t"-ms-inset",\n\t"-ms-invert",\n\t"-ms-lab",\n\t"-ms-layer",\n\t"-ms-lch",\n\t"-ms-leader",\n\t"-ms-linear-gradient",\n\t"-ms-local",\n\t"-ms-log",\n\t"-ms-matrix",\n\t"-ms-matrix3d",\n\t"-ms-max",\n\t"-ms-min",\n\t"-ms-minmax",\n\t"-ms-mod",\n\t"-ms-oklab",\n\t"-ms-oklch",\n\t"-ms-opacity",\n\t"-ms-ornaments",\n\t"-ms-paint",\n\t"-ms-path",\n\t"-ms-perspective",\n\t"-ms-polygon",\n\t"-ms-pow",\n\t"-ms-radial-gradient",\n\t"-ms-rect",\n\t"-ms-rem",\n\t"-ms-repeat",\n\t"-ms-repeating-conic-gradient",\n\t"-ms-repeating-linear-gradient",\n\t"-ms-repeating-radial-gradient",\n\t"-ms-rgb",\n\t"-ms-rgba",\n\t"-ms-rotate",\n\t"-ms-rotate3d",\n\t"-ms-rotateX",\n\t"-ms-rotateY",\n\t"-ms-rotateZ",\n\t"-ms-rotatex",\n\t"-ms-rotatey",\n\t"-ms-rotatez",\n\t"-ms-round",\n\t"-ms-saturate",\n\t"-ms-scale",\n\t"-ms-scale3d",\n\t"-ms-scaleX",\n\t"-ms-scaleY",\n\t"-ms-scaleZ",\n\t"-ms-scalex",\n\t"-ms-scaley",\n\t"-ms-scalez",\n\t"-ms-selector",\n\t"-ms-sepia",\n\t"-ms-sign",\n\t"-ms-sin",\n\t"-ms-skew",\n\t"-ms-skewX",\n\t"-ms-skewY",\n\t"-ms-skewx",\n\t"-ms-skewy",\n\t"-ms-sqrt",\n\t"-ms-steps",\n\t"-ms-styleset",\n\t"-ms-stylistic",\n\t"-ms-swash",\n\t"-ms-symbols",\n\t"-ms-tan",\n\t"-ms-target-counter",\n\t"-ms-target-counters",\n\t"-ms-target-text",\n\t"-ms-translate",\n\t"-ms-translate3d",\n\t"-ms-translateX",\n\t"-ms-translateY",\n\t"-ms-translateZ",\n\t"-ms-translatex",\n\t"-ms-translatey",\n\t"-ms-translatez",\n\t"-ms-type",\n\t"-ms-url",\n\t"-ms-var"\n]\n');s.walkDecls(e=>{const{value:s}=e;r(s).walk(s=>{const r=s.value;"function"===s.type&&u(s)&&(c(r)||n(t,"ignoreFunctions",r)||h.includes(r.toLowerCase())||o({message:m.rejected(r),node:e,index:i(e)+s.sourceIndex,result:a,ruleName:f,word:r}))})})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/function-no-unknown"},t.exports=h},{"../../utils/declarationValueIndex":333,"../../utils/isCustomFunction":368,"../../utils/isStandardSyntaxFunction":390,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],196:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/isSingleLineString"),o=e("../../utils/isStandardSyntaxFunction"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),c=e("../../utils/validateOptions"),d=e("postcss-value-parser"),p="function-parentheses-newline-inside",f=l(p,{expectedOpening:'Expected newline after "("',expectedClosing:'Expected newline before ")"',expectedOpeningMultiLine:'Expected newline after "(" in a multi-line function',rejectedOpeningMultiLine:'Unexpected whitespace after "(" in a multi-line function',expectedClosingMultiLine:'Expected newline before ")" in a multi-line function',rejectedClosingMultiLine:'Unexpected whitespace before ")" in a multi-line function'}),m=(e,t,s)=>(t,l)=>{c(l,p,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&t.walkDecls(t=>{if(!t.value.includes("("))return;let c=!1;const m=i(t),w=d(m);function b(e,s){a({ruleName:p,result:l,message:e,node:t,index:r(t)+s})}w.walk(t=>{if("function"!==t.type)return;if(!o(t))return;const r=d.stringify(t),i=!n(r),a=e=>e.includes("\n"),l=t.sourceIndex+t.value.length+1,u=(e=>{let t=e.before;for(const s of e.nodes)if("comment"!==s.type){if("space"!==s.type)break;t+=s.value}return t})(t);"always"!==e||a(u)||(s.fix?(c=!0,h(t,s.newline||"")):b(f.expectedOpening,l)),i&&"always-multi-line"===e&&!a(u)&&(s.fix?(c=!0,h(t,s.newline||"")):b(f.expectedOpeningMultiLine,l)),i&&"never-multi-line"===e&&""!==u&&(s.fix?(c=!0,(e=>{e.before="";for(const t of e.nodes)if("comment"!==t.type){if("space"!==t.type)break;t.value=""}})(t)):b(f.rejectedOpeningMultiLine,l));const p=t.sourceIndex+r.length-2,m=(e=>{let t="";for(const s of[...e.nodes].reverse())if("comment"!==s.type){if("space"!==s.type)break;t=s.value+t}return t+e.after})(t);"always"!==e||a(m)||(s.fix?(c=!0,g(t,s.newline||"")):b(f.expectedClosing,p)),i&&"always-multi-line"===e&&!a(m)&&(s.fix?(c=!0,g(t,s.newline||"")):b(f.expectedClosingMultiLine,p)),i&&"never-multi-line"===e&&""!==m&&(s.fix?(c=!0,(e=>{e.after="";for(const t of[...e.nodes].reverse())if("comment"!==t.type){if("space"!==t.type)break;t.value=""}})(t)):b(f.rejectedClosingMultiLine,p))}),c&&u(t,w.toString())})};function h(e,t){let s;for(const t of e.nodes)if("comment"!==t.type){if("space"!==t.type)break;s=t}s?s.value=t+s.value:e.before=t+e.before}function g(e,t){e.after=t+e.after}m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside"},t.exports=m},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isSingleLineString":384,"../../utils/isStandardSyntaxFunction":390,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"postcss-value-parser":59}],197:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/isSingleLineString"),o=e("../../utils/isStandardSyntaxFunction"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),c=e("../../utils/validateOptions"),d=e("postcss-value-parser"),p="function-parentheses-space-inside",f=l(p,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"',expectedOpeningSingleLine:'Expected single space after "(" in a single-line function',rejectedOpeningSingleLine:'Unexpected whitespace after "(" in a single-line function',expectedClosingSingleLine:'Expected single space before ")" in a single-line function',rejectedClosingSingleLine:'Unexpected whitespace before ")" in a single-line function'}),m=(e,t,s)=>(t,l)=>{c(l,p,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&t.walkDecls(t=>{if(!t.value.includes("("))return;let c=!1;const m=i(t),h=d(m);function g(e,s){a({ruleName:p,result:l,message:e,node:t,index:r(t)+s})}h.walk(t=>{if("function"!==t.type)return;if(!o(t))return;if(!t.nodes.length)return;const r=d.stringify(t),i=n(r),a=t.sourceIndex+t.value.length+1;"always"===e&&" "!==t.before&&(s.fix?(c=!0,t.before=" "):g(f.expectedOpening,a)),"never"===e&&""!==t.before&&(s.fix?(c=!0,t.before=""):g(f.rejectedOpening,a)),i&&"always-single-line"===e&&" "!==t.before&&(s.fix?(c=!0,t.before=" "):g(f.expectedOpeningSingleLine,a)),i&&"never-single-line"===e&&""!==t.before&&(s.fix?(c=!0,t.before=""):g(f.rejectedOpeningSingleLine,a));const l=t.sourceIndex+r.length-2;"always"===e&&" "!==t.after&&(s.fix?(c=!0,t.after=" "):g(f.expectedClosing,l)),"never"===e&&""!==t.after&&(s.fix?(c=!0,t.after=""):g(f.rejectedClosing,l)),i&&"always-single-line"===e&&" "!==t.after&&(s.fix?(c=!0,t.after=" "):g(f.expectedClosingSingleLine,l)),i&&"never-single-line"===e&&""!==t.after&&(s.fix?(c=!0,t.after=""):g(f.rejectedClosingSingleLine,l))}),c&&u(t,h.toString())})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside"},t.exports=m},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isSingleLineString":384,"../../utils/isStandardSyntaxFunction":390,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"postcss-value-parser":59}],198:[(e,t,s)=>{const r=e("../../utils/functionArgumentsSearch"),i=e("../../utils/isStandardSyntaxUrl"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="function-url-no-scheme-relative",u=o(l,{rejected:"Unexpected scheme-relative url"}),c=e=>(t,s)=>{a(s,l,{actual:e})&&t.walkDecls(e=>{r(e.toString().toLowerCase(),"url",(t,r)=>{const o=t.trim().replace(/^['"]+|['"]+$/g,"");i(o)&&o.startsWith("//")&&n({message:u.rejected,node:e,index:r,endIndex:r+t.length,result:s,ruleName:l})})})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/function-url-no-scheme-relative"},t.exports=c},{"../../utils/functionArgumentsSearch":339,"../../utils/isStandardSyntaxUrl":397,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],199:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/functionArgumentsSearch"),n=e("../../utils/isStandardSyntaxUrl"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c="function-url-quotes",d=l(c,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Unexpected quotes around "${e}" function argument`}),p=(e,t)=>(s,l)=>{function p(s,r,i,a){let l="always"===e;const u=s.trimStart();if(!n(u))return;const c=i+s.length-u.length,p=i+s.length,m=u.startsWith("'")||u.startsWith('"'),h=s.trim(),g=["","''",'""'].includes(h);if(o(t,"except","empty")&&g&&(l=!l),l){if(m)return;f(d.expected(a),r,c,p)}else{if(!m)return;f(d.rejected(a),r,c,p)}}function f(e,t,s,r){a({message:e,node:t,index:s,endIndex:r,result:l,ruleName:c})}u(l,c,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0})&&(s.walkAtRules(e=>{const t=e.params.toLowerCase();i(t,"url",(t,s)=>{p(t,e,s+r(e),"url")}),i(t,"url-prefix",(t,s)=>{p(t,e,s+r(e),"url-prefix")}),i(t,"domain",(t,s)=>{p(t,e,s+r(e),"domain")})}),s.walkDecls(e=>{i(e.toString().toLowerCase(),"url",(t,s)=>{p(t,e,s,"url")})}))};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/function-url-quotes"},t.exports=p},{"../../utils/atRuleParamIndex":326,"../../utils/functionArgumentsSearch":339,"../../utils/isStandardSyntaxUrl":397,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],200:[(e,t,s)=>{const r=e("../../utils/functionArgumentsSearch"),i=e("../../utils/getSchemeFromUrl"),n=e("../../utils/isStandardSyntaxUrl"),o=e("../../utils/matchesStringOrRegExp"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="function-url-scheme-allowed-list",f=l(p,{rejected:e=>`Unexpected URL scheme "${e}:"`}),m=e=>(t,s)=>{u(s,p,{actual:e,possible:[d,c]})&&t.walkDecls(t=>{r(t.toString().toLowerCase(),"url",(r,l)=>{const u=r.trim();if(!n(u))return;const c=u.replace(/^['"]+|['"]+$/g,""),d=i(c);null!==d&&(o(d,e)||a({message:f.rejected(d),node:t,index:l,endIndex:l+r.length,result:s,ruleName:p}))})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/function-url-scheme-allowed-list"},t.exports=m},{"../../utils/functionArgumentsSearch":339,"../../utils/getSchemeFromUrl":349,"../../utils/isStandardSyntaxUrl":397,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],201:[(e,t,s)=>{const r=e("../../utils/functionArgumentsSearch"),i=e("../../utils/getSchemeFromUrl"),n=e("../../utils/isStandardSyntaxUrl"),o=e("../../utils/matchesStringOrRegExp"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="function-url-scheme-disallowed-list",f=l(p,{rejected:e=>`Unexpected URL scheme "${e}:"`}),m=e=>(t,s)=>{u(s,p,{actual:e,possible:[d,c]})&&t.walkDecls(t=>{r(t.toString().toLowerCase(),"url",(r,l)=>{const u=r.trim();if(!n(u))return;const c=u.replace(/^['"]+|['"]+$/g,""),d=i(c);null!==d&&o(d,e)&&a({message:f.rejected(d),node:t,index:l,endIndex:l+r.length,result:s,ruleName:p})})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/function-url-scheme-disallowed-list"},t.exports=m},{"../../utils/functionArgumentsSearch":339,"../../utils/getSchemeFromUrl":349,"../../utils/isStandardSyntaxUrl":397,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],202:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/isWhitespace"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),c=e("style-search"),d=e("../../utils/validateOptions"),p="function-whitespace-after",f=l(p,{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),m=new Set([")",",","}",":","/",void 0]),h=(e,t,s)=>(t,l)=>{function h(t,s,r,i){c({source:s,target:")",functionArguments:"only"},n=>{((t,s,r,i,n)=>{const u=t.charAt(s);if(u)if("always"===e){if(" "===u)return;if("\n"===u)return;if("\r\n"===t.slice(s,s+2))return;if(m.has(u))return;if(n)return void n(s);a({message:f.expected,node:r,index:i+s,result:l,ruleName:p})}else if("never"===e&&o(u)){if(n)return void n(s);a({message:f.rejected,node:r,index:i+s,result:l,ruleName:p})}})(s,n.startIndex+1,t,r,i)})}function g(t){let s,r="",i=0;if("always"===e)s=(e=>{r+=t.slice(i,e)+" ",i=e});else{if("never"!==e)throw new Error(`Unexpected option: "${e}"`);s=(e=>{let s=e+1;for(;s{const t=e.raws.params&&e.raws.params.raw||e.params,i=s.fix&&g(t);h(e,t,r(e),i?i.applyFix:void 0),i&&i.hasFixed&&(e.raws.params?e.raws.params.raw=i.fixed:e.params=i.fixed)}),t.walkDecls(e=>{const t=n(e),r=s.fix&&g(t);h(e,t,i(e),r?r.applyFix:void 0),r&&r.hasFixed&&u(e,r.fixed)}))};h.ruleName=p,h.messages=f,h.meta={url:"https://stylelint.io/user-guide/rules/list/function-whitespace-after"},t.exports=h},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isWhitespace":402,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"style-search":92}],203:[(e,t,s)=>{const r=e("../utils/declarationValueIndex"),i=e("../utils/getDeclarationValue"),n=e("../utils/isStandardSyntaxFunction"),o=e("../utils/report"),a=e("../utils/setDeclarationValue"),l=e("postcss-value-parser");t.exports=(e=>{e.root.walkDecls(t=>{const s=i(t);let u;const c=l(s);c.walk(s=>{if("function"!==s.type)return;if(!n(s))return;if("url"===s.value.toLowerCase())return;const i=s.nodes.map(e=>l.stringify(e)),a=(()=>{let e=s.before+i.join("")+s.after;return e.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,"")})(),c=(e,t)=>{let r=s.before+i.slice(0,t).join("")+e.before;return(r=r.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,"")).length},d=[];for(const[e,t]of s.nodes.entries()){if("div"!==t.type||","!==t.value)continue;const s=c(t,e);d.push({commaNode:t,checkIndex:s,nodeIndex:e})}for(const{commaNode:i,checkIndex:n,nodeIndex:l}of d)e.locationChecker({source:a,index:n,err(n){const a=r(t)+i.sourceIndex+i.before.length;e.fix&&e.fix(i,l,s.nodes)?u=!0:o({index:a,message:n,node:t,result:e.result,ruleName:e.checkedRuleName})}})}),u&&a(t,c.toString())})})},{"../utils/declarationValueIndex":333,"../utils/getDeclarationValue":341,"../utils/isStandardSyntaxFunction":390,"../utils/report":412,"../utils/setDeclarationValue":415,"postcss-value-parser":59}],204:[(e,t,s)=>{t.exports=(e=>{const{div:t,index:s,nodes:r,expectation:i,position:n,symb:o}=e;if(i.startsWith("always"))return t[n]=o,!0;if(i.startsWith("never")){t[n]="";for(let e=s+1;e{const r=e("postcss-value-parser"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getDeclarationValue"),o=e("../../utils/isStandardSyntaxValue"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/setDeclarationValue"),c=e("../../utils/validateOptions"),d="hue-degree-notation",p=l(d,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),f=["hsl","hsla","hwb"],m=["lch"],h=new Set([...f,...m]),g=(e,t,s)=>(t,l)=>{c(l,d,{actual:e,possible:["angle","number"]})&&t.walkDecls(t=>{let c=!1;const g=r(n(t));g.walk(n=>{if("function"!==n.type)return;if(!h.has(n.value.toLowerCase()))return;const u=(e=>{const t=e.nodes.filter(({type:e})=>"word"===e||"function"===e),s=e.value.toLowerCase();return f.includes(s)?t[0]:m.includes(s)?t[2]:void 0})(n);if(!u)return;const{value:g}=u;if(!o(g))return;if(!w(g)&&!b(g))return;if("angle"===e&&w(g))return;if("number"===e&&b(g))return;const y="angle"===e?`${g}deg`:(e=>{const t=r.unit(e);if(t)return t.number;throw new TypeError(`The "${e}" value must have a unit`)})(g),x=g;if(s.fix)return u.value=y,void(c=!0);const v=i(t);a({message:p.expected(x,y),node:t,index:v+u.sourceIndex,endIndex:v+u.sourceEndIndex,result:l,ruleName:d})}),c&&u(t,g.toString())})};function w(e){const t=r.unit(e);return t&&"deg"===t.unit.toLowerCase()}function b(e){const t=r.unit(e);return t&&""===t.unit}g.ruleName=d,g.messages=p,g.meta={url:"https://stylelint.io/user-guide/rules/list/hue-degree-notation"},t.exports=g},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/isStandardSyntaxValue":398,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"postcss-value-parser":59}],206:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/setAtRuleParams"),l=e("../../utils/getAtRuleParams"),u=e("../../utils/atRuleParamIndex"),c="import-notation",d=n(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),p=(e,t,s)=>(t,n)=>{function p(e,t,s,r){i({message:e,node:t,index:s,endIndex:r,result:n,ruleName:c})}o(n,c,{actual:e,possible:["string","url"]})&&t.walkAtRules(/^import$/i,t=>{const i=l(t),n=r(i);for(const i of n.nodes){const n=u(t),o=n+i.sourceEndIndex;if("string"===e&&"function"===i.type&&"url"===i.value.toLowerCase()){const e=r.stringify(i),l=r.stringify(i.nodes),u=i.nodes[0]&&"word"===i.nodes[0].type?`"${l}"`:l;if(s.fix){const e=t.params.slice(i.sourceEndIndex);return void a(t,`${u}${e}`)}return void p(d.expected(e,u),t,n,o)}if("url"===e){if("space"===i.type)return;if("word"===i.type||"string"===i.type){const e=`url(${r.stringify(i)})`;if(s.fix){const s=t.params.slice(i.sourceEndIndex);return void a(t,`${e}${s}`)}const l="word"===i.type?`"${i.value}"`:`${i.quote}${i.value}${i.quote}`;return void p(d.expected(l,e),t,n,o)}}}})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/import-notation"},t.exports=p},{"../../utils/atRuleParamIndex":326,"../../utils/getAtRuleParams":340,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setAtRuleParams":414,"../../utils/validateOptions":420,"postcss-value-parser":59}],207:[(e,t,s)=>{const r=e("../../utils/beforeBlockString"),i=e("../../utils/hasBlock"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("style-search"),u=e("../../utils/validateOptions"),{isAtRule:c,isDeclaration:d,isRoot:p,isRule:f}=e("../../utils/typeGuards"),{isBoolean:m,isNumber:h,isString:g,assertString:w}=e("../../utils/validateTypes"),b="indentation",y=a(b,{expected:e=>`Expected indentation of ${e}`}),x=(e,t={},s)=>(a,x)=>{if(!u(x,b,{actual:e,possible:[h,"tab"]},{actual:t,possible:{baseIndentLevel:[h,"auto"],except:["block","value","param"],ignore:["value","param","inside-parens"],indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[m]},optional:!0}))return;const O=h(e)?e:null,C=null==O?"\t":" ".repeat(O),M="tab"===e?"tab":"space",N=t.baseIndentLevel,E=t.indentClosingBrace,R=e=>{const t=null==O?e:e*O;return`${t} ${1===t?M:`${M}s`}`};function I(e,r,i){if(!e.includes("\n"))return;const a=[];let u=0;const p=n(t,"ignore","inside-parens");if(l({source:e,target:"\n",outsideParens:p},(n,l)=>{const c=/^[ \t]*\)/.test(e.slice(n.startIndex+1));if(p&&(c||n.insideParens))return;let d=r;if(!p&&n.insideParens){1===l&&(u-=1);let s=n.startIndex;switch("\r"===e[n.startIndex-1]&&s--,/\([ \t]*$/.test(e.slice(0,s))&&(u+=1),/\{[ \t]*$/.test(e.slice(0,s))&&(u+=1),/^[ \t]*\}/.test(e.slice(n.startIndex+1))&&(u-=1),d+=u,c&&(u-=1),t.indentInsideParens){case"twice":c&&!E||(d+=1);break;case"once-at-root-twice-in-block":if(i.parent===i.root()){c&&!E&&(d-=1);break}c&&!E||(d+=1);break;default:c&&!E&&(d-=1)}}const f=/^([ \t]*)\S/.exec(e.slice(n.startIndex+1));if(!f)return;const m=f[1]||"",h=C.repeat(d>0?d:0);m!==h&&(s.fix?a.unshift({expectedIndentation:h,currentIndentation:m,startIndex:n.startIndex}):o({message:y.expected(R(d)),node:i,index:n.startIndex+m.length+1,result:x,ruleName:b}))}),a.length){if(f(i))for(const e of a)i.selector=S(i.selector,e.currentIndentation,e.expectedIndentation,e.startIndex);if(d(i)){const e=i.prop,t=i.raws.between;if(!g(t))throw new TypeError("The `between` property must be a string");for(const s of a)s.startIndex{if(p(a))return;const l=function s(r,o=0){if(!r.parent)throw new Error("A parent node must be present");if(p(r.parent))return o+((e,t,s)=>{const r=v(e);if(!r)return 0;if(!e.source)throw new Error("The root node must have a source");const i=e.source,n=i.baseIndentLevel;if(h(n)&&Number.isSafeInteger(n))return n;const o=((e,t,s)=>{function r(e){const t=e.match(/\t/g),r=t?t.length:0,i=e.match(/ /g);return r+(i?Math.round(i.length/s()):0)}let i=0;if(h(t)&&Number.isSafeInteger(t))i=t;else{if(!e.source)throw new Error("The root node must have a source");let t=e.source.input.css;const s=(t=t.replace(/^[^\r\n]+/,t=>{const s=e.raws.codeBefore&&/(?:^|\n)([ \t]*)$/.exec(e.raws.codeBefore);return s?s[1]+t:""})).match(/^[ \t]*(?=\S)/gm);if(s)return Math.min(...s.map(e=>r(e)));i=1}const n=[],o=e.raws.codeBefore&&/(?:^|\n)([ \t]*)\S/m.exec(e.raws.codeBefore);if(o){let e=Number.MAX_SAFE_INTEGER,t=0;for(;++tr(e)))+i:i})(e,t,()=>((e,t)=>{if(!e.source)throw new Error("The document node must have a source");const s=e.source;let r=s.indentSize;if(h(r)&&Number.isSafeInteger(r))return r;const i=e.source.input.css.match(/^ *(?=\S)/gm);if(i){const e=new Map;let t=0,s=0;const n=r=>{if(r){if((t=Math.abs(r-s)||t)>1){const s=e.get(t);s?e.set(t,s+1):e.set(t,1)}}else t=0;s=r};for(const e of i)n(e.length);let o=0;for(const[t,s]of e.entries())s>o&&(o=s,r=t)}return r=Number(r)||i&&i[0]&&i[0].length||Number(t)||2,s.indentSize=r,r})(r,s));return i.baseIndentLevel=o,o})(r.parent,N,e);let a;return a=s(r.parent,o+1),n(t,"except","block")&&(f(r)||c(r))&&i(r)&&a--,a}(a),u=(a.raws.before||"").replace(/[*_]$/,""),m="string"==typeof a.raws.after?a.raws.after:"",S=a.parent;if(!S)throw new Error("A parent node must be present");const O=C.repeat(l),M="root"===S.type&&S.first===a,A=u.lastIndexOf("\n");(-1!==A||M&&(!v(S)||S.raws.codeBefore&&S.raws.codeBefore.endsWith("\n")))&&u.slice(A+1)!==O&&(s.fix?(M&&g(a.raws.before)&&(a.raws.before=a.raws.before.replace(/^[ \t]*(?=\S|$)/,O)),a.raws.before=k(a.raws.before,O)):o({message:y.expected(R(l)),node:a,result:x,ruleName:b}));const P=E?l+1:l,T=C.repeat(P);(f(a)||c(a))&&i(a)&&m&&m.includes("\n")&&m.slice(m.lastIndexOf("\n")+1)!==T&&(s.fix?a.raws.after=k(a.raws.after,T):o({message:y.expected(R(P)),node:a,index:a.toString().length-1,result:x,ruleName:b})),d(a)&&((e,s)=>{if(!e.value.includes("\n"))return;if(n(t,"ignore","value"))return;I(e.toString(),n(t,"except","value")?s:s+1,e)})(a,l),f(a)&&((e,t)=>{const s=e.selector;e.params&&(t+=1),I(s,t,e)})(a,l),c(a)&&((e,s)=>{if(n(t,"ignore","param"))return;const i=n(t,"except","param")||"nest"===e.name||"at-root"===e.name?s:s+1;I(r(e).trim(),i,e)})(a,l)})};function v(e){const t=e.document;if(t)return t;const s=e.root();return s&&s.document}function k(e,t){return g(e)?e.replace(/\n[ \t]*(?=\S|$)/g,`\n${t}`):e}function S(e,t,s,r){const i=r+1;return e.slice(0,i)+s+e.slice(i+t.length)}x.ruleName=b,x.messages=y,x.meta={url:"https://stylelint.io/user-guide/rules/list/indentation"},t.exports=x},{"../../utils/beforeBlockString":327,"../../utils/hasBlock":351,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"style-search":92}],208:[(e,t,s)=>{const r={"alpha-value-notation":e("./alpha-value-notation"),"at-rule-allowed-list":e("./at-rule-allowed-list"),"at-rule-disallowed-list":e("./at-rule-disallowed-list"),"at-rule-empty-line-before":e("./at-rule-empty-line-before"),"at-rule-name-case":e("./at-rule-name-case"),"at-rule-name-newline-after":e("./at-rule-name-newline-after"),"at-rule-semicolon-space-before":e("./at-rule-semicolon-space-before"),"at-rule-name-space-after":e("./at-rule-name-space-after"),"at-rule-no-unknown":e("./at-rule-no-unknown"),"at-rule-property-required-list":e("./at-rule-property-required-list"),"at-rule-semicolon-newline-after":e("./at-rule-semicolon-newline-after"),"block-closing-brace-empty-line-before":e("./block-closing-brace-empty-line-before"),"block-closing-brace-newline-after":e("./block-closing-brace-newline-after"),"block-closing-brace-newline-before":e("./block-closing-brace-newline-before"),"block-closing-brace-space-after":e("./block-closing-brace-space-after"),"block-closing-brace-space-before":e("./block-closing-brace-space-before"),"block-no-empty":e("./block-no-empty"),"block-opening-brace-newline-after":e("./block-opening-brace-newline-after"),"block-opening-brace-newline-before":e("./block-opening-brace-newline-before"),"block-opening-brace-space-after":e("./block-opening-brace-space-after"),"block-opening-brace-space-before":e("./block-opening-brace-space-before"),"color-function-notation":e("./color-function-notation"),"color-hex-alpha":e("./color-hex-alpha"),"color-hex-case":e("./color-hex-case"),"color-hex-length":e("./color-hex-length"),"color-named":e("./color-named"),"color-no-hex":e("./color-no-hex"),"color-no-invalid-hex":e("./color-no-invalid-hex"),"comment-empty-line-before":e("./comment-empty-line-before"),"comment-no-empty":e("./comment-no-empty"),"comment-pattern":e("./comment-pattern"),"comment-whitespace-inside":e("./comment-whitespace-inside"),"comment-word-disallowed-list":e("./comment-word-disallowed-list"),"custom-media-pattern":e("./custom-media-pattern"),"custom-property-empty-line-before":e("./custom-property-empty-line-before"),"custom-property-no-missing-var-function":e("./custom-property-no-missing-var-function"),"custom-property-pattern":e("./custom-property-pattern"),"declaration-bang-space-after":e("./declaration-bang-space-after"),"declaration-bang-space-before":e("./declaration-bang-space-before"),"declaration-block-no-duplicate-custom-properties":e("./declaration-block-no-duplicate-custom-properties"),"declaration-block-no-duplicate-properties":e("./declaration-block-no-duplicate-properties"),"declaration-block-no-redundant-longhand-properties":e("./declaration-block-no-redundant-longhand-properties"),"declaration-block-no-shorthand-property-overrides":e("./declaration-block-no-shorthand-property-overrides"),"declaration-block-semicolon-newline-after":e("./declaration-block-semicolon-newline-after"),"declaration-block-semicolon-newline-before":e("./declaration-block-semicolon-newline-before"),"declaration-block-semicolon-space-after":e("./declaration-block-semicolon-space-after"),"declaration-block-semicolon-space-before":e("./declaration-block-semicolon-space-before"),"declaration-block-single-line-max-declarations":e("./declaration-block-single-line-max-declarations"),"declaration-block-trailing-semicolon":e("./declaration-block-trailing-semicolon"),"declaration-colon-newline-after":e("./declaration-colon-newline-after"),"declaration-colon-space-after":e("./declaration-colon-space-after"),"declaration-colon-space-before":e("./declaration-colon-space-before"),"declaration-empty-line-before":e("./declaration-empty-line-before"),"declaration-no-important":e("./declaration-no-important"),"declaration-property-max-values":e("./declaration-property-max-values"),"declaration-property-unit-allowed-list":e("./declaration-property-unit-allowed-list"),"declaration-property-unit-disallowed-list":e("./declaration-property-unit-disallowed-list"),"declaration-property-value-allowed-list":e("./declaration-property-value-allowed-list"),"declaration-property-value-disallowed-list":e("./declaration-property-value-disallowed-list"),"font-family-no-missing-generic-family-keyword":e("./font-family-no-missing-generic-family-keyword"),"font-family-name-quotes":e("./font-family-name-quotes"),"font-family-no-duplicate-names":e("./font-family-no-duplicate-names"),"font-weight-notation":e("./font-weight-notation"),"function-allowed-list":e("./function-allowed-list"),"function-calc-no-unspaced-operator":e("./function-calc-no-unspaced-operator"),"function-comma-newline-after":e("./function-comma-newline-after"),"function-comma-newline-before":e("./function-comma-newline-before"),"function-comma-space-after":e("./function-comma-space-after"),"function-comma-space-before":e("./function-comma-space-before"),"function-disallowed-list":e("./function-disallowed-list"),"function-linear-gradient-no-nonstandard-direction":e("./function-linear-gradient-no-nonstandard-direction"),"function-max-empty-lines":e("./function-max-empty-lines"),"function-name-case":e("./function-name-case"),"function-no-unknown":e("./function-no-unknown"),"function-parentheses-newline-inside":e("./function-parentheses-newline-inside"),"function-parentheses-space-inside":e("./function-parentheses-space-inside"),"function-url-no-scheme-relative":e("./function-url-no-scheme-relative"),"function-url-quotes":e("./function-url-quotes"),"function-url-scheme-allowed-list":e("./function-url-scheme-allowed-list"),"function-url-scheme-disallowed-list":e("./function-url-scheme-disallowed-list"),"function-whitespace-after":e("./function-whitespace-after"),"hue-degree-notation":e("./hue-degree-notation"),"import-notation":e("./import-notation"),"keyframe-block-no-duplicate-selectors":e("./keyframe-block-no-duplicate-selectors"),"keyframe-declaration-no-important":e("./keyframe-declaration-no-important"),"keyframes-name-pattern":e("./keyframes-name-pattern"),"length-zero-no-unit":e("./length-zero-no-unit"),linebreaks:e("./linebreaks"),"max-empty-lines":e("./max-empty-lines"),"max-line-length":e("./max-line-length"),"max-nesting-depth":e("./max-nesting-depth"),"media-feature-colon-space-after":e("./media-feature-colon-space-after"),"media-feature-colon-space-before":e("./media-feature-colon-space-before"),"media-feature-name-allowed-list":e("./media-feature-name-allowed-list"),"media-feature-name-case":e("./media-feature-name-case"),"media-feature-name-disallowed-list":e("./media-feature-name-disallowed-list"),"media-feature-name-no-unknown":e("./media-feature-name-no-unknown"),"media-feature-name-value-allowed-list":e("./media-feature-name-value-allowed-list"),"media-feature-parentheses-space-inside":e("./media-feature-parentheses-space-inside"),"media-feature-range-operator-space-after":e("./media-feature-range-operator-space-after"),"media-feature-range-operator-space-before":e("./media-feature-range-operator-space-before"),"media-query-list-comma-newline-after":e("./media-query-list-comma-newline-after"),"media-query-list-comma-newline-before":e("./media-query-list-comma-newline-before"),"media-query-list-comma-space-after":e("./media-query-list-comma-space-after"),"media-query-list-comma-space-before":e("./media-query-list-comma-space-before"),"named-grid-areas-no-invalid":e("./named-grid-areas-no-invalid"),"no-descending-specificity":e("./no-descending-specificity"),"no-duplicate-at-import-rules":e("./no-duplicate-at-import-rules"),"no-duplicate-selectors":e("./no-duplicate-selectors"),"no-empty-source":e("./no-empty-source"),"no-empty-first-line":e("./no-empty-first-line"),"no-eol-whitespace":e("./no-eol-whitespace"),"no-extra-semicolons":e("./no-extra-semicolons"),"no-invalid-double-slash-comments":e("./no-invalid-double-slash-comments"),"no-invalid-position-at-import-rule":e("./no-invalid-position-at-import-rule"),"no-irregular-whitespace":e("./no-irregular-whitespace"),"no-missing-end-of-source-newline":e("./no-missing-end-of-source-newline"),"no-unknown-animations":e("./no-unknown-animations"),"number-leading-zero":e("./number-leading-zero"),"number-max-precision":e("./number-max-precision"),"number-no-trailing-zeros":e("./number-no-trailing-zeros"),"property-allowed-list":e("./property-allowed-list"),"property-case":e("./property-case"),"property-disallowed-list":e("./property-disallowed-list"),"property-no-unknown":e("./property-no-unknown"),"rule-empty-line-before":e("./rule-empty-line-before"),"rule-selector-property-disallowed-list":e("./rule-selector-property-disallowed-list"),"selector-attribute-brackets-space-inside":e("./selector-attribute-brackets-space-inside"),"selector-attribute-name-disallowed-list":e("./selector-attribute-name-disallowed-list"),"selector-attribute-operator-allowed-list":e("./selector-attribute-operator-allowed-list"),"selector-attribute-operator-disallowed-list":e("./selector-attribute-operator-disallowed-list"),"selector-attribute-operator-space-after":e("./selector-attribute-operator-space-after"),"selector-attribute-operator-space-before":e("./selector-attribute-operator-space-before"),"selector-attribute-quotes":e("./selector-attribute-quotes"),"selector-class-pattern":e("./selector-class-pattern"),"selector-combinator-allowed-list":e("./selector-combinator-allowed-list"),"selector-combinator-disallowed-list":e("./selector-combinator-disallowed-list"),"selector-combinator-space-after":e("./selector-combinator-space-after"),"selector-combinator-space-before":e("./selector-combinator-space-before"),"selector-descendant-combinator-no-non-space":e("./selector-descendant-combinator-no-non-space"),"selector-disallowed-list":e("./selector-disallowed-list"),"selector-id-pattern":e("./selector-id-pattern"),"selector-list-comma-newline-after":e("./selector-list-comma-newline-after"),"selector-list-comma-newline-before":e("./selector-list-comma-newline-before"),"selector-list-comma-space-after":e("./selector-list-comma-space-after"),"selector-list-comma-space-before":e("./selector-list-comma-space-before"),"selector-max-attribute":e("./selector-max-attribute"),"selector-max-class":e("./selector-max-class"),"selector-max-combinators":e("./selector-max-combinators"),"selector-max-compound-selectors":e("./selector-max-compound-selectors"),"selector-max-empty-lines":e("./selector-max-empty-lines"),"selector-max-id":e("./selector-max-id"),"selector-max-pseudo-class":e("./selector-max-pseudo-class"),"selector-max-specificity":e("./selector-max-specificity"),"selector-max-type":e("./selector-max-type"),"selector-max-universal":e("./selector-max-universal"),"selector-nested-pattern":e("./selector-nested-pattern"),"selector-no-qualifying-type":e("./selector-no-qualifying-type"),"selector-not-notation":e("./selector-not-notation"),"selector-pseudo-class-allowed-list":e("./selector-pseudo-class-allowed-list"),"selector-pseudo-class-case":e("./selector-pseudo-class-case"),"selector-pseudo-class-disallowed-list":e("./selector-pseudo-class-disallowed-list"),"selector-pseudo-class-no-unknown":e("./selector-pseudo-class-no-unknown"),"selector-pseudo-class-parentheses-space-inside":e("./selector-pseudo-class-parentheses-space-inside"),"selector-pseudo-element-allowed-list":e("./selector-pseudo-element-allowed-list"),"selector-pseudo-element-case":e("./selector-pseudo-element-case"),"selector-pseudo-element-colon-notation":e("./selector-pseudo-element-colon-notation"),"selector-pseudo-element-disallowed-list":e("./selector-pseudo-element-disallowed-list"),"selector-pseudo-element-no-unknown":e("./selector-pseudo-element-no-unknown"),"selector-type-case":e("./selector-type-case"),"selector-type-no-unknown":e("./selector-type-no-unknown"),"shorthand-property-no-redundant-values":e("./shorthand-property-no-redundant-values"),"string-no-newline":e("./string-no-newline"),"string-quotes":e("./string-quotes"),"time-min-milliseconds":e("./time-min-milliseconds"),"unicode-bom":e("./unicode-bom"),"unit-allowed-list":e("./unit-allowed-list"),"unit-case":e("./unit-case"),"unit-disallowed-list":e("./unit-disallowed-list"),"unit-no-unknown":e("./unit-no-unknown"),"value-keyword-case":e("./value-keyword-case"),"value-list-comma-newline-after":e("./value-list-comma-newline-after"),"value-list-comma-newline-before":e("./value-list-comma-newline-before"),"value-list-comma-space-after":e("./value-list-comma-space-after"),"value-list-comma-space-before":e("./value-list-comma-space-before"),"value-list-max-empty-lines":e("./value-list-max-empty-lines"),indentation:e("./indentation")};t.exports=r},{"./alpha-value-notation":117,"./at-rule-allowed-list":118,"./at-rule-disallowed-list":119,"./at-rule-empty-line-before":120,"./at-rule-name-case":121,"./at-rule-name-newline-after":122,"./at-rule-name-space-after":123,"./at-rule-no-unknown":124,"./at-rule-property-required-list":125,"./at-rule-semicolon-newline-after":126,"./at-rule-semicolon-space-before":127,"./block-closing-brace-empty-line-before":129,"./block-closing-brace-newline-after":130,"./block-closing-brace-newline-before":131,"./block-closing-brace-space-after":132,"./block-closing-brace-space-before":133,"./block-no-empty":134,"./block-opening-brace-newline-after":135,"./block-opening-brace-newline-before":136,"./block-opening-brace-space-after":137,"./block-opening-brace-space-before":138,"./color-function-notation":139,"./color-hex-alpha":140,"./color-hex-case":141,"./color-hex-length":142,"./color-named":144,"./color-no-hex":145,"./color-no-invalid-hex":146,"./comment-empty-line-before":147,"./comment-no-empty":148,"./comment-pattern":149,"./comment-whitespace-inside":150,"./comment-word-disallowed-list":151,"./custom-media-pattern":152,"./custom-property-empty-line-before":153,"./custom-property-no-missing-var-function":154,"./custom-property-pattern":155,"./declaration-bang-space-after":156,"./declaration-bang-space-before":157,"./declaration-block-no-duplicate-custom-properties":158,"./declaration-block-no-duplicate-properties":159,"./declaration-block-no-redundant-longhand-properties":160,"./declaration-block-no-shorthand-property-overrides":161,"./declaration-block-semicolon-newline-after":162,"./declaration-block-semicolon-newline-before":163,"./declaration-block-semicolon-space-after":164,"./declaration-block-semicolon-space-before":165,"./declaration-block-single-line-max-declarations":166,"./declaration-block-trailing-semicolon":167,"./declaration-colon-newline-after":168,"./declaration-colon-space-after":169,"./declaration-colon-space-before":170,"./declaration-empty-line-before":171,"./declaration-no-important":172,"./declaration-property-max-values":173,"./declaration-property-unit-allowed-list":174,"./declaration-property-unit-disallowed-list":175,"./declaration-property-value-allowed-list":176,"./declaration-property-value-disallowed-list":177,"./font-family-name-quotes":181,"./font-family-no-duplicate-names":182,"./font-family-no-missing-generic-family-keyword":183,"./font-weight-notation":184,"./function-allowed-list":185,"./function-calc-no-unspaced-operator":186,"./function-comma-newline-after":187,"./function-comma-newline-before":188,"./function-comma-space-after":189,"./function-comma-space-before":190,"./function-disallowed-list":191,"./function-linear-gradient-no-nonstandard-direction":192,"./function-max-empty-lines":193,"./function-name-case":194,"./function-no-unknown":195,"./function-parentheses-newline-inside":196,"./function-parentheses-space-inside":197,"./function-url-no-scheme-relative":198,"./function-url-quotes":199,"./function-url-scheme-allowed-list":200,"./function-url-scheme-disallowed-list":201,"./function-whitespace-after":202,"./hue-degree-notation":205,"./import-notation":206,"./indentation":207,"./keyframe-block-no-duplicate-selectors":209,"./keyframe-declaration-no-important":210,"./keyframes-name-pattern":211,"./length-zero-no-unit":212,"./linebreaks":213,"./max-empty-lines":214,"./max-line-length":215,"./max-nesting-depth":216,"./media-feature-colon-space-after":217,"./media-feature-colon-space-before":218,"./media-feature-name-allowed-list":219,"./media-feature-name-case":220,"./media-feature-name-disallowed-list":221,"./media-feature-name-no-unknown":222,"./media-feature-name-value-allowed-list":223,"./media-feature-parentheses-space-inside":224,"./media-feature-range-operator-space-after":225,"./media-feature-range-operator-space-before":226,"./media-query-list-comma-newline-after":227,"./media-query-list-comma-newline-before":228,"./media-query-list-comma-space-after":229,"./media-query-list-comma-space-before":230,"./named-grid-areas-no-invalid":233,"./no-descending-specificity":236,"./no-duplicate-at-import-rules":237,"./no-duplicate-selectors":238,"./no-empty-first-line":239,"./no-empty-source":240,"./no-eol-whitespace":241,"./no-extra-semicolons":242,"./no-invalid-double-slash-comments":243,"./no-invalid-position-at-import-rule":244,"./no-irregular-whitespace":245,"./no-missing-end-of-source-newline":246,"./no-unknown-animations":247,"./number-leading-zero":248,"./number-max-precision":249,"./number-no-trailing-zeros":250,"./property-allowed-list":251,"./property-case":252,"./property-disallowed-list":253,"./property-no-unknown":254,"./rule-empty-line-before":256,"./rule-selector-property-disallowed-list":257,"./selector-attribute-brackets-space-inside":258,"./selector-attribute-name-disallowed-list":259,"./selector-attribute-operator-allowed-list":260,"./selector-attribute-operator-disallowed-list":261,"./selector-attribute-operator-space-after":262,"./selector-attribute-operator-space-before":263,"./selector-attribute-quotes":264,"./selector-class-pattern":265,"./selector-combinator-allowed-list":266,"./selector-combinator-disallowed-list":267,"./selector-combinator-space-after":268,"./selector-combinator-space-before":269,"./selector-descendant-combinator-no-non-space":270,"./selector-disallowed-list":271,"./selector-id-pattern":272,"./selector-list-comma-newline-after":273,"./selector-list-comma-newline-before":274,"./selector-list-comma-space-after":275,"./selector-list-comma-space-before":276,"./selector-max-attribute":277,"./selector-max-class":278,"./selector-max-combinators":279,"./selector-max-compound-selectors":280,"./selector-max-empty-lines":281,"./selector-max-id":282,"./selector-max-pseudo-class":283,"./selector-max-specificity":284,"./selector-max-type":285,"./selector-max-universal":286,"./selector-nested-pattern":287,"./selector-no-qualifying-type":288,"./selector-not-notation":289,"./selector-pseudo-class-allowed-list":290,"./selector-pseudo-class-case":291,"./selector-pseudo-class-disallowed-list":292,"./selector-pseudo-class-no-unknown":293,"./selector-pseudo-class-parentheses-space-inside":294,"./selector-pseudo-element-allowed-list":295,"./selector-pseudo-element-case":296,"./selector-pseudo-element-colon-notation":297,"./selector-pseudo-element-disallowed-list":298,"./selector-pseudo-element-no-unknown":299,"./selector-type-case":300,"./selector-type-no-unknown":301,"./shorthand-property-no-redundant-values":305,"./string-no-newline":306,"./string-quotes":307,"./time-min-milliseconds":308,"./unicode-bom":309,"./unit-allowed-list":310,"./unit-case":311,"./unit-disallowed-list":312,"./unit-no-unknown":313,"./value-keyword-case":314,"./value-list-comma-newline-after":315,"./value-list-comma-newline-before":316,"./value-list-comma-space-after":317,"./value-list-comma-space-before":318,"./value-list-max-empty-lines":319}],209:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxSelector"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a="keyframe-block-no-duplicate-selectors",l=n(a,{rejected:e=>`Unexpected duplicate "${e}"`}),u=e=>(t,s)=>{o(s,a,{actual:e})&&t.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,e=>{const t=new Set;e.walkRules(e=>{e.selectors.forEach(n=>{if(!r(n))return;const o=n.toLowerCase();t.has(o)?i({message:l.rejected(n),node:e,result:s,ruleName:a,word:n}):t.add(o)})})})};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/keyframe-block-no-duplicate-selectors"},t.exports=u},{"../../utils/isStandardSyntaxSelector":395,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],210:[(e,t,s)=>{const r=e("../../utils/getImportantPosition"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{assert:a}=e("../../utils/validateTypes"),l="keyframe-declaration-no-important",u=n(l,{rejected:"Unexpected !important"}),c=e=>(t,s)=>{o(s,l,{actual:e})&&t.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,e=>{e.walkDecls(e=>{if(!e.important)return;const t=r(e.toString());a(t),i({message:u.rejected,node:e,index:t.index,endIndex:t.endIndex,result:s,ruleName:l})})})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important"},t.exports=c},{"../../utils/getImportantPosition":344,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],211:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{isRegExp:a,isString:l}=e("../../utils/validateTypes"),u="keyframes-name-pattern",c=n(u,{expected:(e,t)=>`Expected keyframe name "${e}" to match pattern "${t}"`}),d=e=>(t,s)=>{if(!o(s,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkAtRules(/keyframes/i,t=>{const o=t.params;if(n.test(o))return;const a=r(t),l=a+o.length;i({index:a,endIndex:l,message:c.expected(o,e),node:t,ruleName:u,result:s})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/keyframes-name-pattern"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],212:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/getAtRuleParams"),a=e("../../utils/getDeclarationValue"),l=e("../../utils/isCustomProperty"),u=e("../../utils/isMathFunction"),c=e("../../utils/isStandardSyntaxAtRule"),d=e("../../reference/keywordSets"),p=e("../../utils/optionsMatches"),f=e("../../utils/report"),m=e("../../utils/ruleMessages"),h=e("../../utils/setAtRuleParams"),g=e("../../utils/setDeclarationValue"),w=e("../../utils/validateOptions"),{isRegExp:b,isString:y}=e("../../utils/validateTypes"),x="length-zero-no-unit",v=m(x,{rejected:"Unexpected unit"}),k=(e,t,s)=>(m,k)=>{if(!w(k,x,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[y,b]},optional:!0}))return;let S;function O(e,i,n){const{value:o,sourceIndex:a}=n;if(u(n))return!1;if((({type:e})=>"function"===e)(n)&&p(t,"ignoreFunctions",o))return!1;if(!(({type:e})=>"word"===e)(n))return;const l=r.unit(o);if(!1===l)return;const{number:c,unit:m}=l;if(""===m)return;if(h=m,!d.lengthUnits.has(h.toLowerCase()))return;var h,g;if("fr"===m.toLowerCase())return;if(g=c,0!==Number.parseFloat(g))return;if(s.fix){let e=c;return e.startsWith(".")&&(e=c.slice(1)),n.value=e,void(S=!0)}const w=i+a+c.length,b=w+m.length;f({index:w,endIndex:b,message:v.rejected,node:e,result:k,ruleName:x})}m.walkAtRules(e=>{if(!c(e))return;S=!1;const t=i(e),s=r(o(e));s.walk(s=>O(e,t,s)),S&&h(e,s.toString())}),m.walkDecls(e=>{S=!1;const{prop:s}=e;if("line-height"===s.toLowerCase())return;if("flex"===s.toLowerCase())return;if(p(t,"ignore","custom-properties")&&l(s))return;const i=n(e),o=r(a(e));o.walk((t,s,r)=>{if(!(({prop:e},t,i)=>{const n=r[s-1];return"font"===e.toLowerCase()&&n&&"div"===n.type&&"/"===n.value})(e))return O(e,i,t)}),S&&g(e,o.toString())})};k.ruleName=x,k.messages=v,k.meta={url:"https://stylelint.io/user-guide/rules/list/length-zero-no-unit"},t.exports=k},{"../../reference/keywordSets":110,"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getAtRuleParams":340,"../../utils/getDeclarationValue":341,"../../utils/isCustomProperty":370,"../../utils/isMathFunction":376,"../../utils/isStandardSyntaxAtRule":385,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setAtRuleParams":414,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],213:[(e,t,s)=>{const r=e("postcss"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a="linebreaks",l=n(a,{expected:e=>`Expected linebreak to be ${e}`}),u=(e,t,s)=>(t,n)=>{if(!o(n,a,{actual:e,possible:["unix","windows"]}))return;const u="windows"===e;if(s.fix)t.walk(e=>{"selector"in e&&(e.selector=d(e.selector)),"value"in e&&(e.value=d(e.value)),"text"in e&&(e.text=d(e.text)),e.raws.before&&(e.raws.before=d(e.raws.before)),"string"==typeof e.raws.after&&(e.raws.after=d(e.raws.after))}),"string"==typeof t.raws.after&&(t.raws.after=d(t.raws.after));else{if(null==t.source)throw new Error("The root node must have a source");const e=t.source.input.css.split("\n");for(let[t,s]of e.entries())t{const r=e("../../utils/optionsMatches"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("style-search"),a=e("../../utils/validateOptions"),{isNumber:l}=e("../../utils/validateTypes"),u="max-empty-lines",c=n(u,{expected:e=>`Expected no more than ${e} empty ${1===e?"line":"lines"}`}),d=(e,t,s)=>{let n=0,d=-1;return(p,f)=>{if(!a(f,u,{actual:e,possible:l},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;const m=r(t,"ignore","comments"),h=w.bind(null,e);if(s.fix){p.walk(e=>{"comment"!==e.type||m||(e.raws.left=h(e.raws.left),e.raws.right=h(e.raws.right)),e.raws.before&&(e.raws.before=h(e.raws.before))});const t=p.first&&p.first.raws.before,s=p.raws.after;return void("Document"!==(p.document&&p.document.constructor.name)?(t&&(p.first.raws.before=h(t,!0)),s&&(p.raws.after=w(0===e?1:e,s,!0))):s&&(p.raws.after=w(0===e?1:e,s)))}n=0,d=-1;const g=p.toString();function w(e,t,s=!1){const r=s?e:e+1;if(0===r||"string"!=typeof t)return"";const i="\n".repeat(r),n="\r\n".repeat(r);return/(?:\r\n)+/.test(t)?t.replace(/(\r\n)+/g,e=>e.length/2>r?n:e):t.replace(/(\n)+/g,e=>e.length>r?i:e)}o({source:g,target:/\r\n/.test(g)?"\r\n":"\n",comments:m?"skip":"check"},t=>{((t,s,r,o)=>{const a=r===t.length;let l=!1;s&&d!==s?n=0:n++,d=r,n>e&&(l=!0),(a||l)&&(l&&i({message:c.expected(e),node:o,index:s,result:f,ruleName:u}),a&&e&&++n>e&&((e,t)=>{if(!(e&&"Document"===e.constructor.name&&"type"in e))return!0;let s;if(t===e.last)s=e.raws&&e.raws.codeAfter;else{const r=e.index(t),i=e.nodes[r+1];s=i&&i.raws&&i.raws.codeBefore}return!String(s).trim()})(f.root,o)&&i({message:c.expected(e),node:o,index:r,result:f,ruleName:u}))})(g,t.startIndex,t.endIndex,p)})}};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/max-empty-lines"},t.exports=d},{"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"style-search":92}],215:[(e,t,s)=>{const r=e("execall"),i=e("../../utils/optionsMatches"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("style-search"),l=e("../../utils/validateOptions"),{isNumber:u,isRegExp:c,isString:d,assert:p}=e("../../utils/validateTypes"),f="max-line-length",m=[/url\(\s*(\S.*\S)\s*\)/gi,/@import\s+(['"].*['"])/gi],h=o(f,{expected:e=>`Expected line length to be no more than ${e} ${1===e?"character":"characters"}`}),g=(e,t,s)=>(o,g)=>{if(!l(g,f,{actual:e,possible:u},{actual:t,possible:{ignore:["non-comments","comments"],ignorePattern:[d,c]},optional:!0}))return;if(null==o.source)throw new Error("The root node must have a source");const w=i(t,"ignore","non-comments"),b=i(t,"ignore","comments"),y=s.fix?o.toString():o.source.input.css;let x=[],v=0;for(const e of m)for(const t of r(e,y)){const e=t.subMatches[0]||"",s=t.index+t.match.indexOf(e);x.push([s,s+e.length])}function k(t){n({index:t,result:g,ruleName:f,message:h.expected(e),node:o})}function S(s){let r=y.indexOf("\n",s.endIndex);"\r"===y[r-1]&&(r-=1),-1===r&&(r=y.length);const n=r-s.endIndex,o=x[v]?((e,t)=>{const s=x[v];p(s);const[r,i]=s;if(te[0]-t[0]),S({endIndex:0}),a({source:y,target:["\n"],comments:"check"},e=>S(e))};g.ruleName=f,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/max-line-length"},t.exports=g},{"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,execall:11,"style-search":92}],216:[(e,t,s)=>{const r=e("../../utils/hasBlock"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/optionsMatches"),o=e("postcss-selector-parser"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),{isAtRule:c,isDeclaration:d,isRoot:p,isRule:f}=e("../../utils/typeGuards"),{isNumber:m,isRegExp:h,isString:g}=e("../../utils/validateTypes"),w="max-nesting-depth",b=l(w,{expected:e=>`Expected nesting depth to be no more than ${e}`}),y=(e,t)=>{const s=e=>c(e)&&n(t,"ignoreAtRules",e.name);return(l,y)=>{function v(l){s(l)||r(l)&&(f(l)&&!i(l)||function e(r,i){const a=r.parent;if(null==a)throw new Error("The parent node must exist");return s(a)?0:p(a)||c(a)&&a.parent&&p(a.parent)?i:n(t,"ignore","blockless-at-rules")&&c(r)&&r.every(e=>!d(e))||n(t,"ignore","pseudo-classes")&&f(r)&&(u=r.selector,o().processSync(u,{lossless:!1}).split(",").every(e=>x(e)))||f(r)&&(l=r.selectors,t&&t.ignorePseudoClasses&&l.every(e=>{const s=x(e);return!!s&&n(t,"ignorePseudoClasses",s)}))?e(a,i):e(a,i+1);var l,u}(l,0)>e&&a({ruleName:w,result:y,node:l,message:b.expected(e)}))}u(y,w,{actual:e,possible:[m]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[g,h],ignorePseudoClasses:[g,h]}})&&(l.walkRules(v),l.walkAtRules(v))}};function x(e){return e.startsWith("&:")&&":"!==e[2]?e.slice(2):void 0}y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/max-nesting-depth"},t.exports=y},{"../../utils/hasBlock":351,"../../utils/isStandardSyntaxRule":394,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-selector-parser":29}],217:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../mediaFeatureColonSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="media-feature-colon-space-after",u=n(l,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{if(!o(a,l,{actual:e,possible:["always","never"]}))return;let u;if(i({root:t,result:a,locationChecker:n.after,checkedRuleName:l,fix:s.fix?(e,t)=>{const s=t-r(e),i=(u=u||new Map).get(e)||[];return i.push(s),u.set(e,i),!0}:null}),u)for(const[t,s]of u.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of s.sort((e,t)=>t-e)){const s=r.slice(0,t+1),i=r.slice(t+1);"always"===e?r=s+i.replace(/^\s*/," "):"never"===e&&(r=s+i.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=r:t.params=r}}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaFeatureColonSpaceChecker":231}],218:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../mediaFeatureColonSpaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="media-feature-colon-space-before",u=n(l,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{if(!o(a,l,{actual:e,possible:["always","never"]}))return;let u;if(i({root:t,result:a,locationChecker:n.before,checkedRuleName:l,fix:s.fix?(e,t)=>{const s=t-r(e),i=(u=u||new Map).get(e)||[];return i.push(s),u.set(e,i),!0}:null}),u)for(const[t,s]of u.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of s.sort((e,t)=>t-e)){const s=r.slice(0,t),i=r.slice(t);"always"===e?r=s.replace(/\s*$/," ")+i:"never"===e&&(r=s.replace(/\s*$/,"")+i)}t.raws.params?t.raws.params.raw=r:t.params=r}}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaFeatureColonSpaceChecker":231}],219:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/isCustomMediaQuery"),n=e("../../utils/isRangeContextMediaFeature"),o=e("../../utils/isStandardSyntaxMediaFeatureName"),a=e("../../utils/matchesStringOrRegExp"),l=e("postcss-media-query-parser").default,u=e("../rangeContextNodeParser"),c=e("../../utils/report"),d=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isRegExp:f,isString:m}=e("../../utils/validateTypes"),h="media-feature-name-allowed-list",g=d(h,{rejected:e=>`Unexpected media feature name "${e}"`}),w=e=>(t,s)=>{p(s,h,{actual:e,possible:[m,f]})&&t.walkAtRules(/^media$/i,t=>{l(t.params).walk(/^media-feature$/i,l=>{const d=l.parent;let p,f;if(n(d.value)){const e=u(l);p=e.name.value,f=e.name.sourceIndex}else p=l.value,f=l.sourceIndex;if(!o(p)||i(p))return;if(a(p,e))return;const m=r(t)+f,w=m+p.length;c({index:m,endIndex:w,message:g.rejected(p),node:t,ruleName:h,result:s})})})};w.primaryOptionArray=!0,w.ruleName=h,w.messages=g,w.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-name-allowed-list"},t.exports=w},{"../../utils/atRuleParamIndex":326,"../../utils/isCustomMediaQuery":369,"../../utils/isRangeContextMediaFeature":381,"../../utils/isStandardSyntaxMediaFeatureName":392,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../rangeContextNodeParser":255,"postcss-media-query-parser":24}],220:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/isCustomMediaQuery"),n=e("../../utils/isRangeContextMediaFeature"),o=e("../../utils/isStandardSyntaxMediaFeatureName"),a=e("postcss-media-query-parser").default,l=e("../rangeContextNodeParser"),u=e("../../utils/report"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),p="media-feature-name-case",f=c(p,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m=(e,t,s)=>(t,c)=>{d(c,p,{actual:e,possible:["lower","upper"]})&&t.walkAtRules(/^media$/i,t=>{let d=t.raws.params&&t.raws.params.raw;const m=d||t.params;a(m).walk(/^media-feature$/i,a=>{const m=a.parent;let h,g;if(n(m.value)){const e=l(a);h=e.name.value,g=e.name.sourceIndex}else h=a.value,g=a.sourceIndex;if(!o(h)||i(h))return;const w="lower"===e?h.toLowerCase():h.toUpperCase();if(h!==w)if(s.fix)if(d){if(d=d.slice(0,g)+w+d.slice(g+w.length),null==t.raws.params)throw new Error("The `AtRuleRaws` node must have a `params` property");t.raws.params.raw=d}else t.params=t.params.slice(0,g)+w+t.params.slice(g+w.length);else u({index:r(t)+g,message:f.expected(h,w),node:t,ruleName:p,result:c})})})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-name-case"},t.exports=m},{"../../utils/atRuleParamIndex":326,"../../utils/isCustomMediaQuery":369,"../../utils/isRangeContextMediaFeature":381,"../../utils/isStandardSyntaxMediaFeatureName":392,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../rangeContextNodeParser":255,"postcss-media-query-parser":24}],221:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/isCustomMediaQuery"),n=e("../../utils/isRangeContextMediaFeature"),o=e("../../utils/isStandardSyntaxMediaFeatureName"),a=e("../../utils/matchesStringOrRegExp"),l=e("postcss-media-query-parser").default,u=e("../rangeContextNodeParser"),c=e("../../utils/report"),d=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isRegExp:f,isString:m}=e("../../utils/validateTypes"),h="media-feature-name-disallowed-list",g=d(h,{rejected:e=>`Unexpected media feature name "${e}"`}),w=e=>(t,s)=>{p(s,h,{actual:e,possible:[m,f]})&&t.walkAtRules(/^media$/i,t=>{l(t.params).walk(/^media-feature$/i,l=>{const d=l.parent;let p,f;if(n(d.value)){const e=u(l);p=e.name.value,f=e.name.sourceIndex}else p=l.value,f=l.sourceIndex;if(!o(p)||i(p))return;if(!a(p,e))return;const m=r(t)+f,w=m+p.length;c({index:m,endIndex:w,message:g.rejected(p),node:t,ruleName:h,result:s})})})};w.primaryOptionArray=!0,w.ruleName=h,w.messages=g,w.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-name-disallowed-list"},t.exports=w},{"../../utils/atRuleParamIndex":326,"../../utils/isCustomMediaQuery":369,"../../utils/isRangeContextMediaFeature":381,"../../utils/isStandardSyntaxMediaFeatureName":392,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../rangeContextNodeParser":255,"postcss-media-query-parser":24}],222:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/isCustomMediaQuery"),n=e("../../utils/isRangeContextMediaFeature"),o=e("../../utils/isStandardSyntaxMediaFeatureName"),a=e("../../reference/keywordSets"),l=e("postcss-media-query-parser").default,u=e("../../utils/optionsMatches"),c=e("../rangeContextNodeParser"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),m=e("../../utils/vendor"),{isRegExp:h,isString:g}=e("../../utils/validateTypes"),w="media-feature-name-no-unknown",b=p(w,{rejected:e=>`Unexpected unknown media feature name "${e}"`}),y=(e,t)=>(s,p)=>{f(p,w,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[g,h]},optional:!0})&&s.walkAtRules(/^media$/i,e=>{l(e.params).walk(/^media-feature$/i,s=>{const l=s.parent;let f,h;if(n(l.value)){const e=c(s);f=e.name.value,h=e.name.sourceIndex}else f=s.value,h=s.sourceIndex;if(!o(f)||i(f))return;if(u(t,"ignoreMediaFeatureNames",f))return;if(m.prefix(f)||a.mediaFeatureNames.has(f.toLowerCase()))return;const g=r(e)+h,y=g+f.length;d({index:g,endIndex:y,message:b.rejected(f),node:e,ruleName:w,result:p})})})};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown"},t.exports=y},{"../../reference/keywordSets":110,"../../utils/atRuleParamIndex":326,"../../utils/isCustomMediaQuery":369,"../../utils/isRangeContextMediaFeature":381,"../../utils/isStandardSyntaxMediaFeatureName":392,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"../rangeContextNodeParser":255,"postcss-media-query-parser":24}],223:[(e,t,s)=>{const r=e("postcss-media-query-parser").default,i=e("../../utils/atRuleParamIndex"),n=e("../../utils/isRangeContextMediaFeature"),o=e("../../utils/matchesStringOrRegExp"),a=e("../../utils/optionsMatches"),l=e("../rangeContextNodeParser"),u=e("../../utils/report"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateObjectWithArrayProps"),p=e("../../utils/validateOptions"),{isString:f,isRegExp:m}=e("../../utils/validateTypes"),h=e("../../utils/vendor"),g="media-feature-name-value-allowed-list",w=c(g,{rejected:(e,t)=>`Unexpected value "${t}" for name "${e}"`}),b=e=>(t,s)=>{p(s,g,{actual:e,possible:[d(f,m)]})&&t.walkAtRules(/^media$/i,t=>{r(t.params).walk(/^media-feature-expression$/i,r=>{if(!r.nodes)return;const c=n(r.parent.value);if(!r.value.includes(":")&&!c)return;const d=r.nodes.find(e=>"media-feature"===e.type);if(null==d)throw new Error("A `media-feature` node must be present");let p,f;if(c){const e=l(d);p=e.name.value,f=e.values}else{p=d.value;const e=r.nodes.find(e=>"value"===e.type);if(null==e)throw new Error("A `value` node must be present");f=[e]}for(const r of f){const n=r.value,l=h.unprefixed(p),c=Object.keys(e).find(e=>o(l,e));if(null==c)return;if(a(e,c,n))return;const d=i(t)+r.sourceIndex,f=d+n.length;u({index:d,endIndex:f,message:w.rejected(p,n),node:t,ruleName:g,result:s})}})})};b.ruleName=g,b.messages=w,b.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-name-value-allowed-list"},t.exports=b},{"../../utils/atRuleParamIndex":326,"../../utils/isRangeContextMediaFeature":381,"../../utils/matchesStringOrRegExp":403,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"../rangeContextNodeParser":255,"postcss-media-query-parser":24}],224:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("postcss-value-parser"),l="media-feature-parentheses-space-inside",u=n(l,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),c=(e,t,s)=>(t,n)=>{o(n,l,{actual:e,possible:["always","never"]})&&t.walkAtRules(/^media$/i,t=>{const o=t.raws.params&&t.raws.params.raw||t.params,c=r(t),d=[],p=a(o).walk(t=>{if("function"===t.type){const r=a.stringify(t).length;"never"===e?(/[ \t]/.test(t.before)&&(s.fix&&(t.before=""),d.push({message:u.rejectedOpening,index:t.sourceIndex+1+c})),/[ \t]/.test(t.after)&&(s.fix&&(t.after=""),d.push({message:u.rejectedClosing,index:t.sourceIndex-2+r+c}))):"always"===e&&(""===t.before&&(s.fix&&(t.before=" "),d.push({message:u.expectedOpening,index:t.sourceIndex+1+c})),""===t.after&&(s.fix&&(t.after=" "),d.push({message:u.expectedClosing,index:t.sourceIndex-2+r+c})))}});if(d.length){if(s.fix)return void(t.params=p.toString());for(const e of d)i({message:e.message,node:t,index:e.index,result:n,ruleName:l})}})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],225:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../findMediaOperator"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/whitespaceChecker"),u="media-feature-range-operator-space-after",c=o(u,{expectedAfter:()=>"Expected single space after range operator",rejectedAfter:()=>"Unexpected whitespace after range operator"}),d=(e,t,s)=>{const o=l("space",e,c);return(t,l)=>{a(l,u,{actual:e,possible:["always","never"]})&&t.walkAtRules(/^media$/i,t=>{const a=[],c=s.fix?e=>a.push(e):null;if(i(t,(e,t,s)=>{((e,t,s,i)=>{const a=e.startIndex+e.target.length-1;o.after({source:t,index:a,err(e){i?i(a):n({message:e,node:s,index:a+r(s)+1,result:l,ruleName:u})}})})(e,t,s,c)}),a.length){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of a.sort((e,t)=>t-e)){const r=s.slice(0,t+1),i=s.slice(t+1);"always"===e?s=r+i.replace(/^\s*/," "):"never"===e&&(s=r+i.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=s:t.params=s}})}};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../findMediaOperator":180}],226:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../findMediaOperator"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/whitespaceChecker"),u="media-feature-range-operator-space-before",c=o(u,{expectedBefore:()=>"Expected single space before range operator",rejectedBefore:()=>"Unexpected whitespace before range operator"}),d=(e,t,s)=>{const o=l("space",e,c);return(t,l)=>{a(l,u,{actual:e,possible:["always","never"]})&&t.walkAtRules(/^media$/i,t=>{const a=[],c=s.fix?e=>a.push(e):null;if(i(t,(e,t,s)=>{p=e,f=t,m=s,h=c,o.before({source:f,index:p.startIndex,err(e){h?h(p.startIndex):n({message:e,node:m,index:p.startIndex-1+r(m),result:l,ruleName:u})}})}),a.length){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of a.sort((e,t)=>t-e)){const r=s.slice(0,t),i=s.slice(t);"always"===e?s=r.replace(/\s*$/," ")+i:"never"===e&&(s=r.replace(/\s*$/,"")+i)}t.raws.params?t.raws.params.raw=s:t.params=s}})}};var p,f,m,h;d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../findMediaOperator":180}],227:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../mediaQueryListCommaWhitespaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="media-query-list-comma-newline-after",u=n(l,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),c=(e,t,s)=>{const n=a("newline",e,u);return(t,a)=>{if(!o(a,l,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let u;if(i({root:t,result:a,locationChecker:n.afterOneOnly,checkedRuleName:l,allowTrailingComments:e.startsWith("always"),fix:s.fix?(e,t)=>{const s=t-r(e),i=(u=u||new Map).get(e)||[];return i.push(s),u.set(e,i),!0}:null}),u)for(const[t,r]of u.entries()){let i=t.raws.params?t.raws.params.raw:t.params;for(const t of r.sort((e,t)=>t-e)){const r=i.slice(0,t+1),n=i.slice(t+1);e.startsWith("always")?i=/^\s*\n/.test(n)?r+n.replace(/^[^\S\r\n]*/,""):r+s.newline+n:e.startsWith("never")&&(i=r+n.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=i:t.params=i}}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaQueryListCommaWhitespaceChecker":232}],228:[(e,t,s)=>{const r=e("../mediaQueryListCommaWhitespaceChecker"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="media-query-list-comma-newline-before",l=i(a,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),u=e=>{const t=o("newline",e,l);return(s,i)=>{n(i,a,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&r({root:s,result:i,locationChecker:t.beforeAllowingIndentation,checkedRuleName:a})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaQueryListCommaWhitespaceChecker":232}],229:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../mediaQueryListCommaWhitespaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="media-query-list-comma-space-after",u=n(l,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{if(!o(a,l,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let u;if(i({root:t,result:a,locationChecker:n.after,checkedRuleName:l,fix:s.fix?(e,t)=>{const s=t-r(e),i=(u=u||new Map).get(e)||[];return i.push(s),u.set(e,i),!0}:null}),u)for(const[t,s]of u.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of s.sort((e,t)=>t-e)){const s=r.slice(0,t+1),i=r.slice(t+1);e.startsWith("always")?r=s+i.replace(/^\s*/," "):e.startsWith("never")&&(r=s+i.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=r:t.params=r}}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaQueryListCommaWhitespaceChecker":232}],230:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../mediaQueryListCommaWhitespaceChecker"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/whitespaceChecker"),l="media-query-list-comma-space-before",u=n(l,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),c=(e,t,s)=>{const n=a("space",e,u);return(t,a)=>{if(!o(a,l,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let u;if(i({root:t,result:a,locationChecker:n.before,checkedRuleName:l,fix:s.fix?(e,t)=>{const s=t-r(e),i=(u=u||new Map).get(e)||[];return i.push(s),u.set(e,i),!0}:null}),u)for(const[t,s]of u.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of s.sort((e,t)=>t-e)){const s=r.slice(0,t),i=r.slice(t);e.startsWith("always")?r=s.replace(/\s*$/," ")+i:e.startsWith("never")&&(r=s.replace(/\s*$/,"")+i)}t.raws.params?t.raws.params.raw=r:t.params=r}}};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before"},t.exports=c},{"../../utils/atRuleParamIndex":326,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../mediaQueryListCommaWhitespaceChecker":232}],231:[(e,t,s)=>{const r=e("../utils/atRuleParamIndex"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,s,o;e.root.walkAtRules(/^media$/i,a=>{const l=a.raws.params?a.raws.params.raw:a.params;n({source:l,target:":"},n=>{t=l,s=n.startIndex,o=a,e.locationChecker({source:t,index:s,err(t){const n=s+r(o);e.fix&&e.fix(o,n)||i({message:t,node:o,index:n,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/atRuleParamIndex":326,"../utils/report":412,"style-search":92}],232:[(e,t,s)=>{const r=e("style-search"),i=e("../utils/atRuleParamIndex"),n=e("../utils/report"),{assertString:o}=e("../utils/validateTypes");t.exports=(e=>{var t,s,a;e.root.walkAtRules(/^media$/i,l=>{const u=l.raws.params?l.raws.params.raw:l.params;r({source:u,target:","},r=>{let c=r.startIndex;if(e.allowTrailingComments){let e;for(;e=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//.exec(u.slice(c+1));)o(e[0]),c+=e[0].length;(e=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/.exec(u.slice(c+1)))&&(o(e[1]),c+=e[1].length)}t=u,s=c,a=l,e.locationChecker({source:t,index:s,err(t){const r=s+i(a);e.fix&&e.fix(a,r)||n({message:t,node:a,index:r,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/atRuleParamIndex":326,"../utils/report":412,"../utils/validateTypes":421,"style-search":92}],233:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("./utils/findNotContiguousOrRectangular"),n=e("./utils/isRectangular"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("postcss-value-parser"),c="named-grid-areas-no-invalid",d=a(c,{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}"`}),p=e=>(t,s)=>{l(s,c,{actual:e})&&t.walkDecls(/^(?:grid|grid-template|grid-template-areas)$/i,e=>{const{value:t}=e;if("none"===t.toLowerCase().trim())return;const a=[];let l=!1;if(u(t).walk(({sourceIndex:e,type:t,value:s})=>{if("string"===t)return""===s?(f(d.expectedToken(),e),void(l=!0)):void a.push(s.trim().split(" ").filter(e=>e.length>0))}),l)return;if(0===a.length)return;if(!n(a))return void f(d.expectedSameNumber());const p=i(a);for(const e of p.sort())f(d.expectedRectangle(e));function f(t,i=0){o({message:t,node:e,index:r(e)+i,result:s,ruleName:c})}})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/named-grid-areas-no-invalid"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"./utils/findNotContiguousOrRectangular":234,"./utils/isRectangular":235,"postcss-value-parser":59}],234:[(e,t,s)=>{const r=e("../../../utils/arrayEqual");t.exports=(e=>(t=>{const s=new Set(e.flat());return s.delete("."),[...s]})().filter(t=>!((t,s)=>{const i=e.map(e=>{const t=[];let r=e.indexOf(s);for(;-1!==r;)t.push(r),r=e.indexOf(s,r+1);return t});for(let e=0;e{t.exports=(e=>{const t=e[0];return void 0!==t&&e.every(e=>e.length===t.length)})},{}],236:[(e,t,s)=>{const r=e("postcss-resolve-nested-selector"),{selectorSpecificity:i,compare:n}=e("@csstools/selector-specificity"),o=e("../../utils/findAtRuleContext"),a=e("../../utils/isStandardSyntaxRule"),l=e("../../utils/isStandardSyntaxSelector"),u=e("../../reference/keywordSets"),c=e("../../utils/nodeContextLookup"),d=e("../../utils/optionsMatches"),p=e("../../utils/parseSelector"),f=e("../../utils/report"),m=e("../../utils/ruleMessages"),h=e("../../utils/validateOptions"),{assert:g}=e("../../utils/validateTypes"),w="no-descending-specificity",b=m(w,{rejected:(e,t)=>`Expected selector "${e}" to come before selector "${t}"`}),y=(e,t)=>(s,m)=>{if(!h(m,w,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;const y=c();function x(e,t,s){const r=e.toString(),o=(t=>{const s=e.nodes[0];g(s);const r=s.split(e=>"combinator"===e.type),i=r[r.length-1];return g(i),i.filter(e=>"pseudo"!==e.type||e.value.startsWith("::")||u.pseudoElements.has(e.value.replace(/:/g,""))).join("").toString()})(),a=i(e),l={selector:r,specificity:a};if(!s.has(o))return void s.set(o,[l]);const c=s.get(o);for(const e of c)n(a,e.specificity)<0&&f({ruleName:w,result:m,node:t,message:b.rejected(r,e.selector),word:r});c.push(l)}s.walkRules(e=>{if(!a(e))return;if(d(t,"ignore","selectors-within-list")&&e.selectors.length>1)return;const s=y.getContext(e,o(e));for(const t of e.selectors)if(""!==t.trim())for(const i of r(t,e))p(i,m,e,t=>{l(i)&&x(t,e,s)})})};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/no-descending-specificity"},t.exports=y},{"../../reference/keywordSets":110,"../../utils/findAtRuleContext":336,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/nodeContextLookup":405,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"@csstools/selector-specificity":2,"postcss-resolve-nested-selector":28}],237:[(e,t,s)=>{const r=e("postcss-media-query-parser").default,i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("postcss-value-parser"),l="no-duplicate-at-import-rules",u=n(l,{rejected:e=>`Unexpected duplicate @import rule ${e}`}),c=e=>(t,s)=>{if(!o(s,l,{actual:e}))return;const n={};t.walkAtRules(/^import$/i,e=>{const[t,...o]=a(e.params).nodes;if(!t)return;const c="function"===t.type&&"url"===t.value&&t.nodes[0]?t.nodes[0].value:t.value,d=(r(a.stringify(o)).nodes||[]).map(e=>e.value.replace(/\s/g,"")).filter(e=>e.length);let p=n[c];(d.length?d.some(e=>p&&p.includes(e)):p)?i({message:u.rejected(c),node:e,result:s,ruleName:l,word:e.toString()}):(p||(p=n[c]=[]),p.push(...d))})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules"},t.exports=c},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-media-query-parser":24,"postcss-value-parser":59}],238:[(e,t,s)=>{const r=e("postcss-resolve-nested-selector"),i=e("postcss-selector-parser"),n=e("../../utils/findAtRuleContext"),o=e("../../utils/isKeyframeRule"),a=e("../../utils/isStandardSyntaxSelector"),l=e("../../utils/nodeContextLookup"),u=e("../../utils/parseSelector"),c=e("../../utils/report"),d=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isBoolean:f}=e("../../utils/validateTypes"),m="no-duplicate-selectors",h=d(m,{rejected:(e,t)=>`Unexpected duplicate selector "${e}", first used at line ${t}`}),g=(e,t)=>(s,i)=>{if(!p(i,m,{actual:e},{actual:t,possible:{disallowInList:[f]},optional:!0}))return;const a=t&&t.disallowInList,d=l();s.walkRules(e=>{if(o(e))return;const t=d.getContext(e,n(e)),s=[...new Set(e.selectors.flatMap(t=>r(t,e)))],l=[...s.map(w)].sort().join(",");if(!e.source)throw new Error("The rule node must have a source");if(!e.source.start)throw new Error("The rule source must have a start position");const p=e.source.start.line;let f;const g=[];if(a?u(l,i,e,e=>{e.each(e=>{const s=String(e);g.push(s),t.get(s)&&(f=t.get(s))})}):f=t.get(l),f){const t=s.join(",")!==e.selectors.join(",")?s.join(", "):e.selector;return c({result:i,ruleName:m,node:e,message:h.rejected(t,f),word:t})}const b=new Set,y=new Set;for(const t of e.selectors){const s=w(t);if(b.has(s)){if(y.has(s))continue;c({result:i,ruleName:m,node:e,message:h.rejected(t,p),word:t}),y.add(s)}else b.add(s)}if(a)for(const e of g)t.set(e,p);else t.set(l,p)})};function w(e){return a(e)?i().processSync(e,{lossless:!1}):e}g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/no-duplicate-selectors"},t.exports=g},{"../../utils/findAtRuleContext":336,"../../utils/isKeyframeRule":374,"../../utils/isStandardSyntaxSelector":395,"../../utils/nodeContextLookup":405,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-resolve-nested-selector":28,"postcss-selector-parser":29}],239:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="no-empty-first-line",a=/^\s*[\r\n]/,l=i(o,{rejected:"Unexpected empty line"}),u=(e,t,s)=>(t,i)=>{if(!n(i,o,{actual:e})||t.source.inline||"object-literal"===t.source.lang)return;const u=s.fix?t.toString():t.source&&t.source.input.css||"";if(u.trim()&&a.test(u)){if(s.fix){if(null==t.first)throw new Error("The root node must have the first node.");if(null==t.first.raws.before)throw new Error("The first node must have spaces before.");return void(t.first.raws.before=t.first.raws.before.trimStart())}r({message:l.rejected,node:t,result:i,ruleName:o})}};u.ruleName=o,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/no-empty-first-line"},t.exports=u},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],240:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="no-empty-source",a=i(o,{rejected:"Unexpected empty source"}),l=(e,t,s)=>(t,i)=>{n(i,o,{actual:e})&&((s.fix?t.toString():t.source&&t.source.input.css||"").trim()||r({message:a.rejected,node:t,result:i,ruleName:o}))};l.ruleName=o,l.messages=a,l.meta={url:"https://stylelint.io/user-guide/rules/list/no-empty-source"},t.exports=l},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],241:[(e,t,s)=>{const r=e("style-search"),i=e("../../utils/isOnlyWhitespace"),n=e("../../utils/isStandardSyntaxComment"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),{isAtRule:u,isComment:c,isDeclaration:d,isRule:p}=e("../../utils/typeGuards"),f=e("../../utils/validateOptions"),m="no-eol-whitespace",h=l(m,{rejected:"Unexpected whitespace at end of line"}),g=new Set([" ","\t"]);function w(e){return e.replace(/[ \t]+$/,"")}function b(e,t,{ignoreEmptyLines:s,isRootFirst:r}={ignoreEmptyLines:!1,isRootFirst:!1}){const n=e-1;if(!g.has(t.charAt(n)))return-1;if(s){const e=t.lastIndexOf("\n",n);if(e>=0||r){const s=t.substring(e,n);if(i(s))return-1}}return n}const y=(e,t,s)=>(i,l)=>{if(!f(l,m,{actual:e},{optional:!0,actual:t,possible:{ignore:["empty-lines"]}}))return;const g=o(t,"ignore","empty-lines");s.fix&&(e=>{let t=!0;if(e.walk(e=>{if(S(e.raws.before,t=>{e.raws.before=t},t),t=!1,u(e)){S(e.raws.afterName,t=>{e.raws.afterName=t});const t=e.raws.params;t?S(t.raw,e=>{t.raw=e}):S(e.params,t=>{e.params=t})}if(p(e)){const t=e.raws.selector;t?S(t.raw,e=>{t.raw=e}):S(e.selector,t=>{e.selector=t})}if((u(e)||p(e)||d(e))&&S(e.raws.between,t=>{e.raws.between=t}),d(e)){const t=e.raws.value;t?S(t.raw,e=>{t.raw=e}):S(e.value,t=>{e.value=t})}c(e)&&(S(e.raws.left,t=>{e.raws.left=t}),n(e)?S(e.raws.right,t=>{e.raws.right=t}):e.raws.right=e.raws.right&&w(e.raws.right),S(e.text,t=>{e.text=t})),(u(e)||p(e))&&S(e.raws.after,t=>{e.raws.after=t})}),S(e.raws.after,t=>{e.raws.after=t},t),"string"==typeof e.raws.after){const t=Math.max(e.raws.after.lastIndexOf("\n"),e.raws.after.lastIndexOf("\r"));t!==e.raws.after.length-1&&(e.raws.after=e.raws.after.slice(0,t+1)+w(e.raws.after.slice(t+1)))}})(i);const y=s.fix?i.toString():i.source&&i.source.input.css||"",x=e=>{a({message:h.rejected,node:i,index:e,result:l,ruleName:m})};k(y,x,!0);const v=b(y.length,y,{ignoreEmptyLines:g,isRootFirst:!0});function k(e,t,s){r({source:e,target:["\n","\r"],comments:"check"},r=>{const i=b(r.startIndex,e,{ignoreEmptyLines:g,isRootFirst:s});i>-1&&t(i)})}function S(e,t,s=!1){if(!e)return;let r="",i=0;k(e,t=>{const s=t+1;r+=w(e.slice(i,s)),i=s},s),i&&t(r+=e.slice(i))}v>-1&&x(v)};y.ruleName=m,y.messages=h,y.meta={url:"https://stylelint.io/user-guide/rules/list/no-eol-whitespace"},t.exports=y},{"../../utils/isOnlyWhitespace":379,"../../utils/isStandardSyntaxComment":388,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"style-search":92}],242:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("style-search"),l=e("../../utils/validateOptions"),u="no-extra-semicolons",c=o(u,{rejected:"Unexpected extra semicolon"});function d(e){if(e.parent&&e.parent.document)return 0;const t=e.root();if(!t.source)throw new Error("The root node must have a source");if(!e.source)throw new Error("The node must have a source");if(!e.source.start)throw new Error("The source must have a start position");const s=t.source.input.css,r=e.source.start.column,i=e.source.start.line;let n=1,o=1,a=0;for(let e=0;e(t,o)=>{if(l(o,u,{actual:e})){if(t.raws.after&&0!==t.raws.after.trim().length){const e=t.raws.after,r=[];a({source:e,target:";"},i=>{if(s.fix)r.push(i.startIndex);else{if(!t.source)throw new Error("The root node must have a source");p(t.source.input.css.length-e.length+i.startIndex)}}),r.length&&(t.raws.after=f(e,r))}t.walk(e=>{if(("atrule"!==e.type||r(e))&&("rule"!==e.type||i(e))){if(e.raws.before&&0!==e.raws.before.trim().length){const t=e.raws.before,r=0,i=0,n=[];a({source:t,target:";"},(o,a)=>{a!==r&&(s.fix?n.push(o.startIndex-i):p(d(e)-t.length+o.startIndex))}),n.length&&(e.raws.before=f(t,n))}if("string"==typeof e.raws.after&&0!==e.raws.after.trim().length){const t=e.raws.after;if("last"in e&&e.last&&"atrule"===e.last.type&&!r(e.last))return;const i=[];a({source:t,target:";"},r=>{s.fix?i.push(r.startIndex):p(d(e)+e.toString().length-1-t.length+r.startIndex)}),i.length&&(e.raws.after=f(t,i))}if("string"==typeof e.raws.ownSemicolon){const t=e.raws.ownSemicolon,r=0,i=[];a({source:t,target:";"},(n,o)=>{o!==r&&(s.fix?i.push(n.startIndex):p(d(e)+e.toString().length-t.length+n.startIndex))}),i.length&&(e.raws.ownSemicolon=f(t,i))}}})}function p(e){n({message:c.rejected,node:t,index:e,result:o,ruleName:u})}function f(e,t){for(const s of t.reverse())e=e.slice(0,s)+e.slice(s+1);return e}};p.ruleName=u,p.messages=c,p.meta={url:"https://stylelint.io/user-guide/rules/list/no-extra-semicolons"},t.exports=p},{"../../utils/isStandardSyntaxAtRule":385,"../../utils/isStandardSyntaxRule":394,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"style-search":92}],243:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="no-invalid-double-slash-comments",a=i(o,{rejected:"Unexpected double-slash CSS comment"}),l=e=>(t,s)=>{n(s,o,{actual:e})&&(t.walkDecls(e=>{e.prop.startsWith("//")&&r({message:a.rejected,node:e,result:s,ruleName:o,word:e.toString()})}),t.walkRules(e=>{for(const t of e.selectors)t.startsWith("//")&&r({message:a.rejected,node:e,result:s,ruleName:o,word:e.toString()})}))};l.ruleName=o,l.messages=a,l.meta={url:"https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments"},t.exports=l},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],244:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/optionsMatches"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isRegExp:u,isString:c}=e("../../utils/validateTypes"),d="no-invalid-position-at-import-rule",p=a(d,{rejected:"Unexpected invalid position @import rule"}),f=(e,t)=>(s,a)=>{if(!l(a,d,{actual:e},{actual:t,possible:{ignoreAtRules:[c,u]},optional:!0}))return;let f=!1;s.walk(e=>{const s="name"in e&&e.name&&e.name.toLowerCase()||"";"atrule"===e.type&&"charset"!==s&&"import"!==s&&"layer"!==s&&!n(t,"ignoreAtRules",e.name)&&r(e)||"rule"===e.type&&i(e)?f=!0:"atrule"===e.type&&"import"===s&&f&&o({message:p.rejected,node:e,result:a,ruleName:d,word:e.toString()})})};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/no-invalid-position-at-import-rule"},t.exports=f},{"../../utils/isStandardSyntaxAtRule":385,"../../utils/isStandardSyntaxRule":394,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],245:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="no-irregular-whitespace",a=i(o,{unexpected:"Unexpected irregular whitespace"}),l=new RegExp(`([${["\v","\f"," ","…"," ","᠎","\ufeff"," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "," "," "].join("")}])`),u=e=>(t,s)=>{if(!n(s,o,{actual:e}))return;const i=(e,t)=>{const i=t&&(e=>{const t=l.exec(e);return t&&t[1]||null})(t);i&&r({ruleName:o,result:s,message:a.unexpected,node:e,word:i})};t.walkAtRules(e=>{i(e,e.name),i(e,e.params),i(e,e.raws.before),i(e,e.raws.after),i(e,e.raws.afterName),i(e,e.raws.between)}),t.walkRules(e=>{i(e,e.selector),i(e,e.raws.before),i(e,e.raws.after),i(e,e.raws.between)}),t.walkDecls(e=>{i(e,e.prop),i(e,e.value),i(e,e.raws.before),i(e,e.raws.between)})};u.ruleName=o,u.messages=a,u.meta={url:"https://stylelint.io/user-guide/rules/list/no-irregular-whitespace"},t.exports=u},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],246:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="no-missing-end-of-source-newline",a=i(o,{rejected:"Unexpected missing end-of-source newline"}),l=(e,t,s)=>(t,i)=>{if(!n(i,o,{actual:e}))return;if(null==t.source)throw new Error("The root node must have a source property");if(t.source.inline||"object-literal"===t.source.lang)return;const l=s.fix?t.toString():t.source.input.css;l.trim()&&!l.endsWith("\n")&&(s.fix?t.raws.after=s.newline:r({message:a.rejected,node:t,index:l.length-1,result:i,ruleName:o}))};l.ruleName=o,l.messages=a,l.meta={url:"https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline"},t.exports=l},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],247:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/findAnimationName"),n=e("../../reference/keywordSets"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="no-unknown-animations",c=a(u,{rejected:e=>`Unexpected unknown animation name "${e}"`}),d=e=>(t,s)=>{if(!l(s,u,{actual:e}))return;const a=new Set;t.walkAtRules(/(-(moz|webkit)-)?keyframes/i,e=>{a.add(e.params)}),t.walkDecls(e=>{if("animation"===e.prop.toLowerCase()||"animation-name"===e.prop.toLowerCase()){const t=i(e.value);if(0===t.length)return;for(const i of t)n.animationNameKeywords.has(i.value.toLowerCase())||a.has(i.value)||o({result:s,ruleName:u,message:c.rejected(i.value),node:e,index:r(e)+i.sourceIndex})}})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/no-unknown-animations"},t.exports=d},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/findAnimationName":335,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],248:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="number-leading-zero",c=a(u,{expected:"Expected a leading zero",rejected:"Unexpected leading zero"}),d=(e,t,s)=>(t,a)=>{function d(t,o){const a=[],l=[];if(o.includes(".")){if(r(o).walk(r=>{if("function"===r.type&&"url"===r.value.toLowerCase())return!1;if("word"===r.type){if("always"===e){const e=/(?:\D|^)(\.\d+)/.exec(r.value);if(null==e||null==e[0]||null==e[1])return;const o=e[0].length-e[1].length,a=r.sourceIndex+e.index+o;if(s.fix)return void l.unshift({index:a});const u="atrule"===t.type?i(t):n(t);m(c.expected,t,u+a)}if("never"===e){const e=/(?:\D|^)(0+)(\.\d+)/.exec(r.value);if(null==e||null==e[0]||null==e[1]||null==e[2])return;const o=e[0].length-(e[1].length+e[2].length),l=r.sourceIndex+e.index+o;if(s.fix)return void a.unshift({startIndex:l,endIndex:l+e[1].length});const u="atrule"===t.type?i(t):n(t);m(c.rejected,t,u+l)}}}),l.length)for(const e of l){const s=e.index;"atrule"===t.type?t.params=p(t.params,s):t.value=p(t.value,s)}if(a.length)for(const e of a){const s=e.startIndex,r=e.endIndex;"atrule"===t.type?t.params=f(t.params,s,r):t.value=f(t.value,s,r)}}}function m(e,t,s){o({result:a,ruleName:u,message:e,node:t,index:s})}l(a,u,{actual:e,possible:["always","never"]})&&(t.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&d(e,e.params)}),t.walkDecls(e=>d(e,e.value)))};function p(e,t){return e.slice(0,t)+"0"+e.slice(t)}function f(e,t,s){return e.slice(0,t)+e.slice(s)}d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/number-leading-zero"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],249:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/getUnitFromValueNode"),a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),{isNumber:d,isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="number-max-precision",h=u(m,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),g=(e,t)=>(s,u)=>{function g(s,c){if(!c.includes("."))return;const d="prop"in s?s.prop:void 0;a(t,"ignoreProperties",d)||r(c).walk(r=>{const c=o(r);if(a(t,"ignoreUnits",c))return;if("function"===r.type&&"url"===r.value.toLowerCase())return!1;if("word"!==r.type)return;const d=/\d*\.(\d+)/.exec(r.value);if(null==d||null==d[0]||null==d[1])return;if(d[1].length<=e)return;const p="atrule"===s.type?i(s):n(s),f=Number.parseFloat(d[0]);l({result:u,ruleName:m,node:s,index:p+r.sourceIndex+d.index,message:h.expected(f,f.toFixed(e))})})}c(u,m,{actual:e,possible:[d]},{optional:!0,actual:t,possible:{ignoreProperties:[f,p],ignoreUnits:[f,p]}})&&(s.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&g(e,e.params)}),s.walkDecls(e=>g(e,e.value)))};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/number-max-precision"},t.exports=g},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getUnitFromValueNode":350,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],250:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="number-no-trailing-zeros",c=a(u,{rejected:"Unexpected trailing zero(s)"}),d=(e,t,s)=>(t,a)=>{function d(e,t){const l=[];if(t.includes(".")&&(r(t).walk(t=>{if("function"===t.type&&"url"===t.value.toLowerCase())return!1;if("word"!==t.type)return;const r=/\.(\d{0,100}?)(0+)(?:\D|$)/.exec(t.value);if(null==r||null==r[1]||null==r[2])return;const d=t.sourceIndex+r.index+1+r[1].length,p=r[1].length>0?d:d-1,f=d+r[2].length;if(s.fix)return void l.unshift({startIndex:p,endIndex:f});const m="atrule"===e.type?i(e):n(e);o({message:c.rejected,node:e,index:m+d,result:a,ruleName:u})}),l.length))for(const t of l){const s=t.startIndex,r=t.endIndex;"atrule"===e.type?e.params=p(e.params,s,r):e.value=p(e.value,s,r)}}l(a,u,{actual:e})&&(t.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&d(e,e.params)}),t.walkDecls(e=>d(e,e.value)))};function p(e,t,s){return e.slice(0,t)+e.slice(s)}d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros"},t.exports=d},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],251:[(e,t,s)=>{const r=e("../../utils/isCustomProperty"),i=e("../../utils/isStandardSyntaxProperty"),n=e("../../utils/matchesStringOrRegExp"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="property-allowed-list",f=a(p,{rejected:e=>`Unexpected property "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkDecls(t=>{const a=t.prop;i(a)&&(r(a)||n([a,u.unprefixed(a)],e)||o({message:f.rejected(a),node:t,result:s,ruleName:p}))})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/property-allowed-list"},t.exports=m},{"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],252:[(e,t,s)=>{const r=e("../../utils/isCustomProperty"),i=e("../../utils/isStandardSyntaxProperty"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("../../utils/optionsMatches"),{isRegExp:u,isString:c}=e("../../utils/validateTypes"),{isRule:d}=e("../../utils/typeGuards"),p="property-case",f=o(p,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m=(e,t,s)=>(o,m)=>{a(m,p,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreSelectors:[c,u]},optional:!0})&&o.walkDecls(o=>{const a=o.prop;if(!i(a))return;if(r(a))return;const{parent:u}=o;if(!u)throw new Error("A parent node must be present");if(d(u)){const{selector:e}=u;if(e&&l(t,"ignoreSelectors",e))return}const c="lower"===e?a.toLowerCase():a.toUpperCase();a!==c&&(s.fix?o.prop=c:n({message:f.expected(a,c),node:o,ruleName:p,result:m}))})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/property-case"},t.exports=m},{"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],253:[(e,t,s)=>{const r=e("../../utils/isCustomProperty"),i=e("../../utils/isStandardSyntaxProperty"),n=e("../../utils/matchesStringOrRegExp"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="property-disallowed-list",f=a(p,{rejected:e=>`Unexpected property "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkDecls(t=>{const a=t.prop;i(a)&&(r(a)||n([a,u.unprefixed(a)],e)&&o({message:f.rejected(a),node:t,result:s,ruleName:p}))})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/property-disallowed-list"},t.exports=m},{"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxProperty":393,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],254:[(e,t,s)=>{const r=e("../../utils/isCustomProperty"),i=e("../../utils/isStandardSyntaxDeclaration"),n=e("../../utils/isStandardSyntaxProperty"),o=e("../../utils/optionsMatches"),a=e("known-css-properties").all,l=e("../../utils/report"),u=e("../../utils/ruleMessages"),{isAtRule:c,isRule:d}=e("../../utils/typeGuards"),p=e("../../utils/validateOptions"),f=e("../../utils/vendor"),{isBoolean:m,isRegExp:h,isString:g}=e("../../utils/validateTypes"),w="property-no-unknown",b=u(w,{rejected:e=>`Unexpected unknown property "${e}"`}),y=(e,t)=>{const s=new Set(a);return(a,u)=>{if(!p(u,w,{actual:e},{actual:t,possible:{ignoreProperties:[g,h],checkPrefixed:[m],ignoreSelectors:[g,h],ignoreAtRules:[g,h]},optional:!0}))return;const y=t&&t.checkPrefixed;a.walkDecls(e=>{const a=e.prop;if(!n(a))return;if(!i(e))return;if(r(a))return;if(!y&&f.prefix(a))return;if(o(t,"ignoreProperties",a))return;const p=e.parent;if(p&&d(p)&&o(t,"ignoreSelectors",p.selector))return;let m=p;for(;m&&"root"!==m.type;){if(c(m)&&o(t,"ignoreAtRules",m.name))return;m=m.parent}s.has(a.toLowerCase())||l({message:b.rejected(a),node:e,result:u,ruleName:w,word:a})})}};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/property-no-unknown"},t.exports=y},{"../../utils/isCustomProperty":370,"../../utils/isStandardSyntaxDeclaration":389,"../../utils/isStandardSyntaxProperty":393,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/typeGuards":417,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"known-css-properties":19}],255:[(e,t,s)=>{const r=e("postcss-value-parser"),{assert:i}=e("../utils/validateTypes"),n=new Set([">=","<=",">","<","="]);t.exports=(e=>{let t;const s=[];var o;return r(e.value).walk(e=>{"word"===e.type&&(n.has(e.value)||(null==t&&(o=e.value,/^(?!--)\D/.test(o)||/^--./.test(o))?t=e:s.push(e)))}),i(t),{name:{value:t.value,sourceIndex:e.sourceIndex+t.sourceIndex},values:s.map(t=>({value:t.value,sourceIndex:e.sourceIndex+t.sourceIndex}))}})},{"../utils/validateTypes":421,"postcss-value-parser":59}],256:[(e,t,s)=>{const r=e("../../utils/addEmptyLineBefore"),i=e("../../utils/getPreviousNonSharedLineCommentNode"),n=e("../../utils/hasEmptyLine"),o=e("../../utils/isAfterSingleLineComment"),a=e("../../utils/isFirstNested"),l=e("../../utils/isFirstNodeOfRoot"),u=e("../../utils/isSingleLineString"),c=e("../../utils/isStandardSyntaxRule"),d=e("../../utils/optionsMatches"),p=e("../../utils/removeEmptyLinesBefore"),f=e("../../utils/report"),m=e("../../utils/ruleMessages"),h=e("../../utils/validateOptions"),g="rule-empty-line-before",w=m(g,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"}),b=(e,t,s)=>(i,m)=>{if(!h(m,g,{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;const b=e;i.walkRules(e=>{if(!c(e))return;if(l(e))return;if(d(t,"ignore","after-comment")){const t=e.prev();if(t&&"comment"===t.type)return}if(d(t,"ignore","first-nested")&&a(e))return;const i=e.parent&&"root"!==e.parent.type;if(d(t,"ignore","inside-block")&&i)return;if(b.includes("multi-line")&&u(e.toString()))return;let h=b.includes("always");if((d(t,"except","first-nested")&&a(e)||d(t,"except","after-rule")&&y(e)||d(t,"except","inside-block-and-after-rule")&&i&&y(e)||d(t,"except","after-single-line-comment")&&o(e)||d(t,"except","inside-block")&&i)&&(h=!h),h===n(e.raws.before))return;if(s.fix){const t=s.newline;if("string"!=typeof t)throw new Error(`The "newline" property must be a string: ${t}`);return void(h?r(e,t):p(e,t))}const x=h?w.expected:w.rejected;f({message:x,node:e,result:m,ruleName:g})})};function y(e){const t=i(e);return null!=t&&"rule"===t.type}b.ruleName=g,b.messages=w,b.meta={url:"https://stylelint.io/user-guide/rules/list/rule-empty-line-before"},t.exports=b},{"../../utils/addEmptyLineBefore":323,"../../utils/getPreviousNonSharedLineCommentNode":347,"../../utils/hasEmptyLine":353,"../../utils/isAfterSingleLineComment":360,"../../utils/isFirstNested":372,"../../utils/isFirstNodeOfRoot":373,"../../utils/isSingleLineString":384,"../../utils/isStandardSyntaxRule":394,"../../utils/optionsMatches":406,"../../utils/removeEmptyLinesBefore":411,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],257:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateObjectWithArrayProps"),l=e("../../utils/validateOptions"),{isString:u,isRegExp:c}=e("../../utils/validateTypes"),d="rule-selector-property-disallowed-list",p=o(d,{rejected:(e,t)=>`Unexpected property "${e}" for selector "${t}"`}),f=e=>(t,s)=>{if(!l(s,d,{actual:e,possible:[a(u,c)]}))return;const o=Object.keys(e);t.walkRules(t=>{if(!r(t))return;const a=o.find(e=>i(t.selector,e));if(!a)return;const l=e[a];if(l)for(const e of t.nodes)"decl"===e.type&&i(e.prop,l)&&n({message:p.rejected(e.prop,t.selector),node:e,result:s,ruleName:d})})};f.primaryOptionArray=!0,f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/rule-selector-property-disallowed-list"},t.exports=f},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],258:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("style-search"),l=e("../../utils/validateOptions"),u="selector-attribute-brackets-space-inside",c=o(u,{expectedOpening:'Expected single space after "["',rejectedOpening:'Unexpected whitespace after "["',expectedClosing:'Expected single space before "]"',rejectedClosing:'Unexpected whitespace before "]"'}),d=(e,t,s)=>{return(t,p)=>{l(p,u,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{if(!r(t))return;if(!t.selector.includes("["))return;const l=t.raws.selector?t.raws.selector.raw:t.selector;let f;const m=i(l,p,t,t=>{t.walkAttributes(t=>{const r=t.toString();a({source:r,target:"["},i=>{const n=" "===r[i.startIndex+1],a=t.sourceIndex+i.startIndex+1;if(n&&"never"===e){if(s.fix)return f=!0,void o(t);h(c.rejectedOpening,a)}if(!n&&"always"===e){if(s.fix)return f=!0,void o(t);h(c.expectedOpening,a)}}),a({source:r,target:"]"},i=>{const n=" "===r[i.startIndex-1],o=t.sourceIndex+i.startIndex-1;if(n&&"never"===e){if(s.fix)return f=!0,void d(t);h(c.rejectedClosing,o)}if(!n&&"always"===e){if(s.fix)return f=!0,void d(t);h(c.expectedClosing,o)}})})});function h(e,s){n({message:e,index:s,result:p,ruleName:u,node:t})}f&&m&&(t.raws.selector?t.raws.selector.raw=m:t.selector=m)})};function o(t){const s=t.raws.spaces&&t.raws.spaces.attribute,r=s&&s.before,{attrBefore:i,setAttrBefore:n}=r?{attrBefore:r,setAttrBefore(e){s.before=e}}:{attrBefore:t.spaces.attribute&&t.spaces.attribute.before||"",setAttrBefore(e){t.spaces.attribute||(t.spaces.attribute={}),t.spaces.attribute.before=e}};"always"===e?n(i.replace(/^\s*/," ")):"never"===e&&n(i.replace(/^\s*/,""))}function d(t){const s=t.operator?t.insensitive?"insensitive":"value":"attribute",r=t.raws.spaces&&t.raws.spaces[s],i=r&&r.after,n=t.spaces[s],{after:o,setAfter:a}=i?{after:i,setAfter(e){r.after=e}}:{after:n&&n.after||"",setAfter(e){t.spaces[s]||(t.spaces[s]={}),t.spaces[s].after=e}};"always"===e?a(o.replace(/\s*$/," ")):"never"===e&&a(o.replace(/\s*$/,""))}};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside"},t.exports=d},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"style-search":92}],259:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isRegExp:u,isString:c}=e("../../utils/validateTypes"),d="selector-attribute-name-disallowed-list",p=a(d,{rejected:e=>`Unexpected name "${e}"`}),f=e=>(t,s)=>{l(s,d,{actual:e,possible:[c,u]})&&t.walkRules(t=>{r(t)&&t.selector.includes("[")&&n(t.selector,s,t,r=>{r.walkAttributes(r=>{const n=r.qualifiedAttribute;i(n,e)&&o({message:p.rejected(n),node:t,index:r.sourceIndex+r.offsetOf("attribute"),result:s,ruleName:d})})})})};f.primaryOptionArray=!0,f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-name-disallowed-list"},t.exports=f},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],260:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isString:l}=e("../../utils/validateTypes"),u="selector-attribute-operator-allowed-list",c=o(u,{rejected:e=>`Unexpected operator "${e}"`}),d=e=>(t,s)=>{if(!a(s,u,{actual:e,possible:[l]}))return;const o=[e].flat();t.walkRules(e=>{r(e)&&e.selector.includes("[")&&e.selector.includes("=")&&i(e.selector,s,e,t=>{t.walkAttributes(t=>{const r=t.operator;!r||r&&o.includes(r)||n({message:c.rejected(r),node:e,index:t.sourceIndex+t.offsetOf("operator"),result:s,ruleName:u})})})})};d.primaryOptionArray=!0,d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-operator-allowed-list"},t.exports=d},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],261:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isString:l}=e("../../utils/validateTypes"),u="selector-attribute-operator-disallowed-list",c=o(u,{rejected:e=>`Unexpected operator "${e}"`}),d=e=>(t,s)=>{if(!a(s,u,{actual:e,possible:[l]}))return;const o=[e].flat();t.walkRules(e=>{r(e)&&e.selector.includes("[")&&e.selector.includes("=")&&i(e.selector,s,e,t=>{t.walkAttributes(t=>{const r=t.operator;!r||r&&!o.includes(r)||n({message:c.rejected(r),node:e,index:t.sourceIndex+t.offsetOf("operator"),result:s,ruleName:u})})})})};d.primaryOptionArray=!0,d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-operator-disallowed-list"},t.exports=d},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],262:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorAttributeOperatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-attribute-operator-space-after",l=r(a,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`}),u=(e,t,s)=>(t,r)=>{const u=o("space",e,l);n(r,a,{actual:e,possible:["always","never"]})&&i({root:t,result:r,locationChecker:u.after,checkedRuleName:a,checkBeforeOperator:!1,fix:s.fix?t=>{const{operatorAfter:s,setOperatorAfter:r}=(()=>{const e=t.raws.operator;if(e)return{operatorAfter:e.slice(t.operator?t.operator.length:0),setOperatorAfter(e){delete t.raws.operator,t.raws.spaces||(t.raws.spaces={}),t.raws.spaces.operator||(t.raws.spaces.operator={}),t.raws.spaces.operator.after=e}};const s=t.raws.spaces&&t.raws.spaces.operator,r=s&&s.after;return r?{operatorAfter:r,setOperatorAfter(e){s.after=e}}:{operatorAfter:t.spaces.operator&&t.spaces.operator.after||"",setOperatorAfter(e){t.spaces.operator||(t.spaces.operator={}),t.spaces.operator.after=e}}})();return"always"===e?(r(s.replace(/^\s*/," ")),!0):"never"===e&&(r(s.replace(/^\s*/,"")),!0)}:null})};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorAttributeOperatorSpaceChecker":302}],263:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorAttributeOperatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-attribute-operator-space-before",l=r(a,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`}),u=(e,t,s)=>{const r=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:r.before,checkedRuleName:a,checkBeforeOperator:!0,fix:s.fix?t=>{const s=t.raws.spaces&&t.raws.spaces.attribute,r=s&&s.after,{attrAfter:i,setAttrAfter:n}=r?{attrAfter:r,setAttrAfter(e){s.after=e}}:{attrAfter:t.spaces.attribute&&t.spaces.attribute.after||"",setAttrAfter(e){t.spaces.attribute||(t.spaces.attribute={}),t.spaces.attribute.after=e}};return"always"===e?(n(i.replace(/\s*$/," ")),!0):"never"===e&&(n(i.replace(/\s*$/,"")),!0)}:null})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorAttributeOperatorSpaceChecker":302}],264:[(e,t,s)=>{const r=e("../../utils/getRuleSelector"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{assertString:u}=e("../../utils/validateTypes"),c="selector-attribute-quotes",d=a(c,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),p=(e,t,s)=>(t,a)=>{l(a,c,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{function l(e,s){o({message:e,index:s,result:a,ruleName:c,node:t})}i(t)&&t.selector.includes("[")&&t.selector.includes("=")&&n(r(t),a,t,r=>{let i=!1;r.walkAttributes(t=>{t.operator&&(t.quoted||"always"!==e||(s.fix?(i=!0,t.quoteMark='"'):(u(t.value),l(d.expected(t.value),t.sourceIndex+t.offsetOf("value")))),t.quoted&&"never"===e&&(s.fix?(i=!0,t.quoteMark=null):(u(t.value),l(d.rejected(t.value),t.sourceIndex+t.offsetOf("value")))))}),i&&(t.selector=r.toString())})})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-attribute-quotes"},t.exports=p},{"../../utils/getRuleSelector":348,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],265:[(e,t,s)=>{const r=e("../../utils/isKeyframeSelector"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/isStandardSyntaxSelector"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("postcss-resolve-nested-selector"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),{isBoolean:d,isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="selector-class-pattern",h=u(m,{expected:(e,t)=>`Expected class selector ".${e}" to match pattern "${t}"`}),g=(e,t)=>(s,u)=>{if(!c(u,m,{actual:e,possible:[p,f]},{actual:t,possible:{resolveNestedSelectors:[d]},optional:!0}))return;const g=t&&t.resolveNestedSelectors,b=f(e)?new RegExp(e):e;function y(t,s){t.walkClasses(t=>{const r=t.value,i=t.sourceIndex;b.test(r)||a({result:u,ruleName:m,message:h.expected(r,e),node:s,index:i})})}s.walkRules(e=>{const t=e.selector,s=e.selectors;if(i(e)&&!s.some(e=>r(e)))if(g&&(e=>{for(const[t,s]of Array.from(e).entries()){if("&"!==s)continue;const r=e.charAt(t-1);if(r&&!w(r))return!0;const i=e.charAt(t+1);if(i&&!w(i))return!0}return!1})(t))for(const s of l(t,e))n(s)&&o(s,u,e,t=>y(t,e));else o(t,u,e,t=>y(t,e))})};function w(e){return/[\s+>~]/.test(e)}g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/selector-class-pattern"},t.exports=g},{"../../utils/isKeyframeSelector":375,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-resolve-nested-selector":28}],266:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxCombinator"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isString:u}=e("../../utils/validateTypes"),c="selector-combinator-allowed-list",d=a(c,{rejected:e=>`Unexpected combinator "${e}"`}),p=e=>(t,s)=>{l(s,c,{actual:e,possible:[u]})&&t.walkRules(t=>{if(!i(t))return;const a=t.selector;n(a,s,t,i=>{i.walkCombinators(i=>{if(!r(i))return;const n=i.value.replace(/\s+/g," ");e.includes(n)||o({result:s,ruleName:c,message:d.rejected(n),node:t,index:i.sourceIndex})})})})};p.primaryOptionArray=!0,p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-combinator-allowed-list"},t.exports=p},{"../../utils/isStandardSyntaxCombinator":387,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],267:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxCombinator"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isString:u}=e("../../utils/validateTypes"),c="selector-combinator-disallowed-list",d=a(c,{rejected:e=>`Unexpected combinator "${e}"`}),p=e=>(t,s)=>{l(s,c,{actual:e,possible:[u]})&&t.walkRules(t=>{if(!i(t))return;const a=t.selector;n(a,s,t,i=>{i.walkCombinators(i=>{if(!r(i))return;const n=i.value.replace(/\s+/g," ");e.includes(n)&&o({result:s,ruleName:c,message:d.rejected(n),node:t,index:i.sourceIndex})})})})};p.primaryOptionArray=!0,p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-combinator-disallowed-list"},t.exports=p},{"../../utils/isStandardSyntaxCombinator":387,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],268:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorCombinatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-combinator-space-after",l=r(a,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`}),u=(e,t,s)=>{const r=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:r.after,locationType:"after",checkedRuleName:a,fix:s.fix?t=>"always"===e?(t.spaces.after=" ",!0):"never"===e&&(t.spaces.after="",!0):null})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-combinator-space-after"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorCombinatorSpaceChecker":303}],269:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorCombinatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-combinator-space-before",l=r(a,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`}),u=(e,t,s)=>{const r=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:r.before,locationType:"before",checkedRuleName:a,fix:s.fix?t=>"always"===e?(t.spaces.before=" ",!0):"never"===e&&(t.spaces.before="",!0):null})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-combinator-space-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorCombinatorSpaceChecker":303}],270:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="selector-descendant-combinator-no-non-space",u=o(l,{rejected:e=>`Unexpected "${e}"`}),c=(e,t,s)=>(t,o)=>{a(o,l,{actual:e})&&t.walkRules(e=>{if(!r(e))return;let t=!1;const a=e.raws.selector?e.raws.selector.raw:e.selector;if(a.includes("/*"))return;const c=i(a,o,e,r=>{r.walkCombinators(r=>{if(" "!==r.value)return;const i=r.toString();if(i.includes(" ")||i.includes("\t")||i.includes("\n")||i.includes("\r")){if(s.fix&&/^\s+$/.test(i))return t=!0,r.raws||(r.raws={}),r.raws.value=" ",r.rawSpaceBefore=r.rawSpaceBefore.replace(/^\s+/,""),void(r.rawSpaceAfter=r.rawSpaceAfter.replace(/\s+$/,""));n({result:o,ruleName:l,message:u.rejected(i),node:e,index:r.sourceIndex})}})});t&&c&&(e.raws.selector?e.raws.selector.raw=c:e.selector=c)})};c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space"},t.exports=c},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],271:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isRegExp:l,isString:u}=e("../../utils/validateTypes"),c="selector-disallowed-list",d=o(c,{rejected:e=>`Unexpected selector "${e}"`}),p=e=>(t,s)=>{a(s,c,{actual:e,possible:[u,l]})&&t.walkRules(t=>{if(!r(t))return;const o=t.selector;i(o,e)&&n({result:s,ruleName:c,message:d.rejected(o),node:t})})};p.primaryOptionArray=!0,p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-disallowed-list"},t.exports=p},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],272:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isRegExp:l,isString:u}=e("../../utils/validateTypes"),c="selector-id-pattern",d=o(c,{expected:(e,t)=>`Expected ID selector "#${e}" to match pattern "${t}"`}),p=e=>(t,s)=>{if(!a(s,c,{actual:e,possible:[l,u]}))return;const o=u(e)?new RegExp(e):e;t.walkRules(t=>{if(!r(t))return;const a=t.selector;i(a,s,t,r=>{r.walk(r=>{if("id"!==r.type)return;const i=r.value,a=r.sourceIndex;o.test(i)||n({result:s,ruleName:c,message:d.expected(i,e),node:t,index:a})})})})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-id-pattern"},t.exports=p},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],273:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("style-search"),a=e("../../utils/validateOptions"),l=e("../../utils/whitespaceChecker"),u="selector-list-comma-newline-after",c=n(u,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),d=(e,t,s)=>{const n=l("newline",e,c);return(t,l)=>{a(l,u,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&t.walkRules(t=>{if(!r(t))return;const a=t.raws.selector?t.raws.selector.raw:t.selector,c=[];if(o({source:a,target:",",functionArguments:"skip"},e=>{const r=a.slice(e.endIndex);if(/^\s+\/\//.test(r))return;const o=/^\s+\/\*/.test(r)?a.indexOf("*/",e.endIndex)+1:e.startIndex;n.afterOneOnly({source:a,index:o,err(r){s.fix?c.push(o+1):i({message:r,node:t,index:e.startIndex,result:l,ruleName:u})}})}),c.length){let r=a;for(const t of c.sort((e,t)=>t-e)){const i=r.slice(0,t);let n=r.slice(t);e.startsWith("always")?n=s.newline+n:e.startsWith("never-multi-line")&&(n=n.replace(/^\s*/,"")),r=i+n}t.raws.selector?t.raws.selector.raw=r:t.selector=r}})}};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after"},t.exports=d},{"../../utils/isStandardSyntaxRule":394,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"style-search":92}],274:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-newline-before",l=r(a,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),u=(e,t,s)=>{const r=o("newline",e,l);return(t,o)=>{if(!n(o,a,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let l;if(i({root:t,result:o,locationChecker:r.beforeAllowingIndentation,checkedRuleName:a,fix:s.fix?(e,t)=>{const s=(l=l||new Map).get(e)||[];return s.push(t),l.set(e,s),!0}:null}),l)for(const[t,r]of l.entries()){let i=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of r.sort((e,t)=>t-e)){let r=i.slice(0,t);const n=i.slice(t);if(e.startsWith("always")){const e=r.search(/\s+$/);e>=0?r=r.slice(0,e)+s.newline+r.slice(e):r+=s.newline}else"never-multi-line"===e&&(r=r.replace(/\s*$/,""));i=r+n}t.raws.selector?t.raws.selector.raw=i:t.selector=i}}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorListCommaWhitespaceChecker":304}],275:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-space-after",l=r(a,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),u=(e,t,s)=>{const r=o("space",e,l);return(t,o)=>{if(!n(o,a,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let l;if(i({root:t,result:o,locationChecker:r.after,checkedRuleName:a,fix:s.fix?(e,t)=>{const s=(l=l||new Map).get(e)||[];return s.push(t),l.set(e,s),!0}:null}),l)for(const[t,s]of l.entries()){let r=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of s.sort((e,t)=>t-e)){const s=r.slice(0,t+1);let i=r.slice(t+1);e.startsWith("always")?i=i.replace(/^\s*/," "):e.startsWith("never")&&(i=i.replace(/^\s*/,"")),r=s+i}t.raws.selector?t.raws.selector.raw=r:t.selector=r}}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-list-comma-space-after"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorListCommaWhitespaceChecker":304}],276:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-space-before",l=r(a,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),u=(e,t,s)=>{const r=o("space",e,l);return(t,o)=>{if(!n(o,a,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let l;if(i({root:t,result:o,locationChecker:r.before,checkedRuleName:a,fix:s.fix?(e,t)=>{const s=(l=l||new Map).get(e)||[];return s.push(t),l.set(e,s),!0}:null}),l)for(const[t,s]of l.entries()){let r=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of s.sort((e,t)=>t-e)){let s=r.slice(0,t);const i=r.slice(t);e.includes("always")?s=s.replace(/\s*$/," "):e.includes("never")&&(s=s.replace(/\s*$/,"")),r=s+i}t.raws.selector?t.raws.selector.raw=r:t.selector=r}}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../selectorListCommaWhitespaceChecker":304}],277:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isNonNegativeInteger"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/optionsMatches"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="selector-max-attribute",h=c(m,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} attribute ${1===t?"selector":"selectors"}`}),g=(e,t)=>(s,c)=>{function g(s,i){const n=s.reduce((e,s)=>(("selector"===s.type||r(s))&&g(s,i),"attribute"!==s.type?e:o(t,"ignoreAttributes",s.attribute)?e:e+=1),0);if("root"!==s.type&&"pseudo"!==s.type&&n>e){const t=s.toString();l({ruleName:m,result:c,node:i,message:h.expected(t,e),word:t})}}d(c,m,{actual:e,possible:i},{actual:t,possible:{ignoreAttributes:[f,p]},optional:!0})&&s.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const s of u(t,e))a(s,c,e,t=>g(t,e))})};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-attribute"},t.exports=g},{"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-resolve-nested-selector":28}],278:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isNonNegativeInteger"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("postcss-resolve-nested-selector"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d="selector-max-class",p=u(d,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${1===t?"class":"classes"}`}),f=e=>(t,s)=>{function u(t,i){const n=t.reduce((e,t)=>(("selector"===t.type||r(t))&&u(t,i),"class"===t.type&&(e+=1),e),0);if("root"!==t.type&&"pseudo"!==t.type&&n>e){const r=t.toString();a({ruleName:d,result:s,node:i,message:p.expected(r,e),word:r})}}c(s,d,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const r of l(t,e))o(r,s,e,t=>u(t,e))})};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-class"},t.exports=f},{"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28}],279:[(e,t,s)=>{const r=e("../../utils/isNonNegativeInteger"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("postcss-resolve-nested-selector"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c="selector-max-combinators",d=l(c,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${1===t?"combinator":"combinators"}`}),p=e=>(t,s)=>{function l(t,r){const i=t.reduce((e,t)=>("selector"===t.type&&l(t,r),"combinator"===t.type&&(e+=1),e),0);if("root"!==t.type&&"pseudo"!==t.type&&i>e){const i=t.toString();o({ruleName:c,result:s,node:r,message:d.expected(i,e),word:i})}}u(s,c,{actual:e,possible:r})&&t.walkRules(e=>{if(i(e))for(const t of e.selectors)for(const r of a(t,e))n(r,s,e,t=>l(t,e))})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-combinators"},t.exports=p},{"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28}],280:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isNonNegativeInteger"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("postcss-resolve-nested-selector"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d="selector-max-compound-selectors",p=u(d,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} compound ${1===t?"selector":"selectors"}`}),f=e=>(t,s)=>{function u(t,i){let n=1;if(t.each(e=>{("selector"===e.type||r(e))&&u(e,i),"combinator"===e.type&&n++}),"root"!==t.type&&"pseudo"!==t.type&&n>e){const r=t.toString();a({ruleName:d,result:s,node:i,message:p.expected(r,e),word:r})}}c(s,d,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const r of l(t,e))o(r,s,e,t=>u(t,e))})};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-compound-selectors"},t.exports=f},{"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28}],281:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),{isNumber:o}=e("../../utils/validateTypes"),a="selector-max-empty-lines",l=i(a,{expected:e=>`Expected no more than ${e} empty ${1===e?"line":"lines"}`}),u=(e,t,s)=>{const i=e+1;return(t,u)=>{if(!n(u,a,{actual:e,possible:o}))return;const c=new RegExp(`(?:\r\n){${i+1},}`),d=new RegExp(`\n{${i+1},}`),p=s.fix?"\n".repeat(i):"",f=s.fix?"\r\n".repeat(i):"";t.walkRules(t=>{const i=t.raws.selector?t.raws.selector.raw:t.selector;if(s.fix){const e=i.replace(new RegExp(d,"gm"),p).replace(new RegExp(c,"gm"),f);t.raws.selector?t.raws.selector.raw=e:t.selector=e}else(d.test(i)||c.test(i))&&r({message:l.expected(e),node:t,index:0,result:u,ruleName:a})})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-empty-lines"},t.exports=u},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],282:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isNonNegativeInteger"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/optionsMatches"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="selector-max-id",h=c(m,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ID ${1===t?"selector":"selectors"}`}),g=(e,t)=>(s,c)=>{function g(s,i){const n=s.reduce((e,s)=>(("selector"===s.type||r(s)&&("pseudo"!==(a=s).type||!o(t,"ignoreContextFunctionalPseudoClasses",a.value)))&&g(s,i),"id"===s.type&&(e+=1),e),0);var a;if("root"!==s.type&&"pseudo"!==s.type&&n>e){const t=s.toString();l({ruleName:m,result:c,node:i,message:h.expected(t,e),word:t})}}d(c,m,{actual:e,possible:i},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[f,p]},optional:!0})&&s.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const s of u(t,e))a(s,c,e,t=>g(t,e))})};g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-id"},t.exports=g},{"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-resolve-nested-selector":28}],283:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isNonNegativeInteger"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../reference/keywordSets"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),p="selector-max-pseudo-class",f=c(p,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} pseudo-${1===t?"class":"classes"}`}),m=e=>(t,s)=>{function c(t,i){if(t.reduce((e,t)=>(("selector"===t.type||r(t))&&c(t,i),"pseudo"===t.type&&(t.value.includes("::")||o.levelOneAndTwoPseudoElements.has(t.value.toLowerCase().slice(1)))?e:("pseudo"===t.type&&(e+=1),e)),0)>e){const r=t.toString();l({ruleName:p,result:s,node:i,message:f.expected(r,e),word:r})}}d(s,p,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const r of u(t,e))a(r,s,e,t=>{c(t,e)})})};m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-pseudo-class"},t.exports=m},{"../../reference/keywordSets":110,"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28}],284:[(e,t,s)=>{const r=e("postcss-resolve-nested-selector"),{selectorSpecificity:i,compare:n}=e("@csstools/selector-specificity"),o=e("../../utils/isStandardSyntaxRule"),a=e("../../utils/isStandardSyntaxSelector"),l=e("../../reference/keywordSets"),u=e("../../utils/optionsMatches"),c=e("../../utils/parseSelector"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),{isRegExp:m,isString:h,assertNumber:g}=e("../../utils/validateTypes"),w="selector-max-specificity",b=p(w,{expected:(e,t)=>`Expected "${e}" to have a specificity no more than "${t}"`}),y=e=>{const t={a:0,b:0,c:0};for(const{a:s,b:r,c:i}of e)t.a+=s,t.b+=r,t.c+=i;return t},x=(e,t)=>(s,p)=>{if(!f(p,w,{actual:e,possible:[e=>h(e)&&/^\d+,\d+,\d+$/.test(e)]},{actual:t,possible:{ignoreSelectors:[h,m]},optional:!0}))return;const x=e=>e.reduce((e,t)=>{const s=v(t);return n(s,e)>0?s:e},{a:0,b:0,c:0}),v=e=>{if((e=>{const t=e.parent&&e.parent.parent;if(t&&"pseudo"===t.type&&t.value){const e=t.value.toLowerCase().replace(/^:/,"");return l.aNPlusBNotationPseudoClasses.has(e)||l.linguisticPseudoClasses.has(e)}return!1})(e))return{a:0,b:0,c:0};switch(e.type){case"attribute":case"class":case"id":case"tag":return(e=>u(t,"ignoreSelectors",e.toString())?{a:0,b:0,c:0}:i(e))(e);case"pseudo":return(e=>{const s=e.value.toLowerCase();if(":where"===s)return{a:0,b:0,c:0};let r;if(u(t,"ignoreSelectors",s))r={a:0,b:0,c:0};else{if(l.aNPlusBOfSNotationPseudoClasses.has(s.replace(/^:/,"")))return i(e);r=i(e.clone({nodes:[]}))}return y([r,x(e)])})(e);case"selector":return y(e.map(e=>v(e)));default:return{a:0,b:0,c:0}}},[k,S,O]=e.split(",").map(e=>Number.parseFloat(e));g(k),g(S),g(O);const C={a:k,b:S,c:O};s.walkRules(t=>{if(o(t))for(const s of t.selectors)for(const i of r(s,t))a(i)&&c(i,p,t,r=>{n(x(r),C)>0&&d({ruleName:w,result:p,node:t,message:b.expected(i,e),word:s})})})};x.ruleName=w,x.messages=b,x.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-specificity"},t.exports=x},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"@csstools/selector-specificity":2,"postcss-resolve-nested-selector":28}],285:[(e,t,s)=>{const r=e("../../utils/isContextFunctionalPseudoClass"),i=e("../../utils/isKeyframeSelector"),n=e("../../utils/isNonNegativeInteger"),o=e("../../utils/isOnlyWhitespace"),a=e("../../utils/isStandardSyntaxRule"),l=e("../../utils/isStandardSyntaxSelector"),u=e("../../utils/isStandardSyntaxTypeSelector"),c=e("../../utils/optionsMatches"),d=e("../../utils/parseSelector"),p=e("../../utils/report"),f=e("postcss-resolve-nested-selector"),m=e("../../utils/ruleMessages"),h=e("../../utils/validateOptions"),{isRegExp:g,isString:w}=e("../../utils/validateTypes"),b="selector-max-type",y=m(b,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} type ${1===t?"selector":"selectors"}`}),x=(e,t)=>(s,m)=>{if(!h(m,b,{actual:e,possible:n},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling"],ignoreTypes:[w,g]},optional:!0}))return;const x=c(t,"ignore","descendant"),k=c(t,"ignore","child"),S=c(t,"ignore","compounded"),O=c(t,"ignore","next-sibling");function C(s,i){const n=s.reduce((e,s)=>(("selector"===s.type||r(s))&&C(s,i),c(t,"ignoreTypes",s.value)?e:x&&(e=>{if(!e.parent)return!1;const t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(e=>(s=e,!!s&&v(s)&&w(s.value)&&o(s.value)));var s})(s)?e:k&&(e=>{if(!e.parent)return!1;const t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(e=>(s=e,!!s&&v(s)&&">"===s.value));var s})(s)?e:S&&(e=>!(!e.prev()||v(e.prev()))||e.next()&&!v(e.next()))(s)?e:O&&(a=s).prev()&&v(l=a.prev())&&"+"===l.value?e:"tag"===s.type&&!u(s)||"tag"!==s.type?e:e+1),0);var a,l;if("root"!==s.type&&"pseudo"!==s.type&&n>e){const t=s.toString();p({ruleName:b,result:m,node:i,message:y.expected(t,e),word:t})}}s.walkRules(e=>{const t=e.selectors;if(a(e)&&!t.some(e=>i(e)))for(const t of e.selectors)for(const s of f(t,e))l(s)&&d(s,m,e,t=>C(t,e))})};function v(e){return!!e&&"combinator"===e.type}x.ruleName=b,x.messages=y,x.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-type"},t.exports=x},{"../../utils/isContextFunctionalPseudoClass":364,"../../utils/isKeyframeSelector":375,"../../utils/isNonNegativeInteger":377,"../../utils/isOnlyWhitespace":379,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/isStandardSyntaxTypeSelector":396,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-resolve-nested-selector":28}],286:[(e,t,s)=>{const r=e("../../utils/isNonNegativeInteger"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("postcss-resolve-nested-selector"),l=e("../../utils/ruleMessages"),u=e("postcss-selector-parser"),c=e("../../utils/validateOptions"),d="selector-max-universal",p=l(d,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} universal ${1===t?"selector":"selectors"}`}),f=e=>(t,s)=>{function l(t,r){const i=t.reduce((e,t)=>("selector"===t.type&&l(t,r),"universal"===t.type&&(e+=1),e),0);if("root"!==t.type&&"pseudo"!==t.type&&i>e){const i=t.toString();o({ruleName:d,result:s,node:r,message:p.expected(i,e),word:i})}}c(s,d,{actual:e,possible:r})&&t.walkRules(e=>{if(!i(e))return;const t=[];u().astSync(e.selector).walk(e=>{"selector"===e.type&&t.push(String(e).trim())});for(const r of t)for(const t of a(r,e))n(t,s,e,t=>l(t,e))})};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/selector-max-universal"},t.exports=f},{"../../utils/isNonNegativeInteger":377,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28,"postcss-selector-parser":29}],287:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{isRegExp:a,isString:l}=e("../../utils/validateTypes"),u="selector-nested-pattern",c=n(u,{expected:(e,t)=>`Expected nested selector "${e}" to match pattern "${t}"`}),d=e=>(t,s)=>{if(!o(s,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkRules(t=>{if(t.parent&&"rule"!==t.parent.type)return;if(!r(t))return;const o=t.selector;n.test(o)||i({result:s,ruleName:u,message:c.expected(o,e),node:t})})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-nested-pattern"},t.exports=d},{"../../utils/isStandardSyntaxRule":394,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],288:[(e,t,s)=>{const r=e("../../utils/isKeyframeRule"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/isStandardSyntaxSelector"),o=e("../../utils/optionsMatches"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),p="selector-no-qualifying-type",f=c(p,{rejected:"Unexpected qualifying type selector"}),m=["#",".","["],h=(e,t)=>(s,c)=>{d(c,p,{actual:e,possible:[!0,!1]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0})&&s.walkRules(e=>{if(i(e)&&!r(e)&&(g=e.selector,m.some(e=>g.includes(e))))for(const t of u(e.selector,e))n(t)&&a(t,c,e,s);function s(e){e.walkTags(e=>{const s=e.parent;if(s&&1===s.nodes.length)return;const r=(t=>{const s=[];let r=e;for(;(r=r.next())&&"combinator"!==r.type;)"id"!==r.type&&"class"!==r.type&&"attribute"!==r.type||s.push(r);return s})(),i=e.sourceIndex;for(const e of r)"id"!==e.type||o(t,"ignore","id")||d(i),"class"!==e.type||o(t,"ignore","class")||d(i),"attribute"!==e.type||o(t,"ignore","attribute")||d(i)})}function d(t){l({ruleName:p,result:c,node:e,message:f.rejected,index:t})}})};var g;h.ruleName=p,h.messages=f,h.meta={url:"https://stylelint.io/user-guide/rules/list/selector-no-qualifying-type"},t.exports=h},{"../../utils/isKeyframeRule":374,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-resolve-nested-selector":28}],289:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/isStandardSyntaxSelector"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isPseudoClass:u,isAttribute:c,isClassName:d,isUniversal:p,isIdentifier:f,isTag:m}=e("postcss-selector-parser"),{assert:h}=e("../../utils/validateTypes"),g="selector-not-notation",w=a(g,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),b=e=>u(e)||c(e)||d(e)||p(e)||f(e)||m(e),y=e=>u(e)&&void 0!==e.value&&":not"===e.value.toLowerCase(),x=(e,t,s)=>(t,a)=>{l(a,g,{actual:e,possible:["simple","complex"]})&&t.walkRules(t=>{if(!r(t))return;const l=t.selector;if(!l.includes(":not("))return;if(!i(l))return;const u=n(l,a,t,r=>{r.walkPseudos(r=>{if(y(r)){if("complex"===e){const e=r.prev();if(!e||!y(e))return;if(s.fix)return(e=>{const t=e=>{for(const t of e)h(t.nodes[0]),t.nodes[0].rawSpaceBefore=" ",t.nodes[0].rawSpaceAfter=""},[s,...r]=e.nodes;let i=e.next();if(null!=s&&0!==s.nodes.length)for(h(s.nodes[0]),s.nodes[0].rawSpaceBefore="",s.nodes[0].rawSpaceAfter="",t(r);y(i);){const s=i.nodes,r=i;t(s),e.nodes=e.nodes.concat(s),i=i.next(),r.remove()}})(e)}else{const e=r.nodes;if((e=>{if(e.length>1)return!1;h(e[0],"list is never empty");const[t,s]=e[0].nodes;return!t||!s&&b(t)&&!y(t)})(e))return;if(s.fix&&e.length>1&&e[1]&&(0===e[1].nodes.length||e.every(({nodes:e})=>1===e.length)))return(e=>{const t=e.nodes.filter(({nodes:e})=>e[0]&&b(e[0])).map(e=>(h(e.nodes[0]),e.nodes[0].rawSpaceBefore="",e.nodes[0].rawSpaceAfter="",e)),s=t.shift();h(s),h(e.parent),e.empty(),e.nodes.push(s);for(const s of t){const t=e.parent.last;e.parent.insertAfter(t,t.clone({nodes:[s]}))}})(r)}o({message:w.expected(e),node:t,index:r.sourceIndex,result:a,ruleName:g})}})});s.fix&&u&&(t.selector=u)})};x.ruleName=g,x.messages=w,x.meta={url:"https://stylelint.io/user-guide/rules/list/selector-not-notation"},t.exports=x},{"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-selector-parser":29}],290:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="selector-pseudo-class-allowed-list",f=a(p,{rejected:e=>`Unexpected pseudo-class "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkRules(t=>{if(!r(t))return;const a=t.selector;a.includes(":")&&n(a,s,t,r=>{r.walkPseudos(r=>{const n=r.value;if("::"===n.slice(0,2))return;const a=n.slice(1);i(u.unprefixed(a),e)||o({index:r.sourceIndex,message:f.rejected(a),node:t,result:s,ruleName:p})})})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-class-allowed-list"},t.exports=m},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],291:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/isStandardSyntaxSelector"),n=e("../../reference/keywordSets"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c="selector-pseudo-class-case",d=l(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),p=(e,t,s)=>(t,l)=>{u(l,c,{actual:e,possible:["lower","upper"]})&&t.walkRules(t=>{if(!r(t))return;if(!t.selector.includes(":"))return;const u=o(t.raws.selector?t.raws.selector.raw:t.selector,l,t,r=>{r.walkPseudos(r=>{const o=r.value;if(!i(o))return;if(o.includes("::")||n.levelOneAndTwoPseudoElements.has(o.toLowerCase().slice(1)))return;const u="lower"===e?o.toLowerCase():o.toUpperCase();o!==u&&(s.fix?r.value=u:a({message:d.expected(o,u),node:t,index:r.sourceIndex,ruleName:c,result:l}))})});s.fix&&u&&(t.raws.selector?t.raws.selector.raw=u:t.selector=u)})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case"},t.exports=p},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],292:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="selector-pseudo-class-disallowed-list",f=a(p,{rejected:e=>`Unexpected pseudo-class "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkRules(t=>{if(!r(t))return;const a=t.selector;a.includes(":")&&n(a,s,t,r=>{r.walkPseudos(r=>{const n=r.value;if("::"===n.slice(0,2))return;const a=n.slice(1);i(u.unprefixed(a),e)&&o({index:r.sourceIndex,message:f.rejected(a),node:t,result:s,ruleName:p})})})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-class-disallowed-list"},t.exports=m},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],293:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/isCustomSelector"),n=e("../../utils/isStandardSyntaxAtRule"),o=e("../../utils/isStandardSyntaxRule"),a=e("../../utils/isStandardSyntaxSelector"),l=e("../../reference/keywordSets"),u=e("../../utils/optionsMatches"),c=e("../../utils/parseSelector"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),m=e("../../utils/vendor"),{isString:h}=e("../../utils/validateTypes"),g="selector-pseudo-class-no-unknown",w=p(g,{rejected:e=>`Unexpected unknown pseudo-class selector "${e}"`}),b=(e,t)=>(s,p)=>{f(p,g,{actual:e},{actual:t,possible:{ignorePseudoClasses:[h]},optional:!0})&&s.walk(e=>{let s=null;if("rule"===e.type){if(!o(e))return;s=e.selector}else if("atrule"===e.type&&"page"===e.name&&e.params){if(!n(e))return;s=e.params}s&&s.includes(":")&&c(s,p,y=e,e=>{e.walkPseudos(e=>{const s=e.value;if(!a(s))return;if(i(s))return;if("::"===s.slice(0,2))return;if(u(t,"ignorePseudoClasses",e.value.slice(1)))return;let n=null;const o=s.slice(1).toLowerCase();if("atrule"===y.type&&"page"===y.name){if(l.atRulePagePseudoClasses.has(o))return;n=r(y)+e.sourceIndex}else{if(m.prefix(o)||l.pseudoClasses.has(o)||l.pseudoElements.has(o))return;let t=e;do{if((t=t.prev())&&"::"===t.value.slice(0,2))break}while(t);if(t){const e=t.value.toLowerCase().slice(2);if(l.webkitScrollbarPseudoElements.has(e)&&l.webkitScrollbarPseudoClasses.has(o))return}n=e.sourceIndex}d({message:w.rejected(s),node:y,index:n,ruleName:g,result:p,word:s})})})})};var y;b.ruleName=g,b.messages=w,b.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown"},t.exports=b},{"../../reference/keywordSets":110,"../../utils/atRuleParamIndex":326,"../../utils/isCustomSelector":371,"../../utils/isStandardSyntaxAtRule":385,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],294:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/parseSelector"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="selector-pseudo-class-parentheses-space-inside",u=o(l,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),c=(e,t,s)=>(t,o)=>{a(o,l,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{if(!r(t))return;if(!t.selector.includes("("))return;let a=!1;const c=t.raws.selector?t.raws.selector.raw:t.selector,f=i(c,o,t,t=>{t.walkPseudos(t=>{if(!t.length)return;const r=t.map(e=>String(e)).join(","),i=r.startsWith(" "),n=t.sourceIndex+t.value.length+1;i&&"never"===e&&(s.fix?(a=!0,d(t,"")):m(u.rejectedOpening,n)),i||"always"!==e||(s.fix?(a=!0,d(t," ")):m(u.expectedOpening,n));const o=r.endsWith(" "),l=n+r.length-1;o&&"never"===e&&(s.fix?(a=!0,p(t,"")):m(u.rejectedClosing,l)),o||"always"!==e||(s.fix?(a=!0,p(t," ")):m(u.expectedClosing,l))})});function m(e,s){n({message:e,index:s,result:o,ruleName:l,node:t})}a&&f&&(t.raws.selector?t.raws.selector.raw=f:t.selector=f)})};function d(e,t){const s=e.first;"selector"===s.type?d(s,t):s.spaces.before=t}function p(e,t){const s=e.last;"selector"===s.type?p(s,t):s.spaces.after=t}c.ruleName=l,c.messages=u,c.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside"},t.exports=c},{"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],295:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="selector-pseudo-element-allowed-list",f=a(p,{rejected:e=>`Unexpected pseudo-element "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkRules(t=>{if(!r(t))return;const a=t.selector;a.includes("::")&&n(a,s,t,r=>{r.walkPseudos(r=>{const n=r.value;if(":"!==n[1])return;const a=n.slice(2);i(u.unprefixed(a),e)||o({index:r.sourceIndex,message:f.rejected(a),node:t,result:s,ruleName:p})})})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-element-allowed-list"},t.exports=m},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],296:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/isStandardSyntaxSelector"),n=e("../../reference/keywordSets"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/transformSelector"),u=e("../../utils/validateOptions"),c="selector-pseudo-element-case",d=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),p=(e,t,s)=>(t,a)=>{u(a,c,{actual:e,possible:["lower","upper"]})&&t.walkRules(t=>{r(t)&&t.selector.includes(":")&&l(a,t,r=>{r.walkPseudos(r=>{const l=r.value;if(!i(l))return;if(!l.includes("::")&&!n.levelOneAndTwoPseudoElements.has(l.toLowerCase().slice(1)))return;const u="lower"===e?l.toLowerCase():l.toUpperCase();l!==u&&(s.fix?r.value=u:o({message:d.expected(l,u),node:t,index:r.sourceIndex,ruleName:c,result:a}))})})})};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case"},t.exports=p},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/transformSelector":416,"../../utils/validateOptions":420}],297:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../reference/keywordSets"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="selector-pseudo-element-colon-notation",c=a(u,{expected:e=>`Expected ${e} colon pseudo-element notation`}),d=(e,t,s)=>(t,a)=>{if(!l(a,u,{actual:e,possible:["single","double"]}))return;let d="";"single"===e?d=":":"double"===e&&(d="::"),t.walkRules(t=>{if(!r(t))return;const l=t.selector;if(!l.includes(":"))return;const p=n(l,a,t,r=>{r.walkPseudos(r=>{const n=r.value.replace(/:/g,"");if(!i.levelOneAndTwoPseudoElements.has(n.toLowerCase()))return;const l=r.value.startsWith("::");("single"!==e||l)&&("double"===e&&l||(s.fix?r.replaceWith(r.clone({value:d+n})):o({message:c.expected(e),node:t,index:r.sourceIndex,result:a,ruleName:u})))})});s.fix&&p&&(t.selector=p)})};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation"},t.exports=d},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],298:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u=e("../../utils/vendor"),{isRegExp:c,isString:d}=e("../../utils/validateTypes"),p="selector-pseudo-element-disallowed-list",f=a(p,{rejected:e=>`Unexpected pseudo-element "${e}"`}),m=e=>(t,s)=>{l(s,p,{actual:e,possible:[d,c]})&&t.walkRules(t=>{if(!r(t))return;const a=t.selector;a.includes("::")&&n(a,s,t,r=>{r.walkPseudos(r=>{const n=r.value;if(":"!==n[1])return;const a=n.slice(2);i(u.unprefixed(a),e)&&o({index:r.sourceIndex,message:f.rejected(a),node:t,result:s,ruleName:p})})})})};m.primaryOptionArray=!0,m.ruleName=p,m.messages=f,m.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-element-disallowed-list"},t.exports=m},{"../../utils/isStandardSyntaxRule":394,"../../utils/matchesStringOrRegExp":403,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],299:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/isStandardSyntaxSelector"),n=e("../../reference/keywordSets"),o=e("../../utils/optionsMatches"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d=e("../../utils/vendor"),{isString:p}=e("../../utils/validateTypes"),f="selector-pseudo-element-no-unknown",m=u(f,{rejected:e=>`Unexpected unknown pseudo-element selector "${e}"`}),h=(e,t)=>(s,u)=>{c(u,f,{actual:e},{actual:t,possible:{ignorePseudoElements:[p]},optional:!0})&&s.walkRules(e=>{if(!r(e))return;const s=e.selector;s.includes(":")&&a(s,u,e,s=>{s.walkPseudos(s=>{const r=s.value;if(!i(r))return;if("::"!==r.slice(0,2))return;if(o(t,"ignorePseudoElements",s.value.slice(2)))return;const a=r.slice(2);d.prefix(a)||n.pseudoElements.has(a.toLowerCase())||l({message:m.rejected(r),node:e,index:s.sourceIndex,ruleName:f,result:u,word:r})})})})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown"},t.exports=h},{"../../reference/keywordSets":110,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxSelector":395,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422}],300:[(e,t,s)=>{const r=e("../../utils/isKeyframeSelector"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/isStandardSyntaxTypeSelector"),o=e("../../utils/optionsMatches"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),{isString:d}=e("../../utils/validateTypes"),p=e("../../reference/keywordSets"),f="selector-type-case",m=u(f,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),h=(e,t,s)=>(u,h)=>{c(h,f,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[d]},optional:!0})&&u.walkRules(u=>{let c=u.raws.selector&&u.raws.selector.raw;const d=c||u.selector,g=u.selectors;i(u)&&(g.some(e=>r(e))||a(d,h,u,r=>{r.walkTags(r=>{if(!n(r))return;if(p.validMixedCaseSvgElements.has(r.value))return;if(o(t,"ignoreTypes",r.value))return;const i=r.sourceIndex,a=r.value,d="lower"===e?a.toLowerCase():a.toUpperCase();if(a!==d)if(s.fix)if(c){if(c=c.slice(0,i)+d+c.slice(i+a.length),null==u.raws.selector)throw new Error("The `raw` property must be present");u.raws.selector.raw=c}else u.selector=u.selector.slice(0,i)+d+u.selector.slice(i+a.length);else l({message:m.expected(a,d),node:u,index:i,ruleName:f,result:h})})}))})};h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/selector-type-case"},t.exports=h},{"../../reference/keywordSets":110,"../../utils/isKeyframeSelector":375,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxTypeSelector":396,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],301:[(e,t,s)=>{const r=e("../../utils/isCustomElement"),i=e("../../utils/isKeyframeSelector"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/isStandardSyntaxTypeSelector"),a=e("../../reference/keywordSets"),l=e("mathml-tag-names"),u=e("../../utils/optionsMatches"),c=e("../../utils/parseSelector"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("svg-tags"),m=e("../../utils/validateOptions"),{isRegExp:h,isString:g}=e("../../utils/validateTypes"),w="selector-type-no-unknown",b=p(w,{rejected:e=>`Unexpected unknown type selector "${e}"`}),y=(e,t)=>(s,p)=>{m(p,w,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[g,h],ignoreTypes:[g,h]},optional:!0})&&s.walkRules(e=>{const s=e.selector,m=e.selectors;n(e)&&(m.some(e=>i(e))||c(s,p,e,s=>{s.walkTags(s=>{if(!o(s))return;if(u(t,"ignore","custom-elements")&&r(s.value))return;if(u(t,"ignore","default-namespace")&&"string"!=typeof s.namespace)return;if(u(t,"ignoreNamespaces",s.namespace))return;if(u(t,"ignoreTypes",s.value))return;const i=s.value,n=i.toLowerCase();a.standardHtmlTags.has(n)||f.includes(i)||a.nonStandardHtmlTags.has(n)||l.includes(n)||d({message:b.rejected(i),node:e,index:s.sourceIndex,ruleName:w,result:p,word:i})})}))})};y.ruleName=w,y.messages=b,y.meta={url:"https://stylelint.io/user-guide/rules/list/selector-type-no-unknown"},t.exports=y},{"../../reference/keywordSets":110,"../../utils/isCustomElement":367,"../../utils/isKeyframeSelector":375,"../../utils/isStandardSyntaxRule":394,"../../utils/isStandardSyntaxTypeSelector":396,"../../utils/optionsMatches":406,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"mathml-tag-names":20,"svg-tags":434}],302:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxRule"),i=e("../utils/parseSelector"),n=e("../utils/report"),o=e("style-search");t.exports=(e=>{var t,s,a,l,u;e.root.walkRules(c=>{if(!r(c))return;if(!c.selector.includes("[")||!c.selector.includes("="))return;let d=!1;const p=c.raws.selector?c.raws.selector.raw:c.selector,f=i(p,e.result,c,r=>{r.walkAttributes(r=>{const i=r.operator;if(!i)return;const p=r.toString();o({source:p,target:i},o=>{const f=e.checkBeforeOperator?o.startIndex:o.endIndex-1;t=p,s=f,a=c,l=r,u=i,e.locationChecker({source:t,index:s,err(t){e.fix&&e.fix(l)?d=!0:n({message:t.replace(e.checkBeforeOperator?u.charAt(0):u.charAt(u.length-1),u),node:a,index:l.sourceIndex+s,result:e.result,ruleName:e.checkedRuleName})}})})})});d&&f&&(c.raws.selector?c.raws.selector.raw=f:c.selector=f)})})},{"../utils/isStandardSyntaxRule":394,"../utils/parseSelector":407,"../utils/report":412,"style-search":92}],303:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxCombinator"),i=e("../utils/isStandardSyntaxRule"),n=e("../utils/parseSelector"),o=e("../utils/report");t.exports=(e=>{let t;var s,a,l,u,c;e.root.walkRules(d=>{if(!i(d))return;t=!1;const p=d.raws.selector?d.raws.selector.raw:d.selector,f=n(p,e.result,d,i=>{i.walkCombinators(i=>{if(!r(i))return;if(/\s/.test(i.value))return;if("before"===e.locationType&&!i.prev())return;const n=i.parent&&i.parent.parent;if(n&&"pseudo"===n.type)return;const f=i.sourceIndex,m=i.value.length>1&&"before"===e.locationType?f:f+i.value.length-1;s=p,a=i,l=m,u=d,c=f,e.locationChecker({source:s,index:l,errTarget:a.value,err(s){e.fix&&e.fix(a)?t=!0:o({message:s,node:u,index:c,result:e.result,ruleName:e.checkedRuleName})}})})});t&&f&&(d.raws.selector?d.raws.selector.raw=f:d.selector=f)})})},{"../utils/isStandardSyntaxCombinator":387,"../utils/isStandardSyntaxRule":394,"../utils/parseSelector":407,"../utils/report":412}],304:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxRule"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,s,o;e.root.walkRules(a=>{if(!r(a))return;const l=a.raws.selector?a.raws.selector.raw:a.selector;n({source:l,target:",",functionArguments:"skip"},r=>{t=l,s=r.startIndex,o=a,e.locationChecker({source:t,index:s,err(t){e.fix&&e.fix(o,s)||i({message:t,node:o,index:s,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/isStandardSyntaxRule":394,"../utils/report":412,"style-search":92}],305:[(e,t,s)=>{const r=e("../../utils/isStandardSyntaxDeclaration"),i=e("../../utils/isStandardSyntaxProperty"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("postcss-value-parser"),u=e("../../utils/vendor"),c="shorthand-property-no-redundant-values",d=o(c,{rejected:(e,t)=>`Unexpected longhand value '${e}' instead of '${t}'`}),p=new Set(["margin","padding","border-color","border-radius","border-style","border-width","grid-gap"]),f=["+","*","/","(",")","$","@","--","var("],m=(e,t,s)=>(t,o)=>{a(o,c,{actual:e})&&t.walkDecls(e=>{if(!r(e)||!i(e.prop))return;const t=e.prop,a=e.value,m=u.unprefixed(t.toLowerCase());if(g=a,f.some(e=>g.includes(e))||(h=m,!p.has(h)))return;const w=[];if(l(a).walk(e=>{"word"===e.type&&w.push(l.stringify(e))}),w.length<=1||w.length>4)return;const b=((e,t,s,r)=>{const i=e.toLowerCase(),n=t.toLowerCase(),o=s&&s.toLowerCase(),a=r&&r.toLowerCase();return((e,t,s,r)=>e===t&&(e===s&&(s===r||!r)||!s&&!r))(i,n,o,a)?[e]:(u=n,d=a,(l=i)===(c=o)&&u===d||l===c&&!d&&l!==u?[e,t]:n===a?[e,t,s]:[e,t,s,r]);var l,u,c,d})(w[0]||"",w[1]||"",w[2]||"",w[3]||"").filter(Boolean).join(" "),y=w.join(" ");b.toLowerCase()!==y.toLowerCase()&&(s.fix?e.value=e.value.replace(a,b):n({message:d.rejected(a,b),node:e,result:o,ruleName:c}))})};var h,g;m.ruleName=c,m.messages=d,m.meta={url:"https://stylelint.io/user-guide/rules/list/shorthand-property-no-redundant-values"},t.exports=m},{"../../utils/isStandardSyntaxDeclaration":389,"../../utils/isStandardSyntaxProperty":393,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/vendor":422,"postcss-value-parser":59}],306:[(e,t,r)=>{const i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/isStandardSyntaxSelector"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),d=e("postcss-value-parser"),p="string-no-newline",f=/\r?\n/,m=u(p,{rejected:"Unexpected newline in string"}),h=e=>(t,r)=>{function u(e,t,s){f.test(t)&&d(t).walk(t=>{if("string"!==t.type)return;const i=f.exec(t.value);if(!i)return;const n=[t.quote,i.input.slice(0,i.index)].reduce((e,t)=>e+t.length,t.sourceIndex);l({message:m.rejected,node:e,index:s(e)+n,result:r,ruleName:p})})}c(r,p,{actual:e})&&t.walk(e=>{switch(e.type){case"atrule":u(e,e.params,i);break;case"decl":u(e,e.value,n);break;case"rule":s=e,f.test(s.selector)&&o(s.selector)&&a(s.selector,r,s,e=>{e.walkAttributes(e=>{const t=f.exec(e.value||"");if(!t)return;const i=[e.attribute,e.operator||"",t.input.slice(0,t.index)].reduce((e,t)=>e+t.length,e.sourceIndex+1);l({message:m.rejected,node:s,index:i,result:r,ruleName:p})})})}})};h.ruleName=p,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/string-no-newline"},t.exports=h},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxSelector":395,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],307:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/isStandardSyntaxRule"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("postcss-value-parser"),{isBoolean:d,assertString:p}=e("../../utils/validateTypes"),f="string-quotes",m=l(f,{expected:e=>`Expected ${e} quotes`}),h=(e,t,s)=>{const l="single"===e?"'":'"',h="single"===e?'"':"'";return(w,b)=>{if(!u(b,f,{actual:e,possible:["single","double"]},{actual:t,possible:{avoidEscape:[d]},optional:!0}))return;const y=!t||void 0===t.avoidEscape||t.avoidEscape;function x(t,r,i){const n=[];if(r.includes(h)&&("atrule"!==t.type||"charset"!==t.name)){c(r).walk(r=>{if("string"===r.type&&r.quote===h){const o=r.value.includes(l);if(y&&o)return;const u=r.sourceIndex;if(s.fix&&!o){const e=u+r.value.length+h.length;n.push(u,e)}else a({message:m.expected(e),node:t,index:i(t)+u,result:b,ruleName:f})}});for(const e of n)"atrule"===t.type?t.params=g(t.params,e,l):t.value=g(t.value,e,l)}}w.walk(t=>{switch(t.type){case"atrule":x(t,t.params,r);break;case"decl":x(t,t.value,i);break;case"rule":(t=>{if(!n(t))return;if(!t.selector.includes("[")||!t.selector.includes("="))return;const r=[];o(t.selector,b,t,r=>{let i=!1;r.walkAttributes(r=>{if(r.quoted){if(r.quoteMark===l&&y){p(r.value);const n=r.value.includes(l);if(r.value.includes(h))return;n&&(s.fix?(i=!0,r.quoteMark=h):a({message:m.expected("single"===e?"double":e),node:t,index:r.sourceIndex+r.offsetOf("value"),result:b,ruleName:f}))}if(r.quoteMark===h){if(y){p(r.value);const n=r.value.includes(l);if(r.value.includes(h))return void(s.fix?(i=!0,r.quoteMark=l):a({message:m.expected(e),node:t,index:r.sourceIndex+r.offsetOf("value"),result:b,ruleName:f}));if(n)return}s.fix?(i=!0,r.quoteMark=l):a({message:m.expected(e),node:t,index:r.sourceIndex+r.offsetOf("value"),result:b,ruleName:f})}}}),i&&(t.selector=r.toString())});for(const e of r)t.selector=g(t.selector,e,l)})(t)}})}};function g(e,t,s){return e.substring(0,t)+s+e.substring(t+s.length)}h.ruleName=f,h.messages=m,h.meta={url:"https://stylelint.io/user-guide/rules/list/string-quotes"},t.exports=h},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/isStandardSyntaxRule":394,"../../utils/parseSelector":407,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],308:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../reference/keywordSets"),n=e("../../utils/optionsMatches"),o=e("postcss"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("postcss-value-parser"),d=e("../../utils/vendor"),{isNumber:p}=e("../../utils/validateTypes"),f="time-min-milliseconds",m=l(f,{expected:e=>`Expected a minimum of ${e} milliseconds`}),h=new Set(["animation-delay","transition-delay"]),g=(e,t)=>(s,l)=>{if(!u(l,f,{actual:e,possible:p},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;const g=e;function w(e){for(const t of e)if(c.unit(t))return t}function b(e){const t=c.unit(e);if(!t)return!0;const s=Number(t.number);if(s<=0)return!0;const r=t.unit.toLowerCase();return!("ms"===r&&s{const s=d.unprefixed(e.prop.toLowerCase());if(!i.longhandTimeProperties.has(s)||(e=>!(!n(t,"ignore","delay")||!h.has(e)))(s)||b(e.value)||y(e),i.shorthandTimeProperties.has(s)){const s=o.list.comma(e.value);for(const r of s){const s=o.list.space(r);if(n(t,"ignore","delay")){const t=w(s);t&&!b(t)&&y(e,e.value.indexOf(t))}else for(const t of s)b(t)||y(e,e.value.indexOf(t))}}})};g.ruleName=f,g.messages=m,g.meta={url:"https://stylelint.io/user-guide/rules/list/time-min-milliseconds"},t.exports=g},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,postcss:79,"postcss-value-parser":59}],309:[(e,t,s)=>{const r=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="unicode-bom",a=i(o,{expected:"Expected Unicode BOM",rejected:"Unexpected Unicode BOM"}),l=e=>(t,s)=>{if(!n(s,o,{actual:e,possible:["always","never"]})||!t.source||t.source.inline||"object-literal"===t.source.lang||void 0!==t.document)return;const{hasBOM:i}=t.source.input;"always"!==e||i||r({result:s,ruleName:o,message:a.expected,node:t,line:1}),"never"===e&&i&&r({result:s,ruleName:o,message:a.rejected,node:t,line:1})};l.ruleName=o,l.messages=a,l.meta={url:"https://stylelint.io/user-guide/rules/list/unicode-bom"},t.exports=l},{"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420}],310:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getUnitFromValueNode"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateObjectWithArrayProps"),c=e("../../utils/validateOptions"),d=e("postcss-value-parser"),{isRegExp:p,isString:f}=e("../../utils/validateTypes"),m="unit-allowed-list",h=l(m,{rejected:e=>`Unexpected unit "${e}"`}),g=(e,t)=>(s,l)=>{if(!c(l,m,{actual:e,possible:[f]},{optional:!0,actual:t,possible:{ignoreFunctions:[f,p],ignoreProperties:[u(f,p)]}}))return;const g=[e].flat();function w(e,s,r){s=s.replace(/\*/g,","),d(s).walk(s=>{if("function"===s.type){const e=s.value.toLowerCase();if("url"===e)return!1;if(o(t,"ignoreFunctions",e))return!1}const i=n(s);!i||i&&g.includes(i.toLowerCase())||"prop"in e&&t&&o(t.ignoreProperties,i.toLowerCase(),e.prop)||a({index:r(e)+s.sourceIndex,message:h.rejected(i),node:e,result:l,ruleName:m})})}s.walkAtRules(/^media$/i,e=>w(e,e.params,r)),s.walkDecls(e=>w(e,e.value,i))};g.primaryOptionArray=!0,g.ruleName=m,g.messages=h,g.meta={url:"https://stylelint.io/user-guide/rules/list/unit-allowed-list"},t.exports=g},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getUnitFromValueNode":350,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],311:[(e,s,r)=>{const i=e("../../utils/atRuleParamIndex"),n=e("../../utils/declarationValueIndex"),o=e("../../utils/getUnitFromValueNode"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("postcss-value-parser"),d="unit-case",p=l(d,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),f=(e,s,r)=>(s,l)=>{function f(s,i,n){const u=[];function f(t){const r=o(t);if(!r)return!1;const i="lower"===e?r.toLowerCase():r.toUpperCase();return r!==i&&(u.push({index:n(s)+t.sourceIndex,message:p.expected(r,i)}),!0)}const m=c(i).walk(s=>{let i=!1;const n=s.value;if("function"===s.type&&"url"===n.toLowerCase())return!1;n.includes("*")&&n.split("*").some(e=>f(t({},s,{sourceIndex:n.indexOf(e)+e.length+1,value:e}))),(i=f(s))&&r.fix&&(s.value="lower"===e?n.toLowerCase():n.toUpperCase())});if(u.length)if(r.fix)"name"in s&&"media"===s.name?s.params=m.toString():"value"in s&&(s.value=m.toString());else for(const e of u)a({index:e.index,message:e.message,node:s,result:l,ruleName:d})}u(l,d,{actual:e,possible:["lower","upper"]})&&(s.walkAtRules(e=>{(/^media$/i.test(e.name)||"variable"in e)&&f(e,e.params,i)}),s.walkDecls(e=>f(e,e.value,n)))};f.ruleName=d,f.messages=p,f.meta={url:"https://stylelint.io/user-guide/rules/list/unit-case"},s.exports=f},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getUnitFromValueNode":350,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"postcss-value-parser":59}],312:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getUnitFromValueNode"),o=e("postcss-media-query-parser").default,a=e("../../utils/optionsMatches"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateObjectWithArrayProps"),d=e("../../utils/validateOptions"),p=e("postcss-value-parser"),{isRegExp:f,isString:m}=e("../../utils/validateTypes"),h="unit-disallowed-list",g=u(h,{rejected:e=>`Unexpected unit "${e}"`}),w=(e,t)=>(s,u)=>{if(!d(u,h,{actual:e,possible:[m]},{optional:!0,actual:t,possible:{ignoreProperties:[c(m,f)],ignoreMediaFeatureNames:[c(m,f)]}}))return;const w=[e].flat();function O(e,t,s,r,i){const o=n(s);!o||o&&!w.includes(o.toLowerCase())||a(i,o.toLowerCase(),r)||l({index:t+s.sourceIndex,message:g.rejected(o),node:e,result:u,ruleName:h})}s.walkAtRules(/^media$/i,e=>(v=e,k=e.params,S=r,void o(v.params).walk(/^media-feature$/i,e=>{const s=(e=>{const t=e.value.toLowerCase(),s=/((?:-?\w*)*)/.exec(t);return s?s[1]:void 0})(e),r=e.parent.value;p(k).walk(e=>{"word"===e.type&&r.includes(e.value)&&O(v,S(v),e,s,t?t.ignoreMediaFeatureNames:{})})}))),s.walkDecls(e=>(b=e,y=e.value,x=i,y=y.replace(/\*/g,","),void p(y).walk(e=>{if("function"===e.type&&"url"===e.value.toLowerCase())return!1;O(b,x(b),e,b.prop,t?t.ignoreProperties:{})})))};var b,y,x,v,k,S;w.primaryOptionArray=!0,w.ruleName=h,w.messages=g,w.meta={url:"https://stylelint.io/user-guide/rules/list/unit-disallowed-list"},t.exports=w},{"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getUnitFromValueNode":350,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateObjectWithArrayProps":418,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-media-query-parser":24,"postcss-value-parser":59}],313:[(e,t,s)=>{const r=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/getUnitFromValueNode"),o=e("../../utils/isStandardSyntaxAtRule"),a=e("../../utils/isStandardSyntaxDeclaration"),l=e("../../reference/keywordSets"),u=e("postcss-media-query-parser").default,c=e("../../utils/optionsMatches"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),m=e("postcss-value-parser"),h=e("../../utils/vendor"),{isRegExp:g,isString:w,assert:b}=e("../../utils/validateTypes"),y="unit-no-unknown",x=p(y,{rejected:e=>`Unexpected unknown unit "${e}"`}),v=(e,t)=>(s,p)=>{function v(e,s,r){s=s.replace(/\*/g,",");const i=m(s);i.walk(o=>{if("function"===o.type&&("url"===o.value.toLowerCase()||c(t,"ignoreFunctions",o.value)))return!1;const a=n(o);if(a&&!(c(t,"ignoreUnits",a)||l.units.has(a.toLowerCase())&&"x"!==a.toLowerCase())){if("x"===a.toLowerCase()){if("atrule"===e.type&&"media"===e.name&&e.params.toLowerCase().includes("resolution")){let t=!1;if(u(e.params).walk((e,s,r)=>{const i=r[r.length-1];if(e.value.toLowerCase().includes("resolution")&&i&&i.sourceIndex===o.sourceIndex)return t=!0,!1}),t)return}if("decl"===e.type){if("image-resolution"===e.prop.toLowerCase())return;if(/^(?:-webkit-)?image-set[\s(]/i.test(s)){const e=i.nodes.find(e=>"image-set"===h.unprefixed(e.value));b(e),b("nodes"in e);const t=e.nodes[e.nodes.length-1];if(b(t),t.sourceIndex>=o.sourceIndex)return}}}d({index:r(e)+o.sourceIndex,message:x.rejected(a),node:e,result:p,ruleName:y})}})}f(p,y,{actual:e},{actual:t,possible:{ignoreUnits:[w,g],ignoreFunctions:[w,g]},optional:!0})&&(s.walkAtRules(/^media$/i,e=>{o(e)&&v(e,e.params,r)}),s.walkDecls(e=>{a(e)&&v(e,e.value,i)}))};v.ruleName=y,v.messages=x,v.meta={url:"https://stylelint.io/user-guide/rules/list/unit-no-unknown"},t.exports=v},{"../../reference/keywordSets":110,"../../utils/atRuleParamIndex":326,"../../utils/declarationValueIndex":333,"../../utils/getUnitFromValueNode":350,"../../utils/isStandardSyntaxAtRule":385,"../../utils/isStandardSyntaxDeclaration":389,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"../../utils/vendor":422,"postcss-media-query-parser":24,"postcss-value-parser":59}],314:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/getUnitFromValueNode"),o=e("../../utils/isCounterIncrementCustomIdentValue"),a=e("../../utils/isCounterResetCustomIdentValue"),l=e("../../utils/isStandardSyntaxValue"),u=e("../../reference/keywordSets"),c=e("../../utils/optionsMatches"),d=e("../../utils/report"),p=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),m=e("postcss-value-parser"),{isBoolean:h,isRegExp:g,isString:w}=e("../../utils/validateTypes"),b="value-keyword-case",y=p(b,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),x=new Set(["+","-","/","*","%"]),v=new Set(["grid-row","grid-row-start","grid-row-end"]),k=new Set(["grid-column","grid-column-start","grid-column-end"]),S=new Map;for(const e of u.camelCaseKeywords)S.set(e.toLowerCase(),e);const O=(e,t,s)=>(p,O)=>{f(O,b,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[w,g],ignoreKeywords:[w,g],ignoreFunctions:[w,g],camelCaseSvgKeywords:[h]},optional:!0})&&p.walkDecls(p=>{const f=p.prop,h=p.prop.toLowerCase(),g=p.value,w=m(i(p));let C=!1;w.walk(i=>{const m=i.value.toLowerCase();if(u.systemColors.has(m))return;if("function"===i.type&&("url"===m||"var"===m||"counter"===m||"counters"===m||"attr"===m))return!1;if("function"===i.type&&c(t,"ignoreFunctions",m))return!1;const w=i.value;if("word"!==i.type||!l(i.value)||g.includes("#")||x.has(w)||n(i))return;if("animation"===h&&!u.animationShorthandKeywords.has(m)&&!u.animationNameKeywords.has(m))return;if("animation-name"===h&&!u.animationNameKeywords.has(m))return;if("font"===h&&!u.fontShorthandKeywords.has(m)&&!u.fontFamilyKeywords.has(m))return;if("font-family"===h&&!u.fontFamilyKeywords.has(m))return;if("counter-increment"===h&&o(m))return;if("counter-reset"===h&&a(m))return;if(v.has(h)&&!u.gridRowKeywords.has(m))return;if(k.has(h)&&!u.gridColumnKeywords.has(m))return;if("grid-area"===h&&!u.gridAreaKeywords.has(m))return;if("list-style"===h&&!u.listStyleShorthandKeywords.has(m)&&!u.listStyleTypeKeywords.has(m))return;if("list-style-type"===h&&!u.listStyleTypeKeywords.has(m))return;if(c(t,"ignoreKeywords",w))return;if(c(t,"ignoreProperties",f))return;const M=w.toLocaleLowerCase();let N=null;const E=t&&t.camelCaseSvgKeywords||!1;return w!==(N="lower"===e&&S.has(M)&&E?S.get(M):"lower"===e?w.toLowerCase():w.toUpperCase())?s.fix?(C=!0,void(i.value=N)):void d({message:y.expected(w,N),node:p,index:r(p)+i.sourceIndex,result:O,ruleName:b}):void 0}),s.fix&&C&&(p.value=w.toString())})};O.ruleName=b,O.messages=y,O.meta={url:"https://stylelint.io/user-guide/rules/list/value-keyword-case"},t.exports=O},{"../../reference/keywordSets":110,"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/getUnitFromValueNode":350,"../../utils/isCounterIncrementCustomIdentValue":365,"../../utils/isCounterResetCustomIdentValue":366,"../../utils/isStandardSyntaxValue":398,"../../utils/optionsMatches":406,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/validateTypes":421,"postcss-value-parser":59}],315:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/ruleMessages"),o=e("../../utils/setDeclarationValue"),a=e("../../utils/validateOptions"),l=e("../valueListCommaWhitespaceChecker"),u=e("../../utils/whitespaceChecker"),c="value-list-comma-newline-after",d=n(c,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),p=(e,t,s)=>{const n=u("newline",e,d);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let d;if(l({root:t,result:u,locationChecker:n.afterOneOnly,checkedRuleName:c,fix:s.fix?(e,t)=>{if(t<=r(e))return!1;const s=(d=d||new Map).get(e)||[];return s.push(t),d.set(e,s),!0}:null,determineIndex(e,t){const s=e.substring(t.endIndex,e.length);return!/^[ \t]*\/\//.test(s)&&(/^[ \t]*\/\*/.test(s)?e.indexOf("*/",t.endIndex)+1:t.startIndex)}}),d)for(const[t,n]of d.entries())for(const a of n.sort((e,t)=>e-t).reverse()){const n=i(t),l=a-r(t),u=n.slice(0,l+1);let c=n.slice(l+1);e.startsWith("always")?c=s.newline+c:e.startsWith("never-multi-line")&&(c=c.replace(/^\s*/,"")),o(t,u+c)}}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../valueListCommaWhitespaceChecker":320}],316:[(e,t,s)=>{const r=e("../../utils/ruleMessages"),i=e("../../utils/validateOptions"),n=e("../valueListCommaWhitespaceChecker"),o=e("../../utils/whitespaceChecker"),a="value-list-comma-newline-before",l=r(a,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),u=e=>{const t=o("newline",e,l);return(s,r)=>{i(r,a,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&n({root:s,result:r,locationChecker:t.beforeAllowingIndentation,checkedRuleName:a})}};u.ruleName=a,u.messages=l,u.meta={url:"https://stylelint.io/user-guide/rules/list/value-list-comma-newline-before"},t.exports=u},{"../../utils/ruleMessages":413,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../valueListCommaWhitespaceChecker":320}],317:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/ruleMessages"),o=e("../../utils/setDeclarationValue"),a=e("../../utils/validateOptions"),l=e("../valueListCommaWhitespaceChecker"),u=e("../../utils/whitespaceChecker"),c="value-list-comma-space-after",d=n(c,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),p=(e,t,s)=>{const n=u("space",e,d);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let d;if(l({root:t,result:u,locationChecker:n.after,checkedRuleName:c,fix:s.fix?(e,t)=>{if(t<=r(e))return!1;const s=(d=d||new Map).get(e)||[];return s.push(t),d.set(e,s),!0}:null}),d)for(const[t,s]of d.entries())for(const n of s.sort((e,t)=>t-e)){const s=i(t),a=n-r(t),l=s.slice(0,a+1);let u=s.slice(a+1);e.startsWith("always")?u=u.replace(/^\s*/," "):e.startsWith("never")&&(u=u.replace(/^\s*/,"")),o(t,l+u)}}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/value-list-comma-space-after"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../valueListCommaWhitespaceChecker":320}],318:[(e,t,s)=>{const r=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/ruleMessages"),o=e("../../utils/setDeclarationValue"),a=e("../../utils/validateOptions"),l=e("../valueListCommaWhitespaceChecker"),u=e("../../utils/whitespaceChecker"),c="value-list-comma-space-before",d=n(c,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),p=(e,t,s)=>{const n=u("space",e,d);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let d;if(l({root:t,result:u,locationChecker:n.before,checkedRuleName:c,fix:s.fix?(e,t)=>{if(t<=r(e))return!1;const s=(d=d||new Map).get(e)||[];return s.push(t),d.set(e,s),!0}:null}),d)for(const[t,s]of d.entries())for(const n of s.sort((e,t)=>t-e)){const s=i(t),a=n-r(t);let l=s.slice(0,a);const u=s.slice(a);e.startsWith("always")?l=l.replace(/\s*$/," "):e.startsWith("never")&&(l=l.replace(/\s*$/,"")),o(t,l+u)}}};p.ruleName=c,p.messages=d,p.meta={url:"https://stylelint.io/user-guide/rules/list/value-list-comma-space-before"},t.exports=p},{"../../utils/declarationValueIndex":333,"../../utils/getDeclarationValue":341,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/whitespaceChecker":423,"../valueListCommaWhitespaceChecker":320}],319:[(e,t,s)=>{const r=e("../../utils/getDeclarationValue"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/setDeclarationValue"),a=e("../../utils/validateOptions"),{isNumber:l}=e("../../utils/validateTypes"),u="value-list-max-empty-lines",c=n(u,{expected:e=>`Expected no more than ${e} empty ${1===e?"line":"lines"}`}),d=(e,t,s)=>{const n=e+1;return(t,d)=>{if(!a(d,u,{actual:e,possible:l}))return;const p=new RegExp(`(?:\r\n){${n+1},}`),f=new RegExp(`\n{${n+1},}`),m=s.fix?"\n".repeat(n):"",h=s.fix?"\r\n".repeat(n):"";t.walkDecls(t=>{const n=r(t);if(s.fix){const e=n.replace(new RegExp(f,"gm"),m).replace(new RegExp(p,"gm"),h);o(t,e)}else(f.test(n)||p.test(n))&&i({message:c.expected(e),node:t,index:0,result:d,ruleName:u})})}};d.ruleName=u,d.messages=c,d.meta={url:"https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines"},t.exports=d},{"../../utils/getDeclarationValue":341,"../../utils/report":412,"../../utils/ruleMessages":413,"../../utils/setDeclarationValue":415,"../../utils/validateOptions":420,"../../utils/validateTypes":421}],320:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxDeclaration"),i=e("../utils/isStandardSyntaxProperty"),n=e("../utils/report"),o=e("style-search");t.exports=(e=>{var t,s,a;e.root.walkDecls(l=>{if(!r(l)||!i(l.prop))return;const u=l.toString();o({source:u,target:",",functionArguments:"skip"},r=>{const i=e.determineIndex?e.determineIndex(u,r):r.startIndex;!1!==i&&(t=u,s=i,a=l,e.locationChecker({source:t,index:s,err(t){e.fix&&e.fix(a,s)||n({message:t,node:a,index:s,result:e.result,ruleName:e.checkedRuleName})}}))})})})},{"../utils/isStandardSyntaxDeclaration":389,"../utils/isStandardSyntaxProperty":393,"../utils/report":412,"style-search":92}],321:[function(e,t,s){(function(s){(()=>{const r=e("./createStylelint"),i=e("./createStylelintResult"),n=e("./formatters"),o=(e("./utils/getFileIgnorer"),e("./utils/getFormatterOptionsText")),{assert:a}=e("./utils/validateTypes"),l=(e("./utils/allFilesIgnoredError"),e("./prepareReturnValue"));t.exports=(async({allowEmptyInput:e=!1,cache:t=!1,cacheLocation:u,code:c,codeFilename:d,config:p,configBasedir:f,configFile:m,customSyntax:h,cwd:g=s.cwd(),disableDefaultIgnores:w,files:b,fix:y,formatter:x,globbyOptions:v,ignoreDisables:k,ignorePath:S,ignorePattern:O,maxWarnings:C,quiet:M,reportDescriptionlessDisables:N,reportInvalidScopeDisables:E,reportNeedlessDisables:R,syntax:I})=>{Date.now();const A="string"==typeof c;if(!b&&!A||b&&(c||A))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let P;try{P=(e=>{if("string"==typeof e){const t=n[e];if(void 0===t)throw new Error(`You must use a valid formatter option: ${o()} or a function`);return t}return"function"==typeof e?e:(a(n.json),n.json)})(x)}catch(e){return Promise.reject(e)}const T=r({config:p,configFile:m,configBasedir:f,cwd:g,ignoreDisables:k,ignorePath:S,reportNeedlessDisables:R,reportInvalidScopeDisables:E,reportDescriptionlessDisables:N,syntax:I,customSyntax:h,fix:y,quiet:M});if(!b){const e=d;let t;try{const s=await T._lintSource({code:c,codeFilename:e});t=await T._createStylelintResult(s,e)}catch(e){t=await((e,t,s)=>{if("CssSyntaxError"===t.name)return i(e,void 0,void 0,t);throw t})(T,e)}const s=t._postcssResult,r=l([t],C,P,g);return y&&s&&!s.stylelint.ignored&&!s.stylelint.ruleDisableFix&&(r.output=!s.stylelint.disableWritingFix&&s.opts?s.root.toString(s.opts.syntax):c),r}})}).call(this)}).call(this,e("_process"))},{"./createStylelint":96,"./createStylelintResult":97,"./formatters":99,"./prepareReturnValue":109,"./utils/allFilesIgnoredError":324,"./utils/getFileIgnorer":342,"./utils/getFormatterOptionsText":343,"./utils/validateTypes":421,_process:91}],322:[(e,t,s)=>{t.exports=((e,t)=>{const{raws:s}=e;if("string"!=typeof s.after)return e;const r=s.after.split(";"),i=r[r.length-1]||"";return/\r?\n/.test(i)?s.after=s.after.replace(/(\r?\n)/,`${t}$1`):s.after+=t.repeat(2),e})},{}],323:[(e,t,s)=>{t.exports=((e,t)=>{const{raws:s}=e;return"string"!=typeof s.before?e:(s.before=/\r?\n/.test(s.before)?s.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+s.before,e)})},{}],324:[function(e,t,s){t.exports=class extends Error{constructor(){super(),this.message='All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs'}}},{}],325:[(e,t,s)=>{t.exports=((e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&e.length===t.length&&e.every((e,s)=>e===t[s]))},{}],326:[(e,t,s)=>{t.exports=(e=>{let t=1+e.name.length;return e.raws.afterName&&(t+=e.raws.afterName.length),t})},{}],327:[(e,t,s)=>{const{isAtRule:r,isRule:i}=e("./typeGuards");t.exports=((e,{noRawBefore:t}={noRawBefore:!1})=>{let s="";const n=e.raws.before||"";if(t||(s+=n),i(e))s+=e.selector;else{if(!r(e))return"";s+=`@${e.name}${e.raws.afterName||""}${e.params}`}return s+(e.raws.between||"")})},{"./typeGuards":417}],328:[(e,t,s)=>{const r=e("./beforeBlockString"),i=e("./hasBlock"),n=e("./rawNodeString");t.exports=(e=>i(e)?n(e).slice(r(e).length):"")},{"./beforeBlockString":327,"./hasBlock":351,"./rawNodeString":409}],329:[(e,t,s)=>{t.exports=((e,t=" ")=>e.replace(/[#@{}]+/g,t))},{}],330:[(e,t,s)=>{const r=e("../normalizeRuleSettings"),i=e("postcss/lib/result"),n=e("../rules");t.exports=((e,t)=>{if(!e)throw new Error("checkAgainstRule requires an options object with 'ruleName', 'ruleSettings', and 'root' properties");if(!t)throw new Error("checkAgainstRule requires a callback");if(!e.ruleName)throw new Error("checkAgainstRule requires a 'ruleName' option");const s=n[e.ruleName];if(!s)throw new Error(`Rule '${e.ruleName}' does not exist`);if(!e.ruleSettings)throw new Error("checkAgainstRule requires a 'ruleSettings' option");if(!e.root)throw new Error("checkAgainstRule requires a 'root' option");const o=r(e.ruleSettings,e.ruleName);if(!o)return;const a=new i;s(o[0],o[1],{})(e.root,a);for(const e of a.warnings())t(e)})},{"../normalizeRuleSettings":107,"../rules":208,"postcss/lib/result":82}],331:[(e,t,s)=>{t.exports=(e=>{const t=new Error(e);return t.code=78,t})},{}],332:[(e,t,s)=>{const{isString:r}=e("./validateTypes");function i(e,t){return!!t&&!!r(t)&&(!t.startsWith("/")||!t.endsWith("/"))&&!!e.includes(t)&&{match:e,pattern:t,substring:t}}t.exports=((e,t)=>{if(!Array.isArray(t))return i(e,t);for(const s of t){const t=i(e,s);if(t)return t}return!1})},{"./validateTypes":421}],333:[(e,t,s)=>{t.exports=(e=>{const t=e.raws;return[t.prop&&t.prop.prefix,t.prop&&t.prop.raw||e.prop,t.prop&&t.prop.suffix,t.between||":",t.value&&t.value.prefix].reduce((e,t)=>t?e+t.length:e,0)})},{}],334:[(e,t,s)=>{const{isRoot:r,isAtRule:i,isRule:n}=e("./typeGuards");t.exports=((e,t)=>{!function e(s){var o;if((n(o=s)||i(o)||r(o))&&s.nodes&&s.nodes.length){const r=[];for(const t of s.nodes)"decl"===t.type&&r.push(t),e(t);r.length&&t(r.forEach.bind(r))}}(e)})},{"./typeGuards":417}],335:[(e,t,s)=>{const r=e("./getUnitFromValueNode"),i=e("./isStandardSyntaxValue"),n=e("./isVariable"),o=e("../reference/keywordSets"),a=e("postcss-value-parser");t.exports=(e=>{const t=[],s=a(e),{nodes:l}=s;return 1===l.length&&l[0]&&o.basicKeywords.has(l[0].value.toLowerCase())?[l[0]]:(s.walk(e=>{if("function"===e.type)return!1;if("word"!==e.type)return;const s=e.value.toLowerCase();if(!i(s))return;if(n(s))return;if(o.animationShorthandKeywords.has(s))return;const a=r(e);a||""===a||t.push(e)}),t)})},{"../reference/keywordSets":110,"./getUnitFromValueNode":350,"./isStandardSyntaxValue":398,"./isVariable":401,"postcss-value-parser":59}],336:[(e,t,s)=>{const{isAtRule:r,isRule:i}=e("./typeGuards");t.exports=function e(t){const s=t.parent;return s?r(s)?s:i(s)?e(s):null:null}},{"./typeGuards":417}],337:[(e,t,s)=>{const r=e("postcss-value-parser"),i=e("./isNumbery"),n=e("./isStandardSyntaxValue"),o=e("./isValidFontSize"),a=e("./isVariable"),{assert:l}=e("./validateTypes"),u=e("../reference/keywordSets"),c=new Set(["word","string","space","div"]);t.exports=(e=>{const t=[],s=r(e),{nodes:d}=s;if(1===d.length&&d[0]&&u.basicKeywords.has(d[0].value.toLowerCase()))return[d[0]];let p=!1,f=null;var m,h,g;return s.walk((e,s,r)=>{if("function"===e.type)return!1;if(!c.has(e.type))return;const d=e.value.toLowerCase();if(!n(d))return;if(a(d))return;if(u.fontShorthandKeywords.has(d)&&!u.fontFamilyKeywords.has(d))return;if(o(e.value))return;const w=r[s-1],b=r[s-2];if(w&&"/"===w.value&&b&&o(b.value))return;if(i(d))return;if(("space"===e.type||"div"===e.type&&","!==e.value)&&0!==t.length)return p=!0,void(f=e.value);if("space"===e.type||"div"===e.type)return;const y=e;if(p){const e=t[t.length-1];l(e),h=y,g=f,(m=e).value=m.value+g+h.value,p=!1,f=null}else t.push(y)}),t})},{"../reference/keywordSets":110,"./isNumbery":378,"./isStandardSyntaxValue":398,"./isValidFontSize":399,"./isVariable":401,"./validateTypes":421,"postcss-value-parser":59}],338:[(e,t,s)=>{t.exports=(e=>{if(null!=e)return Array.isArray(e)?e:[e]})},{}],339:[(e,t,s)=>{const r=e("balanced-match"),i=e("postcss-value-parser"),{assert:n,isString:o,isRegExp:a}=e("./validateTypes");t.exports=((e,t,s)=>{i(e).walk(i=>{if("function"!==i.type)return;const{value:l}=i;if(o(t)&&l!==t)return;if(a(t)&&!t.test(i.value))return;const u=r("(",")",e.slice(i.sourceIndex));n(u);const c=u.body,d=i.sourceIndex+l.length+1;s(c,d)})})},{"./validateTypes":421,"balanced-match":425,"postcss-value-parser":59}],340:[(e,t,s)=>{t.exports=(e=>{const t=e.raws;return t.params&&t.params.raw||e.params})},{}],341:[(e,t,s)=>{t.exports=(e=>{const t=e.raws;return t.value&&t.value.raw||e.value})},{}],342:[(e,t,s)=>{const r=e("fs"),i=e("path"),{default:n}=e("ignore"),o=e("./isPathNotFoundError");t.exports=(e=>{const t=e.ignorePath||".stylelintignore",s=i.isAbsolute(t)?t:i.resolve(e.cwd,t);let a="";try{a=r.readFileSync(s,"utf8")}catch(e){if(!o(e))throw e}return n().add(a).add(e.ignorePattern||[])})},{"./isPathNotFoundError":380,fs:1,ignore:15,path:22}],343:[(e,t,s)=>{const r=e("../formatters");t.exports=((e={})=>{let t=Object.keys(r).map(e=>`"${e}"`).join(", ");return e.useOr&&(t=t.replace(/, ([a-z"]+)$/u," or $1")),t})},{"../formatters":99}],344:[(e,t,s)=>{t.exports=(e=>{const t=/!\s*important\b/gi,s=t.exec(e);if(s)return{index:s.index,endIndex:t.lastIndex}})},{}],345:[(e,t,s)=>{function r(e){return e&&e.source&&e.source.start&&e.source.start.line}t.exports=function e(t){if(void 0===t)return;const s=t.next();return!s||"comment"!==s.type||r(t)!==r(s)&&r(s)!==r(s.next())?s:e(s)}},{}],346:[(e,t,s)=>{const r=e("os");t.exports=(()=>r.EOL)},{os:1}],347:[(e,t,s)=>{function r(e){return e.source&&e.source.start&&e.source.start.line}t.exports=function e(t){if(void 0===t)return;const s=t.prev();if(!s||"comment"!==s.type)return s;if(r(t)===r(s))return e(s);const i=s.prev();return i&&r(s)===r(i)?e(s):s}},{}],348:[(e,t,s)=>{t.exports=(e=>{const t=e.raws;return t.selector&&t.selector.raw||e.selector})},{}],349:[(e,t,s)=>{const{URL:r}=e("url");t.exports=(e=>{let t=null;try{t=new r(e).protocol}catch(e){return null}if(null===t||void 0===t)return null;const s=t.slice(0,-1),i=t.length;return"//"!==e.slice(i,i+2)&&"data"!==s?null:s})},{url:1}],350:[(e,t,s)=>{const r=e("./blurInterpolation"),i=e("./isStandardSyntaxValue"),n=e("postcss-value-parser");t.exports=(e=>{if(!e||!e.value)return null;if("word"!==e.type)return null;if(!i(e.value))return null;if(e.value.startsWith("#"))return null;const t=r(e.value,"").replace("\\0","").replace("\\9",""),s=n.unit(t);return s?s.unit:null})},{"./blurInterpolation":329,"./isStandardSyntaxValue":398,"postcss-value-parser":59}],351:[(e,t,s)=>{t.exports=(e=>void 0!==e.nodes)},{}],352:[(e,t,s)=>{t.exports=(e=>void 0!==e.nodes&&0===e.nodes.length)},{}],353:[(e,t,s)=>{t.exports=(e=>""!==e&&void 0!==e&&/\n[\r\t ]*\n/.test(e))},{}],354:[(e,t,s)=>{const r=e("../utils/hasLessInterpolation"),i=e("../utils/hasPsvInterpolation"),n=e("../utils/hasScssInterpolation"),o=e("../utils/hasTplInterpolation");t.exports=(e=>!!(r(e)||n(e)||o(e)||i(e)))},{"../utils/hasLessInterpolation":355,"../utils/hasPsvInterpolation":356,"../utils/hasScssInterpolation":357,"../utils/hasTplInterpolation":358}],355:[(e,t,s)=>{t.exports=(e=>/@\{.+?\}/.test(e))},{}],356:[(e,t,s)=>{t.exports=(e=>/\$\(.+?\)/.test(e))},{}],357:[(e,t,s)=>{t.exports=(e=>/#\{.+?\}/.test(e))},{}],358:[(e,t,s)=>{t.exports=(e=>/\{.+?\}/.test(e))},{}],359:[(e,t,s)=>{const r=e("./isSharedLineComment");t.exports=(e=>{const t=e.prev();return!(!t||"comment"!==t.type||r(t))})},{"./isSharedLineComment":383}],360:[(e,t,s)=>{const r=e("./isSharedLineComment");t.exports=(e=>{const t=e.prev();return void 0!==t&&"comment"===t.type&&!r(t)&&t.source&&t.source.start&&t.source.end&&t.source.start.line===t.source.end.line})},{"./isSharedLineComment":383}],361:[(e,t,s)=>{const r=e("./getPreviousNonSharedLineCommentNode"),i=e("./isCustomProperty"),n=e("./isStandardSyntaxDeclaration"),{isDeclaration:o}=e("./typeGuards");t.exports=(e=>{const t=r(e);return void 0!==t&&o(t)&&n(t)&&!i(t.prop||"")})},{"./getPreviousNonSharedLineCommentNode":347,"./isCustomProperty":370,"./isStandardSyntaxDeclaration":389,"./typeGuards":417}],362:[(e,t,s)=>{const r=e("./getPreviousNonSharedLineCommentNode"),i=e("./hasBlock"),{isAtRule:n}=e("./typeGuards");t.exports=(e=>{if("atrule"!==e.type)return!1;const t=r(e);return void 0!==t&&n(t)&&!i(t)&&!i(e)})},{"./getPreviousNonSharedLineCommentNode":347,"./hasBlock":351,"./typeGuards":417}],363:[(e,t,s)=>{const r=e("./getPreviousNonSharedLineCommentNode"),i=e("./isBlocklessAtRuleAfterBlocklessAtRule"),{isAtRule:n}=e("./typeGuards");t.exports=(e=>{if(!i(e))return!1;const t=r(e);return!(!t||!n(t))&&t.name===e.name})},{"./getPreviousNonSharedLineCommentNode":347,"./isBlocklessAtRuleAfterBlocklessAtRule":362,"./typeGuards":417}],364:[(e,t,s)=>{const r=e("../reference/keywordSets");t.exports=(e=>{if("pseudo"===e.type){const t=e.value.toLowerCase().replace(/:+/,"");return r.logicalCombinationsPseudoClasses.has(t)||r.aNPlusBOfSNotationPseudoClasses.has(t)}return!1})},{"../reference/keywordSets":110}],365:[(e,t,s)=>{const r=e("../reference/keywordSets");t.exports=(e=>{const t=e.toLowerCase();return!r.counterIncrementKeywords.has(t)&&!Number.isFinite(Number.parseInt(t,10))})},{"../reference/keywordSets":110}],366:[(e,t,s)=>{const r=e("../reference/keywordSets");t.exports=(e=>{const t=e.toLowerCase();return!r.counterResetKeywords.has(t)&&!Number.isFinite(Number.parseInt(t,10))})},{"../reference/keywordSets":110}],367:[(e,t,s)=>{const r=e("../reference/keywordSets"),i=e("mathml-tag-names"),n=e("svg-tags");t.exports=(e=>{if(!/^[a-z]/.test(e))return!1;if(!e.includes("-"))return!1;const t=e.toLowerCase();return!(t!==e||n.includes(t)||r.standardHtmlTags.has(t)||r.nonStandardHtmlTags.has(t)||i.includes(t))})},{"../reference/keywordSets":110,"mathml-tag-names":20,"svg-tags":434}],368:[(e,t,s)=>{t.exports=(e=>e.startsWith("--"))},{}],369:[(e,t,s)=>{t.exports=(e=>e.startsWith("--"))},{}],370:[(e,t,s)=>{t.exports=(e=>e.startsWith("--"))},{}],371:[(e,t,s)=>{t.exports=(e=>e.startsWith(":--"))},{}],372:[(e,t,s)=>{const{isComment:r,hasSource:i}=e("./typeGuards");t.exports=(e=>{const t=e.parent;if(void 0===t||"root"===t.type)return!1;if(e===t.first)return!0;const s=t.nodes;if(!s)return!1;const n=s[0];if(!n)return!1;if(!r(n)||"string"==typeof n.raws.before&&n.raws.before.includes("\n"))return!1;if(!i(n)||!n.source.start)return!1;const o=n.source.start.line;if(!n.source.end||o!==n.source.end.line)return!1;for(const[t,n]of s.entries())if(0!==t){if(n===e)return!0;if(!r(n)||i(n)&&n.source.end&&n.source.end.line!==o)return!1}return!1})},{"./typeGuards":417}],373:[(e,t,s)=>{const{isRoot:r}=e("./typeGuards");t.exports=(e=>{if(r(e))return!1;const t=e.parent;return!!t&&r(t)&&e===t.first})},{"./typeGuards":417}],374:[(e,t,s)=>{const{isAtRule:r}=e("./typeGuards");t.exports=(e=>{const t=e.parent;return!!t&&r(t)&&"keyframes"===t.name.toLowerCase()})},{"./typeGuards":417}],375:[(e,t,s)=>{const r=e("../reference/keywordSets");t.exports=(e=>!!r.keyframeSelectorKeywords.has(e)||!!/^(?:\d+|\d*\.\d+)%$/.test(e))},{"../reference/keywordSets":110}],376:[(e,t,s)=>{const r=e("../reference/mathFunctions");t.exports=(e=>"function"===e.type&&r.includes(e.value.toLowerCase()))},{"../reference/mathFunctions":111}],377:[(e,t,s)=>{t.exports=(e=>Number.isInteger(e)&&"number"==typeof e&&e>=0)},{}],378:[(e,t,s)=>{t.exports=(e=>0!==e.toString().trim().length&&Number(e)==e)},{}],379:[(e,t,s)=>{const r=e("./isWhitespace");t.exports=(e=>{let t=!0;for(const s of e)if(!r(s)){t=!1;break}return t})},{"./isWhitespace":402}],380:[(e,t,s)=>{const r=e("util");t.exports=(e=>r.types.isNativeError(e)&&"ENOENT"===e.code)},{util:1}],381:[(e,t,s)=>{t.exports=(e=>e.includes("=")||e.includes("<")||e.includes(">"))},{}],382:[(e,t,s)=>{t.exports=(e=>!!e.startsWith("$")||!!e.includes(".$"))},{}],383:[(e,t,s)=>{const r=e("./getNextNonSharedLineCommentNode"),i=e("./getPreviousNonSharedLineCommentNode"),{isRoot:n,isComment:o}=e("./typeGuards");function a(e,t){return(e&&e.source&&e.source.end&&e.source.end.line)===(t&&t.source&&t.source.start&&t.source.start.line)}t.exports=(e=>{if(!o(e))return!1;if(a(i(e),e))return!0;const t=r(e);if(t&&a(e,t))return!0;const s=e.parent;return void 0!==s&&!n(s)&&0===s.index(e)&&void 0!==e.raws.before&&!e.raws.before.includes("\n")})},{"./getNextNonSharedLineCommentNode":345,"./getPreviousNonSharedLineCommentNode":347,"./typeGuards":417}],384:[(e,t,s)=>{t.exports=(e=>!/[\n\r]/.test(e))},{}],385:[(e,t,s)=>{t.exports=(e=>!(!e.nodes&&""===e.params||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&""===e.raws.afterName&&"("===e.params[0]))},{}],386:[(e,t,s)=>{const r=e("./isStandardSyntaxFunction");t.exports=function e(t){if(!r(t))return!1;for(const s of t.nodes){if("function"===s.type)return e(s);if("word"===s.type&&(s.value.startsWith("#")||s.value.startsWith("$")))return!1}return!0}},{"./isStandardSyntaxFunction":390}],387:[(e,t,s)=>{t.exports=(e=>{if("combinator"!==e.type)return!1;if(e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(void 0!==e.parent&&null!==e.parent){const t=e.parent;if(e===t.first)return!1;if(e===t.last)return!1}return!0})},{}],388:[(e,t,s)=>{t.exports=(e=>!("inline"in e||"inline"in e.raws))},{}],389:[(e,t,s)=>{const r=e("./isScssVariable"),{isRoot:i,isRule:n}=e("./typeGuards");t.exports=(e=>{const t=e.prop,s=e.parent;return!(s&&i(s)&&s.source&&(o=s.source.lang,!o||"css"!==o&&"custom-template"!==o&&"template-literal"!==o)||r(t)||"@"===t[0]&&"{"!==t[1]||s&&"atrule"===s.type&&":"===s.raws.afterName||s&&n(s)&&s.selector&&s.selector.startsWith("#")&&s.selector.endsWith("()")||s&&n(s)&&s.selector&&":"===s.selector[s.selector.length-1]&&"--"!==s.selector.substring(0,2)||"extend"in e&&e.extend);var o})},{"./isScssVariable":382,"./typeGuards":417}],390:[(e,t,s)=>{t.exports=(e=>!!e.value&&!e.value.startsWith("#{"))},{}],391:[(e,t,s)=>{t.exports=(e=>!e.includes("["))},{}],392:[(e,t,s)=>{t.exports=(e=>!/#\{.+?\}|\$.+/.test(e))},{}],393:[(e,t,s)=>{const r=e("../utils/hasInterpolation"),i=e("./isScssVariable");t.exports=(e=>!(i(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||r(e)))},{"../utils/hasInterpolation":354,"./isScssVariable":382}],394:[(e,t,s)=>{const r=e("../utils/isStandardSyntaxSelector");t.exports=(e=>!("rule"!==e.type||"extend"in e&&e.extend||!r(e.selector)))},{"../utils/isStandardSyntaxSelector":395}],395:[(e,t,s)=>{const r=e("../utils/hasInterpolation");t.exports=(e=>!(r(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//")))},{"../utils/hasInterpolation":354}],396:[(e,t,s)=>{const r=e("../reference/keywordSets");t.exports=(e=>{if(!e.parent||!e.parent.parent)return!1;const t=e.parent.parent,s=t.type,i=t.value;if(i){const e=i.toLowerCase().replace(/:+/,"");if("pseudo"===s&&(r.aNPlusBNotationPseudoClasses.has(e)||r.aNPlusBOfSNotationPseudoClasses.has(e)||r.linguisticPseudoClasses.has(e)||r.shadowTreePseudoElements.has(e)))return!1}return!(e.prev()&&"nesting"===e.prev().type||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))})},{"../reference/keywordSets":110}],397:[(e,t,s)=>{const r=e("../utils/hasLessInterpolation"),i=e("../utils/hasPsvInterpolation"),n=e("../utils/hasScssInterpolation"),o=e("../utils/hasTplInterpolation");t.exports=(e=>!(0!==e.length&&(n(e)||o(e)||i(e)||(e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?r(e):e.startsWith("@")&&/^@@?[\w-]+$/.test(e)||e.includes("$")&&/^[$\s\w+\-,./*'"]+$/.test(e)&&!e.endsWith("/")))))},{"../utils/hasLessInterpolation":355,"../utils/hasPsvInterpolation":356,"../utils/hasScssInterpolation":357,"../utils/hasTplInterpolation":358}],398:[(e,t,s)=>{const r=e("../utils/hasInterpolation");t.exports=(e=>{let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||t.startsWith("@")||r(t)||/__MSG_\S+__/.test(e))})},{"../utils/hasInterpolation":354}],399:[(e,t,s)=>{const r=e("../reference/keywordSets"),i=e("postcss-value-parser");t.exports=(e=>{if(!e)return!1;if(r.fontSizeKeywords.has(e))return!0;const t=i.unit(e);if(!t)return!1;const s=t.unit;return"%"===s||!!r.lengthUnits.has(s.toLowerCase())})},{"../reference/keywordSets":110,"postcss-value-parser":59}],400:[(e,t,s)=>{t.exports=(e=>/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e))},{}],401:[(e,t,s)=>{t.exports=(e=>e.toLowerCase().startsWith("var("))},{}],402:[(e,t,s)=>{t.exports=(e=>[" ","\n","\t","\r","\f"].includes(e))},{}],403:[(e,t,s)=>{function r(e,t){if(!Array.isArray(t))return i(e,t);for(const s of t){const t=i(e,s);if(t)return t}return!1}function i(e,t){if(t instanceof RegExp){const s=e.match(t);return!!s&&{match:e,pattern:t,substring:s[0]||""}}const s=t[0],r=t[t.length-1],i=t[t.length-2],n="/"===s&&("/"===r||"/"===i&&"i"===r);if(n){const s=n&&"i"===r?e.match(new RegExp(t.slice(1,-2),"i")):e.match(new RegExp(t.slice(1,-1)));return!!s&&{match:e,pattern:t,substring:s[0]||""}}return e===t&&{match:e,pattern:t,substring:e}}t.exports=((e,t)=>{if(!Array.isArray(e))return r(e,t);for(const s of e){const e=r(s,t);if(e)return e}return!1})},{}],404:[(e,t,s)=>{t.exports=function e(t){return t&&t.next?"comment"===t.type?e(t.next()):t:null}},{}],405:[(e,t,s)=>{function r(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}t.exports=(()=>{const e=new Map;return{getContext(t,...s){if(!t.source)throw new Error("The node source must be present");const i=t.source.input.from,n=r(e,i);return s.reduce((e,t)=>r(e,t),n)}}})},{}],406:[(e,t,s)=>{const r=e("./matchesStringOrRegExp");t.exports=((e,t,s)=>Boolean(e&&e[t]&&"string"==typeof s&&r(s,e[t])))},{"./matchesStringOrRegExp":403}],407:[(e,t,s)=>{const r=e("postcss-selector-parser");t.exports=((e,t,s,i)=>{try{return r(i).processSync(e)}catch(e){return void t.warn(`Cannot parse selector (${e})`,{node:s,stylelintType:"parseError"})}})},{"postcss-selector-parser":29}],408:[(e,t,s)=>{t.exports=((e,t,s)=>{if(e.has(t))return e.get(t);const r=s();return e.set(t,r),r})},{}],409:[(e,t,s)=>{t.exports=(e=>{let t="";return e.raws.before&&(t+=e.raws.before),t+e.toString()})},{}],410:[(e,t,s)=>{t.exports=((e,t)=>(e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,t):"",e))},{}],411:[(e,t,s)=>{t.exports=((e,t)=>(e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e))},{}],412:[(e,t,s)=>{t.exports=(e=>{const{ruleName:t,result:s,message:r,line:i,node:n,index:o,endIndex:a,word:l}=e;if(s.stylelint=s.stylelint||{ruleSeverities:{},customMessages:{},ruleMetadata:{}},s.stylelint.quiet&&"error"!==s.stylelint.ruleSeverities[t])return;const{start:u}=n&&n.rangeBy({index:o,endIndex:a})||{},c=i||u&&u.line;if(!c)throw new Error("You must pass either a node or a line number");const{ignoreDisables:d}=s.stylelint.config||{};if(s.stylelint.disabledRanges){const e=s.stylelint.disabledRanges[t]||s.stylelint.disabledRanges.all||[];for(const r of e)if(r.start<=c&&(void 0===r.end||r.end>=c)&&(!r.rules||r.rules.includes(t))){if((s.stylelint.disabledWarnings||(s.stylelint.disabledWarnings=[])).push({rule:t,line:c}),!d)return;break}}const p=s.stylelint.ruleSeverities&&s.stylelint.ruleSeverities[t];s.stylelint.stylelintError||"error"!==p||(s.stylelint.stylelintError=!0);const f={severity:p,rule:t};n&&(f.node=n),e.start?f.start=e.start:o&&(f.index=o),e.end?f.end=e.end:a&&(f.endIndex=a),l&&(f.word=l);const m=s.stylelint.customMessages&&s.stylelint.customMessages[t]||r;s.warn(m,f)})},{}],413:[(e,t,s)=>{t.exports=((e,t)=>{const s={};for(const[r,i]of Object.entries(t))s[r]="string"==typeof i?`${i} (${e})`:(...t)=>`${i(...t)} (${e})`;return s})},{}],414:[(e,t,s)=>{t.exports=((e,t)=>{const s=e.raws;return s.params?s.params.raw=t:e.params=t,e})},{}],415:[(e,t,s)=>{t.exports=((e,t)=>{const s=e.raws;return s.value?s.value.raw=t:e.value=t,e})},{}],416:[(e,t,s)=>{const r=e("postcss-selector-parser");t.exports=((e,t,s)=>{try{return r(s).processSync(t,{updateSelector:!0})}catch(s){return void e.warn("Cannot parse selector",{node:t,stylelintType:"parseError"})}})},{"postcss-selector-parser":29}],417:[(e,t,s)=>{t.exports.isRoot=(e=>"root"===e.type),t.exports.isRule=(e=>"rule"===e.type),t.exports.isAtRule=(e=>"atrule"===e.type),t.exports.isComment=(e=>"comment"===e.type),t.exports.isDeclaration=(e=>"decl"===e.type),t.exports.isValueFunction=(e=>"function"===e.type),t.exports.hasSource=(e=>Boolean(e.source))},{}],418:[(e,t,s)=>{const{isPlainObject:r}=e("./validateTypes");t.exports=((...e)=>t=>!!r(t)&&Object.values(t).flat().every(t=>e.some(e=>e(t))))},{"./validateTypes":421}],419:[(e,t,s)=>{const{isPlainObject:r}=e("./validateTypes");t.exports=(e=>t=>!!r(t)&&Object.values(t).every(t=>e(t)))},{"./validateTypes":421}],420:[(e,t,s)=>{const r=e("./arrayEqual"),{isPlainObject:i}=e("./validateTypes"),n=new Set(["severity","message","reportDisables","disableFix"]);function o(e,t,s){const o=e.possible,u=e.actual,c=e.optional;if(null===u||r(u,[null]))return;const d=void 0===o||Array.isArray(o)&&0===o.length;if(!d||!0!==u)if(void 0!==u){if(d)return c?void s(`Incorrect configuration for rule "${t}". Rule should have "possible" values for options validation`):void s(`Unexpected option value ${l(u)} for rule "${t}"`);if("function"!=typeof o)if(Array.isArray(o))for(const e of[u].flat())a(o,e)||s(`Invalid option value ${l(e)} for rule "${t}"`);else if(i(u)&&"object"==typeof u&&null!=u)for(const[e,r]of Object.entries(u)){if(n.has(e))continue;const i=o&&o[e];if(i)for(const n of[r].flat())a(i,n)||s(`Invalid value ${l(n)} for option "${e}" of rule "${t}"`);else s(`Invalid option name "${e}" for rule "${t}"`)}else s(`Invalid option value ${l(u)} for rule "${t}": should be an object`);else o(u)||s(`Invalid option ${l(u)} for rule "${t}"`)}else{if(d||c)return;s(`Expected option value for rule "${t}"`)}}function a(e,t){for(const s of[e].flat()){if("function"==typeof s&&s(t))return!0;if(t===s)return!0}return!1}function l(e){return"string"==typeof e?`"${e}"`:`"${JSON.stringify(e)}"`}t.exports=((e,t,...s)=>{let r=!0;for(const e of s)o(e,t,i);function i(t){r=!1,e.warn(t,{stylelintType:"invalidOption"}),e.stylelint=e.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}},e.stylelint.stylelintError=!0}return r})},{"./arrayEqual":325,"./validateTypes":421}],421:[(e,t,s)=>{const{isPlainObject:r}=e("is-plain-object");function i(e){return"function"==typeof e||e instanceof Function}function n(e){return"number"==typeof e||e instanceof Number}function o(e){return"string"==typeof e||e instanceof String}t.exports={isBoolean:e=>"boolean"==typeof e||e instanceof Boolean,isFunction:i,isNullish:e=>null==e,isNumber:n,isRegExp:e=>e instanceof RegExp,isString:o,isPlainObject:e=>r(e),assert(e,t){t?console.assert(e,t):console.assert(e)},assertFunction(e){console.assert(i(e),`"${e}" must be a function`)},assertNumber(e){console.assert(n(e),`"${e}" must be a number`)},assertString(e){console.assert(o(e),`"${e}" must be a string`)}}},{"is-plain-object":16}],422:[(e,t,s)=>{t.exports={prefix(e){const t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed:e=>e.replace(/^-\w+-/,"")}},{}],423:[(e,s,r)=>{const i=e("./configurationError"),n=e("./isSingleLineString"),o=e("./isWhitespace"),{assertFunction:a,isNullish:l}=e("./validateTypes");s.exports=((e,s,r)=>{let u;function c({source:e,index:t,err:o,errTarget:a,lineCheckStr:l,onlyOneChar:c=!1,allowIndentation:d=!1}){switch(u={source:e,index:t,err:o,errTarget:a,onlyOneChar:c,allowIndentation:d},s){case"always":p();break;case"never":f();break;case"always-single-line":if(!n(l||e))return;p(r.expectedBeforeSingleLine);break;case"never-single-line":if(!n(l||e))return;f(r.rejectedBeforeSingleLine);break;case"always-multi-line":if(n(l||e))return;p(r.expectedBeforeMultiLine);break;case"never-multi-line":if(n(l||e))return;f(r.rejectedBeforeMultiLine);break;default:throw i(`Unknown expectation "${s}"`)}}function d({source:e,index:t,err:o,errTarget:a,lineCheckStr:l,onlyOneChar:c=!1}){switch(u={source:e,index:t,err:o,errTarget:a,onlyOneChar:c},s){case"always":m();break;case"never":h();break;case"always-single-line":if(!n(l||e))return;m(r.expectedAfterSingleLine);break;case"never-single-line":if(!n(l||e))return;h(r.rejectedAfterSingleLine);break;case"always-multi-line":if(n(l||e))return;m(r.expectedAfterMultiLine);break;case"never-multi-line":if(n(l||e))return;h(r.rejectedAfterMultiLine);break;default:throw i(`Unknown expectation "${s}"`)}}function p(t=r.expectedBefore){if(u.allowIndentation)return void((t=r.expectedBefore)=>{const s=u,i=s.source,n=s.index,o=s.err,l="newline"===e?"\n":void 0;let c=n-1;for(;i[c]!==l;){if("\t"!==i[c]&&" "!==i[c])return a(t),void o(t(u.errTarget||i.charAt(n)));c--}})(t);const s=u,i=s.source,n=s.index,c=i[n-1],d=i[n-2];l(c)||("space"!==e||" "!==c||!u.onlyOneChar&&!l(d)&&o(d))&&(a(t),u.err(t(u.errTarget||i.charAt(n))))}function f(e=r.rejectedBefore){const t=u,s=t.source,i=t.index,n=s[i-1];!l(n)&&o(n)&&(a(e),u.err(e(u.errTarget||s.charAt(i))))}function m(t=r.expectedAfter){const s=u,i=s.source,n=s.index,c=i[n+1],d=i[n+2],p=i[n+3];if(!l(c)){if("newline"===e){if("\r"===c&&"\n"===d&&(u.onlyOneChar||l(p)||!o(p)))return;if("\n"===c&&(u.onlyOneChar||l(d)||!o(d)))return}("space"!==e||" "!==c||!u.onlyOneChar&&!l(d)&&o(d))&&(a(t),u.err(t(u.errTarget||i.charAt(n))))}}function h(e=r.rejectedAfter){const t=u,s=t.source,i=t.index,n=s[i+1];!l(n)&&o(n)&&(a(e),u.err(e(u.errTarget||s.charAt(i))))}return{before:c,beforeAllowingIndentation(e){c(t({},e,{allowIndentation:!0}))},after:d,afterOneOnly(e){d(t({},e,{onlyOneChar:!0}))}}})},{"./configurationError":331,"./isSingleLineString":384,"./isWhitespace":402,"./validateTypes":421}],424:[(e,t,s)=>{const r=e("./utils/validateOptions"),{isRegExp:i,isString:n}=e("./utils/validateTypes");t.exports=((e,t)=>{if(!e)return null;const s=e.stylelint;if(!s.config)return null;const o=s.config[t];let a,l;return Array.isArray(o)?(a=o[0],l=o[1]||{}):(a=o||!1,l={}),r(e,t,{actual:a,possible:[!0,!1]},{actual:l,possible:{except:[n,i]}})&&(a||l.except)?[a,{except:l.except||[],severity:l.severity||s.config.defaultSeverity||"error"},s]:null})},{"./utils/validateOptions":420,"./utils/validateTypes":421}],425:[(e,t,s)=>{function r(e,t,s){e instanceof RegExp&&(e=i(e,s)),t instanceof RegExp&&(t=i(t,s));const r=n(e,t,s);return r&&{start:r[0],end:r[1],pre:s.slice(0,r[0]),body:s.slice(r[0]+e.length,r[1]),post:s.slice(r[1]+t.length)}}function i(e,t){const s=t.match(e);return s?s[0]:null}function n(e,t,s){let r,i,n,o,a,l=s.indexOf(e),u=s.indexOf(t,l+1),c=l;if(l>=0&&u>0){if(e===t)return[l,u];for(r=[],n=s.length;c>=0&&!a;)c===l?(r.push(c),l=s.indexOf(e,c+1)):1===r.length?a=[r.pop(),u]:((i=r.pop())=0?l:u;r.length&&(a=[n,o])}return a}t.exports=r,r.range=n},{}],426:[(e,t,s)=>{let r=e("./stringify"),i=e("./parse");t.exports={stringify:r,parse:i}},{"./parse":428,"./stringify":432}],427:[(e,t,s)=>{t.exports=(e=>{let t=[],s=[t],r=0;for(let i of e)t.push(i),"("===i[0]?r+=1:")"===i[0]?r-=1:"newline"===i[0]&&0===r&&(t=[],s.push(t));return s})},{}],428:[(e,t,s)=>{let{Input:r}=e("postcss"),i=e("./preprocess"),n=e("./tokenize"),o=e("./parser"),a=e("./liner");t.exports=((e,t)=>{let s=new r(e,t),l=new o(s);return l.tokens=n(s),l.parts=i(s,a(l.tokens)),l.loop(),l.root})},{"./liner":427,"./parser":429,"./preprocess":430,"./tokenize":433,postcss:79}],429:[function(e,t,s){let{Declaration:r,Comment:i,AtRule:n,Rule:o,Root:a}=e("postcss");t.exports=class{constructor(e){this.input=e,this.pos=0,this.root=new a,this.current=this.root,this.spaces="",this.extraIndent=!1,this.prevIndent=void 0,this.step=void 0,this.root.source={input:e,start:{line:1,column:1}}}loop(){let e;for(;this.pose.indent.length;s?s&&t.colon?this.rule(e):s&&!t.colon&&this.decl(e):this.decl(e)}}else e.end?this.root.raws.after=e.before:this.rule(e);this.pos+=1}for(let e=this.tokens.length-1;e>=0;e--)if(this.tokens[e].length>3){let t=this.tokens[e];this.root.source.end={line:t[4]||t[2],column:t[5]||t[3]};break}}comment(e){let t=e.tokens[0],s=new i;this.init(s,e),s.source.end={line:t[4],column:t[5]},this.commentText(s,t)}atrule(e){let t=e.tokens[0],s=e.tokens.slice(1),r=new n;for(r.name=t[1].slice(1),this.init(r,e),""===r.name&&this.unnamedAtrule(t);!e.end&&e.lastComma;)this.pos+=1,e=this.parts[this.pos],s.push(["space",e.before+e.indent]),s=s.concat(e.tokens);r.raws.afterName=this.firstSpaces(s),this.keepTrailingSpace(r,s),this.checkSemicolon(s),this.checkCurly(s),this.raw(r,"params",s,t)}decl(e){let t=new r;this.init(t,e);let s="",n=0,o=[],a="";for(let t=0;te.indent.length;)o.push(["space",l.before+l.indent]),o=o.concat(l.tokens),this.pos+=1,l=this.parts[this.pos+1];let u=o[o.length-1];if(u&&"comment"===u[0]){o.pop();let e=new i;this.current.push(e),e.source={input:this.input,start:{line:u[2],column:u[3]},end:{line:u[4],column:u[5]}};let t=o[o.length-1];t&&"space"===t[0]&&(o.pop(),e.raws.before=t[1]),this.commentText(e,u)}for(let e=o.length-1;e>0;e--){let s=o[e][0];if("word"===s&&"!important"===o[e][1]){t.important=!0,e>0&&"space"===o[e-1][0]?(t.raws.important=o[e-1][1]+"!important",o.splice(e-1,2)):(t.raws.important="!important",o.splice(e,1));break}if("space"!==s&&"newline"!==s&&"comment"!==s)break}t.raws.between=s+this.firstSpaces(o),this.checkSemicolon(o),this.raw(t,"value",o,n)}rule(e){let t=new o;this.init(t,e);let s=e.tokens,r=this.parts[this.pos+1];for(;!r.end&&r.indent.length===e.indent.length;)s.push(["space",r.before+r.indent]),s=s.concat(r.tokens),this.pos+=1,r=this.parts[this.pos+1];this.keepTrailingSpace(t,s),this.checkCurly(s),this.raw(t,"selector",s)}indent(e){let t=e.indent.length,s=void 0!==this.prevIndent;if(!s&&t&&this.indentedFirstLine(e),!this.step&&t&&(this.step=t,this.root.raws.indent=e.indent),s&&this.prevIndent!==t){let s=t-this.prevIndent;if(s>0)if(s!==this.step)this.wrongIndent(this.prevIndent+this.step,t,e);else if(this.current.last.push)this.current=this.current.last;else{this.extraIndent="";for(let e=0;ee+t[1],""),i=s.reduce((e,t)=>"comment"===t[0]&&"inline"===t[6]?e+"/* "+t[1].slice(2).trim()+" */":e+t[1],"");e.raws[t]={value:l,raw:i},r!==i&&(e.raws[t].sss=r)}e[t]=l;for(let e=s.length-1;e>=0;e--)if(s[e].length>2){o=s[e];break}o||(o=r),e.source.end={line:o[4]||o[2],column:o[5]||o[3]}}nextNonComment(e){let t,s=e;for(;s{function r(e,t,s){throw e.error("Mixed tabs and spaces are not allowed",t,s+1)}t.exports=((e,t)=>{let s,i=0,n=t.map(t=>{let n=!1,o=!1,a=i+1,l=!1,u="",c=[],d=!1;if(t.length>0){if("space"===t[0][0]?(u=t[0][1],c=t.slice(1)):(u="",c=t),!s&&u.length&&(s=" "===u[0]?"space":"tab"),"space"===s?u.includes("\t")&&r(e,a,u.indexOf("\t")):"tab"===s&&u.includes(" ")&&r(e,a,u.indexOf(" ")),c.length){for(let e=c.length-1;e>=0;e--){let t=c[e][0];if(","===t){n=!0;break}if("space"!==t&&"comment"!==t&&"newline"!==t)break}o="comment"===c[0][0],l="at-word"===c[0][0];let e=0;for(let t=0;t{if(!t.tokens.length||t.tokens.every(e=>"newline"===e[0])){let s=e[0],r=t.indent+t.tokens.map(e=>e[1]).join("");s.before=r+s.before}else e.unshift(t);return e},[{end:!0,before:""}])).forEach((e,t)=>{if(0===t)return;let s=n[t-1],r=s.tokens[s.tokens.length-1];r&&"newline"===r[0]&&(e.before=r[1]+e.before,s.tokens.pop())}),n})},{}],431:[function(e,t,s){t.exports=class{constructor(e){this.builder=e}stringify(e,t){this[e.type](e,t)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=" ",s=" ";this.has(e.raws.left)&&(t=e.raws.left),e.raws.inline?(s=this.has(e.raws.inlineRight)?e.raws.inlineRight:"",e.raws.extraIndent&&this.builder(e.raws.extraIndent),this.builder("//"+t+e.text+s,e)):(this.has(e.raws.right)&&(s=e.raws.right),this.builder("/*"+t+e.text+s+"*/",e))}decl(e){let t=e.raws.between||": ",s=e.prop+t+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector"))}atrule(e){let t="@"+e.name,s=e.params?this.rawValue(e,"params"):"";this.has(e.raws.afterName)?t+=e.raws.afterName:s&&(t+=" "),this.block(e,t+s)}body(e){let t=e.root().raws.indent||" ";for(let s=0;s{let r=e("./stringifier");t.exports=((e,t)=>{new r(t).stringify(e)})},{"./stringifier":431}],433:[(e,t,s)=>{const r="'".charCodeAt(0),i='"'.charCodeAt(0),n="\\".charCodeAt(0),o="/".charCodeAt(0),a="\n".charCodeAt(0),l=" ".charCodeAt(0),u="\f".charCodeAt(0),c="\t".charCodeAt(0),d="\r".charCodeAt(0),p="(".charCodeAt(0),f=")".charCodeAt(0),m="{".charCodeAt(0),h="}".charCodeAt(0),g=";".charCodeAt(0),w="*".charCodeAt(0),b=":".charCodeAt(0),y="@".charCodeAt(0),x=",".charCodeAt(0),v=/[\t\n\f\r "'()/;\\{]/g,k=/[\n\f\r]/g,S=/[\t\n\f\r !"'(),:;@\\{}]|\/(?=\*)/g,O=/.[\n"'(/\\]/;t.exports=(e=>{let t,s,C,M,N,E,R,I,A,P,T,j,L,$=[],_=e.css.valueOf(),z=_.length,D=-1,F=1,B=0;function U(t){throw e.error("Unclosed "+t,F,B-D)}for(;B0?(I=F+N,A=s-M[N].length):(I=F,A=D),$.push(["string",_.slice(B,s+1),F,B-D,I,s-A]),D=A,F=I,B=s;break;case y:v.lastIndex=B+1,v.test(_),s=0===v.lastIndex?_.length-1:v.lastIndex-2,$.push(["at-word",_.slice(B,s+1),F,B-D,F,s-D]),B=s;break;case n:for(s=B,R=!0,I=F;_.charCodeAt(s+1)===n;)s+=1,R=!R;t=_.charCodeAt(s+1),R&&(t===d&&_.charCodeAt(s+2)===a?(I+=1,A=s+=2):t===d||t===a||t===u?(I+=1,A=s+=1):s+=1),$.push(["word",_.slice(B,s+1),F,B-D,F,s-D]),I!==F&&(F=I,D=A),B=s;break;default:L=_.charCodeAt(B+1),t===o&&L===w?(0===(s=_.indexOf("*/",B+2)+1)&&U("comment"),(N=(M=(E=_.slice(B,s+1)).split("\n")).length-1)>0?(I=F+N,A=s-M[N].length):(I=F,A=D),$.push(["comment",E,F,B-D,I,s-A]),D=A,F=I,B=s):t===o&&L===o?(k.lastIndex=B+1,k.test(_),s=0===k.lastIndex?_.length-1:k.lastIndex-2,E=_.slice(B,s+1),$.push(["comment",E,F,B-D,F,s-D,"inline"]),B=s):(S.lastIndex=B+1,S.test(_),s=0===S.lastIndex?_.length-1:S.lastIndex-2,$.push(["word",_.slice(B,s+1),F,B-D,F,s-D]),B=s)}B++}return $})},{}],434:[(e,t,s)=>{t.exports=e("./svg-tags.json")},{"./svg-tags.json":435}],435:[(e,t,s)=>{t.exports=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]},{}],436:[function(e,t,s){(function(e){(function(){function s(t){try{if(!e.localStorage)return!1}catch(e){return!1}var s=e.localStorage[t];return null!=s&&"true"===String(s).toLowerCase()}t.exports=function(e,t){if(s("noDeprecation"))return e;var r=!1;return function(){if(!r){if(s("throwDeprecation"))throw new Error(t);s("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],stylelint:[(e,t,s)=>{const r=e("./utils/checkAgainstRule"),i=e("./createPlugin"),n=e("./createStylelint"),o=e("./formatters"),a=e("./postcssPlugin"),l=e("./utils/report"),u=e("./utils/ruleMessages"),c=e("./rules"),d=e("./standalone"),p=e("./utils/validateOptions"),f=e("./resolveConfig"),m=Object.assign(a,{lint:d,rules:c,formatters:o,createPlugin:i,resolveConfig:f,createLinter:n,SugarSSParser:e("sugarss/parser"),utils:{report:l,ruleMessages:u,validateOptions:p,checkAgainstRule:r}});t.exports=m},{"./createPlugin":95,"./createStylelint":96,"./formatters":99,"./postcssPlugin":108,"./resolveConfig":116,"./rules":208,"./standalone":321,"./utils/checkAgainstRule":330,"./utils/report":412,"./utils/ruleMessages":413,"./utils/validateOptions":420,"sugarss/parser":429}]},{},[])("stylelint");var s})})();