@live-codes/browser-compilers 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoprefixer/autoprefixer.js +26 -26
- package/dist/babel-preset-solid/babel-preset-solid.js +10 -10
- package/dist/less/less.js +11 -25
- package/dist/monaco-editor/{codicon-EMFKG4QT.ttf → codicon-RIB6IZJV.ttf} +0 -0
- package/dist/monaco-editor/css.worker.js +9 -9
- package/dist/monaco-editor/editor.worker.js +8 -8
- package/dist/monaco-editor/html.worker.js +10 -10
- package/dist/monaco-editor/json.worker.js +12 -12
- package/dist/monaco-editor/monaco-editor.css +1 -1
- package/dist/monaco-editor/monaco-editor.js +234 -215
- package/dist/monaco-editor/ts.worker.js +14 -14
- package/dist/postcss/postcss.js +16 -16
- package/dist/prettier/parser-pug.js +153 -153
- package/dist/react-native-web/react-native-web.js +18 -18
- package/package.json +8 -8
package/dist/less/less.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var less=(()=>{var Iu=Object.create,ft=Object.defineProperty,xu=Object.getPrototypeOf,Mu=Object.prototype.hasOwnProperty,Au=Object.getOwnPropertyNames,ku=Object.getOwnPropertyDescriptor;var Ou=e=>ft(e,"__esModule",{value:!0});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Pu=(e,t)=>{for(var r in t)ft(e,r,{get:t[r],enumerable:!0})},Eu=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Au(t))!Mu.call(e,i)&&i!=="default"&&ft(e,i,{get:()=>t[i],enumerable:!(r=ku(t,i))||r.enumerable});return e},Ru=e=>Eu(Ou(ft(e!=null?Iu(xu(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var q=b((fv,ct)=>{var jn,Fn,Vn,$n,Ln,Bn,Un,Tn,zn,ht,Kt,Nn,Wn,qe,Gn,Hn,Jn,Kn,Qn,Zn,Yn,Xn,ea;(function(e){var t=typeof window=="object"?window:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(i){e(r(t,r(i)))}):typeof ct=="object"&&typeof ct.exports=="object"?e(r(t,r(ct.exports))):e(r(t));function r(i,a){return i!==t&&(typeof Object.create=="function"?Object.defineProperty(i,"__esModule",{value:!0}):i.__esModule=!0),function(n,l){return i[n]=a?a(n,l):l}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)i.hasOwnProperty(a)&&(r[a]=i[a])};jn=function(r,i){t(r,i);function a(){this.constructor=r}r.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)},Fn=Object.assign||function(r){for(var i,a=1,n=arguments.length;a<n;a++){i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},Vn=function(r,i){var a={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&i.indexOf(n)<0&&(a[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(r);l<n.length;l++)i.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(r,n[l])&&(a[n[l]]=r[n[l]]);return a},$n=function(r,i,a,n){var l=arguments.length,o=l<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,a):n,f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,i,a,n);else for(var v=r.length-1;v>=0;v--)(f=r[v])&&(o=(l<3?f(o):l>3?f(i,a,o):f(i,a))||o);return l>3&&o&&Object.defineProperty(i,a,o),o},Ln=function(r,i){return function(a,n){i(a,n,r)}},Bn=function(r,i){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,i)},Un=function(r,i,a,n){function l(o){return o instanceof a?o:new a(function(f){f(o)})}return new(a||(a=Promise))(function(o,f){function v(u){try{s(n.next(u))}catch(c){f(c)}}function p(u){try{s(n.throw(u))}catch(c){f(c)}}function s(u){u.done?o(u.value):l(u.value).then(v,p)}s((n=n.apply(r,i||[])).next())})},Tn=function(r,i){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,l,o,f;return f={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function v(s){return function(u){return p([s,u])}}function p(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,l&&(o=s[0]&2?l.return:s[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,s[1])).done)return o;switch(l=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,l=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=i.call(r,a)}catch(u){s=[6,u],l=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ea=function(r,i,a,n){n===void 0&&(n=a),r[n]=i[a]},zn=function(r,i){for(var a in r)a!=="default"&&!i.hasOwnProperty(a)&&(i[a]=r[a])},ht=function(r){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&r[i],n=0;if(a)return a.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},Kt=function(r,i){var a=typeof Symbol=="function"&&r[Symbol.iterator];if(!a)return r;var n=a.call(r),l,o=[],f;try{for(;(i===void 0||i-- >0)&&!(l=n.next()).done;)o.push(l.value)}catch(v){f={error:v}}finally{try{l&&!l.done&&(a=n.return)&&a.call(n)}finally{if(f)throw f.error}}return o},Nn=function(){for(var r=[],i=0;i<arguments.length;i++)r=r.concat(Kt(arguments[i]));return r},Wn=function(){for(var r=0,i=0,a=arguments.length;i<a;i++)r+=arguments[i].length;for(var n=Array(r),l=0,i=0;i<a;i++)for(var o=arguments[i],f=0,v=o.length;f<v;f++,l++)n[l]=o[f];return n},qe=function(r){return this instanceof qe?(this.v=r,this):new qe(r)},Gn=function(r,i,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(r,i||[]),l,o=[];return l={},f("next"),f("throw"),f("return"),l[Symbol.asyncIterator]=function(){return this},l;function f(h){n[h]&&(l[h]=function(d){return new Promise(function(m,_){o.push([h,d,m,_])>1||v(h,d)})})}function v(h,d){try{p(n[h](d))}catch(m){c(o[0][3],m)}}function p(h){h.value instanceof qe?Promise.resolve(h.value.v).then(s,u):c(o[0][2],h)}function s(h){v("next",h)}function u(h){v("throw",h)}function c(h,d){h(d),o.shift(),o.length&&v(o[0][0],o[0][1])}},Hn=function(r){var i,a;return i={},n("next"),n("throw",function(l){throw l}),n("return"),i[Symbol.iterator]=function(){return this},i;function n(l,o){i[l]=r[l]?function(f){return(a=!a)?{value:qe(r[l](f)),done:l==="return"}:o?o(f):f}:o}},Jn=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r[Symbol.asyncIterator],a;return i?i.call(r):(r=typeof ht=="function"?ht(r):r[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(o){a[o]=r[o]&&function(f){return new Promise(function(v,p){f=r[o](f),l(v,p,f.done,f.value)})}}function l(o,f,v,p){Promise.resolve(p).then(function(s){o({value:s,done:v})},f)}},Kn=function(r,i){return Object.defineProperty?Object.defineProperty(r,"raw",{value:i}):r.raw=i,r},Qn=function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)Object.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i.default=r,i},Zn=function(r){return r&&r.__esModule?r:{default:r}},Yn=function(r,i){if(!i.has(r))throw new TypeError("attempted to get private field on non-instance");return i.get(r)},Xn=function(r,i,a){if(!i.has(r))throw new TypeError("attempted to set private field on non-instance");return i.set(r,a),a},e("__extends",jn),e("__assign",Fn),e("__rest",Vn),e("__decorate",$n),e("__param",Ln),e("__metadata",Bn),e("__awaiter",Un),e("__generator",Tn),e("__exportStar",zn),e("__createBinding",ea),e("__values",ht),e("__read",Kt),e("__spread",Nn),e("__spreadArrays",Wn),e("__await",qe),e("__asyncGenerator",Gn),e("__asyncDelegator",Hn),e("__asyncValues",Jn),e("__makeTemplateObject",Kn),e("__importStar",Qn),e("__importDefault",Zn),e("__classPrivateFieldGet",Yn),e("__classPrivateFieldSet",Xn)})});var _e=b(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t<this._listeners.length;t++)if(this._listeners[t]===e){this._listeners.splice(t,1);return}},_fireEvent:function(e,t){for(var r=0;r<this._listeners.length;r++){var i=this._listeners[r][e];i&&i(t)}},_listeners:[]}});var ra=b(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});var ju=q(),ta=ju.__importDefault(_e()),Fu=function(){function e(t,r){this.fileManagers=r||[],t=t||{};for(var i=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"],a=[],n=a.concat(i),l=0;l<n.length;l++){var o=n[l],f=t[o];f?this[o]=f.bind(t):l<a.length&&this.warn("missing required function in environment - "+o)}}return e.prototype.getFileManager=function(t,r,i,a,n){t||ta.default.warn("getFileManager called with no filename.. Please report this issue. continuing."),r==null&&ta.default.warn("getFileManager called with null directory.. Please report this issue. continuing.");var l=this.fileManagers;i.pluginManager&&(l=[].concat(l).concat(i.pluginManager.getFileManagers()));for(var o=l.length-1;o>=0;o--){var f=l[o];if(f[n?"supportsSync":"supports"](t,r,i,a))return f}return null},e.prototype.addFileManager=function(t){this.fileManagers.push(t)},e.prototype.clearFileManagers=function(){this.fileManagers=[]},e}();Zt.default=Fu});var Xt=b(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}});var vt=b(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.default={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:1/400,turn:1}}});var na=b(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});var ia=q(),Vu=ia.__importDefault(Xt()),$u=ia.__importDefault(vt());tr.default={colors:Vu.default,unitConversions:$u.default}});var A=b(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});var Lu=function(){function e(){this.parent=null,this.visibilityBlocks=void 0,this.nodeVisible=void 0,this.rootNode=null,this.parsed=null;var t=this;Object.defineProperty(this,"currentFileInfo",{get:function(){return t.fileInfo()}}),Object.defineProperty(this,"index",{get:function(){return t.getIndex()}})}return e.prototype.setParent=function(t,r){function i(a){a&&a instanceof e&&(a.parent=r)}Array.isArray(t)?t.forEach(i):i(t)},e.prototype.getIndex=function(){return this._index||this.parent&&this.parent.getIndex()||0},e.prototype.fileInfo=function(){return this._fileInfo||this.parent&&this.parent.fileInfo()||{}},e.prototype.isRulesetLike=function(){return!1},e.prototype.toCSS=function(t){var r=[];return this.genCSS(t,{add:function(i,a,n){r.push(i)},isEmpty:function(){return r.length===0}}),r.join("")},e.prototype.genCSS=function(t,r){r.add(this.value)},e.prototype.accept=function(t){this.value=t.visit(this.value)},e.prototype.eval=function(){return this},e.prototype._operate=function(t,r,i,a){switch(r){case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a}},e.prototype.fround=function(t,r){var i=t&&t.numPrecision;return i?Number((r+2e-16).toFixed(i)):r},e.compare=function(t,r){if(t.compare&&!(r.type==="Quoted"||r.type==="Anonymous"))return t.compare(r);if(r.compare)return-r.compare(t);if(t.type!==r.type)return;if(t=t.value,r=r.value,!Array.isArray(t))return t===r?0:void 0;if(t.length===r.length){for(var i=0;i<t.length;i++)if(e.compare(t[i],r[i])!==0)return;return 0}},e.numericCompare=function(t,r){return t<r?-1:t===r?0:t>r?1:void 0},e.prototype.blocksVisibility=function(){return this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks!==0},e.prototype.addVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},e.prototype.removeVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},e.prototype.ensureVisibility=function(){this.nodeVisible=!0},e.prototype.ensureInvisibility=function(){this.nodeVisible=!1},e.prototype.isVisible=function(){return this.nodeVisible},e.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},e.prototype.copyVisibilityInfo=function(t){!t||(this.visibilityBlocks=t.visibilityBlocks,this.nodeVisible=t.nodeVisible)},e}();rr.default=Lu});var fe=b(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var aa=q(),Bu=aa.__importDefault(A()),sa=aa.__importDefault(Xt()),Ce=function(e,t,r){var i=this;Array.isArray(e)?this.rgb=e:e.length>=6?(this.rgb=[],e.match(/.{2}/g).map(function(a,n){n<3?i.rgb.push(parseInt(a,16)):i.alpha=parseInt(a,16)/255})):(this.rgb=[],e.split("").map(function(a,n){n<3?i.rgb.push(parseInt(a+a,16)):i.alpha=parseInt(a+a,16)/255})),this.alpha=this.alpha||(typeof t=="number"?t:1),typeof r!="undefined"&&(this.value=r)};Ce.prototype=Object.assign(new Bu.default,{type:"Color",luma:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255;return e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),r=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*t+.0722*r},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e,t){var r=e&&e.compress&&!t,i,a,n,l=[];if(a=this.fround(e,this.alpha),this.value)if(this.value.indexOf("rgb")===0)a<1&&(n="rgba");else if(this.value.indexOf("hsl")===0)a<1?n="hsla":n="hsl";else return this.value;else a<1&&(n="rgba");switch(n){case"rgba":l=this.rgb.map(function(f){return dt(Math.round(f),255)}).concat(dt(a,1));break;case"hsla":l.push(dt(a,1));case"hsl":i=this.toHSL(),l=[this.fround(e,i.h),this.fround(e,i.s*100)+"%",this.fround(e,i.l*100)+"%"].concat(l)}if(n)return n+"("+l.join(","+(r?"":" "))+")";if(i=this.toRGB(),r){var o=i.split("");o[1]===o[2]&&o[3]===o[4]&&o[5]===o[6]&&(i="#"+o[1]+o[3]+o[5])}return i},operate:function(e,t,r){for(var i=new Array(3),a=this.alpha*(1-r.alpha)+r.alpha,n=0;n<3;n++)i[n]=this._operate(e,t,this.rgb[n],r.rgb[n]);return new Ce(i,a)},toRGB:function(){return ua(this.rgb)},toHSL:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255,i=this.alpha,a=Math.max(e,t,r),n=Math.min(e,t,r),l,o,f=(a+n)/2,v=a-n;if(a===n)l=o=0;else{switch(o=f>.5?v/(2-a-n):v/(a+n),a){case e:l=(t-r)/v+(t<r?6:0);break;case t:l=(r-e)/v+2;break;case r:l=(e-t)/v+4;break}l/=6}return{h:l*360,s:o,l:f,a:i}},toHSV:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255,i=this.alpha,a=Math.max(e,t,r),n=Math.min(e,t,r),l,o,f=a,v=a-n;if(a===0?o=0:o=v/a,a===n)l=0;else{switch(a){case e:l=(t-r)/v+(t<r?6:0);break;case t:l=(r-e)/v+2;break;case r:l=(e-t)/v+4;break}l/=6}return{h:l*360,s:o,v:f,a:i}},toARGB:function(){return ua([this.alpha*255].concat(this.rgb))},compare:function(e){return e.rgb&&e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:void 0}});Ce.fromKeyword=function(e){var t,r=e.toLowerCase();if(sa.default.hasOwnProperty(r)?t=new Ce(sa.default[r].slice(1)):r==="transparent"&&(t=new Ce([0,0,0],0)),t)return t.value=e,t};function dt(e,t){return Math.min(Math.max(e,0),t)}function ua(e){return"#"+e.map(function(t){return t=dt(Math.round(t),255),(t<16?"0":"")+t.toString(16)}).join("")}ir.default=Ce});var Ge=b(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});var Uu=q(),Tu=Uu.__importDefault(A()),ar=function(e){this.value=e};ar.prototype=Object.assign(new Tu.default,{type:"Paren",genCSS:function(e,t){t.add("("),this.value.genCSS(e,t),t.add(")")},eval:function(e){return new ar(this.value.eval(e))}});nr.default=ar});var ur=b(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});var zu=q(),Nu=zu.__importDefault(A()),Wu={"":!0," ":!0,"|":!0},la=function(e){e===" "?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=e?e.trim():"",this.emptyOrWhitespace=this.value==="")};la.prototype=Object.assign(new Nu.default,{type:"Combinator",genCSS:function(e,t){var r=e.compress||Wu[this.value]?"":" ";t.add(r+this.value+r)}});sr.default=la});var De=b(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});var or=q(),Gu=or.__importDefault(A()),Hu=or.__importDefault(Ge()),oa=or.__importDefault(ur()),pt=function(e,t,r,i,a,n){this.combinator=e instanceof oa.default?e:new oa.default(e),typeof t=="string"?this.value=t.trim():t?this.value=t:this.value="",this.isVariable=r,this._index=i,this._fileInfo=a,this.copyVisibilityInfo(n),this.setParent(this.combinator,this)};pt.prototype=Object.assign(new Gu.default,{type:"Element",accept:function(e){var t=this.value;this.combinator=e.visit(this.combinator),typeof t=="object"&&(this.value=e.visit(t))},eval:function(e){return new pt(this.combinator,this.value.eval?this.value.eval(e):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(){return new pt(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},genCSS:function(e,t){t.add(this.toCSS(e),this.fileInfo(),this.getIndex())},toCSS:function(e){e=e||{};var t=this.value,r=e.firstSelector;return t instanceof Hu.default&&(e.firstSelector=!0),t=t.toCSS?t.toCSS(e):t,e.firstSelector=r,t===""&&this.combinator.value.charAt(0)==="&"?"":this.combinator.toCSS(e)+t}});lr.default=pt});var xe=b(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.RewriteUrls=Ie.Math=void 0;Ie.Math={ALWAYS:0,PARENS_DIVISION:1,PARENS:2};Ie.RewriteUrls={OFF:0,LOCAL:1,ALL:2}});var da=b(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});function j(e){return Object.prototype.toString.call(e).slice(8,-1)}function fr(e){return j(e)==="Undefined"}function cr(e){return j(e)==="Null"}function hr(e){return j(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function Ju(e){return hr(e)}function Ku(e){return hr(e)&&Object.keys(e).length===0}function fa(e){return j(e)==="Object"}function Qu(e){return fa(e)}function Zu(e){return typeof e=="function"}function vr(e){return j(e)==="Array"}function Yu(e){return vr(e)&&e.length>0}function Xu(e){return vr(e)&&e.length===0}function dr(e){return j(e)==="String"}function el(e){return dr(e)&&e!==""}function tl(e){return e===""}function ca(e){return j(e)==="Number"&&!isNaN(e)}function ha(e){return j(e)==="Boolean"}function rl(e){return j(e)==="RegExp"}function il(e){return j(e)==="Map"}function nl(e){return j(e)==="WeakMap"}function al(e){return j(e)==="Set"}function sl(e){return j(e)==="WeakSet"}function va(e){return j(e)==="Symbol"}function ul(e){return j(e)==="Date"&&!isNaN(e)}function ll(e){return j(e)==="Blob"}function ol(e){return j(e)==="File"}function fl(e){return j(e)==="Promise"}function cl(e){return j(e)==="Error"}function hl(e){return j(e)==="Number"&&isNaN(e)}function vl(e){return ha(e)||cr(e)||fr(e)||ca(e)||dr(e)||va(e)}function dl(e){return cr(e)||fr(e)}function pl(e,t){if(!(t instanceof Function))throw new TypeError("Type must be a function");if(!Object.prototype.hasOwnProperty.call(t,"prototype"))throw new TypeError("Type is not a class");var r=t.name;return j(e)===r||Boolean(e&&e.constructor===t)}O.getType=j;O.isAnyObject=fa;O.isArray=vr;O.isBlob=ll;O.isBoolean=ha;O.isDate=ul;O.isEmptyArray=Xu;O.isEmptyObject=Ku;O.isEmptyString=tl;O.isError=cl;O.isFile=ol;O.isFullArray=Yu;O.isFullString=el;O.isFunction=Zu;O.isMap=il;O.isNaNValue=hl;O.isNull=cr;O.isNullOrUndefined=dl;O.isNumber=ca;O.isObject=Ju;O.isObjectLike=Qu;O.isPlainObject=hr;O.isPrimitive=vl;O.isPromise=fl;O.isRegExp=rl;O.isSet=al;O.isString=dr;O.isSymbol=va;O.isType=pl;O.isUndefined=fr;O.isWeakMap=nl;O.isWeakSet=sl});var pa=b(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});var mr=da();function ml(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<r;t++)for(var n=arguments[t],l=0,o=n.length;l<o;l++,a++)i[a]=n[l];return i}function _l(e,t,r,i,a){var n={}.propertyIsEnumerable.call(i,t)?"enumerable":"nonenumerable";n==="enumerable"&&(e[t]=r),a&&n==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function _r(e,t){if(t===void 0&&(t={}),mr.isArray(e))return e.map(function(a){return _r(a,t)});if(!mr.isPlainObject(e))return e;var r=Object.getOwnPropertyNames(e),i=Object.getOwnPropertySymbols(e);return ml(r,i).reduce(function(a,n){if(mr.isArray(t.props)&&!t.props.includes(n))return a;var l=e[n],o=_r(l,t);return _l(a,n,o,e,t.nonenumerable),a},{})}pr.copy=_r});var L=b($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.flattenArray=$.merge=$.copyOptions=$.defaults=$.clone=$.copyArray=$.getLocation=void 0;var gl=q(),ae=gl.__importStar(xe()),ma=pa();function yl(e,t){for(var r=e+1,i=null,a=-1;--r>=0&&t.charAt(r)!==`
|
|
2
|
-
`;)a++;return typeof e=="number"&&(i=(t.slice(0,e).match(/\n/g)||"").length),{line:i,column:a}}$.getLocation=
|
|
3
|
-
`):"";if(this.type=e.type||"Syntax",this.filename=i,this.index=e.index,this.line=typeof l=="number"?l+1:null,this.column=o,!this.line&&this.stack){var p=this.stack.match(
|
|
1
|
+
var less=(()=>{var xu=Object.create,ft=Object.defineProperty,Mu=Object.getPrototypeOf,Au=Object.prototype.hasOwnProperty,ku=Object.getOwnPropertyNames,Ou=Object.getOwnPropertyDescriptor;var Pu=e=>ft(e,"__esModule",{value:!0});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Eu=(e,t)=>{for(var r in t)ft(e,r,{get:t[r],enumerable:!0})},Ru=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ku(t))!Au.call(e,i)&&i!=="default"&&ft(e,i,{get:()=>t[i],enumerable:!(r=Ou(t,i))||r.enumerable});return e},ju=e=>Ru(Pu(ft(e!=null?xu(Mu(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var q=b((hv,ct)=>{var jn,Fn,Vn,$n,Ln,Bn,Un,Tn,zn,ht,Qt,Nn,Wn,qe,Gn,Hn,Jn,Kn,Qn,Zn,Yn,Xn,ea;(function(e){var t=typeof window=="object"?window:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(i){e(r(t,r(i)))}):typeof ct=="object"&&typeof ct.exports=="object"?e(r(t,r(ct.exports))):e(r(t));function r(i,a){return i!==t&&(typeof Object.create=="function"?Object.defineProperty(i,"__esModule",{value:!0}):i.__esModule=!0),function(n,l){return i[n]=a?a(n,l):l}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)i.hasOwnProperty(a)&&(r[a]=i[a])};jn=function(r,i){t(r,i);function a(){this.constructor=r}r.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)},Fn=Object.assign||function(r){for(var i,a=1,n=arguments.length;a<n;a++){i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},Vn=function(r,i){var a={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&i.indexOf(n)<0&&(a[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(r);l<n.length;l++)i.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(r,n[l])&&(a[n[l]]=r[n[l]]);return a},$n=function(r,i,a,n){var l=arguments.length,o=l<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,a):n,f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,i,a,n);else for(var v=r.length-1;v>=0;v--)(f=r[v])&&(o=(l<3?f(o):l>3?f(i,a,o):f(i,a))||o);return l>3&&o&&Object.defineProperty(i,a,o),o},Ln=function(r,i){return function(a,n){i(a,n,r)}},Bn=function(r,i){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,i)},Un=function(r,i,a,n){function l(o){return o instanceof a?o:new a(function(f){f(o)})}return new(a||(a=Promise))(function(o,f){function v(u){try{s(n.next(u))}catch(c){f(c)}}function p(u){try{s(n.throw(u))}catch(c){f(c)}}function s(u){u.done?o(u.value):l(u.value).then(v,p)}s((n=n.apply(r,i||[])).next())})},Tn=function(r,i){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,l,o,f;return f={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function v(s){return function(u){return p([s,u])}}function p(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,l&&(o=s[0]&2?l.return:s[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,s[1])).done)return o;switch(l=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,l=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=i.call(r,a)}catch(u){s=[6,u],l=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ea=function(r,i,a,n){n===void 0&&(n=a),r[n]=i[a]},zn=function(r,i){for(var a in r)a!=="default"&&!i.hasOwnProperty(a)&&(i[a]=r[a])},ht=function(r){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&r[i],n=0;if(a)return a.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},Qt=function(r,i){var a=typeof Symbol=="function"&&r[Symbol.iterator];if(!a)return r;var n=a.call(r),l,o=[],f;try{for(;(i===void 0||i-- >0)&&!(l=n.next()).done;)o.push(l.value)}catch(v){f={error:v}}finally{try{l&&!l.done&&(a=n.return)&&a.call(n)}finally{if(f)throw f.error}}return o},Nn=function(){for(var r=[],i=0;i<arguments.length;i++)r=r.concat(Qt(arguments[i]));return r},Wn=function(){for(var r=0,i=0,a=arguments.length;i<a;i++)r+=arguments[i].length;for(var n=Array(r),l=0,i=0;i<a;i++)for(var o=arguments[i],f=0,v=o.length;f<v;f++,l++)n[l]=o[f];return n},qe=function(r){return this instanceof qe?(this.v=r,this):new qe(r)},Gn=function(r,i,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(r,i||[]),l,o=[];return l={},f("next"),f("throw"),f("return"),l[Symbol.asyncIterator]=function(){return this},l;function f(h){n[h]&&(l[h]=function(d){return new Promise(function(m,_){o.push([h,d,m,_])>1||v(h,d)})})}function v(h,d){try{p(n[h](d))}catch(m){c(o[0][3],m)}}function p(h){h.value instanceof qe?Promise.resolve(h.value.v).then(s,u):c(o[0][2],h)}function s(h){v("next",h)}function u(h){v("throw",h)}function c(h,d){h(d),o.shift(),o.length&&v(o[0][0],o[0][1])}},Hn=function(r){var i,a;return i={},n("next"),n("throw",function(l){throw l}),n("return"),i[Symbol.iterator]=function(){return this},i;function n(l,o){i[l]=r[l]?function(f){return(a=!a)?{value:qe(r[l](f)),done:l==="return"}:o?o(f):f}:o}},Jn=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r[Symbol.asyncIterator],a;return i?i.call(r):(r=typeof ht=="function"?ht(r):r[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(o){a[o]=r[o]&&function(f){return new Promise(function(v,p){f=r[o](f),l(v,p,f.done,f.value)})}}function l(o,f,v,p){Promise.resolve(p).then(function(s){o({value:s,done:v})},f)}},Kn=function(r,i){return Object.defineProperty?Object.defineProperty(r,"raw",{value:i}):r.raw=i,r},Qn=function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a in r)Object.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i.default=r,i},Zn=function(r){return r&&r.__esModule?r:{default:r}},Yn=function(r,i){if(!i.has(r))throw new TypeError("attempted to get private field on non-instance");return i.get(r)},Xn=function(r,i,a){if(!i.has(r))throw new TypeError("attempted to set private field on non-instance");return i.set(r,a),a},e("__extends",jn),e("__assign",Fn),e("__rest",Vn),e("__decorate",$n),e("__param",Ln),e("__metadata",Bn),e("__awaiter",Un),e("__generator",Tn),e("__exportStar",zn),e("__createBinding",ea),e("__values",ht),e("__read",Qt),e("__spread",Nn),e("__spreadArrays",Wn),e("__await",qe),e("__asyncGenerator",Gn),e("__asyncDelegator",Hn),e("__asyncValues",Jn),e("__makeTemplateObject",Kn),e("__importStar",Qn),e("__importDefault",Zn),e("__classPrivateFieldGet",Yn),e("__classPrivateFieldSet",Xn)})});var _e=b(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t<this._listeners.length;t++)if(this._listeners[t]===e){this._listeners.splice(t,1);return}},_fireEvent:function(e,t){for(var r=0;r<this._listeners.length;r++){var i=this._listeners[r][e];i&&i(t)}},_listeners:[]}});var ra=b(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});var Fu=q(),ta=Fu.__importDefault(_e()),Vu=function(){function e(t,r){this.fileManagers=r||[],t=t||{};for(var i=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"],a=[],n=a.concat(i),l=0;l<n.length;l++){var o=n[l],f=t[o];f?this[o]=f.bind(t):l<a.length&&this.warn("missing required function in environment - "+o)}}return e.prototype.getFileManager=function(t,r,i,a,n){t||ta.default.warn("getFileManager called with no filename.. Please report this issue. continuing."),r==null&&ta.default.warn("getFileManager called with null directory.. Please report this issue. continuing.");var l=this.fileManagers;i.pluginManager&&(l=[].concat(l).concat(i.pluginManager.getFileManagers()));for(var o=l.length-1;o>=0;o--){var f=l[o];if(f[n?"supportsSync":"supports"](t,r,i,a))return f}return null},e.prototype.addFileManager=function(t){this.fileManagers.push(t)},e.prototype.clearFileManagers=function(){this.fileManagers=[]},e}();Yt.default=Vu});var er=b(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}});var vt=b(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.default={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:1/400,turn:1}}});var na=b(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});var ia=q(),$u=ia.__importDefault(er()),Lu=ia.__importDefault(vt());rr.default={colors:$u.default,unitConversions:Lu.default}});var A=b(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var Bu=function(){function e(){this.parent=null,this.visibilityBlocks=void 0,this.nodeVisible=void 0,this.rootNode=null,this.parsed=null;var t=this;Object.defineProperty(this,"currentFileInfo",{get:function(){return t.fileInfo()}}),Object.defineProperty(this,"index",{get:function(){return t.getIndex()}})}return e.prototype.setParent=function(t,r){function i(a){a&&a instanceof e&&(a.parent=r)}Array.isArray(t)?t.forEach(i):i(t)},e.prototype.getIndex=function(){return this._index||this.parent&&this.parent.getIndex()||0},e.prototype.fileInfo=function(){return this._fileInfo||this.parent&&this.parent.fileInfo()||{}},e.prototype.isRulesetLike=function(){return!1},e.prototype.toCSS=function(t){var r=[];return this.genCSS(t,{add:function(i,a,n){r.push(i)},isEmpty:function(){return r.length===0}}),r.join("")},e.prototype.genCSS=function(t,r){r.add(this.value)},e.prototype.accept=function(t){this.value=t.visit(this.value)},e.prototype.eval=function(){return this},e.prototype._operate=function(t,r,i,a){switch(r){case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a}},e.prototype.fround=function(t,r){var i=t&&t.numPrecision;return i?Number((r+2e-16).toFixed(i)):r},e.compare=function(t,r){if(t.compare&&!(r.type==="Quoted"||r.type==="Anonymous"))return t.compare(r);if(r.compare)return-r.compare(t);if(t.type!==r.type)return;if(t=t.value,r=r.value,!Array.isArray(t))return t===r?0:void 0;if(t.length===r.length){for(var i=0;i<t.length;i++)if(e.compare(t[i],r[i])!==0)return;return 0}},e.numericCompare=function(t,r){return t<r?-1:t===r?0:t>r?1:void 0},e.prototype.blocksVisibility=function(){return this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks!==0},e.prototype.addVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},e.prototype.removeVisibilityBlock=function(){this.visibilityBlocks==null&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},e.prototype.ensureVisibility=function(){this.nodeVisible=!0},e.prototype.ensureInvisibility=function(){this.nodeVisible=!1},e.prototype.isVisible=function(){return this.nodeVisible},e.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},e.prototype.copyVisibilityInfo=function(t){!t||(this.visibilityBlocks=t.visibilityBlocks,this.nodeVisible=t.nodeVisible)},e}();ir.default=Bu});var fe=b(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});var aa=q(),Uu=aa.__importDefault(A()),sa=aa.__importDefault(er()),Ce=function(e,t,r){var i=this;Array.isArray(e)?this.rgb=e:e.length>=6?(this.rgb=[],e.match(/.{2}/g).map(function(a,n){n<3?i.rgb.push(parseInt(a,16)):i.alpha=parseInt(a,16)/255})):(this.rgb=[],e.split("").map(function(a,n){n<3?i.rgb.push(parseInt(a+a,16)):i.alpha=parseInt(a+a,16)/255})),this.alpha=this.alpha||(typeof t=="number"?t:1),typeof r!="undefined"&&(this.value=r)};Ce.prototype=Object.assign(new Uu.default,{type:"Color",luma:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255;return e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),r=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*t+.0722*r},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e,t){var r=e&&e.compress&&!t,i,a,n,l=[];if(a=this.fround(e,this.alpha),this.value)if(this.value.indexOf("rgb")===0)a<1&&(n="rgba");else if(this.value.indexOf("hsl")===0)a<1?n="hsla":n="hsl";else return this.value;else a<1&&(n="rgba");switch(n){case"rgba":l=this.rgb.map(function(f){return dt(Math.round(f),255)}).concat(dt(a,1));break;case"hsla":l.push(dt(a,1));case"hsl":i=this.toHSL(),l=[this.fround(e,i.h),this.fround(e,i.s*100)+"%",this.fround(e,i.l*100)+"%"].concat(l)}if(n)return n+"("+l.join(","+(r?"":" "))+")";if(i=this.toRGB(),r){var o=i.split("");o[1]===o[2]&&o[3]===o[4]&&o[5]===o[6]&&(i="#"+o[1]+o[3]+o[5])}return i},operate:function(e,t,r){for(var i=new Array(3),a=this.alpha*(1-r.alpha)+r.alpha,n=0;n<3;n++)i[n]=this._operate(e,t,this.rgb[n],r.rgb[n]);return new Ce(i,a)},toRGB:function(){return ua(this.rgb)},toHSL:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255,i=this.alpha,a=Math.max(e,t,r),n=Math.min(e,t,r),l,o,f=(a+n)/2,v=a-n;if(a===n)l=o=0;else{switch(o=f>.5?v/(2-a-n):v/(a+n),a){case e:l=(t-r)/v+(t<r?6:0);break;case t:l=(r-e)/v+2;break;case r:l=(e-t)/v+4;break}l/=6}return{h:l*360,s:o,l:f,a:i}},toHSV:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,r=this.rgb[2]/255,i=this.alpha,a=Math.max(e,t,r),n=Math.min(e,t,r),l,o,f=a,v=a-n;if(a===0?o=0:o=v/a,a===n)l=0;else{switch(a){case e:l=(t-r)/v+(t<r?6:0);break;case t:l=(r-e)/v+2;break;case r:l=(e-t)/v+4;break}l/=6}return{h:l*360,s:o,v:f,a:i}},toARGB:function(){return ua([this.alpha*255].concat(this.rgb))},compare:function(e){return e.rgb&&e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:void 0}});Ce.fromKeyword=function(e){var t,r=e.toLowerCase();if(sa.default.hasOwnProperty(r)?t=new Ce(sa.default[r].slice(1)):r==="transparent"&&(t=new Ce([0,0,0],0)),t)return t.value=e,t};function dt(e,t){return Math.min(Math.max(e,0),t)}function ua(e){return"#"+e.map(function(t){return t=dt(Math.round(t),255),(t<16?"0":"")+t.toString(16)}).join("")}nr.default=Ce});var He=b(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});var Tu=q(),zu=Tu.__importDefault(A()),sr=function(e){this.value=e};sr.prototype=Object.assign(new zu.default,{type:"Paren",genCSS:function(e,t){t.add("("),this.value.genCSS(e,t),t.add(")")},eval:function(e){return new sr(this.value.eval(e))}});ar.default=sr});var lr=b(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});var Nu=q(),Wu=Nu.__importDefault(A()),Gu={"":!0," ":!0,"|":!0},la=function(e){e===" "?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=e?e.trim():"",this.emptyOrWhitespace=this.value==="")};la.prototype=Object.assign(new Wu.default,{type:"Combinator",genCSS:function(e,t){var r=e.compress||Gu[this.value]?"":" ";t.add(r+this.value+r)}});ur.default=la});var De=b(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});var fr=q(),Hu=fr.__importDefault(A()),Ju=fr.__importDefault(He()),oa=fr.__importDefault(lr()),pt=function(e,t,r,i,a,n){this.combinator=e instanceof oa.default?e:new oa.default(e),typeof t=="string"?this.value=t.trim():t?this.value=t:this.value="",this.isVariable=r,this._index=i,this._fileInfo=a,this.copyVisibilityInfo(n),this.setParent(this.combinator,this)};pt.prototype=Object.assign(new Hu.default,{type:"Element",accept:function(e){var t=this.value;this.combinator=e.visit(this.combinator),typeof t=="object"&&(this.value=e.visit(t))},eval:function(e){return new pt(this.combinator,this.value.eval?this.value.eval(e):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(){return new pt(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},genCSS:function(e,t){t.add(this.toCSS(e),this.fileInfo(),this.getIndex())},toCSS:function(e){e=e||{};var t=this.value,r=e.firstSelector;return t instanceof Ju.default&&(e.firstSelector=!0),t=t.toCSS?t.toCSS(e):t,e.firstSelector=r,t===""&&this.combinator.value.charAt(0)==="&"?"":this.combinator.toCSS(e)+t}});or.default=pt});var xe=b(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.RewriteUrls=Ie.Math=void 0;Ie.Math={ALWAYS:0,PARENS_DIVISION:1,PARENS:2};Ie.RewriteUrls={OFF:0,LOCAL:1,ALL:2}});var pa=b(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});function j(e){return Object.prototype.toString.call(e).slice(8,-1)}function cr(e){return j(e)==="Undefined"}function hr(e){return j(e)==="Null"}function mt(e){return j(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function Ku(e){return mt(e)}function Qu(e){return mt(e)&&Object.keys(e).length===0}function Zu(e){return mt(e)&&Object.keys(e).length>0}function fa(e){return j(e)==="Object"}function Yu(e){return fa(e)}function Xu(e){return typeof e=="function"}function vr(e){return j(e)==="Array"}function el(e){return vr(e)&&e.length>0}function tl(e){return vr(e)&&e.length===0}function dr(e){return j(e)==="String"}function rl(e){return dr(e)&&e!==""}function il(e){return e===""}function ca(e){return j(e)==="Number"&&!isNaN(e)}function ha(e){return j(e)==="Boolean"}function nl(e){return j(e)==="RegExp"}function al(e){return j(e)==="Map"}function sl(e){return j(e)==="WeakMap"}function ul(e){return j(e)==="Set"}function ll(e){return j(e)==="WeakSet"}function va(e){return j(e)==="Symbol"}function ol(e){return j(e)==="Date"&&!isNaN(e)}function fl(e){return j(e)==="Blob"}function cl(e){return j(e)==="File"}function hl(e){return j(e)==="Promise"}function vl(e){return j(e)==="Error"}function dl(e){return j(e)==="Number"&&isNaN(e)}function pl(e){return ha(e)||hr(e)||cr(e)||ca(e)||dr(e)||va(e)}var ml=da(hr,cr);function da(e,t,r,i,a){return function(n){return e(n)||t(n)||!!r&&r(n)||!!i&&i(n)||!!a&&a(n)}}function _l(e,t){if(!(t instanceof Function))throw new TypeError("Type must be a function");if(!Object.prototype.hasOwnProperty.call(t,"prototype"))throw new TypeError("Type is not a class");var r=t.name;return j(e)===r||Boolean(e&&e.constructor===t)}k.getType=j;k.isAnyObject=fa;k.isArray=vr;k.isBlob=fl;k.isBoolean=ha;k.isDate=ol;k.isEmptyArray=tl;k.isEmptyObject=Qu;k.isEmptyString=il;k.isError=vl;k.isFile=cl;k.isFullArray=el;k.isFullObject=Zu;k.isFullString=rl;k.isFunction=Xu;k.isMap=al;k.isNaNValue=dl;k.isNull=hr;k.isNullOrUndefined=ml;k.isNumber=ca;k.isObject=Ku;k.isObjectLike=Yu;k.isOneOf=da;k.isPlainObject=mt;k.isPrimitive=pl;k.isPromise=hl;k.isRegExp=nl;k.isSet=ul;k.isString=dr;k.isSymbol=va;k.isType=_l;k.isUndefined=cr;k.isWeakMap=sl;k.isWeakSet=ll});var ma=b(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});var mr=pa();function gl(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<r;t++)for(var n=arguments[t],l=0,o=n.length;l<o;l++,a++)i[a]=n[l];return i}function yl(e,t,r,i,a){var n={}.propertyIsEnumerable.call(i,t)?"enumerable":"nonenumerable";n==="enumerable"&&(e[t]=r),a&&n==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function _r(e,t){if(t===void 0&&(t={}),mr.isArray(e))return e.map(function(a){return _r(a,t)});if(!mr.isPlainObject(e))return e;var r=Object.getOwnPropertyNames(e),i=Object.getOwnPropertySymbols(e);return gl(r,i).reduce(function(a,n){if(mr.isArray(t.props)&&!t.props.includes(n))return a;var l=e[n],o=_r(l,t);return yl(a,n,o,e,t.nonenumerable),a},{})}pr.copy=_r});var L=b($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.flattenArray=$.merge=$.copyOptions=$.defaults=$.clone=$.copyArray=$.getLocation=void 0;var bl=q(),ae=bl.__importStar(xe()),_a=ma();function wl(e,t){for(var r=e+1,i=null,a=-1;--r>=0&&t.charAt(r)!==`
|
|
2
|
+
`;)a++;return typeof e=="number"&&(i=(t.slice(0,e).match(/\n/g)||"").length),{line:i,column:a}}$.getLocation=wl;function Sl(e){var t,r=e.length,i=new Array(r);for(t=0;t<r;t++)i[t]=e[t];return i}$.copyArray=Sl;function ql(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}$.clone=ql;function ga(e,t){var r=t||{};if(!t._defaults){r={};var i=_a.copy(e);r._defaults=i;var a=t?_a.copy(t):{};Object.assign(r,i,a)}return r}$.defaults=ga;function Cl(e,t){if(t&&t._defaults)return t;var r=ga(e,t);if(r.strictMath&&(r.math=ae.Math.PARENS),r.relativeUrls&&(r.rewriteUrls=ae.RewriteUrls.ALL),typeof r.math=="string")switch(r.math.toLowerCase()){case"always":r.math=ae.Math.ALWAYS;break;case"parens-division":r.math=ae.Math.PARENS_DIVISION;break;case"strict":case"parens":r.math=ae.Math.PARENS;break;default:r.math=ae.Math.PARENS}if(typeof r.rewriteUrls=="string")switch(r.rewriteUrls.toLowerCase()){case"off":r.rewriteUrls=ae.RewriteUrls.OFF;break;case"local":r.rewriteUrls=ae.RewriteUrls.LOCAL;break;case"all":r.rewriteUrls=ae.RewriteUrls.ALL;break}return r}$.copyOptions=Cl;function Dl(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}$.merge=Dl;function ya(e,t){t===void 0&&(t=[]);for(var r=0,i=e.length;r<i;r++){var a=e[r];Array.isArray(a)?ya(a,t):a!==void 0&&t.push(a)}return t}$.flattenArray=ya});var Y=b(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var Il=q(),ba=Il.__importStar(L()),wa=/(<anonymous>|Function):(\d+):(\d+)/,Me=function(e,t,r){Error.call(this);var i=e.filename||r;if(this.message=e.message,this.stack=e.stack,t&&i){var a=t.contents[i],n=ba.getLocation(e.index,a),l=n.line,o=n.column,f=e.call&&ba.getLocation(e.call,a).line,v=a?a.split(`
|
|
3
|
+
`):"";if(this.type=e.type||"Syntax",this.filename=i,this.index=e.index,this.line=typeof l=="number"?l+1:null,this.column=o,!this.line&&this.stack){var p=this.stack.match(wa),s=new Function("a","throw new Error()"),u=0;try{s()}catch(h){var c=h.stack.match(wa),l=parseInt(c[2]);u=1-l}p&&(p[2]&&(this.line=parseInt(p[2])+u),p[3]&&(this.column=parseInt(p[3])))}this.callLine=f+1,this.callExtract=v[f],this.extract=[v[this.line-2],v[this.line-1],v[this.line]]}};typeof Object.create=="undefined"?(yr=function(){},yr.prototype=Error.prototype,Me.prototype=new yr):Me.prototype=Object.create(Error.prototype);var yr;Me.prototype.constructor=Me;Me.prototype.toString=function(e){e=e||{};var t="",r=this.extract||[],i=[],a=function(o){return o};if(e.stylize){var n=typeof e.stylize;if(n!=="function")throw Error("options.stylize should be a function, got a "+n+"!");a=e.stylize}if(this.line!==null){if(typeof r[0]=="string"&&i.push(a(this.line-1+" "+r[0],"grey")),typeof r[1]=="string"){var l=this.line+" ";r[1]&&(l+=r[1].slice(0,this.column)+a(a(a(r[1].substr(this.column,1),"bold")+r[1].slice(this.column+1),"red"),"inverse")),i.push(l)}typeof r[2]=="string"&&i.push(a(this.line+1+" "+r[2],"grey")),i=i.join(`
|
|
4
4
|
`)+a("","reset")+`
|
|
5
5
|
`}return t+=a(this.type+"Error: "+this.message,"red"),this.filename&&(t+=a(" in ","red")+this.filename),this.line&&(t+=a(" on line "+this.line+", column "+(this.column+1)+":","grey")),t+=`
|
|
6
|
-
`+i,this.callLine&&(t+=a("from ","red")+(this.filename||"")+"/n",t+=a(this.callLine,"grey")+" "+this.callExtract+"/n"),t};gr.default=Me});var X=b(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});var wr=q(),
|
|
6
|
+
`+i,this.callLine&&(t+=a("from ","red")+(this.filename||"")+"/n",t+=a(this.callLine,"grey")+" "+this.callExtract+"/n"),t};gr.default=Me});var X=b(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});var wr=q(),xl=wr.__importDefault(A()),Sa=wr.__importDefault(De()),Ml=wr.__importDefault(Y()),_t=function(e,t,r,i,a,n){this.extendList=t,this.condition=r,this.evaldCondition=!r,this._index=i,this._fileInfo=a,this.elements=this.getElements(e),this.mixinElements_=void 0,this.copyVisibilityInfo(n),this.setParent(this.elements,this)};_t.prototype=Object.assign(new xl.default,{type:"Selector",accept:function(e){this.elements&&(this.elements=e.visitArray(this.elements)),this.extendList&&(this.extendList=e.visitArray(this.extendList)),this.condition&&(this.condition=e.visit(this.condition))},createDerived:function(e,t,r){e=this.getElements(e);var i=new _t(e,t||this.extendList,null,this.getIndex(),this.fileInfo(),this.visibilityInfo());return i.evaldCondition=r??this.evaldCondition,i.mediaEmpty=this.mediaEmpty,i},getElements:function(e){return e?(typeof e=="string"&&this.parse.parseNode(e,["selector"],this._index,this._fileInfo,function(t,r){if(t)throw new Ml.default({index:t.index,message:t.message},this.parse.imports,this._fileInfo.filename);e=r[0].elements}),e):[new Sa.default("","&",!1,this._index,this._fileInfo)]},createEmptySelectors:function(){var e=new Sa.default("","&",!1,this._index,this._fileInfo),t=[new _t([e],null,null,this._index,this._fileInfo)];return t[0].mediaEmpty=!0,t},match:function(e){var t=this.elements,r=t.length,i,a;if(e=e.mixinElements(),i=e.length,i===0||r<i)return 0;for(a=0;a<i;a++)if(t[a].value!==e[a])return 0;return i},mixinElements:function(){if(this.mixinElements_)return this.mixinElements_;var e=this.elements.map(function(t){return t.combinator.value+(t.value.value||t.value)}).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);return e?e[0]==="&"&&e.shift():e=[],this.mixinElements_=e},isJustParentSelector:function(){return!this.mediaEmpty&&this.elements.length===1&&this.elements[0].value==="&"&&(this.elements[0].combinator.value===" "||this.elements[0].combinator.value==="")},eval:function(e){var t=this.condition&&this.condition.eval(e),r=this.elements,i=this.extendList;return r=r&&r.map(function(a){return a.eval(e)}),i=i&&i.map(function(a){return a.eval(e)}),this.createDerived(r,i,t)},genCSS:function(e,t){var r,i;for((!e||!e.firstSelector)&&this.elements[0].combinator.value===""&&t.add(" ",this.fileInfo(),this.getIndex()),r=0;r<this.elements.length;r++)i=this.elements[r],i.genCSS(e,t)},getIsOutput:function(){return this.evaldCondition}});br.default=_t});var Je=b(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});var Al=q(),kl=Al.__importDefault(A()),qr=function(e){if(!e)throw new Error("Value requires an array argument");Array.isArray(e)?this.value=e:this.value=[e]};qr.prototype=Object.assign(new kl.default,{type:"Value",accept:function(e){this.value&&(this.value=e.visitArray(this.value))},eval:function(e){return this.value.length===1?this.value[0].eval(e):new qr(this.value.map(function(t){return t.eval(e)}))},genCSS:function(e,t){var r;for(r=0;r<this.value.length;r++)this.value[r].genCSS(e,t),r+1<this.value.length&&t.add(e&&e.compress?",":", ")}});Sr.default=qr});var ge=b(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});var Ol=q(),Pl=Ol.__importDefault(A()),Ae=function(e){this.value=e};Ae.prototype=Object.assign(new Pl.default,{type:"Keyword",genCSS:function(e,t){if(this.value==="%")throw{type:"Syntax",message:"Invalid % without number"};t.add(this.value)}});Ae.True=new Ae("true");Ae.False=new Ae("false");Cr.default=Ae});var U=b(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});var El=q(),Rl=El.__importDefault(A()),Ir=function(e,t,r,i,a,n){this.value=e,this._index=t,this._fileInfo=r,this.mapLines=i,this.rulesetLike=typeof a=="undefined"?!1:a,this.allowRoot=!0,this.copyVisibilityInfo(n)};Ir.prototype=Object.assign(new Rl.default,{type:"Anonymous",eval:function(){return new Ir(this.value,this._index,this._fileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},compare:function(e){return e.toCSS&&this.toCSS()===e.toCSS()?0:void 0},isRulesetLike:function(){return this.rulesetLike},genCSS:function(e,t){this.nodeVisible=Boolean(this.value),this.nodeVisible&&t.add(this.value,this._fileInfo,this._index,this.mapLines)}});Dr.default=Ir});var ke=b(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var Ke=q(),qa=Ke.__importDefault(A()),jl=Ke.__importDefault(Je()),Fl=Ke.__importDefault(ge()),Vl=Ke.__importDefault(U()),$l=Ke.__importStar(xe()),Ca=$l.Math;function Ll(e,t){var r="",i,a=t.length,n={add:function(l){r+=l}};for(i=0;i<a;i++)t[i].eval(e).genCSS(e,n);return r}var gt=function(e,t,r,i,a,n,l,o){this.name=e,this.value=t instanceof qa.default?t:new jl.default([t?new Vl.default(t):null]),this.important=r?" "+r.trim():"",this.merge=i,this._index=a,this._fileInfo=n,this.inline=l||!1,this.variable=o!==void 0?o:e.charAt&&e.charAt(0)==="@",this.allowRoot=!0,this.setParent(this.value,this)};gt.prototype=Object.assign(new qa.default,{type:"Declaration",genCSS:function(e,t){t.add(this.name+(e.compress?":":": "),this.fileInfo(),this.getIndex());try{this.value.genCSS(e,t)}catch(r){throw r.index=this._index,r.filename=this._fileInfo.filename,r}t.add(this.important+(this.inline||e.lastRule&&e.compress?"":";"),this._fileInfo,this._index)},eval:function(e){var t=!1,r,i=this.name,a,n=this.variable;typeof i!="string"&&(i=i.length===1&&i[0]instanceof Fl.default?i[0].value:Ll(e,i),n=!1),i==="font"&&e.math===Ca.ALWAYS&&(t=!0,r=e.math,e.math=Ca.PARENS_DIVISION);try{if(e.importantScope.push({}),a=this.value.eval(e),!this.variable&&a.type==="DetachedRuleset")throw{message:"Rulesets cannot be evaluated on a property.",index:this.getIndex(),filename:this.fileInfo().filename};var l=this.important,o=e.importantScope.pop();return!l&&o.important&&(l=o.important),new gt(i,a,l,this.merge,this.getIndex(),this.fileInfo(),this.inline,n)}catch(f){throw typeof f.index!="number"&&(f.index=this.getIndex(),f.filename=this.fileInfo().filename),f}finally{t&&(e.math=r)}},makeImportant:function(){return new gt(this.name,this.value,"!important",this.merge,this.getIndex(),this.fileInfo(),this.inline)}});xr.default=gt});var Ar=b(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});var Bl=function(){function e(t,r,i){var a="";if(t.dumpLineNumbers&&!t.compress)switch(t.dumpLineNumbers){case"comments":a=e.asComment(r);break;case"mediaquery":a=e.asMediaQuery(r);break;case"all":a=e.asComment(r)+(i||"")+e.asMediaQuery(r);break}return a}return e.asComment=function(t){return"/* line "+t.debugInfo.lineNumber+", "+t.debugInfo.fileName+` */
|
|
7
7
|
`},e.asMediaQuery=function(t){var r=t.debugInfo.fileName;return/^[a-z]+:\/\//i.test(r)||(r="file://"+r),"@media -sass-debug-info{filename{font-family:"+r.replace(/([.:\/\\])/g,function(i){return i=="\\"&&(i="/"),"\\"+i})+"}line{font-family:\\00003"+t.debugInfo.lineNumber+`}}
|
|
8
|
-
`},e}();Mr.default
|
|
8
|
+
`},e}();Mr.default=Bl});var Qe=b(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});var Da=q(),Ul=Da.__importDefault(A()),Tl=Da.__importDefault(Ar()),Ia=function(e,t,r,i){this.value=e,this.isLineComment=t,this._index=r,this._fileInfo=i,this.allowRoot=!0};Ia.prototype=Object.assign(new Ul.default,{type:"Comment",genCSS:function(e,t){this.debugInfo&&t.add(Tl.default(e,this),this.fileInfo(),this.getIndex()),t.add(this.value)},isSilent:function(e){var t=e.compress&&this.value[2]!=="!";return this.isLineComment||t}});kr.default=Ia});var se=b(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});var zl=q(),W={};Or.default=W;var Pr=zl.__importStar(xe()),xa=function(t,r,i){if(!!t)for(var a=0;a<i.length;a++)t.hasOwnProperty(i[a])&&(r[i[a]]=t[i[a]])},Nl=["paths","rewriteUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","pluginManager"];W.Parse=function(e){xa(e,this,Nl),typeof this.paths=="string"&&(this.paths=[this.paths])};var Wl=["paths","compress","math","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope","rewriteUrls"];W.Eval=function(e,t){xa(e,this,Wl),typeof this.paths=="string"&&(this.paths=[this.paths]),this.frames=t||[],this.importantScope=this.importantScope||[]};W.Eval.prototype.enterCalc=function(){this.calcStack||(this.calcStack=[]),this.calcStack.push(!0),this.inCalc=!0};W.Eval.prototype.exitCalc=function(){this.calcStack.pop(),this.calcStack.length||(this.inCalc=!1)};W.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]),this.parensStack.push(!0)};W.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()};W.Eval.prototype.inCalc=!1;W.Eval.prototype.mathOn=!0;W.Eval.prototype.isMathOn=function(e){return!this.mathOn||e==="/"&&this.math!==Pr.Math.ALWAYS&&(!this.parensStack||!this.parensStack.length)?!1:this.math>Pr.Math.PARENS_DIVISION?this.parensStack&&this.parensStack.length:!0};W.Eval.prototype.pathRequiresRewrite=function(e){var t=this.rewriteUrls===Pr.RewriteUrls.LOCAL?Er:Ma;return t(e)};W.Eval.prototype.rewritePath=function(e,t){var r;return t=t||"",r=this.normalizePath(t+e),Er(e)&&Ma(t)&&Er(r)===!1&&(r="./"+r),r};W.Eval.prototype.normalizePath=function(e){var t=e.split("/").reverse(),r;for(e=[];t.length!==0;)switch(r=t.pop(),r){case".":break;case"..":e.length===0||e[e.length-1]===".."?e.push(r):e.pop();break;default:e.push(r);break}return e.join("/")};function Ma(e){return!/^(?:[a-z-]+:|\/|#)/i.test(e)}function Er(e){return e.charAt(0)==="."}});var Ze=b(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});function jr(e){return{_data:{},add:function(t,r){t=t.toLowerCase(),this._data.hasOwnProperty(t),this._data[t]=r},addMultiple:function(t){var r=this;Object.keys(t).forEach(function(i){r.add(i,t[i])})},get:function(t){return this._data[t]||e&&e.get(t)},getLocalFunctions:function(){return this._data},inherit:function(){return jr(this)},create:function(t){return jr(t)}}}Rr.default=jr(null)});var yt=b(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});var Gl=q(),Aa=Gl.__importDefault(ge()),Hl={eval:function(){var e=this.value_,t=this.error_;if(t)throw t;if(e!=null)return e?Aa.default.True:Aa.default.False},value:function(e){this.value_=e},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}};Fr.default=Hl});var ue=b(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});var G=q(),ka=G.__importDefault(A()),Oe=G.__importDefault(ke()),Jl=G.__importDefault(ge()),Kl=G.__importDefault(Qe()),$r=G.__importDefault(He()),Pe=G.__importDefault(X()),bt=G.__importDefault(De()),Ql=G.__importDefault(U()),Zl=G.__importDefault(se()),Yl=G.__importDefault(Ze()),Oa=G.__importDefault(yt()),Xl=G.__importDefault(Ar()),wt=G.__importStar(L()),Ye=function(e,t,r,i){this.selectors=e,this.rules=t,this._lookups={},this._variables=null,this._properties=null,this.strictImports=r,this.copyVisibilityInfo(i),this.allowRoot=!0,this.setParent(this.selectors,this),this.setParent(this.rules,this)};Ye.prototype=Object.assign(new ka.default,{type:"Ruleset",isRuleset:!0,isRulesetLike:function(){return!0},accept:function(e){this.paths?this.paths=e.visitArray(this.paths,!0):this.selectors&&(this.selectors=e.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=e.visitArray(this.rules))},eval:function(e){var t=this,r,i,a,n,l,o=!1;if(this.selectors&&(i=this.selectors.length)){for(r=new Array(i),Oa.default.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),n=0;n<i;n++){a=this.selectors[n].eval(e);for(var f=0;f<a.elements.length;f++)if(a.elements[f].isVariable){l=!0;break}r[n]=a,a.evaldCondition&&(o=!0)}if(l){var v=new Array(i);for(n=0;n<i;n++)a=r[n],v[n]=a.toCSS(e);this.parse.parseNode(v.join(","),["selectors"],r[0].getIndex(),r[0].fileInfo(),function(g,y){y&&(r=wt.flattenArray(y))})}Oa.default.reset()}else o=!0;var p=this.rules?wt.copyArray(this.rules):null,s=new Ye(r,p,this.strictImports,this.visibilityInfo()),u,c;s.originalRuleset=this,s.root=this.root,s.firstRoot=this.firstRoot,s.allowImports=this.allowImports,this.debugInfo&&(s.debugInfo=this.debugInfo),o||(p.length=0),s.functionRegistry=function(g){for(var y=0,S=g.length,C;y!==S;++y)if(C=g[y].functionRegistry,C)return C;return Yl.default}(e.frames).inherit();var h=e.frames;h.unshift(s);var d=e.selectors;d||(e.selectors=d=[]),d.unshift(this.selectors),(s.root||s.allowImports||!s.strictImports)&&s.evalImports(e);var m=s.rules;for(n=0;u=m[n];n++)u.evalFirst&&(m[n]=u.eval(e));var _=e.mediaBlocks&&e.mediaBlocks.length||0;for(n=0;u=m[n];n++)u.type==="MixinCall"?(p=u.eval(e).filter(function(g){return g instanceof Oe.default&&g.variable?!s.variable(g.name):!0}),m.splice.apply(m,[n,1].concat(p)),n+=p.length-1,s.resetCache()):u.type==="VariableCall"&&(p=u.eval(e).rules.filter(function(g){return!(g instanceof Oe.default&&g.variable)}),m.splice.apply(m,[n,1].concat(p)),n+=p.length-1,s.resetCache());for(n=0;u=m[n];n++)u.evalFirst||(m[n]=u=u.eval?u.eval(e):u);for(n=0;u=m[n];n++)if(u instanceof Ye&&u.selectors&&u.selectors.length===1&&u.selectors[0]&&u.selectors[0].isJustParentSelector()){m.splice(n--,1);for(var f=0;c=u.rules[f];f++)c instanceof ka.default&&(c.copyVisibilityInfo(u.visibilityInfo()),(!(c instanceof Oe.default)||!c.variable)&&m.splice(++n,0,c))}if(h.shift(),d.shift(),e.mediaBlocks)for(n=_;n<e.mediaBlocks.length;n++)e.mediaBlocks[n].bubbleSelectors(r);return s},evalImports:function(e){var t=this.rules,r,i;if(!!t)for(r=0;r<t.length;r++)t[r].type==="Import"&&(i=t[r].eval(e),i&&(i.length||i.length===0)?(t.splice.apply(t,[r,1].concat(i)),r+=i.length-1):t.splice(r,1,i),this.resetCache())},makeImportant:function(){var e=new Ye(this.selectors,this.rules.map(function(t){return t.makeImportant?t.makeImportant():t}),this.strictImports,this.visibilityInfo());return e},matchArgs:function(e){return!e||e.length===0},matchCondition:function(e,t){var r=this.selectors[this.selectors.length-1];return!(!r.evaldCondition||r.condition&&!r.condition.eval(new Zl.default.Eval(t,t.frames)))},resetCache:function(){this._rulesets=null,this._variables=null,this._properties=null,this._lookups={}},variables:function(){return this._variables||(this._variables=this.rules?this.rules.reduce(function(e,t){if(t instanceof Oe.default&&t.variable===!0&&(e[t.name]=t),t.type==="Import"&&t.root&&t.root.variables){var r=t.root.variables();for(var i in r)r.hasOwnProperty(i)&&(e[i]=t.root.variable(i))}return e},{}):{}),this._variables},properties:function(){return this._properties||(this._properties=this.rules?this.rules.reduce(function(e,t){if(t instanceof Oe.default&&t.variable!==!0){var r=t.name.length===1&&t.name[0]instanceof Jl.default?t.name[0].value:t.name;e["$"+r]?e["$"+r].push(t):e["$"+r]=[t]}return e},{}):{}),this._properties},variable:function(e){var t=this.variables()[e];if(t)return this.parseValue(t)},property:function(e){var t=this.properties()[e];if(t)return this.parseValue(t)},lastDeclaration:function(){for(var e=this.rules.length;e>0;e--){var t=this.rules[e-1];if(t instanceof Oe.default)return this.parseValue(t)}},parseValue:function(e){var t=this;function r(a){return a.value instanceof Ql.default&&!a.parsed&&(typeof a.value.value=="string"?this.parse.parseNode(a.value.value,["value","important"],a.value.getIndex(),a.fileInfo(),function(n,l){n&&(a.parsed=!0),l&&(a.value=l[0],a.important=l[1]||"",a.parsed=!0)}):a.parsed=!0),a}if(Array.isArray(e)){var i=[];return e.forEach(function(a){i.push(r.call(t,a))}),i}else return r.call(t,e)},rulesets:function(){if(!this.rules)return[];var e=[],t=this.rules,r,i;for(r=0;i=t[r];r++)i.isRuleset&&e.push(i);return e},prependRule:function(e){var t=this.rules;t?t.unshift(e):this.rules=[e],this.setParent(e,this)},find:function(e,t,r){t=t||this;var i=[],a,n,l=e.toCSS();return l in this._lookups?this._lookups[l]:(this.rulesets().forEach(function(o){if(o!==t){for(var f=0;f<o.selectors.length;f++)if(a=e.match(o.selectors[f]),a){if(e.elements.length>a){if(!r||r(o)){n=o.find(new Pe.default(e.elements.slice(a)),t,r);for(var v=0;v<n.length;++v)n[v].path.push(o);Array.prototype.push.apply(i,n)}}else i.push({rule:o,path:[]});break}}}),this._lookups[l]=i,i)},genCSS:function(e,t){var r,i,a=[],n=[],l,o,f;e.tabLevel=e.tabLevel||0,this.root||e.tabLevel++;var v=e.compress?"":Array(e.tabLevel+1).join(" "),p=e.compress?"":Array(e.tabLevel).join(" "),s,u=0,c=0;for(r=0;o=this.rules[r];r++)o instanceof Kl.default?(c===r&&c++,n.push(o)):o.isCharset&&o.isCharset()?(n.splice(u,0,o),u++,c++):o.type==="Import"?(n.splice(c,0,o),c++):n.push(o);if(n=a.concat(n),!this.root){l=Xl.default(e,this,p),l&&(t.add(l),t.add(p));var h=this.paths,d=h.length,m=void 0;for(s=e.compress?",":`,
|
|
9
9
|
`+p,r=0;r<d;r++)if(f=h[r],!!(m=f.length))for(r>0&&t.add(s),e.firstSelector=!0,f[0].genCSS(e,t),e.firstSelector=!1,i=1;i<m;i++)f[i].genCSS(e,t);t.add((e.compress?"{":` {
|
|
10
10
|
`)+v)}for(r=0;o=n[r];r++){r+1===n.length&&(e.lastRule=!0);var _=e.lastRule;o.isRulesetLike(o)&&(e.lastRule=!1),o.genCSS?o.genCSS(e,t):o.value&&t.add(o.value.toString()),e.lastRule=_,!e.lastRule&&o.isVisible()?t.add(e.compress?"":`
|
|
11
11
|
`+v):e.lastRule=!1}this.root||(t.add(e.compress?"}":`
|
|
12
12
|
`+p+"}"),e.tabLevel--),!t.isEmpty()&&!e.compress&&this.firstRoot&&t.add(`
|
|
13
|
-
`)},joinSelectors:function(e,t,r){for(var i=0;i<r.length;i++)this.joinSelector(e,t,r[i])},joinSelector:function(e,t,r){function i(h,d){var m,_;if(h.length===0)m=new $r.default(h[0]);else{var g=new Array(h.length);for(_=0;_<h.length;_++)g[_]=new
|
|
14
|
-
`+Array(e.tabLevel).join(" "),l=n+" ";if(!i)t.add(" {"+n+"}");else{for(t.add(" {"+l),r[0].genCSS(e,t),a=1;a<i;a++)t.add(l),r[a].genCSS(e,t);t.add(n+"}")}e.tabLevel--}});Lr.default=Ur});var Ye=b(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var Nr=q(),eo=Nr.__importDefault(A()),to=Nr.__importDefault(se()),ro=Nr.__importStar(L()),Wr=function(e,t){this.ruleset=e,this.frames=t,this.setParent(this.ruleset,this)};Wr.prototype=Object.assign(new eo.default,{type:"DetachedRuleset",evalFirst:!0,accept:function(e){this.ruleset=e.visit(this.ruleset)},eval:function(e){var t=this.frames||ro.copyArray(e.frames);return new Wr(this.ruleset,t)},callEval:function(e){return this.ruleset.eval(this.frames?new to.default.Eval(e,this.frames.concat(e.frames)):e)}});zr.default=Wr});var Qr=b(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var Hr=q(),io=Hr.__importDefault(A()),Jr=Hr.__importDefault(vt()),St=Hr.__importStar(L()),Kr=function(e,t,r){this.numerator=e?St.copyArray(e).sort():[],this.denominator=t?St.copyArray(t).sort():[],r?this.backupUnit=r:e&&e.length&&(this.backupUnit=e[0])};Kr.prototype=Object.assign(new io.default,{type:"Unit",clone:function(){return new Kr(St.copyArray(this.numerator),St.copyArray(this.denominator),this.backupUnit)},genCSS:function(e,t){var r=e&&e.strictUnits;this.numerator.length===1?t.add(this.numerator[0]):!r&&this.backupUnit?t.add(this.backupUnit):!r&&this.denominator.length&&t.add(this.denominator[0])},toString:function(){var e,t=this.numerator.join("*");for(e=0;e<this.denominator.length;e++)t+="/"+this.denominator[e];return t},compare:function(e){return this.is(e.toString())?0:void 0},is:function(e){return this.toString().toUpperCase()===e.toUpperCase()},isLength:function(){return RegExp("^(px|em|ex|ch|rem|in|cm|mm|pc|pt|ex|vw|vh|vmin|vmax)$","gi").test(this.toCSS())},isEmpty:function(){return this.numerator.length===0&&this.denominator.length===0},isSingular:function(){return this.numerator.length<=1&&this.denominator.length===0},map:function(e){var t;for(t=0;t<this.numerator.length;t++)this.numerator[t]=e(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=e(this.denominator[t],!0)},usedUnits:function(){var e,t={},r,i;r=function(a){return e.hasOwnProperty(a)&&!t[i]&&(t[i]=a),a};for(i in Jr.default)Jr.default.hasOwnProperty(i)&&(e=Jr.default[i],this.map(r));return t},cancel:function(){var e={},t,r;for(r=0;r<this.numerator.length;r++)t=this.numerator[r],e[t]=(e[t]||0)+1;for(r=0;r<this.denominator.length;r++)t=this.denominator[r],e[t]=(e[t]||0)-1;this.numerator=[],this.denominator=[];for(t in e)if(e.hasOwnProperty(t)){var i=e[t];if(i>0)for(r=0;r<i;r++)this.numerator.push(t);else if(i<0)for(r=0;r<-i;r++)this.denominator.push(t)}this.numerator.sort(),this.denominator.sort()}});Gr.default=Kr});var K=b(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});var qt=q(),Pa=qt.__importDefault(A()),Yr=qt.__importDefault(vt()),Ea=qt.__importDefault(Qr()),no=qt.__importDefault(fe()),Xe=function(e,t){if(this.value=parseFloat(e),isNaN(this.value))throw new Error("Dimension is not a number.");this.unit=t&&t instanceof Ea.default?t:new Ea.default(t?[t]:void 0),this.setParent(this.unit,this)};Xe.prototype=Object.assign(new Pa.default,{type:"Dimension",accept:function(e){this.unit=e.visit(this.unit)},eval:function(e){return this},toColor:function(){return new no.default([this.value,this.value,this.value])},genCSS:function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var r=this.fround(e,this.value),i=String(r);if(r!==0&&r<1e-6&&r>-1e-6&&(i=r.toFixed(20).replace(/0+$/,"")),e&&e.compress){if(r===0&&this.unit.isLength()){t.add(i);return}r>0&&r<1&&(i=i.substr(1))}t.add(i),this.unit.genCSS(e,t)},operate:function(e,t,r){var i=this._operate(e,t,this.value,r.value),a=this.unit.clone();if(t==="+"||t==="-"){if(a.numerator.length===0&&a.denominator.length===0)a=r.unit.clone(),this.unit.backupUnit&&(a.backupUnit=this.unit.backupUnit);else if(!(r.unit.numerator.length===0&&a.denominator.length===0)){if(r=r.convertTo(this.unit.usedUnits()),e.strictUnits&&r.unit.toString()!==a.toString())throw new Error("Incompatible units. Change the units or use the unit function. "+("Bad units: '"+a.toString()+"' and '"+r.unit.toString()+"'."));i=this._operate(e,t,this.value,r.value)}}else t==="*"?(a.numerator=a.numerator.concat(r.unit.numerator).sort(),a.denominator=a.denominator.concat(r.unit.denominator).sort(),a.cancel()):t==="/"&&(a.numerator=a.numerator.concat(r.unit.denominator).sort(),a.denominator=a.denominator.concat(r.unit.numerator).sort(),a.cancel());return new Xe(i,a)},compare:function(e){var t,r;if(e instanceof Xe){if(this.unit.isEmpty()||e.unit.isEmpty())t=this,r=e;else if(t=this.unify(),r=e.unify(),t.unit.compare(r.unit)!==0)return;return Pa.default.numericCompare(t.value,r.value)}},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(e){var t=this.value,r=this.unit.clone(),i,a,n,l,o={},f;if(typeof e=="string"){for(i in Yr.default)Yr.default[i].hasOwnProperty(e)&&(o={},o[i]=e);e=o}f=function(v,p){return n.hasOwnProperty(v)?(p?t=t/(n[v]/n[l]):t=t*(n[v]/n[l]),l):v};for(a in e)e.hasOwnProperty(a)&&(l=e[a],n=Yr.default[a],r.map(f));return r.cancel(),new Xe(t,r)}});Zr.default=Xe});var tt=b(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});var Ct=q(),ao=Ct.__importDefault(A()),Ra=Ct.__importDefault(fe()),ja=Ct.__importDefault(K()),so=Ct.__importStar(xe()),uo=so.Math,et=function(e,t,r){this.op=e.trim(),this.operands=t,this.isSpaced=r};et.prototype=Object.assign(new ao.default,{type:"Operation",accept:function(e){this.operands=e.visitArray(this.operands)},eval:function(e){var t=this.operands[0].eval(e),r=this.operands[1].eval(e),i;if(e.isMathOn(this.op)){if(i=this.op==="./"?"/":this.op,t instanceof ja.default&&r instanceof Ra.default&&(t=t.toColor()),r instanceof ja.default&&t instanceof Ra.default&&(r=r.toColor()),!t.operate){if(t instanceof et&&t.op==="/"&&e.math===uo.PARENS_DIVISION)return new et(this.op,[t,r],this.isSpaced);throw{type:"Operation",message:"Operation on an invalid type"}}return t.operate(e,i,r)}else return new et(this.op,[t,r],this.isSpaced)},genCSS:function(e,t){this.operands[0].genCSS(e,t),this.isSpaced&&t.add(" "),t.add(this.op),this.isSpaced&&t.add(" "),this.operands[1].genCSS(e,t)}});Xr.default=et});var ce=b(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var rt=q(),lo=rt.__importDefault(A()),oo=rt.__importDefault(Ge()),fo=rt.__importDefault(Ke()),co=rt.__importDefault(K()),ho=rt.__importStar(xe()),Tv=ho.Math,ti=function(e,t){if(this.value=e,this.noSpacing=t,!e)throw new Error("Expression requires an array parameter")};ti.prototype=Object.assign(new lo.default,{type:"Expression",accept:function(e){this.value=e.visitArray(this.value)},eval:function(e){var t,r=e.isMathOn(),i=this.parens,a=!1;return i&&e.inParenthesis(),this.value.length>1?t=new ti(this.value.map(function(n){return n.eval?n.eval(e):n}),this.noSpacing):this.value.length===1?(this.value[0].parens&&!this.value[0].parensInOp&&!e.inCalc&&(a=!0),t=this.value[0].eval(e)):t=this,i&&e.outOfParenthesis(),this.parens&&this.parensInOp&&!r&&!a&&!(t instanceof co.default)&&(t=new oo.default(t)),t},genCSS:function(e,t){for(var r=0;r<this.value.length;r++)this.value[r].genCSS(e,t),!this.noSpacing&&r+1<this.value.length&&t.add(" ")},throwAwayComments:function(){this.value=this.value.filter(function(e){return!(e instanceof fo.default)})}});ei.default=ti});var ii=b(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var Fa=q(),vo=Fa.__importDefault(ce()),po=function(){function e(t,r,i,a){this.name=t.toLowerCase(),this.index=i,this.context=r,this.currentFileInfo=a,this.func=r.frames[0].functionRegistry.get(this.name)}return e.prototype.isValid=function(){return Boolean(this.func)},e.prototype.call=function(t){var r=this;Array.isArray(t)||(t=[t]);var i=this.func.evalArgs;i!==!1&&(t=t.map(function(n){return n.eval(r.context)}));var a=function(n){return n.type!=="Comment"};return t=t.filter(a).map(function(n){if(n.type==="Expression"){var l=n.value.filter(a);return l.length===1?l[0]:new vo.default(l)}return n}),i===!1?this.func.apply(this,Fa.__spreadArrays([this.context],t)):this.func.apply(this,t)},e}();ri.default=po});var ui=b(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var ai=q(),Va=ai.__importDefault(A()),$a=ai.__importDefault(U()),mo=ai.__importDefault(ii()),si=function(e,t,r,i){this.name=e,this.args=t,this.calc=e==="calc",this._index=r,this._fileInfo=i};si.prototype=Object.assign(new Va.default,{type:"Call",accept:function(e){this.args&&(this.args=e.visitArray(this.args))},eval:function(e){var t=this,r=e.mathOn;e.mathOn=!this.calc,(this.calc||e.inCalc)&&e.enterCalc();var i=function(){(t.calc||e.inCalc)&&e.exitCalc(),e.mathOn=r},a,n=new mo.default(this.name,e,this.getIndex(),this.fileInfo());if(n.isValid())try{a=n.call(this.args),i()}catch(o){throw o.hasOwnProperty("line")&&o.hasOwnProperty("column")?o:{type:o.type||"Runtime",message:"Error evaluating function `"+this.name+"`"+(o.message?": "+o.message:""),index:this.getIndex(),filename:this.fileInfo().filename,line:o.lineNumber,column:o.columnNumber}}if(a!=null)return a instanceof Va.default||(!a||a===!0?a=new $a.default(null):a=new $a.default(a.toString())),a._index=this._index,a._fileInfo=this._fileInfo,a;var l=this.args.map(function(o){return o.eval(e)});return i(),new si(this.name,l,this.getIndex(),this.fileInfo())},genCSS:function(e,t){t.add(this.name+"(",this.fileInfo(),this.getIndex());for(var r=0;r<this.args.length;r++)this.args[r].genCSS(e,t),r+1<this.args.length&&t.add(", ");t.add(")")}});ni.default=si});var Ee=b(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var La=q(),_o=La.__importDefault(A()),go=La.__importDefault(ui()),oi=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};oi.prototype=Object.assign(new _o.default,{type:"Variable",eval:function(e){var t,r=this.name;if(r.indexOf("@@")===0&&(r="@"+new oi(r.slice(1),this.getIndex(),this.fileInfo()).eval(e).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,function(i){var a=i.variable(r);if(a){if(a.important){var n=e.importantScope[e.importantScope.length-1];n.important=a.important}return e.inCalc?new go.default("_SELF",[a.value]).eval(e):a.value.eval(e)}}),t)return this.evaluating=!1,t;throw{type:"Name",message:"variable "+r+" is undefined",filename:this.fileInfo().filename,index:this.getIndex()}},find:function(e,t){for(var r=0,i=void 0;r<e.length;r++)if(i=t.call(e,e[r]),i)return i;return null}});li.default=oi});var ci=b(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var Ba=q(),yo=Ba.__importDefault(A()),bo=Ba.__importDefault(ke()),Ua=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};Ua.prototype=Object.assign(new yo.default,{type:"Property",eval:function(e){var t,r=this.name,i=e.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating)throw{type:"Name",message:"Recursive property reference for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,function(a){var n,l=a.property(r);if(l){for(var o=0;o<l.length;o++)n=l[o],l[o]=new bo.default(n.name,n.value,n.important,n.merge,n.index,n.currentFileInfo,n.inline,n.variable);if(i(l),n=l[l.length-1],n.important){var f=e.importantScope[e.importantScope.length-1];f.important=n.important}return n=n.value.eval(e),n}}),t)return this.evaluating=!1,t;throw{type:"Name",message:"Property '"+r+"' is undefined",filename:this.currentFileInfo.filename,index:this.index}},find:function(e,t){for(var r=0,i=void 0;r<e.length;r++)if(i=t.call(e,e[r]),i)return i;return null}});fi.default=Ua});var Ta=b(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var wo=q(),So=wo.__importDefault(A()),vi=function(e,t,r){this.key=e,this.op=t,this.value=r};vi.prototype=Object.assign(new So.default,{type:"Attribute",eval:function(e){return new vi(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value)},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(e):this.value),"["+t+"]"}});hi.default=vi});var ee=b(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var pi=q(),za=pi.__importDefault(A()),qo=pi.__importDefault(Ee()),Co=pi.__importDefault(ci()),it=function(e,t,r,i,a){this.escaped=r??!0,this.value=t||"",this.quote=e.charAt(0),this._index=i,this._fileInfo=a,this.variableRegex=/@\{([\w-]+)\}/g,this.propRegex=/\$\{([\w-]+)\}/g,this.allowRoot=r};it.prototype=Object.assign(new za.default,{type:"Quoted",genCSS:function(e,t){this.escaped||t.add(this.quote,this.fileInfo(),this.getIndex()),t.add(this.value),this.escaped||t.add(this.quote)},containsVariables:function(){return this.value.match(this.variableRegex)},eval:function(e){var t=this,r=this.value,i=function(l,o){var f=new qo.default("@"+o,t.getIndex(),t.fileInfo()).eval(e,!0);return f instanceof it?f.value:f.toCSS()},a=function(l,o){var f=new Co.default("$"+o,t.getIndex(),t.fileInfo()).eval(e,!0);return f instanceof it?f.value:f.toCSS()};function n(l,o,f){var v=l;do l=v.toString(),v=l.replace(o,f);while(l!==v);return v}return r=n(r,this.variableRegex,i),r=n(r,this.propRegex,a),new it(this.quote+r+this.quote,r,this.escaped,this.getIndex(),this.fileInfo())},compare:function(e){return e.type==="Quoted"&&!this.escaped&&!e.escaped?za.default.numericCompare(this.value,e.value):e.toCSS&&this.toCSS()===e.toCSS()?0:void 0}});di.default=it});var Re=b(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var Do=q(),Io=Do.__importDefault(A());function xo(e){return e.replace(/[\(\)'"\s]/g,function(t){return"\\"+t})}var _i=function(e,t,r,i){this.value=e,this._index=t,this._fileInfo=r,this.isEvald=i};_i.prototype=Object.assign(new Io.default,{type:"Url",accept:function(e){this.value=e.visit(this.value)},genCSS:function(e,t){t.add("url("),this.value.genCSS(e,t),t.add(")")},eval:function(e){var t=this.value.eval(e),r;if(!this.isEvald&&(r=this.fileInfo()&&this.fileInfo().rootpath,typeof r=="string"&&typeof t.value=="string"&&e.pathRequiresRewrite(t.value)?(t.quote||(r=xo(r)),t.value=e.rewritePath(t.value,r)):t.value=e.normalizePath(t.value),e.urlArgs&&!t.value.match(/^\s*data:/))){var i=t.value.indexOf("?")===-1?"?":"&",a=i+e.urlArgs;t.value.indexOf("#")!==-1?t.value=t.value.replace("#",a+"#"):t.value+=a}return new _i(t,this.getIndex(),this.fileInfo(),!0)}});mi.default=_i});var wi=b(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var ye=q(),Dt=ye.__importDefault(ue()),yi=ye.__importDefault(He()),Na=ye.__importDefault(X()),Wa=ye.__importDefault(U()),Mo=ye.__importDefault(ce()),Ao=ye.__importDefault(Tr()),ko=ye.__importStar(L()),bi=function(e,t,r,i,a){this._index=r,this._fileInfo=i;var n=new Na.default([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new yi.default(t),this.rules=[new Dt.default(n,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(a),this.allowRoot=!0,this.setParent(n,this),this.setParent(this.features,this),this.setParent(this.rules,this)};bi.prototype=Object.assign(new Ao.default,{type:"Media",isRulesetLike:function(){return!0},accept:function(e){this.features&&(this.features=e.visit(this.features)),this.rules&&(this.rules=e.visitArray(this.rules))},genCSS:function(e,t){t.add("@media ",this._fileInfo,this._index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},eval:function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new bi(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo),t.features=this.features.eval(e),e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),e.mediaPath.length===0?t.evalTop(e):t.evalNested(e)},evalTop:function(e){var t=this;if(e.mediaBlocks.length>1){var r=new Na.default([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();t=new Dt.default(r,e.mediaBlocks),t.multiMedia=!0,t.copyVisibilityInfo(this.visibilityInfo()),this.setParent(t,this)}return delete e.mediaBlocks,delete e.mediaPath,t},evalNested:function(e){var t,r,i=e.mediaPath.concat([this]);for(t=0;t<i.length;t++)r=i[t].features instanceof yi.default?i[t].features.value:i[t].features,i[t]=Array.isArray(r)?r:[r];return this.features=new yi.default(this.permute(i).map(function(a){for(a=a.map(function(n){return n.toCSS?n:new Wa.default(n)}),t=a.length-1;t>0;t--)a.splice(t,0,new Wa.default("and"));return new Mo.default(a)})),this.setParent(this.features,this),new Dt.default([],[])},permute:function(e){if(e.length===0)return[];if(e.length===1)return e[0];for(var t=[],r=this.permute(e.slice(1)),i=0;i<r.length;i++)for(var a=0;a<e[0].length;a++)t.push([e[0][a]].concat(r[i]));return t},bubbleSelectors:function(e){!e||(this.rules=[new Dt.default(ko.copyArray(e),[this.rules[0]])],this.setParent(this.rules,this))}});gi.default=bi});var Ha=b(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var he=q(),Oo=he.__importDefault(A()),Ga=he.__importDefault(wi()),It=he.__importDefault(Re()),Po=he.__importDefault(ee()),Eo=he.__importDefault(ue()),Ro=he.__importDefault(U()),jo=he.__importStar(L()),Fo=he.__importDefault(Y()),xt=function(e,t,r,i,a,n){if(this.options=r,this._index=i,this._fileInfo=a,this.path=e,this.features=t,this.allowRoot=!0,this.options.less!==void 0||this.options.inline)this.css=!this.options.less||this.options.inline;else{var l=this.getPath();l&&/[#\.\&\?]css([\?;].*)?$/.test(l)&&(this.css=!0)}this.copyVisibilityInfo(n),this.setParent(this.features,this),this.setParent(this.path,this)};xt.prototype=Object.assign(new Oo.default,{type:"Import",accept:function(e){this.features&&(this.features=e.visit(this.features)),this.path=e.visit(this.path),!this.options.isPlugin&&!this.options.inline&&this.root&&(this.root=e.visit(this.root))},genCSS:function(e,t){this.css&&this.path._fileInfo.reference===void 0&&(t.add("@import ",this._fileInfo,this._index),this.path.genCSS(e,t),this.features&&(t.add(" "),this.features.genCSS(e,t)),t.add(";"))},getPath:function(){return this.path instanceof It.default?this.path.value.value:this.path.value},isVariableImport:function(){var e=this.path;return e instanceof It.default&&(e=e.value),e instanceof Po.default?e.containsVariables():!0},evalForImport:function(e){var t=this.path;return t instanceof It.default&&(t=t.value),new xt(t.eval(e),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},evalPath:function(e){var t=this.path.eval(e),r=this._fileInfo;if(!(t instanceof It.default)){var i=t.value;r&&i&&e.pathRequiresRewrite(i)?t.value=e.rewritePath(i,r.rootpath):t.value=e.normalizePath(t.value)}return t},eval:function(e){var t=this.doEval(e);return(this.options.reference||this.blocksVisibility())&&(t.length||t.length===0?t.forEach(function(r){r.addVisibilityBlock()}):t.addVisibilityBlock()),t},doEval:function(e){var t,r,i=this.features&&this.features.eval(e);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(e)}catch(l){throw l.message="Plugin error during evaluation",new Fo.default(l,this.root.imports,this.root.filename)}return r=e.frames[0]&&e.frames[0].functionRegistry,r&&this.root&&this.root.functions&&r.addMultiple(this.root.functions),[]}if(this.skip&&(typeof this.skip=="function"&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var a=new Ro.default(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},!0,!0);return this.features?new Ga.default([a],this.features.value):[a]}else if(this.css){var n=new xt(this.evalPath(e),i,this.options,this._index);if(!n.css&&this.error)throw this.error;return n}else return this.root?(t=new Eo.default(null,jo.copyArray(this.root.rules)),t.evalImports(e),this.features?new Ga.default(t.rules,this.features.value):t.rules):[]}});Si.default=xt});var Qa=b(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var Ja=q(),Vo=Ja.__importDefault(A()),$o=Ja.__importDefault(Ee()),Ka=function(){};Ka.prototype=Object.assign(new Vo.default,{evaluateJavaScript:function(e,t){var r,i=this,a={};if(!t.javascriptEnabled)throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()};e=e.replace(/@\{([\w-]+)\}/g,function(o,f){return i.jsify(new $o.default("@"+f,i.getIndex(),i.fileInfo()).eval(t))});try{e=new Function("return ("+e+")")}catch(o){throw{message:"JavaScript evaluation error: "+o.message+" from `"+e+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var n=t.frames[0].variables();for(var l in n)n.hasOwnProperty(l)&&(a[l.slice(1)]={value:n[l].value,toJS:function(){return this.value.eval(t).toCSS()}});try{r=e.call(a)}catch(o){throw{message:"JavaScript evaluation error: '"+o.name+": "+o.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return r},jsify:function(e){return Array.isArray(e.value)&&e.value.length>1?"["+e.value.map(function(t){return t.toCSS()}).join(", ")+"]":e.toCSS()}});qi.default=Ka});var Di=b(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var Mt=q(),Lo=Mt.__importDefault(Qa()),Bo=Mt.__importDefault(K()),Uo=Mt.__importDefault(ee()),Za=Mt.__importDefault(U()),Ya=function(e,t,r,i){this.escaped=t,this.expression=e,this._index=r,this._fileInfo=i};Ya.prototype=Object.assign(new Lo.default,{type:"JavaScript",eval:function(e){var t=this.evaluateJavaScript(this.expression,e),r=typeof t;return r==="number"&&!isNaN(t)?new Bo.default(t):r==="string"?new Uo.default('"'+t+'"',t,this.escaped,this._index):Array.isArray(t)?new Za.default(t.join(", ")):new Za.default(t)}});Ci.default=Ya});var Xa=b(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var To=q(),zo=To.__importDefault(A()),xi=function(e,t){this.key=e,this.value=t};xi.prototype=Object.assign(new zo.default,{type:"Assignment",accept:function(e){this.value=e.visit(this.value)},eval:function(e){return this.value.eval?new xi(this.key,this.value.eval(e)):this},genCSS:function(e,t){t.add(this.key+"="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value)}});Ii.default=xi});var rs=b(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var No=q(),es=No.__importDefault(A()),ts=function(e,t,r,i,a){this.op=e.trim(),this.lvalue=t,this.rvalue=r,this._index=i,this.negate=a};ts.prototype=Object.assign(new es.default,{type:"Condition",accept:function(e){this.lvalue=e.visit(this.lvalue),this.rvalue=e.visit(this.rvalue)},eval:function(e){var t=function(r,i,a){switch(r){case"and":return i&&a;case"or":return i||a;default:switch(es.default.compare(i,a)){case-1:return r==="<"||r==="=<"||r==="<=";case 0:return r==="="||r===">="||r==="=<"||r==="<=";case 1:return r===">"||r===">=";default:return!1}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t}});Mi.default=ts});var ns=b(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var Wo=q(),Go=Wo.__importDefault(A()),is=function(e){this.value=e};is.prototype=Object.assign(new Go.default,{type:"UnicodeDescriptor"});Ai.default=is});var as=b(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var Oi=q(),Ho=Oi.__importDefault(A()),Jo=Oi.__importDefault(tt()),Ko=Oi.__importDefault(K()),Pi=function(e){this.value=e};Pi.prototype=Object.assign(new Ho.default,{type:"Negative",genCSS:function(e,t){t.add("-"),this.value.genCSS(e,t)},eval:function(e){return e.isMathOn()?new Jo.default("*",[new Ko.default(-1),this.value]).eval(e):new Pi(this.value.eval(e))}});ki.default=Pi});var us=b(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var ss=q(),Qo=ss.__importDefault(A()),Zo=ss.__importDefault(X()),je=function(e,t,r,i,a){switch(this.selector=e,this.option=t,this.object_id=je.next_id++,this.parent_ids=[this.object_id],this._index=r,this._fileInfo=i,this.copyVisibilityInfo(a),this.allowRoot=!0,t){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1;break}this.setParent(this.selector,this)};je.prototype=Object.assign(new Qo.default,{type:"Extend",accept:function(e){this.selector=e.visit(this.selector)},eval:function(e){return new je(this.selector.eval(e),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(e){return new je(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},findSelfSelectors:function(e){var t=[],r,i;for(r=0;r<e.length;r++)i=e[r].elements,r>0&&i.length&&i[0].combinator.value===""&&(i[0].combinator.value=" "),t=t.concat(e[r].elements);this.selfSelectors=[new Zo.default(t)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}});je.next_id=0;Ei.default=je});var fs=b(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var nt=q(),Yo=nt.__importDefault(A()),Xo=nt.__importDefault(Ee()),ls=nt.__importDefault(ue()),ef=nt.__importDefault(Ye()),tf=nt.__importDefault(Y()),os=function(e,t,r){this.variable=e,this._index=t,this._fileInfo=r,this.allowRoot=!0};os.prototype=Object.assign(new Yo.default,{type:"VariableCall",eval:function(e){var t,r=new Xo.default(this.variable,this.getIndex(),this.fileInfo()).eval(e),i=new tf.default({message:"Could not evaluate variable call "+this.variable});if(!r.ruleset){if(r.rules)t=r;else if(Array.isArray(r))t=new ls.default("",r);else if(Array.isArray(r.value))t=new ls.default("",r.value);else throw i;r=new ef.default(t)}if(r.ruleset)return r.callEval(e);throw i}});Ri.default=os});var vs=b(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var At=q(),rf=At.__importDefault(A()),cs=At.__importDefault(Ee()),nf=At.__importDefault(ue()),af=At.__importDefault(X()),hs=function(e,t,r,i){this.value=e,this.lookups=t,this._index=r,this._fileInfo=i};hs.prototype=Object.assign(new rf.default,{type:"NamespaceValue",eval:function(e){var t,r,i,a=this.value.eval(e);for(t=0;t<this.lookups.length;t++){if(i=this.lookups[t],Array.isArray(a)&&(a=new nf.default([new af.default],a)),i==="")a=a.lastDeclaration();else if(i.charAt(0)==="@"){if(i.charAt(1)==="@"&&(i="@"+new cs.default(i.substr(1)).eval(e).value),a.variables&&(a=a.variable(i)),!a)throw{type:"Name",message:"variable "+i+" not found",filename:this.fileInfo().filename,index:this.getIndex()}}else{if(i.substring(0,2)==="$@"?i="$"+new cs.default(i.substr(1)).eval(e).value:i=i.charAt(0)==="$"?i:"$"+i,a.properties&&(a=a.property(i)),!a)throw{type:"Name",message:'property "'+i.substr(1)+'" not found',filename:this.fileInfo().filename,index:this.getIndex()};a=a[a.length-1]}a.value&&(a=a.eval(e).value),a.ruleset&&(a=a.ruleset.eval(e))}return a}});ji.default=hs});var Vi=b(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var ve=q(),sf=ve.__importDefault(X()),uf=ve.__importDefault(De()),kt=ve.__importDefault(ue()),Ot=ve.__importDefault(ke()),lf=ve.__importDefault(Ye()),ds=ve.__importDefault(ce()),at=ve.__importDefault(se()),Pt=ve.__importStar(L()),Et=function(e,t,r,i,a,n,l){this.name=e||"anonymous mixin",this.selectors=[new sf.default([new uf.default(null,e,!1,this._index,this._fileInfo)])],this.params=t,this.condition=i,this.variadic=a,this.arity=t.length,this.rules=r,this._lookups={};var o=[];this.required=t.reduce(function(f,v){return!v.name||v.name&&!v.value?f+1:(o.push(v.name),f)},0),this.optionalParameters=o,this.frames=n,this.copyVisibilityInfo(l),this.allowRoot=!0};Et.prototype=Object.assign(new kt.default,{type:"MixinDefinition",evalFirst:!0,accept:function(e){this.params&&this.params.length&&(this.params=e.visitArray(this.params)),this.rules=e.visitArray(this.rules),this.condition&&(this.condition=e.visit(this.condition))},evalParams:function(e,t,r,i){var a=new kt.default(null,null),n,l,o=Pt.copyArray(this.params),f,v,p,s,u,c,h=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry&&(a.functionRegistry=t.frames[0].functionRegistry.inherit()),t=new at.default.Eval(t,[a].concat(t.frames)),r){for(r=Pt.copyArray(r),h=r.length,f=0;f<h;f++)if(l=r[f],s=l&&l.name){for(u=!1,v=0;v<o.length;v++)if(!i[v]&&s===o[v].name){i[v]=l.value.eval(e),a.prependRule(new Ot.default(s,l.value.eval(e))),u=!0;break}if(u){r.splice(f,1),f--;continue}else throw{type:"Runtime",message:"Named argument for "+this.name+" "+r[f].name+" not found"}}}for(c=0,f=0;f<o.length;f++)if(!i[f]){if(l=r&&r[c],s=o[f].name)if(o[f].variadic){for(n=[],v=c;v<h;v++)n.push(r[v].value.eval(e));a.prependRule(new Ot.default(s,new ds.default(n).eval(e)))}else{if(p=l&&l.value,p)Array.isArray(p)?p=new lf.default(new kt.default("",p)):p=p.eval(e);else if(o[f].value)p=o[f].value.eval(t),a.resetCache();else throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+h+" for "+this.arity+")"};a.prependRule(new Ot.default(s,p)),i[f]=p}if(o[f].variadic&&r)for(v=c;v<h;v++)i[v]=r[v].value.eval(e);c++}return a},makeImportant:function(){var e=this.rules?this.rules.map(function(r){return r.makeImportant?r.makeImportant(!0):r}):this.rules,t=new Et(this.name,this.params,e,this.condition,this.variadic,this.frames);return t},eval:function(e){return new Et(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||Pt.copyArray(e.frames))},evalCall:function(e,t,r){var i=[],a=this.frames?this.frames.concat(e.frames):e.frames,n=this.evalParams(e,new at.default.Eval(e,a),t,i),l,o;return n.prependRule(new Ot.default("@arguments",new ds.default(i).eval(e))),l=Pt.copyArray(this.rules),o=new kt.default(null,l),o.originalRuleset=this,o=o.eval(new at.default.Eval(e,[this,n].concat(a))),r&&(o=o.makeImportant()),o},matchCondition:function(e,t){return!(this.condition&&!this.condition.eval(new at.default.Eval(t,[this.evalParams(t,new at.default.Eval(t,this.frames?this.frames.concat(t.frames):t.frames),e,[])].concat(this.frames||[]).concat(t.frames))))},matchArgs:function(e,t){var r=e&&e.length||0,i,a=this.optionalParameters,n=e?e.reduce(function(o,f){return a.indexOf(f.name)<0?o+1:o},0):0;if(this.variadic){if(n<this.required-1)return!1}else if(n<this.required||r>this.params.length)return!1;i=Math.min(n,this.arity);for(var l=0;l<i;l++)if(!this.params[l].name&&!this.params[l].variadic&&e[l].value.eval(t).toCSS()!=this.params[l].value.eval(t).toCSS())return!1;return!0}});Fi.default=Et});var _s=b($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var Rt=q(),of=Rt.__importDefault(A()),ff=Rt.__importDefault(X()),Li=Rt.__importDefault(Vi()),ps=Rt.__importDefault(gt()),ms=function(e,t,r,i,a){this.selector=new ff.default(e),this.arguments=t||[],this._index=r,this._fileInfo=i,this.important=a,this.allowRoot=!0,this.setParent(this.selector,this)};ms.prototype=Object.assign(new of.default,{type:"MixinCall",accept:function(e){this.selector&&(this.selector=e.visit(this.selector)),this.arguments.length&&(this.arguments=e.visitArray(this.arguments))},eval:function(e){var t,r,i,a=[],n,l,o=[],f=!1,v,p,s,u,c,h=[],d,m=[],_,g=-1,y=0,S=1,C=2,D,I,x;this.selector=this.selector.eval(e);function M(P,E){var R,J,oe;for(R=0;R<2;R++){for(m[R]=!0,ps.default.value(R),J=0;J<E.length&&m[R];J++)oe=E[J],oe.matchCondition&&(m[R]=m[R]&&oe.matchCondition(null,e));P.matchCondition&&(m[R]=m[R]&&P.matchCondition(a,e))}return m[0]||m[1]?m[0]!=m[1]?m[1]?S:C:y:g}for(v=0;v<this.arguments.length;v++)if(n=this.arguments[v],l=n.value.eval(e),n.expand&&Array.isArray(l.value))for(l=l.value,p=0;p<l.length;p++)a.push({value:l[p]});else a.push({name:n.name,value:l});for(x=function(P){return P.matchArgs(null,e)},v=0;v<e.frames.length;v++)if((t=e.frames[v].find(this.selector,null,x)).length>0){for(c=!0,p=0;p<t.length;p++){for(r=t[p].rule,i=t[p].path,u=!1,s=0;s<e.frames.length;s++)if(!(r instanceof Li.default)&&r===(e.frames[s].originalRuleset||e.frames[s])){u=!0;break}u||r.matchArgs(a,e)&&(d={mixin:r,group:M(r,i)},d.group!==g&&h.push(d),f=!0)}for(ps.default.reset(),D=[0,0,0],p=0;p<h.length;p++)D[h[p].group]++;if(D[y]>0)_=C;else if(_=S,D[S]+D[C]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(a)+"`",index:this.getIndex(),filename:this.fileInfo().filename};for(p=0;p<h.length;p++)if(d=h[p].group,d===y||d===_)try{r=h[p].mixin,r instanceof Li.default||(I=r.originalRuleset||r,r=new Li.default("",[],r.rules,null,!1,null,I.visibilityInfo()),r.originalRuleset=I);var V=r.evalCall(e,a,this.important).rules;this._setVisibilityToReplacement(V),Array.prototype.push.apply(o,V)}catch(P){throw{message:P.message,index:this.getIndex(),filename:this.fileInfo().filename,stack:P.stack}}if(f)return o}throw c?{type:"Runtime",message:"No matching definition was found for `"+this.format(a)+"`",index:this.getIndex(),filename:this.fileInfo().filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.getIndex(),filename:this.fileInfo().filename}},_setVisibilityToReplacement:function(e){var t,r;if(this.blocksVisibility())for(t=0;t<e.length;t++)r=e[t],r.addVisibilityBlock()},format:function(e){return this.selector.toCSS().trim()+"("+(e?e.map(function(t){var r="";return t.name&&(r+=t.name+":"),t.value.toCSS?r+=t.value.toCSS():r+="???",r}).join(", "):"")+")"}});$i.default=ms});var be=b(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var k=q(),cf=k.__importDefault(A()),hf=k.__importDefault(fe()),vf=k.__importDefault(Tr()),df=k.__importDefault(Ye()),pf=k.__importDefault(tt()),mf=k.__importDefault(K()),_f=k.__importDefault(Qr()),gf=k.__importDefault(ge()),yf=k.__importDefault(Ee()),bf=k.__importDefault(ci()),wf=k.__importDefault(ue()),Sf=k.__importDefault(De()),qf=k.__importDefault(Ta()),Cf=k.__importDefault(ur()),Df=k.__importDefault(X()),If=k.__importDefault(ee()),xf=k.__importDefault(ce()),Mf=k.__importDefault(ke()),Af=k.__importDefault(ui()),kf=k.__importDefault(Re()),Of=k.__importDefault(Ha()),Pf=k.__importDefault(Ke()),Ef=k.__importDefault(U()),Rf=k.__importDefault(He()),jf=k.__importDefault(Di()),Ff=k.__importDefault(Xa()),Vf=k.__importDefault(rs()),$f=k.__importDefault(Ge()),Lf=k.__importDefault(wi()),Bf=k.__importDefault(ns()),Uf=k.__importDefault(as()),Tf=k.__importDefault(us()),zf=k.__importDefault(fs()),Nf=k.__importDefault(vs()),Wf=k.__importDefault(_s()),Gf=k.__importDefault(Vi());Bi.default={Node:cf.default,Color:hf.default,AtRule:vf.default,DetachedRuleset:df.default,Operation:pf.default,Dimension:mf.default,Unit:_f.default,Keyword:gf.default,Variable:yf.default,Property:bf.default,Ruleset:wf.default,Element:Sf.default,Attribute:qf.default,Combinator:Cf.default,Selector:Df.default,Quoted:If.default,Expression:xf.default,Declaration:Mf.default,Call:Af.default,URL:kf.default,Import:Of.default,Comment:Pf.default,Anonymous:Ef.default,Value:Rf.default,JavaScript:jf.default,Assignment:Ff.default,Condition:Vf.default,Paren:$f.default,Media:Lf.default,UnicodeDescriptor:Bf.default,Negative:Uf.default,Extend:Tf.default,VariableCall:zf.default,NamespaceValue:Nf.default,mixin:{Call:Wf.default,Definition:Gf.default}}});var gs=b(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var Hf=function(){function e(){}return e.prototype.getPath=function(t){var r=t.lastIndexOf("?");return r>0&&(t=t.slice(0,r)),r=t.lastIndexOf("/"),r<0&&(r=t.lastIndexOf("\\")),r<0?"":t.slice(0,r+1)},e.prototype.tryAppendExtension=function(t,r){return/(\.[a-z]*$)|([\?;].*)$/.test(t)?t:t+r},e.prototype.tryAppendLessExtension=function(t){return this.tryAppendExtension(t,".less")},e.prototype.supportsSync=function(){return!1},e.prototype.alwaysMakePathsAbsolute=function(){return!1},e.prototype.isPathAbsolute=function(t){return/^(?:[a-z-]+:|\/|\\|#)/i.test(t)},e.prototype.join=function(t,r){return t?t+r:r},e.prototype.pathDiff=function(t,r){var i=this.extractUrlParts(t),a=this.extractUrlParts(r),n,l,o,f,v="";if(i.hostPart!==a.hostPart)return"";for(l=Math.max(a.directories.length,i.directories.length),n=0;n<l&&a.directories[n]===i.directories[n];n++);for(f=a.directories.slice(n),o=i.directories.slice(n),n=0;n<f.length-1;n++)v+="../";for(n=0;n<o.length-1;n++)v+=o[n]+"/";return v},e.prototype.extractUrlParts=function(t,r){var i=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,a=t.match(i),n={},l=[],o=[],f,v;if(!a)throw new Error("Could not parse sheet href - '"+t+"'");if(r&&(!a[1]||a[2])){if(v=r.match(i),!v)throw new Error("Could not parse page url - '"+r+"'");a[1]=a[1]||v[1]||"",a[2]||(a[3]=v[3]+a[3])}if(a[3])for(l=a[3].replace(/\\/g,"/").split("/"),f=0;f<l.length;f++)l[f]===".."?o.pop():l[f]!=="."&&o.push(l[f]);return n.hostPart=a[1],n.directories=o,n.rawPath=(a[1]||"")+l.join("/"),n.path=(a[1]||"")+o.join("/"),n.filename=a[4],n.fileUrl=n.path+(a[4]||""),n.url=n.fileUrl+(a[5]||""),n},e}();Ui.default=Hf});var bs=b(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var ys=q(),Jf=ys.__importDefault(Qe()),de=ys.__importDefault(Y()),Kf=function(){function e(){this.require=function(){return null}}return e.prototype.evalPlugin=function(t,r,i,a,n){var l,o,f,v,p,s,u;p=r.pluginManager,n&&(typeof n=="string"?s=n:s=n.filename);var c=new this.less.FileManager().extractUrlParts(s).filename;if(s&&(f=p.get(s),f)){if(u=this.trySetOptions(f,s,c,a),u)return u;try{f.use&&f.use.call(this.context,f)}catch(d){return d.message=d.message||"Error during @plugin call",new de.default(d,i,s)}return f}v={exports:{},pluginManager:p,fileInfo:n},o=Jf.default.create();var h=function(d){f=d};try{l=new Function("module","require","registerPlugin","functions","tree","less","fileInfo",t),l(v,this.require(s),h,o,this.less.tree,this.less,n)}catch(d){return new de.default(d,i,s)}if(f||(f=v.exports),f=this.validatePlugin(f,s,c),f instanceof de.default)return f;if(f){if(f.imports=i,f.filename=s,(!f.minVersion||this.compareVersion("3.0.0",f.minVersion)<0)&&(u=this.trySetOptions(f,s,c,a),u)||(p.addPlugin(f,n.filename,o),f.functions=o.getLocalFunctions(),u=this.trySetOptions(f,s,c,a),u))return u;try{f.use&&f.use.call(this.context,f)}catch(d){return d.message=d.message||"Error during @plugin call",new de.default(d,i,s)}}else return new de.default({message:"Not a valid plugin"},i,s);return f},e.prototype.trySetOptions=function(t,r,i,a){if(a&&!t.setOptions)return new de.default({message:"Options have been provided but the plugin "+i+" does not support any options."});try{t.setOptions&&t.setOptions(a)}catch(n){return new de.default(n)}},e.prototype.validatePlugin=function(t,r,i){return t?(typeof t=="function"&&(t=new t),t.minVersion&&this.compareVersion(t.minVersion,this.less.version)<0?new de.default({message:"Plugin "+i+" requires version "+this.versionToString(t.minVersion)}):t):null},e.prototype.compareVersion=function(t,r){typeof t=="string"&&(t=t.match(/^(\d+)\.?(\d+)?\.?(\d+)?/),t.shift());for(var i=0;i<t.length;i++)if(t[i]!==r[i])return parseInt(t[i])>parseInt(r[i])?-1:1;return 0},e.prototype.versionToString=function(t){for(var r="",i=0;i<t.length;i++)r+=(r?".":"")+t[i];return r},e.prototype.printUsage=function(t){for(var r=0;r<t.length;r++){var i=t[r];i.printUsage&&i.printUsage()}},e}();Ti.default=Kf});var Fe=b(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var Qf=q(),Zf=Qf.__importDefault(be()),Yf={visitDeeper:!0},ws=!1;function jt(e){return e}function Ss(e,t){var r,i;for(r in e)switch(i=e[r],typeof i){case"function":i.prototype&&i.prototype.type&&(i.prototype.typeIndex=t++);break;case"object":t=Ss(i,t);break}return t}var Xf=function(){function e(t){this._implementation=t,this._visitInCache={},this._visitOutCache={},ws||(Ss(Zf.default,1),ws=!0)}return e.prototype.visit=function(t){if(!t)return t;var r=t.typeIndex;if(!r)return t.value&&t.value.typeIndex&&this.visit(t.value),t;var i=this._implementation,a=this._visitInCache[r],n=this._visitOutCache[r],l=Yf,o;if(l.visitDeeper=!0,a||(o="visit"+t.type,a=i[o]||jt,n=i[o+"Out"]||jt,this._visitInCache[r]=a,this._visitOutCache[r]=n),a!==jt){var f=a.call(i,t,l);t&&i.isReplacing&&(t=f)}if(l.visitDeeper&&t)if(t.length)for(var v=0,p=t.length;v<p;v++)t[v].accept&&t[v].accept(this);else t.accept&&t.accept(this);return n!=jt&&n.call(i,t),t},e.prototype.visitArray=function(t,r){if(!t)return t;var i=t.length,a;if(r||!this._implementation.isReplacing){for(a=0;a<i;a++)this.visit(t[a]);return t}var n=[];for(a=0;a<i;a++){var l=this.visit(t[a]);l!==void 0&&(l.splice?l.length&&this.flatten(l,n):n.push(l))}return n},e.prototype.flatten=function(t,r){r||(r=[]);var i,a,n,l,o,f;for(a=0,i=t.length;a<i;a++)if(n=t[a],n!==void 0){if(!n.splice){r.push(n);continue}for(o=0,l=n.length;o<l;o++)f=n[o],f!==void 0&&(f.splice?f.length&&this.flatten(f,r):r.push(f))}return r},e}();zi.default=Xf});var qs=b(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var ec=function(){function e(t){this.imports=[],this.variableImports=[],this._onSequencerEmpty=t,this._currentDepth=0}return e.prototype.addImport=function(t){var r=this,i={callback:t,args:null,isReady:!1};return this.imports.push(i),function(){i.args=Array.prototype.slice.call(arguments,0),i.isReady=!0,r.tryRun()}},e.prototype.addVariableImport=function(t){this.variableImports.push(t)},e.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var t=this.imports[0];if(!t.isReady)return;this.imports=this.imports.slice(1),t.callback.apply(null,t.args)}if(this.variableImports.length===0)break;var r=this.variableImports[0];this.variableImports=this.variableImports.slice(1),r()}}finally{this._currentDepth--}this._currentDepth===0&&this._onSequencerEmpty&&this._onSequencerEmpty()},e}();Ni.default=ec});var Is=b(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var Ft=q(),Cs=Ft.__importDefault(se()),tc=Ft.__importDefault(Fe()),rc=Ft.__importDefault(qs()),ic=Ft.__importStar(L()),Ds=function(e,t){this._visitor=new tc.default(this),this._importer=e,this._finish=t,this.context=new Cs.default.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new rc.default(this._onSequencerEmpty.bind(this))};Ds.prototype={isReplacing:!1,run:function(e){try{this._visitor.visit(e)}catch(t){this.error=t}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){!this.isFinished||this._finish(this.error)},visitImport:function(e,t){var r=e.options.inline;if(!e.css||r){var i=new Cs.default.Eval(this.context,ic.copyArray(this.context.frames)),a=i.frames[0];this.importCount++,e.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,e,i,a)):this.processImportNode(e,i,a)}t.visitDeeper=!1},processImportNode:function(e,t,r){var i,a=e.options.inline;try{i=e.evalForImport(t)}catch(v){v.filename||(v.index=e.getIndex(),v.filename=e.fileInfo().filename),e.css=!0,e.error=v}if(i&&(!i.css||a)){i.options.multiple&&(t.importMultiple=!0);for(var n=i.css===void 0,l=0;l<r.rules.length;l++)if(r.rules[l]===e){r.rules[l]=i;break}var o=this.onImported.bind(this,i,t),f=this._sequencer.addImport(o);this._importer.push(i.getPath(),n,i.fileInfo(),i.options,f)}else this.importCount--,this.isFinished&&this._sequencer.tryRun()},onImported:function(e,t,r,i,a,n){r&&(r.filename||(r.index=e.getIndex(),r.filename=e.fileInfo().filename),this.error=r);var l=this,o=e.options.inline,f=e.options.isPlugin,v=e.options.optional,p=a||n in l.recursionDetector;if(t.importMultiple||(p?e.skip=!0:e.skip=function(){return n in l.onceFileDetectionMap?!0:(l.onceFileDetectionMap[n]=!0,!1)}),!n&&v&&(e.skip=!0),i&&(e.root=i,e.importedFilename=n,!o&&!f&&(t.importMultiple||!p))){l.recursionDetector[n]=!0;var s=this.context;this.context=t;try{this._visitor.visit(i)}catch(u){this.error=u}this.context=s}l.importCount--,l.isFinished&&l._sequencer.tryRun()},visitDeclaration:function(e,t){e.value.type==="DetachedRuleset"?this.context.frames.unshift(e):t.visitDeeper=!1},visitDeclarationOut:function(e){e.value.type==="DetachedRuleset"&&this.context.frames.shift()},visitAtRule:function(e,t){this.context.frames.unshift(e)},visitAtRuleOut:function(e){this.context.frames.shift()},visitMixinDefinition:function(e,t){this.context.frames.unshift(e)},visitMixinDefinitionOut:function(e){this.context.frames.shift()},visitRuleset:function(e,t){this.context.frames.unshift(e)},visitRulesetOut:function(e){this.context.frames.shift()},visitMedia:function(e,t){this.context.frames.unshift(e.rules[0])},visitMediaOut:function(e){this.context.frames.shift()}};Wi.default=Ds});var xs=b(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var nc=function(){function e(t){this.visible=t}return e.prototype.run=function(t){this.visit(t)},e.prototype.visitArray=function(t){if(!t)return t;var r=t.length,i;for(i=0;i<r;i++)this.visit(t[i]);return t},e.prototype.visit=function(t){return t&&(t.constructor===Array?this.visitArray(t):(!t.blocksVisibility||t.blocksVisibility()||(this.visible?t.ensureVisibility():t.ensureInvisibility(),t.accept(this)),t))},e}();Gi.default=nc});var As=b(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var Vt=q(),we=Vt.__importDefault(be()),Ms=Vt.__importDefault(Fe()),ac=Vt.__importDefault(_e()),sc=Vt.__importStar(L()),uc=function(){function e(){this._visitor=new Ms.default(this),this.contexts=[],this.allExtendsStack=[[]]}return e.prototype.run=function(t){return t=this._visitor.visit(t),t.allExtends=this.allExtendsStack[0],t},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){if(!t.root){var i,a,n,l=[],o,f=t.rules,v=f?f.length:0;for(i=0;i<v;i++)t.rules[i]instanceof we.default.Extend&&(l.push(f[i]),t.extendOnEveryPath=!0);var p=t.paths;for(i=0;i<p.length;i++){var s=p[i],u=s[s.length-1],c=u.extendList;for(o=c?sc.copyArray(c).concat(l):l,o&&(o=o.map(function(h){return h.clone()})),a=0;a<o.length;a++)this.foundExtends=!0,n=o[a],n.findSelfSelectors(s),n.ruleset=t,a===0&&(n.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(n)}this.contexts.push(t.selectors)}},e.prototype.visitRulesetOut=function(t){t.root||(this.contexts.length=this.contexts.length-1)},e.prototype.visitMedia=function(t,r){t.allExtends=[],this.allExtendsStack.push(t.allExtends)},e.prototype.visitMediaOut=function(t){this.allExtendsStack.length=this.allExtendsStack.length-1},e.prototype.visitAtRule=function(t,r){t.allExtends=[],this.allExtendsStack.push(t.allExtends)},e.prototype.visitAtRuleOut=function(t){this.allExtendsStack.length=this.allExtendsStack.length-1},e}(),lc=function(){function e(){this._visitor=new Ms.default(this)}return e.prototype.run=function(t){var r=new uc;if(this.extendIndices={},r.run(t),!r.foundExtends)return t;t.allExtends=t.allExtends.concat(this.doExtendChaining(t.allExtends,t.allExtends)),this.allExtendsStack=[t.allExtends];var i=this._visitor.visit(t);return this.checkExtendsForNonMatched(t.allExtends),i},e.prototype.checkExtendsForNonMatched=function(t){var r=this.extendIndices;t.filter(function(i){return!i.hasFoundMatches&&i.parent_ids.length==1}).forEach(function(i){var a="_unknown_";try{a=i.selector.toCSS({})}catch(n){}r[i.index+" "+a]||(r[i.index+" "+a]=!0,ac.default.warn("extend '"+a+"' has no matches"))})},e.prototype.doExtendChaining=function(t,r,i){var a,n,l,o=[],f,v=this,p,s,u,c;for(i=i||0,a=0;a<t.length;a++)for(n=0;n<r.length;n++)s=t[a],u=r[n],!(s.parent_ids.indexOf(u.object_id)>=0)&&(p=[u.selfSelectors[0]],l=v.findMatch(s,p),l.length&&(s.hasFoundMatches=!0,s.selfSelectors.forEach(function(m){var _=u.visibilityInfo();f=v.extendSelector(l,p,m,s.isVisible()),c=new we.default.Extend(u.selector,u.option,0,u.fileInfo(),_),c.selfSelectors=f,f[f.length-1].extendList=[c],o.push(c),c.ruleset=u.ruleset,c.parent_ids=c.parent_ids.concat(u.parent_ids,s.parent_ids),u.firstExtendOnThisSelectorPath&&(c.firstExtendOnThisSelectorPath=!0,u.ruleset.paths.push(f))})));if(o.length){if(this.extendChainCount++,i>100){var h="{unable to calculate}",d="{unable to calculate}";try{h=o[0].selfSelectors[0].toCSS(),d=o[0].selector.toCSS()}catch(m){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+h+":extend("+d+")"}}return o.concat(v.doExtendChaining(o,r,i+1))}else return o},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitSelector=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){if(!t.root){var i,a,n,l=this.allExtendsStack[this.allExtendsStack.length-1],o=[],f=this,v;for(n=0;n<l.length;n++)for(a=0;a<t.paths.length;a++)if(v=t.paths[a],!t.extendOnEveryPath){var p=v[v.length-1].extendList;p&&p.length||(i=this.findMatch(l[n],v),i.length&&(l[n].hasFoundMatches=!0,l[n].selfSelectors.forEach(function(s){var u;u=f.extendSelector(i,v,s,l[n].isVisible()),o.push(u)})))}t.paths=t.paths.concat(o)}},e.prototype.findMatch=function(t,r){var i,a,n,l,o,f,v=this,p=t.selector.elements,s=[],u,c=[];for(i=0;i<r.length;i++)for(a=r[i],n=0;n<a.elements.length;n++)for(l=a.elements[n],(t.allowBefore||i===0&&n===0)&&s.push({pathIndex:i,index:n,matched:0,initialCombinator:l.combinator}),f=0;f<s.length;f++)u=s[f],o=l.combinator.value,o===""&&n===0&&(o=" "),!v.isElementValuesEqual(p[u.matched].value,l.value)||u.matched>0&&p[u.matched].combinator.value!==o?u=null:u.matched++,u&&(u.finished=u.matched===p.length,u.finished&&!t.allowAfter&&(n+1<a.elements.length||i+1<r.length)&&(u=null)),u?u.finished&&(u.length=p.length,u.endPathIndex=i,u.endPathElementIndex=n+1,s.length=0,c.push(u)):(s.splice(f,1),f--);return c},e.prototype.isElementValuesEqual=function(t,r){if(typeof t=="string"||typeof r=="string")return t===r;if(t instanceof we.default.Attribute)return t.op!==r.op||t.key!==r.key?!1:!t.value||!r.value?!(t.value||r.value):(t=t.value.value||t.value,r=r.value.value||r.value,t===r);if(t=t.value,r=r.value,t instanceof we.default.Selector){if(!(r instanceof we.default.Selector)||t.elements.length!==r.elements.length)return!1;for(var i=0;i<t.elements.length;i++)if(t.elements[i].combinator.value!==r.elements[i].combinator.value&&(i!==0||(t.elements[i].combinator.value||" ")!==(r.elements[i].combinator.value||" "))||!this.isElementValuesEqual(t.elements[i].value,r.elements[i].value))return!1;return!0}return!1},e.prototype.extendSelector=function(t,r,i,a){var n=0,l=0,o=[],f,v,p,s,u;for(f=0;f<t.length;f++)s=t[f],v=r[s.pathIndex],p=new we.default.Element(s.initialCombinator,i.elements[0].value,i.elements[0].isVariable,i.elements[0].getIndex(),i.elements[0].fileInfo()),s.pathIndex>n&&l>0&&(o[o.length-1].elements=o[o.length-1].elements.concat(r[n].elements.slice(l)),l=0,n++),u=v.elements.slice(l,s.index).concat([p]).concat(i.elements.slice(1)),n===s.pathIndex&&f>0?o[o.length-1].elements=o[o.length-1].elements.concat(u):(o=o.concat(r.slice(n,s.pathIndex)),o.push(new we.default.Selector(u))),n=s.endPathIndex,l=s.endPathElementIndex,l>=r[n].elements.length&&(l=0,n++);return n<r.length&&l>0&&(o[o.length-1].elements=o[o.length-1].elements.concat(r[n].elements.slice(l)),n++),o=o.concat(r.slice(n,r.length)),o=o.map(function(c){var h=c.createDerived(c.elements);return a?h.ensureVisibility():h.ensureInvisibility(),h}),o},e.prototype.visitMedia=function(t,r){var i=t.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,t.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitMediaOut=function(t){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r},e.prototype.visitAtRule=function(t,r){var i=t.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,t.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitAtRuleOut=function(t){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r},e}();Hi.default=lc});var ks=b(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var oc=q(),fc=oc.__importDefault(Fe()),cc=function(){function e(){this.contexts=[[]],this._visitor=new fc.default(this)}return e.prototype.run=function(t){return this._visitor.visit(t)},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){var i=this.contexts[this.contexts.length-1],a=[],n;this.contexts.push(a),t.root||(n=t.selectors,n&&(n=n.filter(function(l){return l.getIsOutput()}),t.selectors=n.length?n:n=null,n&&t.joinSelectors(a,i,n)),n||(t.rules=null),t.paths=a)},e.prototype.visitRulesetOut=function(t){this.contexts.length=this.contexts.length-1},e.prototype.visitMedia=function(t,r){var i=this.contexts[this.contexts.length-1];t.rules[0].root=i.length===0||i[0].multiMedia},e.prototype.visitAtRule=function(t,r){var i=this.contexts[this.contexts.length-1];t.rules&&t.rules.length&&(t.rules[0].root=t.isRooted||i.length===0||null)},e}();Ji.default=cc});var Rs=b(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var Os=q(),le=Os.__importDefault(be()),Ps=Os.__importDefault(Fe()),hc=function(){function e(t){this._visitor=new Ps.default(this),this._context=t}return e.prototype.containsSilentNonBlockedChild=function(t){var r;if(!t)return!1;for(var i=0;i<t.length;i++)if(r=t[i],r.isSilent&&r.isSilent(this._context)&&!r.blocksVisibility())return!0;return!1},e.prototype.keepOnlyVisibleChilds=function(t){t&&t.rules&&(t.rules=t.rules.filter(function(r){return r.isVisible()}))},e.prototype.isEmpty=function(t){return t&&t.rules?t.rules.length===0:!0},e.prototype.hasVisibleSelector=function(t){return t&&t.paths?t.paths.length>0:!1},e.prototype.resolveVisibility=function(t,r){if(!t.blocksVisibility())return this.isEmpty(t)&&!this.containsSilentNonBlockedChild(r)?void 0:t;var i=t.rules[0];if(this.keepOnlyVisibleChilds(i),!this.isEmpty(i))return t.ensureVisibility(),t.removeVisibilityBlock(),t},e.prototype.isVisibleRuleset=function(t){return t.firstRoot?!0:!(this.isEmpty(t)||!t.root&&!this.hasVisibleSelector(t))},e}(),Es=function(e){this._visitor=new Ps.default(this),this._context=e,this.utils=new hc(e)};Es.prototype={isReplacing:!0,run:function(e){return this._visitor.visit(e)},visitDeclaration:function(e,t){if(!(e.blocksVisibility()||e.variable))return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(!(e.blocksVisibility()||e.isSilent(this._context)))return e},visitMedia:function(e,t){var r=e.rules[0].rules;return e.accept(this._visitor),t.visitDeeper=!1,this.utils.resolveVisibility(e,r)},visitImport:function(e,t){if(!e.blocksVisibility())return e},visitAtRule:function(e,t){return e.rules&&e.rules.length?this.visitAtRuleWithBody(e,t):this.visitAtRuleWithoutBody(e,t)},visitAnonymous:function(e,t){if(!e.blocksVisibility())return e.accept(this._visitor),e},visitAtRuleWithBody:function(e,t){function r(n){var l=n.rules;return l.length===1&&(!l[0].paths||l[0].paths.length===0)}function i(n){var l=n.rules;return r(n)?l[0].rules:l}var a=i(e);return e.accept(this._visitor),t.visitDeeper=!1,this.utils.isEmpty(e)||this._mergeRules(e.rules[0].rules),this.utils.resolveVisibility(e,a)},visitAtRuleWithoutBody:function(e,t){if(!e.blocksVisibility()){if(e.name==="@charset"){if(this.charset){if(e.debugInfo){var r=new le.default.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+` */
|
|
15
|
-
`);return r.debugInfo=e.debugInfo,this._visitor.visit(r)}return}this.charset=!0}return e}},checkValidNodes:function(e,t){if(!!e)for(var r=0;r<e.length;r++){var i=e[r];if(t&&i instanceof le.default.Declaration&&!i.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename};if(i instanceof le.default.Call)throw{message:"Function '"+i.name+"' did not return a root node",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename};if(i.type&&!i.allowRoot)throw{message:i.type+" node returned by a function is not valid here",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename}}},visitRuleset:function(e,t){var r,i=[];if(this.checkValidNodes(e.rules,e.firstRoot),e.root)e.accept(this._visitor),t.visitDeeper=!1;else{this._compileRulesetPaths(e);for(var a=e.rules,n=a?a.length:0,l=0;l<n;){if(r=a[l],r&&r.rules){i.push(this._visitor.visit(r)),a.splice(l,1),n--;continue}l++}n>0?e.accept(this._visitor):e.rules=null,t.visitDeeper=!1}return e.rules&&(this._mergeRules(e.rules),this._removeDuplicateRules(e.rules)),this.utils.isVisibleRuleset(e)&&(e.ensureVisibility(),i.splice(0,0,e)),i.length===1?i[0]:i},_compileRulesetPaths:function(e){e.paths&&(e.paths=e.paths.filter(function(t){var r;for(t[0].elements[0].combinator.value===" "&&(t[0].elements[0].combinator=new le.default.Combinator("")),r=0;r<t.length;r++)if(t[r].isVisible()&&t[r].getIsOutput())return!0;return!1}))},_removeDuplicateRules:function(e){if(!!e){var t={},r,i,a;for(a=e.length-1;a>=0;a--)if(i=e[a],i instanceof le.default.Declaration)if(!t[i.name])t[i.name]=i;else{r=t[i.name],r instanceof le.default.Declaration&&(r=t[i.name]=[t[i.name].toCSS(this._context)]);var n=i.toCSS(this._context);r.indexOf(n)!==-1?e.splice(a,1):r.push(n)}}},_mergeRules:function(e){if(!!e){for(var t={},r=[],i=0;i<e.length;i++){var a=e[i];if(a.merge){var n=a.name;t[n]?e.splice(i--,1):r.push(t[n]=[]),t[n].push(a)}}r.forEach(function(l){if(l.length>0){var o=l[0],f=[],v=[new le.default.Expression(f)];l.forEach(function(p){p.merge==="+"&&f.length>0&&v.push(new le.default.Expression(f=[])),f.push(p.value),o.important=o.important||p.important}),o.value=new le.default.Value(v)}})}}};Ki.default=
|
|
13
|
+
`)},joinSelectors:function(e,t,r){for(var i=0;i<r.length;i++)this.joinSelector(e,t,r[i])},joinSelector:function(e,t,r){function i(h,d){var m,_;if(h.length===0)m=new $r.default(h[0]);else{var g=new Array(h.length);for(_=0;_<h.length;_++)g[_]=new bt.default(null,h[_],d.isVariable,d._index,d._fileInfo);m=new $r.default(new Pe.default(g))}return m}function a(h,d){var m,_;return m=new bt.default(null,h,d.isVariable,d._index,d._fileInfo),_=new Pe.default([m]),_}function n(h,d,m,_){var g,y,S;if(g=[],h.length>0?(g=wt.copyArray(h),y=g.pop(),S=_.createDerived(wt.copyArray(y.elements))):S=_.createDerived([]),d.length>0){var C=m.combinator,D=d[0].elements[0];C.emptyOrWhitespace&&!D.combinator.emptyOrWhitespace&&(C=D.combinator),S.elements.push(new bt.default(C,D.value,m.isVariable,m._index,m._fileInfo)),S.elements=S.elements.concat(d[0].elements.slice(1))}if(S.elements.length!==0&&g.push(S),d.length>1){var I=d.slice(1);I=I.map(function(x){return x.createDerived(x.elements,[])}),g=g.concat(I)}return g}function l(h,d,m,_,g){var y;for(y=0;y<h.length;y++){var S=n(h[y],d,m,_);g.push(S)}return g}function o(h,d){var m,_;if(h.length!==0){if(d.length===0){d.push([new Pe.default(h)]);return}for(m=0;_=d[m];m++)_.length>0?_[_.length-1]=_[_.length-1].createDerived(_[_.length-1].elements.concat(h)):_.push(new Pe.default(h))}}function f(h,d,m){var _,g,y,S,C,D,I,x,M=!1,V,P;function E(Rn){var Kt;return!(Rn.value instanceof $r.default)||(Kt=Rn.value.value,!(Kt instanceof Pe.default))?null:Kt}for(S=[],C=[[]],_=0;x=m.elements[_];_++)if(x.value!=="&"){var R=E(x);if(R!=null){o(S,C);var J=[],oe=void 0,Z=[];for(oe=f(J,d,R),M=M||oe,y=0;y<J.length;y++){var ot=a(i(J[y],x),x);l(C,[ot],x,m,Z)}C=Z,S=[]}else S.push(x)}else{for(M=!0,D=[],o(S,C),g=0;g<C.length;g++)if(I=C[g],d.length===0)I.length>0&&I[0].elements.push(new bt.default(x.combinator,"",x.isVariable,x._index,x._fileInfo)),D.push(I);else for(y=0;y<d.length;y++){var Ge=n(I,d[y],x,m);D.push(Ge)}C=D,S=[]}for(o(S,C),_=0;_<C.length;_++)V=C[_].length,V>0&&(h.push(C[_]),P=C[_][V-1],C[_][V-1]=P.createDerived(P.elements,m.extendList));return M}function v(h,d){var m=d.createDerived(d.elements,d.extendList,d.evaldCondition);return m.copyVisibilityInfo(h),m}var p,s,u;if(s=[],u=f(s,t,r),!u)if(t.length>0)for(s=[],p=0;p<t.length;p++){var c=t[p].map(v.bind(this,r.visibilityInfo()));c.push(r),s.push(c)}else s=[[r]];for(p=0;p<s.length;p++)e.push(s[p])}});Vr.default=Ye});var Tr=b(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});var St=q(),Pa=St.__importDefault(A()),eo=St.__importDefault(X()),Br=St.__importDefault(ue()),to=St.__importDefault(U()),Ur=function(e,t,r,i,a,n,l,o){var f;if(this.name=e,this.value=t instanceof Pa.default?t:t&&new to.default(t),r){for(Array.isArray(r)?this.rules=r:(this.rules=[r],this.rules[0].selectors=new eo.default([],null,null,i,a).createEmptySelectors()),f=0;f<this.rules.length;f++)this.rules[f].allowImports=!0;this.setParent(this.rules,this)}this._index=i,this._fileInfo=a,this.debugInfo=n,this.isRooted=l||!1,this.copyVisibilityInfo(o),this.allowRoot=!0};Ur.prototype=Object.assign(new Pa.default,{type:"AtRule",accept:function(e){var t=this.value,r=this.rules;r&&(this.rules=e.visitArray(r)),t&&(this.value=e.visit(t))},isRulesetLike:function(){return this.rules||!this.isCharset()},isCharset:function(){return this.name==="@charset"},genCSS:function(e,t){var r=this.value,i=this.rules;t.add(this.name,this.fileInfo(),this.getIndex()),r&&(t.add(" "),r.genCSS(e,t)),i?this.outputRuleset(e,t,i):t.add(";")},eval:function(e){var t,r,i=this.value,a=this.rules;return t=e.mediaPath,r=e.mediaBlocks,e.mediaPath=[],e.mediaBlocks=[],i&&(i=i.eval(e)),a&&(a=[a[0].eval(e)],a[0].root=!0),e.mediaPath=t,e.mediaBlocks=r,new Ur(this.name,i,a,this.getIndex(),this.fileInfo(),this.debugInfo,this.isRooted,this.visibilityInfo())},variable:function(e){if(this.rules)return Br.default.prototype.variable.call(this.rules[0],e)},find:function(){if(this.rules)return Br.default.prototype.find.apply(this.rules[0],arguments)},rulesets:function(){if(this.rules)return Br.default.prototype.rulesets.apply(this.rules[0])},outputRuleset:function(e,t,r){var i=r.length,a;if(e.tabLevel=(e.tabLevel|0)+1,e.compress){for(t.add("{"),a=0;a<i;a++)r[a].genCSS(e,t);t.add("}"),e.tabLevel--;return}var n=`
|
|
14
|
+
`+Array(e.tabLevel).join(" "),l=n+" ";if(!i)t.add(" {"+n+"}");else{for(t.add(" {"+l),r[0].genCSS(e,t),a=1;a<i;a++)t.add(l),r[a].genCSS(e,t);t.add(n+"}")}e.tabLevel--}});Lr.default=Ur});var Xe=b(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var Nr=q(),ro=Nr.__importDefault(A()),io=Nr.__importDefault(se()),no=Nr.__importStar(L()),Wr=function(e,t){this.ruleset=e,this.frames=t,this.setParent(this.ruleset,this)};Wr.prototype=Object.assign(new ro.default,{type:"DetachedRuleset",evalFirst:!0,accept:function(e){this.ruleset=e.visit(this.ruleset)},eval:function(e){var t=this.frames||no.copyArray(e.frames);return new Wr(this.ruleset,t)},callEval:function(e){return this.ruleset.eval(this.frames?new io.default.Eval(e,this.frames.concat(e.frames)):e)}});zr.default=Wr});var Qr=b(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var Hr=q(),ao=Hr.__importDefault(A()),Jr=Hr.__importDefault(vt()),qt=Hr.__importStar(L()),Kr=function(e,t,r){this.numerator=e?qt.copyArray(e).sort():[],this.denominator=t?qt.copyArray(t).sort():[],r?this.backupUnit=r:e&&e.length&&(this.backupUnit=e[0])};Kr.prototype=Object.assign(new ao.default,{type:"Unit",clone:function(){return new Kr(qt.copyArray(this.numerator),qt.copyArray(this.denominator),this.backupUnit)},genCSS:function(e,t){var r=e&&e.strictUnits;this.numerator.length===1?t.add(this.numerator[0]):!r&&this.backupUnit?t.add(this.backupUnit):!r&&this.denominator.length&&t.add(this.denominator[0])},toString:function(){var e,t=this.numerator.join("*");for(e=0;e<this.denominator.length;e++)t+="/"+this.denominator[e];return t},compare:function(e){return this.is(e.toString())?0:void 0},is:function(e){return this.toString().toUpperCase()===e.toUpperCase()},isLength:function(){return RegExp("^(px|em|ex|ch|rem|in|cm|mm|pc|pt|ex|vw|vh|vmin|vmax)$","gi").test(this.toCSS())},isEmpty:function(){return this.numerator.length===0&&this.denominator.length===0},isSingular:function(){return this.numerator.length<=1&&this.denominator.length===0},map:function(e){var t;for(t=0;t<this.numerator.length;t++)this.numerator[t]=e(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=e(this.denominator[t],!0)},usedUnits:function(){var e,t={},r,i;r=function(a){return e.hasOwnProperty(a)&&!t[i]&&(t[i]=a),a};for(i in Jr.default)Jr.default.hasOwnProperty(i)&&(e=Jr.default[i],this.map(r));return t},cancel:function(){var e={},t,r;for(r=0;r<this.numerator.length;r++)t=this.numerator[r],e[t]=(e[t]||0)+1;for(r=0;r<this.denominator.length;r++)t=this.denominator[r],e[t]=(e[t]||0)-1;this.numerator=[],this.denominator=[];for(t in e)if(e.hasOwnProperty(t)){var i=e[t];if(i>0)for(r=0;r<i;r++)this.numerator.push(t);else if(i<0)for(r=0;r<-i;r++)this.denominator.push(t)}this.numerator.sort(),this.denominator.sort()}});Gr.default=Kr});var K=b(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});var Ct=q(),Ea=Ct.__importDefault(A()),Yr=Ct.__importDefault(vt()),Ra=Ct.__importDefault(Qr()),so=Ct.__importDefault(fe()),et=function(e,t){if(this.value=parseFloat(e),isNaN(this.value))throw new Error("Dimension is not a number.");this.unit=t&&t instanceof Ra.default?t:new Ra.default(t?[t]:void 0),this.setParent(this.unit,this)};et.prototype=Object.assign(new Ea.default,{type:"Dimension",accept:function(e){this.unit=e.visit(this.unit)},eval:function(e){return this},toColor:function(){return new so.default([this.value,this.value,this.value])},genCSS:function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var r=this.fround(e,this.value),i=String(r);if(r!==0&&r<1e-6&&r>-1e-6&&(i=r.toFixed(20).replace(/0+$/,"")),e&&e.compress){if(r===0&&this.unit.isLength()){t.add(i);return}r>0&&r<1&&(i=i.substr(1))}t.add(i),this.unit.genCSS(e,t)},operate:function(e,t,r){var i=this._operate(e,t,this.value,r.value),a=this.unit.clone();if(t==="+"||t==="-"){if(a.numerator.length===0&&a.denominator.length===0)a=r.unit.clone(),this.unit.backupUnit&&(a.backupUnit=this.unit.backupUnit);else if(!(r.unit.numerator.length===0&&a.denominator.length===0)){if(r=r.convertTo(this.unit.usedUnits()),e.strictUnits&&r.unit.toString()!==a.toString())throw new Error("Incompatible units. Change the units or use the unit function. "+("Bad units: '"+a.toString()+"' and '"+r.unit.toString()+"'."));i=this._operate(e,t,this.value,r.value)}}else t==="*"?(a.numerator=a.numerator.concat(r.unit.numerator).sort(),a.denominator=a.denominator.concat(r.unit.denominator).sort(),a.cancel()):t==="/"&&(a.numerator=a.numerator.concat(r.unit.denominator).sort(),a.denominator=a.denominator.concat(r.unit.numerator).sort(),a.cancel());return new et(i,a)},compare:function(e){var t,r;if(e instanceof et){if(this.unit.isEmpty()||e.unit.isEmpty())t=this,r=e;else if(t=this.unify(),r=e.unify(),t.unit.compare(r.unit)!==0)return;return Ea.default.numericCompare(t.value,r.value)}},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(e){var t=this.value,r=this.unit.clone(),i,a,n,l,o={},f;if(typeof e=="string"){for(i in Yr.default)Yr.default[i].hasOwnProperty(e)&&(o={},o[i]=e);e=o}f=function(v,p){return n.hasOwnProperty(v)?(p?t=t/(n[v]/n[l]):t=t*(n[v]/n[l]),l):v};for(a in e)e.hasOwnProperty(a)&&(l=e[a],n=Yr.default[a],r.map(f));return r.cancel(),new et(t,r)}});Zr.default=et});var tt=b(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});var Dt=q(),uo=Dt.__importDefault(A()),ja=Dt.__importDefault(fe()),Fa=Dt.__importDefault(K()),lo=Dt.__importStar(xe()),oo=lo.Math,Ee=function(e,t,r){this.op=e.trim(),this.operands=t,this.isSpaced=r};Ee.prototype=Object.assign(new uo.default,{type:"Operation",accept:function(e){this.operands=e.visitArray(this.operands)},eval:function(e){var t=this.operands[0].eval(e),r=this.operands[1].eval(e),i;if(e.isMathOn(this.op)){if(i=this.op==="./"?"/":this.op,t instanceof Fa.default&&r instanceof ja.default&&(t=t.toColor()),r instanceof Fa.default&&t instanceof ja.default&&(r=r.toColor()),!t.operate||!r.operate){if((t instanceof Ee||r instanceof Ee)&&t.op==="/"&&e.math===oo.PARENS_DIVISION)return new Ee(this.op,[t,r],this.isSpaced);throw{type:"Operation",message:"Operation on an invalid type"}}return t.operate(e,i,r)}else return new Ee(this.op,[t,r],this.isSpaced)},genCSS:function(e,t){this.operands[0].genCSS(e,t),this.isSpaced&&t.add(" "),t.add(this.op),this.isSpaced&&t.add(" "),this.operands[1].genCSS(e,t)}});Xr.default=Ee});var ce=b(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var rt=q(),fo=rt.__importDefault(A()),co=rt.__importDefault(He()),ho=rt.__importDefault(Qe()),vo=rt.__importDefault(K()),po=rt.__importStar(xe()),Nv=po.Math,ti=function(e,t){if(this.value=e,this.noSpacing=t,!e)throw new Error("Expression requires an array parameter")};ti.prototype=Object.assign(new fo.default,{type:"Expression",accept:function(e){this.value=e.visitArray(this.value)},eval:function(e){var t,r=e.isMathOn(),i=this.parens,a=!1;return i&&e.inParenthesis(),this.value.length>1?t=new ti(this.value.map(function(n){return n.eval?n.eval(e):n}),this.noSpacing):this.value.length===1?(this.value[0].parens&&!this.value[0].parensInOp&&!e.inCalc&&(a=!0),t=this.value[0].eval(e)):t=this,i&&e.outOfParenthesis(),this.parens&&this.parensInOp&&!r&&!a&&!(t instanceof vo.default)&&(t=new co.default(t)),t},genCSS:function(e,t){for(var r=0;r<this.value.length;r++)this.value[r].genCSS(e,t),!this.noSpacing&&r+1<this.value.length&&t.add(" ")},throwAwayComments:function(){this.value=this.value.filter(function(e){return!(e instanceof ho.default)})}});ei.default=ti});var ii=b(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var Va=q(),mo=Va.__importDefault(ce()),_o=function(){function e(t,r,i,a){this.name=t.toLowerCase(),this.index=i,this.context=r,this.currentFileInfo=a,this.func=r.frames[0].functionRegistry.get(this.name)}return e.prototype.isValid=function(){return Boolean(this.func)},e.prototype.call=function(t){var r=this;Array.isArray(t)||(t=[t]);var i=this.func.evalArgs;i!==!1&&(t=t.map(function(n){return n.eval(r.context)}));var a=function(n){return n.type!=="Comment"};return t=t.filter(a).map(function(n){if(n.type==="Expression"){var l=n.value.filter(a);return l.length===1?l[0]:new mo.default(l)}return n}),i===!1?this.func.apply(this,Va.__spreadArrays([this.context],t)):this.func.apply(this,t)},e}();ri.default=_o});var ui=b(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var ai=q(),$a=ai.__importDefault(A()),La=ai.__importDefault(U()),go=ai.__importDefault(ii()),si=function(e,t,r,i){this.name=e,this.args=t,this.calc=e==="calc",this._index=r,this._fileInfo=i};si.prototype=Object.assign(new $a.default,{type:"Call",accept:function(e){this.args&&(this.args=e.visitArray(this.args))},eval:function(e){var t=this,r=e.mathOn;e.mathOn=!this.calc,(this.calc||e.inCalc)&&e.enterCalc();var i=function(){(t.calc||e.inCalc)&&e.exitCalc(),e.mathOn=r},a,n=new go.default(this.name,e,this.getIndex(),this.fileInfo());if(n.isValid())try{a=n.call(this.args),i()}catch(o){throw o.hasOwnProperty("line")&&o.hasOwnProperty("column")?o:{type:o.type||"Runtime",message:"Error evaluating function `"+this.name+"`"+(o.message?": "+o.message:""),index:this.getIndex(),filename:this.fileInfo().filename,line:o.lineNumber,column:o.columnNumber}}if(a!=null)return a instanceof $a.default||(!a||a===!0?a=new La.default(null):a=new La.default(a.toString())),a._index=this._index,a._fileInfo=this._fileInfo,a;var l=this.args.map(function(o){return o.eval(e)});return i(),new si(this.name,l,this.getIndex(),this.fileInfo())},genCSS:function(e,t){t.add(this.name+"(",this.fileInfo(),this.getIndex());for(var r=0;r<this.args.length;r++)this.args[r].genCSS(e,t),r+1<this.args.length&&t.add(", ");t.add(")")}});ni.default=si});var Re=b(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var Ba=q(),yo=Ba.__importDefault(A()),bo=Ba.__importDefault(ui()),oi=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};oi.prototype=Object.assign(new yo.default,{type:"Variable",eval:function(e){var t,r=this.name;if(r.indexOf("@@")===0&&(r="@"+new oi(r.slice(1),this.getIndex(),this.fileInfo()).eval(e).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,function(i){var a=i.variable(r);if(a){if(a.important){var n=e.importantScope[e.importantScope.length-1];n.important=a.important}return e.inCalc?new bo.default("_SELF",[a.value]).eval(e):a.value.eval(e)}}),t)return this.evaluating=!1,t;throw{type:"Name",message:"variable "+r+" is undefined",filename:this.fileInfo().filename,index:this.getIndex()}},find:function(e,t){for(var r=0,i=void 0;r<e.length;r++)if(i=t.call(e,e[r]),i)return i;return null}});li.default=oi});var ci=b(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var Ua=q(),wo=Ua.__importDefault(A()),So=Ua.__importDefault(ke()),Ta=function(e,t,r){this.name=e,this._index=t,this._fileInfo=r};Ta.prototype=Object.assign(new wo.default,{type:"Property",eval:function(e){var t,r=this.name,i=e.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating)throw{type:"Name",message:"Recursive property reference for "+r,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,function(a){var n,l=a.property(r);if(l){for(var o=0;o<l.length;o++)n=l[o],l[o]=new So.default(n.name,n.value,n.important,n.merge,n.index,n.currentFileInfo,n.inline,n.variable);if(i(l),n=l[l.length-1],n.important){var f=e.importantScope[e.importantScope.length-1];f.important=n.important}return n=n.value.eval(e),n}}),t)return this.evaluating=!1,t;throw{type:"Name",message:"Property '"+r+"' is undefined",filename:this.currentFileInfo.filename,index:this.index}},find:function(e,t){for(var r=0,i=void 0;r<e.length;r++)if(i=t.call(e,e[r]),i)return i;return null}});fi.default=Ta});var za=b(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var qo=q(),Co=qo.__importDefault(A()),vi=function(e,t,r){this.key=e,this.op=t,this.value=r};vi.prototype=Object.assign(new Co.default,{type:"Attribute",eval:function(e){return new vi(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value)},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(e):this.value),"["+t+"]"}});hi.default=vi});var ee=b(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var pi=q(),Na=pi.__importDefault(A()),Do=pi.__importDefault(Re()),Io=pi.__importDefault(ci()),it=function(e,t,r,i,a){this.escaped=r??!0,this.value=t||"",this.quote=e.charAt(0),this._index=i,this._fileInfo=a,this.variableRegex=/@\{([\w-]+)\}/g,this.propRegex=/\$\{([\w-]+)\}/g,this.allowRoot=r};it.prototype=Object.assign(new Na.default,{type:"Quoted",genCSS:function(e,t){this.escaped||t.add(this.quote,this.fileInfo(),this.getIndex()),t.add(this.value),this.escaped||t.add(this.quote)},containsVariables:function(){return this.value.match(this.variableRegex)},eval:function(e){var t=this,r=this.value,i=function(l,o){var f=new Do.default("@"+o,t.getIndex(),t.fileInfo()).eval(e,!0);return f instanceof it?f.value:f.toCSS()},a=function(l,o){var f=new Io.default("$"+o,t.getIndex(),t.fileInfo()).eval(e,!0);return f instanceof it?f.value:f.toCSS()};function n(l,o,f){var v=l;do l=v.toString(),v=l.replace(o,f);while(l!==v);return v}return r=n(r,this.variableRegex,i),r=n(r,this.propRegex,a),new it(this.quote+r+this.quote,r,this.escaped,this.getIndex(),this.fileInfo())},compare:function(e){return e.type==="Quoted"&&!this.escaped&&!e.escaped?Na.default.numericCompare(this.value,e.value):e.toCSS&&this.toCSS()===e.toCSS()?0:void 0}});di.default=it});var je=b(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var xo=q(),Mo=xo.__importDefault(A());function Ao(e){return e.replace(/[\(\)'"\s]/g,function(t){return"\\"+t})}var _i=function(e,t,r,i){this.value=e,this._index=t,this._fileInfo=r,this.isEvald=i};_i.prototype=Object.assign(new Mo.default,{type:"Url",accept:function(e){this.value=e.visit(this.value)},genCSS:function(e,t){t.add("url("),this.value.genCSS(e,t),t.add(")")},eval:function(e){var t=this.value.eval(e),r;if(!this.isEvald&&(r=this.fileInfo()&&this.fileInfo().rootpath,typeof r=="string"&&typeof t.value=="string"&&e.pathRequiresRewrite(t.value)?(t.quote||(r=Ao(r)),t.value=e.rewritePath(t.value,r)):t.value=e.normalizePath(t.value),e.urlArgs&&!t.value.match(/^\s*data:/))){var i=t.value.indexOf("?")===-1?"?":"&",a=i+e.urlArgs;t.value.indexOf("#")!==-1?t.value=t.value.replace("#",a+"#"):t.value+=a}return new _i(t,this.getIndex(),this.fileInfo(),!0)}});mi.default=_i});var wi=b(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var ye=q(),It=ye.__importDefault(ue()),yi=ye.__importDefault(Je()),Wa=ye.__importDefault(X()),Ga=ye.__importDefault(U()),ko=ye.__importDefault(ce()),Oo=ye.__importDefault(Tr()),Po=ye.__importStar(L()),bi=function(e,t,r,i,a){this._index=r,this._fileInfo=i;var n=new Wa.default([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new yi.default(t),this.rules=[new It.default(n,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(a),this.allowRoot=!0,this.setParent(n,this),this.setParent(this.features,this),this.setParent(this.rules,this)};bi.prototype=Object.assign(new Oo.default,{type:"Media",isRulesetLike:function(){return!0},accept:function(e){this.features&&(this.features=e.visit(this.features)),this.rules&&(this.rules=e.visitArray(this.rules))},genCSS:function(e,t){t.add("@media ",this._fileInfo,this._index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},eval:function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new bi(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo),t.features=this.features.eval(e),e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),e.mediaPath.length===0?t.evalTop(e):t.evalNested(e)},evalTop:function(e){var t=this;if(e.mediaBlocks.length>1){var r=new Wa.default([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();t=new It.default(r,e.mediaBlocks),t.multiMedia=!0,t.copyVisibilityInfo(this.visibilityInfo()),this.setParent(t,this)}return delete e.mediaBlocks,delete e.mediaPath,t},evalNested:function(e){var t,r,i=e.mediaPath.concat([this]);for(t=0;t<i.length;t++)r=i[t].features instanceof yi.default?i[t].features.value:i[t].features,i[t]=Array.isArray(r)?r:[r];return this.features=new yi.default(this.permute(i).map(function(a){for(a=a.map(function(n){return n.toCSS?n:new Ga.default(n)}),t=a.length-1;t>0;t--)a.splice(t,0,new Ga.default("and"));return new ko.default(a)})),this.setParent(this.features,this),new It.default([],[])},permute:function(e){if(e.length===0)return[];if(e.length===1)return e[0];for(var t=[],r=this.permute(e.slice(1)),i=0;i<r.length;i++)for(var a=0;a<e[0].length;a++)t.push([e[0][a]].concat(r[i]));return t},bubbleSelectors:function(e){!e||(this.rules=[new It.default(Po.copyArray(e),[this.rules[0]])],this.setParent(this.rules,this))}});gi.default=bi});var Ja=b(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var he=q(),Eo=he.__importDefault(A()),Ha=he.__importDefault(wi()),xt=he.__importDefault(je()),Ro=he.__importDefault(ee()),jo=he.__importDefault(ue()),Fo=he.__importDefault(U()),Vo=he.__importStar(L()),$o=he.__importDefault(Y()),Mt=function(e,t,r,i,a,n){if(this.options=r,this._index=i,this._fileInfo=a,this.path=e,this.features=t,this.allowRoot=!0,this.options.less!==void 0||this.options.inline)this.css=!this.options.less||this.options.inline;else{var l=this.getPath();l&&/[#\.\&\?]css([\?;].*)?$/.test(l)&&(this.css=!0)}this.copyVisibilityInfo(n),this.setParent(this.features,this),this.setParent(this.path,this)};Mt.prototype=Object.assign(new Eo.default,{type:"Import",accept:function(e){this.features&&(this.features=e.visit(this.features)),this.path=e.visit(this.path),!this.options.isPlugin&&!this.options.inline&&this.root&&(this.root=e.visit(this.root))},genCSS:function(e,t){this.css&&this.path._fileInfo.reference===void 0&&(t.add("@import ",this._fileInfo,this._index),this.path.genCSS(e,t),this.features&&(t.add(" "),this.features.genCSS(e,t)),t.add(";"))},getPath:function(){return this.path instanceof xt.default?this.path.value.value:this.path.value},isVariableImport:function(){var e=this.path;return e instanceof xt.default&&(e=e.value),e instanceof Ro.default?e.containsVariables():!0},evalForImport:function(e){var t=this.path;return t instanceof xt.default&&(t=t.value),new Mt(t.eval(e),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},evalPath:function(e){var t=this.path.eval(e),r=this._fileInfo;if(!(t instanceof xt.default)){var i=t.value;r&&i&&e.pathRequiresRewrite(i)?t.value=e.rewritePath(i,r.rootpath):t.value=e.normalizePath(t.value)}return t},eval:function(e){var t=this.doEval(e);return(this.options.reference||this.blocksVisibility())&&(t.length||t.length===0?t.forEach(function(r){r.addVisibilityBlock()}):t.addVisibilityBlock()),t},doEval:function(e){var t,r,i=this.features&&this.features.eval(e);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(e)}catch(l){throw l.message="Plugin error during evaluation",new $o.default(l,this.root.imports,this.root.filename)}return r=e.frames[0]&&e.frames[0].functionRegistry,r&&this.root&&this.root.functions&&r.addMultiple(this.root.functions),[]}if(this.skip&&(typeof this.skip=="function"&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var a=new Fo.default(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},!0,!0);return this.features?new Ha.default([a],this.features.value):[a]}else if(this.css){var n=new Mt(this.evalPath(e),i,this.options,this._index);if(!n.css&&this.error)throw this.error;return n}else return this.root?(t=new jo.default(null,Vo.copyArray(this.root.rules)),t.evalImports(e),this.features?new Ha.default(t.rules,this.features.value):t.rules):[]}});Si.default=Mt});var Za=b(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var Ka=q(),Lo=Ka.__importDefault(A()),Bo=Ka.__importDefault(Re()),Qa=function(){};Qa.prototype=Object.assign(new Lo.default,{evaluateJavaScript:function(e,t){var r,i=this,a={};if(!t.javascriptEnabled)throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()};e=e.replace(/@\{([\w-]+)\}/g,function(o,f){return i.jsify(new Bo.default("@"+f,i.getIndex(),i.fileInfo()).eval(t))});try{e=new Function("return ("+e+")")}catch(o){throw{message:"JavaScript evaluation error: "+o.message+" from `"+e+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var n=t.frames[0].variables();for(var l in n)n.hasOwnProperty(l)&&(a[l.slice(1)]={value:n[l].value,toJS:function(){return this.value.eval(t).toCSS()}});try{r=e.call(a)}catch(o){throw{message:"JavaScript evaluation error: '"+o.name+": "+o.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return r},jsify:function(e){return Array.isArray(e.value)&&e.value.length>1?"["+e.value.map(function(t){return t.toCSS()}).join(", ")+"]":e.toCSS()}});qi.default=Qa});var Di=b(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var At=q(),Uo=At.__importDefault(Za()),To=At.__importDefault(K()),zo=At.__importDefault(ee()),Ya=At.__importDefault(U()),Xa=function(e,t,r,i){this.escaped=t,this.expression=e,this._index=r,this._fileInfo=i};Xa.prototype=Object.assign(new Uo.default,{type:"JavaScript",eval:function(e){var t=this.evaluateJavaScript(this.expression,e),r=typeof t;return r==="number"&&!isNaN(t)?new To.default(t):r==="string"?new zo.default('"'+t+'"',t,this.escaped,this._index):Array.isArray(t)?new Ya.default(t.join(", ")):new Ya.default(t)}});Ci.default=Xa});var es=b(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var No=q(),Wo=No.__importDefault(A()),xi=function(e,t){this.key=e,this.value=t};xi.prototype=Object.assign(new Wo.default,{type:"Assignment",accept:function(e){this.value=e.visit(this.value)},eval:function(e){return this.value.eval?new xi(this.key,this.value.eval(e)):this},genCSS:function(e,t){t.add(this.key+"="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value)}});Ii.default=xi});var is=b(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var Go=q(),ts=Go.__importDefault(A()),rs=function(e,t,r,i,a){this.op=e.trim(),this.lvalue=t,this.rvalue=r,this._index=i,this.negate=a};rs.prototype=Object.assign(new ts.default,{type:"Condition",accept:function(e){this.lvalue=e.visit(this.lvalue),this.rvalue=e.visit(this.rvalue)},eval:function(e){var t=function(r,i,a){switch(r){case"and":return i&&a;case"or":return i||a;default:switch(ts.default.compare(i,a)){case-1:return r==="<"||r==="=<"||r==="<=";case 0:return r==="="||r===">="||r==="=<"||r==="<=";case 1:return r===">"||r===">=";default:return!1}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t}});Mi.default=rs});var as=b(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var Ho=q(),Jo=Ho.__importDefault(A()),ns=function(e){this.value=e};ns.prototype=Object.assign(new Jo.default,{type:"UnicodeDescriptor"});Ai.default=ns});var ss=b(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var Oi=q(),Ko=Oi.__importDefault(A()),Qo=Oi.__importDefault(tt()),Zo=Oi.__importDefault(K()),Pi=function(e){this.value=e};Pi.prototype=Object.assign(new Ko.default,{type:"Negative",genCSS:function(e,t){t.add("-"),this.value.genCSS(e,t)},eval:function(e){return e.isMathOn()?new Qo.default("*",[new Zo.default(-1),this.value]).eval(e):new Pi(this.value.eval(e))}});ki.default=Pi});var ls=b(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var us=q(),Yo=us.__importDefault(A()),Xo=us.__importDefault(X()),Fe=function(e,t,r,i,a){switch(this.selector=e,this.option=t,this.object_id=Fe.next_id++,this.parent_ids=[this.object_id],this._index=r,this._fileInfo=i,this.copyVisibilityInfo(a),this.allowRoot=!0,t){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1;break}this.setParent(this.selector,this)};Fe.prototype=Object.assign(new Yo.default,{type:"Extend",accept:function(e){this.selector=e.visit(this.selector)},eval:function(e){return new Fe(this.selector.eval(e),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(e){return new Fe(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},findSelfSelectors:function(e){var t=[],r,i;for(r=0;r<e.length;r++)i=e[r].elements,r>0&&i.length&&i[0].combinator.value===""&&(i[0].combinator.value=" "),t=t.concat(e[r].elements);this.selfSelectors=[new Xo.default(t)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}});Fe.next_id=0;Ei.default=Fe});var cs=b(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var nt=q(),ef=nt.__importDefault(A()),tf=nt.__importDefault(Re()),os=nt.__importDefault(ue()),rf=nt.__importDefault(Xe()),nf=nt.__importDefault(Y()),fs=function(e,t,r){this.variable=e,this._index=t,this._fileInfo=r,this.allowRoot=!0};fs.prototype=Object.assign(new ef.default,{type:"VariableCall",eval:function(e){var t,r=new tf.default(this.variable,this.getIndex(),this.fileInfo()).eval(e),i=new nf.default({message:"Could not evaluate variable call "+this.variable});if(!r.ruleset){if(r.rules)t=r;else if(Array.isArray(r))t=new os.default("",r);else if(Array.isArray(r.value))t=new os.default("",r.value);else throw i;r=new rf.default(t)}if(r.ruleset)return r.callEval(e);throw i}});Ri.default=fs});var ds=b(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var kt=q(),af=kt.__importDefault(A()),hs=kt.__importDefault(Re()),sf=kt.__importDefault(ue()),uf=kt.__importDefault(X()),vs=function(e,t,r,i){this.value=e,this.lookups=t,this._index=r,this._fileInfo=i};vs.prototype=Object.assign(new af.default,{type:"NamespaceValue",eval:function(e){var t,r,i,a=this.value.eval(e);for(t=0;t<this.lookups.length;t++){if(i=this.lookups[t],Array.isArray(a)&&(a=new sf.default([new uf.default],a)),i==="")a=a.lastDeclaration();else if(i.charAt(0)==="@"){if(i.charAt(1)==="@"&&(i="@"+new hs.default(i.substr(1)).eval(e).value),a.variables&&(a=a.variable(i)),!a)throw{type:"Name",message:"variable "+i+" not found",filename:this.fileInfo().filename,index:this.getIndex()}}else{if(i.substring(0,2)==="$@"?i="$"+new hs.default(i.substr(1)).eval(e).value:i=i.charAt(0)==="$"?i:"$"+i,a.properties&&(a=a.property(i)),!a)throw{type:"Name",message:'property "'+i.substr(1)+'" not found',filename:this.fileInfo().filename,index:this.getIndex()};a=a[a.length-1]}a.value&&(a=a.eval(e).value),a.ruleset&&(a=a.ruleset.eval(e))}return a}});ji.default=vs});var Vi=b(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var ve=q(),lf=ve.__importDefault(X()),of=ve.__importDefault(De()),Ot=ve.__importDefault(ue()),Pt=ve.__importDefault(ke()),ff=ve.__importDefault(Xe()),ps=ve.__importDefault(ce()),at=ve.__importDefault(se()),Et=ve.__importStar(L()),Rt=function(e,t,r,i,a,n,l){this.name=e||"anonymous mixin",this.selectors=[new lf.default([new of.default(null,e,!1,this._index,this._fileInfo)])],this.params=t,this.condition=i,this.variadic=a,this.arity=t.length,this.rules=r,this._lookups={};var o=[];this.required=t.reduce(function(f,v){return!v.name||v.name&&!v.value?f+1:(o.push(v.name),f)},0),this.optionalParameters=o,this.frames=n,this.copyVisibilityInfo(l),this.allowRoot=!0};Rt.prototype=Object.assign(new Ot.default,{type:"MixinDefinition",evalFirst:!0,accept:function(e){this.params&&this.params.length&&(this.params=e.visitArray(this.params)),this.rules=e.visitArray(this.rules),this.condition&&(this.condition=e.visit(this.condition))},evalParams:function(e,t,r,i){var a=new Ot.default(null,null),n,l,o=Et.copyArray(this.params),f,v,p,s,u,c,h=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry&&(a.functionRegistry=t.frames[0].functionRegistry.inherit()),t=new at.default.Eval(t,[a].concat(t.frames)),r){for(r=Et.copyArray(r),h=r.length,f=0;f<h;f++)if(l=r[f],s=l&&l.name){for(u=!1,v=0;v<o.length;v++)if(!i[v]&&s===o[v].name){i[v]=l.value.eval(e),a.prependRule(new Pt.default(s,l.value.eval(e))),u=!0;break}if(u){r.splice(f,1),f--;continue}else throw{type:"Runtime",message:"Named argument for "+this.name+" "+r[f].name+" not found"}}}for(c=0,f=0;f<o.length;f++)if(!i[f]){if(l=r&&r[c],s=o[f].name)if(o[f].variadic){for(n=[],v=c;v<h;v++)n.push(r[v].value.eval(e));a.prependRule(new Pt.default(s,new ps.default(n).eval(e)))}else{if(p=l&&l.value,p)Array.isArray(p)?p=new ff.default(new Ot.default("",p)):p=p.eval(e);else if(o[f].value)p=o[f].value.eval(t),a.resetCache();else throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+h+" for "+this.arity+")"};a.prependRule(new Pt.default(s,p)),i[f]=p}if(o[f].variadic&&r)for(v=c;v<h;v++)i[v]=r[v].value.eval(e);c++}return a},makeImportant:function(){var e=this.rules?this.rules.map(function(r){return r.makeImportant?r.makeImportant(!0):r}):this.rules,t=new Rt(this.name,this.params,e,this.condition,this.variadic,this.frames);return t},eval:function(e){return new Rt(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||Et.copyArray(e.frames))},evalCall:function(e,t,r){var i=[],a=this.frames?this.frames.concat(e.frames):e.frames,n=this.evalParams(e,new at.default.Eval(e,a),t,i),l,o;return n.prependRule(new Pt.default("@arguments",new ps.default(i).eval(e))),l=Et.copyArray(this.rules),o=new Ot.default(null,l),o.originalRuleset=this,o=o.eval(new at.default.Eval(e,[this,n].concat(a))),r&&(o=o.makeImportant()),o},matchCondition:function(e,t){return!(this.condition&&!this.condition.eval(new at.default.Eval(t,[this.evalParams(t,new at.default.Eval(t,this.frames?this.frames.concat(t.frames):t.frames),e,[])].concat(this.frames||[]).concat(t.frames))))},matchArgs:function(e,t){var r=e&&e.length||0,i,a=this.optionalParameters,n=e?e.reduce(function(o,f){return a.indexOf(f.name)<0?o+1:o},0):0;if(this.variadic){if(n<this.required-1)return!1}else if(n<this.required||r>this.params.length)return!1;i=Math.min(n,this.arity);for(var l=0;l<i;l++)if(!this.params[l].name&&!this.params[l].variadic&&e[l].value.eval(t).toCSS()!=this.params[l].value.eval(t).toCSS())return!1;return!0}});Fi.default=Rt});var gs=b($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var jt=q(),cf=jt.__importDefault(A()),hf=jt.__importDefault(X()),Li=jt.__importDefault(Vi()),ms=jt.__importDefault(yt()),_s=function(e,t,r,i,a){this.selector=new hf.default(e),this.arguments=t||[],this._index=r,this._fileInfo=i,this.important=a,this.allowRoot=!0,this.setParent(this.selector,this)};_s.prototype=Object.assign(new cf.default,{type:"MixinCall",accept:function(e){this.selector&&(this.selector=e.visit(this.selector)),this.arguments.length&&(this.arguments=e.visitArray(this.arguments))},eval:function(e){var t,r,i,a=[],n,l,o=[],f=!1,v,p,s,u,c,h=[],d,m=[],_,g=-1,y=0,S=1,C=2,D,I,x;this.selector=this.selector.eval(e);function M(P,E){var R,J,oe;for(R=0;R<2;R++){for(m[R]=!0,ms.default.value(R),J=0;J<E.length&&m[R];J++)oe=E[J],oe.matchCondition&&(m[R]=m[R]&&oe.matchCondition(null,e));P.matchCondition&&(m[R]=m[R]&&P.matchCondition(a,e))}return m[0]||m[1]?m[0]!=m[1]?m[1]?S:C:y:g}for(v=0;v<this.arguments.length;v++)if(n=this.arguments[v],l=n.value.eval(e),n.expand&&Array.isArray(l.value))for(l=l.value,p=0;p<l.length;p++)a.push({value:l[p]});else a.push({name:n.name,value:l});for(x=function(P){return P.matchArgs(null,e)},v=0;v<e.frames.length;v++)if((t=e.frames[v].find(this.selector,null,x)).length>0){for(c=!0,p=0;p<t.length;p++){for(r=t[p].rule,i=t[p].path,u=!1,s=0;s<e.frames.length;s++)if(!(r instanceof Li.default)&&r===(e.frames[s].originalRuleset||e.frames[s])){u=!0;break}u||r.matchArgs(a,e)&&(d={mixin:r,group:M(r,i)},d.group!==g&&h.push(d),f=!0)}for(ms.default.reset(),D=[0,0,0],p=0;p<h.length;p++)D[h[p].group]++;if(D[y]>0)_=C;else if(_=S,D[S]+D[C]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(a)+"`",index:this.getIndex(),filename:this.fileInfo().filename};for(p=0;p<h.length;p++)if(d=h[p].group,d===y||d===_)try{r=h[p].mixin,r instanceof Li.default||(I=r.originalRuleset||r,r=new Li.default("",[],r.rules,null,!1,null,I.visibilityInfo()),r.originalRuleset=I);var V=r.evalCall(e,a,this.important).rules;this._setVisibilityToReplacement(V),Array.prototype.push.apply(o,V)}catch(P){throw{message:P.message,index:this.getIndex(),filename:this.fileInfo().filename,stack:P.stack}}if(f)return o}throw c?{type:"Runtime",message:"No matching definition was found for `"+this.format(a)+"`",index:this.getIndex(),filename:this.fileInfo().filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.getIndex(),filename:this.fileInfo().filename}},_setVisibilityToReplacement:function(e){var t,r;if(this.blocksVisibility())for(t=0;t<e.length;t++)r=e[t],r.addVisibilityBlock()},format:function(e){return this.selector.toCSS().trim()+"("+(e?e.map(function(t){var r="";return t.name&&(r+=t.name+":"),t.value.toCSS?r+=t.value.toCSS():r+="???",r}).join(", "):"")+")"}});$i.default=_s});var be=b(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var O=q(),vf=O.__importDefault(A()),df=O.__importDefault(fe()),pf=O.__importDefault(Tr()),mf=O.__importDefault(Xe()),_f=O.__importDefault(tt()),gf=O.__importDefault(K()),yf=O.__importDefault(Qr()),bf=O.__importDefault(ge()),wf=O.__importDefault(Re()),Sf=O.__importDefault(ci()),qf=O.__importDefault(ue()),Cf=O.__importDefault(De()),Df=O.__importDefault(za()),If=O.__importDefault(lr()),xf=O.__importDefault(X()),Mf=O.__importDefault(ee()),Af=O.__importDefault(ce()),kf=O.__importDefault(ke()),Of=O.__importDefault(ui()),Pf=O.__importDefault(je()),Ef=O.__importDefault(Ja()),Rf=O.__importDefault(Qe()),jf=O.__importDefault(U()),Ff=O.__importDefault(Je()),Vf=O.__importDefault(Di()),$f=O.__importDefault(es()),Lf=O.__importDefault(is()),Bf=O.__importDefault(He()),Uf=O.__importDefault(wi()),Tf=O.__importDefault(as()),zf=O.__importDefault(ss()),Nf=O.__importDefault(ls()),Wf=O.__importDefault(cs()),Gf=O.__importDefault(ds()),Hf=O.__importDefault(gs()),Jf=O.__importDefault(Vi());Bi.default={Node:vf.default,Color:df.default,AtRule:pf.default,DetachedRuleset:mf.default,Operation:_f.default,Dimension:gf.default,Unit:yf.default,Keyword:bf.default,Variable:wf.default,Property:Sf.default,Ruleset:qf.default,Element:Cf.default,Attribute:Df.default,Combinator:If.default,Selector:xf.default,Quoted:Mf.default,Expression:Af.default,Declaration:kf.default,Call:Of.default,URL:Pf.default,Import:Ef.default,Comment:Rf.default,Anonymous:jf.default,Value:Ff.default,JavaScript:Vf.default,Assignment:$f.default,Condition:Lf.default,Paren:Bf.default,Media:Uf.default,UnicodeDescriptor:Tf.default,Negative:zf.default,Extend:Nf.default,VariableCall:Wf.default,NamespaceValue:Gf.default,mixin:{Call:Hf.default,Definition:Jf.default}}});var ys=b(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var Kf=function(){function e(){}return e.prototype.getPath=function(t){var r=t.lastIndexOf("?");return r>0&&(t=t.slice(0,r)),r=t.lastIndexOf("/"),r<0&&(r=t.lastIndexOf("\\")),r<0?"":t.slice(0,r+1)},e.prototype.tryAppendExtension=function(t,r){return/(\.[a-z]*$)|([\?;].*)$/.test(t)?t:t+r},e.prototype.tryAppendLessExtension=function(t){return this.tryAppendExtension(t,".less")},e.prototype.supportsSync=function(){return!1},e.prototype.alwaysMakePathsAbsolute=function(){return!1},e.prototype.isPathAbsolute=function(t){return/^(?:[a-z-]+:|\/|\\|#)/i.test(t)},e.prototype.join=function(t,r){return t?t+r:r},e.prototype.pathDiff=function(t,r){var i=this.extractUrlParts(t),a=this.extractUrlParts(r),n,l,o,f,v="";if(i.hostPart!==a.hostPart)return"";for(l=Math.max(a.directories.length,i.directories.length),n=0;n<l&&a.directories[n]===i.directories[n];n++);for(f=a.directories.slice(n),o=i.directories.slice(n),n=0;n<f.length-1;n++)v+="../";for(n=0;n<o.length-1;n++)v+=o[n]+"/";return v},e.prototype.extractUrlParts=function(t,r){var i=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,a=t.match(i),n={},l=[],o=[],f,v;if(!a)throw new Error("Could not parse sheet href - '"+t+"'");if(r&&(!a[1]||a[2])){if(v=r.match(i),!v)throw new Error("Could not parse page url - '"+r+"'");a[1]=a[1]||v[1]||"",a[2]||(a[3]=v[3]+a[3])}if(a[3])for(l=a[3].replace(/\\/g,"/").split("/"),f=0;f<l.length;f++)l[f]===".."?o.pop():l[f]!=="."&&o.push(l[f]);return n.hostPart=a[1],n.directories=o,n.rawPath=(a[1]||"")+l.join("/"),n.path=(a[1]||"")+o.join("/"),n.filename=a[4],n.fileUrl=n.path+(a[4]||""),n.url=n.fileUrl+(a[5]||""),n},e}();Ui.default=Kf});var ws=b(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var bs=q(),Qf=bs.__importDefault(Ze()),de=bs.__importDefault(Y()),Zf=function(){function e(){this.require=function(){return null}}return e.prototype.evalPlugin=function(t,r,i,a,n){var l,o,f,v,p,s,u;p=r.pluginManager,n&&(typeof n=="string"?s=n:s=n.filename);var c=new this.less.FileManager().extractUrlParts(s).filename;if(s&&(f=p.get(s),f)){if(u=this.trySetOptions(f,s,c,a),u)return u;try{f.use&&f.use.call(this.context,f)}catch(d){return d.message=d.message||"Error during @plugin call",new de.default(d,i,s)}return f}v={exports:{},pluginManager:p,fileInfo:n},o=Qf.default.create();var h=function(d){f=d};try{l=new Function("module","require","registerPlugin","functions","tree","less","fileInfo",t),l(v,this.require(s),h,o,this.less.tree,this.less,n)}catch(d){return new de.default(d,i,s)}if(f||(f=v.exports),f=this.validatePlugin(f,s,c),f instanceof de.default)return f;if(f){if(f.imports=i,f.filename=s,(!f.minVersion||this.compareVersion("3.0.0",f.minVersion)<0)&&(u=this.trySetOptions(f,s,c,a),u)||(p.addPlugin(f,n.filename,o),f.functions=o.getLocalFunctions(),u=this.trySetOptions(f,s,c,a),u))return u;try{f.use&&f.use.call(this.context,f)}catch(d){return d.message=d.message||"Error during @plugin call",new de.default(d,i,s)}}else return new de.default({message:"Not a valid plugin"},i,s);return f},e.prototype.trySetOptions=function(t,r,i,a){if(a&&!t.setOptions)return new de.default({message:"Options have been provided but the plugin "+i+" does not support any options."});try{t.setOptions&&t.setOptions(a)}catch(n){return new de.default(n)}},e.prototype.validatePlugin=function(t,r,i){return t?(typeof t=="function"&&(t=new t),t.minVersion&&this.compareVersion(t.minVersion,this.less.version)<0?new de.default({message:"Plugin "+i+" requires version "+this.versionToString(t.minVersion)}):t):null},e.prototype.compareVersion=function(t,r){typeof t=="string"&&(t=t.match(/^(\d+)\.?(\d+)?\.?(\d+)?/),t.shift());for(var i=0;i<t.length;i++)if(t[i]!==r[i])return parseInt(t[i])>parseInt(r[i])?-1:1;return 0},e.prototype.versionToString=function(t){for(var r="",i=0;i<t.length;i++)r+=(r?".":"")+t[i];return r},e.prototype.printUsage=function(t){for(var r=0;r<t.length;r++){var i=t[r];i.printUsage&&i.printUsage()}},e}();Ti.default=Zf});var Ve=b(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var Yf=q(),Xf=Yf.__importDefault(be()),ec={visitDeeper:!0},Ss=!1;function Ft(e){return e}function qs(e,t){var r,i;for(r in e)switch(i=e[r],typeof i){case"function":i.prototype&&i.prototype.type&&(i.prototype.typeIndex=t++);break;case"object":t=qs(i,t);break}return t}var tc=function(){function e(t){this._implementation=t,this._visitInCache={},this._visitOutCache={},Ss||(qs(Xf.default,1),Ss=!0)}return e.prototype.visit=function(t){if(!t)return t;var r=t.typeIndex;if(!r)return t.value&&t.value.typeIndex&&this.visit(t.value),t;var i=this._implementation,a=this._visitInCache[r],n=this._visitOutCache[r],l=ec,o;if(l.visitDeeper=!0,a||(o="visit"+t.type,a=i[o]||Ft,n=i[o+"Out"]||Ft,this._visitInCache[r]=a,this._visitOutCache[r]=n),a!==Ft){var f=a.call(i,t,l);t&&i.isReplacing&&(t=f)}if(l.visitDeeper&&t)if(t.length)for(var v=0,p=t.length;v<p;v++)t[v].accept&&t[v].accept(this);else t.accept&&t.accept(this);return n!=Ft&&n.call(i,t),t},e.prototype.visitArray=function(t,r){if(!t)return t;var i=t.length,a;if(r||!this._implementation.isReplacing){for(a=0;a<i;a++)this.visit(t[a]);return t}var n=[];for(a=0;a<i;a++){var l=this.visit(t[a]);l!==void 0&&(l.splice?l.length&&this.flatten(l,n):n.push(l))}return n},e.prototype.flatten=function(t,r){r||(r=[]);var i,a,n,l,o,f;for(a=0,i=t.length;a<i;a++)if(n=t[a],n!==void 0){if(!n.splice){r.push(n);continue}for(o=0,l=n.length;o<l;o++)f=n[o],f!==void 0&&(f.splice?f.length&&this.flatten(f,r):r.push(f))}return r},e}();zi.default=tc});var Cs=b(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var rc=function(){function e(t){this.imports=[],this.variableImports=[],this._onSequencerEmpty=t,this._currentDepth=0}return e.prototype.addImport=function(t){var r=this,i={callback:t,args:null,isReady:!1};return this.imports.push(i),function(){i.args=Array.prototype.slice.call(arguments,0),i.isReady=!0,r.tryRun()}},e.prototype.addVariableImport=function(t){this.variableImports.push(t)},e.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var t=this.imports[0];if(!t.isReady)return;this.imports=this.imports.slice(1),t.callback.apply(null,t.args)}if(this.variableImports.length===0)break;var r=this.variableImports[0];this.variableImports=this.variableImports.slice(1),r()}}finally{this._currentDepth--}this._currentDepth===0&&this._onSequencerEmpty&&this._onSequencerEmpty()},e}();Ni.default=rc});var xs=b(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var Vt=q(),Ds=Vt.__importDefault(se()),ic=Vt.__importDefault(Ve()),nc=Vt.__importDefault(Cs()),ac=Vt.__importStar(L()),Is=function(e,t){this._visitor=new ic.default(this),this._importer=e,this._finish=t,this.context=new Ds.default.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new nc.default(this._onSequencerEmpty.bind(this))};Is.prototype={isReplacing:!1,run:function(e){try{this._visitor.visit(e)}catch(t){this.error=t}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){!this.isFinished||this._finish(this.error)},visitImport:function(e,t){var r=e.options.inline;if(!e.css||r){var i=new Ds.default.Eval(this.context,ac.copyArray(this.context.frames)),a=i.frames[0];this.importCount++,e.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,e,i,a)):this.processImportNode(e,i,a)}t.visitDeeper=!1},processImportNode:function(e,t,r){var i,a=e.options.inline;try{i=e.evalForImport(t)}catch(v){v.filename||(v.index=e.getIndex(),v.filename=e.fileInfo().filename),e.css=!0,e.error=v}if(i&&(!i.css||a)){i.options.multiple&&(t.importMultiple=!0);for(var n=i.css===void 0,l=0;l<r.rules.length;l++)if(r.rules[l]===e){r.rules[l]=i;break}var o=this.onImported.bind(this,i,t),f=this._sequencer.addImport(o);this._importer.push(i.getPath(),n,i.fileInfo(),i.options,f)}else this.importCount--,this.isFinished&&this._sequencer.tryRun()},onImported:function(e,t,r,i,a,n){r&&(r.filename||(r.index=e.getIndex(),r.filename=e.fileInfo().filename),this.error=r);var l=this,o=e.options.inline,f=e.options.isPlugin,v=e.options.optional,p=a||n in l.recursionDetector;if(t.importMultiple||(p?e.skip=!0:e.skip=function(){return n in l.onceFileDetectionMap?!0:(l.onceFileDetectionMap[n]=!0,!1)}),!n&&v&&(e.skip=!0),i&&(e.root=i,e.importedFilename=n,!o&&!f&&(t.importMultiple||!p))){l.recursionDetector[n]=!0;var s=this.context;this.context=t;try{this._visitor.visit(i)}catch(u){this.error=u}this.context=s}l.importCount--,l.isFinished&&l._sequencer.tryRun()},visitDeclaration:function(e,t){e.value.type==="DetachedRuleset"?this.context.frames.unshift(e):t.visitDeeper=!1},visitDeclarationOut:function(e){e.value.type==="DetachedRuleset"&&this.context.frames.shift()},visitAtRule:function(e,t){this.context.frames.unshift(e)},visitAtRuleOut:function(e){this.context.frames.shift()},visitMixinDefinition:function(e,t){this.context.frames.unshift(e)},visitMixinDefinitionOut:function(e){this.context.frames.shift()},visitRuleset:function(e,t){this.context.frames.unshift(e)},visitRulesetOut:function(e){this.context.frames.shift()},visitMedia:function(e,t){this.context.frames.unshift(e.rules[0])},visitMediaOut:function(e){this.context.frames.shift()}};Wi.default=Is});var Ms=b(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var sc=function(){function e(t){this.visible=t}return e.prototype.run=function(t){this.visit(t)},e.prototype.visitArray=function(t){if(!t)return t;var r=t.length,i;for(i=0;i<r;i++)this.visit(t[i]);return t},e.prototype.visit=function(t){return t&&(t.constructor===Array?this.visitArray(t):(!t.blocksVisibility||t.blocksVisibility()||(this.visible?t.ensureVisibility():t.ensureInvisibility(),t.accept(this)),t))},e}();Gi.default=sc});var ks=b(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var $t=q(),we=$t.__importDefault(be()),As=$t.__importDefault(Ve()),uc=$t.__importDefault(_e()),lc=$t.__importStar(L()),oc=function(){function e(){this._visitor=new As.default(this),this.contexts=[],this.allExtendsStack=[[]]}return e.prototype.run=function(t){return t=this._visitor.visit(t),t.allExtends=this.allExtendsStack[0],t},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){if(!t.root){var i,a,n,l=[],o,f=t.rules,v=f?f.length:0;for(i=0;i<v;i++)t.rules[i]instanceof we.default.Extend&&(l.push(f[i]),t.extendOnEveryPath=!0);var p=t.paths;for(i=0;i<p.length;i++){var s=p[i],u=s[s.length-1],c=u.extendList;for(o=c?lc.copyArray(c).concat(l):l,o&&(o=o.map(function(h){return h.clone()})),a=0;a<o.length;a++)this.foundExtends=!0,n=o[a],n.findSelfSelectors(s),n.ruleset=t,a===0&&(n.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(n)}this.contexts.push(t.selectors)}},e.prototype.visitRulesetOut=function(t){t.root||(this.contexts.length=this.contexts.length-1)},e.prototype.visitMedia=function(t,r){t.allExtends=[],this.allExtendsStack.push(t.allExtends)},e.prototype.visitMediaOut=function(t){this.allExtendsStack.length=this.allExtendsStack.length-1},e.prototype.visitAtRule=function(t,r){t.allExtends=[],this.allExtendsStack.push(t.allExtends)},e.prototype.visitAtRuleOut=function(t){this.allExtendsStack.length=this.allExtendsStack.length-1},e}(),fc=function(){function e(){this._visitor=new As.default(this)}return e.prototype.run=function(t){var r=new oc;if(this.extendIndices={},r.run(t),!r.foundExtends)return t;t.allExtends=t.allExtends.concat(this.doExtendChaining(t.allExtends,t.allExtends)),this.allExtendsStack=[t.allExtends];var i=this._visitor.visit(t);return this.checkExtendsForNonMatched(t.allExtends),i},e.prototype.checkExtendsForNonMatched=function(t){var r=this.extendIndices;t.filter(function(i){return!i.hasFoundMatches&&i.parent_ids.length==1}).forEach(function(i){var a="_unknown_";try{a=i.selector.toCSS({})}catch(n){}r[i.index+" "+a]||(r[i.index+" "+a]=!0,uc.default.warn("extend '"+a+"' has no matches"))})},e.prototype.doExtendChaining=function(t,r,i){var a,n,l,o=[],f,v=this,p,s,u,c;for(i=i||0,a=0;a<t.length;a++)for(n=0;n<r.length;n++)s=t[a],u=r[n],!(s.parent_ids.indexOf(u.object_id)>=0)&&(p=[u.selfSelectors[0]],l=v.findMatch(s,p),l.length&&(s.hasFoundMatches=!0,s.selfSelectors.forEach(function(m){var _=u.visibilityInfo();f=v.extendSelector(l,p,m,s.isVisible()),c=new we.default.Extend(u.selector,u.option,0,u.fileInfo(),_),c.selfSelectors=f,f[f.length-1].extendList=[c],o.push(c),c.ruleset=u.ruleset,c.parent_ids=c.parent_ids.concat(u.parent_ids,s.parent_ids),u.firstExtendOnThisSelectorPath&&(c.firstExtendOnThisSelectorPath=!0,u.ruleset.paths.push(f))})));if(o.length){if(this.extendChainCount++,i>100){var h="{unable to calculate}",d="{unable to calculate}";try{h=o[0].selfSelectors[0].toCSS(),d=o[0].selector.toCSS()}catch(m){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+h+":extend("+d+")"}}return o.concat(v.doExtendChaining(o,r,i+1))}else return o},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitSelector=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){if(!t.root){var i,a,n,l=this.allExtendsStack[this.allExtendsStack.length-1],o=[],f=this,v;for(n=0;n<l.length;n++)for(a=0;a<t.paths.length;a++)if(v=t.paths[a],!t.extendOnEveryPath){var p=v[v.length-1].extendList;p&&p.length||(i=this.findMatch(l[n],v),i.length&&(l[n].hasFoundMatches=!0,l[n].selfSelectors.forEach(function(s){var u;u=f.extendSelector(i,v,s,l[n].isVisible()),o.push(u)})))}t.paths=t.paths.concat(o)}},e.prototype.findMatch=function(t,r){var i,a,n,l,o,f,v=this,p=t.selector.elements,s=[],u,c=[];for(i=0;i<r.length;i++)for(a=r[i],n=0;n<a.elements.length;n++)for(l=a.elements[n],(t.allowBefore||i===0&&n===0)&&s.push({pathIndex:i,index:n,matched:0,initialCombinator:l.combinator}),f=0;f<s.length;f++)u=s[f],o=l.combinator.value,o===""&&n===0&&(o=" "),!v.isElementValuesEqual(p[u.matched].value,l.value)||u.matched>0&&p[u.matched].combinator.value!==o?u=null:u.matched++,u&&(u.finished=u.matched===p.length,u.finished&&!t.allowAfter&&(n+1<a.elements.length||i+1<r.length)&&(u=null)),u?u.finished&&(u.length=p.length,u.endPathIndex=i,u.endPathElementIndex=n+1,s.length=0,c.push(u)):(s.splice(f,1),f--);return c},e.prototype.isElementValuesEqual=function(t,r){if(typeof t=="string"||typeof r=="string")return t===r;if(t instanceof we.default.Attribute)return t.op!==r.op||t.key!==r.key?!1:!t.value||!r.value?!(t.value||r.value):(t=t.value.value||t.value,r=r.value.value||r.value,t===r);if(t=t.value,r=r.value,t instanceof we.default.Selector){if(!(r instanceof we.default.Selector)||t.elements.length!==r.elements.length)return!1;for(var i=0;i<t.elements.length;i++)if(t.elements[i].combinator.value!==r.elements[i].combinator.value&&(i!==0||(t.elements[i].combinator.value||" ")!==(r.elements[i].combinator.value||" "))||!this.isElementValuesEqual(t.elements[i].value,r.elements[i].value))return!1;return!0}return!1},e.prototype.extendSelector=function(t,r,i,a){var n=0,l=0,o=[],f,v,p,s,u;for(f=0;f<t.length;f++)s=t[f],v=r[s.pathIndex],p=new we.default.Element(s.initialCombinator,i.elements[0].value,i.elements[0].isVariable,i.elements[0].getIndex(),i.elements[0].fileInfo()),s.pathIndex>n&&l>0&&(o[o.length-1].elements=o[o.length-1].elements.concat(r[n].elements.slice(l)),l=0,n++),u=v.elements.slice(l,s.index).concat([p]).concat(i.elements.slice(1)),n===s.pathIndex&&f>0?o[o.length-1].elements=o[o.length-1].elements.concat(u):(o=o.concat(r.slice(n,s.pathIndex)),o.push(new we.default.Selector(u))),n=s.endPathIndex,l=s.endPathElementIndex,l>=r[n].elements.length&&(l=0,n++);return n<r.length&&l>0&&(o[o.length-1].elements=o[o.length-1].elements.concat(r[n].elements.slice(l)),n++),o=o.concat(r.slice(n,r.length)),o=o.map(function(c){var h=c.createDerived(c.elements);return a?h.ensureVisibility():h.ensureInvisibility(),h}),o},e.prototype.visitMedia=function(t,r){var i=t.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,t.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitMediaOut=function(t){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r},e.prototype.visitAtRule=function(t,r){var i=t.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,t.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitAtRuleOut=function(t){var r=this.allExtendsStack.length-1;this.allExtendsStack.length=r},e}();Hi.default=fc});var Os=b(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var cc=q(),hc=cc.__importDefault(Ve()),vc=function(){function e(){this.contexts=[[]],this._visitor=new hc.default(this)}return e.prototype.run=function(t){return this._visitor.visit(t)},e.prototype.visitDeclaration=function(t,r){r.visitDeeper=!1},e.prototype.visitMixinDefinition=function(t,r){r.visitDeeper=!1},e.prototype.visitRuleset=function(t,r){var i=this.contexts[this.contexts.length-1],a=[],n;this.contexts.push(a),t.root||(n=t.selectors,n&&(n=n.filter(function(l){return l.getIsOutput()}),t.selectors=n.length?n:n=null,n&&t.joinSelectors(a,i,n)),n||(t.rules=null),t.paths=a)},e.prototype.visitRulesetOut=function(t){this.contexts.length=this.contexts.length-1},e.prototype.visitMedia=function(t,r){var i=this.contexts[this.contexts.length-1];t.rules[0].root=i.length===0||i[0].multiMedia},e.prototype.visitAtRule=function(t,r){var i=this.contexts[this.contexts.length-1];t.rules&&t.rules.length&&(t.rules[0].root=t.isRooted||i.length===0||null)},e}();Ji.default=vc});var js=b(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var Ps=q(),le=Ps.__importDefault(be()),Es=Ps.__importDefault(Ve()),dc=function(){function e(t){this._visitor=new Es.default(this),this._context=t}return e.prototype.containsSilentNonBlockedChild=function(t){var r;if(!t)return!1;for(var i=0;i<t.length;i++)if(r=t[i],r.isSilent&&r.isSilent(this._context)&&!r.blocksVisibility())return!0;return!1},e.prototype.keepOnlyVisibleChilds=function(t){t&&t.rules&&(t.rules=t.rules.filter(function(r){return r.isVisible()}))},e.prototype.isEmpty=function(t){return t&&t.rules?t.rules.length===0:!0},e.prototype.hasVisibleSelector=function(t){return t&&t.paths?t.paths.length>0:!1},e.prototype.resolveVisibility=function(t,r){if(!t.blocksVisibility())return this.isEmpty(t)&&!this.containsSilentNonBlockedChild(r)?void 0:t;var i=t.rules[0];if(this.keepOnlyVisibleChilds(i),!this.isEmpty(i))return t.ensureVisibility(),t.removeVisibilityBlock(),t},e.prototype.isVisibleRuleset=function(t){return t.firstRoot?!0:!(this.isEmpty(t)||!t.root&&!this.hasVisibleSelector(t))},e}(),Rs=function(e){this._visitor=new Es.default(this),this._context=e,this.utils=new dc(e)};Rs.prototype={isReplacing:!0,run:function(e){return this._visitor.visit(e)},visitDeclaration:function(e,t){if(!(e.blocksVisibility()||e.variable))return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(!(e.blocksVisibility()||e.isSilent(this._context)))return e},visitMedia:function(e,t){var r=e.rules[0].rules;return e.accept(this._visitor),t.visitDeeper=!1,this.utils.resolveVisibility(e,r)},visitImport:function(e,t){if(!e.blocksVisibility())return e},visitAtRule:function(e,t){return e.rules&&e.rules.length?this.visitAtRuleWithBody(e,t):this.visitAtRuleWithoutBody(e,t)},visitAnonymous:function(e,t){if(!e.blocksVisibility())return e.accept(this._visitor),e},visitAtRuleWithBody:function(e,t){function r(n){var l=n.rules;return l.length===1&&(!l[0].paths||l[0].paths.length===0)}function i(n){var l=n.rules;return r(n)?l[0].rules:l}var a=i(e);return e.accept(this._visitor),t.visitDeeper=!1,this.utils.isEmpty(e)||this._mergeRules(e.rules[0].rules),this.utils.resolveVisibility(e,a)},visitAtRuleWithoutBody:function(e,t){if(!e.blocksVisibility()){if(e.name==="@charset"){if(this.charset){if(e.debugInfo){var r=new le.default.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+` */
|
|
15
|
+
`);return r.debugInfo=e.debugInfo,this._visitor.visit(r)}return}this.charset=!0}return e}},checkValidNodes:function(e,t){if(!!e)for(var r=0;r<e.length;r++){var i=e[r];if(t&&i instanceof le.default.Declaration&&!i.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename};if(i instanceof le.default.Call)throw{message:"Function '"+i.name+"' did not return a root node",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename};if(i.type&&!i.allowRoot)throw{message:i.type+" node returned by a function is not valid here",index:i.getIndex(),filename:i.fileInfo()&&i.fileInfo().filename}}},visitRuleset:function(e,t){var r,i=[];if(this.checkValidNodes(e.rules,e.firstRoot),e.root)e.accept(this._visitor),t.visitDeeper=!1;else{this._compileRulesetPaths(e);for(var a=e.rules,n=a?a.length:0,l=0;l<n;){if(r=a[l],r&&r.rules){i.push(this._visitor.visit(r)),a.splice(l,1),n--;continue}l++}n>0?e.accept(this._visitor):e.rules=null,t.visitDeeper=!1}return e.rules&&(this._mergeRules(e.rules),this._removeDuplicateRules(e.rules)),this.utils.isVisibleRuleset(e)&&(e.ensureVisibility(),i.splice(0,0,e)),i.length===1?i[0]:i},_compileRulesetPaths:function(e){e.paths&&(e.paths=e.paths.filter(function(t){var r;for(t[0].elements[0].combinator.value===" "&&(t[0].elements[0].combinator=new le.default.Combinator("")),r=0;r<t.length;r++)if(t[r].isVisible()&&t[r].getIsOutput())return!0;return!1}))},_removeDuplicateRules:function(e){if(!!e){var t={},r,i,a;for(a=e.length-1;a>=0;a--)if(i=e[a],i instanceof le.default.Declaration)if(!t[i.name])t[i.name]=i;else{r=t[i.name],r instanceof le.default.Declaration&&(r=t[i.name]=[t[i.name].toCSS(this._context)]);var n=i.toCSS(this._context);r.indexOf(n)!==-1?e.splice(a,1):r.push(n)}}},_mergeRules:function(e){if(!!e){for(var t={},r=[],i=0;i<e.length;i++){var a=e[i];if(a.merge){var n=a.name;t[n]?e.splice(i--,1):r.push(t[n]=[]),t[n].push(a)}}r.forEach(function(l){if(l.length>0){var o=l[0],f=[],v=[new le.default.Expression(f)];l.forEach(function(p){p.merge==="+"&&f.length>0&&v.push(new le.default.Expression(f=[])),f.push(p.value),o.important=o.important||p.important}),o.value=new le.default.Value(v)}})}}};Ki.default=Rs});var Lt=b(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var $e=q(),pc=$e.__importDefault(Ve()),mc=$e.__importDefault(xs()),_c=$e.__importDefault(Ms()),gc=$e.__importDefault(ks()),yc=$e.__importDefault(Os()),bc=$e.__importDefault(js());Qi.default={Visitor:pc.default,ImportVisitor:mc.default,MarkVisibleSelectorsVisitor:_c.default,ExtendVisitor:gc.default,JoinSelectorVisitor:yc.default,ToCSSVisitor:bc.default}});var Fs=b(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});function wc(e,t){var r=e.length,i=0,a=0,n,l,o,f,v=[],p=0,s,u,c,h,d;function m(_){var g=s-p;g<512&&!_||!g||(v.push(e.slice(p,s+1)),p=s+1)}for(s=0;s<r;s++)if(c=e.charCodeAt(s),!(c>=97&&c<=122||c<34))switch(c){case 40:a++,l=s;continue;case 41:if(--a<0)return t("missing opening `(`",s);continue;case 59:a||m();continue;case 123:i++,n=s;continue;case 125:if(--i<0)return t("missing opening `{`",s);!i&&!a&&m();continue;case 92:if(s<r-1){s++;continue}return t("unescaped `\\`",s);case 34:case 39:case 96:for(d=0,u=s,s=s+1;s<r;s++)if(h=e.charCodeAt(s),!(h>96)){if(h==c){d=1;break}if(h==92){if(s==r-1)return t("unescaped `\\`",s);s++}}if(d)continue;return t("unmatched `"+String.fromCharCode(c)+"`",u);case 47:if(a||s==r-1)continue;if(h=e.charCodeAt(s+1),h==47)for(s=s+2;s<r&&(h=e.charCodeAt(s),!(h<=13&&(h==10||h==13)));s++);else if(h==42){for(o=u=s,s=s+2;s<r-1&&(h=e.charCodeAt(s),h==125&&(f=s),!(h==42&&e.charCodeAt(s+1)==47));s++);if(s==r-1)return t("missing closing `*/`",u);s++}continue;case 42:if(s<r-1&&e.charCodeAt(s+1)==47)return t("unmatched `/*`",s);continue}return i!==0?o>n&&f>o?t("missing closing `}` or `*/`",n):t("missing closing `}`",n):a!==0?t("missing closing `)`",l):(m(!0),v)}Zi.default=wc});var Vs=b(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var Sc=q(),qc=Sc.__importDefault(Fs());Yi.default=function(){var e,t,r=[],i,a,n,l,o,f={},v=32,p=9,s=10,u=13,c=43,h=44,d=47,m=57;function _(g){for(var y=f.i,S=t,C=f.i-o,D=f.i+l.length-C,I=f.i+=g,x=e,M,V,P;f.i<D;f.i++){if(M=x.charCodeAt(f.i),f.autoCommentAbsorb&&M===d){if(V=x.charAt(f.i+1),V==="/"){P={index:f.i,isLineComment:!0};var E=x.indexOf(`
|
|
16
16
|
`,f.i+2);E<0&&(E=D),f.i=E,P.text=x.substr(P.index,f.i-P.index),f.commentStore.push(P);continue}else if(V==="*"){var R=x.indexOf("*/",f.i+2);if(R>=0){P={index:f.i,text:x.substr(f.i,R+2-f.i),isLineComment:!1},f.i+=P.text.length-1,f.commentStore.push(P);continue}}break}if(M!==v&&M!==s&&M!==p&&M!==u)break}if(l=l.slice(g+f.i-I+C),o=f.i,!l.length){if(t<n.length-1)return l=n[++t],_(0),!0;f.finished=!0}return y!==f.i||S!==t}return f.save=function(){o=f.i,r.push({current:l,i:f.i,j:t})},f.restore=function(g){(f.i>i||f.i===i&&g&&!a)&&(i=f.i,a=g);var y=r.pop();l=y.current,o=f.i=y.i,t=y.j},f.forget=function(){r.pop()},f.isWhitespace=function(g){var y=f.i+(g||0),S=e.charCodeAt(y);return S===v||S===u||S===p||S===s},f.$re=function(g){f.i>o&&(l=l.slice(f.i-o),o=f.i);var y=g.exec(l);return y?(_(y[0].length),typeof y=="string"?y:y.length===1?y[0]:y):null},f.$char=function(g){return e.charAt(f.i)!==g?null:(_(1),g)},f.$str=function(g){for(var y=g.length,S=0;S<y;S++)if(e.charAt(f.i+S)!==g.charAt(S))return null;return _(y),g},f.$quoted=function(g){var y=g||f.i,S=e.charAt(y);if(!(S!=="'"&&S!=='"')){for(var C=e.length,D=y,I=1;I+D<C;I++){var x=e.charAt(I+D);switch(x){case"\\":I++;continue;case"\r":case`
|
|
17
|
-
`:break;case S:var M=e.substr(D,I+1);return!g&&g!==0?(_(I+1),M):[S,M];default:}}return null}},f.$parseUntil=function(g){var y="",S=null,C=!1,D=0,I=[],x=[],M=e.length,V=f.i,P=f.i,E=f.i,R=!0,J;typeof g=="string"?J=function(
|
|
17
|
+
`:break;case S:var M=e.substr(D,I+1);return!g&&g!==0?(_(I+1),M):[S,M];default:}}return null}},f.$parseUntil=function(g){var y="",S=null,C=!1,D=0,I=[],x=[],M=e.length,V=f.i,P=f.i,E=f.i,R=!0,J;typeof g=="string"?J=function(Ge){return Ge===g}:J=function(Ge){return g.test(Ge)};do{var oe=void 0,Z=e.charAt(E);if(D===0&&J(Z))S=e.substr(P,E-P),S?x.push(S):x.push(" "),S=x,_(E-V),R=!1;else{if(C){Z==="*"&&e.charAt(E+1)==="/"&&(E++,D--,C=!1),E++;continue}switch(Z){case"\\":E++,Z=e.charAt(E),x.push(e.substr(P,E-P+1)),P=E+1;break;case"/":e.charAt(E+1)==="*"&&(E++,C=!0,D++);break;case"'":case'"':y=f.$quoted(E),y?(x.push(e.substr(P,E-P),y),E+=y[1].length-1,P=E+1):(_(E-V),S=Z,R=!1);break;case"{":I.push("}"),D++;break;case"(":I.push(")"),D++;break;case"[":I.push("]"),D++;break;case"}":case")":case"]":var ot=I.pop();Z===ot?D--:(_(E-V),S=ot,R=!1)}E++,E>M&&(R=!1)}oe=Z}while(R);return S||null},f.autoCommentAbsorb=!0,f.commentStore=[],f.finished=!1,f.peek=function(g){if(typeof g=="string"){for(var y=0;y<g.length;y++)if(e.charAt(f.i+y)!==g.charAt(y))return!1;return!0}else return g.test(l)},f.peekChar=function(g){return e.charAt(f.i)===g},f.currentChar=function(){return e.charAt(f.i)},f.prevChar=function(){return e.charAt(f.i-1)},f.getInput=function(){return e},f.peekNotNumeric=function(){var g=e.charCodeAt(f.i);return g>m||g<c||g===d||g===h},f.start=function(g,y,S){e=g,f.i=t=o=i=0,y?n=qc.default(g,S):n=[g],l=n[0],_(0)},f.end=function(){var g,y=f.i>=e.length;return f.i<i&&(g=a,f.i=i),{isFinished:y,furthest:f.i,furthestPossibleErrorMessage:g,furthestReachedEnd:f.i>=e.length-1,furthestChar:e[f.i]}},f}});var Bt=b(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var Le=q(),Se=Le.__importDefault(Y()),w=Le.__importDefault(be()),Cc=Le.__importDefault(Lt()),Dc=Le.__importDefault(Vs()),Ic=Le.__importStar(L()),xc=Le.__importDefault(Ze()),$s=function e(t,r,i){var a,n=Dc.default();function l(s,u){throw new Se.default({index:n.i,filename:i.filename,type:u||"Syntax",message:s},r)}function o(s,u){var c=s instanceof Function?s.call(a):n.$re(s);if(c)return c;l(u||(typeof s=="string"?"expected '"+s+"' got '"+n.currentChar()+"'":"unexpected token"))}function f(s,u){if(n.$char(s))return s;l(u||"expected '"+s+"' got '"+n.currentChar()+"'")}function v(s){var u=i.filename;return{lineNumber:Ic.getLocation(s,n.getInput()).line+1,fileName:u}}function p(s,u,c,h,d){var m,_=[],g=n;try{g.start(s,!1,function(x,M){d({message:x,index:M+c})});for(var y=0,S=void 0,C=void 0;S=u[y];y++)if(C=g.i,m=a[S](),m){try{m._index=C+c,m._fileInfo=h}catch(I){}_.push(m)}else _.push(null);var D=g.end();D.isFinished?d(null,_):d(!0,null)}catch(I){throw new Se.default({index:I.index+c,message:I.message},r,h.filename)}}return{parserInput:n,imports:r,fileInfo:i,parseNode:p,parse:function(s,u,c){var h,d=null,m,_,g,y="";if(m=c&&c.globalVars?e.serializeVars(c.globalVars)+`
|
|
18
18
|
`:"",_=c&&c.modifyVars?`
|
|
19
19
|
`+e.serializeVars(c.modifyVars):"",t.pluginManager)for(var S=t.pluginManager.getPreProcessors(),C=0;C<S.length;C++)s=S[C].process(s,{context:t,imports:r,fileInfo:i});(m||c&&c.banner)&&(y=(c&&c.banner?c.banner:"")+m,g=r.contentsIgnoredChars,g[i.filename]=g[i.filename]||0,g[i.filename]+=y.length),s=s.replace(/\r\n?/g,`
|
|
20
|
-
`),s=y+s.replace(/^\uFEFF/,"")+_,r.contents[i.filename]=s;try{n.start(s,t.chunkInput,function(V,P){throw new Se.default({index:P,type:"Parse",message:V,filename:i.filename},r)}),w.default.Node.prototype.parse=this,h=new w.default.Ruleset(null,this.parsers.primary()),w.default.Node.prototype.rootNode=h,h.root=!0,h.firstRoot=!0,h.functionRegistry=Dc.default.inherit()}catch(M){return u(new Se.default(M,r,i.filename))}var D=n.end();if(!D.isFinished){var I=D.furthestPossibleErrorMessage;I||(I="Unrecognised input",D.furthestChar==="}"?I+=". Possibly missing opening '{'":D.furthestChar===")"?I+=". Possibly missing opening '('":D.furthestReachedEnd&&(I+=". Possibly missing something")),d=new Se.default({type:"Parse",message:I,index:D.furthest,filename:i.filename},r)}var x=function(M){return M=d||M||r.error,M?(M instanceof Se.default||(M=new Se.default(M,r,i.filename)),u(M)):u(null,h)};if(t.processImports!==!1)new Sc.default.ImportVisitor(r,x).run(h);else return x()},parsers:a={primary:function(){for(var s=this.mixin,u=[],c;;){for(;c=this.comment(),!!c;)u.push(c);if(n.finished||n.peek("}"))break;if(c=this.extendRule(),c){u=u.concat(c);continue}if(c=s.definition()||this.declaration()||s.call(!1,!1)||this.ruleset()||this.variableCall()||this.entities.call()||this.atrule(),c)u.push(c);else{for(var h=!1;n.$char(";");)h=!0;if(!h)break}}return u},comment:function(){if(n.commentStore.length){var s=n.commentStore.shift();return new w.default.Comment(s.text,s.isLineComment,s.index,i)}},entities:{mixinLookup:function(){return a.mixin.call(!0,!0)},quoted:function(s){var u,c=n.i,h=!1;if(n.save(),n.$char("~"))h=!0;else if(s){n.restore();return}if(u=n.$quoted(),!u){n.restore();return}return n.forget(),new w.default.Quoted(u.charAt(0),u.substr(1,u.length-2),h,c,i)},keyword:function(){var s=n.$char("%")||n.$re(/^\[?(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+\]?/);if(s)return w.default.Color.fromKeyword(s)||new w.default.Keyword(s)},call:function(){var s,u,c,h=n.i;if(!n.peek(/^url\(/i)){if(n.save(),s=n.$re(/^([\w-]+|%|~|progid:[\w\.]+)\(/),!s){n.forget();return}if(s=s[1],c=this.customFuncCall(s),c&&(u=c.parse(),u&&c.stop))return n.forget(),u;if(u=this.arguments(u),!n.$char(")")){n.restore("Could not parse call arguments or missing ')'");return}return n.forget(),new w.default.Call(s,u,h,i)}},customFuncCall:function(s){return{alpha:u(a.ieAlpha,!0),boolean:u(c),if:u(c)}[s.toLowerCase()];function u(h,d){return{parse:h,stop:d}}function c(){return[o(a.condition,"expected condition")]}},arguments:function(s){var u=s||[],c=[],h,d;for(n.save();;){if(s)s=!1;else{if(d=a.detachedRuleset()||this.assignment()||a.expression(),!d)break;d.value&&d.value.length==1&&(d=d.value[0]),u.push(d)}n.$char(",")||(n.$char(";")||h)&&(h=!0,d=u.length<1?u[0]:new w.default.Value(u),c.push(d),u=[])}return n.forget(),h?c:u},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var s,u;if(n.save(),s=n.$re(/^\w+(?=\s?=)/i),!s){n.restore();return}if(!n.$char("=")){n.restore();return}if(u=a.entity(),u)return n.forget(),new w.default.Assignment(s,u);n.restore()},url:function(){var s,u=n.i;if(n.autoCommentAbsorb=!1,!n.$str("url(")){n.autoCommentAbsorb=!0;return}return s=this.quoted()||this.variable()||this.property()||n.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",n.autoCommentAbsorb=!0,f(")"),new w.default.URL(s.value!=null||s instanceof w.default.Variable||s instanceof w.default.Property?s:new w.default.Anonymous(s,u),u,i)},variable:function(){var s,u,c=n.i;if(n.save(),n.currentChar()==="@"&&(u=n.$re(/^@@?[\w-]+/))){if(s=n.currentChar(),s==="("||s==="["&&!n.prevChar().match(/^\s/)){var h=a.variableCall(u);if(h)return n.forget(),h}return n.forget(),new w.default.Variable(u,c,i)}n.restore()},variableCurly:function(){var s,u=n.i;if(n.currentChar()==="@"&&(s=n.$re(/^@\{([\w-]+)\}/)))return new w.default.Variable("@"+s[1],u,i)},property:function(){var s,u=n.i;if(n.currentChar()==="$"&&(s=n.$re(/^\$[\w-]+/)))return new w.default.Property(s,u,i)},propertyCurly:function(){var s,u=n.i;if(n.currentChar()==="$"&&(s=n.$re(/^\$\{([\w-]+)\}/)))return new w.default.Property("$"+s[1],u,i)},color:function(){var s;if(n.save(),n.currentChar()==="#"&&(s=n.$re(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})([\w.#\[])?/))&&!s[2])return n.forget(),new w.default.Color(s[1],void 0,s[0]);n.restore()},colorKeyword:function(){n.save();var s=n.autoCommentAbsorb;n.autoCommentAbsorb=!1;var u=n.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(n.autoCommentAbsorb=s,!u){n.forget();return}n.restore();var c=w.default.Color.fromKeyword(u);if(c)return n.$str(u),c},dimension:function(){if(!n.peekNotNumeric()){var s=n.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);if(s)return new w.default.Dimension(s[1],s[2])}},unicodeDescriptor:function(){var s;if(s=n.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/),s)return new w.default.UnicodeDescriptor(s[0])},javascript:function(){var s,u=n.i;n.save();var c=n.$char("~"),h=n.$char("`");if(!h){n.restore();return}if(s=n.$re(/^[^`]*`/),s)return n.forget(),new w.default.JavaScript(s.substr(0,s.length-1),Boolean(c),u,i);n.restore("invalid javascript definition")}},variable:function(){var s;if(n.currentChar()==="@"&&(s=n.$re(/^(@[\w-]+)\s*:/)))return s[1]},variableCall:function(s){var u,c=n.i,h=!!s,d=s;if(n.save(),d||n.currentChar()==="@"&&(d=n.$re(/^(@[\w-]+)(\(\s*\))?/))){if(u=this.mixin.ruleLookups(),!u&&(h&&n.$str("()")!=="()"||d[2]!=="()")){n.restore("Missing '[...]' lookup in variable call");return}h||(d=d[1]);var m=new w.default.VariableCall(d,c,i);return!h&&a.end()?(n.forget(),m):(n.forget(),new w.default.NamespaceValue(m,u,c,i))}n.restore()},extend:function(s){var u,c,h=n.i,d,m,_;if(!!n.$str(s?"&:extend(":":extend(")){do{for(d=null,u=null;!(d=n.$re(/^(all)(?=\s*(\)|,))/))&&(c=this.element(),!!c);)u?u.push(c):u=[c];d=d&&d[1],u||l("Missing target selector for :extend()."),_=new w.default.Extend(new w.default.Selector(u),d,h,i),m?m.push(_):m=[_]}while(n.$char(","));return o(/^\)/),s&&o(/^;/),m}},extendRule:function(){return this.extend(!0)},mixin:{call:function(s,u){var c=n.currentChar(),h=!1,d,m=n.i,_,g,y;if(!(c!=="."&&c!=="#")){if(n.save(),_=this.elements(),_){if(n.$char("(")&&(g=this.args(!0).args,f(")"),y=!0),u!==!1&&(d=this.ruleLookups()),u===!0&&!d){n.restore();return}if(!d&&!y){n.restore("Unrecognized input. Possibly missing '(' in mixin call.");return}if(!s&&a.important()&&(h=!0),s||a.end()){n.forget();var S=new w.default.mixin.Call(_,g,m,i,!d&&h);return d?new w.default.NamespaceValue(S,d):S}}n.restore()}},elements:function(){for(var s,u,c,h,d,m=/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/;d=n.i,u=n.$re(m),!!u;)h=new w.default.Element(c,u,!1,d,i),s?s.push(h):s=[h],c=n.$char(">");return s},args:function(s){var u=a.entities,c={args:null,variadic:!1},h=[],d=[],m=[],_,g,y,S,C,D,I,x=!0;for(n.save();;){if(s)D=a.detachedRuleset()||a.expression();else{if(n.commentStore.length=0,n.$str("...")){c.variadic=!0,n.$char(";")&&!_&&(_=!0),(_?d:m).push({variadic:!0});break}D=u.variable()||u.property()||u.literal()||u.keyword()||this.call(!0)}if(!D||!x)break;S=null,D.throwAwayComments&&D.throwAwayComments(),C=D;var M=null;if(s?D.value&&D.value.length==1&&(M=D.value[0]):M=D,M&&(M instanceof w.default.Variable||M instanceof w.default.Property))if(n.$char(":")){if(h.length>0&&(_&&l("Cannot mix ; and , as delimiter types"),g=!0),C=a.detachedRuleset()||a.expression(),!C)if(s)l("could not understand value for named argument");else return n.restore(),c.args=[],c;S=y=M.name}else if(n.$str("..."))if(s)I=!0;else{c.variadic=!0,n.$char(";")&&!_&&(_=!0),(_?d:m).push({name:D.name,variadic:!0});break}else s||(y=S=M.name,C=null);if(C&&h.push(C),m.push({name:S,value:C,expand:I}),n.$char(",")){x=!0;continue}x=n.$char(";")===";",(x||_)&&(g&&l("Cannot mix ; and , as delimiter types"),_=!0,h.length>1&&(C=new w.default.Value(h)),d.push({name:y,value:C,expand:I}),y=null,h=[],g=!1)}return n.forget(),c.args=_?d:m,c},definition:function(){var s,u=[],c,h,d,m=!1;if(!(n.currentChar()!=="."&&n.currentChar()!=="#"||n.peek(/^[^{]*\}/)))if(n.save(),c=n.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/),c){s=c[1];var _=this.args(!1);if(u=_.args,m=_.variadic,!n.$char(")")){n.restore("Missing closing ')'");return}if(n.commentStore.length=0,n.$str("when")&&(d=o(a.conditions,"expected condition")),h=a.block(),h)return n.forget(),new w.default.mixin.Definition(s,u,h,d,m);n.restore()}else n.restore()},ruleLookups:function(){var s,u,c=[];if(n.currentChar()==="["){for(;;){if(n.save(),u=null,s=this.lookupValue(),!s&&s!==""){n.restore();break}c.push(s),n.forget()}if(c.length>0)return c}},lookupValue:function(){if(n.save(),!n.$char("[")){n.restore();return}var s=n.$re(/^(?:[@$]{0,2})[_a-zA-Z0-9-]*/);if(!n.$char("]")){n.restore();return}if(s||s==="")return n.forget(),s;n.restore()}},entity:function(){var s=this.entities;return this.comment()||s.literal()||s.variable()||s.url()||s.property()||s.call()||s.keyword()||this.mixin.call(!0)||s.javascript()},end:function(){return n.$char(";")||n.peek("}")},ieAlpha:function(){var s;if(!!n.$re(/^opacity=/i))return s=n.$re(/^\d+/),s||(s=o(a.entities.variable,"Could not parse alpha"),s="@{"+s.name.slice(1)+"}"),f(")"),new w.default.Quoted("","alpha(opacity="+s+")")},element:function(){var s,u,c,h=n.i;if(u=this.combinator(),s=n.$re(/^(?:\d+\.\d+|\d+)%/)||n.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||n.$char("*")||n.$char("&")||this.attribute()||n.$re(/^\([^&()@]+\)/)||n.$re(/^[\.#:](?=@)/)||this.entities.variableCurly(),s||(n.save(),n.$char("(")?(c=this.selector(!1))&&n.$char(")")?(s=new w.default.Paren(c),n.forget()):n.restore("Missing closing ')'"):n.forget()),s)return new w.default.Element(u,s,s instanceof w.default.Variable,h,i)},combinator:function(){var s=n.currentChar();if(s==="/"){n.save();var u=n.$re(/^\/[a-z]+\//i);if(u)return n.forget(),new w.default.Combinator(u);n.restore()}if(s===">"||s==="+"||s==="~"||s==="|"||s==="^"){for(n.i++,s==="^"&&n.currentChar()==="^"&&(s="^^",n.i++);n.isWhitespace();)n.i++;return new w.default.Combinator(s)}else return n.isWhitespace(-1)?new w.default.Combinator(" "):new w.default.Combinator(null)},selector:function(s){var u=n.i,c,h,d,m,_,g,y;for(s=s!==!1;(s&&(h=this.extend())||s&&(g=n.$str("when"))||(m=this.element()))&&(g?y=o(this.conditions,"expected condition"):y?l("CSS guard can only be used at the end of selector"):h?_?_=_.concat(h):_=h:(_&&l("Extend can only be used at the end of selector"),d=n.currentChar(),c?c.push(m):c=[m],m=null),!(d==="{"||d==="}"||d===";"||d===","||d===")")););if(c)return new w.default.Selector(c,_,y,u,i);_&&l("Extend must be used to extend a selector, it cannot be used on its own")},selectors:function(){for(var s,u;s=this.selector(),!(!s||(u?u.push(s):u=[s],n.commentStore.length=0,s.condition&&u.length>1&&l("Guards are only currently allowed on a single selector."),!n.$char(",")));)s.condition&&l("Guards are only currently allowed on a single selector."),n.commentStore.length=0;return u},attribute:function(){if(!!n.$char("[")){var s=this.entities,u,c,h;return(u=s.variableCurly())||(u=o(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),h=n.$re(/^[|~*$^]?=/),h&&(c=s.quoted()||n.$re(/^[0-9]+%/)||n.$re(/^[\w-]+/)||s.variableCurly()),f("]"),new w.default.Attribute(u,h,c)}},block:function(){var s;if(n.$char("{")&&(s=this.primary())&&n.$char("}"))return s},blockRuleset:function(){var s=this.block();return s&&(s=new w.default.Ruleset(null,s)),s},detachedRuleset:function(){var s,u,c;if(n.save(),n.$re(/^[.#]\(/)&&(s=this.mixin.args(!1),u=s.args,c=s.variadic,!n.$char(")"))){n.restore();return}var h=this.blockRuleset();if(h)return n.forget(),u?new w.default.mixin.Definition(null,u,h,null,c):new w.default.DetachedRuleset(h);n.restore()},ruleset:function(){var s,u,c;if(n.save(),t.dumpLineNumbers&&(c=v(n.i)),s=this.selectors(),s&&(u=this.block())){n.forget();var h=new w.default.Ruleset(s,u,t.strictImports);return t.dumpLineNumbers&&(h.debugInfo=c),h}else n.restore()},declaration:function(){var s,u,c=n.i,h,d=n.currentChar(),m,_,g;if(!(d==="."||d==="#"||d==="&"||d===":"))if(n.save(),s=this.variable()||this.ruleProperty(),s){if(g=typeof s=="string",g&&(u=this.detachedRuleset(),u&&(h=!0)),n.commentStore.length=0,!u){if(_=!g&&s.length>1&&s.pop().value,s[0].value&&s[0].value.slice(0,2)==="--"?u=this.permissiveValue():u=this.anonymousValue(),u)return n.forget(),new w.default.Declaration(s,u,!1,_,c,i);u||(u=this.value()),u?m=this.important():g&&(u=this.permissiveValue())}if(u&&(this.end()||h))return n.forget(),new w.default.Declaration(s,u,m,_,c,i);n.restore()}else n.restore()},anonymousValue:function(){var s=n.i,u=n.$re(/^([^.#@\$+\/'"*`(;{}-]*);/);if(u)return new w.default.Anonymous(u[1],s)},permissiveValue:function(s){var u,c,h,d,m=s||";",_=n.i,g=[];function y(){var D=n.currentChar();return typeof m=="string"?D===m:m.test(D)}if(!y()){d=[];do{if(c=this.comment(),c){d.push(c);continue}c=this.entity(),c&&d.push(c)}while(c);if(h=y(),d.length>0){if(d=new w.default.Expression(d),h)return d;g.push(d),n.prevChar()===" "&&g.push(new w.default.Anonymous(" ",_))}if(n.save(),d=n.$parseUntil(m),d){if(typeof d=="string"&&l("Expected '"+d+"'","Parse"),d.length===1&&d[0]===" ")return n.forget(),new w.default.Anonymous("",_);var S=void 0;for(u=0;u<d.length;u++)if(S=d[u],Array.isArray(S))g.push(new w.default.Quoted(S[0],S[1],!0,_,i));else{u===d.length-1&&(S=S.trim());var C=new w.default.Quoted("'",S,!0,_,i);C.variableRegex=/@([\w-]+)/g,C.propRegex=/\$([\w-]+)/g,g.push(C)}return n.forget(),new w.default.Expression(g,!0)}n.restore()}},import:function(){var s,u,c=n.i,h=n.$re(/^@import?\s+/);if(h){var d=(h?this.importOptions():null)||{};if(s=this.entities.quoted()||this.entities.url())return u=this.mediaFeatures(),n.$char(";")||(n.i=c,l("missing semi-colon or unrecognised media features on import")),u=u&&new w.default.Value(u),new w.default.Import(s,u,d,c,i);n.i=c,l("malformed import statement")}},importOptions:function(){var s,u={},c,h;if(!n.$char("("))return null;do if(s=this.importOption(),s){switch(c=s,h=!0,c){case"css":c="less",h=!1;break;case"once":c="multiple",h=!1;break}if(u[c]=h,!n.$char(","))break}while(s);return f(")"),u},importOption:function(){var s=n.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(s)return s[1]},mediaFeature:function(){var s=this.entities,u=[],c,h;n.save();do c=s.keyword()||s.variable()||s.mixinLookup(),c?u.push(c):n.$char("(")&&(h=this.property(),c=this.value(),n.$char(")")?h&&c?u.push(new w.default.Paren(new w.default.Declaration(h,c,null,null,n.i,i,!0))):c?u.push(new w.default.Paren(c)):l("badly formed media feature definition"):l("Missing closing ')'","Parse"));while(c);if(n.forget(),u.length>0)return new w.default.Expression(u)},mediaFeatures:function(){var s=this.entities,u=[],c;do if(c=this.mediaFeature(),c){if(u.push(c),!n.$char(","))break}else if(c=s.variable()||s.mixinLookup(),c&&(u.push(c),!n.$char(",")))break;while(c);return u.length>0?u:null},media:function(){var s,u,c,h,d=n.i;if(t.dumpLineNumbers&&(h=v(d)),n.save(),n.$str("@media"))return s=this.mediaFeatures(),u=this.block(),u||l("media definitions require block statements after any features"),n.forget(),c=new w.default.Media(u,s,d,i),t.dumpLineNumbers&&(c.debugInfo=h),c;n.restore()},plugin:function(){var s,u,c,h=n.i,d=n.$re(/^@plugin?\s+/);if(d){if(u=this.pluginArgs(),u?c={pluginArgs:u,isPlugin:!0}:c={isPlugin:!0},s=this.entities.quoted()||this.entities.url())return n.$char(";")||(n.i=h,l("missing semi-colon on @plugin")),new w.default.Import(s,null,c,h,i);n.i=h,l("malformed @plugin statement")}},pluginArgs:function(){if(n.save(),!n.$char("("))return n.restore(),null;var s=n.$re(/^\s*([^\);]+)\)\s*/);return s[1]?(n.forget(),s[1].trim()):(n.restore(),null)},atrule:function(){var s=n.i,u,c,h,d,m,_,g,y=!0,S=!0;if(n.currentChar()==="@"){if(c=this.import()||this.plugin()||this.media(),c)return c;if(n.save(),u=n.$re(/^@[a-z-]+/),!!u){switch(d=u,u.charAt(1)=="-"&&u.indexOf("-",2)>0&&(d="@"+u.slice(u.indexOf("-",2)+1)),d){case"@charset":m=!0,y=!1;break;case"@namespace":_=!0,y=!1;break;case"@keyframes":case"@counter-style":m=!0;break;case"@document":case"@supports":g=!0,S=!1;break;default:g=!0;break}if(n.commentStore.length=0,m?(c=this.entity(),c||l("expected "+u+" identifier")):_?(c=this.expression(),c||l("expected "+u+" expression")):g&&(c=this.permissiveValue(/^[{;]/),y=n.currentChar()==="{",c?c.value||(c=null):!y&&n.currentChar()!==";"&&l(u+" rule is missing block or ending semi-colon")),y&&(h=this.blockRuleset()),h||!y&&c&&n.$char(";"))return n.forget(),new w.default.AtRule(u,c,h,s,i,t.dumpLineNumbers?v(s):null,S);n.restore("at-rule options not recognised")}}},value:function(){var s,u=[],c=n.i;do if(s=this.expression(),s&&(u.push(s),!n.$char(",")))break;while(s);if(u.length>0)return new w.default.Value(u,c)},important:function(){if(n.currentChar()==="!")return n.$re(/^! *important/)},sub:function(){var s,u;if(n.save(),n.$char("(")){if(s=this.addition(),s&&n.$char(")"))return n.forget(),u=new w.default.Expression([s]),u.parens=!0,u;n.restore("Expected ')'");return}n.restore()},multiplication:function(){var s,u,c,h,d;if(s=this.operand(),s){for(d=n.isWhitespace(-1);!n.peek(/^\/[*\/]/);){if(n.save(),c=n.$char("/")||n.$char("*")||n.$str("./"),!c){n.forget();break}if(u=this.operand(),!u){n.restore();break}n.forget(),s.parensInOp=!0,u.parensInOp=!0,h=new w.default.Operation(c,[h||s,u],d),d=n.isWhitespace(-1)}return h||s}},addition:function(){var s,u,c,h,d;if(s=this.multiplication(),s){for(d=n.isWhitespace(-1);c=n.$re(/^[-+]\s+/)||!d&&(n.$char("+")||n.$char("-")),!(!c||(u=this.multiplication(),!u));)s.parensInOp=!0,u.parensInOp=!0,h=new w.default.Operation(c,[h||s,u],d),d=n.isWhitespace(-1);return h||s}},conditions:function(){var s,u,c=n.i,h;if(s=this.condition(!0),s){for(;!(!n.peek(/^,\s*(not\s*)?\(/)||!n.$char(",")||(u=this.condition(!0),!u));)h=new w.default.Condition("or",h||s,u,c);return h||s}},condition:function(s){var u,c,h;function d(){return n.$str("or")}if(u=this.conditionAnd(s),!!u){if(c=d(),c)if(h=this.condition(s),h)u=new w.default.Condition(c,u,h);else return;return u}},conditionAnd:function(s){var u,c,h,d=this;function m(){var g=d.negatedCondition(s)||d.parenthesisCondition(s);return!g&&!s?d.atomicCondition(s):g}function _(){return n.$str("and")}if(u=m(),!!u){if(c=_(),c)if(h=this.conditionAnd(s),h)u=new w.default.Condition(c,u,h);else return;return u}},negatedCondition:function(s){if(n.$str("not")){var u=this.parenthesisCondition(s);return u&&(u.negate=!u.negate),u}},parenthesisCondition:function(s){function u(h){var d;if(n.save(),d=h.condition(s),!d){n.restore();return}if(!n.$char(")")){n.restore();return}return n.forget(),d}var c;if(n.save(),!n.$str("(")){n.restore();return}if(c=u(this),c)return n.forget(),c;if(c=this.atomicCondition(s),!c){n.restore();return}if(!n.$char(")")){n.restore("expected ')' got '"+n.currentChar()+"'");return}return n.forget(),c},atomicCondition:function(s){var u=this.entities,c=n.i,h,d,m,_;function g(){return this.addition()||u.keyword()||u.quoted()||u.mixinLookup()}if(g=g.bind(this),h=g(),h)return n.$char(">")?n.$char("=")?_=">=":_=">":n.$char("<")?n.$char("=")?_="<=":_="<":n.$char("=")&&(n.$char(">")?_="=>":n.$char("<")?_="=<":_="="),_?(d=g(),d?m=new w.default.Condition(_,h,d,c,!1):l("expected expression")):m=new w.default.Condition("=",h,new w.default.Keyword("true"),c,!1),m},operand:function(){var s=this.entities,u;n.peek(/^-[@\$\(]/)&&(u=n.$char("-"));var c=this.sub()||s.dimension()||s.color()||s.variable()||s.property()||s.call()||s.quoted(!0)||s.colorKeyword()||s.mixinLookup();return u&&(c.parensInOp=!0,c=new w.default.Negative(c)),c},expression:function(){var s=[],u,c,h=n.i;do{if(u=this.comment(),u){s.push(u);continue}u=this.addition()||this.entity(),u instanceof w.default.Comment&&(u=null),u&&(s.push(u),n.peek(/^\/[\/*]/)||(c=n.$char("/"),c&&s.push(new w.default.Anonymous(c,h))))}while(u);if(s.length>0)return new w.default.Expression(s)},property:function(){var s=n.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(s)return s[1]},ruleProperty:function(){var s=[],u=[],c,h;n.save();var d=n.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(d)return s=[new w.default.Keyword(d[1])],n.forget(),s;function m(_){var g=n.i,y=n.$re(_);if(y)return u.push(g),s.push(y[1])}for(m(/^(\*?)/);m(/^((?:[\w-]+)|(?:[@\$]\{[\w-]+\}))/););if(s.length>1&&m(/^((?:\+_|\+)?)\s*:/)){for(n.forget(),s[0]===""&&(s.shift(),u.shift()),h=0;h<s.length;h++)c=s[h],s[h]=c.charAt(0)!=="@"&&c.charAt(0)!=="$"?new w.default.Keyword(c):c.charAt(0)==="@"?new w.default.Variable("@"+c.slice(2,-1),u[h],i):new w.default.Property("$"+c.slice(2,-1),u[h],i);return s}n.restore()}}}};Vs.serializeVars=function(e){var t="";for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];t+=(r[0]==="@"?"":"@")+r+": "+i+(String(i).slice(-1)===";"?"":";")}return t};Xi.default=Vs});var Us=b(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});var $s=q(),Ic=$s.__importDefault(U()),Bt=$s.__importDefault(ge());function xc(e){return e?Bt.default.True:Bt.default.False}function Ls(e,t,r,i){return t.eval(e)?r.eval(e):i?i.eval(e):new Ic.default}Ls.evalArgs=!1;function Bs(e,t){try{return t.eval(e),Bt.default.True}catch(r){return Bt.default.False}}Bs.evalArgs=!1;en.default={isdefined:Bs,boolean:xc,if:Ls}});var Ns=b(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});var Le=q(),B=Le.__importDefault(K()),te=Le.__importDefault(fe()),Mc=Le.__importDefault(ee()),Ac=Le.__importDefault(U()),Ts=Le.__importDefault(ce()),zs=Le.__importDefault(tt()),T;function re(e){return Math.min(1,Math.max(0,e))}function pe(e,t){var r=T.hsla(t.h,t.s,t.l,t.a);if(r)return e.value&&/^(rgb|hsl)/.test(e.value)?r.value=e.value:r.value="rgb",r}function z(e){if(e.toHSL)return e.toHSL();throw new Error("Argument cannot be evaluated to a color")}function rn(e){if(e.toHSV)return e.toHSV();throw new Error("Argument cannot be evaluated to a color")}function N(e){if(e instanceof B.default)return parseFloat(e.unit.is("%")?e.value/100:e.value);if(typeof e=="number")return e;throw{type:"Argument",message:"color functions take numbers as parameters"}}function kc(e,t){return e instanceof B.default&&e.unit.is("%")?parseFloat(e.value*t/100):N(e)}T={rgb:function(e,t,r){var i=1;if(e instanceof Ts.default){var a=e.value;if(e=a[0],t=a[1],r=a[2],r instanceof zs.default){var n=r;r=n.operands[0],i=n.operands[1]}}var l=T.rgba(e,t,r,i);if(l)return l.value="rgb",l},rgba:function(e,t,r,i){try{if(e instanceof te.default)return t?i=N(t):i=e.alpha,new te.default(e.rgb,i,"rgba");var a=[e,t,r].map(function(n){return kc(n,255)});return i=N(i),new te.default(a,i,"rgba")}catch(n){}},hsl:function(e,t,r){var i=1;if(e instanceof Ts.default){var a=e.value;if(e=a[0],t=a[1],r=a[2],r instanceof zs.default){var n=r;r=n.operands[0],i=n.operands[1]}}var l=T.hsla(e,t,r,i);if(l)return l.value="hsl",l},hsla:function(e,t,r,i){try{let o=function(f){return f=f<0?f+1:f>1?f-1:f,f*6<1?a+(n-a)*f*6:f*2<1?n:f*3<2?a+(n-a)*(2/3-f)*6:a};if(e instanceof te.default)return t?i=N(t):i=e.alpha,new te.default(e.rgb,i,"hsla");var a,n;e=N(e)%360/360,t=re(N(t)),r=re(N(r)),i=re(N(i)),n=r<=.5?r*(t+1):r+t-r*t,a=r*2-n;var l=[o(e+1/3)*255,o(e)*255,o(e-1/3)*255];return i=N(i),new te.default(l,i,"hsla")}catch(o){}},hsv:function(e,t,r){return T.hsva(e,t,r,1)},hsva:function(e,t,r,i){e=N(e)%360/360*360,t=N(t),r=N(r),i=N(i);var a,n;a=Math.floor(e/60%6),n=e/60-a;var l=[r,r*(1-t),r*(1-n*t),r*(1-(1-n)*t)],o=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return T.rgba(l[o[a][0]]*255,l[o[a][1]]*255,l[o[a][2]]*255,i)},hue:function(e){return new B.default(z(e).h)},saturation:function(e){return new B.default(z(e).s*100,"%")},lightness:function(e){return new B.default(z(e).l*100,"%")},hsvhue:function(e){return new B.default(rn(e).h)},hsvsaturation:function(e){return new B.default(rn(e).s*100,"%")},hsvvalue:function(e){return new B.default(rn(e).v*100,"%")},red:function(e){return new B.default(e.rgb[0])},green:function(e){return new B.default(e.rgb[1])},blue:function(e){return new B.default(e.rgb[2])},alpha:function(e){return new B.default(z(e).a)},luma:function(e){return new B.default(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new B.default(t*e.alpha*100,"%")},saturate:function(e,t,r){if(!e.rgb)return null;var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.s+=i.s*t.value/100:i.s+=t.value/100,i.s=re(i.s),pe(e,i)},desaturate:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.s-=i.s*t.value/100:i.s-=t.value/100,i.s=re(i.s),pe(e,i)},lighten:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.l+=i.l*t.value/100:i.l+=t.value/100,i.l=re(i.l),pe(e,i)},darken:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.l-=i.l*t.value/100:i.l-=t.value/100,i.l=re(i.l),pe(e,i)},fadein:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.a+=i.a*t.value/100:i.a+=t.value/100,i.a=re(i.a),pe(e,i)},fadeout:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.a-=i.a*t.value/100:i.a-=t.value/100,i.a=re(i.a),pe(e,i)},fade:function(e,t){var r=z(e);return r.a=t.value/100,r.a=re(r.a),pe(e,r)},spin:function(e,t){var r=z(e),i=(r.h+t.value)%360;return r.h=i<0?360+i:i,pe(e,r)},mix:function(e,t,r){r||(r=new B.default(50));var i=r.value/100,a=i*2-1,n=z(e).a-z(t).a,l=((a*n==-1?a:(a+n)/(1+a*n))+1)/2,o=1-l,f=[e.rgb[0]*l+t.rgb[0]*o,e.rgb[1]*l+t.rgb[1]*o,e.rgb[2]*l+t.rgb[2]*o],v=e.alpha*i+t.alpha*(1-i);return new te.default(f,v)},greyscale:function(e){return T.desaturate(e,new B.default(100))},contrast:function(e,t,r,i){if(!e.rgb)return null;if(typeof r=="undefined"&&(r=T.rgba(255,255,255,1)),typeof t=="undefined"&&(t=T.rgba(0,0,0,1)),t.luma()>r.luma()){var a=r;r=t,t=a}return typeof i=="undefined"?i=.43:i=N(i),e.luma()<i?r:t},argb:function(e){return new Ac.default(e.toARGB())},color:function(e){if(e instanceof Mc.default&&/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})$/i.test(e.value)){var t=e.value.slice(1);return new te.default(t,void 0,"#"+t)}if(e instanceof te.default||(e=te.default.fromKeyword(e.value)))return e.value=void 0,e;throw{type:"Argument",message:"argument must be a color keyword or 3|4|6|8 digit hex e.g. #FFF"}},tint:function(e,t){return T.mix(T.rgb(255,255,255),e,t)},shade:function(e,t){return T.mix(T.rgb(0,0,0),e,t)}};tn.default=T});var Ws=b(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});var Oc=q(),Pc=Oc.__importDefault(fe());function an(e,t,r){var i=t.alpha,a,n=r.alpha,l,o,f,v=[];o=n+i*(1-n);for(var p=0;p<3;p++)a=t.rgb[p]/255,l=r.rgb[p]/255,f=e(a,l),o&&(f=(n*l+i*(a-n*(a+l-f)))/o),v[p]=f*255;return new Pc.default(v,o)}var Be={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return e*=2,e<=1?Be.multiply(e,t):Be.screen(e-1,t)},softlight:function(e,t){var r=1,i=e;return t>.5&&(i=1,r=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e),e-(1-2*t)*i*(r-e)},hardlight:function(e,t){return Be.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var sn in Be)Be.hasOwnProperty(sn)&&(an[sn]=an.bind(null,Be[sn]));nn.default=an});var Hs=b(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});var Ut=q(),Ec=Ut.__importDefault(ee()),Gs=Ut.__importDefault(Re()),Rc=Ut.__importStar(L()),jc=Ut.__importDefault(_e());un.default=function(e){var t=function(r,i){return new Gs.default(i,r.index,r.currentFileInfo).eval(r.context)};return{"data-uri":function(r,i){i||(i=r,r=null);var a=r&&r.value,n=i.value,l=this.currentFileInfo,o=l.rewriteUrls?l.currentDirectory:l.entryPath,f=n.indexOf("#"),v="";f!==-1&&(v=n.slice(f),n=n.slice(0,f));var p=Rc.clone(this.context);p.rawBuffer=!0;var s=e.getFileManager(n,o,p,e,!0);if(!s)return t(this,i);var u=!1;if(r)u=/;base64$/.test(a);else{if(a=e.mimeLookup(n),a==="image/svg+xml")u=!1;else{var c=e.charsetLookup(a);u=["US-ASCII","UTF-8"].indexOf(c)<0}u&&(a+=";base64")}var h=s.loadFileSync(n,o,p,e);if(!h.contents)return jc.default.warn("Skipped data-uri embedding of "+n+" because file not found"),t(this,i||r);var d=h.contents;if(u&&!e.encodeBase64)return t(this,i);d=u?e.encodeBase64(d):encodeURIComponent(d);var m="data:"+a+","+d+v;return new Gs.default(new Ec.default('"'+m+'"',m,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}});var Ys=b(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});var ie=q(),Fc=ie.__importDefault(Ke()),Vc=ie.__importDefault(A()),Tt=ie.__importDefault(K()),zt=ie.__importDefault(ke()),$c=ie.__importDefault(ce()),Js=ie.__importDefault(ue()),Ks=ie.__importDefault(X()),Qs=ie.__importDefault(De()),Lc=ie.__importDefault(ee()),Bc=ie.__importDefault(He()),Zs=function(e){var t=Array.isArray(e.value)?e.value:Array(e);return t};ln.default={_SELF:function(e){return e},"~":function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===1?e[0]:new Bc.default(e)},extract:function(e,t){return t=t.value-1,Zs(e)[t]},length:function(e){return new Tt.default(Zs(e).length)},range:function(e,t,r){var i,a,n=1,l=[];t?(a=t,i=e.value,r&&(n=r.value)):(i=1,a=e);for(var o=i;o<=a.value;o+=n)l.push(new Tt.default(o,a.unit));return new $c.default(l)},each:function(e,t){var r=this,i=[],a,n,l=function(h){return h instanceof Vc.default?h.eval(r.context):h};e.value&&!(e instanceof Lc.default)?Array.isArray(e.value)?n=e.value.map(l):n=[l(e.value)]:e.ruleset?n=l(e.ruleset).rules:e.rules?n=e.rules.map(l):Array.isArray(e)?n=e.map(l):n=[l(e)];var o="@value",f="@key",v="@index";t.params?(o=t.params[0]&&t.params[0].name,f=t.params[1]&&t.params[1].name,v=t.params[2]&&t.params[2].name,t=t.rules):t=t.ruleset;for(var p=0;p<n.length;p++){var s=void 0,u=void 0,c=n[p];c instanceof zt.default?(s=typeof c.name=="string"?c.name:c.name[0].value,u=c.value):(s=new Tt.default(p+1),u=c),!(c instanceof Fc.default)&&(a=t.rules.slice(0),o&&a.push(new zt.default(o,u,!1,!1,this.index,this.currentFileInfo)),v&&a.push(new zt.default(v,new Tt.default(p+1),!1,!1,this.index,this.currentFileInfo)),f&&a.push(new zt.default(f,s,!1,!1,this.index,this.currentFileInfo)),i.push(new Js.default([new Ks.default([new Qs.default("","&")])],a,t.strictImports,t.visibilityInfo())))}return new Js.default([new Ks.default([new Qs.default("","&")])],i,t.strictImports,t.visibilityInfo()).eval(this.context)}}});var fn=b(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});var Uc=q(),Xs=Uc.__importDefault(K()),Tc=function(e,t,r){if(!(r instanceof Xs.default))throw{type:"Argument",message:"argument must be a number"};return t==null?t=r.unit:r=r.unify(),new Xs.default(e(parseFloat(r.value)),t)};on.default=Tc});var tu=b(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});var zc=q(),eu=zc.__importDefault(fn()),Ue={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var Nt in Ue)Ue.hasOwnProperty(Nt)&&(Ue[Nt]=eu.default.bind(null,Math[Nt],Ue[Nt]));Ue.round=function(e,t){var r=typeof t=="undefined"?0:t.value;return eu.default(function(i){return i.toFixed(r)},null,e)};cn.default=Ue});var iu=b(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});var vn=q(),ne=vn.__importDefault(K()),Nc=vn.__importDefault(U()),Wc=vn.__importDefault(fn()),ru=function(e,t){switch(t=Array.prototype.slice.call(t),t.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var r,i,a,n,l,o,f,v,p=[],s={};for(r=0;r<t.length;r++){if(a=t[r],!(a instanceof ne.default)){Array.isArray(t[r].value)&&Array.prototype.push.apply(t,Array.prototype.slice.call(t[r].value));continue}if(n=a.unit.toString()===""&&v!==void 0?new ne.default(a.value,v).unify():a.unify(),o=n.unit.toString()===""&&f!==void 0?f:n.unit.toString(),f=o!==""&&f===void 0||o!==""&&p[0].unify().unit.toString()===""?o:f,v=o!==""&&v===void 0?a.unit.toString():v,i=s[""]!==void 0&&o!==""&&o===f?s[""]:s[o],i===void 0){if(f!==void 0&&o!==f)throw{type:"Argument",message:"incompatible types"};s[o]=p.length,p.push(a);continue}l=p[i].unit.toString()===""&&v!==void 0?new ne.default(p[i].value,v).unify():p[i].unify(),(e&&n.value<l.value||!e&&n.value>l.value)&&(p[i]=a)}return p.length==1?p[0]:(t=p.map(function(u){return u.toCSS(this.context)}).join(this.context.compress?",":", "),new Nc.default((e?"min":"max")+"("+t+")"))};hn.default={min:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return ru(!0,e)}catch(r){}},max:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return ru(!1,e)}catch(r){}},convert:function(e,t){return e.convertTo(t.value)},pi:function(){return new ne.default(Math.PI)},mod:function(e,t){return new ne.default(e.value%t.value,e.unit)},pow:function(e,t){if(typeof e=="number"&&typeof t=="number")e=new ne.default(e),t=new ne.default(t);else if(!(e instanceof ne.default)||!(t instanceof ne.default))throw{type:"Argument",message:"arguments must be numbers"};return new ne.default(Math.pow(e.value,t.value),e.unit)},percentage:function(e){var t=Wc.default(function(r){return r*100},"%",e);return t}}});var nu=b(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});var pn=q(),mn=pn.__importDefault(ee()),Gc=pn.__importDefault(U()),Hc=pn.__importDefault(Di());dn.default={e:function(e){return new mn.default('"',e instanceof Hc.default?e.evaluated:e.value,!0)},escape:function(e){return new Gc.default(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,r,i){var a=e.value;return r=r.type==="Quoted"?r.value:r.toCSS(),a=a.replace(new RegExp(t.value,i?i.value:""),r),new mn.default(e.quote||"",a,e.escaped)},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,i=function(n){r=r.replace(/%[sda]/i,function(l){var o=t[n].type==="Quoted"&&l.match(/s/i)?t[n].value:t[n].toCSS();return l.match(/[A-Z]$/)?encodeURIComponent(o):o})},a=0;a<t.length;a++)i(a);return r=r.replace(/%%/g,"%"),new mn.default(e.quote||"",r,e.escaped)}}});var au=b(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});var st=q(),Jc=st.__importDefault(K()),Kc=st.__importDefault(fe()),Qc=st.__importDefault(ce()),Zc=st.__importDefault(ee()),Yc=st.__importDefault(Re());_n.default=function(e){return{"svg-gradient":function(t){var r,i,a="linear",n='x="0" y="0" width="1" height="1"',l={compress:!1},o,f=t.toCSS(l),v,p,s,u,c;function h(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}switch(arguments.length==2?(arguments[1].value.length<2&&h(),r=arguments[1].value):arguments.length<3?h():r=Array.prototype.slice.call(arguments,1),f){case"to bottom":i='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":i='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":i='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":i='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":a="radial",i='cx="50%" cy="50%" r="75%"',n='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for(o='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><'+a+'Gradient id="g" '+i+">",v=0;v<r.length;v+=1)r[v]instanceof Qc.default?(p=r[v].value[0],s=r[v].value[1]):(p=r[v],s=void 0),(!(p instanceof Kc.default)||!((v===0||v+1===r.length)&&s===void 0)&&!(s instanceof Jc.default))&&h(),u=s?s.toCSS(l):v===0?"0%":"100%",c=p.alpha,o+='<stop offset="'+u+'" stop-color="'+p.toRGB()+'"'+(c<1?' stop-opacity="'+c+'"':"")+"/>";return o+="</"+a+"Gradient><rect "+n+' fill="url(#g)" /></svg>',o=encodeURIComponent(o),o="data:image/svg+xml,"+o,new Yc.default(new Zc.default("'"+o+"'",o,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}});var su=b(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});var me=q(),Te=me.__importDefault(ge()),Xc=me.__importDefault(Ye()),Wt=me.__importDefault(K()),eh=me.__importDefault(fe()),th=me.__importDefault(ee()),rh=me.__importDefault(U()),ih=me.__importDefault(Re()),nh=me.__importDefault(tt()),ze=function(e,t){return e instanceof t?Te.default.True:Te.default.False},Gt=function(e,t){if(t===void 0)throw{type:"Argument",message:"missing the required second argument to isunit."};if(t=typeof t.value=="string"?t.value:t,typeof t!="string")throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return e instanceof Wt.default&&e.unit.is(t)?Te.default.True:Te.default.False};gn.default={isruleset:function(e){return ze(e,Xc.default)},iscolor:function(e){return ze(e,eh.default)},isnumber:function(e){return ze(e,Wt.default)},isstring:function(e){return ze(e,th.default)},iskeyword:function(e){return ze(e,Te.default)},isurl:function(e){return ze(e,ih.default)},ispixel:function(e){return Gt(e,"px")},ispercentage:function(e){return Gt(e,"%")},isem:function(e){return Gt(e,"em")},isunit:Gt,unit:function(e,t){if(!(e instanceof Wt.default))throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof nh.default?". Have you forgotten parenthesis?":"")};return t?t instanceof Te.default?t=t.value:t=t.toCSS():t="",new Wt.default(e.value,t)},"get-unit":function(e){return new rh.default(e.unit)}}});var lu=b(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});var H=q(),Q=H.__importDefault(Qe()),ah=H.__importDefault(ii()),sh=H.__importDefault(Us()),uu=H.__importDefault(gt()),uh=H.__importDefault(Ns()),lh=H.__importDefault(Ws()),oh=H.__importDefault(Hs()),fh=H.__importDefault(Ys()),ch=H.__importDefault(tu()),hh=H.__importDefault(iu()),vh=H.__importDefault(nu()),dh=H.__importDefault(au()),ph=H.__importDefault(su());yn.default=function(e){var t={functionRegistry:Q.default,functionCaller:ah.default};return Q.default.addMultiple(sh.default),Q.default.add("default",uu.default.eval.bind(uu.default)),Q.default.addMultiple(uh.default),Q.default.addMultiple(lh.default),Q.default.addMultiple(oh.default(e)),Q.default.addMultiple(fh.default),Q.default.addMultiple(ch.default),Q.default.addMultiple(hh.default),Q.default.addMultiple(vh.default),Q.default.addMultiple(dh.default(e)),Q.default.addMultiple(ph.default),t}});var Sn=b(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});var wn=q(),mh=wn.__importDefault(se()),Ht=wn.__importDefault($t()),Ne=wn.__importDefault(be());function _h(e,t){t=t||{};var r,i=t.variables,a=new mh.default.Eval(t);typeof i=="object"&&!Array.isArray(i)&&(i=Object.keys(i).map(function(p){var s=i[p];return s instanceof Ne.default.Value||(s instanceof Ne.default.Expression||(s=new Ne.default.Expression([s])),s=new Ne.default.Value([s])),new Ne.default.Declaration("@"+p,s,!1,null,0)}),a.frames=[new Ne.default.Ruleset(null,i)]);var n=[new Ht.default.JoinSelectorVisitor,new Ht.default.MarkVisibleSelectorsVisitor(!0),new Ht.default.ExtendVisitor,new Ht.default.ToCSSVisitor({compress:Boolean(t.compress)})],l=[],o,f;if(t.pluginManager){f=t.pluginManager.visitor();for(var v=0;v<2;v++)for(f.first();o=f.get();)o.isPreEvalVisitor?(v===0||l.indexOf(o)===-1)&&(l.push(o),o.run(e)):(v===0||n.indexOf(o)===-1)&&(o.isPreVisitor?n.unshift(o):n.push(o))}r=e.eval(a);for(var v=0;v<n.length;v++)n[v].run(r);if(t.pluginManager)for(f.first();o=f.get();)n.indexOf(o)===-1&&l.indexOf(o)===-1&&o.run(r);return r}bn.default=_h});var Dn=b(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});var gh=function(){function e(t){this.less=t,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[],this.iterator=-1,this.pluginCache={},this.Loader=new t.PluginLoader(t)}return e.prototype.addPlugins=function(t){if(t)for(var r=0;r<t.length;r++)this.addPlugin(t[r])},e.prototype.addPlugin=function(t,r,i){this.installedPlugins.push(t),r&&(this.pluginCache[r]=t),t.install&&t.install(this.less,this,i||this.less.functions.functionRegistry)},e.prototype.get=function(t){return this.pluginCache[t]},e.prototype.addVisitor=function(t){this.visitors.push(t)},e.prototype.addPreProcessor=function(t,r){var i;for(i=0;i<this.preProcessors.length&&!(this.preProcessors[i].priority>=r);i++);this.preProcessors.splice(i,0,{preProcessor:t,priority:r})},e.prototype.addPostProcessor=function(t,r){var i;for(i=0;i<this.postProcessors.length&&!(this.postProcessors[i].priority>=r);i++);this.postProcessors.splice(i,0,{postProcessor:t,priority:r})},e.prototype.addFileManager=function(t){this.fileManagers.push(t)},e.prototype.getPreProcessors=function(){for(var t=[],r=0;r<this.preProcessors.length;r++)t.push(this.preProcessors[r].preProcessor);return t},e.prototype.getPostProcessors=function(){for(var t=[],r=0;r<this.postProcessors.length;r++)t.push(this.postProcessors[r].postProcessor);return t},e.prototype.getVisitors=function(){return this.visitors},e.prototype.visitor=function(){var t=this;return{first:function(){return t.iterator=-1,t.visitors[t.iterator]},get:function(){return t.iterator+=1,t.visitors[t.iterator]}}},e.prototype.getFileManagers=function(){return this.fileManagers},e}(),Cn,yh=function(e,t){return(t||!Cn)&&(Cn=new gh(e)),Cn};qn.default=yh});var ou=b(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});function bh(e){var t=function(){function r(i){this._css=[],this._rootNode=i.rootNode,this._contentsMap=i.contentsMap,this._contentsIgnoredCharsMap=i.contentsIgnoredCharsMap,i.sourceMapFilename&&(this._sourceMapFilename=i.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=i.outputFilename,this.sourceMapURL=i.sourceMapURL,i.sourceMapBasepath&&(this._sourceMapBasepath=i.sourceMapBasepath.replace(/\\/g,"/")),i.sourceMapRootpath?(this._sourceMapRootpath=i.sourceMapRootpath.replace(/\\/g,"/"),this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)!=="/"&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=i.outputSourceFiles,this._sourceMapGeneratorConstructor=e.getSourceMapGenerator(),this._lineNumber=0,this._column=0}return r.prototype.removeBasepath=function(i){return this._sourceMapBasepath&&i.indexOf(this._sourceMapBasepath)===0&&(i=i.substring(this._sourceMapBasepath.length),(i.charAt(0)==="\\"||i.charAt(0)==="/")&&(i=i.substring(1))),i},r.prototype.normalizeFilename=function(i){return i=i.replace(/\\/g,"/"),i=this.removeBasepath(i),(this._sourceMapRootpath||"")+i},r.prototype.add=function(i,a,n,l){if(!!i){var o,f,v,p,s;if(a&&a.filename){var u=this._contentsMap[a.filename];if(this._contentsIgnoredCharsMap[a.filename]&&(n-=this._contentsIgnoredCharsMap[a.filename],n<0&&(n=0),u=u.slice(this._contentsIgnoredCharsMap[a.filename])),u===void 0){this._css.push(i);return}u=u.substring(0,n),f=u.split(`
|
|
20
|
+
`),s=y+s.replace(/^\uFEFF/,"")+_,r.contents[i.filename]=s;try{n.start(s,t.chunkInput,function(V,P){throw new Se.default({index:P,type:"Parse",message:V,filename:i.filename},r)}),w.default.Node.prototype.parse=this,h=new w.default.Ruleset(null,this.parsers.primary()),w.default.Node.prototype.rootNode=h,h.root=!0,h.firstRoot=!0,h.functionRegistry=xc.default.inherit()}catch(M){return u(new Se.default(M,r,i.filename))}var D=n.end();if(!D.isFinished){var I=D.furthestPossibleErrorMessage;I||(I="Unrecognised input",D.furthestChar==="}"?I+=". Possibly missing opening '{'":D.furthestChar===")"?I+=". Possibly missing opening '('":D.furthestReachedEnd&&(I+=". Possibly missing something")),d=new Se.default({type:"Parse",message:I,index:D.furthest,filename:i.filename},r)}var x=function(M){return M=d||M||r.error,M?(M instanceof Se.default||(M=new Se.default(M,r,i.filename)),u(M)):u(null,h)};if(t.processImports!==!1)new Cc.default.ImportVisitor(r,x).run(h);else return x()},parsers:a={primary:function(){for(var s=this.mixin,u=[],c;;){for(;c=this.comment(),!!c;)u.push(c);if(n.finished||n.peek("}"))break;if(c=this.extendRule(),c){u=u.concat(c);continue}if(c=s.definition()||this.declaration()||s.call(!1,!1)||this.ruleset()||this.variableCall()||this.entities.call()||this.atrule(),c)u.push(c);else{for(var h=!1;n.$char(";");)h=!0;if(!h)break}}return u},comment:function(){if(n.commentStore.length){var s=n.commentStore.shift();return new w.default.Comment(s.text,s.isLineComment,s.index,i)}},entities:{mixinLookup:function(){return a.mixin.call(!0,!0)},quoted:function(s){var u,c=n.i,h=!1;if(n.save(),n.$char("~"))h=!0;else if(s){n.restore();return}if(u=n.$quoted(),!u){n.restore();return}return n.forget(),new w.default.Quoted(u.charAt(0),u.substr(1,u.length-2),h,c,i)},keyword:function(){var s=n.$char("%")||n.$re(/^\[?(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+\]?/);if(s)return w.default.Color.fromKeyword(s)||new w.default.Keyword(s)},call:function(){var s,u,c,h=n.i;if(!n.peek(/^url\(/i)){if(n.save(),s=n.$re(/^([\w-]+|%|~|progid:[\w\.]+)\(/),!s){n.forget();return}if(s=s[1],c=this.customFuncCall(s),c&&(u=c.parse(),u&&c.stop))return n.forget(),u;if(u=this.arguments(u),!n.$char(")")){n.restore("Could not parse call arguments or missing ')'");return}return n.forget(),new w.default.Call(s,u,h,i)}},customFuncCall:function(s){return{alpha:u(a.ieAlpha,!0),boolean:u(c),if:u(c)}[s.toLowerCase()];function u(h,d){return{parse:h,stop:d}}function c(){return[o(a.condition,"expected condition")]}},arguments:function(s){var u=s||[],c=[],h,d;for(n.save();;){if(s)s=!1;else{if(d=a.detachedRuleset()||this.assignment()||a.expression(),!d)break;d.value&&d.value.length==1&&(d=d.value[0]),u.push(d)}n.$char(",")||(n.$char(";")||h)&&(h=!0,d=u.length<1?u[0]:new w.default.Value(u),c.push(d),u=[])}return n.forget(),h?c:u},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var s,u;if(n.save(),s=n.$re(/^\w+(?=\s?=)/i),!s){n.restore();return}if(!n.$char("=")){n.restore();return}if(u=a.entity(),u)return n.forget(),new w.default.Assignment(s,u);n.restore()},url:function(){var s,u=n.i;if(n.autoCommentAbsorb=!1,!n.$str("url(")){n.autoCommentAbsorb=!0;return}return s=this.quoted()||this.variable()||this.property()||n.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",n.autoCommentAbsorb=!0,f(")"),new w.default.URL(s.value!=null||s instanceof w.default.Variable||s instanceof w.default.Property?s:new w.default.Anonymous(s,u),u,i)},variable:function(){var s,u,c=n.i;if(n.save(),n.currentChar()==="@"&&(u=n.$re(/^@@?[\w-]+/))){if(s=n.currentChar(),s==="("||s==="["&&!n.prevChar().match(/^\s/)){var h=a.variableCall(u);if(h)return n.forget(),h}return n.forget(),new w.default.Variable(u,c,i)}n.restore()},variableCurly:function(){var s,u=n.i;if(n.currentChar()==="@"&&(s=n.$re(/^@\{([\w-]+)\}/)))return new w.default.Variable("@"+s[1],u,i)},property:function(){var s,u=n.i;if(n.currentChar()==="$"&&(s=n.$re(/^\$[\w-]+/)))return new w.default.Property(s,u,i)},propertyCurly:function(){var s,u=n.i;if(n.currentChar()==="$"&&(s=n.$re(/^\$\{([\w-]+)\}/)))return new w.default.Property("$"+s[1],u,i)},color:function(){var s;if(n.save(),n.currentChar()==="#"&&(s=n.$re(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})([\w.#\[])?/))&&!s[2])return n.forget(),new w.default.Color(s[1],void 0,s[0]);n.restore()},colorKeyword:function(){n.save();var s=n.autoCommentAbsorb;n.autoCommentAbsorb=!1;var u=n.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(n.autoCommentAbsorb=s,!u){n.forget();return}n.restore();var c=w.default.Color.fromKeyword(u);if(c)return n.$str(u),c},dimension:function(){if(!n.peekNotNumeric()){var s=n.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);if(s)return new w.default.Dimension(s[1],s[2])}},unicodeDescriptor:function(){var s;if(s=n.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/),s)return new w.default.UnicodeDescriptor(s[0])},javascript:function(){var s,u=n.i;n.save();var c=n.$char("~"),h=n.$char("`");if(!h){n.restore();return}if(s=n.$re(/^[^`]*`/),s)return n.forget(),new w.default.JavaScript(s.substr(0,s.length-1),Boolean(c),u,i);n.restore("invalid javascript definition")}},variable:function(){var s;if(n.currentChar()==="@"&&(s=n.$re(/^(@[\w-]+)\s*:/)))return s[1]},variableCall:function(s){var u,c=n.i,h=!!s,d=s;if(n.save(),d||n.currentChar()==="@"&&(d=n.$re(/^(@[\w-]+)(\(\s*\))?/))){if(u=this.mixin.ruleLookups(),!u&&(h&&n.$str("()")!=="()"||d[2]!=="()")){n.restore("Missing '[...]' lookup in variable call");return}h||(d=d[1]);var m=new w.default.VariableCall(d,c,i);return!h&&a.end()?(n.forget(),m):(n.forget(),new w.default.NamespaceValue(m,u,c,i))}n.restore()},extend:function(s){var u,c,h=n.i,d,m,_;if(!!n.$str(s?"&:extend(":":extend(")){do{for(d=null,u=null;!(d=n.$re(/^(all)(?=\s*(\)|,))/))&&(c=this.element(),!!c);)u?u.push(c):u=[c];d=d&&d[1],u||l("Missing target selector for :extend()."),_=new w.default.Extend(new w.default.Selector(u),d,h,i),m?m.push(_):m=[_]}while(n.$char(","));return o(/^\)/),s&&o(/^;/),m}},extendRule:function(){return this.extend(!0)},mixin:{call:function(s,u){var c=n.currentChar(),h=!1,d,m=n.i,_,g,y;if(!(c!=="."&&c!=="#")){if(n.save(),_=this.elements(),_){if(n.$char("(")&&(g=this.args(!0).args,f(")"),y=!0),u!==!1&&(d=this.ruleLookups()),u===!0&&!d){n.restore();return}if(s&&!d&&!y){n.restore();return}if(!s&&a.important()&&(h=!0),s||a.end()){n.forget();var S=new w.default.mixin.Call(_,g,m,i,!d&&h);return d?new w.default.NamespaceValue(S,d):S}}n.restore()}},elements:function(){for(var s,u,c,h,d,m=/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/;d=n.i,u=n.$re(m),!!u;)h=new w.default.Element(c,u,!1,d,i),s?s.push(h):s=[h],c=n.$char(">");return s},args:function(s){var u=a.entities,c={args:null,variadic:!1},h=[],d=[],m=[],_,g,y,S,C,D,I,x=!0;for(n.save();;){if(s)D=a.detachedRuleset()||a.expression();else{if(n.commentStore.length=0,n.$str("...")){c.variadic=!0,n.$char(";")&&!_&&(_=!0),(_?d:m).push({variadic:!0});break}D=u.variable()||u.property()||u.literal()||u.keyword()||this.call(!0)}if(!D||!x)break;S=null,D.throwAwayComments&&D.throwAwayComments(),C=D;var M=null;if(s?D.value&&D.value.length==1&&(M=D.value[0]):M=D,M&&(M instanceof w.default.Variable||M instanceof w.default.Property))if(n.$char(":")){if(h.length>0&&(_&&l("Cannot mix ; and , as delimiter types"),g=!0),C=a.detachedRuleset()||a.expression(),!C)if(s)l("could not understand value for named argument");else return n.restore(),c.args=[],c;S=y=M.name}else if(n.$str("..."))if(s)I=!0;else{c.variadic=!0,n.$char(";")&&!_&&(_=!0),(_?d:m).push({name:D.name,variadic:!0});break}else s||(y=S=M.name,C=null);if(C&&h.push(C),m.push({name:S,value:C,expand:I}),n.$char(",")){x=!0;continue}x=n.$char(";")===";",(x||_)&&(g&&l("Cannot mix ; and , as delimiter types"),_=!0,h.length>1&&(C=new w.default.Value(h)),d.push({name:y,value:C,expand:I}),y=null,h=[],g=!1)}return n.forget(),c.args=_?d:m,c},definition:function(){var s,u=[],c,h,d,m=!1;if(!(n.currentChar()!=="."&&n.currentChar()!=="#"||n.peek(/^[^{]*\}/)))if(n.save(),c=n.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/),c){s=c[1];var _=this.args(!1);if(u=_.args,m=_.variadic,!n.$char(")")){n.restore("Missing closing ')'");return}if(n.commentStore.length=0,n.$str("when")&&(d=o(a.conditions,"expected condition")),h=a.block(),h)return n.forget(),new w.default.mixin.Definition(s,u,h,d,m);n.restore()}else n.restore()},ruleLookups:function(){var s,u,c=[];if(n.currentChar()==="["){for(;;){if(n.save(),u=null,s=this.lookupValue(),!s&&s!==""){n.restore();break}c.push(s),n.forget()}if(c.length>0)return c}},lookupValue:function(){if(n.save(),!n.$char("[")){n.restore();return}var s=n.$re(/^(?:[@$]{0,2})[_a-zA-Z0-9-]*/);if(!n.$char("]")){n.restore();return}if(s||s==="")return n.forget(),s;n.restore()}},entity:function(){var s=this.entities;return this.comment()||s.literal()||s.variable()||s.url()||s.property()||s.call()||s.keyword()||this.mixin.call(!0)||s.javascript()},end:function(){return n.$char(";")||n.peek("}")},ieAlpha:function(){var s;if(!!n.$re(/^opacity=/i))return s=n.$re(/^\d+/),s||(s=o(a.entities.variable,"Could not parse alpha"),s="@{"+s.name.slice(1)+"}"),f(")"),new w.default.Quoted("","alpha(opacity="+s+")")},element:function(){var s,u,c,h=n.i;if(u=this.combinator(),s=n.$re(/^(?:\d+\.\d+|\d+)%/)||n.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||n.$char("*")||n.$char("&")||this.attribute()||n.$re(/^\([^&()@]+\)/)||n.$re(/^[\.#:](?=@)/)||this.entities.variableCurly(),s||(n.save(),n.$char("(")?(c=this.selector(!1))&&n.$char(")")?(s=new w.default.Paren(c),n.forget()):n.restore("Missing closing ')'"):n.forget()),s)return new w.default.Element(u,s,s instanceof w.default.Variable,h,i)},combinator:function(){var s=n.currentChar();if(s==="/"){n.save();var u=n.$re(/^\/[a-z]+\//i);if(u)return n.forget(),new w.default.Combinator(u);n.restore()}if(s===">"||s==="+"||s==="~"||s==="|"||s==="^"){for(n.i++,s==="^"&&n.currentChar()==="^"&&(s="^^",n.i++);n.isWhitespace();)n.i++;return new w.default.Combinator(s)}else return n.isWhitespace(-1)?new w.default.Combinator(" "):new w.default.Combinator(null)},selector:function(s){var u=n.i,c,h,d,m,_,g,y;for(s=s!==!1;(s&&(h=this.extend())||s&&(g=n.$str("when"))||(m=this.element()))&&(g?y=o(this.conditions,"expected condition"):y?l("CSS guard can only be used at the end of selector"):h?_?_=_.concat(h):_=h:(_&&l("Extend can only be used at the end of selector"),d=n.currentChar(),c?c.push(m):c=[m],m=null),!(d==="{"||d==="}"||d===";"||d===","||d===")")););if(c)return new w.default.Selector(c,_,y,u,i);_&&l("Extend must be used to extend a selector, it cannot be used on its own")},selectors:function(){for(var s,u;s=this.selector(),!(!s||(u?u.push(s):u=[s],n.commentStore.length=0,s.condition&&u.length>1&&l("Guards are only currently allowed on a single selector."),!n.$char(",")));)s.condition&&l("Guards are only currently allowed on a single selector."),n.commentStore.length=0;return u},attribute:function(){if(!!n.$char("[")){var s=this.entities,u,c,h;return(u=s.variableCurly())||(u=o(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),h=n.$re(/^[|~*$^]?=/),h&&(c=s.quoted()||n.$re(/^[0-9]+%/)||n.$re(/^[\w-]+/)||s.variableCurly()),f("]"),new w.default.Attribute(u,h,c)}},block:function(){var s;if(n.$char("{")&&(s=this.primary())&&n.$char("}"))return s},blockRuleset:function(){var s=this.block();return s&&(s=new w.default.Ruleset(null,s)),s},detachedRuleset:function(){var s,u,c;if(n.save(),n.$re(/^[.#]\(/)&&(s=this.mixin.args(!1),u=s.args,c=s.variadic,!n.$char(")"))){n.restore();return}var h=this.blockRuleset();if(h)return n.forget(),u?new w.default.mixin.Definition(null,u,h,null,c):new w.default.DetachedRuleset(h);n.restore()},ruleset:function(){var s,u,c;if(n.save(),t.dumpLineNumbers&&(c=v(n.i)),s=this.selectors(),s&&(u=this.block())){n.forget();var h=new w.default.Ruleset(s,u,t.strictImports);return t.dumpLineNumbers&&(h.debugInfo=c),h}else n.restore()},declaration:function(){var s,u,c=n.i,h,d=n.currentChar(),m,_,g;if(!(d==="."||d==="#"||d==="&"||d===":"))if(n.save(),s=this.variable()||this.ruleProperty(),s){if(g=typeof s=="string",g&&(u=this.detachedRuleset(),u&&(h=!0)),n.commentStore.length=0,!u){if(_=!g&&s.length>1&&s.pop().value,s[0].value&&s[0].value.slice(0,2)==="--"?u=this.permissiveValue():u=this.anonymousValue(),u)return n.forget(),new w.default.Declaration(s,u,!1,_,c,i);u||(u=this.value()),u?m=this.important():g&&(u=this.permissiveValue())}if(u&&(this.end()||h))return n.forget(),new w.default.Declaration(s,u,m,_,c,i);n.restore()}else n.restore()},anonymousValue:function(){var s=n.i,u=n.$re(/^([^.#@\$+\/'"*`(;{}-]*);/);if(u)return new w.default.Anonymous(u[1],s)},permissiveValue:function(s){var u,c,h,d,m=s||";",_=n.i,g=[];function y(){var D=n.currentChar();return typeof m=="string"?D===m:m.test(D)}if(!y()){d=[];do{if(c=this.comment(),c){d.push(c);continue}c=this.entity(),c&&d.push(c)}while(c);if(h=y(),d.length>0){if(d=new w.default.Expression(d),h)return d;g.push(d),n.prevChar()===" "&&g.push(new w.default.Anonymous(" ",_))}if(n.save(),d=n.$parseUntil(m),d){if(typeof d=="string"&&l("Expected '"+d+"'","Parse"),d.length===1&&d[0]===" ")return n.forget(),new w.default.Anonymous("",_);var S=void 0;for(u=0;u<d.length;u++)if(S=d[u],Array.isArray(S))g.push(new w.default.Quoted(S[0],S[1],!0,_,i));else{u===d.length-1&&(S=S.trim());var C=new w.default.Quoted("'",S,!0,_,i);C.variableRegex=/@([\w-]+)/g,C.propRegex=/\$([\w-]+)/g,g.push(C)}return n.forget(),new w.default.Expression(g,!0)}n.restore()}},import:function(){var s,u,c=n.i,h=n.$re(/^@import?\s+/);if(h){var d=(h?this.importOptions():null)||{};if(s=this.entities.quoted()||this.entities.url())return u=this.mediaFeatures(),n.$char(";")||(n.i=c,l("missing semi-colon or unrecognised media features on import")),u=u&&new w.default.Value(u),new w.default.Import(s,u,d,c,i);n.i=c,l("malformed import statement")}},importOptions:function(){var s,u={},c,h;if(!n.$char("("))return null;do if(s=this.importOption(),s){switch(c=s,h=!0,c){case"css":c="less",h=!1;break;case"once":c="multiple",h=!1;break}if(u[c]=h,!n.$char(","))break}while(s);return f(")"),u},importOption:function(){var s=n.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(s)return s[1]},mediaFeature:function(){var s=this.entities,u=[],c,h;n.save();do c=s.keyword()||s.variable()||s.mixinLookup(),c?u.push(c):n.$char("(")&&(h=this.property(),c=this.value(),n.$char(")")?h&&c?u.push(new w.default.Paren(new w.default.Declaration(h,c,null,null,n.i,i,!0))):c?u.push(new w.default.Paren(c)):l("badly formed media feature definition"):l("Missing closing ')'","Parse"));while(c);if(n.forget(),u.length>0)return new w.default.Expression(u)},mediaFeatures:function(){var s=this.entities,u=[],c;do if(c=this.mediaFeature(),c){if(u.push(c),!n.$char(","))break}else if(c=s.variable()||s.mixinLookup(),c&&(u.push(c),!n.$char(",")))break;while(c);return u.length>0?u:null},media:function(){var s,u,c,h,d=n.i;if(t.dumpLineNumbers&&(h=v(d)),n.save(),n.$str("@media"))return s=this.mediaFeatures(),u=this.block(),u||l("media definitions require block statements after any features"),n.forget(),c=new w.default.Media(u,s,d,i),t.dumpLineNumbers&&(c.debugInfo=h),c;n.restore()},plugin:function(){var s,u,c,h=n.i,d=n.$re(/^@plugin?\s+/);if(d){if(u=this.pluginArgs(),u?c={pluginArgs:u,isPlugin:!0}:c={isPlugin:!0},s=this.entities.quoted()||this.entities.url())return n.$char(";")||(n.i=h,l("missing semi-colon on @plugin")),new w.default.Import(s,null,c,h,i);n.i=h,l("malformed @plugin statement")}},pluginArgs:function(){if(n.save(),!n.$char("("))return n.restore(),null;var s=n.$re(/^\s*([^\);]+)\)\s*/);return s[1]?(n.forget(),s[1].trim()):(n.restore(),null)},atrule:function(){var s=n.i,u,c,h,d,m,_,g,y=!0,S=!0;if(n.currentChar()==="@"){if(c=this.import()||this.plugin()||this.media(),c)return c;if(n.save(),u=n.$re(/^@[a-z-]+/),!!u){switch(d=u,u.charAt(1)=="-"&&u.indexOf("-",2)>0&&(d="@"+u.slice(u.indexOf("-",2)+1)),d){case"@charset":m=!0,y=!1;break;case"@namespace":_=!0,y=!1;break;case"@keyframes":case"@counter-style":m=!0;break;case"@document":case"@supports":g=!0,S=!1;break;default:g=!0;break}if(n.commentStore.length=0,m?(c=this.entity(),c||l("expected "+u+" identifier")):_?(c=this.expression(),c||l("expected "+u+" expression")):g&&(c=this.permissiveValue(/^[{;]/),y=n.currentChar()==="{",c?c.value||(c=null):!y&&n.currentChar()!==";"&&l(u+" rule is missing block or ending semi-colon")),y&&(h=this.blockRuleset()),h||!y&&c&&n.$char(";"))return n.forget(),new w.default.AtRule(u,c,h,s,i,t.dumpLineNumbers?v(s):null,S);n.restore("at-rule options not recognised")}}},value:function(){var s,u=[],c=n.i;do if(s=this.expression(),s&&(u.push(s),!n.$char(",")))break;while(s);if(u.length>0)return new w.default.Value(u,c)},important:function(){if(n.currentChar()==="!")return n.$re(/^! *important/)},sub:function(){var s,u;if(n.save(),n.$char("(")){if(s=this.addition(),s&&n.$char(")"))return n.forget(),u=new w.default.Expression([s]),u.parens=!0,u;n.restore("Expected ')'");return}n.restore()},multiplication:function(){var s,u,c,h,d;if(s=this.operand(),s){for(d=n.isWhitespace(-1);!n.peek(/^\/[*\/]/);){if(n.save(),c=n.$char("/")||n.$char("*")||n.$str("./"),!c){n.forget();break}if(u=this.operand(),!u){n.restore();break}n.forget(),s.parensInOp=!0,u.parensInOp=!0,h=new w.default.Operation(c,[h||s,u],d),d=n.isWhitespace(-1)}return h||s}},addition:function(){var s,u,c,h,d;if(s=this.multiplication(),s){for(d=n.isWhitespace(-1);c=n.$re(/^[-+]\s+/)||!d&&(n.$char("+")||n.$char("-")),!(!c||(u=this.multiplication(),!u));)s.parensInOp=!0,u.parensInOp=!0,h=new w.default.Operation(c,[h||s,u],d),d=n.isWhitespace(-1);return h||s}},conditions:function(){var s,u,c=n.i,h;if(s=this.condition(!0),s){for(;!(!n.peek(/^,\s*(not\s*)?\(/)||!n.$char(",")||(u=this.condition(!0),!u));)h=new w.default.Condition("or",h||s,u,c);return h||s}},condition:function(s){var u,c,h;function d(){return n.$str("or")}if(u=this.conditionAnd(s),!!u){if(c=d(),c)if(h=this.condition(s),h)u=new w.default.Condition(c,u,h);else return;return u}},conditionAnd:function(s){var u,c,h,d=this;function m(){var g=d.negatedCondition(s)||d.parenthesisCondition(s);return!g&&!s?d.atomicCondition(s):g}function _(){return n.$str("and")}if(u=m(),!!u){if(c=_(),c)if(h=this.conditionAnd(s),h)u=new w.default.Condition(c,u,h);else return;return u}},negatedCondition:function(s){if(n.$str("not")){var u=this.parenthesisCondition(s);return u&&(u.negate=!u.negate),u}},parenthesisCondition:function(s){function u(h){var d;if(n.save(),d=h.condition(s),!d){n.restore();return}if(!n.$char(")")){n.restore();return}return n.forget(),d}var c;if(n.save(),!n.$str("(")){n.restore();return}if(c=u(this),c)return n.forget(),c;if(c=this.atomicCondition(s),!c){n.restore();return}if(!n.$char(")")){n.restore("expected ')' got '"+n.currentChar()+"'");return}return n.forget(),c},atomicCondition:function(s){var u=this.entities,c=n.i,h,d,m,_;function g(){return this.addition()||u.keyword()||u.quoted()||u.mixinLookup()}if(g=g.bind(this),h=g(),h)return n.$char(">")?n.$char("=")?_=">=":_=">":n.$char("<")?n.$char("=")?_="<=":_="<":n.$char("=")&&(n.$char(">")?_="=>":n.$char("<")?_="=<":_="="),_?(d=g(),d?m=new w.default.Condition(_,h,d,c,!1):l("expected expression")):m=new w.default.Condition("=",h,new w.default.Keyword("true"),c,!1),m},operand:function(){var s=this.entities,u;n.peek(/^-[@\$\(]/)&&(u=n.$char("-"));var c=this.sub()||s.dimension()||s.color()||s.variable()||s.property()||s.call()||s.quoted(!0)||s.colorKeyword()||s.mixinLookup();return u&&(c.parensInOp=!0,c=new w.default.Negative(c)),c},expression:function(){var s=[],u,c,h=n.i;do{if(u=this.comment(),u){s.push(u);continue}u=this.addition()||this.entity(),u instanceof w.default.Comment&&(u=null),u&&(s.push(u),n.peek(/^\/[\/*]/)||(c=n.$char("/"),c&&s.push(new w.default.Anonymous(c,h))))}while(u);if(s.length>0)return new w.default.Expression(s)},property:function(){var s=n.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(s)return s[1]},ruleProperty:function(){var s=[],u=[],c,h;n.save();var d=n.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(d)return s=[new w.default.Keyword(d[1])],n.forget(),s;function m(_){var g=n.i,y=n.$re(_);if(y)return u.push(g),s.push(y[1])}for(m(/^(\*?)/);m(/^((?:[\w-]+)|(?:[@\$]\{[\w-]+\}))/););if(s.length>1&&m(/^((?:\+_|\+)?)\s*:/)){for(n.forget(),s[0]===""&&(s.shift(),u.shift()),h=0;h<s.length;h++)c=s[h],s[h]=c.charAt(0)!=="@"&&c.charAt(0)!=="$"?new w.default.Keyword(c):c.charAt(0)==="@"?new w.default.Variable("@"+c.slice(2,-1),u[h],i):new w.default.Property("$"+c.slice(2,-1),u[h],i);return s}n.restore()}}}};$s.serializeVars=function(e){var t="";for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];t+=(r[0]==="@"?"":"@")+r+": "+i+(String(i).slice(-1)===";"?"":";")}return t};Xi.default=$s});var Ts=b(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});var Ls=q(),Mc=Ls.__importDefault(U()),Ut=Ls.__importDefault(ge());function Ac(e){return e?Ut.default.True:Ut.default.False}function Bs(e,t,r,i){return t.eval(e)?r.eval(e):i?i.eval(e):new Mc.default}Bs.evalArgs=!1;function Us(e,t){try{return t.eval(e),Ut.default.True}catch(r){return Ut.default.False}}Us.evalArgs=!1;en.default={isdefined:Us,boolean:Ac,if:Bs}});var Ws=b(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});var Be=q(),B=Be.__importDefault(K()),te=Be.__importDefault(fe()),kc=Be.__importDefault(ee()),Oc=Be.__importDefault(U()),zs=Be.__importDefault(ce()),Ns=Be.__importDefault(tt()),T;function re(e){return Math.min(1,Math.max(0,e))}function pe(e,t){var r=T.hsla(t.h,t.s,t.l,t.a);if(r)return e.value&&/^(rgb|hsl)/.test(e.value)?r.value=e.value:r.value="rgb",r}function z(e){if(e.toHSL)return e.toHSL();throw new Error("Argument cannot be evaluated to a color")}function rn(e){if(e.toHSV)return e.toHSV();throw new Error("Argument cannot be evaluated to a color")}function N(e){if(e instanceof B.default)return parseFloat(e.unit.is("%")?e.value/100:e.value);if(typeof e=="number")return e;throw{type:"Argument",message:"color functions take numbers as parameters"}}function Pc(e,t){return e instanceof B.default&&e.unit.is("%")?parseFloat(e.value*t/100):N(e)}T={rgb:function(e,t,r){var i=1;if(e instanceof zs.default){var a=e.value;if(e=a[0],t=a[1],r=a[2],r instanceof Ns.default){var n=r;r=n.operands[0],i=n.operands[1]}}var l=T.rgba(e,t,r,i);if(l)return l.value="rgb",l},rgba:function(e,t,r,i){try{if(e instanceof te.default)return t?i=N(t):i=e.alpha,new te.default(e.rgb,i,"rgba");var a=[e,t,r].map(function(n){return Pc(n,255)});return i=N(i),new te.default(a,i,"rgba")}catch(n){}},hsl:function(e,t,r){var i=1;if(e instanceof zs.default){var a=e.value;if(e=a[0],t=a[1],r=a[2],r instanceof Ns.default){var n=r;r=n.operands[0],i=n.operands[1]}}var l=T.hsla(e,t,r,i);if(l)return l.value="hsl",l},hsla:function(e,t,r,i){try{let o=function(f){return f=f<0?f+1:f>1?f-1:f,f*6<1?a+(n-a)*f*6:f*2<1?n:f*3<2?a+(n-a)*(2/3-f)*6:a};if(e instanceof te.default)return t?i=N(t):i=e.alpha,new te.default(e.rgb,i,"hsla");var a,n;e=N(e)%360/360,t=re(N(t)),r=re(N(r)),i=re(N(i)),n=r<=.5?r*(t+1):r+t-r*t,a=r*2-n;var l=[o(e+1/3)*255,o(e)*255,o(e-1/3)*255];return i=N(i),new te.default(l,i,"hsla")}catch(o){}},hsv:function(e,t,r){return T.hsva(e,t,r,1)},hsva:function(e,t,r,i){e=N(e)%360/360*360,t=N(t),r=N(r),i=N(i);var a,n;a=Math.floor(e/60%6),n=e/60-a;var l=[r,r*(1-t),r*(1-n*t),r*(1-(1-n)*t)],o=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return T.rgba(l[o[a][0]]*255,l[o[a][1]]*255,l[o[a][2]]*255,i)},hue:function(e){return new B.default(z(e).h)},saturation:function(e){return new B.default(z(e).s*100,"%")},lightness:function(e){return new B.default(z(e).l*100,"%")},hsvhue:function(e){return new B.default(rn(e).h)},hsvsaturation:function(e){return new B.default(rn(e).s*100,"%")},hsvvalue:function(e){return new B.default(rn(e).v*100,"%")},red:function(e){return new B.default(e.rgb[0])},green:function(e){return new B.default(e.rgb[1])},blue:function(e){return new B.default(e.rgb[2])},alpha:function(e){return new B.default(z(e).a)},luma:function(e){return new B.default(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new B.default(t*e.alpha*100,"%")},saturate:function(e,t,r){if(!e.rgb)return null;var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.s+=i.s*t.value/100:i.s+=t.value/100,i.s=re(i.s),pe(e,i)},desaturate:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.s-=i.s*t.value/100:i.s-=t.value/100,i.s=re(i.s),pe(e,i)},lighten:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.l+=i.l*t.value/100:i.l+=t.value/100,i.l=re(i.l),pe(e,i)},darken:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.l-=i.l*t.value/100:i.l-=t.value/100,i.l=re(i.l),pe(e,i)},fadein:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.a+=i.a*t.value/100:i.a+=t.value/100,i.a=re(i.a),pe(e,i)},fadeout:function(e,t,r){var i=z(e);return typeof r!="undefined"&&r.value==="relative"?i.a-=i.a*t.value/100:i.a-=t.value/100,i.a=re(i.a),pe(e,i)},fade:function(e,t){var r=z(e);return r.a=t.value/100,r.a=re(r.a),pe(e,r)},spin:function(e,t){var r=z(e),i=(r.h+t.value)%360;return r.h=i<0?360+i:i,pe(e,r)},mix:function(e,t,r){r||(r=new B.default(50));var i=r.value/100,a=i*2-1,n=z(e).a-z(t).a,l=((a*n==-1?a:(a+n)/(1+a*n))+1)/2,o=1-l,f=[e.rgb[0]*l+t.rgb[0]*o,e.rgb[1]*l+t.rgb[1]*o,e.rgb[2]*l+t.rgb[2]*o],v=e.alpha*i+t.alpha*(1-i);return new te.default(f,v)},greyscale:function(e){return T.desaturate(e,new B.default(100))},contrast:function(e,t,r,i){if(!e.rgb)return null;if(typeof r=="undefined"&&(r=T.rgba(255,255,255,1)),typeof t=="undefined"&&(t=T.rgba(0,0,0,1)),t.luma()>r.luma()){var a=r;r=t,t=a}return typeof i=="undefined"?i=.43:i=N(i),e.luma()<i?r:t},argb:function(e){return new Oc.default(e.toARGB())},color:function(e){if(e instanceof kc.default&&/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})$/i.test(e.value)){var t=e.value.slice(1);return new te.default(t,void 0,"#"+t)}if(e instanceof te.default||(e=te.default.fromKeyword(e.value)))return e.value=void 0,e;throw{type:"Argument",message:"argument must be a color keyword or 3|4|6|8 digit hex e.g. #FFF"}},tint:function(e,t){return T.mix(T.rgb(255,255,255),e,t)},shade:function(e,t){return T.mix(T.rgb(0,0,0),e,t)}};tn.default=T});var Gs=b(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});var Ec=q(),Rc=Ec.__importDefault(fe());function an(e,t,r){var i=t.alpha,a,n=r.alpha,l,o,f,v=[];o=n+i*(1-n);for(var p=0;p<3;p++)a=t.rgb[p]/255,l=r.rgb[p]/255,f=e(a,l),o&&(f=(n*l+i*(a-n*(a+l-f)))/o),v[p]=f*255;return new Rc.default(v,o)}var Ue={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return e*=2,e<=1?Ue.multiply(e,t):Ue.screen(e-1,t)},softlight:function(e,t){var r=1,i=e;return t>.5&&(i=1,r=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e),e-(1-2*t)*i*(r-e)},hardlight:function(e,t){return Ue.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var sn in Ue)Ue.hasOwnProperty(sn)&&(an[sn]=an.bind(null,Ue[sn]));nn.default=an});var Js=b(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});var Tt=q(),jc=Tt.__importDefault(ee()),Hs=Tt.__importDefault(je()),Fc=Tt.__importStar(L()),Vc=Tt.__importDefault(_e());un.default=function(e){var t=function(r,i){return new Hs.default(i,r.index,r.currentFileInfo).eval(r.context)};return{"data-uri":function(r,i){i||(i=r,r=null);var a=r&&r.value,n=i.value,l=this.currentFileInfo,o=l.rewriteUrls?l.currentDirectory:l.entryPath,f=n.indexOf("#"),v="";f!==-1&&(v=n.slice(f),n=n.slice(0,f));var p=Fc.clone(this.context);p.rawBuffer=!0;var s=e.getFileManager(n,o,p,e,!0);if(!s)return t(this,i);var u=!1;if(r)u=/;base64$/.test(a);else{if(a=e.mimeLookup(n),a==="image/svg+xml")u=!1;else{var c=e.charsetLookup(a);u=["US-ASCII","UTF-8"].indexOf(c)<0}u&&(a+=";base64")}var h=s.loadFileSync(n,o,p,e);if(!h.contents)return Vc.default.warn("Skipped data-uri embedding of "+n+" because file not found"),t(this,i||r);var d=h.contents;if(u&&!e.encodeBase64)return t(this,i);d=u?e.encodeBase64(d):encodeURIComponent(d);var m="data:"+a+","+d+v;return new Hs.default(new jc.default('"'+m+'"',m,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}});var Xs=b(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});var ie=q(),$c=ie.__importDefault(Qe()),Lc=ie.__importDefault(A()),zt=ie.__importDefault(K()),Nt=ie.__importDefault(ke()),Bc=ie.__importDefault(ce()),Ks=ie.__importDefault(ue()),Qs=ie.__importDefault(X()),Zs=ie.__importDefault(De()),Uc=ie.__importDefault(ee()),Tc=ie.__importDefault(Je()),Ys=function(e){var t=Array.isArray(e.value)?e.value:Array(e);return t};ln.default={_SELF:function(e){return e},"~":function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length===1?e[0]:new Tc.default(e)},extract:function(e,t){return t=t.value-1,Ys(e)[t]},length:function(e){return new zt.default(Ys(e).length)},range:function(e,t,r){var i,a,n=1,l=[];t?(a=t,i=e.value,r&&(n=r.value)):(i=1,a=e);for(var o=i;o<=a.value;o+=n)l.push(new zt.default(o,a.unit));return new Bc.default(l)},each:function(e,t){var r=this,i=[],a,n,l=function(h){return h instanceof Lc.default?h.eval(r.context):h};e.value&&!(e instanceof Uc.default)?Array.isArray(e.value)?n=e.value.map(l):n=[l(e.value)]:e.ruleset?n=l(e.ruleset).rules:e.rules?n=e.rules.map(l):Array.isArray(e)?n=e.map(l):n=[l(e)];var o="@value",f="@key",v="@index";t.params?(o=t.params[0]&&t.params[0].name,f=t.params[1]&&t.params[1].name,v=t.params[2]&&t.params[2].name,t=t.rules):t=t.ruleset;for(var p=0;p<n.length;p++){var s=void 0,u=void 0,c=n[p];c instanceof Nt.default?(s=typeof c.name=="string"?c.name:c.name[0].value,u=c.value):(s=new zt.default(p+1),u=c),!(c instanceof $c.default)&&(a=t.rules.slice(0),o&&a.push(new Nt.default(o,u,!1,!1,this.index,this.currentFileInfo)),v&&a.push(new Nt.default(v,new zt.default(p+1),!1,!1,this.index,this.currentFileInfo)),f&&a.push(new Nt.default(f,s,!1,!1,this.index,this.currentFileInfo)),i.push(new Ks.default([new Qs.default([new Zs.default("","&")])],a,t.strictImports,t.visibilityInfo())))}return new Ks.default([new Qs.default([new Zs.default("","&")])],i,t.strictImports,t.visibilityInfo()).eval(this.context)}}});var fn=b(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});var zc=q(),eu=zc.__importDefault(K()),Nc=function(e,t,r){if(!(r instanceof eu.default))throw{type:"Argument",message:"argument must be a number"};return t==null?t=r.unit:r=r.unify(),new eu.default(e(parseFloat(r.value)),t)};on.default=Nc});var ru=b(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});var Wc=q(),tu=Wc.__importDefault(fn()),Te={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var Wt in Te)Te.hasOwnProperty(Wt)&&(Te[Wt]=tu.default.bind(null,Math[Wt],Te[Wt]));Te.round=function(e,t){var r=typeof t=="undefined"?0:t.value;return tu.default(function(i){return i.toFixed(r)},null,e)};cn.default=Te});var nu=b(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});var vn=q(),ne=vn.__importDefault(K()),Gc=vn.__importDefault(U()),Hc=vn.__importDefault(fn()),iu=function(e,t){switch(t=Array.prototype.slice.call(t),t.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var r,i,a,n,l,o,f,v,p=[],s={};for(r=0;r<t.length;r++){if(a=t[r],!(a instanceof ne.default)){Array.isArray(t[r].value)&&Array.prototype.push.apply(t,Array.prototype.slice.call(t[r].value));continue}if(n=a.unit.toString()===""&&v!==void 0?new ne.default(a.value,v).unify():a.unify(),o=n.unit.toString()===""&&f!==void 0?f:n.unit.toString(),f=o!==""&&f===void 0||o!==""&&p[0].unify().unit.toString()===""?o:f,v=o!==""&&v===void 0?a.unit.toString():v,i=s[""]!==void 0&&o!==""&&o===f?s[""]:s[o],i===void 0){if(f!==void 0&&o!==f)throw{type:"Argument",message:"incompatible types"};s[o]=p.length,p.push(a);continue}l=p[i].unit.toString()===""&&v!==void 0?new ne.default(p[i].value,v).unify():p[i].unify(),(e&&n.value<l.value||!e&&n.value>l.value)&&(p[i]=a)}return p.length==1?p[0]:(t=p.map(function(u){return u.toCSS(this.context)}).join(this.context.compress?",":", "),new Gc.default((e?"min":"max")+"("+t+")"))};hn.default={min:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return iu(!0,e)}catch(r){}},max:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return iu(!1,e)}catch(r){}},convert:function(e,t){return e.convertTo(t.value)},pi:function(){return new ne.default(Math.PI)},mod:function(e,t){return new ne.default(e.value%t.value,e.unit)},pow:function(e,t){if(typeof e=="number"&&typeof t=="number")e=new ne.default(e),t=new ne.default(t);else if(!(e instanceof ne.default)||!(t instanceof ne.default))throw{type:"Argument",message:"arguments must be numbers"};return new ne.default(Math.pow(e.value,t.value),e.unit)},percentage:function(e){var t=Hc.default(function(r){return r*100},"%",e);return t}}});var au=b(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});var pn=q(),mn=pn.__importDefault(ee()),Jc=pn.__importDefault(U()),Kc=pn.__importDefault(Di());dn.default={e:function(e){return new mn.default('"',e instanceof Kc.default?e.evaluated:e.value,!0)},escape:function(e){return new Jc.default(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,r,i){var a=e.value;return r=r.type==="Quoted"?r.value:r.toCSS(),a=a.replace(new RegExp(t.value,i?i.value:""),r),new mn.default(e.quote||"",a,e.escaped)},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,i=function(n){r=r.replace(/%[sda]/i,function(l){var o=t[n].type==="Quoted"&&l.match(/s/i)?t[n].value:t[n].toCSS();return l.match(/[A-Z]$/)?encodeURIComponent(o):o})},a=0;a<t.length;a++)i(a);return r=r.replace(/%%/g,"%"),new mn.default(e.quote||"",r,e.escaped)}}});var su=b(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});var st=q(),Qc=st.__importDefault(K()),Zc=st.__importDefault(fe()),Yc=st.__importDefault(ce()),Xc=st.__importDefault(ee()),eh=st.__importDefault(je());_n.default=function(e){return{"svg-gradient":function(t){var r,i,a="linear",n='x="0" y="0" width="1" height="1"',l={compress:!1},o,f=t.toCSS(l),v,p,s,u,c;function h(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}switch(arguments.length==2?(arguments[1].value.length<2&&h(),r=arguments[1].value):arguments.length<3?h():r=Array.prototype.slice.call(arguments,1),f){case"to bottom":i='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":i='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":i='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":i='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":a="radial",i='cx="50%" cy="50%" r="75%"',n='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for(o='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><'+a+'Gradient id="g" '+i+">",v=0;v<r.length;v+=1)r[v]instanceof Yc.default?(p=r[v].value[0],s=r[v].value[1]):(p=r[v],s=void 0),(!(p instanceof Zc.default)||!((v===0||v+1===r.length)&&s===void 0)&&!(s instanceof Qc.default))&&h(),u=s?s.toCSS(l):v===0?"0%":"100%",c=p.alpha,o+='<stop offset="'+u+'" stop-color="'+p.toRGB()+'"'+(c<1?' stop-opacity="'+c+'"':"")+"/>";return o+="</"+a+"Gradient><rect "+n+' fill="url(#g)" /></svg>',o=encodeURIComponent(o),o="data:image/svg+xml,"+o,new eh.default(new Xc.default("'"+o+"'",o,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}});var uu=b(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});var me=q(),ze=me.__importDefault(ge()),th=me.__importDefault(Xe()),Gt=me.__importDefault(K()),rh=me.__importDefault(fe()),ih=me.__importDefault(ee()),nh=me.__importDefault(U()),ah=me.__importDefault(je()),sh=me.__importDefault(tt()),Ne=function(e,t){return e instanceof t?ze.default.True:ze.default.False},Ht=function(e,t){if(t===void 0)throw{type:"Argument",message:"missing the required second argument to isunit."};if(t=typeof t.value=="string"?t.value:t,typeof t!="string")throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return e instanceof Gt.default&&e.unit.is(t)?ze.default.True:ze.default.False};gn.default={isruleset:function(e){return Ne(e,th.default)},iscolor:function(e){return Ne(e,rh.default)},isnumber:function(e){return Ne(e,Gt.default)},isstring:function(e){return Ne(e,ih.default)},iskeyword:function(e){return Ne(e,ze.default)},isurl:function(e){return Ne(e,ah.default)},ispixel:function(e){return Ht(e,"px")},ispercentage:function(e){return Ht(e,"%")},isem:function(e){return Ht(e,"em")},isunit:Ht,unit:function(e,t){if(!(e instanceof Gt.default))throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof sh.default?". Have you forgotten parenthesis?":"")};return t?t instanceof ze.default?t=t.value:t=t.toCSS():t="",new Gt.default(e.value,t)},"get-unit":function(e){return new nh.default(e.unit)}}});var ou=b(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});var H=q(),Q=H.__importDefault(Ze()),uh=H.__importDefault(ii()),lh=H.__importDefault(Ts()),lu=H.__importDefault(yt()),oh=H.__importDefault(Ws()),fh=H.__importDefault(Gs()),ch=H.__importDefault(Js()),hh=H.__importDefault(Xs()),vh=H.__importDefault(ru()),dh=H.__importDefault(nu()),ph=H.__importDefault(au()),mh=H.__importDefault(su()),_h=H.__importDefault(uu());yn.default=function(e){var t={functionRegistry:Q.default,functionCaller:uh.default};return Q.default.addMultiple(lh.default),Q.default.add("default",lu.default.eval.bind(lu.default)),Q.default.addMultiple(oh.default),Q.default.addMultiple(fh.default),Q.default.addMultiple(ch.default(e)),Q.default.addMultiple(hh.default),Q.default.addMultiple(vh.default),Q.default.addMultiple(dh.default),Q.default.addMultiple(ph.default),Q.default.addMultiple(mh.default(e)),Q.default.addMultiple(_h.default),t}});var Sn=b(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});var wn=q(),gh=wn.__importDefault(se()),Jt=wn.__importDefault(Lt()),We=wn.__importDefault(be());function yh(e,t){t=t||{};var r,i=t.variables,a=new gh.default.Eval(t);typeof i=="object"&&!Array.isArray(i)&&(i=Object.keys(i).map(function(p){var s=i[p];return s instanceof We.default.Value||(s instanceof We.default.Expression||(s=new We.default.Expression([s])),s=new We.default.Value([s])),new We.default.Declaration("@"+p,s,!1,null,0)}),a.frames=[new We.default.Ruleset(null,i)]);var n=[new Jt.default.JoinSelectorVisitor,new Jt.default.MarkVisibleSelectorsVisitor(!0),new Jt.default.ExtendVisitor,new Jt.default.ToCSSVisitor({compress:Boolean(t.compress)})],l=[],o,f;if(t.pluginManager){f=t.pluginManager.visitor();for(var v=0;v<2;v++)for(f.first();o=f.get();)o.isPreEvalVisitor?(v===0||l.indexOf(o)===-1)&&(l.push(o),o.run(e)):(v===0||n.indexOf(o)===-1)&&(o.isPreVisitor?n.unshift(o):n.push(o))}r=e.eval(a);for(var v=0;v<n.length;v++)n[v].run(r);if(t.pluginManager)for(f.first();o=f.get();)n.indexOf(o)===-1&&l.indexOf(o)===-1&&o.run(r);return r}bn.default=yh});var Dn=b(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});var bh=function(){function e(t){this.less=t,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[],this.iterator=-1,this.pluginCache={},this.Loader=new t.PluginLoader(t)}return e.prototype.addPlugins=function(t){if(t)for(var r=0;r<t.length;r++)this.addPlugin(t[r])},e.prototype.addPlugin=function(t,r,i){this.installedPlugins.push(t),r&&(this.pluginCache[r]=t),t.install&&t.install(this.less,this,i||this.less.functions.functionRegistry)},e.prototype.get=function(t){return this.pluginCache[t]},e.prototype.addVisitor=function(t){this.visitors.push(t)},e.prototype.addPreProcessor=function(t,r){var i;for(i=0;i<this.preProcessors.length&&!(this.preProcessors[i].priority>=r);i++);this.preProcessors.splice(i,0,{preProcessor:t,priority:r})},e.prototype.addPostProcessor=function(t,r){var i;for(i=0;i<this.postProcessors.length&&!(this.postProcessors[i].priority>=r);i++);this.postProcessors.splice(i,0,{postProcessor:t,priority:r})},e.prototype.addFileManager=function(t){this.fileManagers.push(t)},e.prototype.getPreProcessors=function(){for(var t=[],r=0;r<this.preProcessors.length;r++)t.push(this.preProcessors[r].preProcessor);return t},e.prototype.getPostProcessors=function(){for(var t=[],r=0;r<this.postProcessors.length;r++)t.push(this.postProcessors[r].postProcessor);return t},e.prototype.getVisitors=function(){return this.visitors},e.prototype.visitor=function(){var t=this;return{first:function(){return t.iterator=-1,t.visitors[t.iterator]},get:function(){return t.iterator+=1,t.visitors[t.iterator]}}},e.prototype.getFileManagers=function(){return this.fileManagers},e}(),Cn,wh=function(e,t){return(t||!Cn)&&(Cn=new bh(e)),Cn};qn.default=wh});var fu=b(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});function Sh(e){var t=function(){function r(i){this._css=[],this._rootNode=i.rootNode,this._contentsMap=i.contentsMap,this._contentsIgnoredCharsMap=i.contentsIgnoredCharsMap,i.sourceMapFilename&&(this._sourceMapFilename=i.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=i.outputFilename,this.sourceMapURL=i.sourceMapURL,i.sourceMapBasepath&&(this._sourceMapBasepath=i.sourceMapBasepath.replace(/\\/g,"/")),i.sourceMapRootpath?(this._sourceMapRootpath=i.sourceMapRootpath.replace(/\\/g,"/"),this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)!=="/"&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=i.outputSourceFiles,this._sourceMapGeneratorConstructor=e.getSourceMapGenerator(),this._lineNumber=0,this._column=0}return r.prototype.removeBasepath=function(i){return this._sourceMapBasepath&&i.indexOf(this._sourceMapBasepath)===0&&(i=i.substring(this._sourceMapBasepath.length),(i.charAt(0)==="\\"||i.charAt(0)==="/")&&(i=i.substring(1))),i},r.prototype.normalizeFilename=function(i){return i=i.replace(/\\/g,"/"),i=this.removeBasepath(i),(this._sourceMapRootpath||"")+i},r.prototype.add=function(i,a,n,l){if(!!i){var o,f,v,p,s;if(a&&a.filename){var u=this._contentsMap[a.filename];if(this._contentsIgnoredCharsMap[a.filename]&&(n-=this._contentsIgnoredCharsMap[a.filename],n<0&&(n=0),u=u.slice(this._contentsIgnoredCharsMap[a.filename])),u===void 0){this._css.push(i);return}u=u.substring(0,n),f=u.split(`
|
|
21
21
|
`),p=f[f.length-1]}if(o=i.split(`
|
|
22
|
-
`),v=o[o.length-1],a&&a.filename)if(!l)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:f.length,column:p.length},source:this.normalizeFilename(a.filename)});else for(s=0;s<o.length;s++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+s+1,column:s===0?this._column:0},original:{line:f.length+s,column:s===0?p.length:0},source:this.normalizeFilename(a.filename)});o.length===1?this._column+=v.length:(this._lineNumber+=o.length-1,this._column=v.length),this._css.push(i)}},r.prototype.isEmpty=function(){return this._css.length===0},r.prototype.toCSS=function(i){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles){for(var a in this._contentsMap)if(this._contentsMap.hasOwnProperty(a)){var n=this._contentsMap[a];this._contentsIgnoredCharsMap[a]&&(n=n.slice(this._contentsIgnoredCharsMap[a])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(a),n)}}if(this._rootNode.genCSS(i,this),this._css.length>0){var l=void 0,o=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?l=this.sourceMapURL:this._sourceMapFilename&&(l=this._sourceMapFilename),this.sourceMapURL=l,this.sourceMap=o}return this._css.join("")},r}();return t}In.default=bh});var fu=b(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});function wh(e,t){var r=function(){function i(a){this.options=a}return i.prototype.toCSS=function(a,n,l){var o=new e({contentsIgnoredCharsMap:l.contentsIgnoredChars,rootNode:a,contentsMap:l.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline,disableSourcemapAnnotation:this.options.disableSourcemapAnnotation}),f=o.toCSS(n);return this.sourceMap=o.sourceMap,this.sourceMapURL=o.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=o.normalizeFilename(this.options.sourceMapInputFilename)),this.options.sourceMapBasepath!==void 0&&this.sourceMapURL!==void 0&&(this.sourceMapURL=o.removeBasepath(this.sourceMapURL)),f+this.getCSSAppendage()},i.prototype.getCSSAppendage=function(){var a=this.sourceMapURL;if(this.options.sourceMapFileInline){if(this.sourceMap===void 0)return"";a="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}return this.options.disableSourcemapAnnotation?"":a?"/*# sourceMappingURL="+a+" */":""},i.prototype.getExternalSourceMap=function(){return this.sourceMap},i.prototype.setExternalSourceMap=function(a){this.sourceMap=a},i.prototype.isInline=function(){return this.options.sourceMapFileInline},i.prototype.getSourceMapURL=function(){return this.sourceMapURL},i.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},i.prototype.getInputFilename=function(){return this.sourceMapInputFilename},i}();return r}xn.default=wh});var hu=b(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});var An=q(),cu=An.__importDefault(Y()),Sh=An.__importDefault(Sn()),qh=An.__importDefault(_e());function Ch(e){var t=function(){function r(i,a){this.root=i,this.imports=a}return r.prototype.toCSS=function(i){var a,n={},l;try{a=Sh.default(this.root,i)}catch(u){throw new cu.default(u,this.imports)}try{var o=Boolean(i.compress);o&&qh.default.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var f={compress:o,dumpLineNumbers:i.dumpLineNumbers,strictUnits:Boolean(i.strictUnits),numPrecision:8};i.sourceMap?(l=new e(i.sourceMap),n.css=l.toCSS(a,f,this.imports)):n.css=a.toCSS(f)}catch(u){throw new cu.default(u,this.imports)}if(i.pluginManager)for(var v=i.pluginManager.getPostProcessors(),p=0;p<v.length;p++)n.css=v[p].process(n.css,{sourceMap:l,options:i,imports:this.imports});i.sourceMap&&(n.map=l.getExternalSourceMap()),n.imports=[];for(var s in this.imports.files)this.imports.files.hasOwnProperty(s)&&s!==this.imports.rootFilename&&n.imports.push(s);return n},r}();return t}Mn.default=Ch});var vu=b(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});var ut=q(),Dh=ut.__importDefault(se()),Ih=ut.__importDefault(Lt()),xh=ut.__importDefault(Y()),Mh=ut.__importStar(L()),Ah=ut.__importDefault(_e());function kh(e){var t=function(){function r(i,a,n){this.less=i,this.rootFilename=n.filename,this.paths=a.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=a.mime,this.error=null,this.context=a,this.queue=[],this.files={}}return r.prototype.push=function(i,a,n,l,o){var f=this,v=this.context.pluginManager.Loader;this.queue.push(i);var p=function(_,g,y){f.queue.splice(f.queue.indexOf(i),1);var S=y===f.rootFilename;l.optional&&_?(o(null,{rules:[]},!1,null),Ah.default.info("The file "+y+" was skipped because it was not found and the import was marked optional.")):(!f.files[y]&&!l.inline&&(f.files[y]={root:g,options:l}),_&&!f.error&&(f.error=_),o(_,g,S,y))},s={rewriteUrls:this.context.rewriteUrls,entryPath:n.entryPath,rootpath:n.rootpath,rootFilename:n.rootFilename},u=e.getFileManager(i,n.currentDirectory,this.context,e);if(!u){p({message:"Could not find a file-manager for "+i});return}var c=function(_){var g,y=_.filename,S=_.contents.replace(/^\uFEFF/,"");s.currentDirectory=u.getPath(y),s.rewriteUrls&&(s.rootpath=u.join(f.context.rootpath||"",u.pathDiff(s.currentDirectory,s.entryPath)),!u.isPathAbsolute(s.rootpath)&&u.alwaysMakePathsAbsolute()&&(s.rootpath=u.join(s.entryPath,s.rootpath))),s.filename=y;var C=new Dh.default.Parse(f.context);C.processImports=!1,f.contents[y]=S,(n.reference||l.reference)&&(s.reference=!0),l.isPlugin?(g=v.evalPlugin(S,C,f,l.pluginArgs,s),g instanceof xh.default?p(g,null,y):p(null,g,y)):l.inline?p(null,S,y):f.files[y]&&!f.files[y].options.multiple&&!l.multiple?p(null,f.files[y].root,y):new Ih.default(C,f,s).parse(S,function(D,I){p(D,I,y)})},h,d,m=Mh.clone(this.context);a&&(m.ext=l.isPlugin?".js":".less"),l.isPlugin?(m.mime="application/javascript",m.syncImport?h=v.loadPluginSync(i,n.currentDirectory,m,e,u):d=v.loadPlugin(i,n.currentDirectory,m,e,u)):m.syncImport?h=u.loadFileSync(i,n.currentDirectory,m,e):d=u.loadFile(i,n.currentDirectory,m,e,function(_,g){_?p(_):c(g)}),h?h.filename?c(h):p(h):d&&d.then(c,p)},r}();return t}kn.default=kh});var pu=b(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});var lt=q(),Oh=lt.__importDefault(se()),Ph=lt.__importDefault(Lt()),Eh=lt.__importDefault(Dn()),Rh=lt.__importDefault(Y()),du=lt.__importStar(L());function jh(e,t,r){var i=function(a,n,l){if(typeof n=="function"?(l=n,n=du.copyOptions(this.options,{})):n=du.copyOptions(this.options,n||{}),l){var f,v=void 0,p=new Eh.default(this,!n.reUsePluginManager);if(n.pluginManager=p,f=new Oh.default.Parse(n),n.rootFileInfo)v=n.rootFileInfo;else{var s=n.filename||"input",u=s.replace(/[^\/\\]*$/,"");v={filename:s,rewriteUrls:f.rewriteUrls,rootpath:f.rootpath||"",currentDirectory:u,entryPath:u,rootFilename:s},v.rootpath&&v.rootpath.slice(-1)!=="/"&&(v.rootpath+="/")}var c=new r(this,f,v);this.importManager=c,n.plugins&&n.plugins.forEach(function(h){var d,m;if(h.fileContent){if(m=h.fileContent.replace(/^\uFEFF/,""),d=p.Loader.evalPlugin(m,f,c,h.options,h.filename),d instanceof Rh.default)return l(d)}else p.addPlugin(h)}),new Ph.default(f,c,v).parse(a,function(h,d){if(h)return l(h);l(null,d,c,n)},n)}else{var o=this;return new Promise(function(h,d){i.call(o,a,n,function(m,_){m?d(m):h(_)})})}};return i}On.default=jh});var _u=b(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});var Fh=q(),mu=Fh.__importStar(L());function Vh(e,t,r){var i=function(a,n,l){if(typeof n=="function"?(l=n,n=mu.copyOptions(this.options,{})):n=mu.copyOptions(this.options,n||{}),l)this.parse(a,n,function(f,v,p,s){if(f)return l(f);var u;try{var c=new t(v,p);u=c.toCSS(s)}catch(h){return l(h)}l(null,u)});else{var o=this;return new Promise(function(f,v){i.call(o,a,n,function(p,s){p?v(p):f(s)})})}};return i}Pn.default=Vh});var yu=b((Nd,gu)=>{gu.exports={_from:"less@4.0.0",_id:"less@4.0.0",_inBundle:!1,_integrity:"sha512-av1eEa2D0xZfF7fjLJS/Dld7zAYSLU7EOEJvuOELeaNI3i6L/81AdjbK5/pytaRkBwi7ZEa0433IDvMLskKCOw==",_location:"/less",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"less@4.0.0",name:"less",escapedName:"less",rawSpec:"4.0.0",saveSpec:null,fetchSpec:"4.0.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/less/-/less-4.0.0.tgz",_shasum:"d238cc25576c1f722794dbca4ac82e5e3c7e9e65",_spec:"less@4.0.0",_where:"D:\\DevWork\\localpen",author:{name:"Alexis Sellier",email:"self@cloudhead.net"},bin:{lessc:"bin/lessc"},browser:"./dist/less.js",bugs:{url:"https://github.com/less/less.js/issues"},bundleDependencies:!1,contributors:[{name:"The Core Less Team"}],dependencies:{"copy-anything":"^2.0.1",errno:"^0.1.1","graceful-fs":"^4.1.2","image-size":"~0.5.0","make-dir":"^2.1.0",mime:"^1.4.1","native-request":"^1.0.5","parse-node-version":"^1.0.1","source-map":"~0.6.0",tslib:"^1.10.0"},deprecated:!1,description:"Leaner CSS",devDependencies:{"@less/test-data":"^4.0.0","@less/test-import-module":"^4.0.0","@rollup/plugin-json":"^4.1.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0",benny:"^3.6.12","bootstrap-less-port":"0.3.0",chai:"^4.2.0",diff:"^3.2.0",eslint:"^6.8.0","fs-extra":"^8.1.0","git-rev":"^0.2.1",globby:"^10.0.1",grunt:"^1.0.4","grunt-cli":"^1.3.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-connect":"^1.0.2","grunt-eslint":"^21.1.0","grunt-saucelabs":"^9.0.1","grunt-shell":"^1.3.0","html-template-tag":"^3.2.0","jit-grunt":"^0.10.0","less-plugin-autoprefix":"^1.5.1","less-plugin-clean-css":"^1.5.1",minimist:"^1.2.0",mocha:"^6.2.1","mocha-headless-chrome":"^2.0.3","mocha-teamcity-reporter":"^3.0.0","npm-run-all":"^4.1.5","performance-now":"^0.2.0",phin:"^2.2.3",promise:"^7.1.1","read-glob":"^3.0.0",resolve:"^1.17.0",rollup:"^1.17.0","rollup-plugin-commonjs":"^10.0.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.1","rollup-plugin-typescript2":"^0.24.3",semver:"^6.3.0",shx:"^0.3.2","time-grunt":"^1.3.0","ts-node":"^8.4.1",typescript:"^3.6.3",uikit:"2.27.4"},directories:{test:"./test"},engines:{node:">=6"},homepage:"http://lesscss.org",keywords:["compile less","css nesting","css variable","css","gradients css","gradients css3","less compiler","less css","less mixins","less","less.js","lesscss","mixins","nested css","parser","preprocessor","bootstrap css","bootstrap less","style","styles","stylesheet","variables in css","css less"],license:"Apache-2.0",main:"index",master:{url:"https://github.com/less/less.js/blob/master/",raw:"https://raw.githubusercontent.com/less/less.js/master/"},module:"./lib/less-node/index",name:"less",optionalDependencies:{errno:"^0.1.1","graceful-fs":"^4.1.2","image-size":"~0.5.0","make-dir":"^2.1.0",mime:"^1.4.1","native-request":"^1.0.5","source-map":"~0.6.0"},rawcurrent:"https://raw.github.com/less/less.js/v",repository:{type:"git",url:"git+https://github.com/less/less.js.git"},scripts:{build:"npm-run-all clean compile",clean:"shx rm -rf ./lib tsconfig.tsbuildinfo",compile:"tsc -p tsconfig.json","copy:root":"shx cp -rf ./dist ../../",dev:"tsc -p tsconfig.json -w",grunt:"grunt",prepublishOnly:"grunt dist",test:"grunt test"},sourcearchive:"https://github.com/less/less.js/archive/v",version:"4.0.0"}});var wu=b((Wd,bu)=>{"use strict";function $h(e){var t=e.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/);if(!t)throw new Error("Unable to parse: "+e);var r={major:parseInt(t[1],10),minor:parseInt(t[2],10),patch:parseInt(t[3],10),pre:t[4]||"",build:t[5]||""};return r}bu.exports=$h});var qu=b(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});var F=q(),Su=F.__importDefault(ra()),Lh=F.__importDefault(na()),Bh=F.__importDefault(be()),Uh=F.__importDefault(gs()),Th=F.__importDefault(bs()),zh=F.__importDefault($t()),Nh=F.__importDefault(Lt()),Wh=F.__importDefault(lu()),Gh=F.__importDefault(se()),Hh=F.__importDefault(Y()),Jh=F.__importDefault(Sn()),Kh=F.__importStar(L()),Qh=F.__importDefault(Dn()),Zh=F.__importDefault(_e()),Yh=F.__importDefault(ou()),Xh=F.__importDefault(fu()),ev=F.__importDefault(hu()),tv=F.__importDefault(vu()),rv=F.__importDefault(pu()),iv=F.__importDefault(_u()),nv=yu(),av=F.__importDefault(wu());function sv(e,t){var r,i,a,n;e=new Su.default(e,t),r=Yh.default(e),i=Xh.default(r,e),a=ev.default(i),n=tv.default(e);var l=iv.default(e,a,n),o=rv.default(e,a,n),f=av.default("v"+nv.version),v={version:[f.major,f.minor,f.patch],data:Lh.default,tree:Bh.default,Environment:Su.default,AbstractFileManager:Uh.default,AbstractPluginLoader:Th.default,environment:e,visitors:zh.default,Parser:Nh.default,functions:Wh.default(e),contexts:Gh.default,SourceMapOutput:r,SourceMapBuilder:i,ParseTree:a,ImportManager:n,render:l,parse:o,LessError:Hh.default,transformTree:Jh.default,utils:Kh,PluginManager:Qh.default,logger:Zh.default},p=function(d){return function(){var m=Object.create(d.prototype);return d.apply(m,Array.prototype.slice.call(arguments,0)),m}},s,u=Object.create(v);for(var c in v.tree)if(s=v.tree[c],typeof s=="function")u[c.toLowerCase()]=p(s);else{u[c]=Object.create(null);for(var h in s)u[c][h.toLowerCase()]=p(s[h])}return v.parse=v.parse.bind(u),v.render=v.render.bind(u),u}En.default=sv});var uv={};Pu(uv,{render:()=>lv});var Cu=Ru(qu()),Du=(0,Cu.default)();Du.PluginLoader=function(){};var lv=Du.render;return uv;})();
|
|
22
|
+
`),v=o[o.length-1],a&&a.filename)if(!l)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:f.length,column:p.length},source:this.normalizeFilename(a.filename)});else for(s=0;s<o.length;s++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+s+1,column:s===0?this._column:0},original:{line:f.length+s,column:s===0?p.length:0},source:this.normalizeFilename(a.filename)});o.length===1?this._column+=v.length:(this._lineNumber+=o.length-1,this._column=v.length),this._css.push(i)}},r.prototype.isEmpty=function(){return this._css.length===0},r.prototype.toCSS=function(i){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles){for(var a in this._contentsMap)if(this._contentsMap.hasOwnProperty(a)){var n=this._contentsMap[a];this._contentsIgnoredCharsMap[a]&&(n=n.slice(this._contentsIgnoredCharsMap[a])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(a),n)}}if(this._rootNode.genCSS(i,this),this._css.length>0){var l=void 0,o=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?l=this.sourceMapURL:this._sourceMapFilename&&(l=this._sourceMapFilename),this.sourceMapURL=l,this.sourceMap=o}return this._css.join("")},r}();return t}In.default=Sh});var cu=b(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});function qh(e,t){var r=function(){function i(a){this.options=a}return i.prototype.toCSS=function(a,n,l){var o=new e({contentsIgnoredCharsMap:l.contentsIgnoredChars,rootNode:a,contentsMap:l.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline,disableSourcemapAnnotation:this.options.disableSourcemapAnnotation}),f=o.toCSS(n);return this.sourceMap=o.sourceMap,this.sourceMapURL=o.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=o.normalizeFilename(this.options.sourceMapInputFilename)),this.options.sourceMapBasepath!==void 0&&this.sourceMapURL!==void 0&&(this.sourceMapURL=o.removeBasepath(this.sourceMapURL)),f+this.getCSSAppendage()},i.prototype.getCSSAppendage=function(){var a=this.sourceMapURL;if(this.options.sourceMapFileInline){if(this.sourceMap===void 0)return"";a="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}return this.options.disableSourcemapAnnotation?"":a?"/*# sourceMappingURL="+a+" */":""},i.prototype.getExternalSourceMap=function(){return this.sourceMap},i.prototype.setExternalSourceMap=function(a){this.sourceMap=a},i.prototype.isInline=function(){return this.options.sourceMapFileInline},i.prototype.getSourceMapURL=function(){return this.sourceMapURL},i.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},i.prototype.getInputFilename=function(){return this.sourceMapInputFilename},i}();return r}xn.default=qh});var vu=b(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});var An=q(),hu=An.__importDefault(Y()),Ch=An.__importDefault(Sn()),Dh=An.__importDefault(_e());function Ih(e){var t=function(){function r(i,a){this.root=i,this.imports=a}return r.prototype.toCSS=function(i){var a,n={},l;try{a=Ch.default(this.root,i)}catch(u){throw new hu.default(u,this.imports)}try{var o=Boolean(i.compress);o&&Dh.default.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var f={compress:o,dumpLineNumbers:i.dumpLineNumbers,strictUnits:Boolean(i.strictUnits),numPrecision:8};i.sourceMap?(l=new e(i.sourceMap),n.css=l.toCSS(a,f,this.imports)):n.css=a.toCSS(f)}catch(u){throw new hu.default(u,this.imports)}if(i.pluginManager)for(var v=i.pluginManager.getPostProcessors(),p=0;p<v.length;p++)n.css=v[p].process(n.css,{sourceMap:l,options:i,imports:this.imports});i.sourceMap&&(n.map=l.getExternalSourceMap()),n.imports=[];for(var s in this.imports.files)this.imports.files.hasOwnProperty(s)&&s!==this.imports.rootFilename&&n.imports.push(s);return n},r}();return t}Mn.default=Ih});var du=b(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});var ut=q(),xh=ut.__importDefault(se()),Mh=ut.__importDefault(Bt()),Ah=ut.__importDefault(Y()),kh=ut.__importStar(L()),Oh=ut.__importDefault(_e());function Ph(e){var t=function(){function r(i,a,n){this.less=i,this.rootFilename=n.filename,this.paths=a.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=a.mime,this.error=null,this.context=a,this.queue=[],this.files={}}return r.prototype.push=function(i,a,n,l,o){var f=this,v=this.context.pluginManager.Loader;this.queue.push(i);var p=function(_,g,y){f.queue.splice(f.queue.indexOf(i),1);var S=y===f.rootFilename;l.optional&&_?(o(null,{rules:[]},!1,null),Oh.default.info("The file "+y+" was skipped because it was not found and the import was marked optional.")):(!f.files[y]&&!l.inline&&(f.files[y]={root:g,options:l}),_&&!f.error&&(f.error=_),o(_,g,S,y))},s={rewriteUrls:this.context.rewriteUrls,entryPath:n.entryPath,rootpath:n.rootpath,rootFilename:n.rootFilename},u=e.getFileManager(i,n.currentDirectory,this.context,e);if(!u){p({message:"Could not find a file-manager for "+i});return}var c=function(_){var g,y=_.filename,S=_.contents.replace(/^\uFEFF/,"");s.currentDirectory=u.getPath(y),s.rewriteUrls&&(s.rootpath=u.join(f.context.rootpath||"",u.pathDiff(s.currentDirectory,s.entryPath)),!u.isPathAbsolute(s.rootpath)&&u.alwaysMakePathsAbsolute()&&(s.rootpath=u.join(s.entryPath,s.rootpath))),s.filename=y;var C=new xh.default.Parse(f.context);C.processImports=!1,f.contents[y]=S,(n.reference||l.reference)&&(s.reference=!0),l.isPlugin?(g=v.evalPlugin(S,C,f,l.pluginArgs,s),g instanceof Ah.default?p(g,null,y):p(null,g,y)):l.inline?p(null,S,y):f.files[y]&&!f.files[y].options.multiple&&!l.multiple?p(null,f.files[y].root,y):new Mh.default(C,f,s).parse(S,function(D,I){p(D,I,y)})},h,d,m=kh.clone(this.context);a&&(m.ext=l.isPlugin?".js":".less"),l.isPlugin?(m.mime="application/javascript",m.syncImport?h=v.loadPluginSync(i,n.currentDirectory,m,e,u):d=v.loadPlugin(i,n.currentDirectory,m,e,u)):m.syncImport?h=u.loadFileSync(i,n.currentDirectory,m,e):d=u.loadFile(i,n.currentDirectory,m,e,function(_,g){_?p(_):c(g)}),h?h.filename?c(h):p(h):d&&d.then(c,p)},r}();return t}kn.default=Ph});var mu=b(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});var lt=q(),Eh=lt.__importDefault(se()),Rh=lt.__importDefault(Bt()),jh=lt.__importDefault(Dn()),Fh=lt.__importDefault(Y()),pu=lt.__importStar(L());function Vh(e,t,r){var i=function(a,n,l){if(typeof n=="function"?(l=n,n=pu.copyOptions(this.options,{})):n=pu.copyOptions(this.options,n||{}),l){var f,v=void 0,p=new jh.default(this,!n.reUsePluginManager);if(n.pluginManager=p,f=new Eh.default.Parse(n),n.rootFileInfo)v=n.rootFileInfo;else{var s=n.filename||"input",u=s.replace(/[^\/\\]*$/,"");v={filename:s,rewriteUrls:f.rewriteUrls,rootpath:f.rootpath||"",currentDirectory:u,entryPath:u,rootFilename:s},v.rootpath&&v.rootpath.slice(-1)!=="/"&&(v.rootpath+="/")}var c=new r(this,f,v);this.importManager=c,n.plugins&&n.plugins.forEach(function(h){var d,m;if(h.fileContent){if(m=h.fileContent.replace(/^\uFEFF/,""),d=p.Loader.evalPlugin(m,f,c,h.options,h.filename),d instanceof Fh.default)return l(d)}else p.addPlugin(h)}),new Rh.default(f,c,v).parse(a,function(h,d){if(h)return l(h);l(null,d,c,n)},n)}else{var o=this;return new Promise(function(h,d){i.call(o,a,n,function(m,_){m?d(m):h(_)})})}};return i}On.default=Vh});var gu=b(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});var $h=q(),_u=$h.__importStar(L());function Lh(e,t,r){var i=function(a,n,l){if(typeof n=="function"?(l=n,n=_u.copyOptions(this.options,{})):n=_u.copyOptions(this.options,n||{}),l)this.parse(a,n,function(f,v,p,s){if(f)return l(f);var u;try{var c=new t(v,p);u=c.toCSS(s)}catch(h){return l(h)}l(null,u)});else{var o=this;return new Promise(function(f,v){i.call(o,a,n,function(p,s){p?v(p):f(s)})})}};return i}Pn.default=Lh});var bu=b((Gd,yu)=>{yu.exports={_from:"less@4.1.1",_id:"less@4.1.1",_inBundle:!1,_integrity:"sha512-w09o8tZFPThBscl5d0Ggp3RcrKIouBoQscnOMgFH3n5V3kN/CXGHNfCkRPtxJk6nKryDXaV9aHLK55RXuH4sAw==",_location:"/less",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"less@4.1.1",name:"less",escapedName:"less",rawSpec:"4.1.1",saveSpec:null,fetchSpec:"4.1.1"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/less/-/less-4.1.1.tgz",_shasum:"15bf253a9939791dc690888c3ff424f3e6c7edba",_spec:"less@4.1.1",_where:"D:\\DevWork\\live-codes\\browser-compilers",author:{name:"Alexis Sellier",email:"self@cloudhead.net"},bin:{lessc:"bin/lessc"},browser:"./dist/less.js",bugs:{url:"https://github.com/less/less.js/issues"},bundleDependencies:!1,contributors:[{name:"The Core Less Team"}],dependencies:{"copy-anything":"^2.0.1",errno:"^0.1.1","graceful-fs":"^4.1.2","image-size":"~0.5.0","make-dir":"^2.1.0",mime:"^1.4.1",needle:"^2.5.2","parse-node-version":"^1.0.1","source-map":"~0.6.0",tslib:"^1.10.0"},deprecated:!1,description:"Leaner CSS",devDependencies:{"@less/test-data":"^4.1.0","@less/test-import-module":"^4.0.0","@rollup/plugin-commonjs":"^17.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^11.0.0","@typescript-eslint/eslint-plugin":"^3.3.0","@typescript-eslint/parser":"^3.3.0",benny:"^3.6.12","bootstrap-less-port":"0.3.0",chai:"^4.2.0",diff:"^3.2.0",eslint:"^6.8.0","fs-extra":"^8.1.0","git-rev":"^0.2.1",globby:"^10.0.1",grunt:"^1.0.4","grunt-cli":"^1.3.2","grunt-contrib-clean":"^1.0.0","grunt-contrib-connect":"^1.0.2","grunt-eslint":"^21.1.0","grunt-saucelabs":"^9.0.1","grunt-shell":"^1.3.0","html-template-tag":"^3.2.0","jit-grunt":"^0.10.0","less-plugin-autoprefix":"^1.5.1","less-plugin-clean-css":"^1.5.1",minimist:"^1.2.0",mocha:"^6.2.1","mocha-headless-chrome":"^2.0.3","mocha-teamcity-reporter":"^3.0.0",nock:"^11.8.2","npm-run-all":"^4.1.5","performance-now":"^0.2.0",phin:"^2.2.3",promise:"^7.1.1","read-glob":"^3.0.0",resolve:"^1.17.0",rollup:"^2.34.1","rollup-plugin-terser":"^5.1.1","rollup-plugin-typescript2":"^0.29.0",semver:"^6.3.0",shx:"^0.3.2","time-grunt":"^1.3.0","ts-node":"^8.4.1",typescript:"^4.1.3",uikit:"2.27.4"},directories:{test:"./test"},engines:{node:">=6"},homepage:"http://lesscss.org",keywords:["compile less","css nesting","css variable","css","gradients css","gradients css3","less compiler","less css","less mixins","less","less.js","lesscss","mixins","nested css","parser","preprocessor","bootstrap css","bootstrap less","style","styles","stylesheet","variables in css","css less"],license:"Apache-2.0",main:"index",master:{url:"https://github.com/less/less.js/blob/master/",raw:"https://raw.githubusercontent.com/less/less.js/master/"},module:"./lib/less-node/index",name:"less",optionalDependencies:{errno:"^0.1.1","graceful-fs":"^4.1.2","image-size":"~0.5.0","make-dir":"^2.1.0",mime:"^1.4.1",needle:"^2.5.2","source-map":"~0.6.0"},rawcurrent:"https://raw.github.com/less/less.js/v",repository:{type:"git",url:"git+https://github.com/less/less.js.git"},scripts:{build:"npm-run-all clean compile",clean:"shx rm -rf ./lib tsconfig.tsbuildinfo",compile:"tsc -p tsconfig.json","copy:root":"shx cp -rf ./dist ../../",dev:"tsc -p tsconfig.json -w",grunt:"grunt",prepublishOnly:"grunt dist",test:"grunt test"},sourcearchive:"https://github.com/less/less.js/archive/v",version:"4.1.1"}});var Su=b((Hd,wu)=>{"use strict";function Bh(e){var t=e.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/);if(!t)throw new Error("Unable to parse: "+e);var r={major:parseInt(t[1],10),minor:parseInt(t[2],10),patch:parseInt(t[3],10),pre:t[4]||"",build:t[5]||""};return r}wu.exports=Bh});var Cu=b(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});var F=q(),qu=F.__importDefault(ra()),Uh=F.__importDefault(na()),Th=F.__importDefault(be()),zh=F.__importDefault(ys()),Nh=F.__importDefault(ws()),Wh=F.__importDefault(Lt()),Gh=F.__importDefault(Bt()),Hh=F.__importDefault(ou()),Jh=F.__importDefault(se()),Kh=F.__importDefault(Y()),Qh=F.__importDefault(Sn()),Zh=F.__importStar(L()),Yh=F.__importDefault(Dn()),Xh=F.__importDefault(_e()),ev=F.__importDefault(fu()),tv=F.__importDefault(cu()),rv=F.__importDefault(vu()),iv=F.__importDefault(du()),nv=F.__importDefault(mu()),av=F.__importDefault(gu()),sv=bu(),uv=F.__importDefault(Su());function lv(e,t){var r,i,a,n;e=new qu.default(e,t),r=ev.default(e),i=tv.default(r,e),a=rv.default(i),n=iv.default(e);var l=av.default(e,a,n),o=nv.default(e,a,n),f=uv.default("v"+sv.version),v={version:[f.major,f.minor,f.patch],data:Uh.default,tree:Th.default,Environment:qu.default,AbstractFileManager:zh.default,AbstractPluginLoader:Nh.default,environment:e,visitors:Wh.default,Parser:Gh.default,functions:Hh.default(e),contexts:Jh.default,SourceMapOutput:r,SourceMapBuilder:i,ParseTree:a,ImportManager:n,render:l,parse:o,LessError:Kh.default,transformTree:Qh.default,utils:Zh,PluginManager:Yh.default,logger:Xh.default},p=function(d){return function(){var m=Object.create(d.prototype);return d.apply(m,Array.prototype.slice.call(arguments,0)),m}},s,u=Object.create(v);for(var c in v.tree)if(s=v.tree[c],typeof s=="function")u[c.toLowerCase()]=p(s);else{u[c]=Object.create(null);for(var h in s)u[c][h.toLowerCase()]=p(s[h])}return v.parse=v.parse.bind(u),v.render=v.render.bind(u),u}En.default=lv});var ov={};Eu(ov,{render:()=>fv});var Du=ju(Cu()),Iu=(0,Du.default)();Iu.PluginLoader=function(){};var fv=Iu.render;return ov;})();
|
|
23
23
|
/*! *****************************************************************************
|
|
24
24
|
Copyright (c) Microsoft Corporation.
|
|
25
25
|
|
|
@@ -34,17 +34,3 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
34
34
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
35
35
|
PERFORMANCE OF THIS SOFTWARE.
|
|
36
36
|
***************************************************************************** */
|
|
37
|
-
/*! *****************************************************************************
|
|
38
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
39
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
40
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
41
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
42
|
-
|
|
43
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
44
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
45
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
46
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
47
|
-
|
|
48
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
49
|
-
and limitations under the License.
|
|
50
|
-
***************************************************************************** */
|