2 lines
572 KiB
JavaScript
2 lines
572 KiB
JavaScript
/*!= Stylelint v14.2.0 bundle =*/
|
||
(()=>{"use strict";function e(e,t){if(null==e)return{};var r,s,i={},n=Object.keys(e);for(s=0;s<n.length;s++)r=n[s],t.indexOf(r)>=0||(i[r]=e[r]);return i}function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).stylelint=e()}(function(){return(()=>(function e(t,r,s){function i(o,a){if(!r[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=r[o]={exports:{}};t[o][0].call(c.exports,e=>i(t[o][1][e]||e),c,c.exports,e,t,r,s)}return r[o].exports}for(var n="function"==typeof require&&require,o=0;o<s.length;o++)i(s[o]);return i}))()({1:[(e,t,r)=>{t.exports=((e,t,r)=>{if(e.filter)return e.filter(t,r);if(void 0===e||null===e)throw new TypeError;if("function"!=typeof t)throw new TypeError;for(var i=[],n=0;n<e.length;n++)if(s.call(e,n)){var o=e[n];t.call(r,o,n,e)&&i.push(o)}return i});var s=Object.prototype.hasOwnProperty},{}],2:[function(e,t,r){(function(r){(()=>{var s=e("array-filter");t.exports=(()=>s(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e=>"function"==typeof r[e]))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"array-filter":1}],3:[(e,t,r)=>{r.byteLength=(e=>{var t=u(e),r=t[0],s=t[1];return 3*(r+s)/4-s}),r.toByteArray=(e=>{var t,r,s,o=u(e),a=o[0],l=o[1],c=new n(3*(a+(s=l))/4-s),p=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],c[p++]=t>>16&255,c[p++]=t>>8&255,c[p++]=255&t;return 2===l&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,c[p++]=255&t),1===l&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,c[p++]=t>>8&255,c[p++]=255&t),c}),r.fromByteArray=(e=>{for(var t,r=e.length,i=r%3,n=[],o=0,a=r-i;o<a;o+=16383)n.push(c(e,o,o+16383>a?a:o+16383));return 1===i?(t=e[r-1],n.push(s[t>>2]+s[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],n.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"=")),n.join("")});for(var s=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=o.length;a<l;++a)s[a]=o[a],i[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,n,o=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(s[(n=i)>>18&63]+s[n>>12&63]+s[n>>6&63]+s[63&n]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],4:[(e,t,r)=>{},{}],5:[function(e,t,r){arguments[4][4][0].apply(r,arguments)},{dup:4}],6:[function(e,t,r){(function(t){(function(){var t=e("base64-js"),s=e("ieee754");r.Buffer=o,r.SlowBuffer=(e=>(+e!=e&&(e=0),o.alloc(+e))),r.INSPECT_MAX_BYTES=50;var i=2147483647;function n(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return a(e,t,r)}function a(e,t,r){if("string"==typeof e)return((e,t)=>{if("string"==typeof t&&""!==t||(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|d(e,t),s=n(r),i=s.write(e,t);return i!==r&&(s=s.slice(0,i)),s})(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer))return((e,t,r)=>{if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var s;return(s=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r)).__proto__=o.prototype,s})(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(null!=s&&s!==e)return o.from(s,t,r);var i=(e=>{if(o.isBuffer(e)){var t=0|p(e.length),r=n(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}return void 0!==e.length?"number"!=typeof e.length||T(e.length)?n(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0})(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return l(e),n(e<0?0:0|p(e))}function c(e){for(var t=e.length<0?0:0|p(e.length),r=n(t),s=0;s<t;s+=1)r[s]=255&e[s];return r}function p(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function d(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,s=arguments.length>2&&!0===arguments[2];if(!s&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(e).length;default:if(i)return s?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function f(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function h(e,t,r,s,i){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),T(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=o.from(t,s)),o.isBuffer(t))return 0===t.length?-1:m(e,t,r,s,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,s,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,s,i){var n,o=1,a=e.length,l=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;o=2,a/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(n=r;n<a;n++)if(u(e,n)===u(t,-1===c?0:n-c)){if(-1===c&&(c=n),n-c+1===l)return c*o}else-1!==c&&(n-=n-c),c=-1}else for(r+l>a&&(r=a-l),n=r;n>=0;n--){for(var p=!0,d=0;d<l;d++)if(u(e,n+d)!==u(t,d)){p=!1;break}if(p)return n}return-1}function g(e,t,r,s){r=Number(r)||0;var i=e.length-r;s?(s=Number(s))>i&&(s=i):s=i;var n=t.length;s>n/2&&(s=n/2);for(var o=0;o<s;++o){var a=parseInt(t.substr(2*o,2),16);if(T(a))return o;e[r+o]=a}return o}function y(e,t,r,s){return P((e=>{for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t})(t),e,r,s)}function w(e,t,r){r=Math.min(e.length,r);for(var s=[],i=t;i<r;){var n,o,a,l,u=e[i],c=null,p=u>239?4:u>223?3:u>191?2:1;if(i+p<=r)switch(p){case 1:u<128&&(c=u);break;case 2:128==(192&(n=e[i+1]))&&(l=(31&u)<<6|63&n)>127&&(c=l);break;case 3:n=e[i+1],o=e[i+2],128==(192&n)&&128==(192&o)&&(l=(15&u)<<12|(63&n)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:n=e[i+1],o=e[i+2],a=e[i+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(l=(15&u)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,p=1):c>65535&&(c-=65536,s.push(c>>>10&1023|55296),c=56320|1023&c),s.push(c),i+=p}return(e=>{var t=e.length;if(t<=b)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=b));return r})(s)}r.kMaxLength=i,o.TYPED_ARRAY_SUPPORT=(()=>{try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:()=>42},42===e.foo()}catch(e){return!1}})(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get(){if(o.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192,o.from=((e,t,r)=>a(e,t,r)),o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,o.alloc=((e,t,r)=>{return i=t,o=r,l(s=e),s<=0?n(s):void 0!==i?"string"==typeof o?n(s).fill(i,o):n(s).fill(i):n(s);var s,i,o}),o.allocUnsafe=(e=>u(e)),o.allocUnsafeSlow=(e=>u(e)),o.isBuffer=(e=>null!=e&&!0===e._isBuffer&&e!==o.prototype),o.compare=((e,t)=>{if(j(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,s=t.length,i=0,n=Math.min(r,s);i<n;++i)if(e[i]!==t[i]){r=e[i],s=t[i];break}return r<s?-1:s<r?1:0}),o.isEncoding=(e=>{switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}}),o.concat=((e,t)=>{if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var n=e[r];if(j(n,Uint8Array)&&(n=o.from(n)),!o.isBuffer(n))throw new TypeError('"list" argument must be an Array of Buffers');n.copy(s,i),i+=n.length}return s}),o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?w(this,0,e):function(e,r,s){var i,n,o,a=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===s||s>this.length)&&(s=this.length),s<=0)return"";if((s>>>=0)<=(r>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,r,s);case"utf8":case"utf-8":return w(this,r,s);case"ascii":return x(this,r,s);case"latin1":case"binary":return v(this,r,s);case"base64":return i=this,o=s,0===(n=r)&&o===i.length?t.fromByteArray(i):t.fromByteArray(i.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,r,s);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o.prototype.compare=function(e,t,r,s,i){if(j(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===s&&(s=0),void 0===i&&(i=this.length),t<0||r>e.length||s<0||i>this.length)throw new RangeError("out of range index");if(s>=i&&t>=r)return 0;if(s>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,s>>>=0,i>>>=0,this===e)return 0;for(var n=i-s,a=r-t,l=Math.min(n,a),u=this.slice(s,i),c=e.slice(t,r),p=0;p<l;++p)if(u[p]!==c[p]){n=u[p],a=c[p];break}return n<a?-1:a<n?1:0},o.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return h(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return h(this,e,t,r,!1)},o.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===s&&(s="utf8")):(s=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var n,o,a,l,u,c,p,d,f,h=!1;;)switch(s){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return d=t,f=r,P(N(e,(p=this).length-d),p,d,f);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return y(this,e,t,r);case"base64":return l=this,u=t,c=r,P(I(e),l,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=t,a=r,P(((e,t)=>{for(var r,s,i,n=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),s=r>>8,i=r%256,n.push(i),n.push(s);return n})(e,(n=this).length-o),n,o,a);default:if(h)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function x(e,t,r){var s="";r=Math.min(e.length,r);for(var i=t;i<r;++i)s+=String.fromCharCode(127&e[i]);return s}function v(e,t,r){var s="";r=Math.min(e.length,r);for(var i=t;i<r;++i)s+=String.fromCharCode(e[i]);return s}function k(e,t,r){var s,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var n="",o=t;o<r;++o)n+=(s=e[o],s<16?"0"+s.toString(16):s.toString(16));return n}function S(e,t,r){for(var s=e.slice(t,r),i="",n=0;n<s.length;n+=2)i+=String.fromCharCode(s[n]+256*s[n+1]);return i}function O(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,s,i,n){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<n)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}function A(e,t,r,s,i,n){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function E(e,t,r,i,n){return t=+t,r>>>=0,n||A(e,0,r,4),s.write(e,t,r,i,23,4),r+4}function M(e,t,r,i,n){return t=+t,r>>>=0,n||A(e,0,r,8),s.write(e,t,r,i,52,8),r+8}o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var s=this.subarray(e,t);return s.__proto__=o.prototype,s},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var s=this[e],i=1,n=0;++n<t&&(i*=256);)s+=this[e+n]*i;return s},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var s=this[e+--t],i=1;t>0&&(i*=256);)s+=this[e+--t]*i;return s},o.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var s=this[e],i=1,n=0;++n<t&&(i*=256);)s+=this[e+n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var s=t,i=1,n=this[e+--s];s>0&&(i*=256);)n+=this[e+--s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),s.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),s.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),s.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),s.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,s){e=+e,t>>>=0,r>>>=0,s||C(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,n=0;for(this[t]=255&e;++n<r&&(i*=256);)this[t+n]=e/i&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,s){e=+e,t>>>=0,r>>>=0,s||C(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,n=1;for(this[t+i]=255&e;--i>=0&&(n*=256);)this[t+i]=e/n&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t>>>=0,!s){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var n=0,o=1,a=0;for(this[t]=255&e;++n<r&&(o*=256);)e<0&&0===a&&0!==this[t+n-1]&&(a=1),this[t+n]=(e/o>>0)-a&255;return t+r},o.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t>>>=0,!s){var i=Math.pow(2,8*r-1);C(this,e,t,r,i-1,-i)}var n=r-1,o=1,a=0;for(this[t+n]=255&e;--n>=0&&(o*=256);)e<0&&0===a&&0!==this[t+n+1]&&(a=1),this[t+n]=(e/o>>0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,s){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var i=s-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,s);else if(this===e&&r<t&&t<s)for(var n=i-1;n>=0;--n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,s),t);return i},o.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!o.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(1===e.length){var i=e.charCodeAt(0);("utf8"===s&&i<128||"latin1"===s)&&(e=i)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;else{var a=o.isBuffer(e)?e:o.from(e,s),l=a.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=a[n%l]}return this};var R=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||1/0;for(var s=e.length,i=null,n=[],o=0;o<s;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===s){(t-=3)>-1&&n.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return n}function I(e){return t.toByteArray((e=>{if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e})(e))}function P(e,t,r,s){for(var i=0;i<s&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function T(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":3,buffer:6,ieee754:29}],7:[(e,t,r)=>{var s=e("get-intrinsic"),i=e("./"),n=i(s("String.prototype.indexOf"));t.exports=((e,t)=>{var r=s(e,!!t);return"function"==typeof r&&n(e,".prototype.")>-1?i(r):r})},{"./":8,"get-intrinsic":23}],8:[(e,t,r)=>{var s=e("function-bind"),i=e("get-intrinsic"),n=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||s.call(o,n),l=i("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(){return a(s,o,arguments)};var u=function(){return a(s,n,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u},{"function-bind":22,"get-intrinsic":23}],9:[(e,t,r)=>{const s=e("is-regexp"),i={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};t.exports=((e,t={})=>{if(!s(e))throw new TypeError("Expected a RegExp instance");const r=Object.keys(i).map(r=>("boolean"==typeof t[r]?t[r]:e[r])?i[r]:"").join(""),n=new RegExp(t.source||e.source,r);return n.lastIndex="number"==typeof t.lastIndex?t.lastIndex:e.lastIndex,n})},{"is-regexp":36}],10:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var s={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0),o=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=1),e>r?r: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,p=e=>{var t=e.toString(16);return t.length<2?"0"+t:t},d=e=>{var t=e.r,r=e.g,s=e.b,i=e.a,n=Math.max(t,r,s),o=n-Math.min(t,r,s),a=o?n===t?(r-s)/o:n===r?2+(s-t)/o:4+(t-r)/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,r=e.s,s=e.v,i=e.a;t=t/360*6,r/=100,s/=100;var n=Math.floor(t),o=s*(1-r),a=s*(1-(t-n)*r),l=s*(1-(1-t+n)*r),u=n%6;return{r:255*[s,a,o,o,l,s][u],g:255*[l,s,s,a,o,o][u],b:255*[o,o,l,s,s,a][u],a:i}},h=e=>({h:a(e.h),s:o(e.s,0,100),l:o(e.l,0,100),a:o(e.a)}),m=e=>({h:n(e.h),s:n(e.s),l:n(e.l),a:n(e.a,3)}),g=e=>{return f((r=(t=e).s,{h:t.h,s:(r*=((s=t.l)<50?s:100-s)/100)>0?2*r/(s+r)*100:0,v:s+r,a:t.a}));var t,r,s},y=e=>{return{h:(t=d(e)).h,s:(i=(200-(r=t.s))*(s=t.v)/100)>0&&i<200?r*s/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,s,i},w=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^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=w.exec(e)||b.exec(e);if(!t)return null;var r,i,n=h({h:(r=t[1],i=t[2],void 0===i&&(i="deg"),Number(r)*(s[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,r=e.g,s=e.b,n=e.a,o=void 0===n?1:n;return i(t)&&i(r)&&i(s)?l({r:Number(t),g:Number(r),b:Number(s),a:Number(o)}):null},"rgb"],[e=>{var t=e.h,r=e.s,s=e.l,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(r)||!i(s))return null;var a=h({h:Number(t),s:Number(r),l:Number(s),a:Number(o)});return g(a)},"hsl"],[e=>{var t=e.h,r=e.s,s=e.v,n=e.a,l=void 0===n?1:n;if(!i(t)||!i(r)||!i(s))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(r),v:Number(s),a:Number(l)});return f(u)},"hsv"]]},S=(e,t)=>{for(var r=0;r<t.length;r++){var s=t[r][0](e);if(s)return[s,t[r][1]]}return[null,void 0]},O=e=>"string"==typeof e?S(e.trim(),k.string):"object"==typeof e&&null!==e?S(e,k.object):[null,void 0],C=(e,t)=>{var r=y(e);return{h:r.h,s:o(r.s+100*t,0,100),l:r.l,a:r.a}},A=e=>(299*e.r+587*e.g+114*e.b)/1e3/255,E=(e,t)=>{var r=y(e);return{h:r.h,s:r.s,l:o(r.l+100*t,0,100),a:r.a}},M=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(A(this.rgba),2)},e.prototype.isDark=function(){return A(this.rgba)<.5},e.prototype.isLight=function(){return A(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=u(this.rgba)).r,r=e.g,s=e.b,o=(i=e.a)<1?p(n(255*i)):"","#"+p(t)+p(r)+p(s)+o;var e,t,r,s,i,o},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){return t=(e=u(this.rgba)).r,r=e.g,s=e.b,(i=e.a)<1?"rgba("+t+", "+r+", "+s+", "+i+")":"rgb("+t+", "+r+", "+s+")";var e,t,r,s,i},e.prototype.toHsl=function(){return m(y(this.rgba))},e.prototype.toHslString=function(){return t=(e=m(y(this.rgba))).h,r=e.s,s=e.l,(i=e.a)<1?"hsla("+t+", "+r+"%, "+s+"%, "+i+")":"hsl("+t+", "+r+"%, "+s+"%)";var e,t,r,s,i},e.prototype.toHsv=function(){return e=d(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(E(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),R(E(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=y(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 M?e:new M(e),N=[];r.Colord=M,r.colord=R,r.extend=(e=>{e.forEach(e=>{N.indexOf(e)<0&&(e(M,k),N.push(e))})}),r.getFormat=(e=>O(e)[1]),r.random=(()=>new M({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()}))},{}],11:[function(e,t,r){var s={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0),o=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=1),e>r?r: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,r=t.r,s=t.g,i=t.b,n=t.a,o=Math.max(r,s,i),a=o-Math.min(r,s,i),l=a?o===r?(s-i)/a:o===s?2+(i-r)/a:4+(r-s)/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,r,s,i,n,o,a,l},c=e=>(e=>{var t=e.h,r=e.s,s=e.v,i=e.a;t=t/360*6,r/=100,s/=100;var n=Math.floor(t),o=s*(1-r),a=s*(1-(t-n)*r),l=s*(1-(1-t+n)*r),u=n%6;return{r:255*[s,a,o,o,l,s][u],g:255*[l,s,s,a,o,o][u],b:255*[o,o,l,s,s,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}),p=e=>{var t=e.h,r=e.w,s=e.b,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(r)||!i(s))return null;var l=a({h:Number(t),w:Number(r),b:Number(s),a:Number(o)});return c(l)},d=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,f=e=>{var t=d.exec(e);if(!t)return null;var r,i,n=a({h:(r=t[1],i=t[2],void 0===i&&(i="deg"),Number(r)*(s[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,r=e.w,s=e.b,(i=e.a)<1?"hwb("+t+" "+r+"% "+s+"% / "+i+")":"hwb("+t+" "+r+"% "+s+"%)";var e,t,r,s,i},t.string.push([f,"hwb"]),t.object.push([p,"hwb"])}},{}],12:[function(e,t,r){var s=e=>"string"==typeof e?e.length>0:"number"==typeof e,i=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0),n=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=1),e>r?r: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,p=24389/27,d=e=>{var t=e.l,r=e.a,i=e.b,o=e.alpha,a=void 0===o?1:o;if(!s(t)||!s(r)||!s(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(r),b:Number(i),alpha:Number(a)});return f(l)},f=e=>{var t,r,s,i,o,d,f=(e.l+16)/116,h=e.a/500+f,m=f-e.b/200;return i=.9555766*(r=t={x:(Math.pow(h,3)>c?Math.pow(h,3):(116*h-16)/p)*l,y:100*(e.l>8?Math.pow((e.l+16)/116,3):e.l/p),z:(Math.pow(m,3)>c?Math.pow(m,3):(116*m-16)/p)*u,a:e.alpha}).x+-.0230393*r.y+.0631636*r.z,s={r:a(.032404542*i-.015371385*(o=-.0282895*r.x+1.0099416*r.y+.0210077*r.z)-.004985314*(d=.0122982*r.x+-.020483*r.y+1.3299098*r.z)),g:a(-.00969266*i+.018760108*o+41556e-8*d),b:a(556434e-9*i-.002040259*o+.010572252*d),a:t.a},{r:n(s.r,0,255),g:n(s.g,0,255),b:n(s.b,0,255),a:n(s.a)}};t.exports=function(e,t){e.prototype.toLab=function(){return e=this.rgba,h=(d=(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*(r=o(e.g))+.1804375*(s=o(e.b))),y:100*(.2126729*t+.7151522*r+.072175*s),z:100*(.0193339*t+.119192*r+.9503041*s),a:e.a}))).y/100,m=d.z/u,f=(f=d.x/l)>c?Math.cbrt(f):(p*f+16)/116,a={l:116*(h=h>c?Math.cbrt(h):(p*h+16)/116)-16,a:500*(f-h),b:200*(h-(m=m>c?Math.cbrt(m):(p*m+16)/116)),alpha:d.a},{l:i(a.l,2),a:i(a.a,2),b:i(a.b,2),alpha:i(a.alpha,3)};var e,t,r,s,a,d,f,h,m},e.prototype.delta=function(t){void 0===t&&(t="#FFF");var r=t instanceof e?t:new e(t),s=((e,t)=>{var r=e.l,s=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(s,2)+Math.pow(i,2),.5),p=Math.pow(Math.pow(o,2)+Math.pow(a,2),.5),d=(r+n)/2,f=Math.pow((c+p)/2,7),h=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),m=s*(1+h),g=o*(1+h),y=Math.pow(Math.pow(m,2)+Math.pow(i,2),.5),w=Math.pow(Math.pow(g,2)+Math.pow(a,2),.5),b=(y+w)/2,x=0===m&&0===i?0:Math.atan2(i,m)*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)),A=n-r,E=w-y,M=2*Math.sin(u*k/2)*Math.pow(y*w,.5),R=1+.015*Math.pow(d-50,2)/Math.pow(20+Math.pow(d-50,2),.5),N=1+.045*b,I=1+.015*b*C,P=30*Math.exp(-1*Math.pow((O-275)/25,2)),j=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*u*P);return Math.pow(Math.pow(A/1/R,2)+Math.pow(E/1/N,2)+Math.pow(M/1/I,2)+j*E*M/(1*N*1*I),.5)})(this.toLab(),r.toLab())/100;return n(i(s,3))},t.object.push([d,"lab"])}},{}],13:[function(e,t,r){var s={grad:.9,turn:360,rad:360/(2*Math.PI)},i=e=>"string"==typeof e?e.length>0:"number"==typeof e,n=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0),o=(e,t,r)=>(void 0===t&&(t=0),void 0===r&&(r=1),e>r?r: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,p=216/24389,d=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},h=e=>({l:n(e.l,2),c:n(e.c,2),h:n(e.h,2),a:n(e.a,3)}),m=e=>{var t=e.l,r=e.c,s=e.h,n=e.a,o=void 0===n?1:n;if(!i(t)||!i(r)||!i(s))return null;var a=f({l:Number(t),c:Number(r),h:Number(s),a:Number(o)});return y(a)},g=e=>{var t,r,s,i,l,f,h,m,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*(r=a((t=e).r))+.3575761*(s=a(t.g))+.1804375*(i=a(t.b))),y:100*(.2126729*r+.7151522*s+.072175*i),z:100*(.0193339*r+.119192*s+.9503041*i),a:t.a}))).x/u,h=l.y/100,m=l.z/c,f=f>p?Math.cbrt(f):(d*f+16)/116,{l:116*(h=h>p?Math.cbrt(h):(d*h+16)/116)-16,a:500*(f-h),b:200*(h-(m=m>p?Math.cbrt(m):(d*m+16)/116)),alpha:l.a}),y=n(g.a,3),w=n(g.b,3),b=Math.atan2(w,y)/Math.PI*180;return{l:g.l,c:Math.sqrt(y*y+w*w),h:b<0?b+360:b,a:g.alpha}},y=e=>{return m=(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+(h=(f.l+16)/116),g=h-f.b/200,i=.9555766*(r=t={x:(Math.pow(m,3)>p?Math.pow(m,3):(116*m-16)/d)*u,y:100*(f.l>8?Math.pow((f.l+16)/116,3):f.l/d),z:(Math.pow(g,3)>p?Math.pow(g,3):(116*g-16)/d)*c,a:f.alpha}).x+-.0230393*r.y+.0631636*r.z,s={r:l(.032404542*i-.015371385*(n=-.0282895*r.x+1.0099416*r.y+.0210077*r.z)-.004985314*(a=.0122982*r.x+-.020483*r.y+1.3299098*r.z)),g:l(-.00969266*i+.018760108*n+41556e-8*a),b:l(556434e-9*i-.002040259*n+.010572252*a),a:t.a},{r:o(s.r,0,255),g:o(s.g,0,255),b:o(s.b,0,255),a:o(s.a)};var t,r,s,i,n,a,f,h,m,g},w=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=e=>{var t=w.exec(e);if(!t)return null;var r,i,n=f({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],i=t[4],void 0===i&&(i="deg"),Number(r)*(s[i]||1)),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return y(n)};t.exports=function(e,t){e.prototype.toLch=function(){return h(g(this.rgba))},e.prototype.toLchString=function(){return t=(e=h(g(this.rgba))).l,r=e.c,s=e.h,(i=e.a)<1?"lch("+t+"% "+r+" "+s+" / "+i+")":"lch("+t+"% "+r+" "+s+")";var e,t,r,s,i},t.string.push([b,"lch"]),t.object.push([m,"lch"])}},{}],14:[function(e,t,r){t.exports=function(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},s={};for(var i in r)s[r[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=s[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 p in r)n[p]=new e(r[p]).toRgb();for(var d in r){var f=(i=l,o=n[d],Math.pow(i.r-o.r,2)+Math.pow(i.g-o.g,2)+Math.pow(i.b-o.b,2));f<u&&(u=f,c=d)}return c}},t.string.push([t=>{var s=t.toLowerCase(),i="transparent"===s?"#0000":r[s];return i?new e(i).toRgb():null},"name"])}},{}],15:[(e,t,r)=>{var s={}.hasOwnProperty,i=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,a=function e(t,r){"single"!=(r=((e,t)=>{if(!e)return t;var r={};for(var i in t)r[i]=s.call(e,i)?e[i]:t[i];return r})(r,e.options)).quotes&&"double"!=r.quotes&&(r.quotes="single");for(var a="double"==r.quotes?'"':"'",l=r.isIdentifier,u=t.charAt(0),c="",p=0,d=t.length;p<d;){var f=t.charAt(p++),h=f.charCodeAt(),m=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&p<d){var g=t.charCodeAt(p++);56320==(64512&g)?h=((1023&h)<<10)+(1023&g)+65536:p--}m="\\"+h.toString(16).toUpperCase()+" "}else m=r.escapeEverything?i.test(f)?"\\"+f:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?"\\"+h.toString(16).toUpperCase()+" ":"\\"==f||!l&&('"'==f&&a==f||"'"==f&&a==f)||l&&n.test(f)?"\\"+f:f;c+=m}return l&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(u)&&(c="\\3"+u+" "+c.slice(1))),c=c.replace(o,(e,t,r)=>t&&t.length%2?e:(t||"")+r),!l&&r.wrap?a+c+a:c};a.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},a.version="3.0.0",t.exports=a},{}],16:[(e,t,r)=>{var s,i=SyntaxError,n=Function,o=TypeError,a=e=>{try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=()=>{throw new o},c=l?function(){try{return arguments.callee,u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,p=e("has-symbols")(),d=Object.getPrototypeOf||(e=>e.__proto__),f=a("async function* () {}"),h=f?f.prototype:s,m=h?h.prototype:s,g="undefined"==typeof Uint8Array?s:d(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?s:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?s:ArrayBuffer,"%ArrayIteratorPrototype%":p?d([][Symbol.iterator]()):s,"%AsyncFromSyncIteratorPrototype%":s,"%AsyncFunction%":a("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":m?d(m):s,"%Atomics%":"undefined"==typeof Atomics?s:Atomics,"%BigInt%":"undefined"==typeof BigInt?s:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?s:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?s:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?s:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?s:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":a("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?s:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?s:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?s:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?d(d([][Symbol.iterator]())):s,"%JSON%":"object"==typeof JSON?JSON:s,"%Map%":"undefined"==typeof Map?s:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?d((new Map)[Symbol.iterator]()):s,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?s:Promise,"%Proxy%":"undefined"==typeof Proxy?s:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?s:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?s:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?d((new Set)[Symbol.iterator]()):s,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?s:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?d(""[Symbol.iterator]()):s,"%Symbol%":p?Symbol:s,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?s:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?s:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?s:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?s:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?s:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?s:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?s:WeakSet},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=e("function-bind"),x=e("has"),v=b.call(Function.call,Array.prototype.concat),k=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g;t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var r,s=(r=[],S(e,O,(e,t,s,i)=>{r[r.length]=s?S(i,C,"$1"):t||e}),r),n=s.length>0?s[0]:"",a=((e,t)=>{var r,s=e;if(x(w,s)&&(s="%"+(r=w[s])[0]+"%"),x(y,s)){var n=y[s];if(void 0===n&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:s,value:n}}throw new i("intrinsic "+e+" does not exist!")})("%"+n+"%",t),u=a.name,c=a.value,p=!1,d=a.alias;d&&(n=d[0],k(s,v([0,1],d)));for(var f=1,h=!0;f<s.length;f+=1){var m=s[f];if("constructor"!==m&&h||(p=!0),x(y,u="%"+(n+="."+m)+"%"))c=y[u];else if(null!=c){if(l&&f+1>=s.length){var g=l(c,m);if(h=!!g,!(t||m in c))throw new o("base intrinsic for "+e+" exists, but the property is not available.");c=h&&"get"in g&&!("originalValue"in g.get)?g.get:c[m]}else h=x(c,m),c=c[m];h&&!p&&(y[u]=c)}}return c}},{"function-bind":22,has:26,"has-symbols":24}],17:[(e,t,r)=>{var s=e("../GetIntrinsic")("%Object.getOwnPropertyDescriptor%");if(s)try{s([],"length")}catch(e){s=null}t.exports=s},{"../GetIntrinsic":16}],18:[(e,t,r)=>{const s=e("clone-regexp");t.exports=((e,t)=>{let r;const i=[],n=s(e,{lastIndex:0}),o=n.global;for(;(r=n.exec(t))&&(i.push({match:r[0],subMatches:r.slice(1),index:r.index}),o););return i})},{"clone-regexp":9}],19:[(e,t,r)=>{const s=new Uint32Array(65536),i=(e,t)=>{if(e.length>t.length){const r=t;t=e,e=r}return 0===e.length?t.length:e.length<=32?((e,t)=>{const r=e.length,i=t.length,n=1<<r-1;let o=-1,a=0,l=r,u=r;for(;u--;)s[e.charCodeAt(u)]|=1<<u;for(u=0;u<i;u++){let e=s[t.charCodeAt(u)];const r=e|a;a|=~((e|=(e&o)+o^o)|o),o&=e,a&n&&l++,o&n&&l--,o=o<<1|~(r|(a=a<<1|1)),a&=r}for(u=r;u--;)s[e.charCodeAt(u)]=0;return l})(e,t):((e,t)=>{const r=e.length,i=t.length,n=[],o=[],a=Math.ceil(r/32),l=Math.ceil(i/32);let u=i;for(let e=0;e<a;e++)o[e]=-1,n[e]=0;let c=0;for(;c<l-1;c++){let a=0,l=-1;const p=32*c,d=Math.min(32,i)+p;for(let e=p;e<d;e++)s[t.charCodeAt(e)]|=1<<e;u=i;for(let t=0;t<r;t++){const r=s[e.charCodeAt(t)],i=o[t/32|0]>>>t&1,u=n[t/32|0]>>>t&1,c=r|a,p=((r|u)&l)+l^l|r|u;let d=a|~(p|l),f=l&p;d>>>31^i&&(o[t/32|0]^=1<<t),f>>>31^u&&(n[t/32|0]^=1<<t),l=(f=f<<1|u)|~(c|(d=d<<1|i)),a=d&c}for(let e=p;e<d;e++)s[t.charCodeAt(e)]=0}let p=0,d=-1;const f=32*c,h=Math.min(32,i-f)+f;for(let e=f;e<h;e++)s[t.charCodeAt(e)]|=1<<e;u=i;for(let t=0;t<r;t++){const r=s[e.charCodeAt(t)],a=o[t/32|0]>>>t&1,l=n[t/32|0]>>>t&1,c=r|p,f=((r|l)&d)+d^d|r|l;let h=p|~(f|d),m=d&f;u+=h>>>i-1&1,u-=m>>>i-1&1,h>>>31^a&&(o[t/32|0]^=1<<t),m>>>31^l&&(n[t/32|0]^=1<<t),d=(m=m<<1|l)|~(c|(h=h<<1|a)),p=h&c}for(let e=f;e<h;e++)s[t.charCodeAt(e)]=0;return u})(e,t)};t.exports={closest(e,t){let r=1/0,s=0;for(let n=0;n<t.length;n++){const o=i(e,t[n]);o<r&&(r=o,s=n)}return t[s]},distance:i}},{}],20:[(e,t,r)=>{var s=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=((e,t,r)=>{if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var n=e.length;if(n===+n)for(var o=0;o<n;o++)t.call(r,e[o],o,e);else for(var a in e)s.call(e,a)&&t.call(r,e[a],a,e)})},{}],21:[function(e,t,r){var s=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r,n=s.call(arguments,1),o=Math.max(0,t.length-n.length),a=[],l=0;l<o;l++)a.push("$"+l);if(r=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof r){var i=t.apply(this,n.concat(s.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(s.call(arguments)))}),t.prototype){var u=()=>{};u.prototype=t.prototype,r.prototype=new u,u.prototype=null}return r}},{}],22:[(e,t,r)=>{var s=e("./implementation");t.exports=Function.prototype.bind||s},{"./implementation":21}],23:[(e,t,r)=>{var s,i=SyntaxError,n=Function,o=TypeError,a=e=>{try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=()=>{throw new o},c=l?function(){try{return arguments.callee,u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,p=e("has-symbols")(),d=Object.getPrototypeOf||(e=>e.__proto__),f=a("async function* () {}"),h=f?f.prototype:s,m=h?h.prototype:s,g="undefined"==typeof Uint8Array?s:d(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?s:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?s:ArrayBuffer,"%ArrayIteratorPrototype%":p?d([][Symbol.iterator]()):s,"%AsyncFromSyncIteratorPrototype%":s,"%AsyncFunction%":a("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":m?d(m):s,"%Atomics%":"undefined"==typeof Atomics?s:Atomics,"%BigInt%":"undefined"==typeof BigInt?s:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?s:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?s:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?s:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?s:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":a("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?s:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?s:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?s:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?d(d([][Symbol.iterator]())):s,"%JSON%":"object"==typeof JSON?JSON:s,"%Map%":"undefined"==typeof Map?s:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?d((new Map)[Symbol.iterator]()):s,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?s:Promise,"%Proxy%":"undefined"==typeof Proxy?s:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?s:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?s:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?d((new Set)[Symbol.iterator]()):s,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?s:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?d(""[Symbol.iterator]()):s,"%Symbol%":p?Symbol:s,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?s:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?s:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?s:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?s:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?s:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?s:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?s:WeakSet},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=e("function-bind"),x=e("has"),v=b.call(Function.call,Array.prototype.concat),k=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),O=b.call(Function.call,String.prototype.slice),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g;t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var r=(e=>{var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var s=[];return S(e,C,(e,t,r,i)=>{s[s.length]=r?S(i,A,"$1"):t||e}),s})(e),s=r.length>0?r[0]:"",n=((e,t)=>{var r,s=e;if(x(w,s)&&(s="%"+(r=w[s])[0]+"%"),x(y,s)){var n=y[s];if(void 0===n&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:s,value:n}}throw new i("intrinsic "+e+" does not exist!")})("%"+s+"%",t),a=n.name,u=n.value,c=!1,p=n.alias;p&&(s=p[0],k(r,v([0,1],p)));for(var d=1,f=!0;d<r.length;d+=1){var h=r[d],m=O(h,0,1),g=O(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(c=!0),x(y,a="%"+(s+="."+h)+"%"))u=y[a];else if(null!=u){if(!(h in u)){if(!t)throw new o("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&d+1>=r.length){var b=l(u,h);u=(f=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:u[h]}else f=x(u,h),u=u[h];f&&!c&&(y[a]=u)}}return u}},{"function-bind":22,has:26,"has-symbols":24}],24:[function(e,t,r){(function(r){(()=>{var s=r.Symbol,i=e("./shams");t.exports=(()=>"function"==typeof s&&"function"==typeof Symbol&&"symbol"==typeof s("foo")&&"symbol"==typeof Symbol("bar")&&i())}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./shams":25}],25:[(e,t,r)=>{t.exports=(()=>{if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;e[t]=42;for(t in e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var s=Object.getOwnPropertySymbols(e);if(1!==s.length||s[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0})},{}],26:[(e,t,r)=>{var s=e("function-bind");t.exports=s.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":22}],27:[(e,t,r)=>{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"]},{}],28:[(e,t,r)=>{t.exports=e("./html-tags.json")},{"./html-tags.json":27}],29:[(e,t,r)=>{r.read=((e,t,r,s,i)=>{var n,o,a=8*i-s-1,l=(1<<a)-1,u=l>>1,c=-7,p=r?i-1:0,d=r?-1:1,f=e[t+p];for(p+=d,n=f&(1<<-c)-1,f>>=-c,c+=a;c>0;n=256*n+e[t+p],p+=d,c-=8);for(o=n&(1<<-c)-1,n>>=-c,c+=s;c>0;o=256*o+e[t+p],p+=d,c-=8);if(0===n)n=1-u;else{if(n===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,s),n-=u}return(f?-1:1)*o*Math.pow(2,n-s)}),r.write=((e,t,r,s,i,n)=>{var o,a,l,u=8*n-i-1,c=(1<<u)-1,p=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=s?0:n-1,h=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(o++,l/=2),o+p>=c?(a=0,o=c):o+p>=1?(a=(t*l-1)*Math.pow(2,i),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[r+f]=255&a,f+=h,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;e[r+f]=255&o,f+=h,o/=256,u-=8);e[r+f-h]|=128*m})},{}],30:[function(e,t,r){(function(e){(function(){function r(e){return Array.isArray(e)?e:[e]}const s=/^\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,p=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(e,t)=>`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,s,i)=>"\\"===t?`\\[${r}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(s)}${i}`:"]"===i&&s.length%2==0?`[${(e=>e.replace(u,(e,t,r)=>t.charCodeAt(0)<=r.charCodeAt(0)?e:""))(r)}${s}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],d=Object.create(null),f=e=>"string"==typeof e,h=(e,t)=>{const r=e;let s=!1;return 0===e.indexOf("!")&&(s=!0,e=e.substr(1)),new class{constructor(e,t,r,s){this.origin=e,this.pattern=t,this.negative=r,this.regex=s}}(r,e=e.replace(i,"!").replace(n,"#"),s,((e,t)=>{let r=d[e];return r||(r=p.reduce((t,r)=>t.replace(r[0],r[1].bind(e)),e),d[e]=r),t?new RegExp(r,"i"):new RegExp(r)})(e,t))},m=(e,t)=>{throw new t(e)},g=(e,t,r)=>f(e)?e?!g.isNotRelative(e)||r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),y=e=>a.test(e);g.isNotRelative=y,g.convert=(e=>e);const w=e=>new class{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:r=!1}={}){((e,t,r)=>Object.defineProperty(e,t,{value:r}))(this,l,!0),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=r,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)&&!s.test(e)&&0!==e.indexOf("#"))(e)){const t=h(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,r(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 r=!1,s=!1;return this._rules.forEach(i=>{const{negative:n}=i;s===n&&r!==s||n&&!r&&!s&&!t||i.regex.test(e)&&(r=!n,s=n)}),{ignored:r,unignored:s}}_test(e,t,r,s){const i=e&&g.convert(e);return g(i,e,this._allowRelativePaths?c:m),this._t(i,t,r,s)}_t(e,t,r,s){if(e in t)return t[e];if(s||(s=e.split("/")),s.pop(),!s.length)return t[e]=this._testOne(e,r);const i=this._t(s.join("/")+"/",t,r,s);return t[e]=i.ignored?i:this._testOne(e,r)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return r(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}(e);if(w.isPathValid=(e=>g(e&&g.convert(e),e,c)),w.default=w,t.exports=w,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)||y(e))}}).call(this)}).call(this,e("_process"))},{_process:115}],31:[(e,t,r)=>{const s=(e,t,r)=>void 0===e?t(r):e;t.exports=(e=>t=>{let r;return new Proxy(()=>{},{get:(i,n)=>(r=s(r,e,t),Reflect.get(r,n)),apply:(i,n,o)=>(r=s(r,e,t),Reflect.apply(r,n,o)),construct:(i,n)=>(r=s(r,e,t),Reflect.construct(r,n))})})},{}],32:[(e,t,r)=>{"function"==typeof Object.create?t.exports=((e,t)=>{t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}):t.exports=((e,t)=>{if(t){e.super_=t;var r=()=>{};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}})},{}],33:[(e,t,r)=>{var s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=e("call-bind/callBound")("Object.prototype.toString"),n=e=>!(s&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e),o=e=>!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee),a=function(){return n(arguments)}();n.isLegacyArguments=o,t.exports=a?n:o},{"call-bind/callBound":7}],34:[(e,t,r)=>{var s=Object.prototype.toString,i=Function.prototype.toString,n=/^\s*(?:function)?\*/,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=Object.getPrototypeOf,l=(()=>{if(!o)return!1;try{return Function("return function*() {}")()}catch(e){}})(),u=!(!a||!l)&&a(l);t.exports=(e=>"function"==typeof e&&(!!n.test(i.call(e))||(o?a&&a(e)===u:"[object GeneratorFunction]"===s.call(e))))},{}],35:[(e,t,r)=>{function s(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.isPlainObject=(e=>{var t,r;return!1!==s(e)&&(void 0===(t=e.constructor)||!1!==s(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))})},{}],36:[(e,t,r)=>{t.exports=(e=>"[object RegExp]"===Object.prototype.toString.call(e))},{}],37:[function(e,t,r){(function(r){(()=>{var s=e("foreach"),i=e("available-typed-arrays"),n=e("call-bind/callBound"),o=n("Object.prototype.toString"),a=e("has-symbols")()&&"symbol"==typeof Symbol.toStringTag,l=i(),u=n("Array.prototype.indexOf",!0)||((e,t)=>{for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1}),c=n("String.prototype.slice"),p={},d=e("es-abstract/helpers/getOwnPropertyDescriptor"),f=Object.getPrototypeOf;a&&d&&f&&s(l,e=>{var t=new r[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var s=f(t),i=d(s,Symbol.toStringTag);if(!i){var n=f(s);i=d(n,Symbol.toStringTag)}p[e]=i.get}),t.exports=(e=>{if(!e||"object"!=typeof e)return!1;if(!a){var t=c(o(e),8,-1);return u(l,t)>-1}return!!d&&(r=e,i=!1,s(p,(e,t)=>{if(!i)try{i=e.call(r)===t}catch(e){}}),i);var r,i})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":2,"call-bind/callBound":7,"es-abstract/helpers/getOwnPropertyDescriptor":17,foreach:20,"has-symbols":24}],38:[(e,t,r)=>{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","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","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-position","-o-object-position","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","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"]}},{}],39:[(e,t,r)=>{t.exports.all=e("./data/all.json").properties},{"./data/all.json":38}],40:[(e,t,r)=>{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"]},{}],41:[(e,t,r)=>{t.exports={nanoid(e=21){let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t)=>()=>{let r="",s=t;for(;s--;)r+=e[Math.random()*e.length|0];return r}}},{}],42:[function(e,t,r){var s,i;s="normalizeSelector",i=((e,t)=>e=>{function t(){s&&(o.length>0&&/^[~+>]$/.test(o[o.length-1])&&o.push(" "),o.push(s))}var r,s,i,n,o=[],a=[0],l=0,u=/(?:[^\\]|(?:^|[^\\])(?:\\\\)+)$/,c=/^\s+$/,p=/[^\s=~!^|$*\[\]\(\)]{2}/,d=[/\s+|\/\*|["'>~+\[\(]/g,/\s+|\/\*|["'\[\]\(\)]/g,/\s+|\/\*|["'\[\]\(\)]/g,null,/\*\//g];for(e=e.trim();;){if(s="",(i=d[a[a.length-1]]).lastIndex=l,!(r=i.exec(e))){s=e.substr(l),t();break}if((n=l)<(l=i.lastIndex)-r[0].length&&(s=e.substring(n,l-r[0].length)),1===a[a.length-1]&&p.test(o[o.length-1].substr(-1)+s.charAt(0))&&o.push(" "),a[a.length-1]<3){if(t(),"["===r[0])a.push(1);else if("("===r[0])a.push(2);else if(/^["']$/.test(r[0]))a.push(3),d[3]=new RegExp(r[0],"g");else if("/*"===r[0])a.push(4);else if(/^[\]\)]$/.test(r[0])&&a.length>0)a.pop();else if(/^(?:\s+|[~+>])$/.test(r[0])&&(o.length>0&&!c.test(o[o.length-1])&&0===a[a.length-1]&&o.push(" "),c.test(r[0])))continue;o.push(r[0])}else o[o.length-1]+=s,u.test(o[o.length-1])&&(4===a[a.length-1]&&(o.length<2||c.test(o[o.length-2])?o.pop():o[o.length-1]=" ",r[0]=""),a.pop()),o[o.length-1]+=r[0]}return o.join("").trim()}),void 0!==t&&t.exports?t.exports=i():this[s]=i()},{}],43:[(e,t,r)=>{r.endianness=(()=>"LE"),r.hostname=(()=>"undefined"!=typeof location?location.hostname:""),r.loadavg=(()=>[]),r.uptime=(()=>0),r.freemem=(()=>Number.MAX_VALUE),r.totalmem=(()=>Number.MAX_VALUE),r.cpus=(()=>[]),r.type=(()=>"Browser"),r.release=(()=>"undefined"!=typeof navigator?navigator.appVersion:""),r.networkInterfaces=r.getNetworkInterfaces=(()=>({})),r.arch=(()=>"javascript"),r.platform=(()=>"browser"),r.tmpdir=r.tmpDir=(()=>"/tmp"),r.EOL="\n",r.homedir=(()=>"/")},{}],44:[function(e,t,r){(function(e){(()=>{function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function s(e,t){for(var r,s="",i=0,n=-1,o=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(n===a-1||1===o);else if(n!==a-1&&2===o){if(s.length<2||2!==i||46!==s.charCodeAt(s.length-1)||46!==s.charCodeAt(s.length-2))if(s.length>2){var l=s.lastIndexOf("/");if(l!==s.length-1){-1===l?(s="",i=0):i=(s=s.slice(0,l)).length-1-s.lastIndexOf("/"),n=a,o=0;continue}}else if(2===s.length||1===s.length){s="",i=0,n=a,o=0;continue}t&&(s.length>0?s+="/..":s="..",i=2)}else s.length>0?s+="/"+e.slice(n+1,a):s=e.slice(n+1,a),i=a-n-1;n=a,o=0}else 46===r&&-1!==o?++o:o=-1}return s}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),r(a),0!==a.length&&(i=a+"/"+i,n=47===a.charCodeAt(0))}return i=s(i,!n),n?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize(e){if(r(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=s(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:e=>(r(e),e.length>0&&47===e.charCodeAt(0)),join(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var s=arguments[t];r(s),s.length>0&&(void 0===e?e=s:e+="/"+s)}return void 0===e?".":i.normalize(e)},relative(e,t){if(r(e),r(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var s=1;s<e.length&&47===e.charCodeAt(s);++s);for(var n=e.length,o=n-s,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var l=t.length-a,u=o<l?o:l,c=-1,p=0;p<=u;++p){if(p===u){if(l>u){if(47===t.charCodeAt(a+p))return t.slice(a+p+1);if(0===p)return t.slice(a+p)}else o>u&&(47===e.charCodeAt(s+p)?c=p:0===p&&(c=0));break}var d=e.charCodeAt(s+p);if(d!==t.charCodeAt(a+p))break;47===d&&(c=p)}var f="";for(p=s+c+1;p<=n;++p)p!==n&&47!==e.charCodeAt(p)||(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(r(e),0===e.length)return".";for(var t=e.charCodeAt(0),s=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?s?"/":".":s&&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');r(e);var s,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(s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47===u){if(!o){i=s+1;break}}else-1===l&&(o=!1,l=s+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(n=s):(a=-1,n=l))}return i===n?n=l:-1===n&&(n=e.length),e.slice(i,n)}for(s=e.length-1;s>=0;--s)if(47===e.charCodeAt(s)){if(!o){i=s+1;break}}else-1===n&&(o=!1,n=s+1);return-1===n?"":e.slice(i,n)},extname(e){r(e);for(var t=-1,s=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){s=a+1;break}}return-1===t||-1===i||0===o||1===o&&t===i-1&&t===s+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"/",r=(t=e).dir||t.root,s=t.base||(t.name||"")+(t.ext||""),r?r===t.root?r+s:r+"/"+s:s;var t,r,s},parse(e){r(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var s,i=e.charCodeAt(0),n=47===i;n?(t.root="/",s=1):s=0;for(var o=-1,a=0,l=-1,u=!0,c=e.length-1,p=0;c>=s;--c)if(47!==(i=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==p&&(p=1):-1!==o&&(p=-1);else if(!u){a=c+1;break}return-1===o||-1===l||0===p||1===p&&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:115}],45:[(e,t,r)=>{var s=String,i=()=>({isColorSupported:!1,reset:s,bold:s,dim:s,italic:s,underline:s,inverse:s,hidden:s,strikethrough:s,black:s,red:s,green:s,yellow:s,blue:s,magenta:s,cyan:s,white:s,gray:s,bgBlack:s,bgRed:s,bgGreen:s,bgYellow:s,bgBlue:s,bgMagenta:s,bgCyan:s,bgWhite:s});t.exports=i(),t.exports.createColors=i},{}],46:[(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=(e=>new i.default({nodes:(0,n.parseMediaList)(e),type:"media-query-list",value:e.trim()}));var s,i=(s=e("./nodes/Container"))&&s.__esModule?s:{default:s},n=e("./parsers")},{"./nodes/Container":47,"./parsers":49}],47:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var s,i=(s=e("./Node"))&&s.__esModule?s:{default:s};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 r="string"==typeof e||e instanceof RegExp,s=r?t:e,i="string"==typeof e?new RegExp(e):e,n=0;n<this.nodes.length;n++){var o=this.nodes[n];if((!r||i.test(o.type))&&s&&!1===s(o,n,this.nodes))return!1;if(o.nodes&&!1===o.walk(e,t))return!1}return!0},n.prototype.each=function(){for(var e=arguments.length<=0||void 0===arguments[0]?()=>{}:arguments[0],t=0;t<this.nodes.length;t++)if(!1===e(this.nodes[t],t,this.nodes))return!1;return!0},r.default=n},{"./Node":48}],48:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}},{}],49:[(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseMediaFeature=o,r.parseMediaQuery=a,r.parseMediaList=(e=>{var t=[],r=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 s.default({type:"url",value:e.substring(0,l).trim(),sourceIndex:o[1].length,before:o[1],after:/^(\s*)/.exec(e.substring(l))[1]})),r=l}for(var p=r;p<e.length;p++){var d=e[p];if("("===d&&n++,")"===d&&n--,0===n&&","===d){var f=e.substring(r,p),h=/^(\s*)/.exec(f)[1];t.push(new i.default({type:"media-query",value:f.trim(),sourceIndex:r+h.length,nodes:a(f,r),before:h,after:/(\s*)$/.exec(f)[1]})),r=p+1}}var m=e.substring(r),g=/^(\s*)/.exec(m)[1];return t.push(new i.default({type:"media-query",value:m.trim(),sourceIndex:r+g.length,nodes:a(m,r),before:g,after:/(\s*)$/.exec(m)[1]})),t});var s=n(e("./nodes/Node")),i=n(e("./nodes/Container"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=[{mode:"normal",character:null}],r=[],s=0,i="",n=null,o=null,a=arguments.length<=1||void 0===arguments[1]?0:arguments[1],l=e;"("===e[0]&&")"===e[e.length-1]&&(l=e.substring(1,e.length-1),a++);for(var u=0;u<l.length;u++){var c=l[u];if("'"!==c&&'"'!==c||(!0===t[s].isCalculationEnabled?(t.push({mode:"string",isCalculationEnabled:!1,character:c}),s++):"string"===t[s].mode&&t[s].character===c&&"\\"!==l[u-1]&&(t.pop(),s--)),"{"===c?(t.push({mode:"interpolation",isCalculationEnabled:!0}),s++):"}"===c&&(t.pop(),s--),"normal"===t[s].mode&&":"===c){var p=l.substring(u+1);(o={type:"value",before:/^(\s*)/.exec(p)[1],after:/(\s*)$/.exec(p)[1],value:p.trim()}).sourceIndex=o.before.length+u+1+a,n={type:"colon",sourceIndex:u+a,after:o.before,value:":"};break}i+=c}return(i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()}).sourceIndex=i.before.length+a,r.push(i),null!==n&&(n.before=i.after,r.push(n)),null!==o&&r.push(o),r}function a(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],r=[],n=0,a=!1,l=void 0;l={before:"",after:"",value:""};for(var u=0;u<e.length;u++){var c=e[u];a?(l.value+=c,"{"!==c&&"("!==c||n++,")"!==c&&"}"!==c||n--):-1!==c.search(/\s/)?l.before+=c:("("===c&&(l.type="media-feature-expression",n++),l.value=c,l.sourceIndex=t+u,a=!0),!a||0!==n||")"!==c&&u!==e.length-1&&-1===e[u+1].search(/\s/)||(-1!==["not","only","and"].indexOf(l.value)&&(l.type="keyword"),"media-feature-expression"===l.type&&(l.nodes=o(l.value,l.sourceIndex)),r.push(Array.isArray(l.nodes)?new i.default(l):new s.default(l)),l={before:"",after:"",value:""},a=!1)}for(var p=0;p<r.length;p++)if(l=r[p],p>0&&(r[p-1].after=l.before),void 0===l.type){if(p>0){if("media-feature-expression"===r[p-1].type){l.type="keyword";continue}if("not"===r[p-1].value||"only"===r[p-1].value){l.type="media-type";continue}if("and"===r[p-1].value){l.type="media-feature-expression";continue}"media-type"===r[p-1].type&&(r[p+1]?l.type="media-feature-expression"===r[p+1].type?"keyword":"media-feature-expression":l.type="media-feature-expression")}if(0===p){if(!r[p+1]){l.type="media-type";continue}if(r[p+1]&&("media-feature-expression"===r[p+1].type||"keyword"===r[p+1].type)){l.type="media-type";continue}if(r[p+2]){if("media-feature-expression"===r[p+2].type){l.type="media-type",r[p+1].type="keyword";continue}if("keyword"===r[p+2].type){l.type="keyword",r[p+1].type="media-type";continue}}if(r[p+3]&&"media-feature-expression"===r[p+3].type){l.type="keyword",r[p+1].type="media-type",r[p+2].type="keyword";continue}}}return r}},{"./nodes/Container":47,"./nodes/Node":48}],50:[(e,t,r)=>{t.exports=function e(t,r){var s=r.parent,i="atrule"===s.type&&"nest"===s.name;return"root"===s.type?[t]:"rule"===s.type||i?(i?s.params.split(",").map(e=>e.trim()):s.selectors).reduce((r,i)=>{if(-1!==t.indexOf("&")){var n=e(i,s).map(e=>t.replace(/&/g,e));return r.concat(n)}var o=[i,t].join(" ");return r.concat(e(o,s))},[]):e(t,s)}},{}],51:[(e,t,r)=>{let{Input:s}=e("postcss"),i=e("./safe-parser");t.exports=((e,t)=>{let r=new s(e,t),n=new i(r);return n.parse(),n.root})},{"./safe-parser":52,postcss:103}],52:[function(e,t,r){let s=e("postcss/lib/tokenize"),i=e("postcss/lib/comment"),n=e("postcss/lib/parser");t.exports=class extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:!0})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if("*/"===s.slice(-2)&&(s=s.slice(0,-2)),/^\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]}}decl(e){e.length>1&&e.some(e=>"word"===e[0])&&super.decl(e)}unclosedBracket(){}unknownWord(e){this.spaces+=e.map(e=>e[1]).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t,r,s=this.colon(e);if(!1===s)return;for(t=s-1;t>=0&&"word"!==e[t][0];t--);if(0===t)return;for(r=t-1;r>=0;r--)if("space"!==e[r][0]){r+=1;break}let i=e.slice(t),n=e.slice(r,t);e.splice(r,e.length-r),this.spaces=n.map(e=>e[1]).join(""),this.decl(i)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=""}}},{"postcss/lib/comment":89,"postcss/lib/parser":102,"postcss/lib/tokenize":112}],53:[(e,t,r)=>{r.__esModule=!0,r.default=void 0;var s,i=(s=e("./processor"))&&s.__esModule?s:{default:s},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 r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=s?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(r,i,n):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r})(e("./selectors"));var o=e=>new i.default(e);Object.assign(o,n),delete o.__esModule;var a=o;r.default=a,t.exports=r.default},{"./processor":55,"./selectors":64}],54:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,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")),p=O(e("./selectors/string")),d=O(e("./selectors/pseudo")),f=S(e("./selectors/attribute")),h=O(e("./selectors/universal")),m=O(e("./selectors/combinator")),g=O(e("./selectors/nesting")),y=O(e("./sortAscending")),w=S(e("./tokenize")),b=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 r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=s?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(r,i,n):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function O(e){return e&&e.__esModule?e:{default:e}}function C(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var A=((s={})[b.space]=!0,s[b.cr]=!0,s[b.feed]=!0,s[b.newline]=!0,s[b.tab]=!0,s),E=Object.assign({},A,((i={})[b.comment]=!0,i));function M(e){return{line:e[w.FIELDS.START_LINE],column:e[w.FIELDS.START_COL]}}function R(e){return{line:e[w.FIELDS.END_LINE],column:e[w.FIELDS.END_COL]}}function N(e,t,r,s){return{start:{line:e,column:t},end:{line:r,column:s}}}function I(e){return N(e[w.FIELDS.START_LINE],e[w.FIELDS.START_COL],e[w.FIELDS.END_LINE],e[w.FIELDS.END_COL])}function P(e,t){if(e)return N(e[w.FIELDS.START_LINE],e[w.FIELDS.START_COL],t[w.FIELDS.END_LINE],t[w.FIELDS.END_COL])}function j(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,v.ensureObject)(e,"raws"),e[t]=(0,v.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function T(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}var L=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,w.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=P(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new o.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t,r,s=e.prototype;return s._errorGenerator=function(){var e=this;return(t,r)=>"string"==typeof e.rule?new Error(t):e.rule.error(t,r)},s.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[w.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[w.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[w.FIELDS.START_POS]);var r=e.length,s={source:N(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[w.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][w.FIELDS.TYPE]))return this.expected("attribute",e[0][w.FIELDS.START_POS]);for(var i=0,n="",o="",a=null,l=!1;i<r;){var u=e[i],c=this.content(u),p=e[i+1];switch(u[w.FIELDS.TYPE]){case b.space:if(l=!0,this.options.lossy)break;if(a){(0,v.ensureObject)(s,"spaces",a);var d=s.spaces[a].after||"";s.spaces[a].after=d+c;var h=(0,v.getProp)(s,"raws","spaces",a,"after")||null;h&&(s.raws.spaces[a].after=h+c)}else n+=c,o+=c;break;case b.asterisk:p[w.FIELDS.TYPE]===b.equals?(s.operator=c,a="operator"):s.namespace&&("namespace"!==a||l)||!p||(n&&((0,v.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=n,n=""),o&&((0,v.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=n,o=""),s.namespace=(s.namespace||"")+c,(0,v.getProp)(s,"raws","namespace")&&(s.raws.namespace+=c),a="namespace"),l=!1;break;case b.dollar:if("value"===a){var m=(0,v.getProp)(s,"raws","value");s.value+="$",m&&(s.raws.value=m+"$");break}case b.caret:p[w.FIELDS.TYPE]===b.equals&&(s.operator=c,a="operator"),l=!1;break;case b.combinator:if("~"===c&&p[w.FIELDS.TYPE]===b.equals&&(s.operator=c,a="operator"),"|"!==c){l=!1;break}p[w.FIELDS.TYPE]===b.equals?(s.operator=c,a="operator"):s.namespace||s.attribute||(s.namespace=!0),l=!1;break;case b.word:if(p&&"|"===this.content(p)&&e[i+2]&&e[i+2][w.FIELDS.TYPE]!==b.equals&&!s.operator&&!s.namespace)s.namespace=c,a="namespace";else if(!s.attribute||"attribute"===a&&!l)n&&((0,v.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=n,n=""),o&&((0,v.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=o,o=""),s.attribute=(s.attribute||"")+c,(0,v.getProp)(s,"raws","attribute")&&(s.raws.attribute+=c),a="attribute";else if(!s.value&&""!==s.value||"value"===a&&!l){var g=(0,v.unesc)(c),y=(0,v.getProp)(s,"raws","value")||"",x=s.value||"";s.value=x+g,s.quoteMark=null,(g!==c||y)&&((0,v.ensureObject)(s,"raws"),s.raws.value=(y||x)+c),a="value"}else{var k="i"===c||"I"===c;!s.value&&""!==s.value||!s.quoteMark&&!l?(s.value||""===s.value)&&(a="value",s.value+=c,s.raws.value&&(s.raws.value+=c)):(s.insensitive=k,k&&"I"!==c||((0,v.ensureObject)(s,"raws"),s.raws.insensitiveFlag=c),a="insensitive",n&&((0,v.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=n,n=""),o&&((0,v.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=o,o=""))}l=!1;break;case b.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[w.FIELDS.START_POS]});var S=(0,f.unescapeValue)(c),O=S.unescaped,C=S.quoteMark;s.value=O,s.quoteMark=C,a="value",(0,v.ensureObject)(s,"raws"),s.raws.value=c,l=!1;break;case b.equals:if(!s.attribute)return this.expected("attribute",u[w.FIELDS.START_POS],c);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[w.FIELDS.START_POS]});s.operator=s.operator?s.operator+c:c,a="operator",l=!1;break;case b.comment:if(a)if(l||p&&p[w.FIELDS.TYPE]===b.space||"insensitive"===a){var A=(0,v.getProp)(s,"spaces",a,"after")||"",E=(0,v.getProp)(s,"raws","spaces",a,"after")||A;(0,v.ensureObject)(s,"raws","spaces",a),s.raws.spaces[a].after=E+c}else{var M=s[a]||"",R=(0,v.getProp)(s,"raws",a)||M;(0,v.ensureObject)(s,"raws"),s.raws[a]=R+c}else o+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[w.FIELDS.START_POS]})}i++}j(s,"attribute"),j(s,"namespace"),this.newNode(new f.default(s)),this.position++},s.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],s="",i=void 0;do{if(A[this.currToken[w.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[w.FIELDS.TYPE]===b.comment){var n={};s&&(n.before=s,s=""),i=new l.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[w.FIELDS.START_POS],spaces:n}),r.push(i)}}while(++this.position<e);if(s)if(i)i.spaces.after=s;else if(!this.options.lossy){var o=this.tokens[t],a=this.tokens[this.position-1];r.push(new p.default({value:"",source:N(o[w.FIELDS.START_LINE],o[w.FIELDS.START_COL],a[w.FIELDS.END_LINE],a[w.FIELDS.END_COL]),sourceIndex:o[w.FIELDS.START_POS],spaces:{before:s,after:""}}))}return r},s.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var s="",i="";return e.forEach(e=>{var n=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);s+=n+r.lossySpace(e.spaces.after,t&&0===n.length),i+=n+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)}),i===s&&(i=void 0),{space:s,rawSpace:i}},s.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][w.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][w.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][w.FIELDS.TYPE]===b.slash},s.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,v.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var s=new m.default({value:"/"+t+"/",source:N(this.currToken[w.FIELDS.START_LINE],this.currToken[w.FIELDS.START_COL],this.tokens[this.position+2][w.FIELDS.END_LINE],this.tokens[this.position+2][w.FIELDS.END_COL]),sourceIndex:this.currToken[w.FIELDS.START_POS],raws:r});return this.position=this.position+3,s}this.unexpected()},s.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][w.FIELDS.TYPE]===b.comma)){var r,s=this.currToken,i=void 0;if(t>this.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[w.FIELDS.TYPE]===b.combinator?(r=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[w.FIELDS.START_POS]}),this.position++):A[this.currToken[w.FIELDS.TYPE]]||i||this.unexpected(),r){if(i){var n=this.convertWhitespaceNodesToSpace(i),o=n.space,a=n.rawSpace;r.spaces.before=o,r.rawSpaceBefore=a}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),u=l.space,c=l.rawSpace;c||(c=u);var p={},d={spaces:{}};u.endsWith(" ")&&c.endsWith(" ")?(p.before=u.slice(0,u.length-1),d.spaces.before=c.slice(0,c.length-1)):u.startsWith(" ")&&c.startsWith(" ")?(p.after=u.slice(1),d.spaces.after=c.slice(1)):d.value=c,r=new m.default({value:" ",source:P(s,this.tokens[this.position-1]),sourceIndex:s[w.FIELDS.START_POS],spaces:p,raws:d})}return this.currToken&&this.currToken[w.FIELDS.TYPE]===b.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var f=this.parseWhitespaceEquivalentTokens(t);if(f.length>0){var h=this.current.last;if(h){var g=this.convertWhitespaceNodesToSpace(f),y=g.space,x=g.rawSpace;void 0!==x&&(h.rawSpaceAfter+=x),h.spaces.after+=y}else f.forEach(t=>e.newNode(t))}},s.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:M(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},s.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},s.error=function(e,t){throw this.root.error(e,t)},s.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[w.FIELDS.START_POS]})},s.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[w.FIELDS.START_POS])},s.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[w.FIELDS.START_POS])},s.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[w.FIELDS.START_POS])},s.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[w.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[w.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},s.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:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++}},s.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===x.PSEUDO){var r=new o.default({source:{start:M(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[w.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[w.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=R(this.currToken),this.current.parent.source.end=R(this.currToken),this.position++);this.current=s}else{for(var i,n=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[w.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[w.FIELDS.TYPE]===b.closeParenthesis&&t--,i=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new p.default({value:a,source:N(n[w.FIELDS.START_LINE],n[w.FIELDS.START_COL],i[w.FIELDS.END_LINE],i[w.FIELDS.END_COL]),sourceIndex:n[w.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[w.FIELDS.START_POS])},s.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[w.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[w.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[w.FIELDS.START_POS]):void this.splitWord(!1,(s,i)=>{t+=s,e.newNode(new d.default({value:t,source:P(r,e.currToken),sourceIndex:r[w.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[w.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[w.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},s.space=function(){var e=this.content();0===this.position||this.prevToken[w.FIELDS.TYPE]===b.comma||this.prevToken[w.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(e=>"comment"===e.type)?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[w.FIELDS.TYPE]===b.comma||this.nextToken[w.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},s.string=function(){var e=this.currToken;this.newNode(new p.default({value:this.content(),source:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},s.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new h.default({value:this.content(),source:I(r),sourceIndex:r[w.FIELDS.START_POS]}),e),this.position++},s.splitWord=function(e,t){for(var r=this,s=this.nextToken,i=this.content();s&&~[b.dollar,b.caret,b.equals,b.word].indexOf(s[w.FIELDS.TYPE]);){this.position++;var n=this.content();if(i+=n,n.lastIndexOf("\\")===n.length-1){var o=this.nextToken;o&&o[w.FIELDS.TYPE]===b.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}s=this.nextToken}var l=T(i,".").filter(e=>{var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r}),p=T(i,"#").filter(e=>"\\"!==i[e-1]),d=T(i,"#{");d.length&&(p=p.filter(e=>!~d.indexOf(e)));var f=(0,y.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((t,r)=>r===e.indexOf(t))}([0].concat(l,p)));f.forEach((s,n)=>{var o,d=f[n+1]||i.length,h=i.slice(s,d);if(0===n&&t)return t.call(r,h,f.length);var m=r.currToken,g=m[w.FIELDS.START_POS]+f[n],y=N(m[1],m[2]+s,m[3],m[2]+(d-1));if(~l.indexOf(s)){var b={value:h.slice(1),source:y,sourceIndex:g};o=new a.default(j(b,"value"))}else if(~p.indexOf(s)){var x={value:h.slice(1),source:y,sourceIndex:g};o=new u.default(j(x,"value"))}else{var v={value:h,source:y,sourceIndex:g};j(v,"value"),o=new c.default(v)}r.newNode(o,e),e=null}),this.position++},s.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},s.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},s.parse=function(e){switch(this.currToken[w.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},s.expected=function(e,t,r){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},s.requiredSpace=function(e){return this.options.lossy?" ":e},s.optionalSpace=function(e){return this.options.lossy?"":e},s.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},s.parseParenthesisToken=function(e){var t=this.content(e);return e[w.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},s.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,j(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},s.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[w.FIELDS.START_POS],e[w.FIELDS.END_POS])},s.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!E[this.tokens[t][w.FIELDS.TYPE]])return t;t++}return-1},t=e,(r=[{key:"currToken",get(){return this.tokens[this.position]}},{key:"nextToken",get(){return this.tokens[this.position+1]}},{key:"prevToken",get(){return this.tokens[this.position-1]}}])&&C(t.prototype,r),e}();r.default=L,t.exports=r.default},{"./selectors/attribute":56,"./selectors/className":57,"./selectors/combinator":58,"./selectors/comment":59,"./selectors/id":63,"./selectors/nesting":66,"./selectors/pseudo":68,"./selectors/root":69,"./selectors/selector":70,"./selectors/string":71,"./selectors/tag":72,"./selectors/types":73,"./selectors/universal":74,"./sortAscending":75,"./tokenTypes":76,"./tokenize":77,"./util":80}],55:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./parser"))&&s.__esModule?s:{default:s},n=function(){function e(e,t){this.func=e||(()=>{}),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 r=this;return void 0===t&&(t={}),new Promise((s,i)=>{try{var n=r._root(e,t);Promise.resolve(r.func(n)).then(s=>{var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=n.toString(),e.selector=i),{transform:s,root:n,string:i}}).then(s,i)}catch(e){return void i(e)}})},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),s=this.func(r);if(s&&"function"==typeof s.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:s,root:r,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 r=this._runSync(e,t);return r.string||r.root.toString()},e}();r.default=n,t.exports=r.default},{"./parser":54}],56:[function(e,t,r){r.__esModule=!0,r.unescapeValue=g,r.default=void 0;var s,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 r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return(c=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var p=e("util-deprecate"),d=/^('|")([^]*)\1$/,f=p(()=>{},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=p(()=>{},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),m=p(()=>{},"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,r=null,s=e,i=s.match(d);return i&&(r=i[1],s=i[2]),(s=(0,n.default)(s))!==e&&(t=!0),{deprecatedUsage:t,unescaped:s,quoteMark:r}}var y=function(e){var t,r;function s(t){var r;return void 0===t&&(t={}),(r=e.call(this,(e=>{if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;m();var t=g(e.value),r=t.quoteMark,s=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=s,e.quoteMark=r,e})(t))||this).type=a.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:p(()=>r.value,"attr.raws.unquoted is deprecated. Call attr.value instead."),set:p(()=>r.value,"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var n,o,l=s.prototype;return l.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),r=w[t];return(0,i.default)(this._value,r)},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,r=t.replace(/[^']/g,"").length,n=t.replace(/[^"]/g,"").length;if(r+n===0){var o=(0,i.default)(t,{isIdentifier:!0});if(o===t)return s.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===s.NO_QUOTE){var l=this.quoteMark||e.quoteMark||s.DOUBLE_QUOTE,u=w[l];if((0,i.default)(t,u).length<o.length)return l}return a}return n===r?this.preferredQuoteMark(e):n<r?s.DOUBLE_QUOTE:s.SINGLE_QUOTE},l.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=s.DOUBLE_QUOTE),t},l._syncRawValue=function(){var e=(0,i.default)(this._value,w[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},l._handleEscapes=function(e,t){if(this._constructed){var r=(0,i.default)(t,{isIdentifier:!0});r!==t?this.raws[e]=r:delete this.raws[e]}},l._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},l._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=b);var s=this._spacesFor(t);return r(this.stringifyProperty(e),s)},l.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var s=this._spacesFor("operator");t+=s.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=s.after.length;var n=this._spacesFor("value");t+=n.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=n.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},l.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(t,r)=>(!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),b(t,r))))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},n=s,(o=[{key:"quoted",get(){var e=this.quoteMark;return"'"===e||'"'===e},set(e){h()}},{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),r=t.deprecatedUsage,s=t.unescaped,i=t.quoteMark;if(r&&f(),s===this._value&&i===this._quoteMark)return;this._value=s,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),s}(o.default);r.default=y,y.NO_QUOTE=null,y.SINGLE_QUOTE="'",y.DOUBLE_QUOTE='"';var w=((s={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},s);function b(e,t){return""+t.before+e+t.after}},{"../util/unesc":82,"./namespace":65,"./types":73,cssesc:15,"util-deprecate":452}],57:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s=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 r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function u(e,t){return(u=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var c=function(e){var t,r,n,a;function c(t){var r;return(r=e.call(this,t)||this).type=o.CLASS,r._constructed=!0,r}return r=e,(t=c).prototype=Object.create(r.prototype),t.prototype.constructor=t,u(t,r),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,s.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);r.default=c,t.exports=r.default},{"../util":80,"./node":67,"./types":73,cssesc:15}],58:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./node":67,"./types":73}],59:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMMENT,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./node":67,"./types":73}],60:[(e,t,r)=>{r.__esModule=!0,r.universal=r.tag=r.string=r.selector=r.root=r.pseudo=r.nesting=r.id=r.comment=r.combinator=r.className=r.attribute=void 0;var s=m(e("./attribute")),i=m(e("./className")),n=m(e("./combinator")),o=m(e("./comment")),a=m(e("./id")),l=m(e("./nesting")),u=m(e("./pseudo")),c=m(e("./root")),p=m(e("./selector")),d=m(e("./string")),f=m(e("./tag")),h=m(e("./universal"));function m(e){return e&&e.__esModule?e:{default:e}}r.attribute=(e=>new s.default(e)),r.className=(e=>new i.default(e)),r.combinator=(e=>new n.default(e)),r.comment=(e=>new o.default(e)),r.id=(e=>new a.default(e)),r.nesting=(e=>new l.default(e)),r.pseudo=(e=>new u.default(e)),r.root=(e=>new c.default(e)),r.selector=(e=>new p.default(e)),r.string=(e=>new d.default(e)),r.tag=(e=>new f.default(e)),r.universal=(e=>new h.default(e))},{"./attribute":56,"./className":57,"./combinator":58,"./comment":59,"./id":63,"./nesting":66,"./pseudo":68,"./root":69,"./selector":70,"./string":71,"./tag":72,"./universal":74}],61:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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 r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=s?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(r,i,n):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r})(e("./types"));function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function l(e,t){return(l=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var u=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,l(t,r);var i,u,c=s.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 r in this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},c.removeAll=function(){for(var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=((e,t)=>{if(e){if("string"==typeof e)return o(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,void 0):void 0}})(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return()=>s>=e.length?{done:!0}:{done:!1,value:e[s++]}}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(r=e[Symbol.iterator]()).next.bind(r)}(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 r,s=this.index(e);this.nodes.splice(s+1,0,t),t.parent=this;for(var i in this.indexes)s<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},c.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);this.nodes.splice(s,0,t),t.parent=this;for(var i in this.indexes)(r=this.indexes[i])<=s&&(this.indexes[i]=r+1);return this},c._findChildAtPosition=function(e,t){var r=void 0;return this.each(s=>{if(s.atPosition){var i=s.atPosition(e,t);if(i)return r=i,!1}else if(s.isAtPosition(e,t))return r=s,!1}),r},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 r,s;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(s=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==s&&void 0}},c.walk=function(e){return this.each((t,r)=>{var s=e(t,r);if(!1!==s&&t.length&&(s=t.walk(e)),!1===s)return!1})},c.walkAttributes=function(e){var t=this;return this.walk(r=>{if(r.type===n.ATTRIBUTE)return e.call(t,r)})},c.walkClasses=function(e){var t=this;return this.walk(r=>{if(r.type===n.CLASS)return e.call(t,r)})},c.walkCombinators=function(e){var t=this;return this.walk(r=>{if(r.type===n.COMBINATOR)return e.call(t,r)})},c.walkComments=function(e){var t=this;return this.walk(r=>{if(r.type===n.COMMENT)return e.call(t,r)})},c.walkIds=function(e){var t=this;return this.walk(r=>{if(r.type===n.ID)return e.call(t,r)})},c.walkNesting=function(e){var t=this;return this.walk(r=>{if(r.type===n.NESTING)return e.call(t,r)})},c.walkPseudos=function(e){var t=this;return this.walk(r=>{if(r.type===n.PSEUDO)return e.call(t,r)})},c.walkTags=function(e){var t=this;return this.walk(r=>{if(r.type===n.TAG)return e.call(t,r)})},c.walkUniversals=function(e){var t=this;return this.walk(r=>{if(r.type===n.UNIVERSAL)return e.call(t,r)})},c.split=function(e){var t=this,r=[];return this.reduce((s,i,n)=>{var o=e.call(t,i);return r.push(i),o?(s.push(r),r=[]):n===t.length-1&&s.push(r),s},[])},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=s,(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),s}(i.default);r.default=u,t.exports=r.default},{"./node":67,"./types":73}],62:[(e,t,r)=>{r.__esModule=!0,r.isNode=o,r.isPseudoElement=x,r.isPseudoClass=(e=>h(e)&&!x(e)),r.isContainer=(e=>!(!o(e)||!e.walk)),r.isNamespace=(e=>l(e)||w(e)),r.isUniversal=r.isTag=r.isString=r.isSelector=r.isRoot=r.isPseudo=r.isNesting=r.isIdentifier=r.isComment=r.isCombinator=r.isClassName=r.isAttribute=void 0;var s,i=e("./types"),n=((s={})[i.ATTRIBUTE]=!0,s[i.CLASS]=!0,s[i.COMBINATOR]=!0,s[i.COMMENT]=!0,s[i.ID]=!0,s[i.NESTING]=!0,s[i.PSEUDO]=!0,s[i.ROOT]=!0,s[i.SELECTOR]=!0,s[i.STRING]=!0,s[i.TAG]=!0,s[i.UNIVERSAL]=!0,s);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);r.isAttribute=l;var u=a.bind(null,i.CLASS);r.isClassName=u;var c=a.bind(null,i.COMBINATOR);r.isCombinator=c;var p=a.bind(null,i.COMMENT);r.isComment=p;var d=a.bind(null,i.ID);r.isIdentifier=d;var f=a.bind(null,i.NESTING);r.isNesting=f;var h=a.bind(null,i.PSEUDO);r.isPseudo=h;var m=a.bind(null,i.ROOT);r.isRoot=m;var g=a.bind(null,i.SELECTOR);r.isSelector=g;var y=a.bind(null,i.STRING);r.isString=y;var w=a.bind(null,i.TAG);r.isTag=w;var b=a.bind(null,i.UNIVERSAL);function x(e){return h(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}r.isUniversal=b},{"./types":73}],63:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ID,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},s}(i.default);r.default=a,t.exports=r.default},{"./node":67,"./types":73}],64:[(e,t,r)=>{r.__esModule=!0;var s=e("./types");Object.keys(s).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===s[e]||(r[e]=s[e]))});var i=e("./constructors");Object.keys(i).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===i[e]||(r[e]=i[e]))});var n=e("./guards");Object.keys(n).forEach(e=>{"default"!==e&&"__esModule"!==e&&(e in r&&r[e]===n[e]||(r[e]=n[e]))})},{"./constructors":60,"./guards":62,"./types":73}],65:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s=n(e("cssesc")),i=e("../util");function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function a(e,t){return(a=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var l=function(e){var t,r;function n(){return e.apply(this,arguments)||this}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,a(t,r);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,s.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);r.default=l,t.exports=r.default},{"../util":80,"./node":67,cssesc:15}],66:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./node":67,"./types":73}],67:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s=e("../util");function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var n=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,r,n=e.prototype;return n.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},n.next=function(){return this.parent.at(this.parent.index(this)+1)},n.prev=function(){return this.parent.at(this.parent.index(this)-1)},n.clone=function(e){void 0===e&&(e={});var t=function e(t,r){if("object"!=typeof t||null===t)return t;var s=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];"parent"===i&&"object"==typeof n?r&&(s[i]=r):n instanceof Array?s[i]=n.map(t=>e(t,s)):s[i]=e(n,s)}return s}(this);for(var r in e)t[r]=e[r];return t},n.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var s=this[e],i=this.raws[e];this[e]=s+t,i||r!==t?this.raws[e]=(i||s)+r:delete this.raws[e]},n.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},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.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},n.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},n.valueToString=function(){return String(this.stringifyProperty("value"))},n.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=e,(r=[{key:"rawSpaceBefore",get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set(e){(0,s.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set(e){(0,s.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&i(t.prototype,r),e}();r.default=n,t.exports=r.default},{"../util":80}],68:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./container"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.PSEUDO,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},s}(i.default);r.default=a,t.exports=r.default},{"./container":61,"./types":73}],69:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./container"))&&s.__esModule?s:{default:s},n=e("./types");function o(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function a(e,t){return(a=Object.setPrototypeOf||((e,t)=>(e.__proto__=t,e)))(e,t)}var l=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ROOT,r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,a(t,r);var i,l,u=s.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=s,(l=[{key:"errorGenerator",set(e){this._error=e}}])&&o(i.prototype,l),s}(i.default);r.default=l,t.exports=r.default},{"./container":61,"./types":73}],70:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./container"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.SELECTOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./container":61,"./types":73}],71:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./node"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.STRING,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./node":67,"./types":73}],72:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./namespace"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.TAG,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./namespace":65,"./types":73}],73:[(e,t,r)=>{r.__esModule=!0,r.UNIVERSAL=r.ATTRIBUTE=r.CLASS=r.COMBINATOR=r.COMMENT=r.ID=r.NESTING=r.PSEUDO=r.ROOT=r.SELECTOR=r.STRING=r.TAG=void 0,r.TAG="tag",r.STRING="string",r.SELECTOR="selector",r.ROOT="root",r.PSEUDO="pseudo",r.NESTING="nesting",r.ID="id",r.COMMENT="comment",r.COMBINATOR="combinator",r.CLASS="class",r.ATTRIBUTE="attribute",r.UNIVERSAL="universal"},{}],74:[function(e,t,r){r.__esModule=!0,r.default=void 0;var s,i=(s=e("./namespace"))&&s.__esModule?s:{default:s},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,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),s}(i.default);r.default=a,t.exports=r.default},{"./namespace":65,"./types":73}],75:[(e,t,r)=>{r.__esModule=!0,r.default=(e=>e.sort((e,t)=>e-t)),t.exports=r.default},{}],76:[(e,t,r)=>{r.__esModule=!0,r.combinator=r.word=r.comment=r.str=r.tab=r.newline=r.feed=r.cr=r.backslash=r.bang=r.slash=r.doubleQuote=r.singleQuote=r.space=r.greaterThan=r.pipe=r.equals=r.plus=r.caret=r.tilde=r.dollar=r.closeSquare=r.openSquare=r.closeParenthesis=r.openParenthesis=r.semicolon=r.colon=r.comma=r.at=r.asterisk=r.ampersand=void 0,r.ampersand=38,r.asterisk=42,r.at=64,r.comma=44,r.colon=58,r.semicolon=59,r.openParenthesis=40,r.closeParenthesis=41,r.openSquare=91,r.closeSquare=93,r.dollar=36,r.tilde=126,r.caret=94,r.plus=43,r.equals=61,r.pipe=124,r.greaterThan=62,r.space=32,r.singleQuote=39,r.doubleQuote=34,r.slash=47,r.bang=33,r.backslash=92,r.cr=13,r.feed=12,r.newline=10,r.tab=9,r.str=39,r.comment=-1,r.word=-2,r.combinator=-3},{}],77:[(e,t,r)=>{r.__esModule=!0,r.default=(e=>{var t,r,s,i,o,a,l,u,c,d,f,h,m=[],g=e.css.valueOf(),y=g.length,w=-1,b=1,x=0,v=0;function k(t,r){if(!e.safe)throw e.error("Unclosed "+t,b,x-w,x);u=(g+=r).length-1}for(;x<y;){switch((t=g.charCodeAt(x))===n.newline&&(w=x,b+=1),t){case n.space:case n.tab:case n.newline:case n.cr:case n.feed:u=x;do{u+=1,(t=g.charCodeAt(u))===n.newline&&(w=u,b+=1)}while(t===n.space||t===n.newline||t===n.tab||t===n.cr||t===n.feed);h=n.space,s=b,r=u-w-1,v=u;break;case n.plus:case n.greaterThan:case n.tilde:case n.pipe:u=x;do{u+=1,t=g.charCodeAt(u)}while(t===n.plus||t===n.greaterThan||t===n.tilde||t===n.pipe);h=n.combinator,s=b,r=x-w,v=u;break;case n.asterisk:case n.ampersand:case n.bang:case n.comma:case n.equals:case n.dollar:case n.caret:case n.openSquare:case n.closeSquare:case n.colon:case n.semicolon:case n.openParenthesis:case n.closeParenthesis:h=t,s=b,r=x-w,v=(u=x)+1;break;case n.singleQuote:case n.doubleQuote:f=t===n.singleQuote?"'":'"',u=x;do{for(i=!1,-1===(u=g.indexOf(f,u+1))&&k("quote",f),o=u;g.charCodeAt(o-1)===n.backslash;)o-=1,i=!i}while(i);h=n.str,s=b,r=x-w,v=u+1;break;default:t===n.slash&&g.charCodeAt(x+1)===n.asterisk?(0===(u=g.indexOf("*/",x+2)+1)&&k("comment","*/"),(a=(l=g.slice(x,u+1).split("\n")).length-1)>0?(c=b+a,d=u-l[a].length):(c=b,d=w),h=n.comment,b=c,s=c,r=u-d):t===n.slash?(h=t,s=b,r=x-w,v=(u=x)+1):(u=p(g,x),h=n.word,s=b,r=u-w),v=u+1}m.push([h,b,x-w,s,r,x,v]),d&&(w=d,d=null),x=v}return m}),r.FIELDS=void 0;var s,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 r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=s?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(r,i,n):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r})(e("./tokenTypes"));for(var o=((s={})[n.tab]=!0,s[n.newline]=!0,s[n.cr]=!0,s[n.feed]=!0,s),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<u.length;c++)l[u.charCodeAt(c)]=!0;function p(e,t){var r,s=t;do{if(r=e.charCodeAt(s),a[r])return s-1;r===n.backslash?s=d(e,s)+1:s++}while(s<e.length);return s-1}function d(e,t){var r=t,s=e.charCodeAt(r+1);if(o[s]);else if(l[s]){var i=0;do{r++,i++,s=e.charCodeAt(r+1)}while(l[s]&&i<6);i<6&&s===n.space&&r++}else r++;return r}r.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}},{"./tokenTypes":76}],78:[(e,t,r)=>{r.__esModule=!0,r.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},t.exports=r.default},{}],79:[(e,t,r)=>{r.__esModule=!0,r.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},t.exports=r.default},{}],80:[(e,t,r)=>{r.__esModule=!0,r.stripComments=r.ensureObject=r.getProp=r.unesc=void 0;var s=a(e("./unesc"));r.unesc=s.default;var i=a(e("./getProp"));r.getProp=i.default;var n=a(e("./ensureObject"));r.ensureObject=n.default;var o=a(e("./stripComments"));function a(e){return e&&e.__esModule?e:{default:e}}r.stripComments=o.default},{"./ensureObject":78,"./getProp":79,"./stripComments":81,"./unesc":82}],81:[(e,t,r)=>{r.__esModule=!0,r.default=(e=>{for(var t="",r=e.indexOf("/*"),s=0;r>=0;){t+=e.slice(s,r);var i=e.indexOf("*/",r+2);if(i<0)return t;s=i+2,r=e.indexOf("/*",s)}return t+e.slice(s)}),t.exports=r.default},{}],82:[(e,t,r)=>{function s(e){for(var t=e.toLowerCase(),r="",s=!1,i=0;i<6&&void 0!==t[i];i++){var n=t.charCodeAt(i);if(s=32===n,!(n>=97&&n<=102||n>=48&&n<=57))break;r+=t[i]}if(0!==r.length){var o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["<22>",r.length+(s?1:0)]:[String.fromCodePoint(o),r.length+(s?1:0)]}}r.__esModule=!0,r.default=(e=>{if(!i.test(e))return e;for(var t="",r=0;r<e.length;r++)if("\\"!==e[r])t+=e[r];else{var n=s(e.slice(r+1,r+7));if(void 0!==n){t+=n[0],r+=n[1];continue}if("\\"===e[r+1]){t+="\\",r++;continue}e.length===r+1&&(t+=e[r])}return t});var i=/\\/;t.exports=r.default},{}],83:[function(e,t,r){var s=e("./parse"),i=e("./walk"),n=e("./stringify");function o(e){return this instanceof o?(this.nodes=s(e),this):new o(e)}o.prototype.toString=function(){return Array.isArray(this.nodes)?n(this.nodes):""},o.prototype.walk=function(e,t){return i(this.nodes,e,t),this},o.unit=e("./unit"),o.walk=i,o.stringify=n,t.exports=o},{"./parse":84,"./stringify":85,"./unit":86,"./walk":87}],84:[(e,t,r)=>{var s="(".charCodeAt(0),i=")".charCodeAt(0),n="'".charCodeAt(0),o='"'.charCodeAt(0),a="\\".charCodeAt(0),l="/".charCodeAt(0),u=",".charCodeAt(0),c=":".charCodeAt(0),p="*".charCodeAt(0),d="u".charCodeAt(0),f="U".charCodeAt(0),h="+".charCodeAt(0),m=/^[a-f0-9?-]+$/i;t.exports=(e=>{for(var t,r,g,y,w,b,x,v,k,S=[],O=e,C=0,A=O.charCodeAt(C),E=O.length,M=[{nodes:S}],R=0,N="",I="",P="";C<E;)if(A<=32){t=C;do{t+=1,A=O.charCodeAt(t)}while(A<=32);y=O.slice(C,t),g=S[S.length-1],A===i&&R?P=y:g&&"div"===g.type?(g.after=y,g.sourceEndIndex+=y.length):A===u||A===c||A===l&&O.charCodeAt(t+1)!==p&&(!k||k&&"function"===k.type&&"calc"!==k.value)?I=y:S.push({type:"space",sourceIndex:C,sourceEndIndex:t,value:y}),C=t}else if(A===n||A===o){t=C,y={type:"string",sourceIndex:C,quote:r=A===n?"'":'"'};do{if(w=!1,~(t=O.indexOf(r,t+1)))for(b=t;O.charCodeAt(b-1)===a;)b-=1,w=!w;else t=(O+=r).length-1,y.unclosed=!0}while(w);y.value=O.slice(C+1,t),y.sourceEndIndex=y.unclosed?t:t+1,S.push(y),C=t+1,A=O.charCodeAt(C)}else if(A===l&&O.charCodeAt(C+1)===p)y={type:"comment",sourceIndex:C,sourceEndIndex:(t=O.indexOf("*/",C))+2},-1===t&&(y.unclosed=!0,t=O.length,y.sourceEndIndex=t),y.value=O.slice(C+2,t),S.push(y),C=t+2,A=O.charCodeAt(C);else if(A!==l&&A!==p||!k||"function"!==k.type||"calc"!==k.value)if(A===l||A===u||A===c)y=O[C],S.push({type:"div",sourceIndex:C-I.length,sourceEndIndex:C+y.length,value:y,before:I,after:""}),I="",C+=1,A=O.charCodeAt(C);else if(s===A){t=C;do{t+=1,A=O.charCodeAt(t)}while(A<=32);if(v=C,y={type:"function",sourceIndex:C-N.length,value:N,before:O.slice(v+1,t)},C=t,"url"===N&&A!==n&&A!==o){t-=1;do{if(w=!1,~(t=O.indexOf(")",t+1)))for(b=t;O.charCodeAt(b-1)===a;)b-=1,w=!w;else t=(O+=")").length-1,y.unclosed=!0}while(w);x=t;do{x-=1,A=O.charCodeAt(x)}while(A<=32);v<x?(y.nodes=C!==x+1?[{type:"word",sourceIndex:C,sourceEndIndex:x+1,value:O.slice(C,x+1)}]:[],y.unclosed&&x+1!==t?(y.after="",y.nodes.push({type:"space",sourceIndex:x+1,sourceEndIndex:t,value:O.slice(x+1,t)})):(y.after=O.slice(x+1,t),y.sourceEndIndex=t)):(y.after="",y.nodes=[]),C=t+1,y.sourceEndIndex=y.unclosed?t:C,A=O.charCodeAt(C),S.push(y)}else R+=1,y.after="",y.sourceEndIndex=C+1,S.push(y),M.push(y),S=y.nodes=[],k=y;N=""}else if(i===A&&R)C+=1,A=O.charCodeAt(C),k.after=P,k.sourceEndIndex+=P.length,P="",R-=1,M[M.length-1].sourceEndIndex=C,M.pop(),S=(k=M[R]).nodes;else{t=C;do{A===a&&(t+=1),t+=1,A=O.charCodeAt(t)}while(t<E&&!(A<=32||A===n||A===o||A===u||A===c||A===l||A===s||A===p&&k&&"function"===k.type&&"calc"===k.value||A===l&&"function"===k.type&&"calc"===k.value||A===i&&R));y=O.slice(C,t),s===A?N=y:d!==y.charCodeAt(0)&&f!==y.charCodeAt(0)||h!==y.charCodeAt(1)||!m.test(y.slice(2))?S.push({type:"word",sourceIndex:C,sourceEndIndex:t,value:y}):S.push({type:"unicode-range",sourceIndex:C,sourceEndIndex:t,value:y}),C=t}else y=O[C],S.push({type:"word",sourceIndex:C-I.length,sourceEndIndex:C+y.length,value:y}),C+=1,A=O.charCodeAt(C);for(C=M.length-1;C;C-=1)M[C].unclosed=!0,M[C].sourceEndIndex=O.length;return M[0].nodes})},{}],85:[(e,t,r)=>{function s(e,t){var r,s,n=e.type,o=e.value;return t&&void 0!==(s=t(e))?s:"word"===n||"space"===n?o:"string"===n?(r=e.quote||"")+o+(e.unclosed?"":r):"comment"===n?"/*"+o+(e.unclosed?"":"*/"):"div"===n?(e.before||"")+o+(e.after||""):Array.isArray(e.nodes)?(r=i(e.nodes,t),"function"!==n?r:o+"("+(e.before||"")+r+(e.after||"")+(e.unclosed?"":")")):o}function i(e,t){var r,i;if(Array.isArray(e)){for(r="",i=e.length-1;~i;i-=1)r=s(e[i],t)+r;return r}return s(e,t)}t.exports=i},{}],86:[(e,t,r)=>{var s="-".charCodeAt(0),i="+".charCodeAt(0),n=".".charCodeAt(0),o="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=(e=>{var t,r,l,u=0,c=e.length;if(0===c||!(e=>{var t,r=e.charCodeAt(0);if(r===i||r===s){if((t=e.charCodeAt(1))>=48&&t<=57)return!0;var o=e.charCodeAt(2);return t===n&&o>=48&&o<=57}return r===n?(t=e.charCodeAt(1))>=48&&t<=57:r>=48&&r<=57})(e))return!1;for((t=e.charCodeAt(u))!==i&&t!==s||u++;u<c&&!((t=e.charCodeAt(u))<48||t>57);)u+=1;if(t=e.charCodeAt(u),r=e.charCodeAt(u+1),t===n&&r>=48&&r<=57)for(u+=2;u<c&&!((t=e.charCodeAt(u))<48||t>57);)u+=1;if(t=e.charCodeAt(u),r=e.charCodeAt(u+1),l=e.charCodeAt(u+2),(t===o||t===a)&&(r>=48&&r<=57||(r===i||r===s)&&l>=48&&l<=57))for(u+=r===i||r===s?3:2;u<c&&!((t=e.charCodeAt(u))<48||t>57);)u+=1;return{number:e.slice(0,u),unit:e.slice(u)}})},{}],87:[(e,t,r)=>{t.exports=function e(t,r,s){var i,n,o,a;for(i=0,n=t.length;i<n;i+=1)o=t[i],s||(a=r(o,i,t)),!1!==a&&"function"===o.type&&Array.isArray(o.nodes)&&e(o.nodes,r,s),s&&r(o,i,t)}},{}],88:[function(e,t,r){let s=e("./container");class i extends s{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}t.exports=i,i.default=i,s.registerAtRule(i)},{"./container":90}],89:[function(e,t,r){let s=e("./node");class i extends s{constructor(e){super(e),this.type="comment"}}t.exports=i,i.default=i},{"./node":100}],90:[function(e,t,r){let s,i,n,{isClean:o,my:a}=e("./symbols"),l=e("./declaration"),u=e("./comment"),c=e("./node");class p extends c{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[s]+=1;return delete this.indexes[s],r}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}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 r,s=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],s).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)e<=(r=this.indexes[t])&&(this.indexes[t]=r+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,s=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of s)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)e<(r=this.indexes[t])&&(this.indexes[t]=r+s.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 r in this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=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,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),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))}(s(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]||p.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[o]&&function e(t){if(t[o]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,r)=>e[t]===r||(e[t]=r,"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")?(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)):"every"===t||"some"===t?r=>e[t]((e,...t)=>r(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}}p.registerParse=(e=>{s=e}),p.registerRule=(e=>{i=e}),p.registerAtRule=(e=>{n=e}),t.exports=p,p.default=p,p.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=>{p.rebuild(e)})})},{"./comment":89,"./declaration":92,"./node":100,"./symbols":111}],91:[function(e,t,r){let s=e("picocolors"),i=e("./terminal-highlight");class n extends Error{constructor(e,t,r,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",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=s.isColorSupported),i&&e&&(t=i(t));let r,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}=s.createColors(!0);r=(r=>e(t(r))),n=(e=>i(e))}else r=n=(e=>e);return o.slice(a,l).map((e,t)=>{let s=a+1+t,i=" "+(" "+s).slice(-u)+" | ";if(s===this.line){let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(i)+e+"\n "+t+r("^")}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":4,picocolors:45}],92:[function(e,r,s){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]}}r.exports=n,n.default=n},{"./node":100}],93:[function(e,r,s){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}),r.exports=a,a.default=a},{"./container":90}],94:[(r,s,i)=>{let n=r("./declaration"),o=r("./previous-map"),a=r("./comment"),l=r("./at-rule"),u=r("./input"),c=r("./root"),p=r("./rule");function d(r,s){if(Array.isArray(r))return r.map(e=>d(e));let{inputs:i}=r,f=e(r,["inputs"]);if(i){s=[];for(let e of i){let r=t({},e,{__proto__:u.prototype});r.map&&(r.map=t({},r.map,{__proto__:o.prototype})),s.push(r)}}if(f.nodes&&(f.nodes=r.nodes.map(e=>d(e,s))),f.source){let t=f.source,{inputId:r}=t,i=e(t,["inputId"]);f.source=i,null!=r&&(f.source.input=s[r])}if("root"===f.type)return new c(f);if("decl"===f.type)return new n(f);if("rule"===f.type)return new p(f);if("comment"===f.type)return new a(f);if("atrule"===f.type)return new l(f);throw new Error("Unknown node type: "+r.type)}s.exports=d,d.default=d},{"./at-rule":88,"./comment":89,"./declaration":92,"./input":95,"./previous-map":104,"./root":107,"./rule":108}],95:[function(e,r,s){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"),p=e("./terminal-highlight"),d=e("./css-syntax-error"),f=e("./previous-map"),h=Symbol("fromOffsetCache"),m=Boolean(i&&n),g=Boolean(l&&u);class y{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&&m){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="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[h])r=this[h];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,i=e.length;s<i;s++)r[s]=t,t+=e[s].length+1;this[h]=r}let s=0;if(e>=(t=r[r.length-1]))s=r.length-1;else{let t,i=r.length-2;for(;s<i;)if(e<r[t=s+(i-s>>1)])i=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{line:s+1,col:e-r[s]+1}}error(e,t,r,s={}){let i,n,o;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof t.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);n=e.line,o=e.col}else n=s.line,o=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let l=this.origin(t,r,n,o);return(i=l?new d(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,s.plugin):new d(e,void 0===n?t:{line:t,column:r},void 0===n?r:{line:n,column:o},this.css,this.file,s.plugin)).input={line:t,column:r,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,r,s){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 r&&(i=l.originalPositionFor({line:r,column:s}));let p={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");p.file=o(n)}let d=l.sourceContentFor(c.source);return d&&(p.source=d),p}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}}r.exports=y,y.default=y,p&&p.registerInput&&p.registerInput(y)},{"./css-syntax-error":91,"./previous-map":104,"./terminal-highlight":4,"nanoid/non-secure":41,path:4,"source-map-js":4,url:4}],96:[function(e,r,s){(function(s){(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"),p=e("./result"),d=e("./parse"),f=e("./root");const h={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},m={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},y=0;function w(e){return"object"==typeof e&&"function"==typeof e.then}function b(e){let t=!1,r=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,y,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,y,r+"Exit"]:[r,r+"Exit"]}function x(e){let t;return{node:e,events:t="document"===e.type?["Document",y,"DocumentExit"]:"root"===e.type?["Root",y,"RootExit"]:b(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,r,s){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof S||r instanceof p)i=v(r.root),r.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=r.map);else{let e=d;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{i=e(r,s)}catch(e){this.processed=!0,this.error=e}i&&!i[n]&&l.rebuild(i)}else i=v(r);this.result=new p(e,i,s),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"!==s.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(w(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 r=new o(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[i]=!0;let t=b(e);for(let r of t)if(r===y)e.nodes&&e.each(e=>{e[i]||this.walkSync(e)});else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(w(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 w(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 r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==s.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,s=this.result.processor.version,i=t.split("."),n=s.split(".");(i[0]!==n[0]||parseInt(i[1])>parseInt(n[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(w(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];){e[i]=!0;let t=[x(e)];for(;t.length>0;){let e=this.visitTick(t);if(w(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!m[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`);if(!g[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex<s.length){let[e,i]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let s,n=t.iterator;for(;s=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!s[i])return s[i]=!0,void e.push(x(s));t.iterator=0,delete r.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,e===y)return void(r.nodes&&r.nodes.length&&(r[i]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}S.registerPostcss=(e=>{k=e}),r.exports=S,S.default=S,f.registerLazyResult(S),u.registerLazyResult(S)}).call(this)}).call(this,e("_process"))},{"./container":90,"./document":93,"./map-generator":98,"./parse":101,"./result":106,"./root":107,"./stringify":110,"./symbols":111,"./warn-once":113,_process:115}],97:[(e,t,r)=>{let s={split(e,t,r){let s=[],i="",n=!1,o=0,a=!1,l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===a&&(a=!1):'"'===r||"'"===r?a=r:"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(n=!0),n?(""!==i&&s.push(i.trim()),i="",n=!1):i+=r;return(r||""!==i)&&s.push(i.trim()),s},space:e=>s.split(e,[" ","\n","\t"]),comma:e=>s.split(e,[","],!0)};t.exports=s,s.default=s},{}],98:[function(e,t,r){(function(r){(function(){let{SourceMapConsumer:s,SourceMapGenerator:i}=e("source-map-js"),{dirname:n,resolve:o,relative:a,sep:l}=e("path"),{pathToFileURL:u}=e("url"),c=e("./input"),p=Boolean(s&&i),d=Boolean(n&&o&&a&&l);t.exports=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s}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 r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),i=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new s(e.text)).sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null)):t=e.consumer(),this.map.applySourceMap(t,r,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 r?r.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)):"<no source>",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,r=1,s=1,n="<no source>",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=r,o.generated.column=s-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))?(r+=e.length,t=i.lastIndexOf("\n"),s=i.length-t):s+=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=r,o.generated.column=s-2,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=s-1,this.map.addMapping(o)))}})}generate(){if(this.clearAnnotation(),d&&p&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}}).call(this)}).call(this,e("buffer").Buffer)},{"./input":95,buffer:6,path:4,"source-map-js":4,url:4}],99:[function(e,t,r){(function(r){(function(){let s=e("./map-generator"),i=e("./stringify"),n=e("./warn-once"),o=e("./parse");const a=e("./result");class l{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,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 s(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}return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==r.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":98,"./parse":101,"./result":106,"./stringify":110,"./warn-once":113,_process:115}],100:[function(e,t,r){let{isClean:s,my:i}=e("./symbols"),n=e("./css-syntax-error"),o=e("./stringifier"),a=e("./stringify");class l{constructor(e={}){this.raws={},this[s]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new n(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}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,r){let s=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?r&&(s[i]=r):"source"===i?s[i]=n:Array.isArray(n)?s[i]=n.map(t=>e(t,s)):("object"===o&&null!==n&&(n=e(n)),s[i]=n)}return s}(this);for(let r in e)t[r]=e[r];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,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||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 r={},s=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 s=this[e];if(Array.isArray(s))r[e]=s.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof s&&s.toJSON)r[e]=s.toJSON(null,t);else if("source"===e){let n=t.get(s.input);null==n&&(n=i,t.set(s.input,i),i++),r[e]={inputId:n,start:s.start,end:s.end}}else r[e]=s}return s&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}positionInside(e){let t=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={line:t.line,column:t.column+1}),{start:t,end:r}}getProxyProcessor(){return{set:(e,t,r)=>e[t]===r||(e[t]=r,"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[s]){this[s]=!1;let e=this;for(;e=e.parent;)e[s]=!1}}get proxyOf(){return this}}t.exports=l,l.default=l},{"./css-syntax-error":91,"./stringifier":109,"./stringify":110,"./symbols":111}],101:[function(e,t,r){(function(r){(()=>{let s=e("./container"),i=e("./parser"),n=e("./input");function o(e,t){let s=new n(e,t),o=new i(s);try{o.parse()}catch(e){throw"production"!==r.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,s.registerParse(o)}).call(this)}).call(this,e("_process"))},{"./container":90,"./input":95,"./parser":102,_process:115}],102:[function(e,t,r){let s=e("./declaration"),i=e("./tokenize"),n=e("./comment"),o=e("./at-rule"),a=e("./root"),l=e("./rule");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 r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.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,r=null,s=!1,i=null,n=[],o=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),n.push("("===r?")":"]");else if(o&&s&&"{"===r)i||(i=l),n.push("}");else if(0===n.length){if(";"===r){if(s)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===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&&s){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 r=new s;this.init(r,e[0][2]);let i,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(i=e.shift())[0]){r.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if("!important"===(i=e[t])[1].toLowerCase()){r.important=!0;let s=this.stringFrom(e,t);" !important"!==(s=this.spacesFromEnd(e)+s)&&(r.raws.important=s);break}if("important"===i[1].toLowerCase()){let s=e.slice(0),i="";for(let e=t;e>0;e--){let t=s[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=s.pop()[1]+i}0===i.trim().indexOf("!")&&(r.important=!0,r.raws.important=i,e=s)}if("space"!==i[0]&&"comment"!==i[0])break}let a=e.some(e=>"space"!==e[0]&&"comment"!==e[0]);this.raw(r,"value",e),a?r.raws.between+=o:r.value=o+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,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(r=l[s=l.length-1];r&&"space"===r[0];)r=l[--s];r&&(i.source.end=this.getPosition(r[3]||r[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,r){let s,i,n,o,a=r.length,l="",u=!0,c=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)"comment"!==(i=(s=r[t])[0])||"rule"!==e.type?"comment"===i||"space"===i&&t===a-1?u=!1:l+=s[1]:(o=r[t-1],n=r[t+1],"space"!==o[0]&&"space"!==n[0]&&c.test(o[1])&&c.test(n[1])?l+=s[1]:u=!1);if(!u){let s=r.reduce((e,t)=>e+t[1],"");e.raws[t]={value:l,raw:s}}e[t]=l}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&"space"===(t=e[e.length-1][0]);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}colon(e){let t,r,s,i=0;for(let[n,o]of e.entries()){if("("===(r=(t=o)[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return n}this.doubleColon(t)}s=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(s+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}},{"./at-rule":88,"./comment":89,"./declaration":92,"./root":107,"./rule":108,"./tokenize":112}],103:[function(e,t,r){(function(r){(()=>{let s=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"),p=e("./warning"),d=e("./comment"),f=e("./at-rule"),h=e("./result.js"),m=e("./input"),g=e("./parse"),y=e("./list"),w=e("./rule"),b=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)=>{function s(...r){let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new a).version,s}let i;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),r.env.LANG&&r.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(s,"postcss",{get:()=>(i||(i=s()),i)}),s.process=((e,t,r)=>v([s(r)]).process(e,t)),s}),v.stringify=l,v.parse=g,v.fromJSON=u,v.list=y,v.comment=(e=>new d(e)),v.atRule=(e=>new f(e)),v.decl=(e=>new i(e)),v.rule=(e=>new w(e)),v.root=(e=>new b(e)),v.document=(e=>new c(e)),v.CssSyntaxError=s,v.Declaration=i,v.Container=o,v.Processor=a,v.Document=c,v.Comment=d,v.Warning=p,v.AtRule=f,v.Result=h,v.Input=m,v.Rule=w,v.Root=b,v.Node=x,n.registerPostcss(v),t.exports=v,v.default=v}).call(this)}).call(this,e("_process"))},{"./at-rule":88,"./comment":89,"./container":90,"./css-syntax-error":91,"./declaration":92,"./document":93,"./fromJSON":94,"./input":95,"./lazy-result":96,"./list":97,"./node":100,"./parse":101,"./processor":105,"./result.js":106,"./root":107,"./rule":108,"./stringify":110,"./warning":114,_process:115}],104:[function(e,t,r){(function(r){(function(){let{SourceMapConsumer:s,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 r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new s(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 r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}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),r?r.from(t,"base64").toString():window.atob(t);var t;let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}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 s)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 r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.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:6,fs:4,path:4,"source-map-js":4}],105:[function(e,t,r){(function(r){(function(){let s=e("./no-work-result"),i=e("./lazy-result"),n=e("./document"),o=e("./root");class a{constructor(e=[]){this.version="8.4.5",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 s(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)t.push(s);else if("function"==typeof s)t.push(s);else{if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin");if("production"!==r.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":93,"./lazy-result":96,"./no-work-result":99,"./root":107,_process:115}],106:[function(e,t,r){let s=e("./warning");class i{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,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 r=new s(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}t.exports=i,i.default=i},{"./warning":114}],107:[function(e,t,r){let s,i,n=e("./container");class o extends n{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t)if("prepend"===r)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 s)e.raws.before=t.raws.before;return s}toResult(e={}){return new s(new i,this,e).stringify()}}o.registerLazyResult=(e=>{s=e}),o.registerProcessor=(e=>{i=e}),t.exports=o,o.default=o},{"./container":90}],108:[function(e,t,r){let s=e("./container"),i=e("./list");class n extends s{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,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}t.exports=n,n.default=n,s.registerRule(n)},{"./container":90,"./list":97}],109:[function(e,t,r){const s={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"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s],n=this.raw(i,"before");n&&this.builder(n),this.stringify(i,t!==s||r)}}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}raw(e,t,r){let i;if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;let n=e.parent;if("before"===r){if(!n||"root"===n.type&&n.first===e)return"";if(n&&"document"===n.type)return""}if(!n)return s[r];let o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let s="raw"+((a=r)[0].toUpperCase()+a.slice(1));this[s]?i=this[s](o,e):o.walk(e=>{if(void 0!==(i=e.raws[t]))return!1})}var a;return void 0===i&&(i=s[r]),o.rawCache[r]=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(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.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 r;r="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 s=e.parent,i=0;for(;s&&"root"!==s.type;)i+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}}t.exports=i,i.default=i},{}],110:[(e,t,r)=>{let s=e("./stringifier");function i(e,t){new s(t).stringify(e)}t.exports=i,i.default=i},{"./stringifier":109}],111:[(e,t,r)=>{t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},{}],112:[(e,t,r)=>{const s="'".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),p="\r".charCodeAt(0),d="[".charCodeAt(0),f="]".charCodeAt(0),h="(".charCodeAt(0),m=")".charCodeAt(0),g="{".charCodeAt(0),y="}".charCodeAt(0),w=";".charCodeAt(0),b="*".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 r,A,E,M,R,N,I,P,j,T,L=e.css.valueOf(),_=t.ignoreErrors,F=L.length,$=0,B=[],D=[];function U(t){throw e.error("Unclosed "+t,$)}return{back(e){D.push(e)},nextToken(e){if(D.length)return D.pop();if($>=F)return;let t=!!e&&e.ignoreUnclosed;switch(r=L.charCodeAt($)){case a:case l:case c:case p:case u:A=$;do{A+=1,r=L.charCodeAt(A)}while(r===l||r===a||r===c||r===p||r===u);T=["space",L.slice($,A)],$=A-1;break;case d:case f:case g:case y:case x:case w:case m:{let e=String.fromCharCode(r);T=[e,e,$];break}case h:if(P=B.length?B.pop()[1]:"",j=L.charCodeAt($+1),"url"===P&&j!==s&&j!==i&&j!==l&&j!==a&&j!==c&&j!==u&&j!==p){A=$;do{if(N=!1,-1===(A=L.indexOf(")",A+1))){if(_||t){A=$;break}U("bracket")}for(I=A;L.charCodeAt(I-1)===n;)I-=1,N=!N}while(N);T=["brackets",L.slice($,A+1),$,A],$=A}else A=L.indexOf(")",$+1),M=L.slice($,A+1),-1===A||O.test(M)?T=["(","(",$]:(T=["brackets",M,$,A],$=A);break;case s:case i:E=r===s?"'":'"',A=$;do{if(N=!1,-1===(A=L.indexOf(E,A+1))){if(_||t){A=$+1;break}U("string")}for(I=A;L.charCodeAt(I-1)===n;)I-=1,N=!N}while(N);T=["string",L.slice($,A+1),$,A],$=A;break;case v:k.lastIndex=$+1,k.test(L),A=0===k.lastIndex?L.length-1:k.lastIndex-2,T=["at-word",L.slice($,A+1),$,A],$=A;break;case n:for(A=$,R=!0;L.charCodeAt(A+1)===n;)A+=1,R=!R;if(r=L.charCodeAt(A+1),R&&r!==o&&r!==l&&r!==a&&r!==c&&r!==p&&r!==u&&(A+=1,C.test(L.charAt(A)))){for(;C.test(L.charAt(A+1));)A+=1;L.charCodeAt(A+1)===l&&(A+=1)}T=["word",L.slice($,A+1),$,A],$=A;break;default:r===o&&L.charCodeAt($+1)===b?(0===(A=L.indexOf("*/",$+2)+1)&&(_||t?A=L.length:U("comment")),T=["comment",L.slice($,A+1),$,A],$=A):(S.lastIndex=$+1,S.test(L),A=0===S.lastIndex?L.length-1:S.lastIndex-2,T=["word",L.slice($,A+1),$,A],B.push(T),$=A)}return $++,T},endOfFile:()=>0===D.length&&$>=F,position:()=>$}})},{}],113:[(e,t,r)=>{let s={};t.exports=(e=>{s[e]||(s[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))})},{}],114:[function(e,t,r){class s{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=s,s.default=s},{}],115:[function(e,t,r){var s,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(s===setTimeout)return setTimeout(e,0);if((s===o||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}(()=>{try{s="function"==typeof setTimeout?setTimeout:o}catch(e){s=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}})();var u,c=[],p=!1,d=-1;function f(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&h())}function h(){if(!p){var e=l(f);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new m(e,t)),1!==c.length||p||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=(e=>[]),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)},{}],116:[function(e,t,r){(function(e){(function(){(s=>{var i="object"==typeof r&&r&&!r.nodeType&&r,n="object"==typeof t&&t&&!t.nodeType&&t,o="object"==typeof e&&e;o.global!==o&&o.window!==o&&o.self!==o||(s=o);var a,l,u=2147483647,c=36,p=1,d=26,f=38,h=700,m=72,g=128,y="-",w=/^xn--/,b=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=c-p,S=Math.floor,O=String.fromCharCode;function C(e){throw new RangeError(v[e])}function A(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}function E(e,t){var r=e.split("@"),s="";return r.length>1&&(s=r[0]+"@",e=r[1]),s+A((e=e.replace(x,".")).split("."),t).join(".")}function M(e){for(var t,r,s=[],i=0,n=e.length;i<n;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<n?56320==(64512&(r=e.charCodeAt(i++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),i--):s.push(t);return s}function R(e){return A(e,e=>{var t="";return e>65535&&(t+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+O(e)}).join("")}function N(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var s=0;for(e=r?S(e/h):e>>1,e+=S(e/t);e>k*d>>1;s+=c)e=S(e/k);return S(s+(k+1)*e/(e+f))}function P(e){var t,r,s,i,n,o,a,l,f,h,w,b=[],x=e.length,v=0,k=g,O=m;for((r=e.lastIndexOf(y))<0&&(r=0),s=0;s<r;++s)e.charCodeAt(s)>=128&&C("not-basic"),b.push(e.charCodeAt(s));for(i=r>0?r+1:0;i<x;){for(n=v,o=1,a=c;i>=x&&C("invalid-input"),((l=(w=e.charCodeAt(i++))-48<10?w-22:w-65<26?w-65:w-97<26?w-97:c)>=c||l>S((u-v)/o))&&C("overflow"),v+=l*o,!(l<(f=a<=O?p:a>=O+d?d:a-O));a+=c)o>S(u/(h=c-f))&&C("overflow"),o*=h;O=I(v-n,t=b.length+1,0==n),S(v/t)>u-k&&C("overflow"),k+=S(v/t),v%=t,b.splice(v++,0,k)}return R(b)}function j(e){var t,r,s,i,n,o,a,l,f,h,w,b,x,v,k,A=[];for(b=(e=M(e)).length,t=g,r=0,n=m,o=0;o<b;++o)(w=e[o])<128&&A.push(O(w));for(s=i=A.length,i&&A.push(y);s<b;){for(a=u,o=0;o<b;++o)(w=e[o])>=t&&w<a&&(a=w);for(a-t>S((u-r)/(x=s+1))&&C("overflow"),r+=(a-t)*x,t=a,o=0;o<b;++o)if((w=e[o])<t&&++r>u&&C("overflow"),w==t){for(l=r,f=c;!(l<(h=f<=n?p:f>=n+d?d:f-n));f+=c)k=l-h,v=c-h,A.push(O(N(h+k%v,0))),l=S(k/v);A.push(O(N(l,0))),n=I(r,x,s==i),r=0,++s}++r,++t}return A.join("")}if(a={version:"1.4.1",ucs2:{decode:M,encode:R},decode:P,encode:j,toASCII:e=>E(e,e=>b.test(e)?"xn--"+j(e):e),toUnicode:e=>E(e,e=>w.test(e)?P(e.slice(4).toLowerCase()):e)},i&&n)if(t.exports==i)n.exports=a;else for(l in a)a.hasOwnProperty(l)&&(i[l]=a[l]);else s.punycode=a})(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],117:[(e,t,r)=>{t.exports=((e,t,r,i)=>{t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var o=/\+/g;e=e.split(t);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var l,u,c=e.length;a>0&&c>a&&(c=a);for(var p=0;p<c;++p){var d,f,h,m,g=e[p].replace(o,"%20"),y=g.indexOf(r);y>=0?(d=g.substr(0,y),f=g.substr(y+1)):(d=g,f=""),h=decodeURIComponent(d),m=decodeURIComponent(f),l=n,u=h,Object.prototype.hasOwnProperty.call(l,u)?s(n[h])?n[h].push(m):n[h]=[n[h],m]:n[h]=m}return n});var s=Array.isArray||(e=>"[object Array]"===Object.prototype.toString.call(e))},{}],118:[(e,t,r)=>{var s=e=>{switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=((e,t,r,a)=>(t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(o(e),o=>{var a=encodeURIComponent(s(o))+r;return i(e[o])?n(e[o],e=>a+encodeURIComponent(s(e))).join(t):a+encodeURIComponent(s(e[o]))}).join(t):a?encodeURIComponent(s(a))+r+encodeURIComponent(s(e)):""));var i=Array.isArray||(e=>"[object Array]"===Object.prototype.toString.call(e));function n(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var o=Object.keys||(e=>{var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t})},{}],119:[(e,t,r)=>{r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":117,"./encode":118}],120:[function(e,t,r){var s,i;s="object"==typeof r&&void 0!==t?r:this.SPECIFICITY={},i=(e=>{var t,r,s=e,i={a:0,b:0,c:0},n=[];return t=((t,r)=>{var o,a,l,u,c,p;if(t.test(s))for(a=0,l=(o=s.match(t)).length;a<l;a+=1)i[r]+=1,u=o[a],c=s.indexOf(u),p=u.length,n.push({selector:e.substr(c,p),type:r,index:c,length:p}),s=s.replace(u,Array(p+1).join(" "))}),(r=(e=>{var t,r,i,n;if(e.test(s))for(r=0,i=(t=s.match(e)).length;r<i;r+=1)n=t[r],s=s.replace(n,Array(n.length+1).join("A"))}))(/\\[0-9A-Fa-f]{6}\s?/g),r(/\\[0-9A-Fa-f]{1,5}\s/g),r(/\\./g),(()=>{var e,t,r,i,n=/{[^]*/gm;if(n.test(s))for(t=0,r=(e=s.match(n)).length;t<r;t+=1)i=e[t],s=s.replace(i,Array(i.length+1).join(" "))})(),t(/(\[[^\]]+\])/g,"b"),t(/(#[^\#\s\+>~\.\[:\)]+)/g,"a"),t(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),t(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),t(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),t(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),s=(s=(s=(s=(s=(s=s.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),t(/([^\s\+>~\.\[:]+)/g,"c"),n.sort((e,t)=>e.index-t.index),{selector:e,specificity:"0,"+i.a.toString()+","+i.b.toString()+","+i.c.toString(),specificityArray:[0,i.a,i.b,i.c],parts:n}}),s.calculate=(e=>{var t,r,s,n,o=[];for(s=0,n=(t=e.split(",")).length;s<n;s+=1)(r=t[s]).length>0&&o.push(i(r));return o}),s.compare=((e,t)=>{var r,s,n;if("string"==typeof e){if(-1!==e.indexOf(","))throw"Invalid CSS selector";r=i(e).specificityArray}else{if(!Array.isArray(e))throw"Invalid CSS selector or specificity array";if(4!==e.filter(e=>"number"==typeof e).length)throw"Invalid specificity array";r=e}if("string"==typeof t){if(-1!==t.indexOf(","))throw"Invalid CSS selector";s=i(t).specificityArray}else{if(!Array.isArray(t))throw"Invalid CSS selector or specificity array";if(4!==t.filter(e=>"number"==typeof e).length)throw"Invalid specificity array";s=t}for(n=0;n<4;n+=1){if(r[n]<s[n])return-1;if(r[n]>s[n])return 1}return 0}),Object.defineProperty(s,"__esModule",{value:!0})},{}],121:[(e,t,r)=>{var s="skip",i="only";t.exports=((e,t)=>{var r=e.source,n=e.target,o=!e.comments||e.comments===s,a=!e.strings||e.strings===s,l=!e.functionNames||e.functionNames===s,u=e.functionArguments===s,c=e.parentheticals===s,p=!1;Object.keys(e).forEach(t=>{if(e[t]===i){if(p)throw new Error('Only one syntax feature option can be the "only" one to check');p=!0}});var d,f=e.comments===i,h=e.strings===i,m=e.functionNames===i,g=e.functionArguments===i,y=e.parentheticals===i,w=!1,b=!1,x=!1,v=!1,k=!1,S=0,O=0,C=Array.isArray(n),A=(()=>C?e=>{for(var t=0,r=n.length;t<r;t++){var s=E(n[t],e);if(s)return s}return!1}:E.bind(null,n))();function E(e,t){var s=e.length;return(1!==s||r[t]===e)&&r.substr(t,s)===e&&{insideParens:v,insideFunctionArguments:k,insideComment:b,insideString:w,startIndex:t,endIndex:t+s,target:e}}for(var M=0,R=r.length;M<R;M++){var N=r[M];if(!w&&!b&&"/"===N&&"\\"!==r[M-1]){if("*"===r[M+1]){b=!0;continue}if("/"===r[M+1]){b=!0,x=!0;continue}}if(b){if(!x&&"*"===N&&"\\"!==r[M-1]&&"/"===r[M+1]&&"/"!==r[M-1]){b=!1;continue}if(x&&"\n"===N&&(b=!1,x=!1),o)continue}if(b||w||'"'!==N&&"'"!==N){if(w){if(N===d){if("\\"===r[M-1])continue;w=!1;continue}if(a)continue}if(w||b||"("!==N)if(v&&")"===N)S--,")"===n&&j(A(M)),0===S&&(v=!1,k=!1);else{var I=/^[a-zA-Z]*\(/.test(r.slice(M));if((!l||!I)&&(!m||I)){var P=A(M);if(P&&(j(P),e.once))return}}else S++,v=!0,/[a-zA-Z]/.test(r[M-1])&&(k=!0),"("===n&&j(A(M))}else{if("\\"===r[M-1])continue;d=N,w=!0,n===N&&j(A(M))}}function j(e){y&&!v||c&&v||g&&!k||u&&k||h&&!w||f&&!b||t(e,++O)}})},{}],122:[(e,r,s)=>{const i=e("./utils/isStandardSyntaxComment"),n="stylelint-",o=`${n}disable`,a=`${n}enable`,l=`${n}disable-line`,u=`${n}disable-next-line`,c="all";function p(e,t,r,s,i,n){return{comment:e,start:t,end:i||void 0,strictStart:r,strictEnd:"boolean"==typeof n?n:void 0,description:s}}r.exports=((e,r)=>{r.stylelint=r.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{}};const s={all:[]};let d;return r.stylelint.disabledRanges=s,e.walkComments(e=>{if(d)return void(d===e&&(d=null));const t=e.next();if(i(e)||!f(e)||!t||"comment"!==t.type||!e.text.includes("--")&&!t.text.startsWith("--"))return void m(e);let r=e.source&&e.source.end&&e.source.end.line||0;const s=e.clone();let n=t;for(;!i(n)&&!f(n);){const e=n.source&&n.source.end&&n.source.end.line||0;if(r+1!==e)break;s.text+=`\n${n.text}`,s.source&&n.source&&(s.source.end=n.source.end),d=n;const t=n.next();if(!t||"comment"!==t.type)break;n=t,r=e}m(s)}),r;function f(e){return e.text.startsWith(o)||e.text.startsWith(a)}function h(e,t,r,i){if(x(c))throw e.error("All rules have already been disabled",{plugin:"stylelint"});if(r===c)for(const r of Object.keys(s)){if(x(r))continue;const s=r===c;w(e,t,r,s,i),b(t,r,s)}else{if(x(r))throw e.error(`"${r}" has already been disabled`,{plugin:"stylelint"});w(e,t,r,!0,i),b(t,r,!0)}}function m(e){const i=e.text;if(0!==i.indexOf(n))return r;i.startsWith(l)?(e=>{if(e.source&&e.source.start){const t=e.source.start.line,r=y(e.text);for(const s of g(l,e.text))h(e,t,s,r)}})(e):i.startsWith(u)?(e=>{if(e.source&&e.source.end){const t=e.source.end.line,r=y(e.text);for(const s of g(u,e.text))h(e,t+1,s,r)}})(e):i.startsWith(o)?(e=>{const t=y(e.text);for(const r of g(o,e.text)){const i=r===c;if(x(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))w(e,n,r,r===c,t);else w(e,n,r,!0,t)}}})(e):i.startsWith(a)&&(e=>{for(const r of g(a,e.text)){const i=e.source&&e.source.end&&e.source.end.line;if(r!==c)if(x(c)&&void 0===s[r]){if(s[r]){const e=s[c],i=e?e[e.length-1]:null;i&&s[r].push(t({},i))}else s[r]=s.all.map(({start:t,end:r,description:s})=>p(e,t,!1,s,r,!1));b(i,r,!0)}else{if(!x(r))throw e.error(`"${r}" has not been disabled`,{plugin:"stylelint"});b(i,r,!0)}else{if(Object.values(s).every(e=>0===e.length||"number"==typeof e[e.length-1].end))throw e.error("No rules have been disabled",{plugin:"stylelint"});for(const[e,t]of Object.entries(s)){const r=t[t.length-1];r&&r.end||b(i,e,e===c)}}}})(e)}function g(e,t){const r=t.slice(e.length).split(/\s-{2,}\s/u)[0].trim().split(",").filter(Boolean).map(e=>e.trim());return 0===r.length?[c]:r}function y(e){const t=e.indexOf("--");if(-1!==t)return e.slice(t+2).trim()}function w(e,t,r,i,n){const o=p(e,t,i,n);var a;s[a=r]||(s[a]=s.all.map(({comment:e,start:t,end:r,description:s})=>p(e,t,!1,s,r,!1))),s[r].push(o)}function b(e,t,r){const i=s[t],n=i?i[i.length-1]:null;n&&(n.end=e,n.strictEnd=r)}function x(e){const t=s[e];if(!t)return!1;const r=t[t.length-1];return!!r&&!r.end}})},{"./utils/isStandardSyntaxComment":411}],123:[(e,t,r)=>{t.exports=((e,t)=>{let r,s;if(e&&e.root){e.root.source&&!(s=e.root.source.input.file)&&"id"in e.root.source.input&&(s=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),r={source:s,deprecations:t,invalidOptionWarnings:i,parseErrors:n,errored:e.stylelint.stylelintError,warnings:e.messages.map(e=>({line:e.line,column:e.column,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;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,rule:t.name,severity:"error",text:`${t.reason} (${t.name})`}]}}return r})},{}],124:[(e,t,r)=>{t.exports=((e,t)=>({ruleName:e,rule:t}))},{}],125:[function(e,r,s){(function(s){(()=>{const i=e("./createStylelintResult"),n=e("./getPostcssResult"),o=e("./lintSource");"test"===s.env.NODE_ENV&&s.cwd(),r.exports=((r={})=>{const a={_options:t({},r,{cwd:r.cwd||s.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":126,"./getPostcssResult":133,"./lintSource":136,"./normalizeAllRuleSettings":138,_process:115}],126:[(e,t,r)=>{const s=e("./createPartialStylelintResult");t.exports=(async(e,t,r,i)=>{let n=s(t,i);const o=await e.getConfigForFile(r,r),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":123}],127:[(e,t,r)=>{const s=e("./utils/optionsMatches"),i=e("./validateDisableSettings");t.exports=(e=>{for(const t of e){const e=i(t._postcssResult,"reportDescriptionlessDisables");if(!e)continue;const[r,n,o]=e,a=o.disabledRanges,l=new Set;for(const e of Object.keys(a))for(const i of a[e])i.description||l.has(i.comment)||(r!==s(n,"except",e)?(l.add(i.comment),i.comment.source&&i.comment.source.start&&t.warnings.push({text:`Disable for "${e}" is missing a description`,rule:"--report-descriptionless-disables",line:i.comment.source.start.line,column:i.comment.source.start.column,severity:n.severity})):r||"all"!==e||l.add(i.comment))}})},{"./utils/optionsMatches":429,"./validateDisableSettings":446}],128:[(e,t,r)=>{t.exports=(e=>e.flatMap(e=>e.warnings.map(t=>`${e.source}: `+`line ${t.line}, `+`col ${t.column}, `+`${t.severity} - `+`${t.text}`)).join("\n"))},{}],129:[(e,t,r)=>{const s=e("import-lazy"),i={compact:s(()=>e("./compactFormatter"))("compactFormatter"),json:s(()=>e("./jsonFormatter"))("jsonFormatter"),string(){},tap:s(()=>e("./tapFormatter"))("tapFormatter"),unix:s(()=>e("./unixFormatter"))("unixFormatter"),verbose(){}};t.exports=i},{"./compactFormatter":128,"./jsonFormatter":130,"./tapFormatter":131,"./unixFormatter":132,"import-lazy":31}],130:[(e,t,r)=>{t.exports=(e=>{const t=e.map(e=>Object.entries(e).filter(([e])=>!e.startsWith("_")).reduce((e,[t,r])=>(e[t]=r,e),{}));return JSON.stringify(t)})},{}],131:[(e,t,r)=>{t.exports=(e=>{const t=[`TAP version 13\n1..${e.length}`];for(const[r,s]of e.entries())if(t.push(`${s.errored?"not ok":"ok"} ${r+1} - ${s.ignored?"ignored ":""}${s.source}`),s.warnings.length>0){t.push("---","messages:");for(const e of s.warnings)t.push(` - message: "${e.text}"`,` severity: ${e.severity}`," data:",` line: ${e.line}`,` column: ${e.column}`,` ruleId: ${e.rule}`);t.push("---")}return t.push(""),t.join("\n")})},{}],132:[(e,t,r)=>{t.exports=(e=>{const t=e.flatMap(e=>e.warnings.map(t=>`${e.source}:${t.line}:${t.column}: `+`${t.text} [${t.severity}]\n`)),r=t.length;let s=t.join("");return r>0&&(s+=`\n${r} problem${1!==r?"s":""}\n`),s})},{}],133:[(e,r,s)=>{const i=e("postcss/lib/lazy-result").default,n=e("path"),{default:o}=e("postcss"),a=o();r.exports=(async(r,s={})=>{const u=s.filePath?r._postcssResultCache.get(s.filePath):void 0;if(u)return u;if(r._options.syntax){let e='The "syntax" option is no longer available. ';return e+="css"===r._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 c=s.customSyntax?(r=>{let s;if("string"==typeof r){try{s=e(r)}catch(e){if(e&&"object"==typeof e&&"MODULE_NOT_FOUND"===e.code&&e.message.includes(r))throw new Error(`Cannot resolve custom syntax module "${r}". Check that module "${r}" is available and spelled correctly.\n\nCaused by: ${e}`);throw e}return s.parse||(s={parse:s,stringify:o.stringify}),s}if("object"==typeof r){if("function"!=typeof r.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({},r)}throw new Error("Custom syntax must be a string or a Syntax object")})(s.customSyntax):((t,r)=>{const s=r?n.extname(r).slice(1).toLowerCase():"";return l[s]&&console.warn(`${r}: When linting something other than CSS, you should install an appropriate syntax, e.g. "${l[s]}", and use the "customSyntax" option`),{parse:t._options.fix&&["css","pcss","postcss"].includes(s)?e("postcss-safe-parser"):o.parse,stringify:o.stringify}})(r,s.filePath),p={from:s.filePath,syntax:c};let d;if(void 0!==s.code?d=s.code:s.filePath,void 0===d)return Promise.reject(new Error("code or filePath required"));if(s.codeProcessors&&s.codeProcessors.length){r._options.fix&&(console.warn("Autofix is incompatible with processors and will be disabled. Are you sure you need a processor?"),r._options.fix=!1);const e=s.code?s.codeFilename:s.filePath;for(const t of s.codeProcessors)d=t(d,e)}const f=await new i(a,d,p);return s.filePath&&r._postcssResultCache.set(s.filePath,f),f});const l={html:"postcss-html",js:"@stylelint/postcss-css-in-js",jsx:"@stylelint/postcss-css-in-js",less:"postcss-less",md:"postcss-markdown",sass:"postcss-sass",sss:"sugarss",scss:"postcss-scss",svelte:"postcss-html",ts:"@stylelint/postcss-css-in-js",tsx:"@stylelint/postcss-css-in-js",vue:"postcss-html",xml:"postcss-html",xst:"postcss-html"}},{path:44,postcss:103,"postcss-safe-parser":51,"postcss/lib/lazy-result":96}],134:[(e,t,r)=>{const s=e("./utils/optionsMatches"),i=e("./validateDisableSettings");t.exports=(e=>{for(const t of e){const e=i(t._postcssResult,"reportInvalidScopeDisables");if(!e)continue;const[r,n,o]=e,a=(o.config||{}).rules||{},l=new Set(Object.keys(a));l.add("all");const u=o.disabledRanges,c=Object.keys(u);for(const e of c)if(!l.has(e)&&r!==s(n,"except",e))for(const r of u[e])(r.strictStart||r.strictEnd)&&r.comment.source&&r.comment.source.start&&t.warnings.push({text:`Rule "${e}" isn't enabled`,rule:"--report-invalid-scope-disables",line:r.comment.source.start.line,column:r.comment.source.start.column,severity:n.severity})}})},{"./utils/optionsMatches":429,"./validateDisableSettings":446}],135:[(e,t,r)=>{const s=e("./assignDisabledRanges"),i=e("./utils/getOsEol"),n=e("./reportUnknownRuleNames"),o=e("./rules");t.exports=((e,t,r)=>{let a;t.stylelint.ruleSeverities={},t.stylelint.customMessages={},t.stylelint.stylelintError=!1,t.stylelint.quiet=r.quiet,t.stylelint.config=r;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(),s(l,t)}const u=(({stylelint:e})=>!e.disabledRanges.all.length)(t);u||(t.stylelint.disableWritingFix=!0);const c=l&&"Document"===l.constructor.name?l.nodes:[l],p=[],d=r.rules?Object.keys(r.rules).sort((e,t)=>Object.keys(o).indexOf(e)-Object.keys(o).indexOf(t)):[];for(const s of d){const i=o[s]||r.pluginFunctions&&r.pluginFunctions[s];if(void 0===i){p.push(Promise.all(c.map(e=>n(s,e,t))));continue}const l=r.rules&&r.rules[s];if(null===l||null===l[0])continue;const d=l[0],f=l[1],h=r.defaultSeverity||"error",m=f&&!0===f.disableFix||!1;m&&(t.stylelint.ruleDisableFix=!0),t.stylelint.ruleSeverities[s]=f&&f.severity||h,t.stylelint.customMessages[s]=f&&f.message,p.push(Promise.all(c.map(r=>i(d,f,{fix:!m&&e.fix&&u&&!t.stylelint.disabledRanges[s],newline:a})(r,t))))}return Promise.all(p)})},{"./assignDisabledRanges":122,"./reportUnknownRuleNames":147,"./rules":237,"./utils/getOsEol":370}],136:[(e,t,r)=>{const s=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 r=void 0!==t.code,o=r?t.codeFilename:t.filePath;if(void 0!==o&&!n.isAbsolute(o))return r?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(r&&s(e))return!1;throw e}))return t.existingPostcssResult?Object.assign(t.existingPostcssResult,{stylelint:{ruleSeverities:{},customMessages:{},disabledRanges:{},ignored:!0,stylelintError:!1}}):{root:{source:{input:{file:o}}},messages:[],opts:void 0,stylelint:{ruleSeverities:{},customMessages:{},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(r&&s(t))return e.getConfigForFile(l);throw t});if(!u)return Promise.reject(new Error("Config file not found"));const c=u.config,p=t.existingPostcssResult||await e._getPostcssResult({code:t.code,codeFilename:t.codeFilename,filePath:o,codeProcessors:c.codeProcessors,customSyntax:c.customSyntax}),d=Object.assign(p,{stylelint:{ruleSeverities:{},customMessages:{},disabledRanges:{}}});return await i(e._options,d,c),d})},{"./lintPostcssResult":135,"./utils/isPathNotFoundError":403,path:44}],137:[(e,t,r)=>{const s=e("./utils/optionsMatches"),i=e("./utils/putIfAbsent"),n=e("./validateDisableSettings");function o(e,t){const r=e.line;return t.start<=r&&(void 0!==t.end&&t.end>=r||void 0===t.end)}t.exports=(e=>{for(const t of e){const e=n(t._postcssResult,"reportNeedlessDisables");if(!e)continue;const[r,a,l]=e,u=l.disabledRanges;if(!u)continue;const c=l.disabledWarnings||[],p=new Map;for(const e of c){const t=e.rule,r=u[t];if(r)for(const s of r)o(e,s)&&i(p,s.comment,()=>new Set).add(t);for(const r of u.all)o(e,r)&&i(p,r.comment,()=>new Set).add(t)}const d=new Set(u.all.map(e=>e.comment));for(const[e,i]of Object.entries(u))for(const n of i){if("all"!==e&&d.has(n.comment))continue;if(r===s(a,"except",e))continue;const i=p.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,severity:a.severity})}}})},{"./utils/optionsMatches":429,"./utils/putIfAbsent":431,"./validateDisableSettings":446}],138:[(e,t,r)=>{const s=e("./normalizeRuleSettings"),i=e("./rules");t.exports=(e=>{if(!e.rules)return e;const t={};for(const[r,n]of Object.entries(e.rules)){const o=i[r]||e.pluginFunctions&&e.pluginFunctions[r];t[r]=o?s(n,r,o.primaryOptionArray):[]}return e.rules=t,e})},{"./normalizeRuleSettings":139,"./rules":237}],139:[(e,t,r)=>{const s=e("./rules"),{isPlainObject:i}=e("is-plain-object");t.exports=((e,t,r)=>{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===r){const e=s[t];e&&"primaryOptionArray"in e&&(r=e.primaryOptionArray)}return r?1===e.length&&Array.isArray(e[0])?e:2===e.length&&!i(e[0])&&i(e[1])?e:[e]:e})},{"./rules":237,"is-plain-object":35}],140:[function(e,t,r){(function(r){(()=>{const s=e("./createStylelint"),i=e("path");t.exports=((e={})=>{const[t,n]="rules"in e?[r.cwd(),{config:e}]:[e.cwd||r.cwd(),e],o=s(n);return{postcssPlugin:"stylelint",Once(e,{result:r}){let s=e.source&&e.source.input.file;return s&&!i.isAbsolute(s)&&(s=i.join(t,s)),o._lintSource({filePath:s,existingPostcssResult:r})}}}),t.exports.postcss=!0}).call(this)}).call(this,e("_process"))},{"./createStylelint":125,_process:115,path:44}],141:[(e,t,r)=>{const s=e("./descriptionlessDisables"),i=e("./invalidScopeDisables"),n=e("./needlessDisables"),o=e("./reportDisables");t.exports=((e,t,r,a)=>{o(e),n(e),i(e),s(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 r=e.reduce((e,t)=>e+t.warnings.length,0);r>t&&(l.maxWarningsExceeded={maxWarnings:t,foundWarnings:r})}return l.output=r(e,l),l.results=e,l})},{"./descriptionlessDisables":127,"./invalidScopeDisables":134,"./needlessDisables":137,"./reportDisables":146}],142:[(e,t,r)=>{const s={};function i(...e){return new Set([...e].reduce((e,t)=>[...e,...t],[]))}s.nonLengthUnits=new Set(["%","s","ms","deg","grad","turn","rad","Hz","kHz","dpi","dpcm","dppx"]),s.lengthUnits=new Set(["em","ex","ch","rem","rlh","lh","vh","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr"]),s.units=i(s.nonLengthUnits,s.lengthUnits),s.camelCaseFunctionNames=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),s.basicKeywords=new Set(["initial","inherit","unset"]),s.systemFontValues=i(s.basicKeywords,["caption","icon","menu","message-box","small-caption","status-bar"]),s.fontFamilyKeywords=i(s.basicKeywords,["serif","sans-serif","cursive","fantasy","monospace","system-ui"]),s.fontWeightRelativeKeywords=new Set(["bolder","lighter"]),s.fontWeightAbsoluteKeywords=new Set(["bold"]),s.fontWeightNumericKeywords=new Set(["100","200","300","400","500","600","700","800","900"]),s.fontWeightKeywords=i(s.basicKeywords,s.fontWeightRelativeKeywords,s.fontWeightAbsoluteKeywords,s.fontWeightNumericKeywords),s.animationNameKeywords=i(s.basicKeywords,["none"]),s.animationTimingFunctionKeywords=i(s.basicKeywords,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),s.animationIterationCountKeywords=new Set(["infinite"]),s.animationDirectionKeywords=i(s.basicKeywords,["normal","reverse","alternate","alternate-reverse"]),s.animationFillModeKeywords=new Set(["none","forwards","backwards","both"]),s.animationPlayStateKeywords=i(s.basicKeywords,["running","paused"]),s.animationShorthandKeywords=i(s.basicKeywords,s.animationNameKeywords,s.animationTimingFunctionKeywords,s.animationIterationCountKeywords,s.animationDirectionKeywords,s.animationFillModeKeywords,s.animationPlayStateKeywords),s.levelOneAndTwoPseudoElements=new Set(["before","after","first-line","first-letter"]),s.levelThreeAndUpPseudoElements=new Set(["before","after","first-line","first-letter","selection","spelling-error","grammar-error","backdrop","marker","placeholder","shadow","slotted","content","file-selector-button"]),s.shadowTreePseudoElements=new Set(["part"]),s.vendorSpecificPseudoElements=new Set(["-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-progress-bar","-webkit-progress-value","-webkit-slider-runnable-track","-webkit-slider-thumb"]),s.pseudoElements=i(s.levelOneAndTwoPseudoElements,s.levelThreeAndUpPseudoElements,s.vendorSpecificPseudoElements,s.shadowTreePseudoElements),s.aNPlusBNotationPseudoClasses=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),s.linguisticPseudoClasses=new Set(["dir","lang"]),s.atRulePagePseudoClasses=new Set(["first","right","left","blank"]),s.logicalCombinationsPseudoClasses=new Set(["has","is","matches","not","where"]),s.aNPlusBOfSNotationPseudoClasses=new Set(["nth-child","nth-last-child"]),s.otherPseudoClasses=new Set(["active","any-link","autofill","blank","checked","contains","current","default","defined","disabled","drop","empty","enabled","first-child","first-of-type","focus","focus-ring","focus-within","focus-visible","fullscreen","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","paused","read-only","read-write","required","root","scope","state","target","user-error","user-invalid","valid","visited"]),s.webkitProprietaryPseudoElements=new Set(["scrollbar","scrollbar-button","scrollbar-track","scrollbar-track-piece","scrollbar-thumb","scrollbar-corner","resize"]),s.webkitProprietaryPseudoClasses=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),s.pseudoClasses=i(s.aNPlusBNotationPseudoClasses,s.linguisticPseudoClasses,s.logicalCombinationsPseudoClasses,s.aNPlusBOfSNotationPseudoClasses,s.otherPseudoClasses),s.shorthandTimeProperties=new Set(["transition","animation"]),s.longhandTimeProperties=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),s.timeProperties=i(s.shorthandTimeProperties,s.longhandTimeProperties),s.camelCaseKeywords=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),s.counterIncrementKeywords=i(s.basicKeywords,["none"]),s.counterResetKeywords=i(s.basicKeywords,["none"]),s.gridRowKeywords=i(s.basicKeywords,["auto","span"]),s.gridColumnKeywords=i(s.basicKeywords,["auto","span"]),s.gridAreaKeywords=i(s.basicKeywords,["auto","span"]),s.listStyleTypeKeywords=i(s.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"]),s.listStylePositionKeywords=i(s.basicKeywords,["inside","outside"]),s.listStyleImageKeywords=i(s.basicKeywords,["none"]),s.listStyleShorthandKeywords=i(s.basicKeywords,s.listStyleTypeKeywords,s.listStylePositionKeywords,s.listStyleImageKeywords),s.fontStyleKeywords=i(s.basicKeywords,["normal","italic","oblique"]),s.fontVariantKeywords=i(s.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"]),s.fontStretchKeywords=i(s.basicKeywords,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),s.fontSizeKeywords=i(s.basicKeywords,["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]),s.lineHeightKeywords=i(s.basicKeywords,["normal"]),s.fontShorthandKeywords=i(s.basicKeywords,s.fontStyleKeywords,s.fontVariantKeywords,s.fontWeightKeywords,s.fontStretchKeywords,s.fontSizeKeywords,s.lineHeightKeywords,s.fontFamilyKeywords),s.keyframeSelectorKeywords=new Set(["from","to"]),s.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"]),s.atRules=i(s.pageMarginAtRules,["annotation","apply","character-variant","charset","counter-style","custom-media","custom-selector","document","font-face","font-feature-values","import","keyframes","media","namespace","nest","ornaments","page","property","styleset","stylistic","supports","swash","viewport"]),s.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"]),s.mediaFeatureNames=i(s.deprecatedMediaFeatureNames,["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","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"]),s.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"]),s.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"]),s.validMixedCaseSvgElements=new Set(["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","linearGradient","radialGradient","textPath"]),t.exports=s},{}],143:[(e,t,r)=>{t.exports=["calc","clamp","max","min"]},{}],144:[(e,t,r)=>{const s={};s.acceptCustomIdents=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),t.exports=s},{}],145:[(e,t,r)=>{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"]}},{}],146:[(e,t,r)=>{function s(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 r=t._postcssResult.stylelint.config;if(r&&r.rules&&Object.values(r.rules).some(e=>s(e)))for(const[i,n]of Object.entries(e))for(const e of n)s(r.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,severity:"error"})}})},{}],147:[(e,t,r)=>{const s=e("fastest-levenshtein"),i=e("./rules"),n=new Map;t.exports=((e,t,r)=>{const o=n.has(e)?n.get(e):(e=>{const t=Array.from({length:6});for(let e=0;e<t.length;e++)t[e]=[];for(const r of Object.keys(i)){const i=s.distance(r,e);i<=6&&t[i-1].push(r)}let r=[];for(const[e,s]of t.entries())if(s.length>0){if(e<3)return s.slice(0,3);r=r.concat(s)}return r.slice(0,3)})(e);n.set(e,o),r.warn(((t,r=[])=>`Unknown rule ${e}.${r.length>0?` Did you mean ${r.join(", ")}?`:""}`)(0,o),{severity:"error",rule:e,node:t,index:0})})},{"./rules":237,"fastest-levenshtein":19}],148:[function(e,t,r){(function(r){(()=>{const s=e("./createStylelint"),i=e("path");t.exports=(async(e,{cwd:t=r.cwd(),config:n,configBasedir:o,configFile:a}={})=>{if(!e)return;const l=s({config:n,configFile:a,configBasedir:o,cwd:t}),u=i.isAbsolute(e)?i.normalize(e):i.join(t,e),c=l._options.configFile||u,p=await l.getConfigForFile(c,u);return p?p.config:void 0})}).call(this)}).call(this,e("_process"))},{"./createStylelint":125,_process:115,path:44}],149:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="alpha-value-notation",m=u(h,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),g=new Set(["opacity","shape-image-threshold"]),y=new Set(["hsl","hsla","hwb","lab","lch","rgb","rgba"]),w=(e,t,r)=>(u,w)=>{if(!p(w,h,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[f,d]},optional:!0}))return;const O=Object.freeze({number:{expFunc:S,fixFunc:v},percentage:{expFunc:k,fixFunc:x}});u.walkDecls(u=>{let p=!1;const d=s(n(u));d.walk(s=>{let n;if(g.has(u.prop.toLowerCase()))n="word"===(b=s).type||"function"===b.type?b:void 0;else{if("function"!==s.type)return;if(!y.has(s.value.toLowerCase()))return;n=(e=>{const t=e.nodes.filter(({type:e})=>"word"===e||"function"===e);if(4===t.length)return t[3];const r=e.nodes.findIndex(({type:e,value:t})=>"div"===e&&"/"===t);return-1!==r?e.nodes.slice(r+1,e.nodes.length).find(({type:e})=>"word"===e):void 0})(s)}if(!n)return;const{value:c}=n;if(!o(c))return;if(!S(c)&&!k(c))return;let d=e;if(a(t,"exceptProperties",u.prop)&&("number"===d?d="percentage":"percentage"===d&&(d="number")),O[d].expFunc(c))return;const f=O[d].fixFunc(c),x=c;if(r.fix)return n.value=String(f),void(p=!0);l({message:m.expected(x,f),node:u,index:i(u)+n.sourceIndex,result:w,ruleName:h})}),p&&c(u,d.toString())})};var b;function x(e){const t=Number(e);return`${Number((100*t).toPrecision(3))}%`}function v(e){const t=s.unit(e);if(!t)return;const r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function k(e){const t=s.unit(e);return t&&"%"===t.unit}function S(e){const t=s.unit(e);return t&&""===t.unit}w.ruleName=h,w.messages=m,t.exports=w},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isStandardSyntaxValue":421,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],150:[(e,t,r)=>{const s=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}"`}),p=e=>{const t=[e].flat();return(e,r)=>{if(!o(r,u,{actual:t,possible:[l]}))return;const n=t;e.walkAtRules(e=>{const t=e.name;s(e)&&(n.includes(a.unprefixed(t).toLowerCase())||i({message:c.rejected(t),node:e,result:r,ruleName:u}))})}};p.primaryOptionArray=!0,p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],151:[(e,t,r)=>{const s=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}"`}),p=e=>{const t=[e].flat();return(e,r)=>{if(!o(r,u,{actual:t,possible:[l]}))return;const n=t;e.walkAtRules(e=>{const t=e.name;s(e)&&n.includes(a.unprefixed(t).toLowerCase())&&i({message:c.rejected(t),node:e,result:r,ruleName:u})})}};p.primaryOptionArray=!0,p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],152:[(e,t,r)=>{const s=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"),p=e("../../utils/isStandardSyntaxAtRule"),d=e("../../utils/optionsMatches"),f=e("../../utils/removeEmptyLinesBefore"),h=e("../../utils/report"),m=e("../../utils/ruleMessages"),g=e("../../utils/validateOptions"),{isString:y}=e("../../utils/validateTypes"),w="at-rule-empty-line-before",b=m(w,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),x=(e,t,r)=>(m,x)=>{if(!g(x,w,{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:[y]},optional:!0}))return;const v=e;m.walkAtRules(e=>{const m=e.parent&&"root"!==e.parent.type;if(c(e))return;if(!p(e))return;if(d(t,"ignoreAtRules",e.name))return;if(d(t,"ignore","blockless-after-blockless")&&a(e))return;if(d(t,"ignore","first-nested")&&u(e))return;if(d(t,"ignore","blockless-after-same-name-blockless")&&l(e))return;if(d(t,"ignore","inside-block")&&m)return;if(d(t,"ignore","after-comment")&&o(e))return;const g=n(e.raws.before);let y="always"===v;if((d(t,"except","after-same-name")&&(e=>{const t=i(e);return t&&"atrule"===t.type&&t.name===e.name})(e)||d(t,"except","inside-block")&&m||d(t,"except","first-nested")&&u(e)||d(t,"except","blockless-after-blockless")&&a(e)||d(t,"except","blockless-after-same-name-blockless")&&l(e))&&(y=!y),y===g)return;if(r.fix&&r.newline)return void(y?s(e,r.newline):f(e,r.newline));const k=y?b.expected:b.rejected;h({message:k,node:e,result:x,ruleName:w})})};x.ruleName=w,x.messages=b,t.exports=x},{"../../utils/addEmptyLineBefore":350,"../../utils/getPreviousNonSharedLineCommentNode":371,"../../utils/hasEmptyLine":377,"../../utils/isAfterComment":383,"../../utils/isBlocklessAtRuleAfterBlocklessAtRule":386,"../../utils/isBlocklessAtRuleAfterSameNameBlocklessAtRule":387,"../../utils/isFirstNested":395,"../../utils/isFirstNodeOfRoot":396,"../../utils/isStandardSyntaxAtRule":408,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesBefore":434,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],153:[(e,t,r)=>{const s=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,r)=>(t,n)=>{if(!o(n,a,{actual:e,possible:["lower","upper"]}))return;const u=e;t.walkAtRules(e=>{if(!s(e))return;const t=e.name,o="lower"===u?t.toLowerCase():t.toUpperCase();t!==o&&(r.fix?e.name=o:i({message:l.expected(t,o),node:e,ruleName:a,result:n}))})};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],154:[(e,t,r)=>{const s=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(r,i)=>{n(i,a,{actual:e,possible:["always","always-multi-line"]})&&s({root:r,result:i,locationChecker:t.afterOneOnly,checkedRuleName:a})}};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../atRuleNameSpaceChecker":160}],155:[(e,t,r)=>{const s=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,r)=>{const i=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","always-single-line"]})&&s({root:t,result:o,locationChecker:i.after,checkedRuleName:a,fix:r.fix?e=>{"string"==typeof e.raws.afterName&&(e.raws.afterName=e.raws.afterName.replace(/^\s*/," "))}:null})}};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../atRuleNameSpaceChecker":160}],156:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="at-rule-no-unknown",f=a(d,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),h=(e,t)=>(r,a)=>{l(a,d,{actual:e},{actual:t,possible:{ignoreAtRules:[p,c]},optional:!0})&&r.walkAtRules(e=>{if(!s(e))return;const r=e.name;n(t,"ignoreAtRules",e.name)||u.prefix(r)||i.atRules.has(r.toLowerCase())||o({message:f.rejected(`@${r}`),node:e,ruleName:d,result:a})})};h.ruleName=d,h.messages=f,t.exports=h},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxAtRule":408,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],157:[(e,t,r)=>{const s=e("../../utils/isStandardSyntaxAtRule"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{isPlainObject:a}=e("is-plain-object"),l="at-rule-property-required-list",u=n(l,{expected:(e,t)=>`Expected property "${e}" for at-rule "${t}"`}),c=e=>(t,r)=>{if(!o(r,l,{actual:e,possible:[a]}))return;const n=e;t.walkAtRules(e=>{if(!s(e))return;const{name:t,nodes:o}=e,a=t.toLowerCase();if(n[a])for(const t of n[a]){const s=t.toLowerCase();o.find(e=>"decl"===e.type&&e.prop.toLowerCase()===s)||i({message:u.expected(s,a),node:e,result:r,ruleName:l})}})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"is-plain-object":35}],158:[(e,t,r)=>{const s=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"),p="at-rule-semicolon-newline-after",d=l(p,{expectedAfter:()=>'Expected newline after ";"'}),f=(e,t,r)=>{const l=c("newline",e,d);return(t,c)=>{u(c,p,{actual:e,possible:["always"]})&&t.walkAtRules(e=>{const t=e.next();if(!t)return;if(s(e))return;if(!i(e))return;const u=n(t);u&&l.afterOneOnly({source:o(u),index:-1,err(t){r.fix?u.raws.before=r.newline+u.raws.before:a({message:t,node:e,index:e.toString().length+1,result:c,ruleName:p})}})})}};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/hasBlock":375,"../../utils/isStandardSyntaxAtRule":408,"../../utils/nextNonCommentNode":427,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],159:[(e,t,r)=>{const s=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",p=a(c,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),d=e=>{const t=u("space",e,p);return(r,a)=>{l(a,c,{actual:e,possible:["always","never"]})&&r.walkAtRules(e=>{if(s(e))return;if(!i(e))return;const r=n(e);t.before({source:r,index:r.length,err(t){o({message:t,node:e,index:r.length-1,result:a,ruleName:c})}})})}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/hasBlock":375,"../../utils/isStandardSyntaxAtRule":408,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],160:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxAtRule"),i=e("../utils/report");t.exports=(e=>{var t,r,n;e.root.walkAtRules(o=>{s(o)&&(t=`@${o.name}${o.raws.afterName||""}${o.params}`,r=o.name.length,n=o,e.locationChecker({source:t,index:r,err(t){e.fix?e.fix(n):i({message:t,node:n,index:r,result:e.result,ruleName:e.checkedRuleName})},errTarget:`@${n.name}`}))})})},{"../utils/isStandardSyntaxAtRule":408,"../utils/report":435}],161:[(e,t,r)=>{const s=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"),p=e("../../utils/report"),d=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),h="block-closing-brace-empty-line-before",m=d(h,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),g=(e,t,r)=>(d,g)=>{function y(d){if(!n(d)||o(d))return;const f=(d.raws.after||"").replace(/;+/,""),y=d.toString();let w=y.length-1;"\r"===y[w-1]&&(w-=1);const b=(()=>{const r=d.nodes.map(e=>e.type);return u(t,"except","after-closing-brace")&&"atrule"===d.type&&!r.includes("decl")?"never"===e:"always-multi-line"===e&&!l(i(d))})();if(b===a(f))return;if(r.fix){const{newline:e}=r;if("string"!=typeof e)return;return void(b?s(d,e):c(d,e))}const x=b?m.expected:m.rejected;p({message:x,result:g,ruleName:h,node:d,index:w})}f(g,h,{actual:e,possible:["always-multi-line","never"]},{actual:t,possible:{except:["after-closing-brace"]},optional:!0})&&(d.walkRules(y),d.walkAtRules(y))};g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/addEmptyLineAfter":349,"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/hasEmptyLine":377,"../../utils/isSingleLineString":407,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesAfter":433,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],162:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="block-closing-brace-newline-after",f=l(d,{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'}),h=(e,t,r)=>{const l=c("newline",e,f);return(c,f)=>{function h(u){if(!i(u))return;if("atrule"===u.type&&n(t,"ignoreAtRules",u.name))return;const c=u.next();if(!c)return;const p="comment"!==c.type||/[^ ]/.test(c.raws.before||"")||c.toString().includes("\n")?c:c.next();if(!p)return;let h=u.toString().length,m=o(p);m&&m.startsWith(";")&&(m=m.slice(1),h++),l.afterOneOnly({source:m,index:-1,lineCheckStr:s(u),err(t){if(r.fix){const t=p.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):r.newline+t.before)}if(e.startsWith("never"))return void(t.before="")}a({message:t,node:u,index:h,result:f,ruleName:d})}})}u(f,d,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[p]},optional:!0})&&(c.walkRules(h),c.walkAtRules(h))}};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/optionsMatches":429,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/whitespaceChecker":445}],163:[(e,t,r)=>{const s=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",p=l(c,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),d=(e,t,r)=>(t,l)=>{function d(t){if(!i(t)||n(t))return;const u=(t.raws.after||"").replace(/;+/,"");if(void 0===u)return;const d=!o(s(t)),f=t.toString();let h=f.length-2;function m(s){if(r.fix){const s=t.raws;if("string"!=typeof s.after)return;if(e.startsWith("always")){const e=s.after.search(/\s/),t=e>=0?s.after.slice(0,e):s.after,i=e>=0?s.after.slice(e):"",n=i.search(/\r?\n/);return void(s.after=n>=0?t+i.slice(n):t+r.newline+i)}if("never-multi-line"===e)return void(s.after=s.after.replace(/\s/g,""))}a({message:s,result:l,ruleName:c,node:t,index:h})}"\r"===f[h-1]&&(h-=1),u.startsWith("\n")||u.startsWith("\r\n")||("always"===e?m(p.expectedBefore):d&&"always-multi-line"===e&&m(p.expectedBeforeMultiLine)),""!==u&&d&&"never-multi-line"===e&&m(p.rejectedBeforeMultiLine)}u(l,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&(t.walkRules(d),t.walkAtRules(d))};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/isSingleLineString":407,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],164:[(e,t,r)=>{const s=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",p=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'}),d=e=>{const t=u("space",e,p);return(r,a)=>{function u(e){const r=e.next();if(!r)return;if(!i(e))return;let l=e.toString().length,u=n(r);u&&u.startsWith(";")&&(u=u.slice(1),l++),t.after({source:u,index:-1,lineCheckStr:s(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"]})&&(r.walkRules(u),r.walkAtRules(u))}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],165:[(e,t,r)=>{const s=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",p=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'}),d=(e,t,r)=>{const a=u("space",e,p);return(t,u)=>{function p(t){if(!i(t)||n(t))return;const l=s(t),p=t.toString();let d=p.length-2;"\r"===p[d-1]&&(d-=1),a.before({source:l,index:l.length-1,err(s){if(r.fix){const r=t.raws;if("string"!=typeof r.after)return;if(e.startsWith("always"))return void(r.after=r.after.replace(/\s*$/," "));if(e.startsWith("never"))return void(r.after=r.after.replace(/\s*$/,""))}o({message:s,node:t,index:d,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(p),t.walkAtRules(p))}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],166:[(e,t,r)=>{const s=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"),p="block-no-empty",d=l(p,{rejected:"Unexpected empty block"}),f=(e,t)=>(r,l)=>{if(!u(l,p,{actual:e,possible:c},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;const f=o(t,"ignore","comments");function h(e){if(!n(e)&&!f)return;if(!i(e))return;if(!e.nodes.every(e=>"comment"===e.type))return;let t=s(e,{noRawBefore:!0}).length;void 0===e.raws.between&&t--,a({message:d.rejected,node:e,index:t,result:l,ruleName:p})}r.walkRules(h),r.walkAtRules(h)};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/beforeBlockString":353,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],167:[(e,t,r)=>{const s=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/hasBlock"),o=e("../../utils/hasEmptyBlock"),a=e("../../utils/rawNodeString"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),p=e("../../utils/whitespaceChecker"),d="block-opening-brace-newline-after",f=u(d,{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,r)=>{const u=p("newline",e,f);return(t,p)=>{function f(t){if(!n(t)||o(t))return;const c=new Map,f=function e(t){if(t&&t.next){if("comment"===t.type){const r=/\r?\n/,s=r.test(t.raws.before||""),i=t.next();return i&&s&&!r.test(i.raws.before||"")&&(c.set(i,i.raws.before),i.raws.before=t.raws.before),e(i)}return t}}(t.first);if(f){u.afterOneOnly({source:a(f),index:-1,lineCheckStr:i(t),err(i){if(r.fix){const s=f.raws;if("string"!=typeof s.before)return;if(e.startsWith("always")){const e=s.before.search(/\r?\n/);return s.before=e>=0?s.before.slice(e):r.newline+s.before,void c.delete(f)}if("never-multi-line"===e){for(const[e,t]of c.entries())e.raws.before=t;c.clear();const e=/\r?\n/;let r=t.first;for(;r;){const t=r.raws;if("string"==typeof t.before){if(e.test(t.before||"")&&(t.before=t.before.replace(/\r?\n/g,"")),"comment"!==r.type)break;r=r.next()}}return void(s.before="")}}l({message:i,node:t,index:s(t,{noRawBefore:!0}).length+1,result:p,ruleName:d})}});for(const[e,t]of c.entries())e.raws.before=t}}c(p,d,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&(t.walkRules(f),t.walkAtRules(f))}};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/beforeBlockString":353,"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],168:[(e,t,r)=>{const s=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"),p="block-opening-brace-newline-before",d=l(p,{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,r)=>{const l=c("newline",e,d);return(t,c)=>{function d(t){if(!n(t)||o(t))return;const u=s(t),d=s(t,{noRawBefore:!0});let f=d.length-1;"\r"===d[f-1]&&(f-=1),l.beforeAllowingIndentation({lineCheckStr:i(t),source:u,index:u.length,err(s){if(r.fix){const s=t.raws;if("string"!=typeof s.between)return;if(e.startsWith("always")){const e=s.between.search(/\s+$/);return void(e>=0?t.raws.between=s.between.slice(0,e)+r.newline+s.between.slice(e):s.between+=r.newline)}if(e.startsWith("never"))return void(s.between=s.between.replace(/\s*$/,""))}a({message:s,node:t,index:f,result:c,ruleName:p})}})}u(c,p,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(t.walkRules(d),t.walkAtRules(d))}};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/beforeBlockString":353,"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],169:[(e,t,r)=>{const s=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"),p="block-opening-brace-space-after",d=l(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'}),f=(e,t,r)=>{const l=c("space",e,d);return(t,c)=>{function d(t){n(t)&&!o(t)&&l.after({source:i(t),index:0,err(i){if(r.fix){const r=t.first;if(null==r)return;if(e.startsWith("always"))return void(r.raws.before=" ");if(e.startsWith("never"))return void(r.raws.before="")}a({message:i,node:t,index:s(t,{noRawBefore:!0}).length+1,result:c,ruleName:p})}})}u(c,p,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]})&&(t.walkRules(d),t.walkAtRules(d))}};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/beforeBlockString":353,"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],170:[(e,t,r)=>{const s=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"),p=e("../../utils/whitespaceChecker"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="block-opening-brace-space-before",m=u(h,{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,r)=>{const u=p("space",e,m);return(p,m)=>{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 p=s(c),d=s(c,{noRawBefore:!0});let f=d.length-1;"\r"===d[f-1]&&(f-=1),u.before({source:p,index:p.length,lineCheckStr:i(c),err(t){if(r.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:m,ruleName:h})}})}c(m,h,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[f,d],ignoreSelectors:[f,d]},optional:!0})&&(p.walkRules(g),p.walkAtRules(g))}};g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/beforeBlockString":353,"../../utils/blockString":354,"../../utils/hasBlock":375,"../../utils/hasEmptyBlock":376,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/whitespaceChecker":445}],171:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d="color-function-notation",f=l(d,{expected:e=>`Expected ${e} color-function notation`}),h=new Set(["rgba","hsla"]),m=new Set(["rgb","rgba","hsl","hsla"]),g=(e,t,r)=>(t,l)=>{p(l,d,{actual:e,possible:["modern","legacy"]})&&t.walkDecls(t=>{let p=!1;const g=s(n(t));g.walk(s=>{if(!c(s))return;if(!o(s))return;const{value:n,sourceIndex:u,nodes:g}=s;if(m.has(n.toLowerCase())&&("modern"!==e||b(s))&&("legacy"!==e||!b(s))){if(r.fix&&"modern"===e){let e=0;return s.nodes=g.map(t=>(w(t)&&(e<2?(t.type="space",t.value=y(t.after),e++):(t.value="/",t.before=y(t.before),t.after=y(t.after))),t)),h.has(s.value.toLowerCase())&&(s.value=s.value.slice(0,-1)),void(p=!0)}a({message:f.expected(e),node:t,index:i(t)+u,result:l,ruleName:d})}}),p&&u(t,g.toString())})};function y(e){return""!==e?e:" "}function w(e){return"div"===e.type&&","===e.value}function b(e){return e.nodes&&e.nodes.some(e=>w(e))}g.ruleName=d,g.messages=f,t.exports=g},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isStandardSyntaxColorFunction":409,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"postcss-value-parser":83}],172:[(e,t,r)=>{const s=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,p=e=>(t,r)=>{o(r,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;"always"===e&&d(o)||("never"!==e||d(o))&&i({message:"never"===e?u.unexpected(o):u.expected(o),node:t,index:s(t)+n.sourceIndex,result:r,ruleName:l})})})};function d(e){return 5===e.length||9===e.length}p.ruleName=l,p.messages=u,t.exports=p},{"../../utils/declarationValueIndex":359,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],173:[(e,t,r)=>{const s=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",p=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),d=/^#[0-9A-Za-z]+/,f=new Set(["url"]),h=(e,t,r)=>(t,a)=>{u(a,c,{actual:e,possible:["lower","upper"]})&&t.walkDecls(t=>{const u=s(n(t));let h=!1;u.walk(s=>{const{value:n}=s;if((({type:e,value:t})=>"function"===e&&f.has(t.toLowerCase()))(s))return!1;if(!(({type:e,value:t})=>"word"===e&&d.test(t))(s))return;const l="lower"===e?n.toLowerCase():n.toUpperCase();return n!==l?r.fix?(s.value=l,void(h=!0)):void o({message:p.expected(n,l),node:t,index:i(t)+s.sourceIndex,result:a,ruleName:c}):void 0}),h&&l(t,u.toString())})};h.ruleName=c,h.messages=p,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],174:[(e,t,r)=>{const s=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",p=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),d=/^#[0-9A-Za-z]+/,f=new Set(["url"]),h=(e,t,r)=>(t,a)=>{u(a,c,{actual:e,possible:["short","long"]})&&t.walkDecls(t=>{const u=s(n(t));let h=!1;u.walk(s=>{const{value:n}=s;if((({type:e,value:t})=>"function"===e&&f.has(t.toLowerCase()))(s))return!1;if(!(({type:e,value:t})=>"word"===e&&d.test(t))(s))return;if("long"===e&&4!==n.length&&5!==n.length)return;if("short"===e&&(n.length<6||(m=(m=n).toLowerCase())[1]!==m[2]||m[3]!==m[4]||m[5]!==m[6]||7!==m.length&&(9!==m.length||m[7]!==m[8])))return;const l=("long"===e?function(e){let t="#";for(let r=1;r<e.length;r++)t+=e[r]+e[r];return t}:function(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t})(n);if(r.fix)return s.value=l,void(h=!0);o({message:p.expected(n,l),node:t,index:i(t)+s.sourceIndex,result:a,ruleName:c})}),h&&l(t,u.toString())})};var m;h.ruleName=c,h.messages=p,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],175:[(e,r,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,r="",s="",n,...o]=e.slice(4,-1).split(",");if(!t.trim()||!r.trim()||!s.trim()||o.length>0)return null;const a=i(`hwb(${t} ${r} ${s}${n?` / ${n}`:""})`);return a.isValid()?a.rgba:null}function l(e){if(!(e=e.toLowerCase()).startsWith("gray(")||!e.endsWith(")"))return null;const[r,s,...n]=e.slice(5,-1).split(",");if(n.length>0)return null;const a=o.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;let l={l:Number(a.number),a:0,b:0};if(s){const e=o.unit(s.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"])}]),r.exports={colord:i}},{colord:10,"colord/plugins/hwb":11,"colord/plugins/lab":12,"colord/plugins/lch":13,"colord/plugins/names":14,"postcss-value-parser":83}],176:[(e,t,r)=>{const s=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"),p=e("postcss-value-parser"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),{colord:h}=e("./colordUtils"),m="color-named",g=u(m,{expected:(e,t)=>`Expected "${t}" to be "${e}"`,rejected:e=>`Unexpected named color "${e}"`}),y=new Set(["word","function"]),w=(e,t)=>(r,u)=>{function w(e,t,r){l({result:u,ruleName:m,message:e,node:t,index:r})}c(u,m,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[f,d],ignore:["inside-function"]},optional:!0})&&r.walkDecls(r=>{a.acceptCustomIdents.has(r.prop)||o(t,"ignoreProperties",r.prop)||p(r.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(!y.has(u))return;if("never"===e&&"word"===u&&/^[a-z]+$/iu.test(l)&&"transparent"!==l.toLowerCase()&&h(l).isValid())return void w(g.rejected(l),r,s(r)+c);if("always-where-possible"!==e)return;let d=null;if("function"===u)d=p.stringify(a).replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else{if("word"!==u||!l.startsWith("#"))return;d=l}const f=h(d);if(!f.isValid())return;const m=f.toName();m&&"transparent"!==m.toLowerCase()&&w(g.expected(m,d),r,s(r)+c)})})};w.ruleName=m,w.messages=g,t.exports=w},{"../../reference/propertySets":144,"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxFunction":413,"../../utils/isStandardSyntaxValue":421,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"./colordUtils":175,"postcss-value-parser":83}],177:[(e,t,r)=>{const s=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}"`}),p=/^#[0-9A-Za-z]+/,d=new Set(["url"]),f=e=>(t,r)=>{l(r,u,{actual:e})&&t.walkDecls(e=>{s(n(e)).walk(t=>{if((({type:e,value:t})=>"function"===e&&d.has(t.toLowerCase()))(t))return!1;(({type:e,value:t})=>"word"===e&&p.test(t))(t)&&o({message:c.rejected(t.value),node:e,index:i(e)+t.sourceIndex,result:r,ruleName:u})})})};f.ruleName=u,f.messages=c,t.exports=f},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],178:[(e,t,r)=>{const s=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",p=a(c,{rejected:e=>`Unexpected invalid hex color "${e}"`}),d=e=>(t,r)=>{l(r,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];n(u)||o({message:p.rejected(u),node:e,index:s(e)+a,result:r,ruleName:c})})})};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxHexColor":414,"../../utils/isValidHex":423,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],179:[(e,t,r)=>{const s=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"),p=e("../../utils/removeEmptyLinesBefore"),d=e("../../utils/report"),f=e("../../utils/ruleMessages"),h=e("../../utils/validateOptions"),{isRegExp:m,isString:g}=e("../../utils/validateTypes"),y="comment-empty-line-before",w=f(y,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),b=(e,t,r)=>(f,b)=>{h(b,y,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[g,m]},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 h=(()=>!(c(t,"except","first-nested")&&o(f)||"always"!==e))(),m=f.raws.before||"";if(h===i(m))return;if(r.fix){if("string"!=typeof r.newline)return;return void(h?s(f,r.newline):p(f,r.newline))}const g=h?w.expected:w.rejected;d({message:g,node:f,result:b,ruleName:y})})};b.ruleName=y,b.messages=w,t.exports=b},{"../../utils/addEmptyLineBefore":350,"../../utils/hasEmptyLine":377,"../../utils/isAfterComment":383,"../../utils/isFirstNested":395,"../../utils/isFirstNodeOfRoot":396,"../../utils/isSharedLineComment":406,"../../utils/isStandardSyntaxComment":411,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesBefore":434,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],180:[(e,t,r)=>{const s=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,r)=>{o(r,a,{actual:e})&&t.walkComments(e=>{s(e)&&(e.text&&0!==e.text.length||i({message:l.rejected,node:e,result:r,ruleName:a}))})};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/isStandardSyntaxComment":411,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],181:[(e,t,r)=>{const s=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,r)=>{if(!n(r,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)||s({message:u.expected(e),node:t,result:r,ruleName:l})})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],182:[(e,t,r)=>{const s=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,r)=>(t,o)=>{a(o,l,{actual:e,possible:["always","never"]})&&t.walkComments(t=>{if(!s(t))return;const a=t.toString(),c=a.substr(0,4);if(/^\/\*[#!]\s/.test(c))return;const p=a.match(/(^\/\*+)(\s)?/);if(null==p)throw new Error(`Invalid comment: "${a}"`);const d=a.match(/(\s)?(\*+\/)$/);if(null==d)throw new Error(`Invalid comment: "${a}"`);const f=p[1],h=p[2]||"",m=d[1]||"",g=d[2];function y(s,i){var a,u;r.fix?"never"===e?(t.raws.left="",t.raws.right="",t.text=t.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(h||((u=t).text.startsWith("*")?u.text=u.text.replace(/^(\*+)/,"$1 "):u.raws.left=" "),m||("*"===(a=t).text[a.text.length-1]?a.text=a.text.replace(/(\*+)$/," $1"):a.raws.right=" ")):n({message:s,index:i,result:o,ruleName:l,node:t})}"never"===e&&""!==h&&y(u.rejectedOpening,f.length),"always"!==e||i(h)||y(u.expectedOpening,f.length),"never"===e&&""!==m&&y(u.rejectedClosing,t.toString().length-g.length-1),"always"!==e||i(m)||y(u.expectedClosing,t.toString().length-g.length-1)})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/isStandardSyntaxComment":411,"../../utils/isWhitespace":425,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],183:[(e,t,r)=>{const s=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",p=o(c,{rejected:e=>`Unexpected word matching pattern "${e}"`}),d=e=>(t,r)=>{a(r,c,{actual:e,possible:[u,l]})&&t.walkComments(t=>{const o=t.text;if("/*# "===t.toString().substr(0,4))return;const a=i(o,e)||s(o,e);a&&n({message:p.rejected(a.pattern),node:t,result:r,ruleName:c})})};d.primaryOptionArray=!0,d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/containsString":358,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],184:[(e,t,r)=>{const s=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}"`}),p=e=>(t,r)=>{if(!o(r,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)throw new Error(`Unexpected at-rule params: "${t.params}"`);const a=o[1];n.test(a)||i({message:c.expected(e),node:t,index:s(t),result:r,ruleName:u})})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],185:[(e,t,r)=>{const s=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"),p=e("../../utils/isStandardSyntaxDeclaration"),d=e("../../utils/optionsMatches"),f=e("../../utils/removeEmptyLinesBefore"),h=e("../../utils/report"),m=e("../../utils/ruleMessages"),g=e("../../utils/validateOptions"),{isAtRule:y,isDeclaration:w,isRule:b}=e("../../utils/typeGuards"),x="custom-property-empty-line-before",v=m(x,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),k=(e,t,r)=>(m,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})&&m.walkDecls(m=>{const g=m.prop,S=m.parent;if(!p(m))return;if(!l(g))return;if(d(t,"ignore","after-comment")&&a(m))return;if(d(t,"ignore","first-nested")&&u(m))return;if(d(t,"ignore","inside-single-line-block")&&null!=S&&(y(S)||b(S))&&c(i(S)))return;let O="always"===e;if((d(t,"except","first-nested")&&u(m)||d(t,"except","after-comment")&&a(m)||d(t,"except","after-custom-property")&&(e=>{const t=n(m);return null!=t&&w(t)&&l(t.prop)})())&&(O=!O),O===o(m.raws.before))return;if(r.fix){if(null==r.newline)return;return void(O?s(m,r.newline):f(m,r.newline))}const C=O?v.expected:v.rejected;h({message:C,node:m,result:k,ruleName:x})})};k.ruleName=x,k.messages=v,t.exports=k},{"../../utils/addEmptyLineBefore":350,"../../utils/blockString":354,"../../utils/getPreviousNonSharedLineCommentNode":371,"../../utils/hasEmptyLine":377,"../../utils/isAfterComment":383,"../../utils/isCustomProperty":393,"../../utils/isFirstNested":395,"../../utils/isSingleLineString":407,"../../utils/isStandardSyntaxDeclaration":412,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesBefore":434,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442}],186:[(e,t,r)=>{const s=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}"`}),p=e=>(t,r)=>{if(!l(r,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;s(t).walk(t=>!(({type:e,value:t})=>"function"===e&&"var"===t)(t)&&((({type:e,value:t})=>"word"===e&&t.startsWith("--"))(t)&&a.has(t.value)?(o({message:c.rejected(t.value),node:e,index:i(e)+t.sourceIndex,result:r,ruleName:u}),!1):void 0))})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/declarationValueIndex":359,"../../utils/isCustomProperty":393,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],187:[(e,t,r)=>{const s=e("../../utils/isCustomProperty"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),{isRegExp:a,isString:l}=e("../../utils/validateTypes"),u="custom-property-pattern",c=n(u,{expected:e=>`Expected custom property name to match pattern "${e}"`}),p=e=>(t,r)=>{if(!o(r,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkDecls(t=>{const o=t.prop;s(o)&&(n.test(o.slice(2))||i({message:c.expected(e),node:t,result:r,ruleName:u}))})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isCustomProperty":393,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],188:[(e,t,r)=>{const s=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",p=o(c,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),d=(e,t,r)=>{const o=u("space",e,p);return(t,u)=>{l(u,c,{actual:e,possible:["always","never"]})&&s({root:t,result:u,locationChecker:o.after,checkedRuleName:c,fix:r.fix?(t,r)=>{let s=r-i(t);const o=n(t);let l,u;if(s<o.length)l=o,u=(e=>{a(t,e)});else{if(!t.important)return!1;l=t.raws.important||" !important",s-=o.length,u=(e=>{t.raws.important=e})}const c=l.slice(0,s+1),p=l.slice(s+1);return"always"===e?(u(c+p.replace(/^\s*/," ")),!0):"never"===e&&(u(c+p.replace(/^\s*/,"")),!0)}:null})}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../declarationBangSpaceChecker":209}],189:[(e,t,r)=>{const s=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",p=o(c,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),d=(e,t,r)=>{const o=u("space",e,p);return(t,u)=>{l(u,c,{actual:e,possible:["always","never"]})&&s({root:t,result:u,locationChecker:o.before,checkedRuleName:c,fix:r.fix?(t,r)=>{let s=r-i(t);const o=n(t);let l,u;if(s<o.length)l=o,u=(e=>{a(t,e)});else{if(!t.important)return!1;l=t.raws.important||" !important",s-=o.length,u=(e=>{t.raws.important=e})}const c=l.slice(0,s),p=l.slice(s);return"always"===e?(u(c.replace(/\s*$/,"")+" "+p),!0):"never"===e&&(u(c.replace(/\s*$/,"")+p),!0)}:null})}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../declarationBangSpaceChecker":209}],190:[(e,t,r)=>{const s=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}"`}),p=e=>(t,r)=>{l(r,u,{actual:e})&&s(t,e=>{const t=new Set;e(e=>{const s=e.prop;n(s)&&i(s)&&(t.has(s)?o({message:c.rejected(s),node:e,result:r,ruleName:u}):t.add(s))})})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/eachDeclarationBlock":360,"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxProperty":416,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],191:[(e,t,r)=>{const s=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"),p=e("../../utils/vendor"),d="declaration-block-no-duplicate-properties",f=l(d,{rejected:e=>`Unexpected duplicate "${e}"`}),h=(e,t)=>(r,l)=>{if(!u(l,d,{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 h=o(t,"ignore","consecutive-duplicates"),m=o(t,"ignore","consecutive-duplicates-with-different-values"),g=o(t,"ignore","consecutive-duplicates-with-same-prefixless-values");s(r,e=>{const r=[],s=[];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 y=r.indexOf(u.toLowerCase());if(-1!==y){if(m||g){if(y!==r.length-1)return void a({message:f.rejected(u),node:e,result:l,ruleName:d});const t=s[y];return g&&p.unprefixed(c)!==p.unprefixed(t)?void a({message:f.rejected(u),node:e,result:l,ruleName:d}):c===t?void a({message:f.rejected(u),node:e,result:l,ruleName:d}):void 0}if(h&&y===r.length-1)return;a({message:f.rejected(u),node:e,result:l,ruleName:d})}r.push(u.toLowerCase()),s.push(c.toLowerCase())})})};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/eachDeclarationBlock":360,"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxProperty":416,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],192:[(e,t,r)=>{const s=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:p,isString:d}=e("../../utils/validateTypes"),f="declaration-block-no-redundant-longhand-properties",h=a(f,{expected:e=>`Expected shorthand property "${e}"`}),m=(e,t)=>(r,a)=>{if(!u(a,f,{actual:e},{actual:t,possible:{ignoreShorthands:[d,p]},optional:!0}))return;const m=Object.entries(l).reduce((e,[r,s])=>{if(n(t,"ignoreShorthands",r))return e;for(const t of s)(e[t]||(e[t]=[])).push(r);return e},{});i(r,e=>{const t={};e(e=>{const r=e.prop.toLowerCase(),i=c.unprefixed(r),n=c.prefix(r),u=m[i];if(u)for(const i of u){const u=n+i;t[u]||(t[u]=[]),t[u].push(r);const c=l[i].map(e=>n+e);s(c.sort(),t[u].sort())&&o({ruleName:f,result:a,node:e,message:h.expected(u)})}})})};m.ruleName=f,m.messages=h,t.exports=m},{"../../reference/shorthandData":145,"../../utils/arrayEqual":351,"../../utils/eachDeclarationBlock":360,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],193:[(e,t,r)=>{const s=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}"`}),p=e=>(t,r)=>{a(r,u,{actual:e})&&s(t,e=>{const t={};e(e=>{const s=e.prop,n=l.unprefixed(s),a=l.prefix(s).toLowerCase(),p=o[n.toLowerCase()];if(p)for(const n of p)Object.prototype.hasOwnProperty.call(t,a+n)&&i({ruleName:u,result:r,node:e,message:c.rejected(s,t[a+n])});else t[s.toLowerCase()]=s})})};p.ruleName=u,p.messages=c,t.exports=p},{"../../reference/shorthandData":145,"../../utils/eachDeclarationBlock":360,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444}],194:[(e,t,r)=>{const s=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:p}=e("../../utils/typeGuards"),d="declaration-block-semicolon-newline-after",f=a(d,{expectedAfter:()=>'Expected newline after ";"',expectedAfterMultiLine:()=>'Expected newline after ";" in a multi-line declaration block',rejectedAfterMultiLine:()=>'Unexpected newline after ";" in a multi-line declaration block'}),h=(e,t,r)=>{const a=u("newline",e,f);return(t,u)=>{l(u,d,{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)&&!p(l))return;if(!l.raws.semicolon&&l.last===t)return;const f=t.next();if(!f)return;const h=i(f);h&&a.afterOneOnly({source:n(h),index:-1,lineCheckStr:s(l),err(s){if(r.fix){if(e.startsWith("always")){const e=h.raws.before.search(/\r?\n/);return void(h.raws.before=e>=0?h.raws.before.slice(e):r.newline+h.raws.before)}if("never-multi-line"===e)return void(h.raws.before="")}o({message:s,node:t,index:t.toString().length+1,result:u,ruleName:d})}})})}};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/blockString":354,"../../utils/nextNonCommentNode":427,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],195:[(e,t,r)=>{const s=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",p=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'}),d=e=>{const t=a("newline",e,p);return(r,n)=>{o(n,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&r.walkDecls(e=>{const r=e.parent;if(!r)throw new Error("A parent node must be present");if(!l(r)&&!u(r))return;if(!r.raws.semicolon&&r.last===e)return;const o=e.toString();t.beforeAllowingIndentation({source:o,index:o.length,lineCheckStr:s(r),err(t){i({message:t,node:e,index:e.toString().length-1,result:n,ruleName:c})}})})}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/blockString":354,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],196:[(e,t,r)=>{const s=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"),p="declaration-block-semicolon-space-after",d=o(p,{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,r)=>{const o=l("space",e,d);return(t,l)=>{a(l,p,{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 d=t.next();d&&o.after({source:i(d),index:-1,lineCheckStr:s(a),err(s){if(r.fix){if(e.startsWith("always"))return void(d.raws.before=" ");if(e.startsWith("never"))return void(d.raws.before="")}n({message:s,node:t,index:t.toString().length+1,result:l,ruleName:p})}})})}};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/blockString":354,"../../utils/rawNodeString":432,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],197:[(e,t,r)=>{const s=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:p}=e("../../utils/typeGuards"),d="declaration-block-semicolon-space-before",f=o(d,{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'}),h=(e,t,r)=>{const o=u("space",e,f);return(t,u)=>{l(u,d,{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)&&!p(l))return;if(!l.raws.semicolon&&l.last===t)return;const f=t.toString();o.before({source:f,index:f.length,lineCheckStr:s(l),err(s){if(r.fix){const r=i(t);if(e.startsWith("always"))return void(t.important?t.raws.important=" !important ":a(t,r.replace(/\s*$/," ")));if(e.startsWith("never"))return void(t.raws.important?t.raws.important=t.raws.important.replace(/\s*$/,""):a(t,r.replace(/\s*$/,"")))}n({message:s,node:t,index:t.toString().length-1,result:u,ruleName:d})}})})}};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/blockString":354,"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],198:[(e,t,r)=>{const s=e("../../utils/beforeBlockString"),i=e("../../utils/blockString"),n=e("../../utils/isSingleLineString"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),{isNumber:u}=e("../../utils/validateTypes"),c="declaration-block-single-line-max-declarations",p=a(c,{expected:e=>`Expected no more than ${e} ${1===e?"declaration":"declarations"}`}),d=e=>(t,r)=>{l(r,c,{actual:e,possible:[u]})&&t.walkRules(t=>{n(i(t))&&t.nodes&&(t.nodes.filter(e=>"decl"===e.type).length<=e||o({message:p.expected(e),node:t,index:s(t,{noRawBefore:!0}).length,result:r,ruleName:c}))})};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/beforeBlockString":353,"../../utils/blockString":354,"../../utils/isSingleLineString":407,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],199:[(e,t,r)=>{const s=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,r)=>(o,c)=>{function p(s){if(!s.parent)throw new Error("A parent node must be present");const o=s.parent.raws.semicolon;if(i(t,"ignore","single-declaration")&&s.parent.first===s)return;let a;if("always"===e){if(o)return;if(r.fix)return s.parent.raws.semicolon=!0,void("atrule"===s.type&&(s.raws.between="",s.parent.raws.after=" "));a=u.expected}else{if("never"!==e)throw new Error(`Unexpected primary option: "${e}"`);if(!o)return;if(r.fix)return void(s.parent.raws.semicolon=!1);a=u.rejected}n({message:a,node:s,index:s.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&&(s(e)||p(e))}),o.walkDecls(e=>{if(!e.parent)throw new Error("A parent node must be present");"object"!==e.parent.type&&e===e.parent.last&&p(e)}))};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/hasBlock":375,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],200:[(e,t,r)=>{const s=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'}),p=(e,t,r)=>{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=s(e)+(e.raws.between||"").length-1,a=`${e.toString().slice(0,t)}xxx`;for(let t=0,i=a.length;t<i;t++){if(":"!==a[t])continue;const i=/^[^\S\r\n]*\/\*/.test(a.slice(t+1))?a.indexOf("*/",t)+1:t;o.afterOneOnly({source:a,index:i,lineCheckStr:e.value,err(t){if(r.fix){const t=e.raws.between;if(null==t)throw new Error("`between` must be present");const n=s(e)-t.length,o=i-n+1,a=t.slice(0,o),l=t.slice(o);e.raws.between=/^\s*\n/.test(l)?a+l.replace(/^[^\S\r\n]*/,""):a+r.newline+l}else n({message:t,node:e,index:i,result:l,ruleName:u})}})}})}};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxDeclaration":412,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445}],201:[(e,t,r)=>{const s=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,r)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never","always-single-line"]})&&s({root:t,result:a,locationChecker:n.after,checkedRuleName:l,fix:r.fix?(t,r)=>{const s=r-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,s)+n.slice(s).replace(/^:\s*/,": "),!0):"never"===e&&(t.raws.between=n.slice(0,s)+n.slice(s).replace(/^:\s*/,":"),!0)}:null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/declarationValueIndex":359,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../declarationColonSpaceChecker":210}],202:[(e,t,r)=>{const s=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,r)=>{const n=a("space",e,u);return(t,a)=>{o(a,l,{actual:e,possible:["always","never"]})&&s({root:t,result:a,locationChecker:n.before,checkedRuleName:l,fix:r.fix?(t,r)=>{const s=r-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,s).replace(/\s*$/," ")+n.slice(s),!0):"never"===e&&(t.raws.between=n.slice(0,s).replace(/\s*$/,"")+n.slice(s),!0)}:null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/declarationValueIndex":359,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../declarationColonSpaceChecker":210}],203:[(e,t,r)=>{const s=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"),p=e("../../utils/isSingleLineString"),d=e("../../utils/isStandardSyntaxDeclaration"),f=e("../../utils/optionsMatches"),h=e("../../utils/removeEmptyLinesBefore"),m=e("../../utils/report"),g=e("../../utils/ruleMessages"),y=e("../../utils/validateOptions"),{isAtRule:w,isRule:b,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,r)=>(g,S)=>{y(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 y=g.prop,O=g.parent;if(null==O)return;if(c(g))return;if(!w(O)&&!b(O)&&!x(O))return;if(!d(g))return;if(l(y))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")&&p(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(r.fix){if(null==r.newline)return;return void(C?s(g,r.newline):h(g,r.newline))}const A=C?k.expected:k.rejected;m({message:A,node:g,result:S,ruleName:v})})};S.ruleName=v,S.messages=k,t.exports=S},{"../../utils/addEmptyLineBefore":350,"../../utils/blockString":354,"../../utils/hasEmptyLine":377,"../../utils/isAfterComment":383,"../../utils/isAfterStandardPropertyDeclaration":385,"../../utils/isCustomProperty":393,"../../utils/isFirstNested":395,"../../utils/isFirstNodeOfRoot":396,"../../utils/isSingleLineString":407,"../../utils/isStandardSyntaxDeclaration":412,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesBefore":434,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442}],204:[(e,t,r)=>{const s=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="declaration-no-important",a=i(o,{rejected:"Unexpected !important"}),l=e=>(t,r)=>{n(r,o,{actual:e})&&t.walkDecls(e=>{e.important&&s({message:a.rejected,node:e,word:"important",result:r,ruleName:o})})};l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],205:[(e,t,r)=>{const s=e("../../utils/declarationValueIndex"),i=e("../../utils/getUnitFromValueNode"),n=e("../../utils/matchesStringOrRegExp"),o=e("../../utils/optionsMatches"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("postcss-value-parser"),p=e("../../utils/vendor"),{isPlainObject:d}=e("is-plain-object"),f="declaration-property-unit-allowed-list",h=l(f,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),m=(e,t)=>(r,l)=>{u(l,f,{actual:e,possible:[d]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(r=>{const u=r.prop,d=r.value,m=p.unprefixed(u),g=Object.keys(e).find(e=>n(m,e));if(!g)return;const y=e[g];y&&c(d).walk(e=>{if("function"===e.type){if("url"===e.value.toLowerCase())return!1;if(o(t,"ignore","inside-function"))return!1}if("string"===e.type)return;const n=i(e);n&&-1===(n&&y.indexOf(n.toLowerCase()))&&a({message:h.rejected(u,n),node:r,index:s(r)+e.sourceIndex,result:l,ruleName:f})})})};m.ruleName=f,m.messages=h,t.exports=m},{"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/matchesStringOrRegExp":426,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"is-plain-object":35,"postcss-value-parser":83}],206:[(e,t,r)=>{const s=e("../../utils/declarationValueIndex"),i=e("../../utils/getUnitFromValueNode"),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"),{isPlainObject:p}=e("is-plain-object"),d="declaration-property-unit-disallowed-list",f=a(d,{rejected:(e,t)=>`Unexpected unit "${t}" for property "${e}"`}),h=e=>(t,r)=>{l(r,d,{actual:e,possible:[p]})&&t.walkDecls(t=>{const a=t.prop,l=t.value,p=c.unprefixed(a),h=Object.keys(e).find(e=>n(p,e));if(!h)return;const m=e[h];m&&u(l).walk(e=>{if("function"===e.type&&"url"===e.value.toLowerCase())return!1;if("string"===e.type)return;const n=i(e);!n||n&&!m.includes(n.toLowerCase())||o({message:f.rejected(a,n),node:t,index:s(t)+e.sourceIndex,result:r,ruleName:d})})})};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"is-plain-object":35,"postcss-value-parser":83}],207:[(e,t,r)=>{const s=e("../../utils/matchesStringOrRegExp"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/vendor"),{isPlainObject:l}=e("is-plain-object"),u="declaration-property-value-allowed-list",c=n(u,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),p=e=>(t,r)=>{o(r,u,{actual:e,possible:[l]})&&t.walkDecls(t=>{const n=t.prop,o=t.value,l=a.unprefixed(n),p=Object.keys(e).find(e=>s(l,e));if(!p)return;const d=e[p];d&&0!==d.length&&(s(o,d)||i({message:c.rejected(n,o),node:t,result:r,ruleName:u}))})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"is-plain-object":35}],208:[(e,t,r)=>{const s=e("../../utils/matchesStringOrRegExp"),i=e("../../utils/report"),n=e("../../utils/ruleMessages"),o=e("../../utils/validateOptions"),a=e("../../utils/vendor"),{isPlainObject:l}=e("is-plain-object"),u="declaration-property-value-disallowed-list",c=n(u,{rejected:(e,t)=>`Unexpected value "${t}" for property "${e}"`}),p=e=>(t,r)=>{o(r,u,{actual:e,possible:[l]})&&t.walkDecls(t=>{const n=t.prop,o=t.value,l=a.unprefixed(n),p=Object.keys(e).find(e=>s(l,e));if(!p)return;const d=e[p];d&&0!==d.length&&s(o,d)&&i({message:c.rejected(n,o),node:t,result:r,ruleName:u})})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"is-plain-object":35}],209:[(e,t,r)=>{const s=e("../utils/declarationValueIndex"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,r,o;e.root.walkDecls(a=>{const l=s(a),u=a.toString(),c=a.toString().slice(l);c.includes("!")&&n({source:c,target:"!"},s=>{t=u,r=s.startIndex+l,o=a,e.locationChecker({source:t,index:r,err(t){e.fix&&e.fix(o,r)||i({message:t,node:o,index:r,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/declarationValueIndex":359,"../utils/report":435,"style-search":121}],210:[(e,t,r)=>{const s=e("../utils/declarationValueIndex"),i=e("../utils/isStandardSyntaxDeclaration"),n=e("../utils/report");t.exports=(e=>{e.root.walkDecls(t=>{if(!i(t))return;const r=s(t)+(t.raws.between||"").length-1,o=`${t.toString().slice(0,r)}xxx`;for(let r=0,s=o.length;r<s;r++)if(":"===o[r]){e.locationChecker({source:o,index:r,lineCheckStr:t.value,err(s){e.fix&&e.fix(t,r)||n({message:s,node:t,index:t.prop.toString().length+1,result:e.result,ruleName:e.checkedRuleName})}});break}})})},{"../utils/declarationValueIndex":359,"../utils/isStandardSyntaxDeclaration":412,"../utils/report":435}],211:[(e,t,r)=>{const s=e("style-search"),i=[">=","<=",">","<","="];t.exports=((e,t)=>{if("media"!==e.name.toLowerCase())return;const r=e.raws.params?e.raws.params.raw:e.params;s({source:r,target:i},s=>{const i=r[s.startIndex-1];">"!==i&&"<"!==i&&t(s,r,e)})})},{"style-search":121}],212:[(e,t,r)=>{const s=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",p=l(c,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),d=e=>(t,r)=>{function l(t,r){if(!i(t))return;if(n(t))return;const s=t.startsWith("'")||t.startsWith('"'),a=t.replace(/^['"]|['"]$/g,"");if(o.fontFamilyKeywords.has(a.toLowerCase())||(l=a).startsWith("-apple-")||"BlinkMacSystemFont"===l)return s?d(p.rejected(a),a,r):void 0;var l;const u=a.split(/\s+/).some(e=>/^(?:-?\d|--)/.test(e)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(e)),c=!/^[-a-zA-Z]+$/.test(a);switch(e){case"always-unless-keyword":return s?void 0:d(p.expected(a),a,r);case"always-where-recommended":return!c&&s?d(p.rejected(a),a,r):c&&!s?d(p.expected(a),a,r):void 0;case"always-where-required":if(!u&&s)return d(p.rejected(a),a,r);if(u&&!s)return d(p.expected(a),a,r)}}function d(e,t,s){a({result:r,ruleName:c,message:e,node:s,word:t})}u(r,c,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]})&&t.walkDecls(/^font(-family)?$/i,e=>{const t=s(e.value);if(0!==t.length)for(const r of t){let t=r.value;"quote"in r&&(t=r.quote+t+r.quote),l(t,e)}})};d.ruleName=c,d.messages=p,t.exports=d},{"../../reference/keywordSets":142,"../../utils/findFontFamily":363,"../../utils/isStandardSyntaxValue":421,"../../utils/isVariable":424,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],213:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="font-family-no-duplicate-names",f=l(d,{rejected:e=>`Unexpected duplicate name ${e}`}),h=e=>!("quote"in e)&&n.fontFamilyKeywords.has(e.value.toLowerCase()),m=(e,t)=>(r,n)=>{function l(e,t,r){a({result:n,ruleName:d,message:e,node:r,index:t})}u(n,d,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[p,c]},optional:!0})&&r.walkDecls(/^font(-family)?$/i,e=>{const r=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))if(h(i)){if(r.has(a.toLowerCase())){l(f.rejected(a),s(e)+i.sourceIndex,e);continue}r.add(a)}else n.has(a)?l(f.rejected(a),s(e)+i.sourceIndex,e):n.add(a)}})};m.ruleName=d,m.messages=f,t.exports=m},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/findFontFamily":363,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],214:[(e,t,r)=>{const s=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"),p=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isAtRule:f}=e("../../utils/typeGuards"),{isRegExp:h,isString:m}=e("../../utils/validateTypes"),g="font-family-no-missing-generic-family-keyword",y=p(g,{rejected:"Unexpected missing generic font family"}),w=(e,t)=>(r,p)=>{d(p,g,{actual:e},{actual:t,possible:{ignoreFontFamilies:[m,h]},optional:!0})&&r.walkDecls(/^font(-family)?$/i,e=>{const r=e.parent;if(r&&f(r)&&"font-face"===r.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 d=i(e.value);0!==d.length&&(d.some(e=>(e=>!("quote"in e)&&a.fontFamilyKeywords.has(e.value.toLowerCase()))(e))||d.some(e=>l(t,"ignoreFontFamilies",e.value))||c({result:p,ruleName:g,message:y.rejected,node:e,index:s(e)+d[d.length-1].sourceIndex}))})};w.ruleName=g,w.messages=y,t.exports=w},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/findFontFamily":363,"../../utils/isStandardSyntaxValue":421,"../../utils/isVariable":424,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/validateTypes":443,postcss:103}],215:[(e,t,r)=>{const s=e("../../utils/declarationValueIndex"),i=e("../../utils/isNumbery"),n=e("../../utils/isStandardSyntaxValue"),o=e("../../utils/isVariable"),a=e("../../reference/keywordSets"),l=e("../../utils/optionsMatches"),u=e("postcss"),c=e("../../utils/report"),p=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isAtRule:f}=e("../../utils/typeGuards"),h="font-weight-notation",m=p(h,{expected:e=>`Expected ${e} font-weight notation`,invalidNamed:e=>`Unexpected invalid font-weight name "${e}"`}),g="inherit",y="initial",w="normal",b=new Set(["400","700"]),x=(e,t)=>(r,p)=>{function x(r,d){if(!n(r))return;if(o(r))return;if(r.toLowerCase()===g||r.toLowerCase()===y)return;if(l(t,"ignore","relative")&&a.fontWeightRelativeKeywords.has(r.toLowerCase()))return;const x=d.value.indexOf(r);if("numeric"===e){const e=d.parent;if(e&&f(e)&&"font-face"===e.name.toLowerCase())return u.list.space(r).every(e=>i(e))?void 0:v(m.expected("numeric"));if(!i(r))return v(m.expected("numeric"))}if("named-where-possible"===e){if(i(r))return void(b.has(r)&&v(m.expected("named")));if(!a.fontWeightKeywords.has(r.toLowerCase())&&r.toLowerCase()!==w)return v(m.invalidNamed(r))}function v(e){c({ruleName:h,result:p,message:e,node:d,index:s(d)+x})}}d(p,h,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0})&&r.walkDecls(e=>{"font-weight"===e.prop.toLowerCase()&&x(e.value,e),"font"===e.prop.toLowerCase()&&(e=>{const t=u.list.space(e.value).some(e=>i(e));for(const r of u.list.space(e.value))if(r.toLowerCase()===w&&!t||i(r)||r.toLowerCase()!==w&&a.fontWeightKeywords.has(r.toLowerCase()))return void x(r,e)})(e)})};x.ruleName=h,x.messages=m,t.exports=x},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/isNumbery":401,"../../utils/isStandardSyntaxValue":421,"../../utils/isVariable":424,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,postcss:103}],216:[(e,t,r)=>{const s=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:p,isString:d}=e("../../utils/validateTypes"),f="function-allowed-list",h=a(f,{rejected:e=>`Unexpected function "${e}"`}),m=e=>{const t=[e].flat();return(e,r)=>{l(r,f,{actual:t,possible:[d,p]})&&e.walkDecls(e=>{const a=e.value;u(a).walk(a=>{"function"===a.type&&i(a)&&(n(c.unprefixed(a.value),t)||o({message:h.rejected(a.value),node:e,index:s(e)+a.sourceIndex,result:r,ruleName:f}))})})}};m.primaryOptionArray=!0,m.ruleName=f,m.messages=h,t.exports=m},{"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxFunction":413,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,"postcss-value-parser":83}],217:[(e,t,r)=>{const s=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="function-calc-no-unspaced-operator",p=a(c,{expectedBefore:e=>`Expected single space before "${e}" operator`,expectedAfter:e=>`Expected single space after "${e}" operator`,expectedOperatorBeforeSign:e=>`Expected an operator before sign "${e}"`}),d=new Set(["*","/","+","-"]),f=/[*/+-]/,h=(e,t,r)=>(t,a)=>{function h(e,t,r){o({message:e,node:t,index:r,result:a,ruleName:c})}u(a,c,{actual:e})&&t.walkDecls(e=>{let t=!1;const o=i(e),a=s(n(e));function u(s,i,n){const a=-1===n,l=s[i+n],u=s[i].value,c=s[i].sourceIndex;if(l&&!g(l)){if("word"===l.type){if(a){const t=l.value.slice(-1);if(d.has(t))return r.fix?(l.value=`${l.value.slice(0,-1)} ${t}`,!0):(h(p.expectedOperatorBeforeSign(u),e,c),!0)}else{const t=l.value.slice(0,1);if(d.has(t))return r.fix?(l.value=`${t} ${l.value.slice(1)}`,!0):(h(p.expectedAfter(u),e,c),!0)}return r.fix?(t=!0,l.value=a?`${l.value} `:` ${l.value}`,!0):(h(a?p.expectedBefore(u):p.expectedAfter(u),e,o+c),!0)}if("space"===l.type){const s=l.value.search(/(\n|\r\n)/);if(0===s)return;return r.fix?(t=!0,l.value=-1===s?" ":l.value.slice(s),!0):(h(a?p.expectedBefore(u):p.expectedAfter(u),e,o+c),!0)}if("function"===l.type)return r.fix?(t=!0,s.splice(i,0,{type:"space",value:" ",sourceIndex:0}),!0):(h(a?p.expectedBefore(u):p.expectedAfter(u),e,o+c),!0)}return!1}a.walk(s=>{if("function"!==s.type||"calc"!==s.value.toLowerCase())return;let i=!1;for(const[e,t]of s.nodes.entries()){if("word"!==t.type||!d.has(t.value))continue;i=!0;const r=s.nodes[e-1],n=s.nodes[e+1];g(r)&&g(n)||u(s.nodes,e,1)||u(s.nodes,e,-1)}i||function(s){if(!(i=>{const n=s[0],a=(n.type,n.value.search(f)),l=n.value.slice(a,a+1);if(a<=0)return!1;const u=n.value.charAt(a-1),c=n.value.charAt(a+1);return u&&" "!==u&&c&&" "!==c?r.fix?(t=!0,n.value=m(n.value,a+1," "),n.value=m(n.value,a," ")):(h(p.expectedBefore(l),e,o+n.sourceIndex+a),h(p.expectedAfter(l),e,o+n.sourceIndex+a+1)):u&&" "!==u?r.fix?(t=!0,n.value=m(n.value,a," ")):h(p.expectedBefore(l),e,o+n.sourceIndex+a):c&&" "!==c&&(r.fix?(t=!0,n.value=m(n.value,a," ")):h(p.expectedAfter(l),e,o+n.sourceIndex+a+1)),!0})()&&!(s=>{if(1===s.length)return!1;const i=s[s.length-1],n=(i.type,i.value.search(f));return" "!==i.value[n-1]&&(r.fix?(t=!0,i.value=m(i.value,n+1," ").trim(),i.value=m(i.value,n," ").trim(),!0):(h(p.expectedOperatorBeforeSign(i.value[n]),e,o+i.sourceIndex+n),!0))})(s))for(const[t,i]of s.entries()){const n=i.value.slice(-1),o=i.value.slice(0,1);if("word"===i.type)if(0===t&&d.has(n)){if(r.fix){i.value=`${i.value.slice(0,-1)} ${n}`;continue}h(p.expectedBefore(n),e,i.sourceIndex)}else if(t===s.length&&d.has(o)){if(r.fix){i.value=`${o} ${i.value.slice(1)}`;continue}h(p.expectedOperatorBeforeSign(o),e,i.sourceIndex)}}}(s.nodes)}),t&&l(e,a.toString())})};function m(e,t,r){return e.slice(0,t)+r+e.slice(t,e.length)}function g(e){return e&&"space"===e.type&&" "===e.value}h.ruleName=c,h.messages=p,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],218:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(t,i,n)=>s({div:t,index:i,nodes:n,expectation:e,position:"after",symb:r.newline||""}):null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../functionCommaSpaceChecker":233,"../functionCommaSpaceFix":234}],219:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(t,i,n)=>s({div:t,index:i,nodes:n,expectation:e,position:"before",symb:r.newline||""}):null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../functionCommaSpaceChecker":233,"../functionCommaSpaceFix":234}],220:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(t,r,i)=>s({div:t,index:r,nodes:i,expectation:e,position:"after",symb:" "}):null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../functionCommaSpaceChecker":233,"../functionCommaSpaceFix":234}],221:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(t,r,i)=>s({div:t,index:r,nodes:i,expectation:e,position:"before",symb:" "}):null})}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../functionCommaSpaceChecker":233,"../functionCommaSpaceFix":234}],222:[(e,t,r)=>{const s=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:p,isString:d}=e("../../utils/validateTypes"),f="function-disallowed-list",h=a(f,{rejected:e=>`Unexpected function "${e}"`}),m=e=>(t,r)=>{l(r,f,{actual:e,possible:[d,p]})&&t.walkDecls(t=>{const a=t.value;u(a).walk(a=>{"function"===a.type&&i(a)&&n(c.unprefixed(a.value),e)&&o({message:h.rejected(a.value),node:t,index:s(t)+a.sourceIndex,result:r,ruleName:f})})})};m.primaryOptionArray=!0,m.ruleName=f,m.messages=h,t.exports=m},{"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxFunction":413,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,"postcss-value-parser":83}],223:[(e,t,r)=>{const s=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"),p="function-linear-gradient-no-nonstandard-direction",d=a(p,{rejected:"Unexpected nonstandard direction"}),f=e=>(t,r)=>{l(r,p,{actual:e})&&t.walkDecls(e=>{u(e.value).walk(t=>{"function"===t.type&&i(u.stringify(t).toLowerCase(),"linear-gradient",(i,a)=>{const l=i.split(",")[0].trim();if(n(l))if(/[\d.]/.test(l[0])){if(/^[\d.]+(?:deg|grad|rad|turn)$/.test(l))return;u()}else/left|right|top|bottom/.test(l)&&(((e,r)=>{const s=!c.prefix(t.value)?/^to (top|left|bottom|right)(?: (top|left|bottom|right))?$/:/^(top|left|bottom|right)(?: (top|left|bottom|right))?$/,i=e.match(s);return!!i&&(2===i.length||3===i.length&&i[1]!==i[2])})(l)||u());function u(){o({message:d.rejected,node:e,index:s(e)+t.sourceIndex+a,result:r,ruleName:p})}})})})};f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/declarationValueIndex":359,"../../utils/functionArgumentsSearch":364,"../../utils/isStandardSyntaxValue":421,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"postcss-value-parser":83}],224:[(e,t,r)=>{const s=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",p=n(c,{expected:e=>`Expected no more than ${e} empty ${1===e?"line":"lines"}`}),d=(e,t,r)=>{const n=e+1;return(t,d)=>{if(!a(d,c,{actual:e,possible:u}))return;const f=new RegExp(`(?:\r\n){${n+1},}`),h=new RegExp(`\n{${n+1},}`),m=r.fix?"\n".repeat(n):"",g=r.fix?"\r\n".repeat(n):"";t.walkDecls(t=>{if(!t.value.includes("("))return;const n=s(t),a=[];let u=0;if(l(n).walk(s=>{if("function"!==s.type||0===s.value.length)return;const o=l.stringify(s);if(h.test(o)||f.test(o))if(r.fix){const e=o.replace(new RegExp(h,"gm"),m).replace(new RegExp(f,"gm"),g);a.push([n.slice(u,s.sourceIndex),e]),u=s.sourceIndex+o.length}else i({message:p.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)+s.sourceIndex,result:d,ruleName:c})}),r.fix&&a.length>0){const e=a.reduce((e,t)=>e+t[0]+t[1],"")+n.slice(u);o(t,e)}})}};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],225:[(e,t,r)=>{const s=e("../../utils/declarationValueIndex"),i=e("../../utils/getDeclarationValue"),n=e("../../utils/isStandardSyntaxFunction"),o=e("../../reference/keywordSets"),a=e("../../utils/matchesStringOrRegExp"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/setDeclarationValue"),p=e("../../utils/validateOptions"),d=e("postcss-value-parser"),{isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="function-name-case",g=u(m,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),y=new Map;for(const e of o.camelCaseFunctionNames)y.set(e.toLowerCase(),e);const w=(e,t,r)=>(o,u)=>{p(u,m,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[h,f]},optional:!0})&&o.walkDecls(o=>{let p=!1;const f=d(i(o));f.walk(i=>{if("function"!==i.type||!n(i))return;const c=i.value,d=c.toLowerCase(),f=t&&t.ignoreFunctions||[];if(f.length>0&&a(c,f))return;let h=null;return c!==(h="lower"===e&&y.has(d)?y.get(d):"lower"===e?d:c.toUpperCase())?r.fix?(p=!0,void(i.value=h)):void l({message:g.expected(c,h),node:o,index:s(o)+i.sourceIndex,result:u,ruleName:m}):void 0}),r.fix&&p&&c(o,f.toString())})};w.ruleName=m,w.messages=g,t.exports=w},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isStandardSyntaxFunction":413,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],226:[(e,t,r)=>{const s=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"),p=e("postcss-value-parser"),d="function-parentheses-newline-inside",f=l(d,{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'}),h=(e,t,r)=>(t,l)=>{c(l,d,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&t.walkDecls(t=>{if(!t.value.includes("("))return;let c=!1;const h=i(t),y=p(h);function w(e,r){a({ruleName:d,result:l,message:e,node:t,index:s(t)+r})}y.walk(t=>{if("function"!==t.type)return;if(!o(t))return;const s=p.stringify(t),i=!n(s),a=e=>e.includes("\n"),l=t.sourceIndex+t.value.length+1,u=(e=>{let t=e.before;for(const r of e.nodes)if("comment"!==r.type){if("space"!==r.type)break;t+=r.value}return t})(t);"always"!==e||a(u)||(r.fix?(c=!0,m(t,r.newline||"")):w(f.expectedOpening,l)),i&&"always-multi-line"===e&&!a(u)&&(r.fix?(c=!0,m(t,r.newline||"")):w(f.expectedOpeningMultiLine,l)),i&&"never-multi-line"===e&&""!==u&&(r.fix?(c=!0,(e=>{e.before="";for(const t of e.nodes)if("comment"!==t.type){if("space"!==t.type)break;t.value=""}})(t)):w(f.rejectedOpeningMultiLine,l));const d=t.sourceIndex+s.length-2,h=(e=>{let t="";for(const r of[...e.nodes].reverse())if("comment"!==r.type){if("space"!==r.type)break;t=r.value+t}return t+e.after})(t);"always"!==e||a(h)||(r.fix?(c=!0,g(t,r.newline||"")):w(f.expectedClosing,d)),i&&"always-multi-line"===e&&!a(h)&&(r.fix?(c=!0,g(t,r.newline||"")):w(f.expectedClosingMultiLine,d)),i&&"never-multi-line"===e&&""!==h&&(r.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)):w(f.rejectedClosingMultiLine,d))}),c&&u(t,y.toString())})};function m(e,t){let r;for(const t of e.nodes)if("comment"!==t.type){if("space"!==t.type)break;r=t}r?r.value=t+r.value:e.before=t+e.before}function g(e,t){e.after=t+e.after}h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isSingleLineString":407,"../../utils/isStandardSyntaxFunction":413,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],227:[(e,t,r)=>{const s=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"),p=e("postcss-value-parser"),d="function-parentheses-space-inside",f=l(d,{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'}),h=(e,t,r)=>(t,l)=>{c(l,d,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&t.walkDecls(t=>{if(!t.value.includes("("))return;let c=!1;const h=i(t),m=p(h);function g(e,r){a({ruleName:d,result:l,message:e,node:t,index:s(t)+r})}m.walk(t=>{if("function"!==t.type)return;if(!o(t))return;if(!t.nodes.length)return;const s=p.stringify(t),i=n(s),a=t.sourceIndex+t.value.length+1;"always"===e&&" "!==t.before&&(r.fix?(c=!0,t.before=" "):g(f.expectedOpening,a)),"never"===e&&""!==t.before&&(r.fix?(c=!0,t.before=""):g(f.rejectedOpening,a)),i&&"always-single-line"===e&&" "!==t.before&&(r.fix?(c=!0,t.before=" "):g(f.expectedOpeningSingleLine,a)),i&&"never-single-line"===e&&""!==t.before&&(r.fix?(c=!0,t.before=""):g(f.rejectedOpeningSingleLine,a));const l=t.sourceIndex+s.length-2;"always"===e&&" "!==t.after&&(r.fix?(c=!0,t.after=" "):g(f.expectedClosing,l)),"never"===e&&""!==t.after&&(r.fix?(c=!0,t.after=""):g(f.rejectedClosing,l)),i&&"always-single-line"===e&&" "!==t.after&&(r.fix?(c=!0,t.after=" "):g(f.expectedClosingSingleLine,l)),i&&"never-single-line"===e&&""!==t.after&&(r.fix?(c=!0,t.after=""):g(f.rejectedClosingSingleLine,l))}),c&&u(t,m.toString())})};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isSingleLineString":407,"../../utils/isStandardSyntaxFunction":413,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],228:[(e,t,r)=>{const s=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,r)=>{a(r,l,{actual:e})&&t.walkDecls(e=>{s(e.toString().toLowerCase(),"url",(t,s)=>{const o=t.trim().replace(/^['"]+|['"]+$/g,"");i(o)&&o.startsWith("//")&&n({message:u.rejected,node:e,index:s,result:r,ruleName:l})})})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/functionArgumentsSearch":364,"../../utils/isStandardSyntaxUrl":420,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],229:[(e,t,r)=>{const s=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",p=l(c,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Unexpected quotes around "${e}" function argument`}),d=(e,t)=>(r,l)=>{function d(r,s,i,a){let l="always"===e;const u=r.trimStart();if(!n(u))return;const c=i+r.length-u.length,d=u.startsWith("'")||u.startsWith('"'),h=r.trim(),m=["","''",'""'].includes(h);if(o(t,"except","empty")&&m&&(l=!l),l){if(d)return;f(p.expected(a),s,c)}else{if(!d)return;f(p.rejected(a),s,c)}}function f(e,t,r){a({message:e,node:t,index:r,result:l,ruleName:c})}u(l,c,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0})&&(r.walkAtRules(e=>{const t=e.params.toLowerCase();i(t,"url",(t,r)=>{d(t,e,r+s(e),"url")}),i(t,"url-prefix",(t,r)=>{d(t,e,r+s(e),"url-prefix")}),i(t,"domain",(t,r)=>{d(t,e,r+s(e),"domain")})}),r.walkDecls(e=>{i(e.toString().toLowerCase(),"url",(t,r)=>{d(t,e,r,"url")})}))};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/atRuleParamIndex":352,"../../utils/functionArgumentsSearch":364,"../../utils/isStandardSyntaxUrl":420,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],230:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="function-url-scheme-allowed-list",f=l(d,{rejected:e=>`Unexpected URL scheme "${e}:"`}),h=e=>(t,r)=>{u(r,d,{actual:e,possible:[p,c]})&&t.walkDecls(t=>{s(t.toString().toLowerCase(),"url",(s,l)=>{const u=s.trim();if(!n(u))return;const c=u.replace(/^['"]+|['"]+$/g,""),p=i(c);null!==p&&(o(p,e)||a({message:f.rejected(p),node:t,index:l,result:r,ruleName:d}))})})};h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/functionArgumentsSearch":364,"../../utils/getSchemeFromUrl":373,"../../utils/isStandardSyntaxUrl":420,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],231:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="function-url-scheme-disallowed-list",f=l(d,{rejected:e=>`Unexpected URL scheme "${e}:"`}),h=e=>(t,r)=>{u(r,d,{actual:e,possible:[p,c]})&&t.walkDecls(t=>{s(t.toString().toLowerCase(),"url",(s,l)=>{const u=s.trim();if(!n(u))return;const c=u.replace(/^['"]+|['"]+$/g,""),p=i(c);null!==p&&o(p,e)&&a({message:f.rejected(p),node:t,index:l,result:r,ruleName:d})})})};h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/functionArgumentsSearch":364,"../../utils/getSchemeFromUrl":373,"../../utils/isStandardSyntaxUrl":420,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],232:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d="function-whitespace-after",f=l(d,{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),h=new Set([")",",","}",":","/",void 0]),m=(e,t,r)=>(t,l)=>{function m(t,r,s,i){c({source:r,target:")",functionArguments:"only"},n=>{((t,r,s,i,n)=>{const u=t[r];if("always"===e){if(" "===u)return;if("\n"===u)return;if("\r\n"===t.substr(r,2))return;if(h.has(u))return;if(n)return void n(r);a({message:f.expected,node:s,index:i+r,result:l,ruleName:d})}else if("never"===e&&o(u)){if(n)return void n(r);a({message:f.rejected,node:s,index:i+r,result:l,ruleName:d})}})(r,n.startIndex+1,t,s,i)})}function g(t){let r,s="",i=0;if("always"===e)r=(e=>{s+=t.slice(i,e)+" ",i=e});else{if("never"!==e)throw new Error(`Unexpected option: "${e}"`);r=(e=>{let r=e+1;for(;r<t.length&&o(t[r]);)r++;s+=t.slice(i,e),i=r})}return{applyFix:r,get hasFixed(){return Boolean(i)},get fixed(){return s+t.slice(i)}}}p(l,d,{actual:e,possible:["always","never"]})&&(t.walkAtRules(/^import$/i,e=>{const t=e.raws.params&&e.raws.params.raw||e.params,i=r.fix&&g(t);m(e,t,s(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),s=r.fix&&g(t);m(e,t,i(e),s?s.applyFix:void 0),s&&s.hasFixed&&u(e,s.fixed)}))};m.ruleName=d,m.messages=f,t.exports=m},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isWhitespace":425,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"style-search":121}],233:[(e,t,r)=>{const s=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 r=i(t);let u;const c=l(r);c.walk(r=>{if("function"!==r.type)return;if(!n(r))return;if("url"===r.value.toLowerCase())return;const i=r.nodes.map(e=>l.stringify(e)),a=(()=>{let e=r.before+i.join("")+r.after;return e.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,"")})(),c=(e,t)=>{let s=r.before+i.slice(0,t).join("")+e.before;return(s=s.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,"")).length},p=[];for(const[e,t]of r.nodes.entries()){if("div"!==t.type||","!==t.value)continue;const r=c(t,e);p.push({commaNode:t,checkIndex:r,nodeIndex:e})}for(const{commaNode:i,checkIndex:n,nodeIndex:l}of p)e.locationChecker({source:a,index:n,err(n){const a=s(t)+i.sourceIndex+i.before.length;e.fix&&e.fix(i,l,r.nodes)?u=!0:o({index:a,message:n,node:t,result:e.result,ruleName:e.checkedRuleName})}})}),u&&a(t,c.toString())})})},{"../utils/declarationValueIndex":359,"../utils/getDeclarationValue":366,"../utils/isStandardSyntaxFunction":413,"../utils/report":435,"../utils/setDeclarationValue":438,"postcss-value-parser":83}],234:[(e,t,r)=>{t.exports=(e=>{const{div:t,index:r,nodes:s,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=r+1;e<s.length;e++){const t=s[e];if("comment"!==t.type){if("space"!==t.type)break;t.value=""}}return!0}return!1})},{}],235:[(e,t,r)=>{const s=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"),p="hue-degree-notation",d=l(p,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),f=["hsl","hsla","hwb"],h=["lch"],m=new Set([...f,...h]),g=(e,t,r)=>(t,l)=>{c(l,p,{actual:e,possible:["angle","number"]})&&t.walkDecls(t=>{let c=!1;const g=s(n(t));g.walk(n=>{if("function"!==n.type)return;if(!m.has(n.value.toLowerCase()))return;const u=(e=>{const t=e.nodes.filter(({type:e})=>"word"===e||"function"===e),r=e.value.toLowerCase();return f.includes(r)?t[0]:h.includes(r)?t[2]:void 0})(n);if(!u)return;const{value:g}=u;if(!o(g))return;if(!y(g)&&!w(g))return;if("angle"===e&&y(g))return;if("number"===e&&w(g))return;const b="angle"===e?`${g}deg`:(e=>{const t=s.unit(e);if(t)return t.number;throw new TypeError(`The "${e}" value must have a unit`)})(g),x=g;if(r.fix)return u.value=b,void(c=!0);a({message:d.expected(x,b),node:t,index:i(t)+u.sourceIndex,result:l,ruleName:p})}),c&&u(t,g.toString())})};function y(e){const t=s.unit(e);return t&&"deg"===t.unit.toLowerCase()}function w(e){const t=s.unit(e);return t&&""===t.unit}g.ruleName=p,g.messages=d,t.exports=g},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/isStandardSyntaxValue":421,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"postcss-value-parser":83}],236:[(e,t,r)=>{const s=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:p,isRoot:d,isRule:f}=e("../../utils/typeGuards"),{isBoolean:h,isNumber:m,isString:g}=e("../../utils/validateTypes"),y="indentation",w=a(y,{expected:e=>`Expected indentation of ${e}`}),b=(e,t={},r)=>(a,b)=>{if(!u(b,y,{actual:e,possible:[m,"tab"]},{actual:t,possible:{baseIndentLevel:[m,"auto"],except:["block","value","param"],ignore:["value","param","inside-parens"],indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[h]},optional:!0}))return;const S=m(e)?e:null,O=null==S?"\t":" ".repeat(S),C="tab"===e?"tab":"space",A=t.baseIndentLevel,E=t.indentClosingBrace,M=e=>{const t=null==S?e:e*S;return`${t} ${1===t?C:`${C}s`}`};function R(e,s,i){if(!e.includes("\n"))return;const a=[];let u=0;const d=n(t,"ignore","inside-parens");if(l({source:e,target:"\n",outsideParens:d},(n,l)=>{const c=/^[ \t]*\)/.test(e.slice(n.startIndex+1));if(d&&(c||n.insideParens))return;let p=s;if(!d&&n.insideParens){1===l&&(u-=1);let r=n.startIndex;switch("\r"===e[n.startIndex-1]&&r--,/\([ \t]*$/.test(e.slice(0,r))&&(u+=1),/\{[ \t]*$/.test(e.slice(0,r))&&(u+=1),/^[ \t]*\}/.test(e.slice(n.startIndex+1))&&(u-=1),p+=u,c&&(u-=1),t.indentInsideParens){case"twice":c&&!E||(p+=1);break;case"once-at-root-twice-in-block":if(i.parent===i.root()){c&&!E&&(p-=1);break}c&&!E||(p+=1);break;default:c&&!E&&(p-=1)}}const f=/^([ \t]*)\S/.exec(e.slice(n.startIndex+1));if(!f)return;const h=f[1],m=O.repeat(p>0?p:0);h!==m&&(r.fix?a.unshift({expectedIndentation:m,currentIndentation:h,startIndex:n.startIndex}):o({message:w.expected(M(p)),node:i,index:n.startIndex+h.length+1,result:b,ruleName:y}))}),a.length){if(f(i))for(const e of a)i.selector=k(i.selector,e.currentIndentation,e.expectedIndentation,e.startIndex);if(p(i)){const e=i.prop,t=i.raws.between;if(!g(t))throw new TypeError("The `between` property must be a string");for(const r of a)r.startIndex<e.length+t.length?i.raws.between=k(t,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length):i.value=k(i.value,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length-t.length)}if(c(i)){const e=i.name,t=i.raws.afterName,r=i.params;if(!g(t))throw new TypeError("The `afterName` property must be a string");for(const s of a)s.startIndex<1+e.length+t.length?i.raws.afterName=k(t,s.currentIndentation,s.expectedIndentation,s.startIndex-e.length-1):i.params=k(r,s.currentIndentation,s.expectedIndentation,s.startIndex-e.length-t.length-1)}}}a.walk(a=>{if(d(a))return;const l=function r(s,o=0){if(!s.parent)throw new Error("A parent node must be present");if(d(s.parent))return o+((e,t,r)=>{const s=x(e);if(!s)return 0;if(!e.source)throw new Error("The root node must have a source");const i=e.source,n=i.baseIndentLevel;if(m(n)&&Number.isSafeInteger(n))return n;const o=((e,t,r)=>{function s(e){const t=e.match(/\t/g),s=t?t.length:0,i=e.match(/ /g);return s+(i?Math.round(i.length/r()):0)}let i=0;if(m(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 r=(t=t.replace(/^[^\r\n]+/,t=>{const r=e.raws.codeBefore&&/(?:^|\n)([ \t]*)$/.exec(e.raws.codeBefore);return r?r[1]+t:""})).match(/^[ \t]*(?=\S)/gm);if(r)return Math.min(...r.map(e=>s(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(;++t<o.length;){const r=s(o[t]);if(r<e&&0===(e=r))break}e!==Number.MAX_SAFE_INTEGER&&n.push(new Array(e).fill(" ").join(""))}const a=e.raws.after;if(a){let t;if(a.endsWith("\n")){const r=e.document;if(r){const s=r.nodes[r.nodes.indexOf(e)+1];t=s?s.raws.codeBefore:r.raws.codeAfter}else{const r=e.parent;if(!r)throw new Error("The root node must have a parent");const s=r.nodes[r.nodes.indexOf(e)+1];t=s?s.raws.codeBefore:e.raws.codeAfter}}else t=a;t&&n.push(t.match(/^[ \t]*/)[0])}return n.length?Math.max(...n.map(e=>s(e)))+i:i})(e,t,()=>((e,t)=>{if(!e.source)throw new Error("The document node must have a source");const r=e.source;let s=r.indentSize;if(m(s)&&Number.isSafeInteger(s))return s;const i=e.source.input.css.match(/^ *(?=\S)/gm);if(i){const e=new Map;let t=0,r=0;const n=s=>{if(s){if((t=Math.abs(s-r)||t)>1){const r=e.get(t);r?e.set(t,r+1):e.set(t,1)}}else t=0;r=s};for(const e of i)n(e.length);let o=0;for(const[t,r]of e.entries())r>o&&(o=r,s=t)}return s=Number(s)||i&&i[0].length||Number(t)||2,r.indentSize=s,s})(s,r));return i.baseIndentLevel=o,o})(s.parent,A,e);let a;return a=r(s.parent,o+1),n(t,"except","block")&&(f(s)||c(s))&&i(s)&&a--,a}(a),u=(a.raws.before||"").replace(/[*_]$/,""),h="after"in a.raws&&a.raws.after||"",k=a.parent;if(!k)throw new Error("A parent node must be present");const S=O.repeat(l),C="root"===k.type&&k.first===a,N=u.lastIndexOf("\n");(-1!==N||C&&(!x(k)||k.raws.codeBefore&&k.raws.codeBefore.endsWith("\n")))&&u.slice(N+1)!==S&&(r.fix?(C&&g(a.raws.before)&&(a.raws.before=a.raws.before.replace(/^[ \t]*(?=\S|$)/,S)),a.raws.before=v(a.raws.before,S)):o({message:w.expected(M(l)),node:a,result:b,ruleName:y}));const I=E?l+1:l,P=O.repeat(I);(f(a)||c(a))&&i(a)&&h&&h.includes("\n")&&h.slice(h.lastIndexOf("\n")+1)!==P&&(r.fix?a.raws.after=v(a.raws.after,P):o({message:w.expected(M(I)),node:a,index:a.toString().length-1,result:b,ruleName:y})),p(a)&&((e,r)=>{if(!e.value.includes("\n"))return;if(n(t,"ignore","value"))return;R(e.toString(),n(t,"except","value")?r:r+1,e)})(a,l),f(a)&&((e,t)=>{const r=e.selector;e.params&&(t+=1),R(r,t,e)})(a,l),c(a)&&((e,r)=>{if(n(t,"ignore","param"))return;const i=n(t,"except","param")||"nest"===e.name||"at-root"===e.name?r:r+1;R(s(e).trim(),i,e)})(a,l)})};function x(e){const t=e.document;if(t)return t;const r=e.root();return r&&r.document}function v(e,t){return g(e)?e.replace(/\n[ \t]*(?=\S|$)/g,`\n${t}`):e}function k(e,t,r,s){const i=s+1;return e.slice(0,i)+r+e.slice(i+t.length)}b.ruleName=y,b.messages=w,t.exports=b},{"../../utils/beforeBlockString":353,"../../utils/hasBlock":375,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"style-search":121}],237:[(e,t,r)=>{const s=e("import-lazy"),i={"alpha-value-notation":s(()=>e("./alpha-value-notation"))(),"at-rule-allowed-list":s(()=>e("./at-rule-allowed-list"))(),"at-rule-disallowed-list":s(()=>e("./at-rule-disallowed-list"))(),"at-rule-empty-line-before":s(()=>e("./at-rule-empty-line-before"))(),"at-rule-name-case":s(()=>e("./at-rule-name-case"))(),"at-rule-name-newline-after":s(()=>e("./at-rule-name-newline-after"))(),"at-rule-semicolon-space-before":s(()=>e("./at-rule-semicolon-space-before"))(),"at-rule-name-space-after":s(()=>e("./at-rule-name-space-after"))(),"at-rule-no-unknown":s(()=>e("./at-rule-no-unknown"))(),"at-rule-property-required-list":s(()=>e("./at-rule-property-required-list"))(),"at-rule-semicolon-newline-after":s(()=>e("./at-rule-semicolon-newline-after"))(),"block-closing-brace-empty-line-before":s(()=>e("./block-closing-brace-empty-line-before"))(),"block-closing-brace-newline-after":s(()=>e("./block-closing-brace-newline-after"))(),"block-closing-brace-newline-before":s(()=>e("./block-closing-brace-newline-before"))(),"block-closing-brace-space-after":s(()=>e("./block-closing-brace-space-after"))(),"block-closing-brace-space-before":s(()=>e("./block-closing-brace-space-before"))(),"block-no-empty":s(()=>e("./block-no-empty"))(),"block-opening-brace-newline-after":s(()=>e("./block-opening-brace-newline-after"))(),"block-opening-brace-newline-before":s(()=>e("./block-opening-brace-newline-before"))(),"block-opening-brace-space-after":s(()=>e("./block-opening-brace-space-after"))(),"block-opening-brace-space-before":s(()=>e("./block-opening-brace-space-before"))(),"color-function-notation":s(()=>e("./color-function-notation"))(),"color-hex-alpha":s(()=>e("./color-hex-alpha"))(),"color-hex-case":s(()=>e("./color-hex-case"))(),"color-hex-length":s(()=>e("./color-hex-length"))(),"color-named":s(()=>e("./color-named"))(),"color-no-hex":s(()=>e("./color-no-hex"))(),"color-no-invalid-hex":s(()=>e("./color-no-invalid-hex"))(),"comment-empty-line-before":s(()=>e("./comment-empty-line-before"))(),"comment-no-empty":s(()=>e("./comment-no-empty"))(),"comment-pattern":s(()=>e("./comment-pattern"))(),"comment-whitespace-inside":s(()=>e("./comment-whitespace-inside"))(),"comment-word-disallowed-list":s(()=>e("./comment-word-disallowed-list"))(),"custom-media-pattern":s(()=>e("./custom-media-pattern"))(),"custom-property-empty-line-before":s(()=>e("./custom-property-empty-line-before"))(),"custom-property-no-missing-var-function":s(()=>e("./custom-property-no-missing-var-function"))(),"custom-property-pattern":s(()=>e("./custom-property-pattern"))(),"declaration-bang-space-after":s(()=>e("./declaration-bang-space-after"))(),"declaration-bang-space-before":s(()=>e("./declaration-bang-space-before"))(),"declaration-block-no-duplicate-custom-properties":s(()=>e("./declaration-block-no-duplicate-custom-properties"))(),"declaration-block-no-duplicate-properties":s(()=>e("./declaration-block-no-duplicate-properties"))(),"declaration-block-no-redundant-longhand-properties":s(()=>e("./declaration-block-no-redundant-longhand-properties"))(),"declaration-block-no-shorthand-property-overrides":s(()=>e("./declaration-block-no-shorthand-property-overrides"))(),"declaration-block-semicolon-newline-after":s(()=>e("./declaration-block-semicolon-newline-after"))(),"declaration-block-semicolon-newline-before":s(()=>e("./declaration-block-semicolon-newline-before"))(),"declaration-block-semicolon-space-after":s(()=>e("./declaration-block-semicolon-space-after"))(),"declaration-block-semicolon-space-before":s(()=>e("./declaration-block-semicolon-space-before"))(),"declaration-block-single-line-max-declarations":s(()=>e("./declaration-block-single-line-max-declarations"))(),"declaration-block-trailing-semicolon":s(()=>e("./declaration-block-trailing-semicolon"))(),"declaration-colon-newline-after":s(()=>e("./declaration-colon-newline-after"))(),"declaration-colon-space-after":s(()=>e("./declaration-colon-space-after"))(),"declaration-colon-space-before":s(()=>e("./declaration-colon-space-before"))(),"declaration-empty-line-before":s(()=>e("./declaration-empty-line-before"))(),"declaration-no-important":s(()=>e("./declaration-no-important"))(),"declaration-property-unit-allowed-list":s(()=>e("./declaration-property-unit-allowed-list"))(),"declaration-property-unit-disallowed-list":s(()=>e("./declaration-property-unit-disallowed-list"))(),"declaration-property-value-allowed-list":s(()=>e("./declaration-property-value-allowed-list"))(),"declaration-property-value-disallowed-list":s(()=>e("./declaration-property-value-disallowed-list"))(),"font-family-no-missing-generic-family-keyword":s(()=>e("./font-family-no-missing-generic-family-keyword"))(),"font-family-name-quotes":s(()=>e("./font-family-name-quotes"))(),"font-family-no-duplicate-names":s(()=>e("./font-family-no-duplicate-names"))(),"font-weight-notation":s(()=>e("./font-weight-notation"))(),"function-allowed-list":s(()=>e("./function-allowed-list"))(),"function-calc-no-unspaced-operator":s(()=>e("./function-calc-no-unspaced-operator"))(),"function-comma-newline-after":s(()=>e("./function-comma-newline-after"))(),"function-comma-newline-before":s(()=>e("./function-comma-newline-before"))(),"function-comma-space-after":s(()=>e("./function-comma-space-after"))(),"function-comma-space-before":s(()=>e("./function-comma-space-before"))(),"function-disallowed-list":s(()=>e("./function-disallowed-list"))(),"function-linear-gradient-no-nonstandard-direction":s(()=>e("./function-linear-gradient-no-nonstandard-direction"))(),"function-max-empty-lines":s(()=>e("./function-max-empty-lines"))(),"function-name-case":s(()=>e("./function-name-case"))(),"function-parentheses-newline-inside":s(()=>e("./function-parentheses-newline-inside"))(),"function-parentheses-space-inside":s(()=>e("./function-parentheses-space-inside"))(),"function-url-no-scheme-relative":s(()=>e("./function-url-no-scheme-relative"))(),"function-url-quotes":s(()=>e("./function-url-quotes"))(),"function-url-scheme-allowed-list":s(()=>e("./function-url-scheme-allowed-list"))(),"function-url-scheme-disallowed-list":s(()=>e("./function-url-scheme-disallowed-list"))(),"function-whitespace-after":s(()=>e("./function-whitespace-after"))(),"hue-degree-notation":s(()=>e("./hue-degree-notation"))(),"keyframe-declaration-no-important":s(()=>e("./keyframe-declaration-no-important"))(),"keyframes-name-pattern":s(()=>e("./keyframes-name-pattern"))(),"length-zero-no-unit":s(()=>e("./length-zero-no-unit"))(),linebreaks:s(()=>e("./linebreaks"))(),"max-empty-lines":s(()=>e("./max-empty-lines"))(),"max-line-length":s(()=>e("./max-line-length"))(),"max-nesting-depth":s(()=>e("./max-nesting-depth"))(),"media-feature-colon-space-after":s(()=>e("./media-feature-colon-space-after"))(),"media-feature-colon-space-before":s(()=>e("./media-feature-colon-space-before"))(),"media-feature-name-allowed-list":s(()=>e("./media-feature-name-allowed-list"))(),"media-feature-name-case":s(()=>e("./media-feature-name-case"))(),"media-feature-name-disallowed-list":s(()=>e("./media-feature-name-disallowed-list"))(),"media-feature-name-no-unknown":s(()=>e("./media-feature-name-no-unknown"))(),"media-feature-name-value-allowed-list":s(()=>e("./media-feature-name-value-allowed-list"))(),"media-feature-parentheses-space-inside":s(()=>e("./media-feature-parentheses-space-inside"))(),"media-feature-range-operator-space-after":s(()=>e("./media-feature-range-operator-space-after"))(),"media-feature-range-operator-space-before":s(()=>e("./media-feature-range-operator-space-before"))(),"media-query-list-comma-newline-after":s(()=>e("./media-query-list-comma-newline-after"))(),"media-query-list-comma-newline-before":s(()=>e("./media-query-list-comma-newline-before"))(),"media-query-list-comma-space-after":s(()=>e("./media-query-list-comma-space-after"))(),"media-query-list-comma-space-before":s(()=>e("./media-query-list-comma-space-before"))(),"named-grid-areas-no-invalid":s(()=>e("./named-grid-areas-no-invalid"))(),"no-descending-specificity":s(()=>e("./no-descending-specificity"))(),"no-duplicate-at-import-rules":s(()=>e("./no-duplicate-at-import-rules"))(),"no-duplicate-selectors":s(()=>e("./no-duplicate-selectors"))(),"no-empty-source":s(()=>e("./no-empty-source"))(),"no-empty-first-line":s(()=>e("./no-empty-first-line"))(),"no-eol-whitespace":s(()=>e("./no-eol-whitespace"))(),"no-extra-semicolons":s(()=>e("./no-extra-semicolons"))(),"no-invalid-double-slash-comments":s(()=>e("./no-invalid-double-slash-comments"))(),"no-invalid-position-at-import-rule":s(()=>e("./no-invalid-position-at-import-rule"))(),"no-irregular-whitespace":s(()=>e("./no-irregular-whitespace"))(),"no-missing-end-of-source-newline":s(()=>e("./no-missing-end-of-source-newline"))(),"no-unknown-animations":s(()=>e("./no-unknown-animations"))(),"number-leading-zero":s(()=>e("./number-leading-zero"))(),"number-max-precision":s(()=>e("./number-max-precision"))(),"number-no-trailing-zeros":s(()=>e("./number-no-trailing-zeros"))(),"property-allowed-list":s(()=>e("./property-allowed-list"))(),"property-case":s(()=>e("./property-case"))(),"property-disallowed-list":s(()=>e("./property-disallowed-list"))(),"property-no-unknown":s(()=>e("./property-no-unknown"))(),"rule-empty-line-before":s(()=>e("./rule-empty-line-before"))(),"rule-selector-property-disallowed-list":s(()=>e("./rule-selector-property-disallowed-list"))(),"selector-attribute-brackets-space-inside":s(()=>e("./selector-attribute-brackets-space-inside"))(),"selector-attribute-name-disallowed-list":s(()=>e("./selector-attribute-name-disallowed-list"))(),"selector-attribute-operator-allowed-list":s(()=>e("./selector-attribute-operator-allowed-list"))(),"selector-attribute-operator-disallowed-list":s(()=>e("./selector-attribute-operator-disallowed-list"))(),"selector-attribute-operator-space-after":s(()=>e("./selector-attribute-operator-space-after"))(),"selector-attribute-operator-space-before":s(()=>e("./selector-attribute-operator-space-before"))(),"selector-attribute-quotes":s(()=>e("./selector-attribute-quotes"))(),"selector-class-pattern":s(()=>e("./selector-class-pattern"))(),"selector-combinator-allowed-list":s(()=>e("./selector-combinator-allowed-list"))(),"selector-combinator-disallowed-list":s(()=>e("./selector-combinator-disallowed-list"))(),"selector-combinator-space-after":s(()=>e("./selector-combinator-space-after"))(),"selector-combinator-space-before":s(()=>e("./selector-combinator-space-before"))(),"selector-descendant-combinator-no-non-space":s(()=>e("./selector-descendant-combinator-no-non-space"))(),"selector-disallowed-list":s(()=>e("./selector-disallowed-list"))(),"selector-id-pattern":s(()=>e("./selector-id-pattern"))(),"selector-list-comma-newline-after":s(()=>e("./selector-list-comma-newline-after"))(),"selector-list-comma-newline-before":s(()=>e("./selector-list-comma-newline-before"))(),"selector-list-comma-space-after":s(()=>e("./selector-list-comma-space-after"))(),"selector-list-comma-space-before":s(()=>e("./selector-list-comma-space-before"))(),"selector-max-attribute":s(()=>e("./selector-max-attribute"))(),"selector-max-class":s(()=>e("./selector-max-class"))(),"selector-max-combinators":s(()=>e("./selector-max-combinators"))(),"selector-max-compound-selectors":s(()=>e("./selector-max-compound-selectors"))(),"selector-max-empty-lines":s(()=>e("./selector-max-empty-lines"))(),"selector-max-id":s(()=>e("./selector-max-id"))(),"selector-max-pseudo-class":s(()=>e("./selector-max-pseudo-class"))(),"selector-max-specificity":s(()=>e("./selector-max-specificity"))(),"selector-max-type":s(()=>e("./selector-max-type"))(),"selector-max-universal":s(()=>e("./selector-max-universal"))(),"selector-nested-pattern":s(()=>e("./selector-nested-pattern"))(),"selector-no-qualifying-type":s(()=>e("./selector-no-qualifying-type"))(),"selector-pseudo-class-allowed-list":s(()=>e("./selector-pseudo-class-allowed-list"))(),"selector-pseudo-class-case":s(()=>e("./selector-pseudo-class-case"))(),"selector-pseudo-class-disallowed-list":s(()=>e("./selector-pseudo-class-disallowed-list"))(),"selector-pseudo-class-no-unknown":s(()=>e("./selector-pseudo-class-no-unknown"))(),"selector-pseudo-class-parentheses-space-inside":s(()=>e("./selector-pseudo-class-parentheses-space-inside"))(),"selector-pseudo-element-allowed-list":s(()=>e("./selector-pseudo-element-allowed-list"))(),"selector-pseudo-element-case":s(()=>e("./selector-pseudo-element-case"))(),"selector-pseudo-element-colon-notation":s(()=>e("./selector-pseudo-element-colon-notation"))(),"selector-pseudo-element-disallowed-list":s(()=>e("./selector-pseudo-element-disallowed-list"))(),"selector-pseudo-element-no-unknown":s(()=>e("./selector-pseudo-element-no-unknown"))(),"selector-type-case":s(()=>e("./selector-type-case"))(),"selector-type-no-unknown":s(()=>e("./selector-type-no-unknown"))(),"shorthand-property-no-redundant-values":s(()=>e("./shorthand-property-no-redundant-values"))(),"string-no-newline":s(()=>e("./string-no-newline"))(),"string-quotes":s(()=>e("./string-quotes"))(),"time-min-milliseconds":s(()=>e("./time-min-milliseconds"))(),"unicode-bom":s(()=>e("./unicode-bom"))(),"unit-allowed-list":s(()=>e("./unit-allowed-list"))(),"unit-case":s(()=>e("./unit-case"))(),"unit-disallowed-list":s(()=>e("./unit-disallowed-list"))(),"unit-no-unknown":s(()=>e("./unit-no-unknown"))(),"value-keyword-case":s(()=>e("./value-keyword-case"))(),"value-list-comma-newline-after":s(()=>e("./value-list-comma-newline-after"))(),"value-list-comma-newline-before":s(()=>e("./value-list-comma-newline-before"))(),"value-list-comma-space-after":s(()=>e("./value-list-comma-space-after"))(),"value-list-comma-space-before":s(()=>e("./value-list-comma-space-before"))(),"value-list-max-empty-lines":s(()=>e("./value-list-max-empty-lines"))(),indentation:s(()=>e("./indentation"))()};t.exports=i},{"./alpha-value-notation":149,"./at-rule-allowed-list":150,"./at-rule-disallowed-list":151,"./at-rule-empty-line-before":152,"./at-rule-name-case":153,"./at-rule-name-newline-after":154,"./at-rule-name-space-after":155,"./at-rule-no-unknown":156,"./at-rule-property-required-list":157,"./at-rule-semicolon-newline-after":158,"./at-rule-semicolon-space-before":159,"./block-closing-brace-empty-line-before":161,"./block-closing-brace-newline-after":162,"./block-closing-brace-newline-before":163,"./block-closing-brace-space-after":164,"./block-closing-brace-space-before":165,"./block-no-empty":166,"./block-opening-brace-newline-after":167,"./block-opening-brace-newline-before":168,"./block-opening-brace-space-after":169,"./block-opening-brace-space-before":170,"./color-function-notation":171,"./color-hex-alpha":172,"./color-hex-case":173,"./color-hex-length":174,"./color-named":176,"./color-no-hex":177,"./color-no-invalid-hex":178,"./comment-empty-line-before":179,"./comment-no-empty":180,"./comment-pattern":181,"./comment-whitespace-inside":182,"./comment-word-disallowed-list":183,"./custom-media-pattern":184,"./custom-property-empty-line-before":185,"./custom-property-no-missing-var-function":186,"./custom-property-pattern":187,"./declaration-bang-space-after":188,"./declaration-bang-space-before":189,"./declaration-block-no-duplicate-custom-properties":190,"./declaration-block-no-duplicate-properties":191,"./declaration-block-no-redundant-longhand-properties":192,"./declaration-block-no-shorthand-property-overrides":193,"./declaration-block-semicolon-newline-after":194,"./declaration-block-semicolon-newline-before":195,"./declaration-block-semicolon-space-after":196,"./declaration-block-semicolon-space-before":197,"./declaration-block-single-line-max-declarations":198,"./declaration-block-trailing-semicolon":199,"./declaration-colon-newline-after":200,"./declaration-colon-space-after":201,"./declaration-colon-space-before":202,"./declaration-empty-line-before":203,"./declaration-no-important":204,"./declaration-property-unit-allowed-list":205,"./declaration-property-unit-disallowed-list":206,"./declaration-property-value-allowed-list":207,"./declaration-property-value-disallowed-list":208,"./font-family-name-quotes":212,"./font-family-no-duplicate-names":213,"./font-family-no-missing-generic-family-keyword":214,"./font-weight-notation":215,"./function-allowed-list":216,"./function-calc-no-unspaced-operator":217,"./function-comma-newline-after":218,"./function-comma-newline-before":219,"./function-comma-space-after":220,"./function-comma-space-before":221,"./function-disallowed-list":222,"./function-linear-gradient-no-nonstandard-direction":223,"./function-max-empty-lines":224,"./function-name-case":225,"./function-parentheses-newline-inside":226,"./function-parentheses-space-inside":227,"./function-url-no-scheme-relative":228,"./function-url-quotes":229,"./function-url-scheme-allowed-list":230,"./function-url-scheme-disallowed-list":231,"./function-whitespace-after":232,"./hue-degree-notation":235,"./indentation":236,"./keyframe-declaration-no-important":238,"./keyframes-name-pattern":239,"./length-zero-no-unit":240,"./linebreaks":241,"./max-empty-lines":242,"./max-line-length":243,"./max-nesting-depth":244,"./media-feature-colon-space-after":245,"./media-feature-colon-space-before":246,"./media-feature-name-allowed-list":247,"./media-feature-name-case":248,"./media-feature-name-disallowed-list":249,"./media-feature-name-no-unknown":250,"./media-feature-name-value-allowed-list":251,"./media-feature-parentheses-space-inside":252,"./media-feature-range-operator-space-after":253,"./media-feature-range-operator-space-before":254,"./media-query-list-comma-newline-after":255,"./media-query-list-comma-newline-before":256,"./media-query-list-comma-space-after":257,"./media-query-list-comma-space-before":258,"./named-grid-areas-no-invalid":261,"./no-descending-specificity":264,"./no-duplicate-at-import-rules":265,"./no-duplicate-selectors":266,"./no-empty-first-line":267,"./no-empty-source":268,"./no-eol-whitespace":269,"./no-extra-semicolons":270,"./no-invalid-double-slash-comments":271,"./no-invalid-position-at-import-rule":272,"./no-irregular-whitespace":273,"./no-missing-end-of-source-newline":274,"./no-unknown-animations":275,"./number-leading-zero":276,"./number-max-precision":277,"./number-no-trailing-zeros":278,"./property-allowed-list":279,"./property-case":280,"./property-disallowed-list":281,"./property-no-unknown":282,"./rule-empty-line-before":284,"./rule-selector-property-disallowed-list":285,"./selector-attribute-brackets-space-inside":286,"./selector-attribute-name-disallowed-list":287,"./selector-attribute-operator-allowed-list":288,"./selector-attribute-operator-disallowed-list":289,"./selector-attribute-operator-space-after":290,"./selector-attribute-operator-space-before":291,"./selector-attribute-quotes":292,"./selector-class-pattern":293,"./selector-combinator-allowed-list":294,"./selector-combinator-disallowed-list":295,"./selector-combinator-space-after":296,"./selector-combinator-space-before":297,"./selector-descendant-combinator-no-non-space":298,"./selector-disallowed-list":299,"./selector-id-pattern":300,"./selector-list-comma-newline-after":301,"./selector-list-comma-newline-before":302,"./selector-list-comma-space-after":303,"./selector-list-comma-space-before":304,"./selector-max-attribute":305,"./selector-max-class":306,"./selector-max-combinators":307,"./selector-max-compound-selectors":308,"./selector-max-empty-lines":309,"./selector-max-id":310,"./selector-max-pseudo-class":311,"./selector-max-specificity":312,"./selector-max-type":313,"./selector-max-universal":314,"./selector-nested-pattern":315,"./selector-no-qualifying-type":316,"./selector-pseudo-class-allowed-list":317,"./selector-pseudo-class-case":318,"./selector-pseudo-class-disallowed-list":319,"./selector-pseudo-class-no-unknown":320,"./selector-pseudo-class-parentheses-space-inside":321,"./selector-pseudo-element-allowed-list":322,"./selector-pseudo-element-case":323,"./selector-pseudo-element-colon-notation":324,"./selector-pseudo-element-disallowed-list":325,"./selector-pseudo-element-no-unknown":326,"./selector-type-case":327,"./selector-type-no-unknown":328,"./shorthand-property-no-redundant-values":332,"./string-no-newline":333,"./string-quotes":334,"./time-min-milliseconds":335,"./unicode-bom":336,"./unit-allowed-list":337,"./unit-case":338,"./unit-disallowed-list":339,"./unit-no-unknown":340,"./value-keyword-case":341,"./value-list-comma-newline-after":342,"./value-list-comma-newline-before":343,"./value-list-comma-space-after":344,"./value-list-comma-space-before":345,"./value-list-max-empty-lines":346,"import-lazy":31}],238:[(e,t,r)=>{const s=e("../../utils/report"),i=e("../../utils/ruleMessages"),n=e("../../utils/validateOptions"),o="keyframe-declaration-no-important",a=i(o,{rejected:"Unexpected !important"}),l=e=>(t,r)=>{n(r,o,{actual:e})&&t.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,e=>{e.walkDecls(e=>{e.important&&s({message:a.rejected,node:e,word:"important",result:r,ruleName:o})})})};l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],239:[(e,t,r)=>{const s=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}"`}),p=e=>(t,r)=>{if(!o(r,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkAtRules(/keyframes/i,t=>{const o=t.params;n.test(o)||i({index:s(t),message:c.expected(o,e),node:t,ruleName:u,result:r})})};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],240:[(e,t,r)=>{const s=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"),p=e("../../reference/keywordSets"),d=e("../../utils/optionsMatches"),f=e("../../utils/report"),h=e("../../utils/ruleMessages"),m=e("../../utils/setAtRuleParams"),g=e("../../utils/setDeclarationValue"),y=e("../../utils/validateOptions"),{isRegExp:w,isString:b}=e("../../utils/validateTypes"),x="length-zero-no-unit",v=h(x,{rejected:"Unexpected unit"}),k=(e,t,r)=>(h,k)=>{if(!y(k,x,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[b,w]},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)&&d(t,"ignoreFunctions",o))return!1;if(!(({type:e})=>"word"===e)(n))return;const l=s.unit(o);if(!1===l)return;const{number:c,unit:h}=l;var m,g;return""!==h&&(m=h,p.lengthUnits.has(m.toLowerCase())&&"fr"!==h.toLowerCase()&&(g=c,0===Number.parseFloat(g)))?r.fix?(n.value=c,void(S=!0)):void f({index:i+a+c.length,message:v.rejected,node:e,result:k,ruleName:x}):void 0}h.walkAtRules(e=>{if(!c(e))return;S=!1;const t=i(e),r=s(o(e));r.walk(r=>O(e,t,r)),S&&m(e,r.toString())}),h.walkDecls(e=>{S=!1;const{prop:r}=e;if("line-height"===r.toLowerCase())return;if("flex"===r.toLowerCase())return;if(d(t,"ignore","custom-properties")&&l(r))return;const i=n(e),o=s(a(e));o.walk((t,r,s)=>{if(!(({prop:e},t,r)=>"font"===e.toLowerCase()&&r>0&&"div"===t[r-1].type&&"/"===t[r-1].value)(e,s,r))return O(e,i,t)}),S&&g(e,o.toString())})};k.ruleName=x,k.messages=v,t.exports=k},{"../../reference/keywordSets":142,"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getAtRuleParams":365,"../../utils/getDeclarationValue":366,"../../utils/isCustomProperty":393,"../../utils/isMathFunction":399,"../../utils/isStandardSyntaxAtRule":408,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setAtRuleParams":437,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],241:[(e,t,r)=>{const s=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,r)=>(t,n)=>{if(!o(n,a,{actual:e,possible:["unix","windows"]}))return;const u="windows"===e;if(r.fix)t.walk(e=>{"selector"in e&&(e.selector=p(e.selector)),"value"in e&&(e.value=p(e.value)),"text"in e&&(e.text=p(e.text)),e.raws.before&&(e.raws.before=p(e.raws.before)),"after"in e.raws&&e.raws.after&&(e.raws.after=p(e.raws.after))}),"after"in t.raws&&t.raws.after&&(t.raws.after=p(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=0;t<e.length;t++){let r=e[t];t<e.length-1&&!r.includes("\r")&&(r+="\n"),c(r)&&d(t+1,r.length)}}function c(e){const t=/[\r\n]/.test(e),r=!!t&&/\r/.test(e);return t&&r!==u}function p(e){if(e){let t=e.replace(/\r/g,"");return u&&(t=t.replace(/\n/g,"\r\n")),t}return e}function d(t,r){const o=s.rule({source:{start:{line:t,column:r,offset:0},input:new s.Input("")}});i({message:l.expected(e),node:o,result:n,ruleName:a})}};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,postcss:103}],242:[(e,t,r)=>{const s=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"}`}),p=(e,t,r)=>{let n=0,p=-1;return(d,f)=>{if(!a(f,u,{actual:e,possible:l},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;const h=s(t,"ignore","comments"),m=y.bind(null,e);if(r.fix){d.walk(e=>{"comment"!==e.type||h||(e.raws.left=m(e.raws.left),e.raws.right=m(e.raws.right)),e.raws.before&&(e.raws.before=m(e.raws.before))});const t=d.first&&d.first.raws.before,r=d.raws.after;return void("Document"!==(d.document&&d.document.constructor.name)?(t&&(d.first.raws.before=m(t,!0)),r&&(d.raws.after=y(0===e?1:e,r,!0))):r&&(d.raws.after=y(0===e?1:e,r)))}n=0,p=-1;const g=d.toString();function y(e,t,r=!1){const s=r?e:e+1;if(0===s||"string"!=typeof t)return"";const i="\n".repeat(s),n="\r\n".repeat(s);return/(?:\r\n)+/.test(t)?t.replace(/(\r\n)+/g,e=>e.length/2>s?n:e):t.replace(/(\n)+/g,e=>e.length>s?i:e)}o({source:g,target:/\r\n/.test(g)?"\r\n":"\n",comments:h?"skip":"check"},t=>{((t,r,s,o)=>{const a=s===t.length;let l=!1;r&&p!==r?n=0:n++,p=s,n>e&&(l=!0),(a||l)&&(l&&i({message:c.expected(e),node:o,index:r,result:f,ruleName:u}),a&&e&&++n>e&&((e,t)=>{if(!(e&&"Document"===e.constructor.name&&"type"in e))return!0;let r;if(t===e.last)r=e.raws&&e.raws.codeAfter;else{const s=e.index(t),i=e.nodes[s+1];r=i&&i.raws&&i.raws.codeBefore}return!String(r).trim()})(f.root,o)&&i({message:c.expected(e),node:o,index:s,result:f,ruleName:u}))})(g,t.startIndex,t.endIndex,d)})}};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"style-search":121}],243:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="max-line-length",f=[/url\(\s*(\S.*\S)\s*\)/gi,/@import\s+(['"].*['"])/gi],h=o(d,{expected:e=>`Expected line length to be no more than ${e} ${1===e?"character":"characters"}`}),m=(e,t,r)=>(o,m)=>{if(!l(m,d,{actual:e,possible:u},{actual:t,possible:{ignore:["non-comments","comments"],ignorePattern:[p,c]},optional:!0}))return;if(null==o.source)throw new Error("The root node must have a source");const g=i(t,"ignore","non-comments"),y=i(t,"ignore","comments"),w=r.fix?o.toString():o.source.input.css;let b=[],x=0;for(const e of f)for(const t of s(e,w)){const e=t.subMatches[0]||"",r=t.index+t.match.indexOf(e);b.push([r,r+e.length])}function v(t){n({index:t,result:m,ruleName:d,message:h.expected(e),node:o})}function k(r){let s=w.indexOf("\n",r.endIndex);"\r"===w[s-1]&&(s-=1),-1===s&&(s=w.length);const n=s-r.endIndex,o=b[x]?((e,t)=>{const[r,s]=b[x];if(t<r)return 0;const i=Math.min(t,s)-Math.max(e,r);return s<=t&&x++,i})(r.endIndex,s):0,a=w.slice(r.endIndex,s);if(i(t,"ignorePattern",a))return;if(n-o<=e)return;const l=s-1;if(y){if("insideComment"in r&&r.insideComment)return;const e=w.slice(r.endIndex).trim().slice(0,2);if("/*"===e||"//"===e)return}if(g){if("insideComment"in r&&r.insideComment)return v(l);const e=w.slice(r.endIndex).trim().slice(0,2);if("/*"!==e&&"//"!==e)return;return v(l)}return w.slice(r.endIndex,s).replace(/^\s+/,"").includes(" ")?v(l):void 0}b=b.sort((e,t)=>e[0]-t[0]),k({endIndex:0}),a({source:w,target:["\n"],comments:"check"},e=>k(e))};m.ruleName=d,m.messages=h,t.exports=m},{"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,execall:18,"style-search":121}],244:[(e,t,r)=>{const s=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:p,isRoot:d,isRule:f}=e("../../utils/typeGuards"),{isNumber:h,isRegExp:m,isString:g}=e("../../utils/validateTypes"),y="max-nesting-depth",w=l(y,{expected:e=>`Expected nesting depth to be no more than ${e}`}),b=(e,t)=>{const r=e=>c(e)&&n(t,"ignoreAtRules",e.name);return(l,b)=>{function v(l){r(l)||s(l)&&(f(l)&&!i(l)||function e(s,i){const a=s.parent;if(null==a)throw new Error("The parent node must exist");return r(a)?0:d(a)||c(a)&&a.parent&&d(a.parent)?i:n(t,"ignore","blockless-at-rules")&&c(s)&&s.every(e=>!p(e))||n(t,"ignore","pseudo-classes")&&f(s)&&(u=s.selector,o().processSync(u,{lossless:!1}).split(",").every(e=>x(e)))||f(s)&&(l=s.selectors,t&&t.ignorePseudoClasses&&l.every(e=>{const r=x(e);return!!r&&n(t,"ignorePseudoClasses",r)}))?e(a,i):e(a,i+1);var l,u}(l,0)>e&&a({ruleName:y,result:b,node:l,message:w.expected(e)}))}u(b,y,{actual:e,possible:[h]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[g,m],ignorePseudoClasses:[g,m]}})&&(l.walkRules(v),l.walkAtRules(v))}};function x(e){return e.startsWith("&:")&&":"!==e[2]?e.substr(2):void 0}b.ruleName=y,b.messages=w,t.exports=b},{"../../utils/hasBlock":375,"../../utils/isStandardSyntaxRule":417,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-selector-parser":53}],245:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(e,t)=>{const r=t-s(e),i=(u=u||new Map).get(e)||[];return i.push(r),u.set(e,i),!0}:null}),u)for(const[t,r]of u.entries()){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of r.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}}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaFeatureColonSpaceChecker":259}],246:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(e,t)=>{const r=t-s(e),i=(u=u||new Map).get(e)||[];return i.push(r),u.set(e,i),!0}:null}),u)for(const[t,r]of u.entries()){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of r.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}}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaFeatureColonSpaceChecker":259}],247:[(e,t,r)=>{const s=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"),p=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="media-feature-name-allowed-list",g=p(m,{rejected:e=>`Unexpected media feature name "${e}"`}),y=e=>(t,r)=>{d(r,m,{actual:e,possible:[h,f]})&&t.walkAtRules(/^media$/i,t=>{l(t.params).walk(/^media-feature$/i,l=>{const p=l.parent;let d,f;if(n(p.value)){const e=u(l);d=e.name.value,f=e.name.sourceIndex}else d=l.value,f=l.sourceIndex;o(d)&&!i(d)&&(a(d,e)||c({index:s(t)+f,message:g.rejected(d),node:t,ruleName:m,result:r}))})})};y.primaryOptionArray=!0,y.ruleName=m,y.messages=g,t.exports=y},{"../../utils/atRuleParamIndex":352,"../../utils/isCustomMediaQuery":392,"../../utils/isRangeContextMediaFeature":404,"../../utils/isStandardSyntaxMediaFeatureName":415,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../rangeContextNodeParser":283,"postcss-media-query-parser":46}],248:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d="media-feature-name-case",f=c(d,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),h=(e,t,r)=>(t,c)=>{p(c,d,{actual:e,possible:["lower","upper"]})&&t.walkAtRules(/^media$/i,t=>{let p=t.raws.params&&t.raws.params.raw;const h=p||t.params;a(h).walk(/^media-feature$/i,a=>{const h=a.parent;let m,g;if(n(h.value)){const e=l(a);m=e.name.value,g=e.name.sourceIndex}else m=a.value,g=a.sourceIndex;if(!o(m)||i(m))return;const y="lower"===e?m.toLowerCase():m.toUpperCase();if(m!==y)if(r.fix)if(p){if(p=p.slice(0,g)+y+p.slice(g+y.length),null==t.raws.params)throw new Error("The `AtRuleRaws` node must have a `params` property");t.raws.params.raw=p}else t.params=t.params.slice(0,g)+y+t.params.slice(g+y.length);else u({index:s(t)+g,message:f.expected(m,y),node:t,ruleName:d,result:c})})})};h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/atRuleParamIndex":352,"../../utils/isCustomMediaQuery":392,"../../utils/isRangeContextMediaFeature":404,"../../utils/isStandardSyntaxMediaFeatureName":415,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../rangeContextNodeParser":283,"postcss-media-query-parser":46}],249:[(e,t,r)=>{const s=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"),p=e("../../utils/ruleMessages"),d=e("../../utils/validateOptions"),{isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="media-feature-name-disallowed-list",g=p(m,{rejected:e=>`Unexpected media feature name "${e}"`}),y=e=>(t,r)=>{d(r,m,{actual:e,possible:[h,f]})&&t.walkAtRules(/^media$/i,t=>{l(t.params).walk(/^media-feature$/i,l=>{const p=l.parent;let d,f;if(n(p.value)){const e=u(l);d=e.name.value,f=e.name.sourceIndex}else d=l.value,f=l.sourceIndex;o(d)&&!i(d)&&a(d,e)&&c({index:s(t)+f,message:g.rejected(d),node:t,ruleName:m,result:r})})})};y.primaryOptionArray=!0,y.ruleName=m,y.messages=g,t.exports=y},{"../../utils/atRuleParamIndex":352,"../../utils/isCustomMediaQuery":392,"../../utils/isRangeContextMediaFeature":404,"../../utils/isStandardSyntaxMediaFeatureName":415,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../rangeContextNodeParser":283,"postcss-media-query-parser":46}],250:[(e,t,r)=>{const s=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"),p=e("../../utils/report"),d=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),h=e("../../utils/vendor"),{isRegExp:m,isString:g}=e("../../utils/validateTypes"),y="media-feature-name-no-unknown",w=d(y,{rejected:e=>`Unexpected unknown media feature name "${e}"`}),b=(e,t)=>(r,d)=>{f(d,y,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[g,m]},optional:!0})&&r.walkAtRules(/^media$/i,e=>{l(e.params).walk(/^media-feature$/i,r=>{const l=r.parent;let f,m;if(n(l.value)){const e=c(r);f=e.name.value,m=e.name.sourceIndex}else f=r.value,m=r.sourceIndex;o(f)&&!i(f)&&(u(t,"ignoreMediaFeatureNames",f)||h.prefix(f)||a.mediaFeatureNames.has(f.toLowerCase())||p({index:s(e)+m,message:w.rejected(f),node:e,ruleName:y,result:d}))})})};b.ruleName=y,b.messages=w,t.exports=b},{"../../reference/keywordSets":142,"../../utils/atRuleParamIndex":352,"../../utils/isCustomMediaQuery":392,"../../utils/isRangeContextMediaFeature":404,"../../utils/isStandardSyntaxMediaFeatureName":415,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,"../rangeContextNodeParser":283,"postcss-media-query-parser":46}],251:[(e,t,r)=>{const s=e("../../utils/atRuleParamIndex"),i=e("../../utils/isRangeContextMediaFeature"),n=e("../../utils/matchesStringOrRegExp"),o=e("postcss-media-query-parser").default,a=e("../rangeContextNodeParser"),l=e("../../utils/report"),u=e("../../utils/ruleMessages"),c=e("../../utils/validateOptions"),p=e("../../utils/vendor"),{isPlainObject:d}=e("is-plain-object"),f="media-feature-name-value-allowed-list",h=u(f,{rejected:(e,t)=>`Unexpected value "${t}" for name "${e}"`}),m=e=>(t,r)=>{c(r,f,{actual:e,possible:[d]})&&t.walkAtRules(/^media$/i,t=>{o(t.params).walk(/^media-feature-expression$/i,o=>{if(!o.nodes)return;const u=i(o.parent.value);if(!o.value.includes(":")&&!u)return;const c=o.nodes.find(e=>"media-feature"===e.type);if(null==c)throw new Error("A `media-feature` node must be present");let d,m;if(u){const e=a(c);d=e.name.value,m=e.values}else{d=c.value;const e=o.nodes.find(e=>"value"===e.type);if(null==e)throw new Error("A `value` node must be present");m=[e]}for(const i of m){const o=i.value,a=p.unprefixed(d),u=Object.keys(e).find(e=>n(a,e));if(null==u)return;const c=e[u];if(null==c)return;if(n(o,c))return;l({index:s(t)+i.sourceIndex,message:h.rejected(d,o),node:t,ruleName:f,result:r})}})})};m.ruleName=f,m.messages=h,t.exports=m},{"../../utils/atRuleParamIndex":352,"../../utils/isRangeContextMediaFeature":404,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"../rangeContextNodeParser":283,"is-plain-object":35,"postcss-media-query-parser":46}],252:[(e,t,r)=>{const s=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,r)=>(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=s(t),p=[],d=a(o).walk(t=>{if("function"===t.type){const s=a.stringify(t).length;"never"===e?(/[ \t]/.test(t.before)&&(r.fix&&(t.before=""),p.push({message:u.rejectedOpening,index:t.sourceIndex+1+c})),/[ \t]/.test(t.after)&&(r.fix&&(t.after=""),p.push({message:u.rejectedClosing,index:t.sourceIndex-2+s+c}))):"always"===e&&(""===t.before&&(r.fix&&(t.before=" "),p.push({message:u.expectedOpening,index:t.sourceIndex+1+c})),""===t.after&&(r.fix&&(t.after=" "),p.push({message:u.expectedClosing,index:t.sourceIndex-2+s+c})))}});if(p.length){if(r.fix)return void(t.params=d.toString());for(const e of p)i({message:e.message,node:t,index:e.index,result:n,ruleName:l})}})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],253:[(e,t,r)=>{const s=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"}),p=(e,t,r)=>{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=r.fix?e=>a.push(e):null;if(i(t,(e,t,r)=>{((e,t,r,i)=>{const a=e.startIndex+e.target.length-1;o.after({source:t,index:a,err(e){i?i(a):n({message:e,node:r,index:a+s(r)+1,result:l,ruleName:u})}})})(e,t,r,c)}),a.length){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of a.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}})}};p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../findMediaOperator":211}],254:[(e,t,r)=>{const s=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"}),p=(e,t,r)=>{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=r.fix?e=>a.push(e):null;if(i(t,(e,t,r)=>{d=e,f=t,h=r,m=c,o.before({source:f,index:d.startIndex,err(e){m?m(d.startIndex):n({message:e,node:h,index:d.startIndex-1+s(h),result:l,ruleName:u})}})}),a.length){let r=t.raws.params?t.raws.params.raw:t.params;for(const t of a.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}})}};var d,f,h,m;p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../findMediaOperator":211}],255:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(e,t)=>{const r=t-s(e),i=(u=u||new Map).get(e)||[];return i.push(r),u.set(e,i),!0}:null}),u)for(const[t,s]of u.entries()){let i=t.raws.params?t.raws.params.raw:t.params;for(const t of s.sort((e,t)=>t-e)){const s=i.slice(0,t+1),n=i.slice(t+1);e.startsWith("always")?i=/^\s*\n/.test(n)?s+n.replace(/^[^\S\r\n]*/,""):s+r.newline+n:e.startsWith("never")&&(i=s+n.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=i:t.params=i}}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaQueryListCommaWhitespaceChecker":260}],256:[(e,t,r)=>{const s=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(r,i)=>{n(i,a,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&s({root:r,result:i,locationChecker:t.beforeAllowingIndentation,checkedRuleName:a})}};u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaQueryListCommaWhitespaceChecker":260}],257:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(e,t)=>{const r=t-s(e),i=(u=u||new Map).get(e)||[];return i.push(r),u.set(e,i),!0}:null}),u)for(const[t,r]of u.entries()){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of r.sort((e,t)=>t-e)){const r=s.slice(0,t+1),i=s.slice(t+1);e.startsWith("always")?s=r+i.replace(/^\s*/," "):e.startsWith("never")&&(s=r+i.replace(/^\s*/,""))}t.raws.params?t.raws.params.raw=s:t.params=s}}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaQueryListCommaWhitespaceChecker":260}],258:[(e,t,r)=>{const s=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,r)=>{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:r.fix?(e,t)=>{const r=t-s(e),i=(u=u||new Map).get(e)||[];return i.push(r),u.set(e,i),!0}:null}),u)for(const[t,r]of u.entries()){let s=t.raws.params?t.raws.params.raw:t.params;for(const t of r.sort((e,t)=>t-e)){const r=s.slice(0,t),i=s.slice(t);e.startsWith("always")?s=r.replace(/\s*$/," ")+i:e.startsWith("never")&&(s=r.replace(/\s*$/,"")+i)}t.raws.params?t.raws.params.raw=s:t.params=s}}};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/atRuleParamIndex":352,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../mediaQueryListCommaWhitespaceChecker":260}],259:[(e,t,r)=>{const s=e("../utils/atRuleParamIndex"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,r,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,r=n.startIndex,o=a,e.locationChecker({source:t,index:r,err(t){const n=r+s(o);e.fix&&e.fix(o,n)||i({message:t,node:o,index:n,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/atRuleParamIndex":352,"../utils/report":435,"style-search":121}],260:[(e,t,r)=>{const s=e("../utils/atRuleParamIndex"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,r,o;e.root.walkAtRules(/^media$/i,a=>{const l=a.raws.params?a.raws.params.raw:a.params;n({source:l,target:","},n=>{let u=n.startIndex;if(e.allowTrailingComments){let e;for(;e=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//.exec(l.slice(u+1));)u+=e[0].length;(e=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/.exec(l.slice(u+1)))&&(u+=e[1].length)}t=l,r=u,o=a,e.locationChecker({source:t,index:r,err(t){const n=r+s(o);e.fix&&e.fix(o,n)||i({message:t,node:o,index:n,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/atRuleParamIndex":352,"../utils/report":435,"style-search":121}],261:[(e,t,r)=>{const s=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",p=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}"`}),d=e=>(t,r)=>{l(r,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:r})=>{if("string"===t)return""===r?(f(p.expectedToken(),e),void(l=!0)):void a.push(r.trim().split(" ").filter(e=>e.length>0))}),l)return;if(!n(a))return void f(p.expectedSameNumber());const d=i(a);for(const e of d.sort())f(p.expectedRectangle(e));function f(t,i=0){o({message:t,node:e,index:s(e)+i,result:r,ruleName:c})}})};d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"./utils/findNotContiguousOrRectangular":262,"./utils/isRectangular":263,"postcss-value-parser":83}],262:[(e,t,r)=>{const s=e("../../../utils/arrayEqual");t.exports=(e=>(t=>{const r=new Set(e.flat());return r.delete("."),[...r]})().filter(t=>!((t,r)=>{const i=e.map(e=>{const t=[];let s=e.indexOf(r);for(;-1!==s;)t.push(s),s=e.indexOf(r,s+1);return t});for(let e=0;e<i.length;e++)for(let t=e+1;t<i.length;t++)if(0!==i[e].length&&0!==i[t].length&&!s(i[e],i[t]))return!1;return!0})(0,t)))},{"../../../utils/arrayEqual":351}],263:[(e,t,r)=>{t.exports=(e=>e.every((e,t,r)=>e.length===r[0].length))},{}],264:[(e,t,r)=>{const s=e("../../utils/findAtRuleContext"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/isStandardSyntaxSelector"),o=e("../../reference/keywordSets"),a=e("../../utils/nodeContextLookup"),l=e("../../utils/optionsMatches"),u=e("../../utils/parseSelector"),c=e("../../utils/report"),p=e("postcss-resolve-nested-selector"),d=e("../../utils/ruleMessages"),f=e("specificity"),h=e("../../utils/validateOptions"),m="no-descending-specificity",g=d(m,{rejected:(e,t)=>`Expected selector "${e}" to come before selector "${t}"`}),y=(e,t)=>(r,d)=>{if(!h(d,m,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;const y=a();function w(e,t,r,s){const i=e.toString(),n=(t=>{const r=e.nodes[0].split(e=>"combinator"===e.type);return r[r.length-1].filter(e=>"pseudo"!==e.type||o.pseudoElements.has(e.value.replace(/:/g,""))).join("").toString()})(),a=f.calculate(i)[0].specificityArray,l={selector:i,specificity:a};if(!s.has(n))return void s.set(n,[l]);const u=s.get(n);for(const e of u)-1===f.compare(a,e.specificity)&&c({ruleName:m,result:d,node:t,message:g.rejected(i,e.selector),index:r});u.push(l)}r.walkRules(e=>{if(!i(e))return;if(l(t,"ignore","selectors-within-list")&&e.selectors.length>1)return;const r=y.getContext(e,s(e));for(const t of e.selectors){const s=t.trim();if(""===s)continue;const i=e.selector.indexOf(s);for(const s of p(t,e))u(s,d,e,t=>{n(s)&&w(t,e,i,r)})}})};y.ruleName=m,y.messages=g,t.exports=y},{"../../reference/keywordSets":142,"../../utils/findAtRuleContext":362,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/nodeContextLookup":428,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50,specificity:120}],265:[(e,t,r)=>{const s=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,r)=>{if(!o(r,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].value:t.value,p=(s(a.stringify(o)).nodes||[]).map(e=>e.value.replace(/\s/g,"")).filter(e=>e.length);(p.length?n[c]&&p.some(e=>n[c].includes(e)):n[c])?i({message:u.rejected(c),node:e,result:r,ruleName:l}):(n[c]||(n[c]=[]),n[c]=n[c].concat(p))})};c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-media-query-parser":46,"postcss-value-parser":83}],266:[(e,t,r)=>{const s=e("../../utils/findAtRuleContext"),i=e("../../utils/isKeyframeRule"),n=e("../../utils/nodeContextLookup"),o=e("normalize-selector"),a=e("../../utils/parseSelector"),l=e("../../utils/report"),u=e("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),p=e("../../utils/validateOptions"),{isBoolean:d}=e("../../utils/validateTypes"),f="no-duplicate-selectors",h=c(f,{rejected:(e,t)=>`Unexpected duplicate selector "${e}", first used at line ${t}`}),m=(e,t)=>(r,c)=>{if(!p(c,f,{actual:e},{actual:t,possible:{disallowInList:[d]},optional:!0}))return;const m=t&&t.disallowInList,g=n();r.walkRules(e=>{if(i(e))return;const t=g.getContext(e,s(e)),r=[...new Set(e.selectors.flatMap(t=>u(t,e)))],n=[...r.map(e=>o(e))].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 d;const y=[];if(m?a(n,c,e,e=>{e.each(e=>{const r=String(e);y.push(r),t.get(r)&&(d=t.get(r))})}):d=t.get(n),d){const t=r.join(",")!==e.selectors.join(",")?r.join(", "):e.selector;return l({result:c,ruleName:f,node:e,message:h.rejected(t,d)})}const w=new Set,b=new Set;for(const t of e.selectors){const r=o(t);if(w.has(r)){if(b.has(r))continue;l({result:c,ruleName:f,node:e,message:h.rejected(t,p)}),b.add(r)}else w.add(r)}if(m)for(const e of y)t.set(e,p);else t.set(n,p)})};m.ruleName=f,m.messages=h,t.exports=m},{"../../utils/findAtRuleContext":362,"../../utils/isKeyframeRule":397,"../../utils/nodeContextLookup":428,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"normalize-selector":42,"postcss-resolve-nested-selector":50}],267:[(e,t,r)=>{const s=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,r)=>(t,i)=>{if(!n(i,o,{actual:e})||t.source.inline||"object-literal"===t.source.lang)return;const u=r.fix?t.toString():t.source&&t.source.input.css||"";if(u.trim()&&a.test(u)){if(r.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())}s({message:l.rejected,node:t,result:i,ruleName:o})}};u.ruleName=o,u.messages=l,t.exports=u},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],268:[(e,t,r)=>{const s=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,r)=>(t,i)=>{n(i,o,{actual:e})&&((r.fix?t.toString():t.source&&t.source.input.css||"").trim()||s({message:a.rejected,node:t,result:i,ruleName:o}))};l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],269:[(e,t,r)=>{const s=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:p,isRule:d}=e("../../utils/typeGuards"),f=e("../../utils/validateOptions"),h="no-eol-whitespace",m=l(h,{rejected:"Unexpected whitespace at end of line"}),g=new Set([" ","\t"]);function y(e){return e.replace(/[ \t]+$/,"")}function w(e,t,{ignoreEmptyLines:r,isRootFirst:s}={ignoreEmptyLines:!1,isRootFirst:!1}){const n=e-1;if(!g.has(t[n]))return-1;if(r){const e=t.lastIndexOf("\n",n);if(e>=0||s){const r=t.substring(e,n);if(i(r))return-1}}return n}const b=(e,t,r)=>(i,l)=>{if(!f(l,h,{actual:e},{optional:!0,actual:t,possible:{ignore:["empty-lines"]}}))return;const g=o(t,"ignore","empty-lines");r.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(d(e)){const t=e.raws.selector;t?S(t.raw,e=>{t.raw=e}):S(e.selector,t=>{e.selector=t})}(u(e)||d(e)||p(e))&&S(e.raws.between,t=>{e.raws.between=t}),p(e)&&(e.raws.value?S(e.raws.value.raw,t=>{e.raws.value.raw=t}):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&&y(e.raws.right),S(e.text,t=>{e.text=t})),(u(e)||d(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)+y(e.raws.after.slice(t+1)))}})(i);const b=r.fix?i.toString():i.source&&i.source.input.css||"",x=e=>{a({message:m.rejected,node:i,index:e,result:l,ruleName:h})};k(b,x,!0);const v=w(b.length,b,{ignoreEmptyLines:g,isRootFirst:!0});function k(e,t,r){s({source:e,target:["\n","\r"],comments:"check"},s=>{const i=w(s.startIndex,e,{ignoreEmptyLines:g,isRootFirst:r});i>-1&&t(i)})}function S(e,t,r=!1){if(!e)return;let s="",i=0;k(e,t=>{const r=t+1;s+=y(e.slice(i,r)),i=r},r),i&&t(s+=e.slice(i))}v>-1&&x(v)};b.ruleName=h,b.messages=m,t.exports=b},{"../../utils/isOnlyWhitespace":402,"../../utils/isStandardSyntaxComment":411,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/typeGuards":440,"../../utils/validateOptions":442,"style-search":121}],270:[(e,t,r)=>{const s=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 p(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 r=t.source.input.css,s=e.source.start.column,i=e.source.start.line;let n=1,o=1,a=0;for(let e=0;e<r.length;e++){if(o===s&&i===n){a=e;break}"\n"===r[e]?(o=1,n+=1):o+=1}return a}const d=(e,t,r)=>(t,o)=>{if(l(o,u,{actual:e})){if(t.raws.after&&0!==t.raws.after.trim().length){const e=t.raws.after,s=[];a({source:e,target:";"},i=>{if(r.fix)s.push(i.startIndex);else{if(!t.source)throw new Error("The root node must have a source");d(t.source.input.css.length-e.length+i.startIndex)}}),s.length&&(t.raws.after=f(e,s))}t.walk(e=>{if(("atrule"!==e.type||s(e))&&("rule"!==e.type||i(e))){if(e.raws.before&&0!==e.raws.before.trim().length){const t=e.raws.before,s=0,i=0,n=[];a({source:t,target:";"},(o,a)=>{a!==s&&(r.fix?n.push(o.startIndex-i):d(p(e)-t.length+o.startIndex))}),n.length&&(e.raws.before=f(t,n))}if("after"in e.raws&&e.raws.after&&0!==e.raws.after.trim().length){const t=e.raws.after;if("last"in e&&e.last&&"atrule"===e.last.type&&!s(e.last))return;const i=[];a({source:t,target:";"},s=>{r.fix?i.push(s.startIndex):d(p(e)+e.toString().length-1-t.length+s.startIndex)}),i.length&&(e.raws.after=f(t,i))}if("ownSemicolon"in e.raws&&e.raws.ownSemicolon){const t=e.raws.ownSemicolon,s=0,i=[];a({source:t,target:";"},(n,o)=>{o!==s&&(r.fix?i.push(n.startIndex):d(p(e)+e.toString().length-t.length+n.startIndex))}),i.length&&(e.raws.ownSemicolon=f(t,i))}}})}function d(e){n({message:c.rejected,node:t,index:e,result:o,ruleName:u})}function f(e,t){for(const r of t.reverse())e=e.slice(0,r)+e.slice(r+1);return e}};d.ruleName=u,d.messages=c,t.exports=d},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/isStandardSyntaxRule":417,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"style-search":121}],271:[(e,t,r)=>{const s=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"});function l(e){return(t,r)=>{n(r,o,{actual:e})&&(t.walkDecls(e=>{e.prop.startsWith("//")&&s({message:a.rejected,node:e,result:r,ruleName:o})}),t.walkRules(e=>{for(const t of e.selectors)t.startsWith("//")&&s({message:a.rejected,node:e,result:r,ruleName:o})}))}}l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],272:[(e,t,r)=>{const s=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"),p="no-invalid-position-at-import-rule",d=a(p,{rejected:"Unexpected invalid position @import rule"});function f(e,t){return(r,a)=>{if(!l(a,p,{actual:e},{actual:t,possible:{ignoreAtRules:[c,u]},optional:!0}))return;let f=!1;r.walk(e=>{const r=e.name&&e.name.toLowerCase();"atrule"===e.type&&"charset"!==r&&"import"!==r&&!n(t,"ignoreAtRules",e.name)&&s(e)||"rule"===e.type&&i(e)?f=!0:"atrule"===e.type&&"import"===r&&f&&o({message:d.rejected,node:e,result:a,ruleName:p})})}}f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/isStandardSyntaxAtRule":408,"../../utils/isStandardSyntaxRule":417,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],273:[(e,t,r)=>{const s=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=>"string"==typeof e&&l.exec(e),c={prop:"string",value:"string",raws:{before:"string",between:"string"}},p={name:"string",params:"string",raws:{before:"string",between:"string",afterName:"string",after:"string"}},d={selector:"string",raws:{before:"string",between:"string",after:"string"}},f=(e,t)=>{const r=Object.keys(e),s={};for(const i of r)"string"==typeof e[i]&&(s[i]=t),"object"==typeof e[i]&&(s[i]=f(e[i],t));return e=>{for(const t of r)if(s[t](e[t]))return s[t](e[t])}};function h(e){return(t,r)=>{if(!n(r,o,{actual:e}))return;const i=u(),l=(e,t)=>{const i=t(e);i&&s({ruleName:o,result:r,message:a.unexpected,node:e,word:i[1]})},h=f(p,i),m=f(d,i),g=f(c,i);t.walkAtRules(e=>l(e,h)),t.walkRules(e=>l(e,m)),t.walkDecls(e=>l(e,g))}}h.ruleName=o,h.messages=a,t.exports=h},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],274:[(e,t,r)=>{const s=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"});function l(e,t,r){return(t,i)=>{if(!n(i,o,{primary:e}))return;if(t.source.inline||"object-literal"===t.source.lang)return;const l=r.fix?t.toString():t.source.input.css;l.trim()&&!l.endsWith("\n")&&(r.fix?t.raws.after=r.newline:s({message:a.rejected,node:t,index:l.length-1,result:i,ruleName:o}))}}l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],275:[(e,t,r)=>{const s=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}"`});function p(e){return(t,r)=>{if(!l(r,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:r,ruleName:u,message:c.rejected(i.value),node:e,index:s(e)+i.sourceIndex})}})}}p.ruleName=u,p.messages=c,t.exports=p},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/findAnimationName":361,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],276:[(e,t,r)=>{const s=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("postcss-value-parser"),u="number-leading-zero",c=o(u,{expected:"Expected a leading zero",rejected:"Unexpected leading zero"});function p(e,t,r){return(t,o)=>{function p(t,s,i){const n=[],o=[];if(s.includes(".")){if(l(s).walk(s=>{if("function"===s.type&&"url"===s.value.toLowerCase())return!1;if("word"===s.type){if("always"===e){const e=/(?:\D|^)(\.\d+)/.exec(s.value);if(null===e)return;const n=e[0].length-e[1].length,a=s.sourceIndex+e.index+n;if(r.fix)return void o.unshift({index:a});h(c.expected,t,i(t)+a)}if("never"===e){const e=/(?:\D|^)(0+)(\.\d+)/.exec(s.value);if(null===e)return;const o=e[0].length-(e[1].length+e[2].length),a=s.sourceIndex+e.index+o;if(r.fix)return void n.unshift({startIndex:a,endIndex:a+e[1].length});h(c.rejected,t,i(t)+a)}}}),o.length)for(const e of o){const r=e.index;"atrule"===t.type?t.params=d(t.params,r):t.value=d(t.value,r)}if(n.length)for(const e of n){const r=e.startIndex,s=e.endIndex;"atrule"===t.type?t.params=f(t.params,r,s):t.value=f(t.value,r,s)}}}function h(e,t,r){n({result:o,ruleName:u,message:e,node:t,index:r})}a(o,u,{actual:e,possible:["always","never"]})&&(t.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&p(e,e.params,s)}),t.walkDecls(e=>p(e,e.value,i)))}}function d(e,t){return e.slice(0,t)+"0"+e.slice(t)}function f(e,t,r){return e.slice(0,t)+e.slice(r)}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],277:[(e,t,r)=>{const s=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/validateOptions"),{isNumber:c,isRegExp:p,isString:d}=e("../../utils/validateTypes"),f=e("postcss-value-parser"),h="number-max-precision",m=l(h,{expected:(e,t)=>`Expected "${e}" to be "${e.toFixed(t)}"`});function g(e,t){return(r,l)=>{function g(r,s,i){if(!s.includes("."))return;const u=r.prop;o(t,"ignoreProperties",u)||f(s).walk(s=>{const u=n(s);if(o(t,"ignoreUnits",u))return;if("function"===s.type&&"url"===s.value.toLowerCase())return!1;if("word"!==s.type)return;const c=/\d*\.(\d+)/.exec(s.value);null!==c&&(c[1].length<=e||a({result:l,ruleName:h,node:r,index:i(r)+s.sourceIndex+c.index,message:m.expected(Number.parseFloat(c[0]),e)}))})}u(l,h,{actual:e,possible:[c]},{optional:!0,actual:t,possible:{ignoreProperties:[d,p],ignoreUnits:[d,p]}})&&(r.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&g(e,e.params,s)}),r.walkDecls(e=>g(e,e.value,i)))}}g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],278:[(e,t,r)=>{const s=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l=e("postcss-value-parser"),u="number-no-trailing-zeros",c=o(u,{rejected:"Unexpected trailing zero(s)"});function p(e,t,r){return(t,o)=>{function p(e,t,s){const i=[];if(t.includes(".")&&(l(t).walk(t=>{if("function"===t.type&&"url"===t.value.toLowerCase())return!1;if("word"!==t.type)return;const a=/\.(\d{0,100}?)(0+)(?:\D|$)/.exec(t.value);if(null===a)return;const l=t.sourceIndex+a.index+1+a[1].length,p=a[1].length>0?l:l-1,d=l+a[2].length;r.fix?i.unshift({startIndex:p,endIndex:d}):n({message:c.rejected,node:e,index:s(e)+l,result:o,ruleName:u})}),i.length))for(const t of i){const r=t.startIndex,s=t.endIndex;"atrule"===e.type?e.params=d(e.params,r,s):e.value=d(e.value,r,s)}}a(o,u,{actual:e})&&(t.walkAtRules(e=>{"import"!==e.name.toLowerCase()&&p(e,e.params,s)}),t.walkDecls(e=>p(e,e.value,i)))}}function d(e,t,r){return e.slice(0,t)+e.slice(r)}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],279:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="property-allowed-list",f=a(d,{rejected:e=>`Unexpected property "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkDecls(t=>{const a=t.prop;i(a)&&(s(a)||n(u.unprefixed(a),e)||o({message:f.rejected(a),node:t,result:r,ruleName:d}))})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxProperty":416,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],280:[(e,t,r)=>{const s=e("../../utils/isCustomProperty"),i=e("../../utils/isStandardSyntaxProperty"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),l="property-case",u=o(l,{expected:(e,t)=>`Expected "${e}" to be "${t}"`});function c(e,t,r){return(t,o)=>{a(o,l,{actual:e,possible:["lower","upper"]})&&t.walkDecls(t=>{const a=t.prop;if(!i(a))return;if(s(a))return;const c="lower"===e?a.toLowerCase():a.toUpperCase();a!==c&&(r.fix?t.prop=c:n({message:u.expected(a,c),node:t,ruleName:l,result:o}))})}}c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxProperty":416,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],281:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="property-disallowed-list",f=a(d,{rejected:e=>`Unexpected property "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkDecls(t=>{const a=t.prop;i(a)&&(s(a)||n(u.unprefixed(a),e)&&o({message:f.rejected(a),node:t,result:r,ruleName:d}))})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxProperty":416,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],282:[(e,t,r)=>{const s=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"),c=e("../../utils/validateOptions"),p=e("../../utils/vendor"),{isBoolean:d,isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="property-no-unknown",g=u(m,{rejected:e=>`Unexpected unknown property "${e}"`});function y(e,t){const r=new Set(a);return(a,u)=>{if(!c(u,m,{actual:e},{actual:t,possible:{ignoreProperties:[h,f],checkPrefixed:d,ignoreSelectors:[h,f],ignoreAtRules:[h,f]},optional:!0}))return;const y=t&&t.checkPrefixed;a.walkDecls(e=>{const a=e.prop;if(!n(a))return;if(!i(e))return;if(s(a))return;if(!y&&p.prefix(a))return;if(o(t,"ignoreProperties",a))return;const{selector:c}=e.parent;if(c&&o(t,"ignoreSelectors",c))return;let d=e.parent;for(;d&&"root"!==d.type;){const{type:e,name:r}=d;if("atrule"===e&&o(t,"ignoreAtRules",r))return;d=d.parent}r.has(a.toLowerCase())||l({message:g.rejected(a),node:e,result:u,ruleName:m})})}}y.ruleName=m,y.messages=g,t.exports=y},{"../../utils/isCustomProperty":393,"../../utils/isStandardSyntaxDeclaration":412,"../../utils/isStandardSyntaxProperty":416,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,"known-css-properties":39}],283:[(e,t,r)=>{const s=e("style-search"),i=[">=","<=",">","<","="];t.exports=(e=>{const t=e.value,r=(t=>{const r=[],n=e.value;return s({source:n,target:i},e=>{const t=n[e.startIndex-1];">"!==t&&"<"!==t&&r.push(e.target)}),r.sort((e,t)=>t.length-e.length)})(),n=t.replace(/[()\s]/g,"").split(new RegExp(r.join("|"))),o=3===(a=n).length?a[1]:a.find(e=>e.match(/^(?!--)\D+/)||e.match(/^(--).+/));var a;if(null==o)throw new Error("The context name must be present");return{name:{value:o,sourceIndex:e.sourceIndex+t.indexOf(o)},values:n.filter(e=>e!==o).map(r=>({value:r,sourceIndex:e.sourceIndex+t.indexOf(r)}))}})},{"style-search":121}],284:[(e,t,r)=>{const s=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"),p=e("../../utils/optionsMatches"),d=e("../../utils/removeEmptyLinesBefore"),f=e("../../utils/report"),h=e("../../utils/ruleMessages"),m=e("../../utils/validateOptions"),g="rule-empty-line-before",y=h(g,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"});function w(e,t,r){return(i,h)=>{m(h,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})&&i.walkRules(i=>{if(!c(i))return;if(l(i))return;if(p(t,"ignore","after-comment")&&i.prev()&&"comment"===i.prev().type)return;if(p(t,"ignore","first-nested")&&a(i))return;const m="root"!==i.parent.type;if(p(t,"ignore","inside-block")&&m)return;if(e.includes("multi-line")&&u(i.toString()))return;let w=Boolean(e.includes("always"));if((p(t,"except","first-nested")&&a(i)||p(t,"except","after-rule")&&b(i)||p(t,"except","inside-block-and-after-rule")&&m&&b(i)||p(t,"except","after-single-line-comment")&&o(i)||p(t,"except","inside-block")&&m)&&(w=!w),w===n(i.raws.before))return;if(r.fix)return void(w?s(i,r.newline):d(i,r.newline));const x=w?y.expected:y.rejected;f({message:x,node:i,result:h,ruleName:g})})}}function b(e){const t=i(e);return t&&"rule"===t.type}w.ruleName=g,w.messages=y,t.exports=w},{"../../utils/addEmptyLineBefore":350,"../../utils/getPreviousNonSharedLineCommentNode":371,"../../utils/hasEmptyLine":377,"../../utils/isAfterSingleLineComment":384,"../../utils/isFirstNested":395,"../../utils/isFirstNodeOfRoot":396,"../../utils/isSingleLineString":407,"../../utils/isStandardSyntaxRule":417,"../../utils/optionsMatches":429,"../../utils/removeEmptyLinesBefore":434,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],285:[(e,t,r)=>{const s=e("../../utils/isStandardSyntaxRule"),i=e("../../utils/matchesStringOrRegExp"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("../../utils/validateOptions"),{isPlainObject:l}=e("is-plain-object"),u="rule-selector-property-disallowed-list",c=o(u,{rejected:(e,t)=>`Unexpected property "${e}" for selector "${t}"`}),p=e=>(t,r)=>{if(!a(r,u,{actual:e,possible:[l]}))return;const o=Object.keys(e);t.walkRules(t=>{if(!s(t))return;const a=o.find(e=>i(t.selector,e));if(!a)return;const l=e[a];for(const e of t.nodes)"decl"===e.type&&i(e.prop,l)&&n({message:c.rejected(e.prop,t.selector),node:e,result:r,ruleName:u})})};p.primaryOptionArray=!0,p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"is-plain-object":35}],286:[(e,t,r)=>{const s=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 "]"'});function p(e,t,r){return(t,d)=>{l(d,u,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{if(!s(t))return;if(!t.selector.includes("["))return;const l=t.raws.selector?t.raws.selector.raw:t.selector;let f;const h=i(l,d,t,t=>{t.walkAttributes(t=>{const s=t.toString();a({source:s,target:"["},i=>{const n=" "===s[i.startIndex+1],a=t.sourceIndex+i.startIndex+1;if(n&&"never"===e){if(r.fix)return f=!0,void o(t);m(c.rejectedOpening,a)}if(!n&&"always"===e){if(r.fix)return f=!0,void o(t);m(c.expectedOpening,a)}}),a({source:s,target:"]"},i=>{const n=" "===s[i.startIndex-1],o=t.sourceIndex+i.startIndex-1;if(n&&"never"===e){if(r.fix)return f=!0,void p(t);m(c.rejectedClosing,o)}if(!n&&"always"===e){if(r.fix)return f=!0,void p(t);m(c.expectedClosing,o)}})})});function m(e,r){n({message:e,index:r,result:d,ruleName:u,node:t})}f&&(t.raws.selector?t.raws.selector.raw=h:t.selector=h)})};function o(t){const r=t.raws.spaces&&t.raws.spaces.attribute&&t.raws.spaces.attribute.before,{attrBefore:s,setAttrBefore:i}=r?{attrBefore:r,setAttrBefore(e){t.raws.spaces.attribute.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?i(s.replace(/^\s*/," ")):"never"===e&&i(s.replace(/^\s*/,""))}function p(t){let r;r=t.operator?t.insensitive?"insensitive":"value":"attribute";const s=t.raws.spaces&&t.raws.spaces[r]&&t.raws.spaces[r].after,{after:i,setAfter:n}=s?{after:s,setAfter(e){t.raws.spaces[r].after=e}}:{after:t.spaces[r]&&t.spaces[r].after||"",setAfter(e){t.spaces[r]||(t.spaces[r]={}),t.spaces[r].after=e}};"always"===e?n(i.replace(/\s*$/," ")):"never"===e&&n(i.replace(/\s*$/,""))}}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"style-search":121}],287:[(e,t,r)=>{const s=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"),p="selector-attribute-name-disallowed-list",d=a(p,{rejected:e=>`Unexpected name "${e}"`});function f(e){const t=[e].flat();return(e,r)=>{l(r,p,{actual:t,possible:[c,u]})&&e.walkRules(e=>{s(e)&&e.selector.includes("[")&&n(e.selector,r,e,s=>{s.walkAttributes(s=>{const n=s.qualifiedAttribute;i(n,t)&&o({message:d.rejected(n),node:e,index:s.sourceIndex+s.offsetOf("attribute"),result:r,ruleName:p})})})})}}f.primaryOptionArray=!0,f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],288:[(e,t,r)=>{const s=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}"`});function p(e){const t=[e].flat();return(e,r)=>{a(r,u,{actual:t,possible:[l]})&&e.walkRules(e=>{s(e)&&e.selector.includes("[")&&e.selector.includes("=")&&i(e.selector,r,e,s=>{s.walkAttributes(s=>{const i=s.operator;!i||i&&t.includes(i)||n({message:c.rejected(i),node:e,index:s.sourceIndex+s.offsetOf("operator"),result:r,ruleName:u})})})})}}p.primaryOptionArray=!0,p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],289:[(e,t,r)=>{const s=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}"`});function p(e){const t=[e].flat();return(e,r)=>{a(r,u,{actual:t,possible:[l]})&&e.walkRules(e=>{s(e)&&e.selector.includes("[")&&e.selector.includes("=")&&i(e.selector,r,e,s=>{s.walkAttributes(s=>{const i=s.operator;!i||i&&!t.includes(i)||n({message:c.rejected(i),node:e,index:s.sourceIndex+s.offsetOf("operator"),result:r,ruleName:u})})})})}}p.primaryOptionArray=!0,p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],290:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorAttributeOperatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-attribute-operator-space-after",l=s(a,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`});function u(e,t,r){return(t,s)=>{const u=o("space",e,l);n(s,a,{actual:e,possible:["always","never"]})&&i({root:t,result:s,locationChecker:u.after,checkedRuleName:a,checkBeforeOperator:!1,fix:r.fix?t=>{const{operatorAfter:r,setOperatorAfter:s}=(()=>{const e=t.raws.operator;if(e)return{operatorAfter:e.slice(t.operator.length),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 r=t.raws.spaces&&t.raws.spaces.operator&&t.raws.spaces.operator.after;return r?{operatorAfter:r,setOperatorAfter(e){t.raws.spaces.operator.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?(s(r.replace(/^\s*/," ")),!0):"never"===e?(s(r.replace(/^\s*/,"")),!0):void 0}:null})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorAttributeOperatorSpaceChecker":329}],291:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorAttributeOperatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-attribute-operator-space-before",l=s(a,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`});function u(e,t,r){const s=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:s.before,checkedRuleName:a,checkBeforeOperator:!0,fix:r.fix?t=>{const r=t.raws.spaces&&t.raws.spaces.attribute&&t.raws.spaces.attribute.after,{attrAfter:s,setAttrAfter:i}=r?{attrAfter:r,setAttrAfter(e){t.raws.spaces.attribute.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?(i(s.replace(/\s*$/," ")),!0):"never"===e?(i(s.replace(/\s*$/,"")),!0):void 0}:null})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorAttributeOperatorSpaceChecker":329}],292:[(e,t,r)=>{const s=e("../../utils/getRuleSelector"),i=e("../../utils/isStandardSyntaxRule"),n=e("../../utils/parseSelector"),o=e("../../utils/report"),a=e("../../utils/ruleMessages"),l=e("../../utils/validateOptions"),u="selector-attribute-quotes",c=a(u,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Unexpected quotes around "${e}"`}),p='"';function d(e,t,r){return(t,a)=>{l(a,u,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{function l(e,r){o({message:e,index:r,result:a,ruleName:u,node:t})}i(t)&&t.selector.includes("[")&&t.selector.includes("=")&&n(s(t),a,t,s=>{let i=!1;s.walkAttributes(t=>{t.operator&&(t.quoted||"always"!==e||(r.fix?(i=!0,t.quoteMark=p):l(c.expected(t.value),t.sourceIndex+t.offsetOf("value"))),t.quoted&&"never"===e&&(r.fix?(i=!0,t.quoteMark=null):l(c.rejected(t.value),t.sourceIndex+t.offsetOf("value"))))}),i&&(t.selector=s.toString())})})}}d.ruleName=u,d.messages=c,t.exports=d},{"../../utils/getRuleSelector":372,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],293:[(e,t,r)=>{const s=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:p,isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="selector-class-pattern",m=u(h,{expected:(e,t)=>`Expected class selector ".${e}" to match pattern "${t}"`});function g(e,t){return(r,u)=>{if(!c(u,h,{actual:e,possible:[d,f]},{actual:t,possible:{resolveNestedSelectors:p},optional:!0}))return;const g=t&&t.resolveNestedSelectors,w=f(e)?new RegExp(e):e;function b(t,r){t.walkClasses(t=>{const s=t.value,i=t.sourceIndex;w.test(s)||a({result:u,ruleName:h,message:m.expected(s,e),node:r,index:i})})}r.walkRules(e=>{const t=e.selector,r=e.selectors;if(i(e)&&!r.some(e=>s(e)))if(g&&(e=>{for(let t=0,r=e.length;t<r;t++)if("&"===e[t]){if(void 0!==e[t-1]&&!y(e[t-1]))return!0;if(void 0!==e[t+1]&&!y(e[t+1]))return!0}return!1})(t))for(const r of l(t,e))n(r)&&o(r,u,e,t=>b(t,e));else o(t,u,e,t=>b(t,e))})}}function y(e){return/[\s+>~]/.test(e)}g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/isKeyframeSelector":398,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-resolve-nested-selector":50}],294:[(e,t,r)=>{const s=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",p=a(c,{rejected:e=>`Unexpected combinator "${e}"`});function d(e){return(t,r)=>{l(r,c,{actual:e,possible:[u]})&&t.walkRules(t=>{if(!i(t))return;const a=t.selector;n(a,r,t,i=>{i.walkCombinators(i=>{if(!s(i))return;const n=i.value.replace(/\s+/g," ");e.includes(n)||o({result:r,ruleName:c,message:p.rejected(n),node:t,index:i.sourceIndex})})})})}}d.primaryOptionArray=!0,d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/isStandardSyntaxCombinator":410,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],295:[(e,t,r)=>{const s=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",p=a(c,{rejected:e=>`Unexpected combinator "${e}"`});function d(e){return(t,r)=>{l(r,c,{actual:e,possible:[u]})&&t.walkRules(t=>{if(!i(t))return;const a=t.selector;n(a,r,t,i=>{i.walkCombinators(i=>{if(!s(i))return;const n=i.value.replace(/\s+/g," ");e.includes(n)&&o({result:r,ruleName:c,message:p.rejected(n),node:t,index:i.sourceIndex})})})})}}d.primaryOptionArray=!0,d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/isStandardSyntaxCombinator":410,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],296:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorCombinatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-combinator-space-after",l=s(a,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`});function u(e,t,r){const s=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:s.after,locationType:"after",checkedRuleName:a,fix:r.fix?t=>"always"===e?(t.spaces.after=" ",!0):"never"===e?(t.spaces.after="",!0):void 0:null})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorCombinatorSpaceChecker":330}],297:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorCombinatorSpaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-combinator-space-before",l=s(a,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`});function u(e,t,r){const s=o("space",e,l);return(t,o)=>{n(o,a,{actual:e,possible:["always","never"]})&&i({root:t,result:o,locationChecker:s.before,locationType:"before",checkedRuleName:a,fix:r.fix?t=>"always"===e?(t.spaces.before=" ",!0):"never"===e?(t.spaces.before="",!0):void 0:null})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorCombinatorSpaceChecker":330}],298:[(e,t,r)=>{const s=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}"`});function c(e,t,r){return(t,o)=>{a(o,l,{actual:e})&&t.walkRules(e=>{if(!s(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,s=>{s.walkCombinators(s=>{if(" "!==s.value)return;const i=s.toString();if(i.includes(" ")||i.includes("\t")||i.includes("\n")||i.includes("\r")){if(r.fix&&/^\s+$/.test(i))return t=!0,s.raws.value=" ",s.rawSpaceBefore=s.rawSpaceBefore.replace(/^\s+/,""),void(s.rawSpaceAfter=s.rawSpaceAfter.replace(/\s+$/,""));n({result:o,ruleName:l,message:u.rejected(i),node:e,index:s.sourceIndex})}})});t&&(e.raws.selector?e.raws.selector.raw=c:e.selector=c)})}}c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],299:[(e,t,r)=>{const s=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",p=o(c,{rejected:e=>`Unexpected selector "${e}"`});function d(e){const t=[e].flat();return(e,r)=>{a(r,c,{actual:t,possible:[u,l]})&&e.walkRules(e=>{if(!s(e))return;const o=e.selector;i(o,t)&&n({result:r,ruleName:c,message:p.rejected(o),node:e})})}}d.primaryOptionArray=!0,d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],300:[(e,t,r)=>{const s=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",p=o(c,{expected:(e,t)=>`Expected ID selector "#${e}" to match pattern "${t}"`});function d(e){return(t,r)=>{if(!a(r,c,{actual:e,possible:[l,u]}))return;const o=u(e)?new RegExp(e):e;t.walkRules(t=>{if(!s(t))return;const a=t.selector;i(a,r,t,s=>{s.walk(s=>{if("id"!==s.type)return;const i=s.value,a=s.sourceIndex;o.test(i)||n({result:r,ruleName:c,message:p.expected(i,e),node:t,index:a})})})})}}d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],301:[(e,t,r)=>{const s=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'});function p(e,t,r){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(!s(t))return;const a=t.raws.selector?t.raws.selector.raw:t.selector,c=[];if(o({source:a,target:",",functionArguments:"skip"},e=>{const s=a.substr(e.endIndex,a.length-e.endIndex);if(/^\s+\/\//.test(s))return;const o=/^\s+\/\*/.test(s)?a.indexOf("*/",e.endIndex)+1:e.startIndex;n.afterOneOnly({source:a,index:o,err(s){r.fix?c.push(o+1):i({message:s,node:t,index:e.startIndex,result:l,ruleName:u})}})}),c.length){let s=a;for(const t of c.sort((e,t)=>t-e)){const i=s.slice(0,t);let n=s.slice(t);e.startsWith("always")?n=r.newline+n:e.startsWith("never-multi-line")&&(n=n.replace(/^\s*/,"")),s=i+n}t.raws.selector?t.raws.selector.raw=s:t.selector=s}})}}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"style-search":121}],302:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-newline-before",l=s(a,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'});function u(e,t,r){const s=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:s.beforeAllowingIndentation,checkedRuleName:a,fix:r.fix?(e,t)=>{const r=(l=l||new Map).get(e)||[];return r.push(t),l.set(e,r),!0}:null}),l)for(const[t,s]of l.entries()){let i=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of s.sort((e,t)=>t-e)){let s=i.slice(0,t);const n=i.slice(t);if(e.startsWith("always")){const e=s.search(/\s+$/);e>=0?s=s.slice(0,e)+r.newline+s.slice(e):s+=r.newline}else"never-multi-line"===e&&(s=s.replace(/\s*$/,""));i=s+n}t.raws.selector?t.raws.selector.raw=i:t.selector=i}}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorListCommaWhitespaceChecker":331}],303:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-space-after",l=s(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'});function u(e,t,r){const s=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:s.after,checkedRuleName:a,fix:r.fix?(e,t)=>{const r=(l=l||new Map).get(e)||[];return r.push(t),l.set(e,r),!0}:null}),l)for(const[t,r]of l.entries()){let s=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of r.sort((e,t)=>t-e)){const r=s.slice(0,t+1);let i=s.slice(t+1);e.startsWith("always")?i=i.replace(/^\s*/," "):e.startsWith("never")&&(i=i.replace(/^\s*/,"")),s=r+i}t.raws.selector?t.raws.selector.raw=s:t.selector=s}}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorListCommaWhitespaceChecker":331}],304:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../selectorListCommaWhitespaceChecker"),n=e("../../utils/validateOptions"),o=e("../../utils/whitespaceChecker"),a="selector-list-comma-space-before",l=s(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'});function u(e,t,r){const s=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:s.before,checkedRuleName:a,fix:r.fix?(e,t)=>{const r=(l=l||new Map).get(e)||[];return r.push(t),l.set(e,r),!0}:null}),l)for(const[t,r]of l.entries()){let s=t.raws.selector?t.raws.selector.raw:t.selector;for(const t of r.sort((e,t)=>t-e)){let r=s.slice(0,t);const i=s.slice(t);e.includes("always")?r=r.replace(/\s*$/," "):e.includes("never")&&(r=r.replace(/\s*$/,"")),s=r+i}t.raws.selector?t.raws.selector.raw=s:t.selector=s}}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../selectorListCommaWhitespaceChecker":331}],305:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="selector-max-attribute",m=c(h,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} attribute ${1===t?"selector":"selectors"}`});function g(e,t){return(r,c)=>{function g(r,i){const n=r.reduce((e,r)=>(("selector"===r.type||s(r))&&g(r,i),"attribute"!==r.type?e:o(t,"ignoreAttributes",r.attribute)?e:e+=1),0);"root"!==r.type&&"pseudo"!==r.type&&n>e&&l({ruleName:h,result:c,node:i,message:m.expected(r,e),word:r})}p(c,h,{actual:e,possible:i},{actual:t,possible:{ignoreAttributes:[f,d]},optional:!0})&&r.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const r of u(t,e))a(r,c,e,t=>g(t,e))})}}g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-resolve-nested-selector":50}],306:[(e,t,r)=>{const s=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"),p="selector-max-class",d=u(p,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${1===t?"class":"classes"}`});function f(e){return(t,r)=>{function u(t,i){const n=t.reduce((e,t)=>(("selector"===t.type||s(t))&&u(t,i),"class"===t.type&&(e+=1),e),0);"root"!==t.type&&"pseudo"!==t.type&&n>e&&a({ruleName:p,result:r,node:i,message:d.expected(t,e),word:t})}c(r,p,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const s of l(t,e))o(s,r,e,t=>u(t,e))})}}f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50}],307:[(e,t,r)=>{const s=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",p=l(c,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ${1===t?"combinator":"combinators"}`});function d(e){return(t,r)=>{function l(t,s){const i=t.reduce((e,t)=>("selector"===t.type&&l(t,s),"combinator"===t.type&&(e+=1),e),0);"root"!==t.type&&"pseudo"!==t.type&&i>e&&o({ruleName:c,result:r,node:s,message:p.expected(t,e),word:t})}u(r,c,{actual:e,possible:s})&&t.walkRules(e=>{if(i(e))for(const t of e.selectors)for(const s of a(t,e))n(s,r,e,t=>l(t,e))})}}d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50}],308:[(e,t,r)=>{const s=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"),p="selector-max-compound-selectors",d=u(p,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} compound ${1===t?"selector":"selectors"}`});function f(e){return(t,r)=>{function u(t,i){let n=1;t.each(e=>{("selector"===e.type||s(e))&&u(e,i),"combinator"===e.type&&n++}),"root"!==t.type&&"pseudo"!==t.type&&n>e&&a({ruleName:p,result:r,node:i,message:d.expected(t,e),word:t})}c(r,p,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const s of l(t,e))o(s,r,e,t=>u(t,e))})}}f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50}],309:[(e,t,r)=>{const s=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"}`});function u(e,t,r){const i=e+1;return(t,u)=>{if(!n(u,a,{actual:e,possible:o}))return;const c=new RegExp(`(?:\r\n){${i+1},}`),p=new RegExp(`\n{${i+1},}`),d=r.fix?"\n".repeat(i):"",f=r.fix?"\r\n".repeat(i):"";t.walkRules(t=>{const i=t.raws.selector?t.raws.selector.raw:t.selector;if(r.fix){const e=i.replace(new RegExp(p,"gm"),d).replace(new RegExp(c,"gm"),f);t.raws.selector?t.raws.selector.raw=e:t.selector=e}else(p.test(i)||c.test(i))&&s({message:l.expected(e),node:t,index:0,result:u,ruleName:a})})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],310:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="selector-max-id",m=c(h,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} ID ${1===t?"selector":"selectors"}`});function g(e,t){return(r,c)=>{function g(r,i){const n=r.reduce((e,r)=>(("selector"===r.type||s(r)&&("pseudo"!==(a=r).type||!o(t,"ignoreContextFunctionalPseudoClasses",a.value)))&&g(r,i),"id"===r.type&&(e+=1),e),0);var a;"root"!==r.type&&"pseudo"!==r.type&&n>e&&l({ruleName:h,result:c,node:i,message:m.expected(r,e),word:r})}p(c,h,{actual:e,possible:i},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[f,d]},optional:!0})&&r.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const r of u(t,e))a(r,c,e,t=>g(t,e))})}}g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-resolve-nested-selector":50}],311:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d="selector-max-pseudo-class",f=c(d,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} pseudo-${1===t?"class":"classes"}`});function h(e){return(t,r)=>{function c(t,i){t.reduce((e,t)=>(("selector"===t.type||s(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&&l({ruleName:d,result:r,node:i,message:f.expected(t,e),word:t})}p(r,d,{actual:e,possible:i})&&t.walkRules(e=>{if(n(e))for(const t of e.selectors)for(const s of u(t,e))a(s,r,h,t=>{c(t,e)})})}}h.ruleName=d,h.messages=f,t.exports=h},{"../../reference/keywordSets":142,"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50}],312:[(e,t,r)=>{const s=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("postcss-resolve-nested-selector"),c=e("../../utils/ruleMessages"),p=e("specificity"),d=e("../../utils/validateOptions"),{isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="selector-max-specificity",g=c(m,{expected:(e,t)=>`Expected "${e}" to have a specificity no more than "${t}"`}),y=()=>[0,0,0,0],w=e=>{const t=y();for(const r of e)for(const[e,s]of r.entries())t[e]+=s;return t};function b(e,t){return(r,c)=>{if(!d(c,m,{actual:e,possible:[e=>/^\d+,\d+,\d+$/.test(e)]},{actual:t,possible:{ignoreSelectors:[h,f]},optional:!0}))return;const b=e=>o(t,"ignoreSelectors",e)?y():p.calculate(e)[0].specificityArray,x=e=>e.reduce((e,t)=>{const r=v(t);return 1===p.compare(r,e)?r:e},y()),v=e=>{if((t=>{const r=e.parent.parent;if(r&&r.value){const e=r.value.toLowerCase().replace(/:+/,"");return"pseudo"===r.type&&(n.aNPlusBNotationPseudoClasses.has(e)||n.linguisticPseudoClasses.has(e))}return!1})())return y();switch(e.type){case"attribute":case"class":case"id":case"tag":return b(e.toString());case"pseudo":return(e=>{const t=e.value,r=":not"===t||":matches"===t?y():b(t);return w([r,x(e)])})(e);case"selector":return w(e.map(e=>v(e)));default:return y()}},k=`0,${e}`.split(",").map(e=>Number.parseFloat(e));r.walkRules(t=>{if(s(t))for(const r of t.selectors)for(const s of u(r,t))try{if(!i(s))continue;a(s,c,t,i=>{1===p.compare(x(i),k)&&l({ruleName:m,result:c,node:t,message:g.expected(s,e),word:r})})}catch(e){c.warn("Cannot parse selector",{node:t,stylelintType:"parseError"})}})}}b.ruleName=m,b.messages=g,t.exports=b},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-resolve-nested-selector":50,specificity:120}],313:[(e,t,r)=>{const s=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"),p=e("../../utils/parseSelector"),d=e("../../utils/report"),f=e("postcss-resolve-nested-selector"),h=e("../../utils/ruleMessages"),m=e("../../utils/validateOptions"),{isRegExp:g,isString:y}=e("../../utils/validateTypes"),w="selector-max-type",b=h(w,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} type ${1===t?"selector":"selectors"}`});function x(e,t){return(r,h)=>{if(!m(h,w,{actual:e,possible:n},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling"],ignoreTypes:[y,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(r,i){const n=r.reduce((e,r)=>(("selector"===r.type||s(r))&&C(r,i),c(t,"ignoreTypes",r.value)?e:x&&(e=>{const t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(e=>(r=e,!!r&&v(r)&&o(r.value)));var r})(r)?e:k&&(e=>{const t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(e=>(r=e,!!r&&v(r)&&">"===r.value));var r})(r)?e:S&&(e=>!(!e.prev()||v(e.prev()))||e.next()&&!v(e.next()))(r)?e:O&&(a=r).prev()&&v(l=a.prev())&&"+"===l.value?e:"tag"!==r.type||u(r)?e+("tag"===r.type):e),0);var a,l;"root"!==r.type&&"pseudo"!==r.type&&n>e&&d({ruleName:w,result:h,node:i,message:b.expected(r,e),word:r})}r.walkRules(e=>{const t=e.selectors;if(a(e)&&!t.some(e=>i(e)))for(const t of e.selectors)for(const r of f(t,e))l(r)&&p(r,h,e,t=>C(t,e))})}}function v(e){return!!e&&"combinator"===e.type}x.ruleName=w,x.messages=b,t.exports=x},{"../../utils/isContextFunctionalPseudoClass":388,"../../utils/isKeyframeSelector":398,"../../utils/isNonNegativeInteger":400,"../../utils/isOnlyWhitespace":402,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/isStandardSyntaxTypeSelector":419,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-resolve-nested-selector":50}],314:[(e,t,r)=>{const s=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"),p="selector-max-universal",d=l(p,{expected:(e,t)=>`Expected "${e}" to have no more than ${t} universal ${1===t?"selector":"selectors"}`});function f(e){return(t,r)=>{function l(t,s){const i=t.reduce((e,t)=>("selector"===t.type&&l(t,s),"universal"===t.type&&(e+=1),e),0);"root"!==t.type&&"pseudo"!==t.type&&i>e&&o({ruleName:p,result:r,node:s,message:d.expected(t,e),word:t})}c(r,p,{actual:e,possible:s})&&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 s of t)for(const t of a(s,e))n(t,r,e,t=>l(t,e))})}}f.ruleName=p,f.messages=d,t.exports=f},{"../../utils/isNonNegativeInteger":400,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50,"postcss-selector-parser":53}],315:[(e,t,r)=>{const s=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}"`});function p(e){return(t,r)=>{if(!o(r,u,{actual:e,possible:[a,l]}))return;const n=l(e)?new RegExp(e):e;t.walkRules(t=>{if("rule"!==t.parent.type)return;if(!s(t))return;const o=t.selector;n.test(o)||i({result:r,ruleName:u,message:c.expected(o,e),node:t})})}}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/isStandardSyntaxRule":417,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],316:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d="selector-no-qualifying-type",f=c(d,{rejected:"Unexpected qualifying type selector"}),h=["#",".","["];function m(e,t){return(c,m)=>{p(m,d,{actual:e,possible:[!0,!1]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0})&&c.walkRules(e=>{if(i(e)&&!s(e)&&(r=e.selector,h.some(e=>r.includes(e))))for(const t of u(e.selector,e))n(t)&&a(t,m,e,c);function c(e){e.walkTags(e=>{if(1===e.parent.nodes.length)return;const r=(t=>{const r=[];let s=e;for(;(s=s.next())&&"combinator"!==s.type;)"id"!==s.type&&"class"!==s.type&&"attribute"!==s.type||r.push(s);return r})(),s=e.sourceIndex;for(const e of r)"id"!==e.type||o(t,"ignore","id")||p(s),"class"!==e.type||o(t,"ignore","class")||p(s),"attribute"!==e.type||o(t,"ignore","attribute")||p(s)})}function p(t){l({ruleName:d,result:m,node:e,message:f.rejected,index:t})}})};var r}m.ruleName=d,m.messages=f,t.exports=m},{"../../utils/isKeyframeRule":397,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-resolve-nested-selector":50}],317:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="selector-pseudo-class-allowed-list",f=a(d,{rejected:e=>`Unexpected pseudo-class "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkRules(t=>{if(!s(t))return;const a=t.selector;a.includes(":")&&n(a,r,t,s=>{s.walkPseudos(s=>{const n=s.value;if("::"===n.slice(0,2))return;const a=n.slice(1);i(u.unprefixed(a),e)||o({index:s.sourceIndex,message:f.rejected(a),node:t,result:r,ruleName:d})})})})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],318:[(e,t,r)=>{const s=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",p=l(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`});function d(e,t,r){return(t,l)=>{u(l,c,{actual:e,possible:["lower","upper"]})&&t.walkRules(t=>{if(!s(t))return;if(!t.selector.includes(":"))return;const u=o(t.raws.selector?t.raws.selector.raw:t.selector,l,t,s=>{s.walkPseudos(s=>{const o=s.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&&(r.fix?s.value=u:a({message:p.expected(o,u),node:t,index:s.sourceIndex,ruleName:c,result:l}))})});r.fix&&(t.raws.selector?t.raws.selector.raw=u:t.selector=u)})}}d.ruleName=c,d.messages=p,t.exports=d},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],319:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="selector-pseudo-class-disallowed-list",f=a(d,{rejected:e=>`Unexpected pseudo-class "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkRules(t=>{if(!s(t))return;const a=t.selector;a.includes(":")&&n(a,r,t,s=>{s.walkPseudos(s=>{const n=s.value;if("::"===n.slice(0,2))return;const a=n.slice(1);i(u.unprefixed(a),e)&&o({index:s.sourceIndex,message:f.rejected(a),node:t,result:r,ruleName:d})})})})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],320:[(e,t,r)=>{const s=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"),p=e("../../utils/report"),d=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),h=e("../../utils/vendor"),{isString:m}=e("../../utils/validateTypes"),g="selector-pseudo-class-no-unknown",y=d(g,{rejected:e=>`Unexpected unknown pseudo-class selector "${e}"`});function w(e,t){return(d,w)=>{f(w,g,{actual:e},{actual:t,possible:{ignorePseudoClasses:[m]},optional:!0})&&d.walk(e=>{let d=null;if("rule"===e.type){if(!o(e))return;d=e.selector}else if("atrule"===e.type&&"page"===e.name&&e.params){if(!n(e))return;d=e.params}d&&d.includes(":")&&c(d,w,r=e,e=>{e.walkPseudos(e=>{const n=e.value;if(!a(n))return;if(i(n))return;if("::"===n.slice(0,2))return;if(u(t,"ignorePseudoClasses",e.value.slice(1)))return;let o=null;const c=n.slice(1).toLowerCase();if("atrule"===r.type&&"page"===r.name){if(l.atRulePagePseudoClasses.has(c))return;o=s(r)+e.sourceIndex}else{if(h.prefix(c)||l.pseudoClasses.has(c)||l.pseudoElements.has(c))return;let t=e;do{if((t=t.prev())&&"::"===t.value.slice(0,2))break}while(t);if(t){const e=h.unprefixed(t.value.toLowerCase().slice(2));if(l.webkitProprietaryPseudoElements.has(e)&&l.webkitProprietaryPseudoClasses.has(c))return}o=e.sourceIndex}p({message:y.rejected(n),node:r,index:o,ruleName:g,result:w})})})})};var r}w.ruleName=g,w.messages=y,t.exports=w},{"../../reference/keywordSets":142,"../../utils/atRuleParamIndex":352,"../../utils/isCustomSelector":394,"../../utils/isStandardSyntaxAtRule":408,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],321:[(e,t,r)=>{const s=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 ")"'});function c(e,t,r){return(t,c)=>{a(c,l,{actual:e,possible:["always","never"]})&&t.walkRules(t=>{if(!s(t))return;if(!t.selector.includes("("))return;let a=!1;const f=t.raws.selector?t.raws.selector.raw:t.selector,h=i(f,c,t,t=>{t.walkPseudos(t=>{if(!t.length)return;const s=t.map(e=>String(e)).join(","),i=s.startsWith(" "),n=t.sourceIndex+(o=t,"value",o.raws&&o.raws.value||o.value).length+1;i&&"never"===e&&(r.fix?(a=!0,p(t,"")):m(u.rejectedOpening,n)),i||"always"!==e||(r.fix?(a=!0,p(t," ")):m(u.expectedOpening,n));const l=s.endsWith(" "),c=n+s.length-1;l&&"never"===e&&(r.fix?(a=!0,d(t,"")):m(u.rejectedClosing,c)),l||"always"!==e||(r.fix?(a=!0,d(t," ")):m(u.expectedClosing,c))})});function m(e,r){n({message:e,index:r,result:c,ruleName:l,node:t})}a&&(t.raws.selector?t.raws.selector.raw=h:t.selector=h)})};var o}function p(e,t){const r=e.first;"selector"===r.type?p(r,t):r.spaces.before=t}function d(e,t){const r=e.last;"selector"===r.type?d(r,t):r.spaces.after=t}c.ruleName=l,c.messages=u,t.exports=c},{"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],322:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="selector-pseudo-element-allowed-list",f=a(d,{rejected:e=>`Unexpected pseudo-element "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkRules(t=>{if(!s(t))return;const a=t.selector;a.includes("::")&&n(a,r,t,s=>{s.walkPseudos(s=>{const n=s.value;if(":"!==n[1])return;const a=n.slice(2);i(u.unprefixed(a),e)||o({index:s.sourceIndex,message:f.rejected(a),node:t,result:r,ruleName:d})})})})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],323:[(e,t,r)=>{const s=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",p=a(c,{expected:(e,t)=>`Expected "${e}" to be "${t}"`});function d(e,t,r){return(t,a)=>{u(a,c,{actual:e,possible:["lower","upper"]})&&t.walkRules(t=>{s(t)&&t.selector.includes(":")&&l(a,t,s=>{s.walkPseudos(s=>{const l=s.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&&(r.fix?s.value=u:o({message:p.expected(l,u),node:t,index:s.sourceIndex,ruleName:c,result:a}))})})})}}d.ruleName=c,d.messages=p,t.exports=d},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/transformSelector":439,"../../utils/validateOptions":442}],324:[(e,t,r)=>{const s=e("../../utils/isStandardSyntaxRule"),i=e("../../reference/keywordSets"),n=e("../../utils/report"),o=e("../../utils/ruleMessages"),a=e("style-search"),l=e("../../utils/validateOptions"),u="selector-pseudo-element-colon-notation",c=o(u,{expected:e=>`Expected ${e} colon pseudo-element notation`});function p(e,t,r){return(t,o)=>{l(o,u,{actual:e,possible:["single","double"]})&&t.walkRules(t=>{if(!s(t))return;const l=t.selector;if(!l.includes(":"))return;const p=[],d=[...i.levelOneAndTwoPseudoElements].map(e=>`:${e}`);if(a({source:l.toLowerCase(),target:d},s=>{const i=":"===l[s.startIndex-1];("single"!==e||i)&&("double"===e&&i||(r.fix?p.unshift({ruleNode:t,startIndex:s.startIndex}):n({message:c.expected(e),node:t,index:s.startIndex,result:o,ruleName:u})))}),p.length){const r="single"===e,s=r?1:0,i=r?"":":";for(const e of p)t.selector=t.selector.substring(0,e.startIndex-s)+i+t.selector.substring(e.startIndex)}})}}p.ruleName=u,p.messages=c,t.exports=p},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxRule":417,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"style-search":121}],325:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="selector-pseudo-element-disallowed-list",f=a(d,{rejected:e=>`Unexpected pseudo-element "${e}"`});function h(e){return(t,r)=>{l(r,d,{actual:e,possible:[p,c]})&&t.walkRules(t=>{if(!s(t))return;const a=t.selector;a.includes("::")&&n(a,r,t,s=>{s.walkPseudos(s=>{const n=s.value;if(":"!==n[1])return;const a=n.slice(2);i(u.unprefixed(a),e)&&o({index:s.sourceIndex,message:f.rejected(a),node:t,result:r,ruleName:d})})})})}}h.primaryOptionArray=!0,h.ruleName=d,h.messages=f,t.exports=h},{"../../utils/isStandardSyntaxRule":417,"../../utils/matchesStringOrRegExp":426,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],326:[(e,t,r)=>{const s=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"),p=e("../../utils/vendor"),{isString:d}=e("../../utils/validateTypes"),f="selector-pseudo-element-no-unknown",h=u(f,{rejected:e=>`Unexpected unknown pseudo-element selector "${e}"`});function m(e,t){return(r,u)=>{c(u,f,{actual:e},{actual:t,possible:{ignorePseudoElements:[d]},optional:!0})&&r.walkRules(e=>{if(!s(e))return;const r=e.selector;r.includes(":")&&a(r,u,e,r=>{r.walkPseudos(r=>{const s=r.value;if(!i(s))return;if("::"!==s.slice(0,2))return;if(o(t,"ignorePseudoElements",r.value.slice(2)))return;const a=s.slice(2);p.prefix(a)||n.pseudoElements.has(a.toLowerCase())||l({message:h.rejected(s),node:e,index:r.sourceIndex,ruleName:f,result:u})})})})}}m.ruleName=f,m.messages=h,t.exports=m},{"../../reference/keywordSets":142,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxSelector":418,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444}],327:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d=e("../../reference/keywordSets"),f="selector-type-case",h=u(f,{expected:(e,t)=>`Expected "${e}" to be "${t}"`});function m(e,t,r){return(u,m)=>{c(m,f,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[p]},optional:!0})&&u.walkRules(u=>{let c=u.raws.selector&&u.raws.selector.raw;const p=c||u.selector,g=u.selectors;i(u)&&(g.some(e=>s(e))||a(p,m,u,s=>{s.walkTags(s=>{if(!n(s))return;if(d.validMixedCaseSvgElements.has(s.value))return;if(o(t,"ignoreTypes",s.value))return;const i=s.sourceIndex,a=s.value,p="lower"===e?a.toLowerCase():a.toUpperCase();a!==p&&(r.fix?c?(c=c.slice(0,i)+p+c.slice(i+a.length),u.raws.selector.raw=c):u.selector=u.selector.slice(0,i)+p+u.selector.slice(i+a.length):l({message:h.expected(a,p),node:u,index:i,ruleName:f,result:m}))})}))})}}m.ruleName=f,m.messages=h,t.exports=m},{"../../reference/keywordSets":142,"../../utils/isKeyframeSelector":398,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxTypeSelector":419,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],328:[(e,t,r)=>{const s=e("html-tags"),i=e("../../utils/isCustomElement"),n=e("../../utils/isKeyframeSelector"),o=e("../../utils/isStandardSyntaxRule"),a=e("../../utils/isStandardSyntaxTypeSelector"),l=e("../../reference/keywordSets"),u=e("mathml-tag-names"),c=e("../../utils/optionsMatches"),p=e("../../utils/parseSelector"),d=e("../../utils/report"),f=e("../../utils/ruleMessages"),h=e("svg-tags"),m=e("../../utils/validateOptions"),{isRegExp:g,isString:y}=e("../../utils/validateTypes"),w="selector-type-no-unknown",b=f(w,{rejected:e=>`Unexpected unknown type selector "${e}"`});function x(e,t){return(r,f)=>{m(f,w,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[y,g],ignoreTypes:[y,g]},optional:!0})&&r.walkRules(e=>{const r=e.selector,m=e.selectors;o(e)&&(m.some(e=>n(e))||p(r,f,e,r=>{r.walkTags(r=>{if(!a(r))return;if(c(t,"ignore","custom-elements")&&i(r.value))return;if(c(t,"ignore","default-namespace")&&"string"!=typeof r.namespace)return;if(c(t,"ignoreNamespaces",r.namespace))return;if(c(t,"ignoreTypes",r.value))return;const n=r.value,o=n.toLowerCase();s.includes(o)||h.includes(n)||l.nonStandardHtmlTags.has(o)||u.includes(o)||d({message:b.rejected(n),node:e,index:r.sourceIndex,ruleName:w,result:f})})}))})}}x.ruleName=w,x.messages=b,t.exports=x},{"../../reference/keywordSets":142,"../../utils/isCustomElement":391,"../../utils/isKeyframeSelector":398,"../../utils/isStandardSyntaxRule":417,"../../utils/isStandardSyntaxTypeSelector":419,"../../utils/optionsMatches":429,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"html-tags":28,"mathml-tag-names":40,"svg-tags":448}],329:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxRule"),i=e("../utils/parseSelector"),n=e("../utils/report"),o=e("style-search");t.exports=(e=>{var t,r,a,l,u;e.root.walkRules(c=>{if(!s(c))return;if(!c.selector.includes("[")||!c.selector.includes("="))return;let p=!1;const d=c.raws.selector?c.raws.selector.raw:c.selector,f=i(d,e.result,c,s=>{s.walkAttributes(s=>{const i=s.operator;if(!i)return;const d=s.toString();o({source:d,target:i},o=>{const f=e.checkBeforeOperator?o.startIndex:o.endIndex-1;t=d,r=f,a=c,l=s,u=i,e.locationChecker({source:t,index:r,err(t){e.fix&&e.fix(l)?p=!0:n({message:t.replace(e.checkBeforeOperator?u[0]:u[u.length-1],u),node:a,index:l.sourceIndex+r,result:e.result,ruleName:e.checkedRuleName})}})})})});p&&(c.raws.selector?c.raws.selector.raw=f:c.selector=f)})})},{"../utils/isStandardSyntaxRule":417,"../utils/parseSelector":430,"../utils/report":435,"style-search":121}],330:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxCombinator"),i=e("../utils/isStandardSyntaxRule"),n=e("../utils/parseSelector"),o=e("../utils/report");t.exports=(e=>{let t;var r,a,l,u,c;e.root.walkRules(p=>{if(!i(p))return;t=!1;const d=p.raws.selector?p.raws.selector.raw:p.selector,f=n(d,e.result,p,i=>{i.walkCombinators(i=>{if(!s(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,h=i.value.length>1&&"before"===e.locationType?f:f+i.value.length-1;r=d,a=i,l=h,u=p,c=f,e.locationChecker({source:r,index:l,errTarget:a.value,err(r){e.fix&&e.fix(a)?t=!0:o({message:r,node:u,index:c,result:e.result,ruleName:e.checkedRuleName})}})})});t&&(p.raws.selector?p.raws.selector.raw=f:p.selector=f)})})},{"../utils/isStandardSyntaxCombinator":410,"../utils/isStandardSyntaxRule":417,"../utils/parseSelector":430,"../utils/report":435}],331:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxRule"),i=e("../utils/report"),n=e("style-search");t.exports=(e=>{var t,r,o;e.root.walkRules(a=>{if(!s(a))return;const l=a.raws.selector?a.raws.selector.raw:a.selector;n({source:l,target:",",functionArguments:"skip"},s=>{t=l,r=s.startIndex,o=a,e.locationChecker({source:t,index:r,err(t){e.fix&&e.fix(o,r)||i({message:t,node:o,index:r,result:e.result,ruleName:e.checkedRuleName})}})})})})},{"../utils/isStandardSyntaxRule":417,"../utils/report":435,"style-search":121}],332:[(e,t,r)=>{const s=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",p=o(c,{rejected:(e,t)=>`Unexpected longhand value '${e}' instead of '${t}'`}),d=new Set(["margin","padding","border-color","border-radius","border-style","border-width","grid-gap"]),f=["+","*","/","(",")","$","@","--","var("];function h(e,t,r){return(t,m)=>{a(m,c,{actual:e})&&t.walkDecls(e=>{if(!s(e)||!i(e.prop))return;const t=e.prop,a=e.value,g=u.unprefixed(t.toLowerCase());if(h=a,f.some(e=>h.includes(e))||(o=g,!d.has(o)))return;const y=[];if(l(a).walk(e=>{"word"===e.type&&y.push(l.stringify(e))}),y.length<=1||y.length>4)return;const w=((e,t,r,s)=>{const i=e.toLowerCase(),n=t.toLowerCase();return((e,t,r,s)=>e===t&&!0)(i,n)?[e]:(a=n,void 0,(o=i)===void 0&&void 0===a||void 0===o&&o!==a?[e,t]:void 0===n?[e,t,r]:[e,t,r,void 0]);var o,a})(...y).filter(Boolean).join(" "),b=y.join(" ");w.toLowerCase()!==b.toLowerCase()&&(r.fix?e.value=e.value.replace(a,w):n({message:p.rejected(a,w),node:e,result:m,ruleName:c}))})};var o,h}h.ruleName=c,h.messages=p,t.exports=h},{"../../utils/isStandardSyntaxDeclaration":412,"../../utils/isStandardSyntaxProperty":416,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/vendor":444,"postcss-value-parser":83}],333:[(e,t,r)=>{const s=e("../../utils/atRuleParamIndex"),i=e("../../utils/declarationValueIndex"),n=e("../../utils/isStandardSyntaxSelector"),o=e("../../utils/parseSelector"),a=e("../../utils/report"),l=e("../../utils/ruleMessages"),u=e("../../utils/validateOptions"),c=e("postcss-value-parser"),p="string-no-newline",d=/\r?\n/,f=l(p,{rejected:"Unexpected newline in string"});function h(e){return(r,l)=>{function h(e,t,r){d.test(t)&&c(t).walk(t=>{if("string"!==t.type)return;const s=d.exec(t.value);if(!s)return;const i=[t.quote,s.input.slice(0,s.index)].reduce((e,t)=>e+t.length,t.sourceIndex);a({message:f.rejected,node:e,index:r(e)+i,result:l,ruleName:p})})}u(l,p,{actual:e})&&r.walk(e=>{switch(e.type){case"atrule":h(e,e.params,s);break;case"decl":h(e,e.value,i);break;case"rule":t=e,d.test(t.selector)&&n(t.selector)&&o(t.selector,l,t,e=>{e.walkAttributes(e=>{const r=d.exec(e.value);if(!r)return;const s=[e.attribute,e.operator,r.input.slice(0,r.index)].reduce((e,t)=>e+t.length,e.sourceIndex+1);a({message:f.rejected,node:t,index:s,result:l,ruleName:p})})})}})};var t}h.ruleName=p,h.messages=f,t.exports=h},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxSelector":418,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],334:[(e,t,r)=>{const s=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:p}=e("../../utils/validateTypes"),d="string-quotes",f=l(d,{expected:e=>`Expected ${e} quotes`}),h="'",m='"';function g(e,t,r){const l="single"===e?h:m,g="single"===e?m:h;return(h,m)=>{if(!u(m,d,{actual:e,possible:["single","double"]},{actual:t,possible:{avoidEscape:p},optional:!0}))return;const w=!t||void 0===t.avoidEscape||t.avoidEscape;function b(t,s,i){const n=[];if(s.includes(g)&&("atrule"!==t.type||"charset"!==t.name)){c(s).walk(s=>{if("string"===s.type&&s.quote===g){const o=s.value.includes(l);if(w&&o)return;const u=s.sourceIndex;if(r.fix&&!o){const e=u+s.value.length+g.length;n.push(u,e)}else a({message:f.expected(e),node:t,index:i(t)+u,result:m,ruleName:d})}});for(const e of n)"atrule"===t.type?t.params=y(t.params,e,l):t.value=y(t.value,e,l)}}h.walk(t=>{switch(t.type){case"atrule":b(t,t.params,s);break;case"decl":b(t,t.value,i);break;case"rule":(t=>{if(!n(t))return;if(!t.selector.includes("[")||!t.selector.includes("="))return;const s=[];o(t.selector,m,t,s=>{let i=!1;s.walkAttributes(s=>{if(s.quoted){if(s.quoteMark===l&&w){const n=s.value.includes(l);if(s.value.includes(g))return;n&&(r.fix?(i=!0,s.quoteMark=g):a({message:f.expected("single"===e?"double":e),node:t,index:s.sourceIndex+s.offsetOf("value"),result:m,ruleName:d}))}if(s.quoteMark===g){if(w){const n=s.value.includes(l);if(s.value.includes(g))return void(r.fix?(i=!0,s.quoteMark=l):a({message:f.expected(e),node:t,index:s.sourceIndex+s.offsetOf("value"),result:m,ruleName:d}));if(n)return}r.fix?(i=!0,s.quoteMark=l):a({message:f.expected(e),node:t,index:s.sourceIndex+s.offsetOf("value"),result:m,ruleName:d})}}}),i&&(t.selector=s.toString())});for(const e of s)t.selector=y(t.selector,e,l)})(t)}})}}function y(e,t,r){return e.substring(0,t)+r+e.substring(t+r.length)}g.ruleName=d,g.messages=f,t.exports=g},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/isStandardSyntaxRule":417,"../../utils/parseSelector":430,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],335:[(e,t,r)=>{const s=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"),p=e("../../utils/vendor"),{isNumber:d}=e("../../utils/validateTypes"),f="time-min-milliseconds",h=l(f,{expected:e=>`Expected a minimum of ${e} milliseconds`}),m=new Set(["animation-delay","transition-delay"]);function g(e,t){return(r,l)=>{function g(e){for(const t of e)if(c.unit(t))return t}function y(t){const r=c.unit(t);return!r||r.number<=0||!("ms"===r.unit.toLowerCase()&&r.number<e)&&!("s"===r.unit.toLowerCase()&&1e3*r.number<e)}function w(t,r=0){a({result:l,ruleName:f,message:h.expected(e),index:s(t)+r,node:t})}u(l,f,{actual:e,possible:d},{actual:t,possible:{ignore:["delay"]},optional:!0})&&r.walkDecls(e=>{const r=p.unprefixed(e.prop.toLowerCase());if(!i.longhandTimeProperties.has(r)||(e=>!(!n(t,"ignore","delay")||!m.has(e)))(r)||y(e.value)||w(e),i.shorthandTimeProperties.has(r)){const r=o.list.comma(e.value);for(const s of r){const r=o.list.space(s);if(n(t,"ignore","delay")){const t=g(r);t&&!y(t)&&w(e,e.value.indexOf(t))}else for(const t of r)y(t)||w(e,e.value.indexOf(t))}}})}}g.ruleName=f,g.messages=h,t.exports=g},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,postcss:103,"postcss-value-parser":83}],336:[(e,t,r)=>{const s=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"});function l(e){return(t,r)=>{if(!n(r,o,{actual:e,possible:["always","never"]})||t.source.inline||"object-literal"===t.source.lang||void 0!==t.document)return;const{hasBOM:i}=t.source.input;"always"!==e||i||s({result:r,ruleName:o,message:a.expected,root:t,line:1}),"never"===e&&i&&s({result:r,ruleName:o,message:a.rejected,root:t,line:1})}}l.ruleName=o,l.messages=a,t.exports=l},{"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442}],337:[(e,t,r)=>{const s=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"),p=e("postcss-value-parser"),{isRegExp:d,isString:f}=e("../../utils/validateTypes"),h="unit-allowed-list",m=l(h,{rejected:e=>`Unexpected unit "${e}"`});function g(e,t){const r=[e].flat();return(e,l)=>{function g(e,s,i){s=s.replace(/\*/g,","),p(s).walk(s=>{if("function"===s.type&&"url"===s.value.toLowerCase())return!1;const u=n(s);!u||u&&r.includes(u.toLowerCase())||t&&o(t.ignoreProperties,u.toLowerCase(),e.prop)||a({index:i(e)+s.sourceIndex,message:m.rejected(u),node:e,result:l,ruleName:h})})}c(l,h,{actual:r,possible:[f]},{optional:!0,actual:t,possible:{ignoreProperties:u([f,d])}})&&(e.walkAtRules(/^media$/i,e=>g(e,e.params,s)),e.walkDecls(e=>g(e,e.value,i)))}}g.primaryOptionArray=!0,g.ruleName=h,g.messages=m,t.exports=g},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateObjectWithArrayProps":441,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],338:[(e,r,s)=>{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"),p="unit-case",d=l(p,{expected:(e,t)=>`Expected "${e}" to be "${t}"`});function f(e,r,s){return(r,l)=>{function f(r,i,n){const u=[];function f(t){const s=o(t);if(!s)return!1;const i="lower"===e?s.toLowerCase():s.toUpperCase();return s!==i&&(u.push({index:n(r)+t.sourceIndex,message:d.expected(s,i)}),!0)}const h=c(i).walk(r=>{let i=!1;const n=r.value;if("function"===r.type&&"url"===n.toLowerCase())return!1;n.includes("*")&&n.split("*").some(e=>f(t({},r,{sourceIndex:n.indexOf(e)+e.length+1,value:e}))),(i=f(r))&&s.fix&&(r.value="lower"===e?n.toLowerCase():n.toUpperCase())});if(u.length)if(s.fix)"media"===r.name?r.params=h.toString():r.value=h.toString();else for(const e of u)a({index:e.index,message:e.message,node:r,result:l,ruleName:p})}u(l,p,{actual:e,possible:["lower","upper"]})&&(r.walkAtRules(e=>{(/^media$/i.test(e.name)||e.variable)&&f(e,e.params,i)}),r.walkDecls(e=>f(e,e.value,n)))}}f.ruleName=p,f.messages=d,r.exports=f},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"postcss-value-parser":83}],339:[(e,t,r)=>{const s=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"),p=e("../../utils/validateOptions"),d=e("postcss-value-parser"),{isRegExp:f,isString:h}=e("../../utils/validateTypes"),m="unit-disallowed-list",g=u(m,{rejected:e=>`Unexpected unit "${e}"`}),y=e=>{const t=e.value.toLowerCase();return/((?:-?\w*)*)/.exec(t)[1]};function w(e,t){const r=[e].flat();return(e,S)=>{function O(e,t,s,i,o){const u=n(s);!u||u&&!r.includes(u.toLowerCase())||a(o,u.toLowerCase(),i)||l({index:t+s.sourceIndex,message:g.rejected(u),node:e,result:S,ruleName:m})}p(S,m,{actual:r,possible:[h]},{optional:!0,actual:t,possible:{ignoreProperties:c([h,f]),ignoreMediaFeatureNames:c([h,f])}})&&(e.walkAtRules(/^media$/i,e=>(x=e,v=e.params,k=s,void o(x.params).walk(/^media-feature$/i,e=>{const r=y(e),s=e.parent.value;d(v).walk(e=>{"word"===e.type&&s.includes(e.value)&&O(x,k(x),e,r,t?t.ignoreMediaFeatureNames:{})})}))),e.walkDecls(e=>(u=e,w=e.value,b=i,w=w.replace(/\*/g,","),void d(w).walk(e=>{if("function"===e.type&&"url"===e.value.toLowerCase())return!1;O(u,b(u),e,u.prop,t?t.ignoreProperties:{})}))))};var u,w,b,x,v,k}w.primaryOptionArray=!0,w.ruleName=m,w.messages=g,t.exports=w},{"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateObjectWithArrayProps":441,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-media-query-parser":46,"postcss-value-parser":83}],340:[(e,t,r)=>{const s=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"),p=e("../../utils/report"),d=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),h=e("postcss-value-parser"),m=e("../../utils/vendor"),{isRegExp:g,isString:y}=e("../../utils/validateTypes"),w="unit-no-unknown",b=d(w,{rejected:e=>`Unexpected unknown unit "${e}"`});function x(e,t){return(r,d)=>{function x(e,r,s){r=r.replace(/\*/g,",");const i=h(r);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,r,s)=>{const i=s[s.length-1];if(e.value.toLowerCase().includes("resolution")&&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(r)){const e=i.nodes.find(e=>"image-set"===m.unprefixed(e.value));if(e.nodes[e.nodes.length-1].sourceIndex>=o.sourceIndex)return}}}p({index:s(e)+o.sourceIndex,message:b.rejected(a),node:e,result:d,ruleName:w})}})}f(d,w,{actual:e},{actual:t,possible:{ignoreUnits:[y,g],ignoreFunctions:[y,g]},optional:!0})&&(r.walkAtRules(/^media$/i,e=>{o(e)&&x(e,e.params,s)}),r.walkDecls(e=>{a(e)&&x(e,e.value,i)}))}}x.ruleName=w,x.messages=b,t.exports=x},{"../../reference/keywordSets":142,"../../utils/atRuleParamIndex":352,"../../utils/declarationValueIndex":359,"../../utils/getUnitFromValueNode":374,"../../utils/isStandardSyntaxAtRule":408,"../../utils/isStandardSyntaxDeclaration":412,"../../utils/optionsMatches":429,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"../../utils/vendor":444,"postcss-media-query-parser":46,"postcss-value-parser":83}],341:[(e,t,r)=>{const s=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/matchesStringOrRegExp"),p=e("../../utils/report"),d=e("../../utils/ruleMessages"),f=e("../../utils/validateOptions"),h=e("postcss-value-parser"),{isRegExp:m,isString:g}=e("../../utils/validateTypes"),y="value-keyword-case",w=d(y,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),b=new Set(["+","-","/","*","%"]),x=new Set(["grid-row","grid-row-start","grid-row-end"]),v=new Set(["grid-column","grid-column-start","grid-column-end"]),k=new Map;for(const e of u.camelCaseKeywords)k.set(e.toLowerCase(),e);function S(e,t,r){return(d,S)=>{f(S,y,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[g,m],ignoreKeywords:[g,m],ignoreFunctions:[g,m]},optional:!0})&&d.walkDecls(d=>{const f=d.prop,m=d.prop.toLowerCase(),g=d.value,O=h(i(d));let C=!1;O.walk(i=>{const h=i.value.toLowerCase();if(u.systemColors.has(h))return;if("function"===i.type&&("url"===h||"var"===h||"counter"===h||"counters"===h||"attr"===h))return!1;const O=t&&t.ignoreFunctions||[];if("function"===i.type&&O.length>0&&c(h,O))return!1;const A=i.value;if("word"!==i.type||!l(i.value)||g.includes("#")||b.has(A)||n(i))return;if("animation"===m&&!u.animationShorthandKeywords.has(h)&&!u.animationNameKeywords.has(h))return;if("animation-name"===m&&!u.animationNameKeywords.has(h))return;if("font"===m&&!u.fontShorthandKeywords.has(h)&&!u.fontFamilyKeywords.has(h))return;if("font-family"===m&&!u.fontFamilyKeywords.has(h))return;if("counter-increment"===m&&o(h))return;if("counter-reset"===m&&a(h))return;if(x.has(m)&&!u.gridRowKeywords.has(h))return;if(v.has(m)&&!u.gridColumnKeywords.has(h))return;if("grid-area"===m&&!u.gridAreaKeywords.has(h))return;if("list-style"===m&&!u.listStyleShorthandKeywords.has(h)&&!u.listStyleTypeKeywords.has(h))return;if("list-style-type"===m&&!u.listStyleTypeKeywords.has(h))return;const E=t&&t.ignoreKeywords||[],M=t&&t.ignoreProperties||[];if(E.length>0&&c(A,E))return;if(M.length>0&&c(f,M))return;const R=A.toLocaleLowerCase();let N=null;return A!==(N="lower"===e&&k.has(R)?k.get(R):"lower"===e?A.toLowerCase():A.toUpperCase())?r.fix?(C=!0,void(i.value=N)):void p({message:w.expected(A,N),node:d,index:s(d)+i.sourceIndex,result:S,ruleName:y}):void 0}),r.fix&&C&&(d.value=O.toString())})}}S.ruleName=y,S.messages=w,t.exports=S},{"../../reference/keywordSets":142,"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/getUnitFromValueNode":374,"../../utils/isCounterIncrementCustomIdentValue":389,"../../utils/isCounterResetCustomIdentValue":390,"../../utils/isStandardSyntaxValue":421,"../../utils/matchesStringOrRegExp":426,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/validateTypes":443,"postcss-value-parser":83}],342:[(e,t,r)=>{const s=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",p=n(c,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'});function d(e,t,r){const n=u("newline",e,p);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let p;if(l({root:t,result:u,locationChecker:n.afterOneOnly,checkedRuleName:c,fix:r.fix?(e,t)=>{if(t<=s(e))return!1;const r=(p=p||new Map).get(e)||[];return r.push(t),p.set(e,r),!0}:null,determineIndex(e,t){const r=e.substr(t.endIndex,e.length-t.endIndex);return!/^[ \t]*\/\//.test(r)&&(/^[ \t]*\/\*/.test(r)?e.indexOf("*/",t.endIndex)+1:t.startIndex)}}),p)for(const[t,n]of p.entries())for(const a of n.sort((e,t)=>e-t).reverse()){const n=i(t),l=a-s(t),u=n.slice(0,l+1);let c=n.slice(l+1);e.startsWith("always")?c=r.newline+c:e.startsWith("never-multi-line")&&(c=c.replace(/^\s*/,"")),o(t,u+c)}}}d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../valueListCommaWhitespaceChecker":347}],343:[(e,t,r)=>{const s=e("../../utils/ruleMessages"),i=e("../../utils/validateOptions"),n=e("../valueListCommaWhitespaceChecker"),o=e("../../utils/whitespaceChecker"),a="value-list-comma-newline-before",l=s(a,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'});function u(e){const t=o("newline",e,l);return(r,s)=>{i(s,a,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&n({root:r,result:s,locationChecker:t.beforeAllowingIndentation,checkedRuleName:a})}}u.ruleName=a,u.messages=l,t.exports=u},{"../../utils/ruleMessages":436,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../valueListCommaWhitespaceChecker":347}],344:[(e,t,r)=>{const s=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",p=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'});function d(e,t,r){const n=u("space",e,p);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let p;if(l({root:t,result:u,locationChecker:n.after,checkedRuleName:c,fix:r.fix?(e,t)=>{if(t<=s(e))return!1;const r=(p=p||new Map).get(e)||[];return r.push(t),p.set(e,r),!0}:null}),p)for(const[t,r]of p.entries())for(const n of r.sort((e,t)=>t-e)){const r=i(t),a=n-s(t),l=r.slice(0,a+1);let u=r.slice(a+1);e.startsWith("always")?u=u.replace(/^\s*/," "):e.startsWith("never")&&(u=u.replace(/^\s*/,"")),o(t,l+u)}}}d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../valueListCommaWhitespaceChecker":347}],345:[(e,t,r)=>{const s=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",p=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'});function d(e,t,r){const n=u("space",e,p);return(t,u)=>{if(!a(u,c,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let p;if(l({root:t,result:u,locationChecker:n.before,checkedRuleName:c,fix:r.fix?(e,t)=>{if(t<=s(e))return!1;const r=(p=p||new Map).get(e)||[];return r.push(t),p.set(e,r),!0}:null}),p)for(const[t,r]of p.entries())for(const n of r.sort((e,t)=>t-e)){const r=i(t),a=n-s(t);let l=r.slice(0,a);const u=r.slice(a);e.startsWith("always")?l=l.replace(/\s*$/," "):e.startsWith("never")&&(l=l.replace(/\s*$/,"")),o(t,l+u)}}}d.ruleName=c,d.messages=p,t.exports=d},{"../../utils/declarationValueIndex":359,"../../utils/getDeclarationValue":366,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/whitespaceChecker":445,"../valueListCommaWhitespaceChecker":347}],346:[(e,t,r)=>{const s=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"}`});function p(e,t,r){const n=e+1;return(t,p)=>{if(!a(p,u,{actual:e,possible:l}))return;const d=new RegExp(`(?:\r\n){${n+1},}`),f=new RegExp(`\n{${n+1},}`),h=r.fix?"\n".repeat(n):"",m=r.fix?"\r\n".repeat(n):"";t.walkDecls(t=>{const n=s(t);if(r.fix){const e=n.replace(new RegExp(f,"gm"),h).replace(new RegExp(d,"gm"),m);o(t,e)}else(f.test(n)||d.test(n))&&i({message:c.expected(e),node:t,index:0,result:p,ruleName:u})})}}p.ruleName=u,p.messages=c,t.exports=p},{"../../utils/getDeclarationValue":366,"../../utils/report":435,"../../utils/ruleMessages":436,"../../utils/setDeclarationValue":438,"../../utils/validateOptions":442,"../../utils/validateTypes":443}],347:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxDeclaration"),i=e("../utils/isStandardSyntaxProperty"),n=e("../utils/report"),o=e("style-search");t.exports=(e=>{var t,r,a;e.root.walkDecls(l=>{if(!s(l)||!i(l.prop))return;const u=l.toString();o({source:u,target:",",functionArguments:"skip"},s=>{const i=e.determineIndex?e.determineIndex(u,s):s.startIndex;!1!==i&&(t=u,r=i,a=l,e.locationChecker({source:t,index:r,err(t){e.fix&&e.fix(a,r)||n({message:t,node:a,index:r,result:e.result,ruleName:e.checkedRuleName})}}))})})})},{"../utils/isStandardSyntaxDeclaration":412,"../utils/isStandardSyntaxProperty":416,"../utils/report":435,"style-search":121}],348:[function(e,t,r){(function(r){(()=>{const s=e("./createStylelint"),i=e("./createStylelintResult"),n=e("./formatters"),o=(e("./utils/getFileIgnorer"),e("./utils/getFormatterOptionsText")),a=e("./prepareReturnValue");t.exports=(async({allowEmptyInput:e=!1,cache:t=!1,cacheLocation:l,code:u,codeFilename:c,config:p,configBasedir:d,configFile:f,customSyntax:h,cwd:m=r.cwd(),disableDefaultIgnores:g,files:y,fix:w,formatter:b,globbyOptions:x,ignoreDisables:v,ignorePath:k,ignorePattern:S,maxWarnings:O,quiet:C,reportDescriptionlessDisables:A,reportInvalidScopeDisables:E,reportNeedlessDisables:M,syntax:R})=>{Date.now();const N="string"==typeof u;if(!y&&!N||y&&(u||N))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let I;try{I=(e=>{let t;if("string"==typeof e){if(void 0===(t=n[e]))throw new Error(`You must use a valid formatter option: ${o()} or a function`)}else t="function"==typeof e?e:n.json;return t})(b)}catch(e){return Promise.reject(e)}const P=s({config:p,configFile:f,configBasedir:d,cwd:m,ignoreDisables:v,ignorePath:k,reportNeedlessDisables:M,reportInvalidScopeDisables:E,reportDescriptionlessDisables:A,syntax:R,customSyntax:h,fix:w,quiet:C});if(!y){const e=c;let t;try{const r=await P._lintSource({code:u,codeFilename:e});t=await P._createStylelintResult(r,e)}catch(e){t=await((e,t,r)=>{if("CssSyntaxError"===t.name)return i(e,void 0,void 0,t);throw t})(P,e)}const r=t._postcssResult,s=a([t],O,I,m);return w&&r&&!r.stylelint.ignored&&!r.stylelint.ruleDisableFix&&(s.output=!r.stylelint.disableWritingFix&&r.opts?r.root.toString(r.opts.syntax):u),s}})}).call(this)}).call(this,e("_process"))},{"./createStylelint":125,"./createStylelintResult":126,"./formatters":129,"./prepareReturnValue":141,"./utils/getFileIgnorer":367,"./utils/getFormatterOptionsText":368,_process:115}],349:[(e,t,r)=>{t.exports=((e,t)=>{const{raws:r}=e;if("string"!=typeof r.after)return e;const s=r.after.split(";"),i=s[s.length-1]||"";return/\r?\n/.test(i)?r.after=r.after.replace(/(\r?\n)/,`${t}$1`):r.after+=t.repeat(2),e})},{}],350:[(e,t,r)=>{t.exports=((e,t)=>{const{raws:r}=e;return"string"!=typeof r.before?e:(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before,e)})},{}],351:[(e,t,r)=>{t.exports=((e,t)=>!(!Array.isArray(e)||!Array.isArray(t))&&e.length===t.length&&e.every((e,r)=>e===t[r]))},{}],352:[(e,t,r)=>{t.exports=(e=>{let t=1+e.name.length;return e.raws.afterName&&(t+=e.raws.afterName.length),t})},{}],353:[(e,t,r)=>{const{isAtRule:s,isRule:i}=e("./typeGuards");t.exports=((e,{noRawBefore:t}={noRawBefore:!1})=>{let r="";const n=e.raws.before||"";if(t||(r+=n),i(e))r+=e.selector;else{if(!s(e))return"";r+=`@${e.name}${e.raws.afterName||""}${e.params}`}return r+(e.raws.between||"")})},{"./typeGuards":440}],354:[(e,t,r)=>{const s=e("./beforeBlockString"),i=e("./hasBlock"),n=e("./rawNodeString");t.exports=(e=>i(e)?n(e).slice(s(e).length):"")},{"./beforeBlockString":353,"./hasBlock":375,"./rawNodeString":432}],355:[(e,t,r)=>{t.exports=((e,t=" ")=>e.replace(/[#@{}]+/g,t))},{}],356:[(e,t,r)=>{const s=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");if(!Object.keys(n).includes(e.ruleName))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 r=s(e.ruleSettings,e.ruleName);if(!r)return;const o=new i;n[e.ruleName](r[0],r[1],{})(e.root,o);for(const e of o.warnings())t(e)})},{"../normalizeRuleSettings":139,"../rules":237,"postcss/lib/result":106}],357:[(e,t,r)=>{t.exports=(e=>{const t=new Error(e);return t.code=78,t})},{}],358:[(e,t,r)=>{const{isString:s}=e("./validateTypes");function i(e,t){return!!t&&!!s(t)&&(!t.startsWith("/")||!t.endsWith("/"))&&!!e.includes(t)&&{match:e,pattern:t}}t.exports=((e,t)=>{if(!Array.isArray(t))return i(e,t);for(const r of t){const t=i(e,r);if(t)return t}return!1})},{"./validateTypes":443}],359:[(e,t,r)=>{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)})},{}],360:[(e,t,r)=>{const{isRoot:s,isAtRule:i,isRule:n}=e("./typeGuards");t.exports=((e,t)=>{!function e(r){var o;if((n(o=r)||i(o)||s(o))&&r.nodes&&r.nodes.length){const s=[];for(const t of r.nodes)"decl"===t.type&&s.push(t),e(t);s.length&&t(s.forEach.bind(s))}}(e)})},{"./typeGuards":440}],361:[(e,t,r)=>{const s=e("./getUnitFromValueNode"),i=e("./isStandardSyntaxValue"),n=e("./isVariable"),o=e("../reference/keywordSets"),a=e("postcss-value-parser");t.exports=(e=>{const t=[],r=a(e);return 1===r.nodes.length&&o.basicKeywords.has(r.nodes[0].value.toLowerCase())?[r.nodes[0]]:(r.walk(e=>{if("function"===e.type)return!1;if("word"!==e.type)return;const r=e.value.toLowerCase();if(!i(r))return;if(n(r))return;if(o.animationShorthandKeywords.has(r))return;const a=s(e);a||""===a||t.push(e)}),t)})},{"../reference/keywordSets":142,"./getUnitFromValueNode":374,"./isStandardSyntaxValue":421,"./isVariable":424,"postcss-value-parser":83}],362:[(e,t,r)=>{const{isAtRule:s,isRule:i}=e("./typeGuards");t.exports=function e(t){const r=t.parent;return r?s(r)?r:i(r)?e(r):null:null}},{"./typeGuards":440}],363:[(e,t,r)=>{const s=e("./isNumbery"),i=e("./isStandardSyntaxValue"),n=e("./isValidFontSize"),o=e("./isVariable"),a=e("../reference/keywordSets"),l=e("postcss-value-parser"),u=new Set(["word","string","space","div"]);t.exports=(e=>{const t=[],r=l(e);if(1===r.nodes.length&&a.basicKeywords.has(r.nodes[0].value.toLowerCase()))return[r.nodes[0]];let c=!1,p=null;var d,f,h;return r.walk((e,r,l)=>{if("function"===e.type)return!1;if(!u.has(e.type))return;const m=e.value.toLowerCase();if(!i(m))return;if(o(m))return;if(a.fontShorthandKeywords.has(m)&&!a.fontFamilyKeywords.has(m))return;if(n(e.value))return;if(l[r-1]&&"/"===l[r-1].value&&l[r-2]&&n(l[r-2].value))return;if(s(m))return;if(("space"===e.type||"div"===e.type&&","!==e.value)&&0!==t.length)return c=!0,void(p=e.value);if("space"===e.type||"div"===e.type)return;const g=e;c?(d=t[t.length-1],f=e,h=p,d.value=d.value+h+f.value,c=!1,p=null):t.push(g)}),t})},{"../reference/keywordSets":142,"./isNumbery":401,"./isStandardSyntaxValue":421,"./isValidFontSize":422,"./isVariable":424,"postcss-value-parser":83}],364:[(e,t,r)=>{const s=e("balanced-match"),i=e("style-search");t.exports=((e,t,r)=>{i({source:e,target:t,functionNames:"check"},t=>{if("("!==e[t.endIndex])return;const i=s("(",")",e.substr(t.startIndex));if(!i)throw new Error(`No parens match: "${e}"`);r(i.body,t.endIndex+1)})})},{"balanced-match":447,"style-search":121}],365:[(e,t,r)=>{t.exports=(e=>{const t=e.raws;return t.params&&t.params.raw||e.params})},{}],366:[(e,t,r)=>{t.exports=(e=>{const t=e.raws;return t.value&&t.value.raw||e.value})},{}],367:[(e,t,r)=>{const s=e("fs"),i=e("path"),{default:n}=e("ignore"),o=e("./isPathNotFoundError");t.exports=(e=>{const t=e.ignorePath||".stylelintignore",r=i.isAbsolute(t)?t:i.resolve(e.cwd,t);let a="";try{a=s.readFileSync(r,"utf8")}catch(e){if(!o(e))throw e}return n().add(a).add(e.ignorePattern||[])})},{"./isPathNotFoundError":403,fs:5,ignore:30,path:44}],368:[(e,t,r)=>{const s=e("../formatters");t.exports=((e={})=>{let t=Object.keys(s).map(e=>`"${e}"`).join(", ");return e.useOr&&(t=t.replace(/, ([a-z"]+)$/u," or $1")),t})},{"../formatters":129}],369:[(e,t,r)=>{function s(e){return e&&e.source&&e.source.start&&e.source.start.line}t.exports=function e(t){if(void 0===t)return;const r=t.next();return!r||"comment"!==r.type||s(t)!==s(r)&&s(r)!==s(r.next())?r:e(r)}},{}],370:[(e,t,r)=>{const s=e("os");t.exports=(()=>s.EOL)},{os:43}],371:[(e,t,r)=>{function s(e){return e.source&&e.source.start&&e.source.start.line}t.exports=function e(t){if(void 0===t)return;const r=t.prev();if(!r||"comment"!==r.type)return r;if(s(t)===s(r))return e(r);const i=r.prev();return i&&s(r)===s(i)?e(r):r}},{}],372:[(e,t,r)=>{t.exports=(e=>{const t=e.raws;return t.selector&&t.selector.raw||e.selector})},{}],373:[(e,t,r)=>{const{URL:s}=e("url");t.exports=(e=>{let t=null;try{t=new s(e).protocol}catch(e){return null}if(null===t||void 0===t)return null;const r=t.slice(0,-1),i=t.length;return"//"!==e.slice(i,i+2)&&"data"!==r?null:r})},{url:450}],374:[(e,t,r)=>{const s=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=s(e.value,"").replace("\\0","").replace("\\9",""),r=n.unit(t);return r?r.unit:null})},{"./blurInterpolation":355,"./isStandardSyntaxValue":421,"postcss-value-parser":83}],375:[(e,t,r)=>{t.exports=(e=>void 0!==e.nodes)},{}],376:[(e,t,r)=>{t.exports=(e=>void 0!==e.nodes&&0===e.nodes.length)},{}],377:[(e,t,r)=>{t.exports=(e=>""!==e&&void 0!==e&&/\n[\r\t ]*\n/.test(e))},{}],378:[(e,t,r)=>{const s=e("../utils/hasLessInterpolation"),i=e("../utils/hasPsvInterpolation"),n=e("../utils/hasScssInterpolation"),o=e("../utils/hasTplInterpolation");t.exports=(e=>!!(s(e)||n(e)||o(e)||i(e)))},{"../utils/hasLessInterpolation":379,"../utils/hasPsvInterpolation":380,"../utils/hasScssInterpolation":381,"../utils/hasTplInterpolation":382}],379:[(e,t,r)=>{t.exports=(e=>/@\{.+?\}/.test(e))},{}],380:[(e,t,r)=>{t.exports=(e=>/\$\(.+?\)/.test(e))},{}],381:[(e,t,r)=>{t.exports=(e=>/#\{.+?\}/.test(e))},{}],382:[(e,t,r)=>{t.exports=(e=>/\{.+?\}/.test(e))},{}],383:[(e,t,r)=>{const s=e("./isSharedLineComment");t.exports=(e=>{const t=e.prev();return!(!t||"comment"!==t.type||s(t))})},{"./isSharedLineComment":406}],384:[(e,t,r)=>{const s=e("./isSharedLineComment");t.exports=(e=>{const t=e.prev();return void 0!==t&&"comment"===t.type&&!s(t)&&t.source&&t.source.start&&t.source.end&&t.source.start.line===t.source.end.line})},{"./isSharedLineComment":406}],385:[(e,t,r)=>{const s=e("./getPreviousNonSharedLineCommentNode"),i=e("./isCustomProperty"),n=e("./isStandardSyntaxDeclaration"),{isDeclaration:o}=e("./typeGuards");t.exports=(e=>{const t=s(e);return void 0!==t&&o(t)&&n(t)&&!i(t.prop||"")})},{"./getPreviousNonSharedLineCommentNode":371,"./isCustomProperty":393,"./isStandardSyntaxDeclaration":412,"./typeGuards":440}],386:[(e,t,r)=>{const s=e("./getPreviousNonSharedLineCommentNode"),i=e("./hasBlock"),{isAtRule:n}=e("./typeGuards");t.exports=(e=>{if("atrule"!==e.type)return!1;const t=s(e);return void 0!==t&&n(t)&&!i(t)&&!i(e)})},{"./getPreviousNonSharedLineCommentNode":371,"./hasBlock":375,"./typeGuards":440}],387:[(e,t,r)=>{const s=e("./getPreviousNonSharedLineCommentNode"),i=e("./isBlocklessAtRuleAfterBlocklessAtRule"),{isAtRule:n}=e("./typeGuards");t.exports=(e=>{if(!i(e))return!1;const t=s(e);return!(!t||!n(t))&&t.name===e.name})},{"./getPreviousNonSharedLineCommentNode":371,"./isBlocklessAtRuleAfterBlocklessAtRule":386,"./typeGuards":440}],388:[(e,t,r)=>{const s=e("../reference/keywordSets");t.exports=(e=>{if("pseudo"===e.type){const t=e.value.toLowerCase().replace(/:+/,"");return s.logicalCombinationsPseudoClasses.has(t)||s.aNPlusBOfSNotationPseudoClasses.has(t)}return!1})},{"../reference/keywordSets":142}],389:[(e,t,r)=>{const s=e("../reference/keywordSets");t.exports=(e=>{const t=e.toLowerCase();return!s.counterIncrementKeywords.has(t)&&!Number.isFinite(Number.parseInt(t,10))})},{"../reference/keywordSets":142}],390:[(e,t,r)=>{const s=e("../reference/keywordSets");t.exports=(e=>{const t=e.toLowerCase();return!s.counterResetKeywords.has(t)&&!Number.isFinite(Number.parseInt(t,10))})},{"../reference/keywordSets":142}],391:[(e,t,r)=>{const s=e("html-tags"),i=e("../reference/keywordSets"),n=e("mathml-tag-names"),o=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||o.includes(t)||s.includes(t)||i.nonStandardHtmlTags.has(t)||n.includes(t))})},{"../reference/keywordSets":142,"html-tags":28,"mathml-tag-names":40,"svg-tags":448}],392:[(e,t,r)=>{t.exports=(e=>e.startsWith("--"))},{}],393:[(e,t,r)=>{t.exports=(e=>e.startsWith("--"))},{}],394:[(e,t,r)=>{t.exports=(e=>e.startsWith(":--"))},{}],395:[(e,t,r)=>{const{isComment:s,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 r=t.nodes;if(!r)return!1;const n=r[0];if(!s(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(let t=1;t<r.length;t++){const n=r[t];if(n===e)return!0;if(!s(n)||i(n)&&n.source.end&&n.source.end.line!==o)return!1}return!1})},{"./typeGuards":440}],396:[(e,t,r)=>{const{isRoot:s}=e("./typeGuards");t.exports=(e=>{if(s(e))return!1;const t=e.parent;return!!t&&s(t)&&e===t.first})},{"./typeGuards":440}],397:[(e,t,r)=>{const{isAtRule:s}=e("./typeGuards");t.exports=(e=>{const t=e.parent;return!!t&&s(t)&&"keyframes"===t.name.toLowerCase()})},{"./typeGuards":440}],398:[(e,t,r)=>{const s=e("../reference/keywordSets");t.exports=(e=>!!s.keyframeSelectorKeywords.has(e)||!!/^(?:\d+|\d*\.\d+)%$/.test(e))},{"../reference/keywordSets":142}],399:[(e,t,r)=>{const s=e("../reference/mathFunctions");t.exports=(e=>"function"===e.type&&s.includes(e.value.toLowerCase()))},{"../reference/mathFunctions":143}],400:[(e,t,r)=>{t.exports=(e=>Number.isInteger(e)&&"number"==typeof e&&e>=0)},{}],401:[(e,t,r)=>{t.exports=(e=>0!==e.toString().trim().length&&Number(e)==e)},{}],402:[(e,t,r)=>{const s=e("./isWhitespace");t.exports=(e=>{let t=!0;for(const r of e)if(!s(r)){t=!1;break}return t})},{"./isWhitespace":425}],403:[(e,t,r)=>{const s=e("util");t.exports=(e=>s.types.isNativeError(e)&&"ENOENT"===e.code)},{util:455}],404:[(e,t,r)=>{t.exports=(e=>e.includes("=")||e.includes("<")||e.includes(">"))},{}],405:[(e,t,r)=>{t.exports=(e=>!!e.startsWith("$")||!!e.includes(".$"))},{}],406:[(e,t,r)=>{const s=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=s(e);if(t&&a(e,t))return!0;const r=e.parent;return void 0!==r&&!n(r)&&0===r.index(e)&&void 0!==e.raws.before&&!e.raws.before.includes("\n")})},{"./getNextNonSharedLineCommentNode":369,"./getPreviousNonSharedLineCommentNode":371,"./typeGuards":440}],407:[(e,t,r)=>{t.exports=(e=>!/[\n\r]/.test(e))},{}],408:[(e,t,r)=>{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]))},{}],409:[(e,t,r)=>{const s=e("./isStandardSyntaxFunction");t.exports=function e(t){if(!s(t))return!1;for(const r of t.nodes){if("function"===r.type)return e(r);if("word"===r.type&&(r.value.startsWith("#")||r.value.startsWith("$")))return!1}return!0}},{"./isStandardSyntaxFunction":413}],410:[(e,t,r)=>{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})},{}],411:[(e,t,r)=>{t.exports=(e=>!("inline"in e||"inline"in e.raws))},{}],412:[(e,t,r)=>{const s=e("./isScssVariable"),{isRoot:i,isRule:n}=e("./typeGuards");t.exports=(e=>{const t=e.prop,r=e.parent;return!(r&&i(r)&&r.source&&(o=r.source.lang,!o||"css"!==o&&"custom-template"!==o&&"template-literal"!==o)||s(t)||"@"===t[0]&&"{"!==t[1]||r&&"atrule"===r.type&&":"===r.raws.afterName||r&&n(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&n(r)&&r.selector&&":"===r.selector[r.selector.length-1]&&"--"!==r.selector.substring(0,2)||"extend"in e&&e.extend);var o})},{"./isScssVariable":405,"./typeGuards":440}],413:[(e,t,r)=>{t.exports=(e=>!!e.value)},{}],414:[(e,t,r)=>{t.exports=(e=>!e.includes("["))},{}],415:[(e,t,r)=>{t.exports=(e=>!/#\{.+?\}|\$.+/.test(e))},{}],416:[(e,t,r)=>{const s=e("../utils/hasInterpolation"),i=e("./isScssVariable");t.exports=(e=>!(i(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||s(e)))},{"../utils/hasInterpolation":378,"./isScssVariable":405}],417:[(e,t,r)=>{const s=e("../utils/isStandardSyntaxSelector");t.exports=(e=>!("rule"!==e.type||"extend"in e&&e.extend||!s(e.selector)))},{"../utils/isStandardSyntaxSelector":418}],418:[(e,t,r)=>{const s=e("../utils/hasInterpolation");t.exports=(e=>!(s(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")))},{"../utils/hasInterpolation":378}],419:[(e,t,r)=>{const s=e("../reference/keywordSets");t.exports=(e=>{if(!e.parent||!e.parent.parent)return!1;const t=e.parent.parent,r=t.type,i=t.value;if(i){const e=i.toLowerCase().replace(/:+/,"");if("pseudo"===r&&(s.aNPlusBNotationPseudoClasses.has(e)||s.aNPlusBOfSNotationPseudoClasses.has(e)||s.linguisticPseudoClasses.has(e)||s.shadowTreePseudoElements.has(e)))return!1}return!(e.prev()&&"nesting"===e.prev().type||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))})},{"../reference/keywordSets":142}],420:[(e,t,r)=>{const s=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('"')?s(e):e.startsWith("@")&&/^@@?[\w-]+$/.test(e)||e.includes("$")&&/^[$\s\w+\-,./*'"]+$/.test(e)&&!e.endsWith("/")))))},{"../utils/hasLessInterpolation":379,"../utils/hasPsvInterpolation":380,"../utils/hasScssInterpolation":381,"../utils/hasTplInterpolation":382}],421:[(e,t,r)=>{const s=e("../utils/hasInterpolation");t.exports=(e=>{let t=e;return/^[-+*/]/.test(e[0])&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||t.startsWith("@")||s(t)||/__MSG_\S+__/.test(e))})},{"../utils/hasInterpolation":378}],422:[(e,t,r)=>{const s=e("../reference/keywordSets"),i=e("postcss-value-parser");t.exports=(e=>{if(!e)return!1;if(s.fontSizeKeywords.has(e))return!0;const t=i.unit(e);if(!t)return!1;const r=t.unit;return"%"===r||!!s.lengthUnits.has(r.toLowerCase())})},{"../reference/keywordSets":142,"postcss-value-parser":83}],423:[(e,t,r)=>{t.exports=(e=>/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e))},{}],424:[(e,t,r)=>{t.exports=(e=>e.toLowerCase().startsWith("var("))},{}],425:[(e,t,r)=>{t.exports=(e=>[" ","\n","\t","\r","\f"].includes(e))},{}],426:[(e,t,r)=>{function s(e,t){if(!Array.isArray(t))return i(e,t);for(const r of t){const t=i(e,r);if(t)return t}return!1}function i(e,t){if(t instanceof RegExp)return!!t.test(e)&&{match:e,pattern:t};const r=t[0],s=t[t.length-1],i=t[t.length-2],n="/"===r&&("/"===s||"/"===i&&"i"===s);return n?!!(n&&"i"===s?new RegExp(t.slice(1,-2),"i").test(e):new RegExp(t.slice(1,-1)).test(e))&&{match:e,pattern:t}:e===t&&{match:e,pattern:t}}t.exports=((e,t)=>{if(!Array.isArray(e))return s(e,t);for(const r of e){const e=s(r,t);if(e)return e}return!1})},{}],427:[(e,t,r)=>{t.exports=function e(t){return t&&t.next?"comment"===t.type?e(t.next()):t:null}},{}],428:[(e,t,r)=>{function s(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}t.exports=(()=>{const e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");const i=t.source.input.from,n=s(e,i);return r.reduce((e,t)=>s(e,t),n)}}})},{}],429:[(e,t,r)=>{const s=e("./matchesStringOrRegExp");t.exports=((e,t,r)=>Boolean(e&&e[t]&&"string"==typeof r&&s(r,e[t])))},{"./matchesStringOrRegExp":426}],430:[(e,t,r)=>{const s=e("postcss-selector-parser");t.exports=((e,t,r,i)=>{try{return s(i).processSync(e)}catch(e){t.warn("Cannot parse selector",{node:r,stylelintType:"parseError"})}})},{"postcss-selector-parser":53}],431:[(e,t,r)=>{t.exports=((e,t,r)=>{if(e.has(t))return e.get(t);const s=r();return e.set(t,s),s})},{}],432:[(e,t,r)=>{t.exports=(e=>{let t="";return e.raws.before&&(t+=e.raws.before),t+e.toString()})},{}],433:[(e,t,r)=>{t.exports=((e,t)=>(e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,t):"",e))},{}],434:[(e,t,r)=>{t.exports=((e,t)=>(e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e))},{}],435:[(e,t,r)=>{t.exports=(e=>{const t=e.ruleName,r=e.result,s=e.message,i=e.line,n=e.node,o=e.index,a=e.word;if(r.stylelint=r.stylelint||{ruleSeverities:{},customMessages:{}},r.stylelint.quiet&&"error"!==r.stylelint.ruleSeverities[t])return;const l=i||n.positionBy({index:o}).line,{ignoreDisables:u}=r.stylelint.config||{};if(r.stylelint.disabledRanges){const e=r.stylelint.disabledRanges[t]||r.stylelint.disabledRanges.all;for(const s of e)if(s.start<=l&&(void 0===s.end||s.end>=l)&&(!s.rules||s.rules.includes(t))){if((r.stylelint.disabledWarnings||(r.stylelint.disabledWarnings=[])).push({rule:t,line:l}),!u)return;break}}const c=r.stylelint.ruleSeverities&&r.stylelint.ruleSeverities[t];r.stylelint.stylelintError||"error"!==c||(r.stylelint.stylelintError=!0);const p={severity:c,rule:t};n&&(p.node=n),o&&(p.index=o),a&&(p.word=a);const d=r.stylelint.customMessages&&r.stylelint.customMessages[t]||s;r.warn(d,p)})},{}],436:[(e,t,r)=>{t.exports=((e,t)=>{const r={};for(const[s,i]of Object.entries(t))r[s]="string"==typeof i?`${i} (${e})`:(...t)=>`${i(...t)} (${e})`;return r})},{}],437:[(e,t,r)=>{t.exports=((e,t)=>{const r=e.raws;return r.params?r.params.raw=t:e.params=t,e})},{}],438:[(e,t,r)=>{t.exports=((e,t)=>{const r=e.raws;return r.value?r.value.raw=t:e.value=t,e})},{}],439:[(e,t,r)=>{const s=e("postcss-selector-parser");t.exports=((e,t,r)=>{try{return s(r).processSync(t,{updateSelector:!0})}catch(r){e.warn("Cannot parse selector",{node:t,stylelintType:"parseError"})}})},{"postcss-selector-parser":53}],440:[(e,t,r)=>{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))},{}],441:[(e,t,r)=>{const{isPlainObject:s}=e("is-plain-object");t.exports=(e=>t=>!!s(t)&&Object.values(t).every(t=>!!Array.isArray(t)&&t.every(t=>Array.isArray(e)?e.some(e=>e(t)):e(t))))},{"is-plain-object":35}],442:[(e,t,r)=>{const s=e("./arrayEqual"),{isPlainObject:i}=e("is-plain-object"),n=new Set(["severity","message","reportDisables","disableFix"]);function o(e,t,r){const o=e.possible,l=e.actual,u=e.optional;if(null===l||s(l,[null]))return;const c=void 0===o||Array.isArray(o)&&0===o.length;if(!c||!0!==l)if(void 0!==l){if(c)return u?void r(`Incorrect configuration for rule "${t}". Rule should have "possible" values for options validation`):void r(`Unexpected option value "${String(l)}" for rule "${t}"`);if("function"!=typeof o)if(Array.isArray(o))for(const e of[l].flat())a(o,e)||r(`Invalid option value "${String(e)}" for rule "${t}"`);else if(i(l)&&"object"==typeof l&&null!=l)for(const[e,s]of Object.entries(l)){if(n.has(e))continue;const i=o&&o[e];if(i)for(const n of[s].flat())a(i,n)||r(`Invalid value "${n}" for option "${e}" of rule "${t}"`);else r(`Invalid option name "${e}" for rule "${t}"`)}else r(`Invalid option value ${JSON.stringify(l)} for rule "${t}": should be an object`);else o(l)||r(`Invalid option "${JSON.stringify(l)}" for rule ${t}`)}else{if(c||u)return;r(`Expected option value for rule "${t}"`)}}function a(e,t){for(const r of[e].flat()){if("function"==typeof r&&r(t))return!0;if(t===r)return!0}return!1}t.exports=((e,t,...r)=>{let s=!0;for(const e of r)o(e,t,i);function i(t){s=!1,e.warn(t,{stylelintType:"invalidOption"}),e.stylelint=e.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{}},e.stylelint.stylelintError=!0}return s})},{"./arrayEqual":351,"is-plain-object":35}],443:[(e,t,r)=>{t.exports={isBoolean:e=>"boolean"==typeof e||e instanceof Boolean,isNumber:e=>"number"==typeof e||e instanceof Number,isRegExp:e=>e instanceof RegExp,isString:e=>"string"==typeof e||e instanceof String}},{}],444:[(e,t,r)=>{t.exports={prefix(e){const t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:e=>e.replace(/^-\w+-/,"")}},{}],445:[(e,r,s)=>{const i=e("./configurationError"),n=e("./isSingleLineString"),o=e("./isWhitespace");function a(e){return void 0!==e&&null!==e}function l(e){if("function"!=typeof e)throw new TypeError(`\`${e}\` must be a function`)}r.exports=((e,r,s)=>{let u;function c({source:e,index:t,err:o,errTarget:a,lineCheckStr:l,onlyOneChar:c=!1,allowIndentation:p=!1}){switch(u={source:e,index:t,err:o,errTarget:a,onlyOneChar:c,allowIndentation:p},r){case"always":d();break;case"never":f();break;case"always-single-line":if(!n(l||e))return;d(s.expectedBeforeSingleLine);break;case"never-single-line":if(!n(l||e))return;f(s.rejectedBeforeSingleLine);break;case"always-multi-line":if(n(l||e))return;d(s.expectedBeforeMultiLine);break;case"never-multi-line":if(n(l||e))return;f(s.rejectedBeforeMultiLine);break;default:throw i(`Unknown expectation "${r}"`)}}function p({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},r){case"always":h();break;case"never":m();break;case"always-single-line":if(!n(l||e))return;h(s.expectedAfterSingleLine);break;case"never-single-line":if(!n(l||e))return;m(s.rejectedAfterSingleLine);break;case"always-multi-line":if(n(l||e))return;h(s.expectedAfterMultiLine);break;case"never-multi-line":if(n(l||e))return;m(s.rejectedAfterMultiLine);break;default:throw i(`Unknown expectation "${r}"`)}}function d(t=s.expectedBefore){if(u.allowIndentation)return void((t=s.expectedBefore)=>{const r=u,i=r.source,n=r.index,o=r.err,a=(()=>{if("newline"===e)return"\n"})();let c=n-1;for(;i[c]!==a;){if("\t"!==i[c]&&" "!==i[c])return l(t),void o(t(u.errTarget||i[n]));c--}})(t);const r=u,i=r.source,n=r.index,c=i[n-1],p=i[n-2];a(c)&&("space"!==e||" "!==c||!u.onlyOneChar&&o(p))&&(l(t),u.err(t(u.errTarget||i[n])))}function f(e=s.rejectedBefore){const t=u,r=t.source,i=t.index,n=r[i-1];a(n)&&o(n)&&(l(e),u.err(e(u.errTarget||r[i])))}function h(t=s.expectedAfter){const r=u,i=r.source,n=r.index,c=i[n+1],p=i[n+2];if(a(c)){if("newline"===e){if("\r"===c&&"\n"===p&&(u.onlyOneChar||!o(i[n+3])))return;if("\n"===c&&(u.onlyOneChar||!o(p)))return}("space"!==e||" "!==c||!u.onlyOneChar&&o(p))&&(l(t),u.err(t(u.errTarget||i[n])))}}function m(e=s.rejectedAfter){const t=u,r=t.source,i=t.index,n=r[i+1];a(n)&&o(n)&&(l(e),u.err(e(u.errTarget||r[i])))}return{before:c,beforeAllowingIndentation(e){c(t({},e,{allowIndentation:!0}))},after:p,afterOneOnly(e){p(t({},e,{onlyOneChar:!0}))}}})},{"./configurationError":357,"./isSingleLineString":407,"./isWhitespace":425}],446:[(e,t,r)=>{const s=e("./utils/validateOptions"),{isRegExp:i,isString:n}=e("./utils/validateTypes");t.exports=((e,t)=>{if(!e)return null;const r=e.stylelint;if(!r.config)return null;const o=r.config[t];let a,l;return Array.isArray(o)?(a=o[0],l=o[1]||{}):(a=o||!1,l={}),s(e,t,{actual:a,possible:[!0,!1]},{actual:l,possible:{except:[n,i]}})&&(a||l.except)?[a,{except:l.except||[],severity:l.severity||r.config.defaultSeverity||"error"},r]:null})},{"./utils/validateOptions":442,"./utils/validateTypes":443}],447:[(e,t,r)=>{function s(e,t,r){e instanceof RegExp&&(e=i(e,r)),t instanceof RegExp&&(t=i(t,r));const s=n(e,t,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+e.length,s[1]),post:r.slice(s[1]+t.length)}}function i(e,t){const r=t.match(e);return r?r[0]:null}function n(e,t,r){let s,i,n,o,a,l=r.indexOf(e),u=r.indexOf(t,l+1),c=l;if(l>=0&&u>0){if(e===t)return[l,u];for(s=[],n=r.length;c>=0&&!a;)c===l?(s.push(c),l=r.indexOf(e,c+1)):1===s.length?a=[s.pop(),u]:((i=s.pop())<n&&(n=i,o=u),u=r.indexOf(t,c+1)),c=l<u&&l>=0?l:u;s.length&&(a=[n,o])}return a}t.exports=s,s.range=n},{}],448:[(e,t,r)=>{t.exports=e("./svg-tags.json")},{"./svg-tags.json":449}],449:[(e,t,r)=>{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"]},{}],450:[function(e,t,r){var s=e("punycode"),i=e("./util");function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}r.parse=b,r.resolve=((e,t)=>b(e,!1,!0).resolve(t)),r.resolveObject=((e,t)=>e?b(e,!1,!0).resolveObject(t):t),r.format=(e=>(i.isString(e)&&(e=b(e)),e instanceof n?e.format():n.prototype.format.call(e))),r.Url=n;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),p=["%","/","?",";","#"].concat(c),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=e("querystring");function b(e,t,r){if(e&&i.isObject(e)&&e instanceof n)return e;var s=new n;return s.parse(e,t,r),s}n.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),a=-1!==n&&n<e.indexOf("#")?"?":"#",u=e.split(a);u[0]=u[0].replace(/\\/g,"/");var b=e=u.join(a);if(b=b.trim(),!r&&1===e.split("#").length){var x=l.exec(b);if(x)return this.path=b,this.href=b,this.pathname=x[1],x[2]?(this.search=x[2],this.query=t?w.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var v=o.exec(b);if(v){var k=(v=v[0]).toLowerCase();this.protocol=k,b=b.substr(v.length)}if(r||v||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===b.substr(0,2);!S||v&&g[v]||(b=b.substr(2),this.slashes=!0)}if(!g[v]&&(S||v&&!y[v])){for(var O,C,A=-1,E=0;E<d.length;E++)-1!==(M=b.indexOf(d[E]))&&(-1===A||M<A)&&(A=M);for(-1!==(C=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(O=b.slice(0,C),b=b.slice(C+1),this.auth=decodeURIComponent(O)),A=-1,E=0;E<p.length;E++){var M;-1!==(M=b.indexOf(p[E]))&&(-1===A||M<A)&&(A=M)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var N=this.hostname.split(/\./),I=(E=0,N.length);E<I;E++){var P=N[E];if(P&&!P.match(f)){for(var j="",T=0,L=P.length;T<L;T++)P.charCodeAt(T)>127?j+="x":j+=P[T];if(!j.match(f)){var _=N.slice(0,E),F=N.slice(E+1),$=P.match(h);$&&(_.push($[1]),F.unshift($[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=_.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=s.toASCII(this.hostname));var B=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+B,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[k])for(E=0,I=c.length;E<I;E++){var U=c[E];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var V=b.indexOf("#");-1!==V&&(this.hash=b.substr(V),b=b.slice(0,V));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=w.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var W=this.search||"";this.path=B+W}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",s=this.hash||"",n=!1,o="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=w.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),s&&"#"!==s.charAt(0)&&(s="#"+s),a&&"?"!==a.charAt(0)&&(a="?"+a),t+n+(r=r.replace(/[?#]/g,e=>encodeURIComponent(e)))+(a=a.replace("#","%23"))+s},n.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(i.isString(e)){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,s=Object.keys(this),o=0;o<s.length;o++){var a=s[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),u=0;u<l.length;u++){var c=l[u];"protocol"!==c&&(r[c]=e[c])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var f=p[d];r[f]=e[f]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[e.protocol])r.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",w=r.search||"";r.path=m+w}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),x=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=x||b||r.host&&e.pathname,k=v,S=r.pathname&&r.pathname.split("/")||[],O=(h=e.pathname&&e.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(O&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),v=v&&(""===h[0]||""===S[0])),x)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=h;else if(h.length)S||(S=[]),S.pop(),S=S.concat(h),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search))return O&&(r.hostname=r.host=S.shift(),(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift())),r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=S.slice(-1)[0],A=(r.host||e.host||S.length>1)&&("."===C||".."===C)||""===C,E=0,M=S.length;M>=0;M--)"."===(C=S[M])?S.splice(M,1):".."===C?(S.splice(M,1),E++):E&&(S.splice(M,1),E--);if(!v&&!k)for(;E--;E)S.unshift("..");!v||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),A&&"/"!==S.join("/").substr(-1)&&S.push("");var R,N=""===S[0]||S[0]&&"/"===S[0].charAt(0);return O&&(r.hostname=r.host=N?"":S.length?S.shift():"",(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift())),(v=v||r.host&&S.length)&&!N&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":451,punycode:116,querystring:119}],451:[(e,t,r)=>{t.exports={isString:e=>"string"==typeof e,isObject:e=>"object"==typeof e&&null!==e,isNull:e=>null===e,isNullOrUndefined:e=>null==e}},{}],452:[function(e,t,r){(function(e){(function(){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var s=!1;return function(){if(!s){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),s=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],453:[(e,t,r)=>{t.exports=(e=>e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8)},{}],454:[(e,t,r)=>{var s=e("is-arguments"),i=e("is-generator-function"),n=e("which-typed-array"),o=e("is-typed-array");function a(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=a(Object.prototype.toString),p=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(l)var h=a(BigInt.prototype.valueOf);if(u)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===c(e)}function w(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function x(e){return"[object WeakSet]"===c(e)}function v(e){return"[object ArrayBuffer]"===c(e)}function k(e){return"undefined"!=typeof ArrayBuffer&&(v.working?v(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function O(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}function C(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return"undefined"!=typeof SharedArrayBuffer&&(C.working?C(e):e instanceof SharedArrayBuffer)}function E(e){return g(e,p)}function M(e){return g(e,d)}function R(e){return g(e,f)}function N(e){return l&&g(e,h)}function I(e){return u&&g(e,m)}r.isArgumentsObject=s,r.isGeneratorFunction=i,r.isTypedArray=o,r.isPromise=(e=>"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch),r.isArrayBufferView=(e=>"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||O(e)),r.isUint8Array=(e=>"Uint8Array"===n(e)),r.isUint8ClampedArray=(e=>"Uint8ClampedArray"===n(e)),r.isUint16Array=(e=>"Uint16Array"===n(e)),r.isUint32Array=(e=>"Uint32Array"===n(e)),r.isInt8Array=(e=>"Int8Array"===n(e)),r.isInt16Array=(e=>"Int16Array"===n(e)),r.isInt32Array=(e=>"Int32Array"===n(e)),r.isFloat32Array=(e=>"Float32Array"===n(e)),r.isFloat64Array=(e=>"Float64Array"===n(e)),r.isBigInt64Array=(e=>"BigInt64Array"===n(e)),r.isBigUint64Array=(e=>"BigUint64Array"===n(e)),y.working="undefined"!=typeof Map&&y(new Map),r.isMap=(e=>"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)),w.working="undefined"!=typeof Set&&w(new Set),r.isSet=(e=>"undefined"!=typeof Set&&(w.working?w(e):e instanceof Set)),b.working="undefined"!=typeof WeakMap&&b(new WeakMap),r.isWeakMap=(e=>"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)),x.working="undefined"!=typeof WeakSet&&x(new WeakSet),r.isWeakSet=(e=>x(e)),v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),r.isArrayBuffer=k,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=O,C.working="undefined"!=typeof SharedArrayBuffer&&C(new SharedArrayBuffer),r.isSharedArrayBuffer=A,r.isAsyncFunction=(e=>"[object AsyncFunction]"===c(e)),r.isMapIterator=(e=>"[object Map Iterator]"===c(e)),r.isSetIterator=(e=>"[object Set Iterator]"===c(e)),r.isGeneratorObject=(e=>"[object Generator]"===c(e)),r.isWebAssemblyCompiledModule=(e=>"[object WebAssembly.Module]"===c(e)),r.isNumberObject=E,r.isStringObject=M,r.isBooleanObject=R,r.isBigIntObject=N,r.isSymbolObject=I,r.isBoxedPrimitive=(e=>E(e)||M(e)||R(e)||N(e)||I(e)),r.isAnyArrayBuffer=(e=>"undefined"!=typeof Uint8Array&&(k(e)||A(e))),["isProxy","isExternal","isModuleNamespaceObject"].forEach(e=>{Object.defineProperty(r,e,{enumerable:!1,value(){throw new Error(e+" is not supported in userland")}})})},{"is-arguments":33,"is-generator-function":34,"is-typed-array":37,"which-typed-array":456}],455:[function(e,t,r){(function(t){(function(){var s=Object.getOwnPropertyDescriptors||(e=>{for(var t=Object.keys(e),r={},s=0;s<t.length;s++)r[t[s]]=Object.getOwnPropertyDescriptor(e,t[s]);return r}),i=/%[sdj%]/g;r.format=function(e){if(!w(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(l(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,o=String(e).replace(i,e=>{if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}}),a=s[r];r<n;a=s[++r])g(a)||!v(a)?o+=" "+a:o+=" "+l(a);return o},r.deprecate=function(e,s){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return r.deprecate(e,s).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(s);t.traceDeprecation?console.trace(s):console.error(s),i=!0}return e.apply(this,arguments)}};var n={},o=/^$/;if(t.env.NODE_DEBUG){var a=t.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+a+"$","i")}function l(e,t){var s={seen:[],stylize:c};return arguments.length>=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),m(t)?s.showHidden=t:t&&r._extend(s,t),b(s.showHidden)&&(s.showHidden=!1),b(s.depth)&&(s.depth=2),b(s.colors)&&(s.colors=!1),b(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=u),p(s,e,s.depth)}function u(e,t){var r=l.styles[t];return r?"["+l.colors[r][0]+"m"+e+"["+l.colors[r][1]+"m":e}function c(e,t){return e}function p(e,t,s){if(e.customInspect&&t&&O(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(s,e);return w(i)||(i=p(e,i,s)),i}var n=((e,t)=>{if(b(t))return e.stylize("undefined","undefined");if(w(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return y(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0})(e,t);if(n)return n;var o,a=Object.keys(t),l=(o={},a.forEach((e,t)=>{o[e]=!0}),o);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),S(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(O(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(S(t))return d(t)}var c,v="",C=!1,A=["{","}"];return h(t)&&(C=!0,A=["[","]"]),O(t)&&(v=" [Function"+(t.name?": "+t.name:"")+"]"),x(t)&&(v=" "+RegExp.prototype.toString.call(t)),k(t)&&(v=" "+Date.prototype.toUTCString.call(t)),S(t)&&(v=" "+d(t)),0!==a.length||C&&0!=t.length?s<0?x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=C?((e,t,r,s,i)=>{for(var n=[],o=0,a=t.length;o<a;++o)M(t,String(o))?n.push(f(e,t,r,s,String(o),!0)):n.push("");return i.forEach(i=>{i.match(/^\d+$/)||n.push(f(e,t,r,s,i,!0))}),n})(e,t,s,l,a):a.map(r=>f(e,t,s,l,r,C)),e.seen.pop(),((e,t,r)=>e.reduce((e,t)=>(t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1])(c,v,A)):A[0]+v+A[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,s,i,n){var o,a,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),M(s,i)||(o="["+i+"]"),a||(e.seen.indexOf(l.value)<0?(a=g(r)?p(e,l.value,null):p(e,l.value,r-1)).indexOf("\n")>-1&&(a=n?a.split("\n").map(e=>" "+e).join("\n").substr(2):"\n"+a.split("\n").map(e=>" "+e).join("\n")):a=e.stylize("[Circular]","special")),b(o)){if(n&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function w(e){return"string"==typeof e}function b(e){return void 0===e}function x(e){return v(e)&&"[object RegExp]"===C(e)}function v(e){return"object"==typeof e&&null!==e}function k(e){return v(e)&&"[object Date]"===C(e)}function S(e){return v(e)&&("[object Error]"===C(e)||e instanceof Error)}function O(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}r.debuglog=(e=>{if(e=e.toUpperCase(),!n[e])if(o.test(e)){var s=t.pid;n[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,s,t)}}else n[e]=(()=>{});return n[e]}),r.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e("./support/types"),r.isArray=h,r.isBoolean=m,r.isNull=g,r.isNullOrUndefined=(e=>null==e),r.isNumber=y,r.isString=w,r.isSymbol=(e=>"symbol"==typeof e),r.isUndefined=b,r.isRegExp=x,r.types.isRegExp=x,r.isObject=v,r.isDate=k,r.types.isDate=k,r.isError=S,r.types.isNativeError=S,r.isFunction=O,r.isPrimitive=(e=>null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e),r.isBuffer=e("./support/isBuffer");var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){var e,t;console.log("%s - %s",(t=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),E[e.getMonth()],t].join(" ")),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=((e,t)=>{if(!t||!v(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e});var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,s=new Promise((e,s)=>{t=e,r=s}),i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);i.push((e,s)=>{e?r(e):t(s)});try{e.apply(this,i)}catch(e){r(e)}return s}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,s(e))},r.promisify.custom=R,r.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],s=0;s<arguments.length;s++)r.push(arguments[s]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var n=this,o=function(){return i.apply(n,arguments)};e.apply(this,r).then(e=>{t.nextTick(o.bind(null,null,e))},e=>{t.nextTick(((e,t)=>{if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}).bind(null,e,o))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,s(e)),r}}).call(this)}).call(this,e("_process"))},{"./support/isBuffer":453,"./support/types":454,_process:115,inherits:32}],456:[function(e,t,r){(function(r){(()=>{var s=e("foreach"),i=e("available-typed-arrays"),n=e("call-bind/callBound"),o=n("Object.prototype.toString"),a=e("has-symbols")()&&"symbol"==typeof Symbol.toStringTag,l=i(),u=n("String.prototype.slice"),c={},p=e("es-abstract/helpers/getOwnPropertyDescriptor"),d=Object.getPrototypeOf;a&&p&&d&&s(l,e=>{if("function"==typeof r[e]){var t=new r[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var s=d(t),i=p(s,Symbol.toStringTag);if(!i){var n=d(s);i=p(n,Symbol.toStringTag)}c[e]=i.get}});var f=e("is-typed-array");t.exports=(e=>{return!!f(e)&&(a?(t=e,r=!1,s(c,(e,s)=>{if(!r)try{var i=e.call(t);i===s&&(r=i)}catch(e){}}),r):u(o(e),8,-1));var t,r})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":2,"call-bind/callBound":7,"es-abstract/helpers/getOwnPropertyDescriptor":17,foreach:20,"has-symbols":24,"is-typed-array":37}],stylelint:[(e,t,r)=>{const s=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"),p=e("./standalone"),d=e("./utils/validateOptions"),f=e("./resolveConfig"),h=Object.assign(a,{lint:p,rules:c,formatters:o,createPlugin:i,resolveConfig:f,createLinter:n,utils:{report:l,ruleMessages:u,validateOptions:d,checkAgainstRule:s}});t.exports=h},{"./createPlugin":124,"./createStylelint":125,"./formatters":129,"./postcssPlugin":140,"./resolveConfig":148,"./rules":237,"./standalone":348,"./utils/checkAgainstRule":356,"./utils/report":435,"./utils/ruleMessages":436,"./utils/validateOptions":442}]},{},[])("stylelint")})})(); |