HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: agritoday (1002)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/agritoday/www/wp-content/plugins/td-composer/assets/js/js_files_for_live_css.min.js
/*
 Apache-2.0
 Less - Leaner CSS v2.7.1
 http://lesscss.org

 Copyright (c) 2009-2016, Alexis Sellier <self@cloudhead.net>
 Licensed under the Apache-2.0 License.

*/
var tdwState={};(function(){tdwState={}})();var tdLiveCssInject={};
(function(){tdLiveCssInject={_isInitialized:!1,_loadAsPlugin:!0,$_cssPlaceholder:void 0,init:function(){tdLiveCssInject._isInitialized||("undefined"!==typeof tdcAdminIFrameUI&&(tdLiveCssInject._loadAsPlugin=!1),tdLiveCssInject._loadAsPlugin?tdLiveCssInject.$_cssPlaceholder=jQuery("#tdw-css-placeholder"):"undefined"!==typeof tdcAdminIFrameUI&&(tdLiveCssInject.$_cssPlaceholder=tdcAdminIFrameUI.getLiveIframe().contents().find("#tdw-css-placeholder")),tdLiveCssInject._isInitialized=!0)},reinit:function(){tdLiveCssInject._isInitialized=
!1;tdLiveCssInject.init()},_getCssPlaceholder:function(){return tdLiveCssInject.$_cssPlaceholder},css:function(B,b){tdLiveCssInject._getCssPlaceholder().html(b);tdLiveCssInject._loadAsPlugin||(""===b&&(B=b="empty"),jQuery("#tdc-compiled-css").val(b),jQuery("#tdc-less-input").val(B))},less:function(B){if("undefined"===typeof B||""===B)if(B="",tdLiveCssInject._loadAsPlugin){var b=jQuery(".tdw-css-writer-editor:first");b.length&&(B=b.val())}else"undefined"!==typeof tdcAdminIFrameUI&&(b=tdcAdminIFrameUI.getLiveIframe(),
b.length&&(B=b.contents().find(".tdw-css-writer-editor:first").val()));less.render(B,function(b,h){var f=jQuery(".tdw-less-info");null===b?f.removeClass("tdw-less-error").attr("title","This will be red when errors are detected in your CSS and LESS").data("error_line","").data("error_column",""):f.addClass("tdw-less-error").attr("title","Error at line "+b.line+" and column "+b.column+" : "+b.message).data("error_line",b.line).data("error_column",b.column);"undefined"!==typeof h&&tdLiveCssInject.css(B,
h.css)})}}})();
!function(B){"object"==typeof exports&&"undefined"!=typeof module?module.exports=B():"function"==typeof define&&define.amd?define([],B):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).less=B()}(function(){return function f(b,l,h){function d(a,g){if(!l[a]){if(!b[a]){var c="function"==typeof require&&require;if(!g&&c)return c(a,!0);if(e)return e(a,!0);g=Error("Cannot find module '"+a+"'");throw g.code="MODULE_NOT_FOUND",g;}g=l[a]={exports:{}};
b[a][0].call(g.exports,function(c){var g=b[a][1][c];return d(g?g:c)},g,g.exports,f,b,l,h)}return l[a].exports}for(var e="function"==typeof require&&require,a=0;h.length>a;a++)d(h[a]);return d}({1:[function(b,l,h){var f=b("./utils").addDataAttr,d=b("./browser");l.exports=function(e,a){f(a,d.currentScript(e));void 0===a.isFileProtocol&&(a.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(e.location.protocol));a.async=a.async||!1;a.fileAsync=a.fileAsync||!1;a.poll=a.poll||
(a.isFileProtocol?1E3:1500);a.env=a.env||("127.0.0.1"==e.location.hostname||"0.0.0.0"==e.location.hostname||"localhost"==e.location.hostname||e.location.port&&0<e.location.port.length||a.isFileProtocol?"development":"production");(e=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(e.location.hash))&&(a.dumpLineNumbers=e[1]);void 0===a.useFileCache&&(a.useFileCache=!0);void 0===a.onReady&&(a.onReady=!0)}},{"./browser":3,"./utils":10}],2:[function(b,l,h){function f(c){c.filename&&console.warn(c);d.async||
e.removeChild(a)}b("promise/polyfill.js");var d=window.less||{};b("./add-default-options")(window,d);b=l.exports=b("./index")(window,d);window.less=b;var e,a;d.onReady&&(/!watch/.test(window.location.hash)&&b.watch(),d.async||(e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style"),a.type="text/css",a.styleSheet?a.styleSheet.cssText="body { display: none !important }":a.appendChild(document.createTextNode("body { display: none !important }")),e.appendChild(a)),
b.registerStylesheetsImmediately(),b.pageLoadFinished=b.refresh("development"===b.env).then(f,f))},{"./add-default-options":1,"./index":8,"promise/polyfill.js":97}],3:[function(b,l,h){var f=b("./utils");l.exports={createCSS:function(d,e,a){var c=a.href||"",g="less:"+(a.title||f.extractId(c));c=d.getElementById(g);var m=!1,b=d.createElement("style");b.setAttribute("type","text/css");a.media&&b.setAttribute("media",a.media);b.id=g;b.styleSheet||(b.appendChild(d.createTextNode(e)),m=null!==c&&0<c.childNodes.length&&
0<b.childNodes.length&&c.firstChild.nodeValue===b.firstChild.nodeValue);d=d.getElementsByTagName("head")[0];if(null===c||!1===m)(a=a&&a.nextSibling||null)?a.parentNode.insertBefore(b,a):d.appendChild(b);if(c&&!1===m&&c.parentNode.removeChild(c),b.styleSheet)try{b.styleSheet.cssText=e}catch(p){throw Error("Couldn't reassign styleSheet.cssText.");}},currentScript:function(d){d=d.document;var e;(e=d.currentScript)||(d=d.getElementsByTagName("script"),e=d[d.length-1]);return e}}},{"./utils":10}],4:[function(b,
l,h){l.exports=function(b,d,e){var a=null;if("development"!==d.env)try{a="undefined"==typeof b.localStorage?null:b.localStorage}catch(c){}return{setCSS:function(c,d,m,b){if(a){e.info("saving "+c+" to cache.");try{a.setItem(c,b),a.setItem(c+":timestamp",d),m&&a.setItem(c+":vars",JSON.stringify(m))}catch(p){e.error('failed to save "'+c+'" to local storage for caching.')}}},getCSS:function(c,d,e){var g=a&&a.getItem(c),p=a&&a.getItem(c+":timestamp");c=a&&a.getItem(c+":vars");return e=e||{},p&&d.lastModified&&
(new Date(d.lastModified)).valueOf()===(new Date(p)).valueOf()&&(!e&&!c||JSON.stringify(e)===c)?g:void 0}}}},{}],5:[function(b,l,h){var f=b("./utils"),d=b("./browser");l.exports=function(e,a,c){function g(a,g){var p,m="less-error-message:"+f.extractId(g||""),b=e.document.createElement("div"),n=[];g=a.filename||g;var h=g.match(/([^\/]+(\?.*)?)$/)[1];b.id=m;b.className="less-error-message";g="<h3>"+(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+'</h3><p>in <a href="'+
g+'">'+h+"</a> ";h=function(a,c,d){void 0!==a.extract[c]&&n.push('<li><label>{line}</label><pre class="{class}">{content}</pre></li>'.replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};a.extract&&(h(a,0,""),h(a,1,"line"),h(a,2,""),g+="on line "+a.line+", column "+(a.column+1)+":</p><ul>"+n.join("")+"</ul>");a.stack&&(a.extract||4<=c.logLevel)&&(g+="<br/>Stack Trace</br />"+a.stack.split("\n").slice(1).join("<br/>"));b.innerHTML=g;d.createCSS(e.document,
".less-error-message ul, .less-error-message li {\nlist-style-type: none;\nmargin-right: 15px;\npadding: 4px 0;\nmargin: 0;\n}\n.less-error-message label {\nfont-size: 12px;\nmargin-right: 15px;\npadding: 4px 0;\ncolor: #cc7777;\n}\n.less-error-message pre {\ncolor: #dd6666;\npadding: 4px 0;\nmargin: 0;\ndisplay: inline-block;\n}\n.less-error-message pre.line {\ncolor: #ff0000;\n}\n.less-error-message h3 {\nfont-size: 20px;\nfont-weight: bold;\npadding: 15px 0 5px 0;\nmargin: 0;\n}\n.less-error-message a {\ncolor: #10a\n}\n.less-error-message .error {\ncolor: red;\nfont-weight: bold;\npadding-bottom: 2px;\nborder-bottom: 1px dashed red;\n}",
{title:"error-message"});b.style.cssText="font-family: Arial, sans-serif;border: 1px solid #e00;background-color: #eee;border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;color: #e00;padding: 15px;margin-bottom: 15px";"development"===c.env&&(p=setInterval(function(){var a=e.document,c=a.body;c&&(a.getElementById(m)?c.replaceChild(b,a.getElementById(m)):c.insertBefore(b,c.firstChild),clearInterval(p))},10))}function m(d,g){var e=[];g=(d.type||"Syntax")+"Error: "+(d.message||"There is an error in your .less file")+
" in "+(d.filename||g)+" ";var p=function(a,c,d){void 0!==a.extract[c]&&e.push("{line} {content}".replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};d.extract&&(p(d,0,""),p(d,1,"line"),p(d,2,""),g+="on line "+d.line+", column "+(d.column+1)+":\n"+e.join("\n"));d.stack&&(d.extract||4<=c.logLevel)&&(g+="\nStack Trace\n"+d.stack);a.logger.error(g)}return{add:function(a,d){c.errorReporting&&"html"!==c.errorReporting?"console"===c.errorReporting?
m(a,d):"function"==typeof c.errorReporting&&c.errorReporting("add",a,d):g(a,d)},remove:function(a){c.errorReporting&&"html"!==c.errorReporting?"console"===c.errorReporting||"function"==typeof c.errorReporting&&c.errorReporting("remove",a):(a=e.document.getElementById("less-error-message:"+f.extractId(a)))&&a.parentNode.removeChild(a)}}}},{"./browser":3,"./utils":10}],6:[function(b,l,h){l.exports=function(f,d){function e(){if(window.XMLHttpRequest&&!("file:"===window.location.protocol&&"ActiveXObject"in
window))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(m){return d.error("browser doesn't support AJAX."),null}}var a=b("../less/environment/abstract-file-manager.js"),c={},g=function(){};return g.prototype=new a,g.prototype.alwaysMakePathsAbsolute=function(){return!0},g.prototype.join=function(a,c){return a?this.extractUrlParts(c,a).path:c},g.prototype.doXHR=function(a,c,g,b){function p(c,d,g){200<=c.status&&300>c.status?d(c.responseText,c.getResponseHeader("Last-Modified")):
"function"==typeof g&&g(c.status,a)}var m=e(),n=f.isFileProtocol?f.fileAsync:!0;"function"==typeof m.overrideMimeType&&m.overrideMimeType("text/css");d.debug("XHR: Getting '"+a+"'");m.open("GET",a,n);m.setRequestHeader("Accept",c||"text/x-less, text/css; q=0.9, */*; q=0.5");m.send(null);f.isFileProtocol&&!f.fileAsync?0===m.status||200<=m.status&&300>m.status?g(m.responseText):b(m.status,a):n?m.onreadystatechange=function(){4==m.readyState&&p(m,g,b)}:p(m,g,b)},g.prototype.supports=function(a,c,d,g){return!0},
g.prototype.clearFileCache=function(){c={}},g.prototype.loadFile=function(a,d,g,e,b){d&&!this.isPathAbsolute(a)&&(a=d+a);g=g||{};var p=this.extractUrlParts(a,window.location.href).url;if(g.useFileCache&&c[p])try{b(null,{contents:c[p],filename:p,webInfo:{lastModified:new Date}})}catch(u){b({filename:p,message:"Error loading file "+p+" error was "+u.message})}else this.doXHR(p,g.mime,function(a,d){c[p]=a;b(null,{contents:a,filename:p,webInfo:{lastModified:d}})},function(a,c){b({type:"File",message:"'"+
c+"' wasn't found ("+a+")",href:p})})},g}},{"../less/environment/abstract-file-manager.js":15}],7:[function(b,l,h){l.exports=function(){function f(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"};}b("./../less/functions/function-registry").addMultiple({"image-size":function(d){return f(this,d),-1},"image-width":function(d){return f(this,d),-1},"image-height":function(d){return f(this,d),-1}})}},{"./../less/functions/function-registry":22}],8:[function(b,
l,h){var f=b("./utils").addDataAttr,d=b("./browser");l.exports=function(e,a){function c(a){var c={},d;for(d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);return c}function g(a,c){var d=Array.prototype.slice.call(arguments,2);return function(){var g=d.concat(Array.prototype.slice.call(arguments,0));return a.apply(c,g)}}function m(d){for(var e,p=q.getElementsByTagName("style"),b=0;p.length>b;b++)if(e=p[b],e.type.match(y)){var m=c(a);m.modifyVars=d;var v=e.innerHTML||"";m.filename=q.location.href.replace(/#.*$/,
"");t.render(v,m,g(function(a,c,d){c?k.add(c,"inline"):(a.type="text/css",a.styleSheet?a.styleSheet.cssText=d.css:a.innerHTML=d.css)},null,e))}}function n(d,g,e,p,b){function m(c){var b=c.contents,m=c.filename,f=c.webInfo;c={currentDirectory:l.getPath(m),filename:m,rootFilename:m,relativeUrls:n.relativeUrls};if(c.entryPath=c.currentDirectory,c.rootpath=n.rootpath||c.currentDirectory,f){f.remaining=p;var r=v.getCSS(m,f,n.modifyVars);if(!e&&r)return f.local=!0,void g(null,r,b,d,f,m)}k.remove(m);n.rootFileInfo=
c;t.render(b,n,function(c,e){if(c)c.href=m,g(c);else{var p=e.css;c=(a.postProcessor&&"function"==typeof a.postProcessor&&(p=a.postProcessor.call(p,p)||p),p);e.css=c;v.setCSS(d.href,f.lastModified,n.modifyVars,e.css);g(null,e.css,b,d,f,m)}})}var n=c(a);f(n,d);n.mime=d.type;b&&(n.modifyVars=b);l.loadFile(d.href,null,n,u,function(a,c){return a?void g(a):void m(c)})}function p(a,c,d){for(var g=0;t.sheets.length>g;g++)n(t.sheets[g],a,c,t.sheets.length-(g+1),d)}function r(){"development"===t.env&&(t.watchTimer=
setInterval(function(){t.watchMode&&(l.clearFileCache(),p(function(a,c,g,p,b){a?k.add(a,a.href||p.href):c&&d.createCSS(e.document,c,p)}))},a.poll))}var q=e.document,t=b("../less")();t.options=a;var u=t.environment,h=b("./file-manager")(a,t.logger),l=new h;u.addFileManager(l);t.FileManager=h;b("./log-listener")(t,a);var k=b("./error-reporting")(e,t,a),v=t.cache=a.cache||b("./cache")(e,a,t.logger);b("./image-size")(t.environment);a.functions&&t.functions.functionRegistry.addMultiple(a.functions);var y=
/^text\/(x-)?less$/;return t.watch=function(){return t.watchMode||(t.env="development",r()),this.watchMode=!0,!0},t.unwatch=function(){return clearInterval(t.watchTimer),this.watchMode=!1,!1},t.registerStylesheetsImmediately=function(){var a=q.getElementsByTagName("link");t.sheets=[];for(var c=0;a.length>c;c++)("stylesheet/less"===a[c].rel||a[c].rel.match(/stylesheet/)&&a[c].type.match(y))&&t.sheets.push(a[c])},t.registerStylesheets=function(){return new Promise(function(a,c){t.registerStylesheetsImmediately();
a()})},t.modifyVars=function(a){return t.refresh(!0,a,!1)},t.refresh=function(a,c,g){return(a||g)&&!1!==g&&l.clearFileCache(),new Promise(function(g,b){var v,f;var n=v=new Date;var r=t.sheets.length;0===r?(v=new Date,f=v-n,t.logger.info("Less has finished and no sheets were loaded."),g({startTime:n,endTime:v,totalMilliseconds:f,sheets:t.sheets.length})):p(function(a,c,p,m,q){return a?(k.add(a,a.href||m.href),void b(a)):(t.logger.info(q.local?"Loading "+m.href+" from cache.":"Rendered "+m.href+" successfully."),
d.createCSS(e.document,c,m),t.logger.info("CSS for "+m.href+" generated in "+(new Date-v)+"ms"),r--,0===r&&(f=new Date-n,t.logger.info("Less has finished. CSS generated in "+f+"ms"),g({startTime:n,endTime:v,totalMilliseconds:f,sheets:t.sheets.length})),void(v=new Date))},a,c);m(c)})},t.refreshStyles=m,t}},{"../less":31,"./browser":3,"./cache":4,"./error-reporting":5,"./file-manager":6,"./image-size":7,"./log-listener":9,"./utils":10}],9:[function(b,l,h){l.exports=function(b,d){d.logLevel="undefined"!=
typeof d.logLevel?d.logLevel:"development"===d.env?3:1;d.loggers||(d.loggers=[{debug:function(a){4<=d.logLevel&&console.log(a)},info:function(a){3<=d.logLevel&&console.log(a)},warn:function(a){2<=d.logLevel&&console.warn(a)},error:function(a){1<=d.logLevel&&console.error(a)}}]);for(var e=0;d.loggers.length>e;e++)b.logger.addListener(d.loggers[e])}},{}],10:[function(b,l,h){l.exports={extractId:function(b){return b.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/[\?&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,
"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")},addDataAttr:function(b,d){for(var e in d.dataset)if(d.dataset.hasOwnProperty(e))if("env"===e||"dumpLineNumbers"===e||"rootpath"===e||"errorReporting"===e)b[e]=d.dataset[e];else try{b[e]=JSON.parse(d.dataset[e])}catch(a){}}}},{}],11:[function(b,l,h){b={};l.exports=b;var f=function(a,c,d){if(a)for(var g=0;d.length>g;g++)a.hasOwnProperty(d[g])&&(c[d[g]]=a[d[g]])},d="paths relativeUrls rootpath strictImports insecure dumpLineNumbers compress syncImport chunkInput mime useFileCache processImports pluginManager".split(" ");
b.Parse=function(a){f(a,this,d);"string"==typeof this.paths&&(this.paths=[this.paths])};var e="paths compress ieCompat strictMath strictUnits sourceMap importMultiple urlArgs javascriptEnabled pluginManager importantScope".split(" ");b.Eval=function(a,c){f(a,this,e);"string"==typeof this.paths&&(this.paths=[this.paths]);this.frames=c||[];this.importantScope=this.importantScope||[]};b.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]);this.parensStack.push(!0)};b.Eval.prototype.outOfParenthesis=
function(){this.parensStack.pop()};b.Eval.prototype.isMathOn=function(){return this.strictMath?this.parensStack&&this.parensStack.length:!0};b.Eval.prototype.isPathRelative=function(a){return!/^(?:[a-z-]+:|\/|#)/i.test(a)};b.Eval.prototype.normalizePath=function(a){var c,d=a.split("/").reverse();for(a=[];0!==d.length;)switch(c=d.pop()){case ".":break;case "..":0===a.length||".."===a[a.length-1]?a.push(c):a.pop();break;default:a.push(c)}return a.join("/")}},{}],12:[function(b,l,h){l.exports={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"}},{}],13:[function(b,l,h){l.exports={colors:b("./colors"),unitConversions:b("./unit-conversions")}},{"./colors":12,"./unit-conversions":14}],
14:[function(b,l,h){l.exports={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:.0025,turn:1}}},{}],15:[function(b,l,h){b=function(){};b.prototype.getPath=function(b){var d=b.lastIndexOf("?");return 0<d&&(b=b.slice(0,d)),d=b.lastIndexOf("/"),0>d&&(d=b.lastIndexOf("\\")),0>d?"":b.slice(0,d+1)};b.prototype.tryAppendExtension=function(b,d){return/(\.[a-z]*$)|([\?;].*)$/.test(b)?b:b+d};b.prototype.tryAppendLessExtension=
function(b){return this.tryAppendExtension(b,".less")};b.prototype.supportsSync=function(){return!1};b.prototype.alwaysMakePathsAbsolute=function(){return!1};b.prototype.isPathAbsolute=function(b){return/^(?:[a-z-]+:|\/|\\|#)/i.test(b)};b.prototype.join=function(b,d){return b?b+d:d};b.prototype.pathDiff=function(b,d){b=this.extractUrlParts(b);var e=this.extractUrlParts(d),a="";if(b.hostPart!==e.hostPart)return"";var c=Math.max(e.directories.length,b.directories.length);for(d=0;c>d&&e.directories[d]===
b.directories[d];d++);c=e.directories.slice(d);b=b.directories.slice(d);for(d=0;c.length-1>d;d++)a+="../";for(d=0;b.length-1>d;d++)a+=b[d]+"/";return a};b.prototype.extractUrlParts=function(b,d){var e,a=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,c=b.match(a),g={},m=[];if(!c)throw Error("Could not parse sheet href - '"+b+"'");if(d&&(!c[1]||c[2])){if(e=d.match(a),!e)throw Error("Could not parse page url - '"+d+"'");c[1]=c[1]||e[1]||"";c[2]||(c[3]=
e[3]+c[3])}if(c[3]){m=c[3].replace(/\\/g,"/").split("/");for(b=0;m.length>b;b++)"."===m[b]&&(m.splice(b,1),--b);for(b=0;m.length>b;b++)".."===m[b]&&0<b&&(m.splice(b-1,2),b-=2)}return g.hostPart=c[1],g.directories=m,g.path=(c[1]||"")+m.join("/"),g.fileUrl=g.path+(c[4]||""),g.url=g.fileUrl+(c[5]||""),g};l.exports=b},{}],16:[function(b,l,h){var f=b("../logger");b=function(d,e){this.fileManagers=e||[];d=d||{};e=[];for(var a=e.concat(["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"]),
c=0;a.length>c;c++){var g=a[c],b=d[g];b?this[g]=b.bind(d):e.length>c&&this.warn("missing required function in environment - "+g)}};b.prototype.getFileManager=function(d,e,a,c,g){d||f.warn("getFileManager called with no filename.. Please report this issue. continuing.");null==e&&f.warn("getFileManager called with null directory.. Please report this issue. continuing.");var b=this.fileManagers;a.pluginManager&&(b=[].concat(b).concat(a.pluginManager.getFileManagers()));for(var n=b.length-1;0<=n;n--){var p=
b[n];if(p[g?"supportsSync":"supports"](d,e,a,c))return p}return null};b.prototype.addFileManager=function(d){this.fileManagers.push(d)};b.prototype.clearFileManagers=function(){this.fileManagers=[]};l.exports=b},{"../logger":33}],17:[function(b,l,h){function f(a,g,e){var c=g.alpha,b=e.alpha,m=[];var f=b+c*(1-b);for(var t=0;3>t;t++){var u=g.rgb[t]/255;var h=e.rgb[t]/255;var l=a(u,h);f&&(l=(b*h+c*(u-b*(u+h-l)))/f);m[t]=255*l}return new d(m,f)}var d=b("../tree/color");b=b("./function-registry");var e=
{multiply:function(a,d){return a*d},screen:function(a,d){return a+d-a*d},overlay:function(a,d){return a*=2,1>=a?e.multiply(a,d):e.screen(a-1,d)},softlight:function(a,d){var c=1,g=a;return.5<d&&(g=1,c=.25<a?Math.sqrt(a):((16*a-12)*a+4)*a),a-(1-2*d)*g*(c-a)},hardlight:function(a,d){return e.overlay(d,a)},difference:function(a,d){return Math.abs(a-d)},exclusion:function(a,d){return a+d-2*a*d},average:function(a,d){return(a+d)/2},negation:function(a,d){return 1-Math.abs(a+d-1)}},a;for(a in e)e.hasOwnProperty(a)&&
(f[a]=f.bind(null,e[a]));b.addMultiple(f)},{"../tree/color":50,"./function-registry":22}],18:[function(b,l,h){function f(a){return Math.min(1,Math.max(0,a))}function d(a){return n.hsla(a.h,a.s,a.l,a.a)}function e(c){if(c instanceof a)return parseFloat(c.unit.is("%")?c.value/100:c.value);if("number"==typeof c)return c;throw{type:"Argument",message:"color functions take numbers as parameters"};}var a=b("../tree/dimension"),c=b("../tree/color"),g=b("../tree/quoted"),m=b("../tree/anonymous");b=b("./function-registry");
var n={rgb:function(a,c,d){return n.rgba(a,c,d,1)},rgba:function(d,g,b,m){d=[d,g,b].map(function(c){return c instanceof a&&c.unit.is("%")?parseFloat(255*c.value/100):e(c)});return m=e(m),new c(d,m)},hsl:function(a,c,d){return n.hsla(a,c,d,1)},hsla:function(a,c,d,g){function b(a){return a=0>a?a+1:1<a?a-1:a,1>6*a?p+(m-p)*a*6:1>2*a?m:2>3*a?p+(m-p)*(2/3-a)*6:p}var p,m;return a=e(a)%360/360,c=f(e(c)),d=f(e(d)),g=f(e(g)),m=.5>=d?d*(c+1):d+c-d*c,p=2*d-m,n.rgba(255*b(a+1/3),255*b(a),255*b(a-1/3),g)},hsv:function(a,
c,d){return n.hsva(a,c,d,1)},hsva:function(a,c,d,g){a=e(a)%360/360*360;c=e(c);d=e(d);g=e(g);var b=Math.floor(a/60%6);a=a/60-b;c=[d,d*(1-c),d*(1-a*c),d*(1-(1-a)*c)];d=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return n.rgba(255*c[d[b][0]],255*c[d[b][1]],255*c[d[b][2]],g)},hue:function(c){return new a(c.toHSL().h)},saturation:function(c){return new a(100*c.toHSL().s,"%")},lightness:function(c){return new a(100*c.toHSL().l,"%")},hsvhue:function(c){return new a(c.toHSV().h)},hsvsaturation:function(c){return new a(100*
c.toHSV().s,"%")},hsvvalue:function(c){return new a(100*c.toHSV().v,"%")},red:function(c){return new a(c.rgb[0])},green:function(c){return new a(c.rgb[1])},blue:function(c){return new a(c.rgb[2])},alpha:function(c){return new a(c.toHSL().a)},luma:function(c){return new a(c.luma()*c.alpha*100,"%")},luminance:function(c){return new a((.2126*c.rgb[0]/255+.7152*c.rgb[1]/255+.0722*c.rgb[2]/255)*c.alpha*100,"%")},saturate:function(a,c,g){if(!a.rgb)return null;a=a.toHSL();return a.s+="undefined"!=typeof g&&
"relative"===g.value?a.s*c.value/100:c.value/100,a.s=f(a.s),d(a)},desaturate:function(a,c,g){a=a.toHSL();return a.s-="undefined"!=typeof g&&"relative"===g.value?a.s*c.value/100:c.value/100,a.s=f(a.s),d(a)},lighten:function(a,c,g){a=a.toHSL();return a.l+="undefined"!=typeof g&&"relative"===g.value?a.l*c.value/100:c.value/100,a.l=f(a.l),d(a)},darken:function(a,c,g){a=a.toHSL();return a.l-="undefined"!=typeof g&&"relative"===g.value?a.l*c.value/100:c.value/100,a.l=f(a.l),d(a)},fadein:function(a,c,g){a=
a.toHSL();return a.a+="undefined"!=typeof g&&"relative"===g.value?a.a*c.value/100:c.value/100,a.a=f(a.a),d(a)},fadeout:function(a,c,g){a=a.toHSL();return a.a-="undefined"!=typeof g&&"relative"===g.value?a.a*c.value/100:c.value/100,a.a=f(a.a),d(a)},fade:function(a,c){a=a.toHSL();return a.a=c.value/100,a.a=f(a.a),d(a)},spin:function(a,c){a=a.toHSL();c=(a.h+c.value)%360;return a.h=0>c?360+c:c,d(a)},mix:function(d,g,b){d.toHSL&&g.toHSL||(console.log(g.type),console.dir(g));b||(b=new a(50));b=b.value/
100;var e=2*b-1,m=d.toHSL().a-g.toHSL().a;e=((-1==e*m?e:(e+m)/(1+e*m))+1)/2;m=1-e;return new c([d.rgb[0]*e+g.rgb[0]*m,d.rgb[1]*e+g.rgb[1]*m,d.rgb[2]*e+g.rgb[2]*m],d.alpha*b+g.alpha*(1-b))},greyscale:function(c){return n.desaturate(c,new a(100))},contrast:function(a,c,d,g){if(!a.rgb)return null;"undefined"==typeof c&&(c=n.rgba(0,0,0,1));"undefined"==typeof d&&(d=n.rgba(255,255,255,1));var b,e;a=a.luma();g=c.luma();var m=d.luma();return b=a>g?(a+.05)/(g+.05):(g+.05)/(a+.05),e=a>m?(a+.05)/(m+.05):(m+
.05)/(a+.05),b>e?c:d},argb:function(a){return new m(a.toARGB())},color:function(a){if(a instanceof g&&/^#([a-f0-9]{6}|[a-f0-9]{3})$/i.test(a.value))return new c(a.value.slice(1));if(a instanceof c||(a=c.fromKeyword(a.value)))return a.value=void 0,a;throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"};},tint:function(a,c){return n.mix(n.rgb(255,255,255),a,c)},shade:function(a,c){return n.mix(n.rgb(0,0,0),a,c)}};b.addMultiple(n)},{"../tree/anonymous":46,"../tree/color":50,
"../tree/dimension":56,"../tree/quoted":73,"./function-registry":22}],19:[function(b,l,h){l.exports=function(f){var d=b("../tree/quoted"),e=b("../tree/url"),a=b("./function-registry"),c=function(a,c){return(new e(c,a.index,a.currentFileInfo)).eval(a.context)},g=b("../logger");a.add("data-uri",function(a,b){b||(b=a,a=null);var m=a&&a.value,n=b.value,q=this.currentFileInfo,t=q.relativeUrls?q.currentDirectory:q.entryPath,u=n.indexOf("#");q="";-1!==u&&(q=n.slice(u),n=n.slice(0,u));var h=f.getFileManager(n,
t,this.context,f,!0);if(!h)return c(this,b);a?u=/;base64$/.test(m):((m=f.mimeLookup(n),"image/svg+xml"===m)?u=!1:(u=f.charsetLookup(m),u=0>["US-ASCII","UTF-8"].indexOf(u)),u&&(m+=";base64"));t=h.loadFileSync(n,t,this.context,f);if(!t.contents)return g.warn("Skipped data-uri embedding of "+n+" because file not found"),c(this,b||a);t=t.contents;if(u&&!f.encodeBase64)return c(this,b);t=u?f.encodeBase64(t):encodeURIComponent(t);m="data:"+m+","+t+q;return 32768<=m.length&&!1!==this.context.ieCompat?(g.warn("Skipped data-uri embedding of "+
n+" because its size ("+m.length+" characters) exceeds IE8-safe 32768 characters!"),c(this,b||a)):new e(new d('"'+m+'"',m,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../logger":33,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],20:[function(b,l,h){var f=b("../tree/keyword");h={eval:function(){var d=this.value_,b=this.error_;if(b)throw b;return null!=d?d?f.True:f.False:void 0},value:function(d){this.value_=d},error:function(d){this.error_=d},reset:function(){this.value_=
this.error_=null}};b("./function-registry").add("default",h.eval.bind(h));l.exports=h},{"../tree/keyword":65,"./function-registry":22}],21:[function(b,l,h){var f=b("../tree/expression");b=function(d,b,a,c){this.name=d.toLowerCase();this.index=a;this.context=b;this.currentFileInfo=c;this.func=b.frames[0].functionRegistry.get(this.name)};b.prototype.isValid=function(){return!!this.func};b.prototype.call=function(d){return Array.isArray(d)&&(d=d.filter(function(d){return"Comment"!==d.type}).map(function(d){return"Expression"===
d.type?(d=d.value.filter(function(a){return"Comment"!==a.type}),1===d.length?d[0]:new f(d)):d})),this.func.apply(this,d)};l.exports=b},{"../tree/expression":59}],22:[function(b,l,h){function f(d){return{_data:{},add:function(d,a){d=d.toLowerCase();this._data.hasOwnProperty(d);this._data[d]=a},addMultiple:function(d){Object.keys(d).forEach(function(a){this.add(a,d[a])}.bind(this))},get:function(b){return this._data[b]||d&&d.get(b)},inherit:function(){return f(this)}}}l.exports=f(null)},{}],23:[function(b,
l,h){l.exports=function(f){var d={functionRegistry:b("./function-registry"),functionCaller:b("./function-caller")};return b("./default"),b("./color"),b("./color-blending"),b("./data-uri")(f),b("./math"),b("./number"),b("./string"),b("./svg")(f),b("./types"),d}},{"./color":18,"./color-blending":17,"./data-uri":19,"./default":20,"./function-caller":21,"./function-registry":22,"./math":25,"./number":26,"./string":27,"./svg":28,"./types":29}],24:[function(b,l,h){var f=b("../tree/dimension");b=function(){};
b._math=function(d,b,a){if(!(a instanceof f))throw{type:"Argument",message:"argument must be a number"};return null==b?b=a.unit:a=a.unify(),new f(d(parseFloat(a.value)),b)};l.exports=b},{"../tree/dimension":56}],25:[function(b,l,h){l=b("./function-registry");var f=b("./math-helper.js");b={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var d in b)b.hasOwnProperty(d)&&(b[d]=f._math.bind(null,Math[d],b[d]));b.round=function(d,a){var c="undefined"==
typeof a?0:a.value;return f._math(function(a){return a.toFixed(c)},null,d)};l.addMultiple(b)},{"./function-registry":22,"./math-helper.js":24}],26:[function(b,l,h){var f=b("../tree/dimension"),d=b("../tree/anonymous");l=b("./function-registry");var e=b("./math-helper.js"),a=function(a,g){switch(g=Array.prototype.slice.call(g),g.length){case 0:throw{type:"Argument",message:"one or more arguments required"};}var c,b,e,r,q,t,u,h=[],l={};for(c=0;g.length>c;c++)if(e=g[c],e instanceof f)if(r=""===e.unit.toString()&&
void 0!==u?(new f(e.value,u)).unify():e.unify(),q=""===r.unit.toString()&&void 0!==t?t:r.unit.toString(),t=""!==q&&void 0===t||""!==q&&""===h[0].unify().unit.toString()?q:t,u=""!==q&&void 0===u?e.unit.toString():u,b=void 0!==l[""]&&""!==q&&q===t?l[""]:l[q],void 0!==b){var k=""===h[b].unit.toString()&&void 0!==u?(new f(h[b].value,u)).unify():h[b].unify();(a&&k.value>r.value||!a&&r.value>k.value)&&(h[b]=e)}else{if(void 0!==t&&q!==t)throw{type:"Argument",message:"incompatible types"};l[q]=h.length;h.push(e)}else Array.isArray(g[c].value)&&
Array.prototype.push.apply(g,Array.prototype.slice.call(g[c].value));return 1==h.length?h[0]:(g=h.map(function(a){return a.toCSS(this.context)}).join(this.context.compress?",":", "),new d((a?"min":"max")+"("+g+")"))};l.addMultiple({min:function(){return a(!0,arguments)},max:function(){return a(!1,arguments)},convert:function(a,d){return a.convertTo(d.value)},pi:function(){return new f(Math.PI)},mod:function(a,d){return new f(a.value%d.value,a.unit)},pow:function(a,d){if("number"==typeof a&&"number"==
typeof d)a=new f(a),d=new f(d);else if(!(a instanceof f&&d instanceof f))throw{type:"Argument",message:"arguments must be numbers"};return new f(Math.pow(a.value,d.value),a.unit)},percentage:function(a){return e._math(function(a){return 100*a},"%",a)}})},{"../tree/anonymous":46,"../tree/dimension":56,"./function-registry":22,"./math-helper.js":24}],27:[function(b,l,h){var f=b("../tree/quoted"),d=b("../tree/anonymous"),e=b("../tree/javascript");b("./function-registry").addMultiple({e:function(a){return new d(a instanceof
e?a.evaluated:a.value)},escape:function(a){return new d(encodeURI(a.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(a,c,d,b){var g=a.value;return d="Quoted"===d.type?d.value:d.toCSS(),g=g.replace(new RegExp(c.value,b?b.value:""),d),new f(a.quote||"",g,a.escaped)},"%":function(a){for(var c=Array.prototype.slice.call(arguments,1),d=a.value,b=0;c.length>b;b++)d=d.replace(/%[sda]/i,function(a){var d="Quoted"===
c[b].type&&a.match(/s/i)?c[b].value:c[b].toCSS();return a.match(/[A-Z]$/)?encodeURIComponent(d):d});return d=d.replace(/%%/g,"%"),new f(a.quote||"",d,a.escaped)}})},{"../tree/anonymous":46,"../tree/javascript":63,"../tree/quoted":73,"./function-registry":22}],28:[function(b,l,h){l.exports=function(f){var d=b("../tree/dimension"),e=b("../tree/color"),a=b("../tree/expression"),c=b("../tree/quoted"),g=b("../tree/url");b("./function-registry").add("svg-gradient",function(b){function m(){throw{type:"Argument",
message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"};}var f,r,q,t,u="linear",h='x="0" y="0" width="1" height="1"',l={compress:!1};var k=b.toCSS(l);switch(2==arguments.length?(2>arguments[1].value.length&&m(),f=arguments[1].value):3>arguments.length?m():f=Array.prototype.slice.call(arguments,1),k){case "to bottom":k='x1="0%" y1="0%" x2="0%" y2="100%"';break;case "to right":k='x1="0%" y1="0%" x2="100%" y2="0%"';
break;case "to bottom right":k='x1="0%" y1="0%" x2="100%" y2="100%"';break;case "to top right":k='x1="0%" y1="100%" x2="100%" y2="0%"';break;case "ellipse":case "ellipse at center":u="radial";k='cx="50%" cy="50%" r="75%"';h='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'"};}k='<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><'+
u+'Gradient id="gradient" gradientUnits="userSpaceOnUse" '+k+">";for(r=0;f.length>r;r+=1){f[r]instanceof a?(q=f[r].value[0],t=f[r].value[1]):(q=f[r],t=void 0);q instanceof e&&((0===r||r+1===f.length)&&void 0===t||t instanceof d)||m();var v=t?t.toCSS(l):0===r?"0%":"100%";var y=q.alpha;k+='<stop offset="'+v+'" stop-color="'+q.toRGB()+'"'+(1>y?' stop-opacity="'+y+'"':"")+"/>"}return k+="</"+u+"Gradient><rect "+h+' fill="url(#gradient)" /></svg>',k=encodeURIComponent(k),k="data:image/svg+xml,"+k,new g(new c("'"+
k+"'",k,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../tree/color":50,"../tree/dimension":56,"../tree/expression":59,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],29:[function(b,l,h){var f=b("../tree/keyword"),d=b("../tree/detached-ruleset"),e=b("../tree/dimension"),a=b("../tree/color"),c=b("../tree/quoted"),g=b("../tree/anonymous"),m=b("../tree/url"),n=b("../tree/operation"),p=function(a,c){return a instanceof c?f.True:f.False},r=function(a,c){if(void 0===
c)throw{type:"Argument",message:"missing the required second argument to isunit."};if(c="string"==typeof c.value?c.value:c,"string"!=typeof c)throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return a instanceof e&&a.unit.is(c)?f.True:f.False},q=function(a){return Array.isArray(a.value)?a.value:Array(a)};b("./function-registry").addMultiple({isruleset:function(a){return p(a,d)},iscolor:function(c){return p(c,a)},isnumber:function(a){return p(a,e)},isstring:function(a){return p(a,
c)},iskeyword:function(a){return p(a,f)},isurl:function(a){return p(a,m)},ispixel:function(a){return r(a,"px")},ispercentage:function(a){return r(a,"%")},isem:function(a){return r(a,"em")},isunit:r,unit:function(a,c){if(!(a instanceof e))throw{type:"Argument",message:"the first argument to unit must be a number"+(a instanceof n?". Have you forgotten parenthesis?":"")};return c=c?c instanceof f?c.value:c.toCSS():"",new e(a.value,c)},"get-unit":function(a){return new g(a.unit)},extract:function(a,c){return c=
c.value-1,q(a)[c]},length:function(a){return new e(q(a).length)}})},{"../tree/anonymous":46,"../tree/color":50,"../tree/detached-ruleset":55,"../tree/dimension":56,"../tree/keyword":65,"../tree/operation":71,"../tree/quoted":73,"../tree/url":80,"./function-registry":22}],30:[function(b,l,h){var f=b("./contexts"),d=b("./parser/parser"),e=b("./plugins/function-importer");l.exports=function(a){var c=function(a,c){this.rootFilename=c.filename;this.paths=a.paths||[];this.contents={};this.contentsIgnoredChars=
{};this.mime=a.mime;this.error=null;this.context=a;this.queue=[];this.files={}};return c.prototype.push=function(c,b,n,p,r){var g=this;this.queue.push(c);var m=function(a,d,b){g.queue.splice(g.queue.indexOf(c),1);var e=b===g.rootFilename;p.optional&&a?r(null,{rules:[]},!1,null):(g.files[b]=d,a&&!g.error&&(g.error=a),r(a,d,e,b))},h={relativeUrls:this.context.relativeUrls,entryPath:n.entryPath,rootpath:n.rootpath,rootFilename:n.rootFilename},l=a.getFileManager(c,n.currentDirectory,this.context,a);if(!l)return void m({message:"Could not find a file-manager for "+
c});b&&(c=l.tryAppendExtension(c,p.plugin?".js":".less"));var w=function(a){var c=a.filename;a=a.contents.replace(/^\uFEFF/,"");h.currentDirectory=l.getPath(c);h.relativeUrls&&(h.rootpath=l.join(g.context.rootpath||"",l.pathDiff(h.currentDirectory,h.entryPath)),!l.isPathAbsolute(h.rootpath)&&l.alwaysMakePathsAbsolute()&&(h.rootpath=l.join(h.entryPath,h.rootpath)));h.filename=c;var b=new f.Parse(g.context);b.processImports=!1;g.contents[c]=a;(n.reference||p.reference)&&(h.reference=!0);p.plugin?(new e(b,
h)).eval(a,function(a,d){m(a,d,c)}):p.inline?m(null,a,c):(new d(b,g,h)).parse(a,function(a,d){m(a,d,c)})};(b=l.loadFile(c,n.currentDirectory,this.context,a,function(a,c){a?m(a):w(c)}))&&b.then(w,m)},c}},{"./contexts":11,"./parser/parser":38,"./plugins/function-importer":40}],31:[function(b,l,h){l.exports=function(f,d){var e,a,c,g,m;return{version:[2,7,1],data:b("./data"),tree:b("./tree"),Environment:m=b("./environment/environment"),AbstractFileManager:b("./environment/abstract-file-manager"),environment:f=
new m(f,d),visitors:b("./visitors"),Parser:b("./parser/parser"),functions:b("./functions")(f),contexts:b("./contexts"),SourceMapOutput:e=b("./source-map-output")(f),SourceMapBuilder:a=b("./source-map-builder")(e,f),ParseTree:c=b("./parse-tree")(a),ImportManager:g=b("./import-manager")(f),render:b("./render")(f,c,g),parse:b("./parse")(f,c,g),LessError:b("./less-error"),transformTree:b("./transform-tree"),utils:b("./utils"),PluginManager:b("./plugin-manager"),logger:b("./logger")}}},{"./contexts":11,
"./data":13,"./environment/abstract-file-manager":15,"./environment/environment":16,"./functions":23,"./import-manager":30,"./less-error":32,"./logger":33,"./parse":35,"./parse-tree":34,"./parser/parser":38,"./plugin-manager":39,"./render":41,"./source-map-builder":42,"./source-map-output":43,"./transform-tree":44,"./tree":62,"./utils":83,"./visitors":87}],32:[function(b,l,h){var f=b("./utils");b=l.exports=function(d,b,a){Error.call(this);a=d.filename||a;if(b&&a){var c=b.contents[a],g=f.getLocation(d.index,
c);b=g.line;g=g.column;var e=d.call&&f.getLocation(d.call,c).line;c=c.split("\n");this.type=d.type||"Syntax";this.filename=a;this.index=d.index;this.line="number"==typeof b?b+1:null;this.callLine=e+1;this.callExtract=c[e];this.column=g;this.extract=[c[b-1],c[b],c[b+1]]}this.message=d.message;this.stack=d.stack};"undefined"==typeof Object.create?(l=function(){},l.prototype=Error.prototype,b.prototype=new l):b.prototype=Object.create(Error.prototype);b.prototype.constructor=b},{"./utils":83}],33:[function(b,
l,h){l.exports={error:function(b){this._fireEvent("error",b)},warn:function(b){this._fireEvent("warn",b)},info:function(b){this._fireEvent("info",b)},debug:function(b){this._fireEvent("debug",b)},addListener:function(b){this._listeners.push(b)},removeListener:function(b){for(var d=0;this._listeners.length>d;d++)if(this._listeners[d]===b)return void this._listeners.splice(d,1)},_fireEvent:function(b,d){for(var e=0;this._listeners.length>e;e++){var a=this._listeners[e][b];a&&a(d)}},_listeners:[]}},
{}],34:[function(b,l,h){var f=b("./less-error"),d=b("./transform-tree"),e=b("./logger");l.exports=function(a){var c=function(a,c){this.root=a;this.imports=c};return c.prototype.toCSS=function(c){var b,g={};try{var p=d(this.root,c)}catch(u){throw new f(u,this.imports);}try{var r=!!c.compress;r&&e.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var q={compress:r,dumpLineNumbers:c.dumpLineNumbers,strictUnits:!!c.strictUnits,
numPrecision:8};c.sourceMap?(b=new a(c.sourceMap),g.css=b.toCSS(p,q,this.imports)):g.css=p.toCSS(q)}catch(u){throw new f(u,this.imports);}if(c.pluginManager)for(p=c.pluginManager.getPostProcessors(),r=0;p.length>r;r++)g.css=p[r].process(g.css,{sourceMap:b,options:c,imports:this.imports});c.sourceMap&&(g.map=b.getExternalSourceMap());g.imports=[];for(var t in this.imports.files)this.imports.files.hasOwnProperty(t)&&t!==this.imports.rootFilename&&g.imports.push(t);return g},c}},{"./less-error":32,"./logger":33,
"./transform-tree":44}],35:[function(b,l,h){var f,d=b("./contexts"),e=b("./parser/parser"),a=b("./plugin-manager");l.exports=function(c,g,m){var n=function(c,g,q){if(g=g||{},"function"==typeof g&&(q=g,g={}),!q){f||(f="undefined"==typeof Promise?b("promise"):Promise);var p=this;return new f(function(a,d){n.call(p,c,g,function(c,b){c?d(c):a(b)})})}var r=new a(this);if(r.addPlugins(g.plugins),g.pluginManager=r,r=new d.Parse(g),g.rootFileInfo)var h=g.rootFileInfo;else{h=g.filename||"input";var l=h.replace(/[^\/\\]*$/,
"");h={filename:h,relativeUrls:r.relativeUrls,rootpath:r.rootpath||"",currentDirectory:l,entryPath:l,rootFilename:h};h.rootpath&&"/"!==h.rootpath.slice(-1)&&(h.rootpath+="/")}var k=new m(r,h);(new e(r,k,h)).parse(c,function(a,c){return a?q(a):void q(null,c,k,g)},g)};return n}},{"./contexts":11,"./parser/parser":38,"./plugin-manager":39,promise:void 0}],36:[function(b,l,h){l.exports=function(b,d){function e(a){var d=c-t;512>d&&!a||!d||(q.push(b.slice(t,c+1)),t=c+1)}var a,c,g,m,n=b.length,f=0,r=0,q=
[],t=0;for(c=0;n>c;c++)if(g=b.charCodeAt(c),!(97<=g&&122>=g||34>g))switch(g){case 40:r++;var h=c;continue;case 41:if(0>--r)return d("missing opening `(`",c);continue;case 59:r||e();continue;case 123:f++;var l=c;continue;case 125:if(0>--f)return d("missing opening `{`",c);f||r||e();continue;case 92:if(n-1>c){c++;continue}return d("unescaped `\\`",c);case 34:case 39:case 96:var w=0;var k=c;for(c+=1;n>c;c++)if(m=b.charCodeAt(c),!(96<m)){if(m==g){w=1;break}if(92==m){if(c==n-1)return d("unescaped `\\`",
c);c++}}if(w)continue;return d("unmatched `"+String.fromCharCode(g)+"`",k);case 47:if(r||c==n-1)continue;if(m=b.charCodeAt(c+1),47==m)for(c+=2;n>c&&(m=b.charCodeAt(c),!(13>=m)||10!=m&&13!=m);c++);else if(42==m){var v=k=c;for(c+=2;n-1>c&&(m=b.charCodeAt(c),125==m&&(a=c),42!=m||47!=b.charCodeAt(c+1));c++);if(c==n-1)return d("missing closing `*/`",k);c++}continue;case 42:if(n-1>c&&47==b.charCodeAt(c+1))return d("unmatched `/*`",c)}return 0!==f?v>l&&a>v?d("missing closing `}` or `*/`",l):d("missing closing `}`",
l):0!==r?d("missing closing `)`",h):(e(!0),q)}},{}],37:[function(b,l,h){var f=b("./chunker");l.exports=function(){function d(c){for(var g,e,v,f=q.i,r=a,u=q.i-p,x=q.i+n.length-u,H=q.i+=c,D=b;x>q.i;q.i++){if(g=D.charCodeAt(q.i),q.autoCommentAbsorb&&g===k){if(e=D.charAt(q.i+1),"/"===e){v={index:q.i,isLineComment:!0};var F=D.indexOf("\n",q.i+2);0>F&&(F=x);q.i=F;v.text=D.substr(v.index,q.i-v.index);q.commentStore.push(v);continue}if("*"===e&&(v=D.indexOf("*/",q.i+2),0<=v)){v={index:q.i,text:D.substr(q.i,
v+2-q.i),isLineComment:!1};q.i+=v.text.length-1;q.commentStore.push(v);continue}break}if(g!==t&&g!==l&&g!==h&&g!==w)break}if(n=n.slice(c+q.i-H+u),p=q.i,!n.length){if(m.length-1>a)return n=m[++a],d(0),!0;q.finished=!0}return f!==q.i||r!==a}var b,a,c,g,m,n,p,r=[],q={},t=32,h=9,l=10,w=13,k=47;return q.save=function(){p=q.i;r.push({current:n,i:q.i,j:a})},q.restore=function(d){(q.i>c||q.i===c&&d&&!g)&&(c=q.i,g=d);d=r.pop();n=d.current;p=q.i=d.i;a=d.j},q.forget=function(){r.pop()},q.isWhitespace=function(a){a=
b.charCodeAt(q.i+(a||0));return a===t||a===w||a===h||a===l},q.$re=function(a){q.i>p&&(n=n.slice(q.i-p),p=q.i);return(a=a.exec(n))?(d(a[0].length),"string"==typeof a?a:1===a.length?a[0]:a):null},q.$char=function(a){return b.charAt(q.i)!==a?null:(d(1),a)},q.$str=function(a){for(var c=a.length,g=0;c>g;g++)if(b.charAt(q.i+g)!==a.charAt(g))return null;return d(c),a},q.$quoted=function(){var a=b.charAt(q.i);if("'"===a||'"'===a){for(var c=b.length,g=q.i,e=1;c>e+g;e++)switch(b.charAt(e+g)){case "\\":e++;
continue;case a:return a=b.substr(g,e+1),d(e+1),a}return null}},q.autoCommentAbsorb=!0,q.commentStore=[],q.finished=!1,q.peek=function(a){if("string"==typeof a){for(var c=0;a.length>c;c++)if(b.charAt(q.i+c)!==a.charAt(c))return!1;return!0}return a.test(n)},q.peekChar=function(a){return b.charAt(q.i)===a},q.currentChar=function(){return b.charAt(q.i)},q.getInput=function(){return b},q.peekNotNumeric=function(){var a=b.charCodeAt(q.i);return 57<a||43>a||a===k||44===a},q.start=function(g,e,k){b=g;q.i=
a=p=c=0;m=e?f(g,k):[g];n=m[0];d(0)},q.end=function(){var a,d=q.i>=b.length;return c>q.i&&(a=g,q.i=c),{isFinished:d,furthest:q.i,furthestPossibleErrorMessage:a,furthestReachedEnd:q.i>=b.length-1,furthestChar:b[q.i]}},q}},{"./chunker":36}],38:[function(b,l,h){var f=b("../less-error"),d=b("../tree"),e=b("../visitors"),a=b("./parser-input"),c=b("../utils");b=function r(b,n,p){function m(a,c){throw new f({index:k.i,filename:p.filename,type:c||"Syntax",message:a},n);}function t(a,c,d){return(d=a instanceof
Function?a.call(w):k.$re(a))?d:void m(c||("string"==typeof a?"expected '"+a+"' got '"+k.currentChar()+"'":"unexpected token"))}function h(a,c){return k.$char(a)?a:void m(c||"expected '"+a+"' got '"+k.currentChar()+"'")}function l(a){var d=p.filename;return{lineNumber:c.getLocation(a,k.getInput()).line+1,fileName:d}}var w,k=a();return{parse:function(a,c,m){var v,q,t,y=null,h="";if(v=m&&m.globalVars?r.serializeVars(m.globalVars)+"\n":"",q=m&&m.modifyVars?"\n"+r.serializeVars(m.modifyVars):"",b.pluginManager)for(var l=
b.pluginManager.getPreProcessors(),u=0;l.length>u;u++)a=l[u].process(a,{context:b,imports:n,fileInfo:p});(v||m&&m.banner)&&(h=(m&&m.banner?m.banner:"")+v,t=n.contentsIgnoredChars,t[p.filename]=t[p.filename]||0,t[p.filename]+=h.length);a=a.replace(/\r\n?/g,"\n");a=h+a.replace(/^\uFEFF/,"")+q;n.contents[p.filename]=a;try{k.start(a,b.chunkInput,function(a,c){throw new f({index:c,type:"Parse",message:a,filename:p.filename},n);});var z=new d.Ruleset(null,this.parsers.primary());z.root=!0;z.firstRoot=!0}catch(J){return c(new f(J,
n,p.filename))}a=k.end();a.isFinished||((m=a.furthestPossibleErrorMessage)||(m="Unrecognised input","}"===a.furthestChar?m+=". Possibly missing opening '{'":")"===a.furthestChar?m+=". Possibly missing opening '('":a.furthestReachedEnd&&(m+=". Possibly missing something")),y=new f({type:"Parse",message:m,index:a.furthest,filename:p.filename},n));a=function(a){return a=y||a||n.error,a?(a instanceof f||(a=new f(a,n,p.filename)),c(a)):c(null,z)};return!1===b.processImports?a():void(new e.ImportVisitor(n,
a)).run(z)},parsers:w={primary:function(){for(var a,c=this.mixin,d=[];;){for(;a=this.comment(),a;)d.push(a);if(k.finished)break;if(k.peek("}"))break;if(a=this.extendRule())d=d.concat(a);else if(a=c.definition()||this.rule()||this.ruleset()||c.call()||this.rulesetCall()||this.entities.call()||this.directive())d.push(a);else{for(var b=!1;k.$char(";");)b=!0;if(!b)break}}return d},comment:function(){if(k.commentStore.length){var a=k.commentStore.shift();return new d.Comment(a.text,a.isLineComment,a.index,
p)}},entities:{quoted:function(){var a,c=k.i,b=!1;return k.save(),k.$char("~")&&(b=!0),(a=k.$quoted())?(k.forget(),new d.Quoted(a.charAt(0),a.substr(1,a.length-2),b,c,p)):void k.restore()},keyword:function(){var a=k.$char("%")||k.$re(/^[_A-Za-z-][_A-Za-z0-9-]*/);return a?d.Color.fromKeyword(a)||new d.Keyword(a):void 0},call:function(){var a,c,b,e,m=k.i;if(!k.peek(/^url\(/i))return k.save(),(a=k.$re(/^([\w-]+|%|progid:[\w\.]+)\(/))?(a=a[1],c=a.toLowerCase(),"alpha"===c&&(e=w.alpha())?(k.forget(),e):
(b=this.arguments(),k.$char(")")?(k.forget(),new d.Call(a,b,m,p)):void k.restore("Could not parse call arguments or missing ')'"))):void k.forget()},arguments:function(){var a,c,b=[],e=[],m=[];for(k.save();c=w.detachedRuleset()||this.assignment()||w.expression(),c;){var n=c;c.value&&1==c.value.length&&(n=c.value[0]);n&&m.push(n);e.push(n);k.$char(",")||(k.$char(";")||a)&&(a=!0,1<m.length&&(n=new d.Value(m)),b.push(n),m=[])}return k.forget(),a?b:e},literal:function(){return this.dimension()||this.color()||
this.quoted()||this.unicodeDescriptor()},assignment:function(){var a,c;return k.save(),(a=k.$re(/^\w+(?=\s?=)/i))&&k.$char("=")&&(c=w.entity())?(k.forget(),new d.Assignment(a,c)):void k.restore()},url:function(){var a,c=k.i;return k.autoCommentAbsorb=!1,k.$str("url(")?(a=this.quoted()||this.variable()||k.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",k.autoCommentAbsorb=!0,h(")"),new d.URL(null!=a.value||a instanceof d.Variable?a:new d.Anonymous(a),c,p)):void(k.autoCommentAbsorb=!0)},variable:function(){var a,
c=k.i;return"@"===k.currentChar()&&(a=k.$re(/^@@?[\w-]+/))?new d.Variable(a,c,p):void 0},variableCurly:function(){var a,c=k.i;return"@"===k.currentChar()&&(a=k.$re(/^@\{([\w-]+)\}/))?new d.Variable("@"+a[1],c,p):void 0},color:function(){var a;if("#"===k.currentChar()&&(a=k.$re(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))){var c=a.input.match(/^#([\w]+).*/);return c=c[1],c.match(/^[A-Fa-f0-9]+$/)||m("Invalid HEX color code"),new d.Color(a[1],void 0,"#"+c)}},colorKeyword:function(){k.save();var a=k.autoCommentAbsorb;
k.autoCommentAbsorb=!1;var c=k.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(k.autoCommentAbsorb=a,!c)return void k.forget();k.restore();return(a=d.Color.fromKeyword(c))?(k.$str(c),a):void 0},dimension:function(){if(!k.peekNotNumeric()){var a=k.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);return a?new d.Dimension(a[1],a[2]):void 0}},unicodeDescriptor:function(){var a;return a=k.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/),a?new d.UnicodeDescriptor(a[0]):void 0},javascript:function(){var a,c=k.i;k.save();var b=k.$char("~");
return k.$char("`")?(a=k.$re(/^[^`]*`/))?(k.forget(),new d.JavaScript(a.substr(0,a.length-1),!!b,c,p)):void k.restore("invalid javascript definition"):void k.restore()}},variable:function(){var a;return"@"===k.currentChar()&&(a=k.$re(/^(@[\w-]+)\s*:/))?a[1]:void 0},rulesetCall:function(){var a;return"@"===k.currentChar()&&(a=k.$re(/^(@[\w-]+)\(\s*\)\s*;/))?new d.RulesetCall(a[1]):void 0},extend:function(a){var c,b,e,n,f=k.i;if(k.$str(a?"&:extend(":":extend(")){do{for(c=null;!(e=k.$re(/^(all)(?=\s*(\)|,))/))&&
(b=this.element());)c?c.push(b):c=[b];e=e&&e[1];c||m("Missing target selector for :extend().");c=new d.Extend(new d.Selector(c),e,f,p);n?n.push(c):n=[c]}while(k.$char(","));return t(/^\)/),a&&t(/^;/),n}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var a,c,b;var e=k.currentChar();var m=!1,n=k.i;if("."===e||"#"===e){for(k.save();e=k.i,c=k.$re(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/),c;){var f=new d.Element(f,c,e,p);a?a.push(f):a=[f];f=k.$char(">")}return a&&
(k.$char("(")&&(b=this.args(!0).args,h(")")),w.important()&&(m=!0),w.end())?(k.forget(),new d.mixin.Call(a,b,n,p,m)):void k.restore()}},args:function(a){var c,b,e,n=w.entities,f={args:null,variadic:!1},p=[],r=[],v=[];for(k.save();;){if(a)var q=w.detachedRuleset()||w.expression();else{if(k.commentStore.length=0,k.$str("...")){f.variadic=!0;k.$char(";")&&!c&&(c=!0);(c?r:v).push({variadic:!0});break}q=n.variable()||n.literal()||n.keyword()}if(!q)break;var t=null;q.throwAwayComments&&q.throwAwayComments();
var h=q;var l=null;if(a?q.value&&1==q.value.length&&(l=q.value[0]):l=q,l&&l instanceof d.Variable)if(k.$char(":")){if(0<p.length&&(c&&m("Cannot mix ; and , as delimiter types"),b=!0),h=w.detachedRuleset()||w.expression(),!h){if(!a)return k.restore(),f.args=[],f;m("could not understand value for named argument")}t=e=l.name}else if(k.$str("...")){if(!a){f.variadic=!0;k.$char(";")&&!c&&(c=!0);(c?r:v).push({name:q.name,variadic:!0});break}var u=!0}else a||(e=t=l.name,h=null);h&&p.push(h);v.push({name:t,
value:h,expand:u});k.$char(",")||(k.$char(";")||c)&&(b&&m("Cannot mix ; and , as delimiter types"),c=!0,1<p.length&&(h=new d.Value(p)),r.push({name:e,value:h,expand:u}),e=null,p=[],b=!1)}return k.forget(),f.args=c?r:v,f},definition:function(){var a,c,b,e;if(!("."!==k.currentChar()&&"#"!==k.currentChar()||k.peek(/^[^{]*\}/)))if(k.save(),a=k.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){a=a[1];var m=this.args(!1);if(b=m.args,e=m.variadic,!k.$char(")"))return void k.restore("Missing closing ')'");
if(k.commentStore.length=0,k.$str("when")&&(c=t(w.conditions,"expected condition")),m=w.block())return k.forget(),new d.mixin.Definition(a,b,m,c,e);k.restore()}else k.forget()}},entity:function(){var a=this.entities;return this.comment()||a.literal()||a.variable()||a.url()||a.call()||a.keyword()||a.javascript()},end:function(){return k.$char(";")||k.peek("}")},alpha:function(){var a;if(k.$re(/^opacity=/i))return a=k.$re(/^\d+/),a||(a=t(this.entities.variable,"Could not parse alpha")),h(")"),new d.Alpha(a)},
element:function(){var a,c,b,e=k.i;return c=this.combinator(),a=k.$re(/^(?:\d+\.\d+|\d+)%/)||k.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||k.$char("*")||k.$char("&")||this.attribute()||k.$re(/^\([^&()@]+\)/)||k.$re(/^[\.#:](?=@)/)||this.entities.variableCurly(),a||(k.save(),k.$char("(")?(b=this.selector())&&k.$char(")")?(a=new d.Paren(b),k.forget()):k.restore("Missing closing ')'"):k.forget()),a?new d.Element(c,a,e,p):void 0},combinator:function(){var a=k.currentChar();
if("/"===a){k.save();var c=k.$re(/^\/[a-z]+\//i);if(c)return k.forget(),new d.Combinator(c);k.restore()}if(">"===a||"+"===a||"~"===a||"|"===a||"^"===a){k.i++;for("^"===a&&"^"===k.currentChar()&&(a="^^",k.i++);k.isWhitespace();)k.i++;return new d.Combinator(a)}return new d.Combinator(k.isWhitespace(-1)?" ":null)},lessSelector:function(){return this.selector(!0)},selector:function(a){for(var c,b,e,n,f,r,q,v=k.i;(a&&(b=this.extend())||a&&(r=k.$str("when"))||(n=this.element()))&&(r?q=t(this.conditions,
"expected condition"):q?m("CSS guard can only be used at the end of selector"):b?f=f?f.concat(b):b:(f&&m("Extend can only be used at the end of selector"),e=k.currentChar(),c?c.push(n):c=[n],n=null),"{"!==e&&"}"!==e&&";"!==e&&","!==e&&")"!==e););return c?new d.Selector(c,f,q,v,p):void(f&&m("Extend must be used to extend a selector, it cannot be used on its own"))},attribute:function(){if(k.$char("[")){var a,c,b,e=this.entities;return(a=e.variableCurly())||(a=t(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),
b=k.$re(/^[|~*$^]?=/),b&&(c=e.quoted()||k.$re(/^[0-9]+%/)||k.$re(/^[\w-]+/)||e.variableCurly()),h("]"),new d.Attribute(a,b,c)}},block:function(){var a;return k.$char("{")&&(a=this.primary())&&k.$char("}")?a:void 0},blockRuleset:function(){var a=this.block();return a&&(a=new d.Ruleset(null,a)),a},detachedRuleset:function(){var a=this.blockRuleset();return a?new d.DetachedRuleset(a):void 0},ruleset:function(){var a,c,e,n;k.save();for(b.dumpLineNumbers&&(n=l(k.i));(c=this.lessSelector(),c)&&(a?a.push(c):
a=[c],k.commentStore.length=0,c.condition&&1<a.length&&m("Guards are only currently allowed on a single selector."),k.$char(","));)c.condition&&m("Guards are only currently allowed on a single selector."),k.commentStore.length=0;if(a&&(e=this.block()))return k.forget(),a=new d.Ruleset(a,e,b.strictImports),b.dumpLineNumbers&&(a.debugInfo=n),a;k.restore()},rule:function(a){var c,e,m=k.i;var n=k.currentChar();if("."!==n&&"#"!==n&&"&"!==n&&":"!==n)if(k.save(),n=this.variable()||this.ruleProperty()){if(e=
"string"==typeof n,e&&(c=this.detachedRuleset()),k.commentStore.length=0,!c){var f=!e&&1<n.length&&n.pop().value;var r=!a&&(b.compress||e);if(r&&(c=this.value()),!c&&(c=this.anonymousValue()))return k.forget(),new d.Rule(n,c,!1,f,m,p);r||c||(c=this.value());r=this.important()}if(c&&this.end())return k.forget(),new d.Rule(n,c,r,f,m,p);if(k.restore(),c&&!a)return this.rule(!0)}else k.forget()},anonymousValue:function(){var a=k.$re(/^([^@+\/'"*`(;{}-]*);/);return a?new d.Anonymous(a[1]):void 0},"import":function(){var a,
c,b=k.i;if(a=k.$re(/^@import?\s+/)){var e=(a?this.importOptions():null)||{};if(a=this.entities.quoted()||this.entities.url())return c=this.mediaFeatures(),k.$char(";")||(k.i=b,m("missing semi-colon or unrecognised media features on import")),c=c&&new d.Value(c),new d.Import(a,c,e,b,p);k.i=b;m("malformed import statement")}},importOptions:function(){var a,c,d,b={};if(!k.$char("("))return null;do if(a=this.importOption()){switch(c=a,d=!0,c){case "css":c="less";d=!1;break;case "once":c="multiple",d=
!1}if(b[c]=d,!k.$char(","))break}while(a);return h(")"),b},importOption:function(){var a=k.$re(/^(less|css|multiple|once|inline|reference|optional)/);return a?a[1]:void 0},mediaFeature:function(){var a,c,b=this.entities,e=[];k.save();do(a=b.keyword()||b.variable())?e.push(a):k.$char("(")&&(c=this.property(),a=this.value(),k.$char(")")?c&&a?e.push(new d.Paren(new d.Rule(c,a,null,null,k.i,p,!0))):a?e.push(new d.Paren(a)):m("badly formed media feature definition"):m("Missing closing ')'","Parse"));while(a);
return k.forget(),0<e.length?new d.Expression(e):void 0},mediaFeatures:function(){var a,c=this.entities,d=[];do if(a=this.mediaFeature()){if(d.push(a),!k.$char(","))break}else if(a=c.variable(),a&&(d.push(a),!k.$char(",")))break;while(a);return 0<d.length?d:null},media:function(){var a,c,e,n,f=k.i;return b.dumpLineNumbers&&(n=l(f)),k.save(),k.$str("@media")?(a=this.mediaFeatures(),c=this.block(),c||m("media definitions require block statements after any features"),k.forget(),e=new d.Media(c,a,f,p),
b.dumpLineNumbers&&(e.debugInfo=n),e):void k.restore()},plugin:function(){var a,c=k.i;if(k.$re(/^@plugin?\s+/)){var b={plugin:!0};if(a=this.entities.quoted()||this.entities.url())return k.$char(";")||(k.i=c,m("missing semi-colon on plugin")),new d.Import(a,null,b,c,p);k.i=c;m("malformed plugin statement")}},directive:function(){var a,c,e,n,f=k.i,r=!0,q=!0;if("@"===k.currentChar()){if(c=this["import"]()||this.plugin()||this.media())return c;if(k.save(),a=k.$re(/^@[a-z-]+/)){switch(n=a,"-"==a.charAt(1)&&
0<a.indexOf("-",2)&&(n="@"+a.slice(a.indexOf("-",2)+1)),n){case "@charset":var t=!0;r=!1;break;case "@namespace":var h=!0;r=!1;break;case "@keyframes":case "@counter-style":t=!0;break;case "@document":case "@supports":var u=!0;q=!1;break;default:u=!0}return k.commentStore.length=0,t?(c=this.entity(),c||m("expected "+a+" identifier")):h?(c=this.expression(),c||m("expected "+a+" expression")):u&&(c=(k.$re(/^[^{;]+/)||"").trim(),r="{"==k.currentChar(),c&&(c=new d.Anonymous(c))),r&&(e=this.blockRuleset()),
e||!r&&c&&k.$char(";")?(k.forget(),new d.Directive(a,c,e,f,p,b.dumpLineNumbers?l(f):null,q)):void k.restore("directive options not recognised")}}},value:function(){var a,c=[];do if(a=this.expression(),a&&(c.push(a),!k.$char(",")))break;while(a);return 0<c.length?new d.Value(c):void 0},important:function(){return"!"===k.currentChar()?k.$re(/^! *important/):void 0},sub:function(){var a,c;return k.save(),k.$char("(")?(a=this.addition(),a&&k.$char(")")?(k.forget(),c=new d.Expression([a]),c.parens=!0,
c):void k.restore("Expected ')'")):void k.restore()},multiplication:function(){var a,c,b,e;if(a=this.operand()){for(e=k.isWhitespace(-1);!k.peek(/^\/[*\/]/);){if(k.save(),b=k.$char("/")||k.$char("*"),!b){k.forget();break}if(c=this.operand(),!c){k.restore();break}k.forget();a.parensInOp=!0;c.parensInOp=!0;var m=new d.Operation(b,[m||a,c],e);e=k.isWhitespace(-1)}return m||a}},addition:function(){var a,c,b,e;if(a=this.multiplication()){for(e=k.isWhitespace(-1);(b=k.$re(/^[-+]\s+/)||!e&&(k.$char("+")||
k.$char("-")),b)&&(c=this.multiplication(),c);){a.parensInOp=!0;c.parensInOp=!0;var m=new d.Operation(b,[m||a,c],e);e=k.isWhitespace(-1)}return m||a}},conditions:function(){var a,c,b=k.i;if(a=this.condition()){for(;k.peek(/^,\s*(not\s*)?\(/)&&k.$char(",")&&(c=this.condition(),c);)var e=new d.Condition("or",e||a,c,b);return e||a}},condition:function(){var a,c,b;if(a=this.conditionAnd(this)){if(c=k.$str("or")){if(b=this.condition(),!b)return;a=new d.Condition(c,a,b)}return a}},conditionAnd:function(){var a,
c,b;if(a=this.negatedCondition()||this.parenthesisCondition()){if(c=k.$str("and")){if(b=this.conditionAnd(),!b)return;a=new d.Condition(c,a,b)}return a}},negatedCondition:function(){if(k.$str("not")){var a=this.parenthesisCondition();return a&&(a.negate=!a.negate),a}},parenthesisCondition:function(){var a;k.save();if(k.$str("(")){var c;var d=(a=(k.save(),(c=this.condition())&&k.$char(")")?(k.forget(),c):void k.restore()))?(k.forget(),a):(a=this.atomicCondition())?k.$char(")")?(k.forget(),a):void k.restore("expected ')' got '"+
k.currentChar()+"'"):void k.restore()}else d=void k.restore();return d},atomicCondition:function(){var a,c,b,e,n=this.entities,f=k.i;return a=this.addition()||n.keyword()||n.quoted(),a?(k.$char(">")?e=k.$char("=")?">=":">":k.$char("<")?e=k.$char("=")?"<=":"<":k.$char("=")&&(e=k.$char(">")?"=>":k.$char("<")?"=<":"="),e?(c=this.addition()||n.keyword()||n.quoted(),c?b=new d.Condition(e,a,c,f,!1):m("expected expression")):b=new d.Condition("=",a,new d.Keyword("true"),f,!1),b):void 0},operand:function(){var a,
c=this.entities;k.peek(/^-[@\(]/)&&(a=k.$char("-"));c=this.sub()||c.dimension()||c.color()||c.variable()||c.call()||c.colorKeyword();return a&&(c.parensInOp=!0,c=new d.Negative(c)),c},expression:function(){var a,c,b=[];do(a=this.comment())?b.push(a):(a=this.addition()||this.entity(),a&&(b.push(a),k.peek(/^\/[\/*]/)||(c=k.$char("/"),c&&b.push(new d.Anonymous(c)))));while(a);return 0<b.length?new d.Expression(b):void 0},property:function(){var a=k.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);return a?a[1]:void 0},
ruleProperty:function(){function a(a){var c=k.i;return(a=k.$re(a))?(m.push(c),e.push(a[1])):void 0}var c,b,e=[],m=[];k.save();if(c=k.$re(/^([_a-zA-Z0-9-]+)\s*:/))return e=[new d.Keyword(c[1])],k.forget(),e;for(a(/^(\*?)/);a(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/););if(1<e.length&&a(/^((?:\+_|\+)?)\s*:/)){k.forget();""===e[0]&&(e.shift(),m.shift());for(b=0;e.length>b;b++)c=e[b],e[b]="@"!==c.charAt(0)?new d.Keyword(c):new d.Variable("@"+c.slice(2,-1),m[b],p);return e}k.restore()}}}};b.serializeVars=function(a){var c=
"",b;for(b in a)if(Object.hasOwnProperty.call(a,b)){var d=a[b];c+=("@"===b[0]?"":"@")+b+": "+d+(";"===String(d).slice(-1)?"":";")}return c};l.exports=b},{"../less-error":32,"../tree":62,"../utils":83,"../visitors":87,"./parser-input":37}],39:[function(b,l,h){b=function(b){this.less=b;this.visitors=[];this.preProcessors=[];this.postProcessors=[];this.installedPlugins=[];this.fileManagers=[]};b.prototype.addPlugins=function(b){if(b)for(var d=0;b.length>d;d++)this.addPlugin(b[d])};b.prototype.addPlugin=
function(b){this.installedPlugins.push(b);b.install(this.less,this)};b.prototype.addVisitor=function(b){this.visitors.push(b)};b.prototype.addPreProcessor=function(b,d){var e;for(e=0;this.preProcessors.length>e&&!(this.preProcessors[e].priority>=d);e++);this.preProcessors.splice(e,0,{preProcessor:b,priority:d})};b.prototype.addPostProcessor=function(b,d){var e;for(e=0;this.postProcessors.length>e&&!(this.postProcessors[e].priority>=d);e++);this.postProcessors.splice(e,0,{postProcessor:b,priority:d})};
b.prototype.addFileManager=function(b){this.fileManagers.push(b)};b.prototype.getPreProcessors=function(){for(var b=[],d=0;this.preProcessors.length>d;d++)b.push(this.preProcessors[d].preProcessor);return b};b.prototype.getPostProcessors=function(){for(var b=[],d=0;this.postProcessors.length>d;d++)b.push(this.postProcessors[d].postProcessor);return b};b.prototype.getVisitors=function(){return this.visitors};b.prototype.getFileManagers=function(){return this.fileManagers};l.exports=b},{}],40:[function(b,
l,h){var f=b("../less-error"),d=b("../tree");(l.exports=function(b,a){this.fileInfo=a}).prototype.eval=function(b,a){var c={};var g={add:function(a,b){c[a]=b},addMultiple:function(a){Object.keys(a).forEach(function(b){c[b]=a[b]})}};try{var e=new Function("functions","tree","fileInfo",b);e(g,d,this.fileInfo)}catch(n){a(new f({message:"Plugin evaluation error: '"+n.name+": "+n.message.replace(/["]/g,"'")+"'",filename:this.fileInfo.filename}),null)}a(null,{functions:c})}},{"../less-error":32,"../tree":62}],
41:[function(b,l,h){var f;l.exports=function(d,e,a){var c=function(a,d,n){if("function"==typeof d&&(n=d,d={}),!n){f||(f="undefined"==typeof Promise?b("promise"):Promise);var g=this;return new f(function(b,e){c.call(g,a,d,function(a,c){a?e(a):b(c)})})}this.parse(a,d,function(a,c,b,d){if(a)return n(a);try{var g=(new e(c,b)).toCSS(d)}catch(w){return n(w)}n(null,g)})};return c}},{promise:void 0}],42:[function(b,l,h){l.exports=function(b,d){var e=function(a){this.options=a};return e.prototype.toCSS=function(a,
c,d){a=new b({contentsIgnoredCharsMap:d.contentsIgnoredChars,rootNode:a,contentsMap:d.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});c=a.toCSS(c);
return this.sourceMap=a.sourceMap,this.sourceMapURL=a.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=a.normalizeFilename(this.options.sourceMapInputFilename)),c+this.getCSSAppendage()},e.prototype.getCSSAppendage=function(){var a=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";a="data:application/json;base64,"+d.encodeBase64(this.sourceMap)}return a?"/*# sourceMappingURL="+a+" */":""},e.prototype.getExternalSourceMap=function(){return this.sourceMap},
e.prototype.setExternalSourceMap=function(a){this.sourceMap=a},e.prototype.isInline=function(){return this.options.sourceMapFileInline},e.prototype.getSourceMapURL=function(){return this.sourceMapURL},e.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},e.prototype.getInputFilename=function(){return this.sourceMapInputFilename},e}},{}],43:[function(b,l,h){l.exports=function(b){var d=function(d){this._css=[];this._rootNode=d.rootNode;this._contentsMap=d.contentsMap;
this._contentsIgnoredCharsMap=d.contentsIgnoredCharsMap;d.sourceMapFilename&&(this._sourceMapFilename=d.sourceMapFilename.replace(/\\/g,"/"));this._outputFilename=d.outputFilename;this.sourceMapURL=d.sourceMapURL;d.sourceMapBasepath&&(this._sourceMapBasepath=d.sourceMapBasepath.replace(/\\/g,"/"));d.sourceMapRootpath?(this._sourceMapRootpath=d.sourceMapRootpath.replace(/\\/g,"/"),"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath=
"";this._outputSourceFiles=d.outputSourceFiles;this._sourceMapGeneratorConstructor=b.getSourceMapGenerator();this._column=this._lineNumber=0};return d.prototype.normalizeFilename=function(b){return b=b.replace(/\\/g,"/"),this._sourceMapBasepath&&0===b.indexOf(this._sourceMapBasepath)&&(b=b.substring(this._sourceMapBasepath.length),"\\"!==b.charAt(0)&&"/"!==b.charAt(0)||(b=b.substring(1))),(this._sourceMapRootpath||"")+b},d.prototype.add=function(b,a,c,d){if(b){var g;if(a){var e=this._contentsMap[a.filename];
this._contentsIgnoredCharsMap[a.filename]&&(c-=this._contentsIgnoredCharsMap[a.filename],0>c&&(c=0),e=e.slice(this._contentsIgnoredCharsMap[a.filename]));e=e.substring(0,c);e=e.split("\n");var f=e[e.length-1]}if(g=b.split("\n"),c=g[g.length-1],a)if(d)for(d=0;g.length>d;d++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+d+1,column:0===d?this._column:0},original:{line:e.length+d,column:0===d?f.length:0},source:this.normalizeFilename(a.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+
1,column:this._column},original:{line:e.length,column:f.length},source:this.normalizeFilename(a.filename)});1===g.length?this._column+=c.length:(this._lineNumber+=g.length-1,this._column=c.length);this._css.push(b)}},d.prototype.isEmpty=function(){return 0===this._css.length},d.prototype.toCSS=function(b){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 c=
this._contentsMap[a];this._contentsIgnoredCharsMap[a]&&(c=c.slice(this._contentsIgnoredCharsMap[a]));this._sourceMapGenerator.setSourceContent(this.normalizeFilename(a),c)}if(this._rootNode.genCSS(b,this),0<this._css.length){var d;b=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?d=this.sourceMapURL:this._sourceMapFilename&&(d=this._sourceMapFilename);this.sourceMapURL=d;this.sourceMap=b}return this._css.join("")},d}},{}],44:[function(b,l,h){var f=b("./contexts"),d=b("./visitors"),
e=b("./tree");l.exports=function(a,c){c=c||{};var b=c.variables,m=new f.Eval(c);"object"!=typeof b||Array.isArray(b)||(b=Object.keys(b).map(function(a){var c=b[a];return c instanceof e.Value||(c instanceof e.Expression||(c=new e.Expression([c])),c=new e.Value([c])),new e.Rule("@"+a,c,!1,null,0)}),m.frames=[new e.Ruleset(null,b)]);var n=[],p=[new d.JoinSelectorVisitor,new d.MarkVisibleSelectorsVisitor(!0),new d.ExtendVisitor,new d.ToCSSVisitor({compress:!!c.compress})];if(c.pluginManager){var r=c.pluginManager.getVisitors();
for(c=0;r.length>c;c++){var q=r[c];q.isPreEvalVisitor?n.push(q):q.isPreVisitor?p.splice(0,0,q):p.push(q)}}for(c=0;n.length>c;c++)n[c].run(a);a=a.eval(m);for(c=0;p.length>c;c++)p[c].run(a);return a}},{"./contexts":11,"./tree":62,"./visitors":87}],45:[function(b,l,h){b=b("./node");var f=function(b){this.value=b};f.prototype=new b;f.prototype.type="Alpha";f.prototype.accept=function(b){this.value=b.visit(this.value)};f.prototype.eval=function(b){return this.value.eval?new f(this.value.eval(b)):this};
f.prototype.genCSS=function(b,e){e.add("alpha(opacity=");this.value.genCSS?this.value.genCSS(b,e):e.add(this.value);e.add(")")};l.exports=f},{"./node":70}],46:[function(b,l,h){b=b("./node");var f=function(b,e,a,c,g,m){this.value=b;this.index=e;this.mapLines=c;this.currentFileInfo=a;this.rulesetLike="undefined"==typeof g?!1:g;this.allowRoot=!0;this.copyVisibilityInfo(m)};f.prototype=new b;f.prototype.type="Anonymous";f.prototype.eval=function(){return new f(this.value,this.index,this.currentFileInfo,
this.mapLines,this.rulesetLike,this.visibilityInfo())};f.prototype.compare=function(b){return b.toCSS&&this.toCSS()===b.toCSS()?0:void 0};f.prototype.isRulesetLike=function(){return this.rulesetLike};f.prototype.genCSS=function(b,e){e.add(this.value,this.currentFileInfo,this.index,this.mapLines)};l.exports=f},{"./node":70}],47:[function(b,l,h){b=b("./node");var f=function(b,e){this.key=b;this.value=e};f.prototype=new b;f.prototype.type="Assignment";f.prototype.accept=function(b){this.value=b.visit(this.value)};
f.prototype.eval=function(b){return this.value.eval?new f(this.key,this.value.eval(b)):this};f.prototype.genCSS=function(b,e){e.add(this.key+"=");this.value.genCSS?this.value.genCSS(b,e):e.add(this.value)};l.exports=f},{"./node":70}],48:[function(b,l,h){b=b("./node");var f=function(b,e,a){this.key=b;this.op=e;this.value=a};f.prototype=new b;f.prototype.type="Attribute";f.prototype.eval=function(b){return new f(this.key.eval?this.key.eval(b):this.key,this.op,this.value&&this.value.eval?this.value.eval(b):
this.value)};f.prototype.genCSS=function(b,e){e.add(this.toCSS(b))};f.prototype.toCSS=function(b){var d=this.key.toCSS?this.key.toCSS(b):this.key;return this.op&&(d+=this.op,d+=this.value.toCSS?this.value.toCSS(b):this.value),"["+d+"]"};l.exports=f},{"./node":70}],49:[function(b,l,h){h=b("./node");var f=b("../functions/function-caller"),d=function(b,a,c,d){this.name=b;this.args=a;this.index=c;this.currentFileInfo=d};d.prototype=new h;d.prototype.type="Call";d.prototype.accept=function(b){this.args&&
(this.args=b.visitArray(this.args))};d.prototype.eval=function(b){var a=this.args.map(function(a){return a.eval(b)}),c=new f(this.name,b,this.index,this.currentFileInfo);if(c.isValid()){try{var g=c.call(a)}catch(m){throw{type:m.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(m.message?": "+m.message:""),index:this.index,filename:this.currentFileInfo.filename};}if(null!=g)return g.index=this.index,g.currentFileInfo=this.currentFileInfo,g}return new d(this.name,a,this.index,this.currentFileInfo)};
d.prototype.genCSS=function(b,a){a.add(this.name+"(",this.currentFileInfo,this.index);for(var c=0;this.args.length>c;c++)this.args[c].genCSS(b,a),this.args.length>c+1&&a.add(", ");a.add(")")};l.exports=d},{"../functions/function-caller":21,"./node":70}],50:[function(b,l,h){function f(a){return"#"+a.map(function(a){return a=Math.min(Math.max(Math.round(a),0),255),(16>a?"0":"")+a.toString(16)}).join("")}h=b("./node");var d=b("../data/colors"),e=function(a,c,b){this.rgb=Array.isArray(a)?a:6==a.length?
a.match(/.{2}/g).map(function(a){return parseInt(a,16)}):a.split("").map(function(a){return parseInt(a+a,16)});this.alpha="number"==typeof c?c:1;"undefined"!=typeof b&&(this.value=b)};e.prototype=new h;e.prototype.type="Color";e.prototype.luma=function(){var a=this.rgb[0]/255,c=this.rgb[1]/255,b=this.rgb[2]/255;return a=.03928>=a?a/12.92:Math.pow((a+.055)/1.055,2.4),c=.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4),b=.03928>=b?b/12.92:Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*c+.0722*b};e.prototype.genCSS=
function(a,c){c.add(this.toCSS(a))};e.prototype.toCSS=function(a,c){var b;c=a&&a.compress&&!c;if(this.value)return this.value;if(b=this.fround(a,this.alpha),1>b)return"rgba("+this.rgb.map(function(a){return Math.min(Math.max(Math.round(a),0),255)}).concat(Math.min(Math.max(b,0),1)).join(","+(c?"":" "))+")";if(a=this.toRGB(),c)b=a.split(""),b[1]===b[2]&&b[3]===b[4]&&b[5]===b[6]&&(a="#"+b[1]+b[3]+b[5]);return a};e.prototype.operate=function(a,c,b){for(var d=[],g=this.alpha*(1-b.alpha)+b.alpha,f=0;3>
f;f++)d[f]=this._operate(a,c,this.rgb[f],b.rgb[f]);return new e(d,g)};e.prototype.toRGB=function(){return f(this.rgb)};e.prototype.toHSL=function(){var a=this.rgb[0]/255,c=this.rgb[1]/255,b=this.rgb[2]/255,d=this.alpha,e=Math.max(a,c,b);var f=Math.min(a,c,b);var r=(e+f)/2,q=e-f;if(e===f)var t=f=0;else{switch(f=.5<r?q/(2-e-f):q/(e+f),e){case a:t=(c-b)/q+(b>c?6:0);break;case c:t=(b-a)/q+2;break;case b:t=(a-c)/q+4}t/=6}return{h:360*t,s:f,l:r,a:d}};e.prototype.toHSV=function(){var a,c=this.rgb[0]/255,
b=this.rgb[1]/255,d=this.rgb[2]/255,e=this.alpha,f=Math.max(c,b,d),r=Math.min(c,b,d),q=f-r;if(a=0===f?0:q/f,f===r)var t=0;else{switch(f){case c:t=(b-d)/q+(d>b?6:0);break;case b:t=(d-c)/q+2;break;case d:t=(c-b)/q+4}t/=6}return{h:360*t,s:a,v:f,a:e}};e.prototype.toARGB=function(){return f([255*this.alpha].concat(this.rgb))};e.prototype.compare=function(a){return a.rgb&&a.rgb[0]===this.rgb[0]&&a.rgb[1]===this.rgb[1]&&a.rgb[2]===this.rgb[2]&&a.alpha===this.alpha?0:void 0};e.fromKeyword=function(a){var c,
b=a.toLowerCase();return d.hasOwnProperty(b)?c=new e(d[b].slice(1)):"transparent"===b&&(c=new e([0,0,0],0)),c?(c.value=a,c):void 0};l.exports=e},{"../data/colors":12,"./node":70}],51:[function(b,l,h){b=b("./node");h=function(b){" "===b?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=b?b.trim():"",this.emptyOrWhitespace=""===this.value)};h.prototype=new b;h.prototype.type="Combinator";var f={"":!0," ":!0,"|":!0};h.prototype.genCSS=function(b,e){b=b.compress||f[this.value]?"":" ";e.add(b+this.value+
b)};l.exports=h},{"./node":70}],52:[function(b,l,h){h=b("./node");var f=b("./debug-info");b=function(b,e,a,c){this.value=b;this.isLineComment=e;this.currentFileInfo=c;this.allowRoot=!0};b.prototype=new h;b.prototype.type="Comment";b.prototype.genCSS=function(b,e){this.debugInfo&&e.add(f(b,this),this.currentFileInfo,this.index);e.add(this.value)};b.prototype.isSilent=function(b){b=b.compress&&"!"!==this.value[2];return this.isLineComment||b};l.exports=b},{"./debug-info":54,"./node":70}],53:[function(b,
l,h){var f=b("./node");b=function(b,e,a,c,g){this.op=b.trim();this.lvalue=e;this.rvalue=a;this.index=c;this.negate=g};b.prototype=new f;b.prototype.type="Condition";b.prototype.accept=function(b){this.lvalue=b.visit(this.lvalue);this.rvalue=b.visit(this.rvalue)};b.prototype.eval=function(b){b=function(b,a,c){switch(b){case "and":return a&&c;case "or":return a||c;default:switch(f.compare(a,c)){case -1:return"<"===b||"=<"===b||"<="===b;case 0:return"="===b||">="===b||"=<"===b||"<="===b;case 1:return">"===
b||">="===b;default:return!1}}}(this.op,this.lvalue.eval(b),this.rvalue.eval(b));return this.negate?!b:b};l.exports=b},{"./node":70}],54:[function(b,l,h){var f=function(b,e,a){var c="";if(b.dumpLineNumbers&&!b.compress)switch(b.dumpLineNumbers){case "comments":c=f.asComment(e);break;case "mediaquery":c=f.asMediaQuery(e);break;case "all":c=f.asComment(e)+(a||"")+f.asMediaQuery(e)}return c};f.asComment=function(b){return"/* line "+b.debugInfo.lineNumber+", "+b.debugInfo.fileName+" */\n"};f.asMediaQuery=
function(b){var d=b.debugInfo.fileName;return/^[a-z]+:\/\//i.test(d)||(d="file://"+d),"@media -sass-debug-info{filename{font-family:"+d.replace(/([.:\/\\])/g,function(a){return"\\"==a&&(a="/"),"\\"+a})+"}line{font-family:\\00003"+b.debugInfo.lineNumber+"}}\n"};l.exports=f},{}],55:[function(b,l,h){h=b("./node");var f=b("../contexts"),d=function(b,a){this.ruleset=b;this.frames=a};d.prototype=new h;d.prototype.type="DetachedRuleset";d.prototype.evalFirst=!0;d.prototype.accept=function(b){this.ruleset=
b.visit(this.ruleset)};d.prototype.eval=function(b){b=this.frames||b.frames.slice(0);return new d(this.ruleset,b)};d.prototype.callEval=function(b){return this.ruleset.eval(this.frames?new f.Eval(b,this.frames.concat(b.frames)):b)};l.exports=d},{"../contexts":11,"./node":70}],56:[function(b,l,h){var f=b("./node"),d=b("../data/unit-conversions"),e=b("./unit"),a=b("./color"),c=function(a,c){this.value=parseFloat(a);this.unit=c&&c instanceof e?c:new e(c?[c]:void 0)};c.prototype=new f;c.prototype.type=
"Dimension";c.prototype.accept=function(a){this.unit=a.visit(this.unit)};c.prototype.eval=function(a){return this};c.prototype.toColor=function(){return new a([this.value,this.value,this.value])};c.prototype.genCSS=function(a,c){if(a&&a.strictUnits&&!this.unit.isSingular())throw Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var b=this.fround(a,this.value),d=String(b);if(0!==b&&1E-6>b&&-1E-6<b&&(d=b.toFixed(20).replace(/0+$/,"")),
a&&a.compress){if(0===b&&this.unit.isLength())return void c.add(d);0<b&&1>b&&(d=d.substr(1))}c.add(d);this.unit.genCSS(a,c)};c.prototype.operate=function(a,b,d){var e=this._operate(a,b,this.value,d.value),g=this.unit.clone();if("+"===b||"-"===b)if(0===g.numerator.length&&0===g.denominator.length)g=d.unit.clone(),this.unit.backupUnit&&(g.backupUnit=this.unit.backupUnit);else{if(0!==d.unit.numerator.length||0!==g.denominator.length){if(d=d.convertTo(this.unit.usedUnits()),a.strictUnits&&d.unit.toString()!==
g.toString())throw Error("Incompatible units. Change the units or use the unit function. Bad units: '"+g.toString()+"' and '"+d.unit.toString()+"'.");e=this._operate(a,b,this.value,d.value)}}else"*"===b?(g.numerator=g.numerator.concat(d.unit.numerator).sort(),g.denominator=g.denominator.concat(d.unit.denominator).sort(),g.cancel()):"/"===b&&(g.numerator=g.numerator.concat(d.unit.denominator).sort(),g.denominator=g.denominator.concat(d.unit.numerator).sort(),g.cancel());return new c(e,g)};c.prototype.compare=
function(a){if(a instanceof c){if(this.unit.isEmpty()||a.unit.isEmpty()){var b=this;var d=a}else if(b=this.unify(),d=a.unify(),0!==b.unit.compare(d.unit))return;return f.numericCompare(b.value,d.value)}};c.prototype.unify=function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})};c.prototype.convertTo=function(a){var b,e,g,f=this.value,q=this.unit.clone(),t={};if("string"==typeof a){for(h in d)d[h].hasOwnProperty(a)&&(t={},t[h]=a);a=t}var h=function(a,c){return e.hasOwnProperty(a)?
(c?f/=e[a]/e[g]:f*=e[a]/e[g],g):a};for(b in a)a.hasOwnProperty(b)&&(g=a[b],e=d[b],q.map(h));return q.cancel(),new c(f,q)};l.exports=c},{"../data/unit-conversions":14,"./color":50,"./node":70,"./unit":79}],57:[function(b,l,h){h=b("./node");var f=b("./selector"),d=b("./ruleset"),e=function(a,c,b,d,e,p,r,q){if(this.name=a,this.value=c,b)for(Array.isArray(b)?this.rules=b:(this.rules=[b],this.rules[0].selectors=(new f([],null,null,this.index,e)).createEmptySelectors()),a=0;this.rules.length>a;a++)this.rules[a].allowImports=
!0;this.index=d;this.currentFileInfo=e;this.debugInfo=p;this.isRooted=r||!1;this.copyVisibilityInfo(q);this.allowRoot=!0};e.prototype=new h;e.prototype.type="Directive";e.prototype.accept=function(a){var c=this.value,b=this.rules;b&&(this.rules=a.visitArray(b));c&&(this.value=a.visit(c))};e.prototype.isRulesetLike=function(){return this.rules||!this.isCharset()};e.prototype.isCharset=function(){return"@charset"===this.name};e.prototype.genCSS=function(a,c){var b=this.value,d=this.rules;c.add(this.name,
this.currentFileInfo,this.index);b&&(c.add(" "),b.genCSS(a,c));d?this.outputRuleset(a,c,d):c.add(";")};e.prototype.eval=function(a){var c,b,d=this.value,f=this.rules;return c=a.mediaPath,b=a.mediaBlocks,a.mediaPath=[],a.mediaBlocks=[],d&&(d=d.eval(a)),f&&(f=[f[0].eval(a)],f[0].root=!0),a.mediaPath=c,a.mediaBlocks=b,new e(this.name,d,f,this.index,this.currentFileInfo,this.debugInfo,this.isRooted,this.visibilityInfo())};e.prototype.variable=function(a){return this.rules?d.prototype.variable.call(this.rules[0],
a):void 0};e.prototype.find=function(){return this.rules?d.prototype.find.apply(this.rules[0],arguments):void 0};e.prototype.rulesets=function(){return this.rules?d.prototype.rulesets.apply(this.rules[0]):void 0};e.prototype.outputRuleset=function(a,c,b){var d,e=b.length;if(a.tabLevel=(0|a.tabLevel)+1,a.compress){c.add("{");for(d=0;e>d;d++)b[d].genCSS(a,c);return c.add("}"),void a.tabLevel--}var g="\n"+Array(a.tabLevel).join("  "),f=g+"  ";if(e){c.add(" {"+f);b[0].genCSS(a,c);for(d=1;e>d;d++)c.add(f),
b[d].genCSS(a,c);c.add(g+"}")}else c.add(" {"+g+"}");a.tabLevel--};l.exports=e},{"./node":70,"./ruleset":76,"./selector":77}],58:[function(b,l,h){h=b("./node");var f=b("./paren"),d=b("./combinator"),e=function(a,c,b,e,f){this.combinator=a instanceof d?a:new d(a);this.value="string"==typeof c?c.trim():c?c:"";this.index=b;this.currentFileInfo=e;this.copyVisibilityInfo(f)};e.prototype=new h;e.prototype.type="Element";e.prototype.accept=function(a){var c=this.value;this.combinator=a.visit(this.combinator);
"object"==typeof c&&(this.value=a.visit(c))};e.prototype.eval=function(a){return new e(this.combinator,this.value.eval?this.value.eval(a):this.value,this.index,this.currentFileInfo,this.visibilityInfo())};e.prototype.clone=function(){return new e(this.combinator,this.value,this.index,this.currentFileInfo,this.visibilityInfo())};e.prototype.genCSS=function(a,c){c.add(this.toCSS(a),this.currentFileInfo,this.index)};e.prototype.toCSS=function(a){a=a||{};var c=this.value,b=a.firstSelector;return c instanceof
f&&(a.firstSelector=!0),c=c.toCSS?c.toCSS(a):c,a.firstSelector=b,""===c&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(a)+c};l.exports=e},{"./combinator":51,"./node":70,"./paren":72}],59:[function(b,l,h){h=b("./node");var f=b("./paren"),d=b("./comment"),e=function(a){if(this.value=a,!a)throw Error("Expression requires an array parameter");};e.prototype=new h;e.prototype.type="Expression";e.prototype.accept=function(a){this.value=a.visitArray(this.value)};e.prototype.eval=function(a){var c,
b=this.parens&&!this.parensInOp,d=!1;return b&&a.inParenthesis(),1<this.value.length?c=new e(this.value.map(function(c){return c.eval(a)})):1===this.value.length?(this.value[0].parens&&!this.value[0].parensInOp&&(d=!0),c=this.value[0].eval(a)):c=this,b&&a.outOfParenthesis(),this.parens&&this.parensInOp&&!a.isMathOn()&&!d&&(c=new f(c)),c};e.prototype.genCSS=function(a,c){for(var b=0;this.value.length>b;b++)this.value[b].genCSS(a,c),this.value.length>b+1&&c.add(" ")};e.prototype.throwAwayComments=function(){this.value=
this.value.filter(function(a){return!(a instanceof d)})};l.exports=e},{"./comment":52,"./node":70,"./paren":72}],60:[function(b,l,h){h=b("./node");var f=b("./selector"),d=function p(a,c,b,d,f){switch(this.selector=a,this.option=c,this.index=b,this.object_id=p.next_id++,this.parent_ids=[this.object_id],this.currentFileInfo=d||{},this.copyVisibilityInfo(f),this.allowRoot=!0,c){case "all":this.allowAfter=this.allowBefore=!0;break;default:this.allowAfter=this.allowBefore=!1}};d.next_id=0;d.prototype=
new h;d.prototype.type="Extend";d.prototype.accept=function(a){this.selector=a.visit(this.selector)};d.prototype.eval=function(a){return new d(this.selector.eval(a),this.option,this.index,this.currentFileInfo,this.visibilityInfo())};d.prototype.clone=function(a){return new d(this.selector,this.option,this.index,this.currentFileInfo,this.visibilityInfo())};d.prototype.findSelfSelectors=function(a){var c,b=[];for(c=0;a.length>c;c++){var d=a[c].elements;0<c&&d.length&&""===d[0].combinator.value&&(d[0].combinator.value=
" ");b=b.concat(a[c].elements)}this.selfSelectors=[new f(b)];this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())};l.exports=d},{"./node":70,"./selector":77}],61:[function(b,l,h){h=b("./node");var f=b("./media"),d=b("./url"),e=b("./quoted"),a=b("./ruleset"),c=b("./anonymous"),g=function(a,c,b,d,e,g){(this.options=b,this.index=d,this.path=a,this.features=c,this.currentFileInfo=e,this.allowRoot=!0,void 0!==this.options.less||this.options.inline)?this.css=!this.options.less||this.options.inline:
(a=this.getPath())&&/[#\.&\?\/]css([\?;].*)?$/.test(a)&&(this.css=!0);this.copyVisibilityInfo(g)};g.prototype=new h;g.prototype.type="Import";g.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features));this.path=a.visit(this.path);this.options.plugin||this.options.inline||!this.root||(this.root=a.visit(this.root))};g.prototype.genCSS=function(a,c){this.css&&void 0===this.path.currentFileInfo.reference&&(c.add("@import ",this.currentFileInfo,this.index),this.path.genCSS(a,
c),this.features&&(c.add(" "),this.features.genCSS(a,c)),c.add(";"))};g.prototype.getPath=function(){return this.path instanceof d?this.path.value.value:this.path.value};g.prototype.isVariableImport=function(){var a=this.path;return a instanceof d&&(a=a.value),a instanceof e?a.containsVariables():!0};g.prototype.evalForImport=function(a){var c=this.path;return c instanceof d&&(c=c.value),new g(c.eval(a),this.features,this.options,this.index,this.currentFileInfo,this.visibilityInfo())};g.prototype.evalPath=
function(a){var c=this.path.eval(a),b=this.currentFileInfo&&this.currentFileInfo.rootpath;if(!(c instanceof d)){if(b){var e=c.value;e&&a.isPathRelative(e)&&(c.value=b+e)}c.value=a.normalizePath(c.value)}return c};g.prototype.eval=function(a){a=this.doEval(a);return(this.options.reference||this.blocksVisibility())&&(a.length||0===a.length?a.forEach(function(a){a.addVisibilityBlock()}):a.addVisibilityBlock()),a};g.prototype.doEval=function(b){var d,e,m=this.features&&this.features.eval(b);if(this.options.plugin)return e=
b.frames[0]&&b.frames[0].functionRegistry,e&&this.root&&this.root.functions&&e.addMultiple(this.root.functions),[];if(this.skip&&("function"==typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline)return b=new c(this.root,0,{filename:this.importedFilename,reference:this.path.currentFileInfo&&this.path.currentFileInfo.reference},!0,!0),this.features?new f([b],this.features.value):[b];if(this.css){b=new g(this.evalPath(b),m,this.options,this.index);if(!b.css&&this.error)throw this.error;
return b}return d=new a(null,this.root.rules.slice(0)),d.evalImports(b),this.features?new f(d.rules,this.features.value):d.rules};l.exports=g},{"./anonymous":46,"./media":66,"./node":70,"./quoted":73,"./ruleset":76,"./url":80}],62:[function(b,l,h){h={};h.Node=b("./node");h.Alpha=b("./alpha");h.Color=b("./color");h.Directive=b("./directive");h.DetachedRuleset=b("./detached-ruleset");h.Operation=b("./operation");h.Dimension=b("./dimension");h.Unit=b("./unit");h.Keyword=b("./keyword");h.Variable=b("./variable");
h.Ruleset=b("./ruleset");h.Element=b("./element");h.Attribute=b("./attribute");h.Combinator=b("./combinator");h.Selector=b("./selector");h.Quoted=b("./quoted");h.Expression=b("./expression");h.Rule=b("./rule");h.Call=b("./call");h.URL=b("./url");h.Import=b("./import");h.mixin={Call:b("./mixin-call"),Definition:b("./mixin-definition")};h.Comment=b("./comment");h.Anonymous=b("./anonymous");h.Value=b("./value");h.JavaScript=b("./javascript");h.Assignment=b("./assignment");h.Condition=b("./condition");
h.Paren=b("./paren");h.Media=b("./media");h.UnicodeDescriptor=b("./unicode-descriptor");h.Negative=b("./negative");h.Extend=b("./extend");h.RulesetCall=b("./ruleset-call");l.exports=h},{"./alpha":45,"./anonymous":46,"./assignment":47,"./attribute":48,"./call":49,"./color":50,"./combinator":51,"./comment":52,"./condition":53,"./detached-ruleset":55,"./dimension":56,"./directive":57,"./element":58,"./expression":59,"./extend":60,"./import":61,"./javascript":63,"./keyword":65,"./media":66,"./mixin-call":67,
"./mixin-definition":68,"./negative":69,"./node":70,"./operation":71,"./paren":72,"./quoted":73,"./rule":74,"./ruleset":76,"./ruleset-call":75,"./selector":77,"./unicode-descriptor":78,"./unit":79,"./url":80,"./value":81,"./variable":82}],63:[function(b,l,h){h=b("./js-eval-node");var f=b("./dimension"),d=b("./quoted"),e=b("./anonymous");b=function(a,c,b,d){this.escaped=c;this.expression=a;this.index=b;this.currentFileInfo=d};b.prototype=new h;b.prototype.type="JavaScript";b.prototype.eval=function(a){a=
this.evaluateJavaScript(this.expression,a);return"number"==typeof a?new f(a):"string"==typeof a?new d('"'+a+'"',a,this.escaped,this.index):new e(Array.isArray(a)?a.join(", "):a)};l.exports=b},{"./anonymous":46,"./dimension":56,"./js-eval-node":64,"./quoted":73}],64:[function(b,l,h){h=b("./node");var f=b("./variable");b=function(){};b.prototype=new h;b.prototype.evaluateJavaScript=function(b,e){var a=this,c={};if(void 0!==e.javascriptEnabled&&!e.javascriptEnabled)throw{message:"You are using JavaScript, which has been disabled.",
filename:this.currentFileInfo.filename,index:this.index};b=b.replace(/@\{([\w-]+)\}/g,function(c,b){return a.jsify((new f("@"+b,a.index,a.currentFileInfo)).eval(e))});try{b=new Function("return ("+b+")")}catch(p){throw{message:"JavaScript evaluation error: "+p.message+" from `"+b+"`",filename:this.currentFileInfo.filename,index:this.index};}var d=e.frames[0].variables(),m;for(m in d)d.hasOwnProperty(m)&&(c[m.slice(1)]={value:d[m].value,toJS:function(){return this.value.eval(e).toCSS()}});try{var n=
b.call(c)}catch(p){throw{message:"JavaScript evaluation error: '"+p.name+": "+p.message.replace(/["]/g,"'")+"'",filename:this.currentFileInfo.filename,index:this.index};}return n};b.prototype.jsify=function(b){return Array.isArray(b.value)&&1<b.value.length?"["+b.value.map(function(b){return b.toCSS()}).join(", ")+"]":b.toCSS()};l.exports=b},{"./node":70,"./variable":82}],65:[function(b,l,h){b=b("./node");h=function(b){this.value=b};h.prototype=new b;h.prototype.type="Keyword";h.prototype.genCSS=
function(b,d){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};d.add(this.value)};h.True=new h("true");h.False=new h("false");l.exports=h},{"./node":70}],66:[function(b,l,h){var f=b("./ruleset"),d=b("./value"),e=b("./selector"),a=b("./anonymous"),c=b("./expression");b=b("./directive");var g=function(a,c,b,g,q){this.index=b;this.currentFileInfo=g;b=(new e([],null,null,this.index,this.currentFileInfo)).createEmptySelectors();this.features=new d(c);this.rules=[new f(b,a)];
this.rules[0].allowImports=!0;this.copyVisibilityInfo(q);this.allowRoot=!0};g.prototype=new b;g.prototype.type="Media";g.prototype.isRulesetLike=!0;g.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features));this.rules&&(this.rules=a.visitArray(this.rules))};g.prototype.genCSS=function(a,b){b.add("@media ",this.currentFileInfo,this.index);this.features.genCSS(a,b);this.outputRuleset(a,b,this.rules)};g.prototype.eval=function(a){a.mediaBlocks||(a.mediaBlocks=[],a.mediaPath=
[]);var b=new g(null,[],this.index,this.currentFileInfo,this.visibilityInfo());this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,b.debugInfo=this.debugInfo);var c=!1;a.strictMath||(c=!0,a.strictMath=!0);try{b.features=this.features.eval(a)}finally{c&&(a.strictMath=!1)}return a.mediaPath.push(b),a.mediaBlocks.push(b),this.rules[0].functionRegistry=a.frames[0].functionRegistry.inherit(),a.frames.unshift(this.rules[0]),b.rules=[this.rules[0].eval(a)],a.frames.shift(),a.mediaPath.pop(),0===a.mediaPath.length?
b.evalTop(a):b.evalNested(a)};g.prototype.evalTop=function(a){var b=this;1<a.mediaBlocks.length&&(b=(new e([],null,null,this.index,this.currentFileInfo)).createEmptySelectors(),b=new f(b,a.mediaBlocks),b.multiMedia=!0,b.copyVisibilityInfo(this.visibilityInfo()));return delete a.mediaBlocks,delete a.mediaPath,b};g.prototype.evalNested=function(b){var e,g=b.mediaPath.concat([this]);for(e=0;g.length>e;e++)b=g[e].features instanceof d?g[e].features.value:g[e].features,g[e]=Array.isArray(b)?b:[b];return this.features=
new d(this.permute(g).map(function(b){b=b.map(function(b){return b.toCSS?b:new a(b)});for(e=b.length-1;0<e;e--)b.splice(e,0,new a("and"));return new c(b)})),new f([],[])};g.prototype.permute=function(a){if(0===a.length)return[];if(1===a.length)return a[0];for(var b=[],c=this.permute(a.slice(1)),d=0;c.length>d;d++)for(var e=0;a[0].length>e;e++)b.push([a[0][e]].concat(c[d]));return b};g.prototype.bubbleSelectors=function(a){a&&(this.rules=[new f(a.slice(0),[this.rules[0]])])};l.exports=g},{"./anonymous":46,
"./directive":57,"./expression":59,"./ruleset":76,"./selector":77,"./value":81}],67:[function(b,l,h){h=b("./node");var f=b("./selector"),d=b("./mixin-definition"),e=b("../functions/default");b=function(a,b,d,e,n){this.selector=new f(a);this.arguments=b||[];this.index=d;this.currentFileInfo=e;this.important=n;this.allowRoot=!0};b.prototype=new h;b.prototype.type="MixinCall";b.prototype.accept=function(a){this.selector&&(this.selector=a.visit(this.selector));this.arguments.length&&(this.arguments=a.visitArray(this.arguments))};
b.prototype.eval=function(a){function b(b,c){var d,g;for(d=0;2>d;d++){v[d]=!0;e.value(d);for(g=0;c.length>g&&v[d];g++){var f=c[g];f.matchCondition&&(v[d]=v[d]&&f.matchCondition(null,a))}b.matchCondition&&(v[d]=v[d]&&b.matchCondition(h,a))}return v[0]||v[1]?v[0]!=v[1]?v[1]?A:G:z:y}var g,f,n,p,r,q,t,h=[],l=[],w=!1,k=[],v=[],y=-1,z=0,A=1,G=2;for(n=0;this.arguments.length>n;n++)if(f=this.arguments[n],g=f.value.eval(a),f.expand&&Array.isArray(g.value))for(g=g.value,p=0;g.length>p;p++)h.push({value:g[p]});
else h.push({name:f.name,value:g});f=function(b){return b.matchArgs(null,a)};for(n=0;a.frames.length>n;n++)if(0<(g=a.frames[n].find(this.selector,null,f)).length){var I=!0;for(p=0;g.length>p;p++){var C=g[p].rule;var E=g[p].path;var H=!1;for(r=0;a.frames.length>r;r++)if(!(C instanceof d)&&C===(a.frames[r].originalRuleset||a.frames[r])){H=!0;break}H||C.matchArgs(h,a)&&(q={mixin:C,group:b(C,E)},q.group!==y&&k.push(q),w=!0)}e.reset();E=[0,0,0];for(p=0;k.length>p;p++)E[k[p].group]++;if(0<E[z])g=G;else if(g=
A,1<E[A]+E[G])throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(h)+"`",index:this.index,filename:this.currentFileInfo.filename};for(p=0;k.length>p;p++)if(q=k[p].group,q===z||q===g)try{C=k[p].mixin;C instanceof d||(t=C.originalRuleset||C,C=new d("",[],C.rules,null,!1,null,t.visibilityInfo()),C.originalRuleset=t);var D=C.evalCall(a,h,this.important).rules;this._setVisibilityToReplacement(D);Array.prototype.push.apply(l,D)}catch(F){throw{message:F.message,
index:this.index,filename:this.currentFileInfo.filename,stack:F.stack};}if(w)return l}throw I?{type:"Runtime",message:"No matching definition was found for `"+this.format(h)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename};};b.prototype._setVisibilityToReplacement=function(a){var b;if(this.blocksVisibility())for(b=0;a.length>b;b++){var d=a[b];d.addVisibilityBlock()}};
b.prototype.format=function(a){return this.selector.toCSS().trim()+"("+(a?a.map(function(a){var b="";return a.name&&(b+=a.name+":"),b+(a.value.toCSS?a.value.toCSS():"???")}).join(", "):"")+")"};l.exports=b},{"../functions/default":20,"./mixin-definition":68,"./node":70,"./selector":77}],68:[function(b,l,h){var f=b("./selector"),d=b("./element"),e=b("./ruleset"),a=b("./rule"),c=b("./expression"),g=b("../contexts"),m=function(a,b,c,e,g,m,h){this.name=a;this.selectors=[new f([new d(null,a,this.index,
this.currentFileInfo)])];this.params=b;this.condition=e;this.variadic=g;this.arity=b.length;this.rules=c;this._lookups={};var p=[];this.required=b.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:(p.push(b.name),a)},0);this.optionalParameters=p;this.frames=m;this.copyVisibilityInfo(h);this.allowRoot=!0};m.prototype=new e;m.prototype.type="MixinDefinition";m.prototype.evalFirst=!0;m.prototype.accept=function(a){this.params&&this.params.length&&(this.params=a.visitArray(this.params));this.rules=
a.visitArray(this.rules);this.condition&&(this.condition=a.visit(this.condition))};m.prototype.evalParams=function(b,d,f,m){var p,n,q,h,k=new e(null,null),r=this.params.slice(0),l=0;if(d.frames&&d.frames[0]&&d.frames[0].functionRegistry&&(k.functionRegistry=d.frames[0].functionRegistry.inherit()),d=new g.Eval(d,[k].concat(d.frames)),f)for(f=f.slice(0),l=f.length,n=0;l>n;n++)if(p=f[n],h=p&&p.name){var z=!1;for(q=0;r.length>q;q++)if(!m[q]&&h===r[q].name){m[q]=p.value.eval(b);k.prependRule(new a(h,p.value.eval(b)));
z=!0;break}if(z)f.splice(n,1),n--;else throw{type:"Runtime",message:"Named argument for "+this.name+" "+f[n].name+" not found"};}for(n=z=0;r.length>n;n++)if(!m[n]){if(p=f&&f[z],h=r[n].name)if(r[n].variadic){p=[];for(q=z;l>q;q++)p.push(f[q].value.eval(b));k.prependRule(new a(h,(new c(p)).eval(b)))}else{if(q=p&&p.value)q=q.eval(b);else{if(!r[n].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+l+" for "+this.arity+")"};q=r[n].value.eval(d);k.resetCache()}k.prependRule(new a(h,
q));m[n]=q}if(r[n].variadic&&f)for(q=z;l>q;q++)m[q]=f[q].value.eval(b);z++}return k};m.prototype.makeImportant=function(){var a=this.rules?this.rules.map(function(a){return a.makeImportant?a.makeImportant(!0):a}):this.rules;return new m(this.name,this.params,a,this.condition,this.variadic,this.frames)};m.prototype.eval=function(a){return new m(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||a.frames.slice(0))};m.prototype.evalCall=function(b,d,f){var m,p,n=[],h=this.frames?
this.frames.concat(b.frames):b.frames;d=this.evalParams(b,new g.Eval(b,h),d,n);return d.prependRule(new a("@arguments",(new c(n)).eval(b))),m=this.rules.slice(0),p=new e(null,m),p.originalRuleset=this,p=p.eval(new g.Eval(b,[this,d].concat(h))),f&&(p=p.makeImportant()),p};m.prototype.matchCondition=function(a,b){return!this.condition||this.condition.eval(new g.Eval(b,[this.evalParams(b,new g.Eval(b,this.frames?this.frames.concat(b.frames):b.frames),a,[])].concat(this.frames||[]).concat(b.frames)))};
m.prototype.matchArgs=function(a,b){var c=a&&a.length||0;var d=this.optionalParameters,e=a?a.reduce(function(a,b){return 0>d.indexOf(b.name)?a+1:a},0):0;if(this.variadic){if(this.required-1>e)return!1}else if(this.required>e||c>this.params.length)return!1;c=Math.min(e,this.arity);for(e=0;c>e;e++)if(!this.params[e].name&&!this.params[e].variadic&&a[e].value.eval(b).toCSS()!=this.params[e].value.eval(b).toCSS())return!1;return!0};l.exports=m},{"../contexts":11,"./element":58,"./expression":59,"./rule":74,
"./ruleset":76,"./selector":77}],69:[function(b,l,h){h=b("./node");var f=b("./operation"),d=b("./dimension"),e=function(a){this.value=a};e.prototype=new h;e.prototype.type="Negative";e.prototype.genCSS=function(a,b){b.add("-");this.value.genCSS(a,b)};e.prototype.eval=function(a){return a.isMathOn()?(new f("*",[new d(-1),this.value])).eval(a):new e(this.value.eval(a))};l.exports=e},{"./dimension":56,"./node":70,"./operation":71}],70:[function(b,l,h){var f=function(){};f.prototype.toCSS=function(b){var d=
[];return this.genCSS(b,{add:function(a,b,e){d.push(a)},isEmpty:function(){return 0===d.length}}),d.join("")};f.prototype.genCSS=function(b,e){e.add(this.value)};f.prototype.accept=function(b){this.value=b.visit(this.value)};f.prototype.eval=function(){return this};f.prototype._operate=function(b,e,a,c){switch(e){case "+":return a+c;case "-":return a-c;case "*":return a*c;case "/":return a/c}};f.prototype.fround=function(b,e){b=b&&b.numPrecision;return null==b?e:Number((e+2E-16).toFixed(b))};f.compare=
function(b,e){if(b.compare&&"Quoted"!==e.type&&"Anonymous"!==e.type)return b.compare(e);if(e.compare)return-e.compare(b);if(b.type===e.type){if(b=b.value,e=e.value,!Array.isArray(b))return b===e?0:void 0;if(b.length===e.length){for(var a=0;b.length>a;a++)if(0!==f.compare(b[a],e[a]))return;return 0}}};f.numericCompare=function(b,e){return e>b?-1:b===e?0:b>e?1:void 0};f.prototype.blocksVisibility=function(){return null==this.visibilityBlocks&&(this.visibilityBlocks=0),0!==this.visibilityBlocks};f.prototype.addVisibilityBlock=
function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0);this.visibilityBlocks+=1};f.prototype.removeVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0);--this.visibilityBlocks};f.prototype.ensureVisibility=function(){this.nodeVisible=!0};f.prototype.ensureInvisibility=function(){this.nodeVisible=!1};f.prototype.isVisible=function(){return this.nodeVisible};f.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}};
f.prototype.copyVisibilityInfo=function(b){b&&(this.visibilityBlocks=b.visibilityBlocks,this.nodeVisible=b.nodeVisible)};l.exports=f},{}],71:[function(b,l,h){h=b("./node");var f=b("./color"),d=b("./dimension"),e=function(a,b,d){this.op=a.trim();this.operands=b;this.isSpaced=d};e.prototype=new h;e.prototype.type="Operation";e.prototype.accept=function(a){this.operands=a.visit(this.operands)};e.prototype.eval=function(a){var b=this.operands[0].eval(a),g=this.operands[1].eval(a);if(a.isMathOn()){if(b instanceof
d&&g instanceof f&&(b=b.toColor()),g instanceof d&&b instanceof f&&(g=g.toColor()),!b.operate)throw{type:"Operation",message:"Operation on an invalid type"};return b.operate(a,this.op,g)}return new e(this.op,[b,g],this.isSpaced)};e.prototype.genCSS=function(a,b){this.operands[0].genCSS(a,b);this.isSpaced&&b.add(" ");b.add(this.op);this.isSpaced&&b.add(" ");this.operands[1].genCSS(a,b)};l.exports=e},{"./color":50,"./dimension":56,"./node":70}],72:[function(b,l,h){b=b("./node");var f=function(b){this.value=
b};f.prototype=new b;f.prototype.type="Paren";f.prototype.genCSS=function(b,e){e.add("(");this.value.genCSS(b,e);e.add(")")};f.prototype.eval=function(b){return new f(this.value.eval(b))};l.exports=f},{"./node":70}],73:[function(b,l,h){var f=b("./node");h=b("./js-eval-node");var d=b("./variable"),e=function(a,b,d,e,f){this.escaped=null==d?!0:d;this.value=b||"";this.quote=a.charAt(0);this.index=e;this.currentFileInfo=f};e.prototype=new h;e.prototype.type="Quoted";e.prototype.genCSS=function(a,b){this.escaped||
b.add(this.quote,this.currentFileInfo,this.index);b.add(this.value);this.escaped||b.add(this.quote)};e.prototype.containsVariables=function(){return this.value.match(/(`([^`]+)`)|@\{([\w-]+)\}/)};e.prototype.eval=function(a){function b(a,b,c){var d=a;do a=d,d=a.replace(b,c);while(a!==d);return d}var g=this,f=this.value;return f=b(f,/`([^`]+)`/g,function(b,c){return String(g.evaluateJavaScript(c,a))}),f=b(f,/@\{([\w-]+)\}/g,function(b,c){b=(new d("@"+c,g.index,g.currentFileInfo)).eval(a,!0);return b instanceof
e?b.value:b.toCSS()}),new e(this.quote+f+this.quote,f,this.escaped,this.index,this.currentFileInfo)};e.prototype.compare=function(a){return"Quoted"!==a.type||this.escaped||a.escaped?a.toCSS&&this.toCSS()===a.toCSS()?0:void 0:f.numericCompare(this.value,a.value)};l.exports=e},{"./js-eval-node":64,"./node":70,"./variable":82}],74:[function(b,l,h){function f(a,b){var c,d="",e=b.length,g={add:function(a){d+=a}};for(c=0;e>c;c++)b[c].eval(a).genCSS(a,g);return d}var d=b("./node"),e=b("./value"),a=b("./keyword"),
c=function(a,b,c,f,h,q,t,l){this.name=a;this.value=b instanceof d?b:new e([b]);this.important=c?" "+c.trim():"";this.merge=f;this.index=h;this.currentFileInfo=q;this.inline=t||!1;this.variable=void 0!==l?l:a.charAt&&"@"===a.charAt(0);this.allowRoot=!0};c.prototype=new d;c.prototype.type="Rule";c.prototype.genCSS=function(a,b){b.add(this.name+(a.compress?":":": "),this.currentFileInfo,this.index);try{this.value.genCSS(a,b)}catch(n){throw n.index=this.index,n.filename=this.currentFileInfo.filename,
n;}b.add(this.important+(this.inline||a.lastRule&&a.compress?"":";"),this.currentFileInfo,this.index)};c.prototype.eval=function(b){var d,e=!1,g=this.name,h=this.variable;"string"!=typeof g&&(g=1===g.length&&g[0]instanceof a?g[0].value:f(b,g),h=!1);"font"!==g||b.strictMath||(e=!0,b.strictMath=!0);try{if(b.importantScope.push({}),d=this.value.eval(b),!this.variable&&"DetachedRuleset"===d.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.index,filename:this.currentFileInfo.filename};
var q=this.important,t=b.importantScope.pop();return!q&&t.important&&(q=t.important),new c(g,d,q,this.merge,this.index,this.currentFileInfo,this.inline,h)}catch(u){throw"number"!=typeof u.index&&(u.index=this.index,u.filename=this.currentFileInfo.filename),u;}finally{e&&(b.strictMath=!1)}};c.prototype.makeImportant=function(){return new c(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)};l.exports=c},{"./keyword":65,"./node":70,"./value":81}],75:[function(b,
l,h){h=b("./node");var f=b("./variable");b=function(b){this.variable=b;this.allowRoot=!0};b.prototype=new h;b.prototype.type="RulesetCall";b.prototype.eval=function(b){return(new f(this.variable)).eval(b).callEval(b)};l.exports=b},{"./node":70,"./variable":82}],76:[function(b,l,h){h=b("./node");var f=b("./rule"),d=b("./selector"),e=b("./element"),a=b("./paren"),c=b("../contexts"),g=b("../functions/function-registry"),m=b("../functions/default"),n=b("./debug-info"),p=function(a,b,c,d){this.selectors=
a;this.rules=b;this._lookups={};this.strictImports=c;this.copyVisibilityInfo(d);this.allowRoot=!0};p.prototype=new h;p.prototype.type="Ruleset";p.prototype.isRuleset=!0;p.prototype.isRulesetLike=!0;p.prototype.accept=function(a){this.paths?this.paths=a.visitArray(this.paths,!0):this.selectors&&(this.selectors=a.visitArray(this.selectors));this.rules&&this.rules.length&&(this.rules=a.visitArray(this.rules))};p.prototype.eval=function(a){var b,c,d=this.selectors,e=!1;if(d&&(b=d.length)){var h=[];m.error({type:"Syntax",
message:"it is currently only allowed in parametric mixin guards,"});for(c=0;b>c;c++){var k=d[c].eval(a);h.push(k);k.evaldCondition&&(e=!0)}m.reset()}else e=!0;var n=this.rules?this.rules.slice(0):null;var r=new p(h,n,this.strictImports,this.visibilityInfo());r.originalRuleset=this;r.root=this.root;r.firstRoot=this.firstRoot;r.allowImports=this.allowImports;this.debugInfo&&(r.debugInfo=this.debugInfo);e||(n.length=0);r.functionRegistry=function(a){for(var b,c=0,d=a.length;c!==d;++c)if(b=a[c].functionRegistry)return b;
return g}(a.frames).inherit();e=a.frames;e.unshift(r);(b=a.selectors)||(a.selectors=b=[]);b.unshift(this.selectors);(r.root||r.allowImports||!r.strictImports)&&r.evalImports(a);var l=(k=r.rules)?k.length:0;for(c=0;l>c;c++)k[c].evalFirst&&(k[c]=k[c].eval(a));d=a.mediaBlocks&&a.mediaBlocks.length||0;for(c=0;l>c;c++)"MixinCall"===k[c].type?(n=k[c].eval(a).filter(function(a){return a instanceof f&&a.variable?!r.variable(a.name):!0}),k.splice.apply(k,[c,1].concat(n)),l+=n.length-1,c+=n.length-1,r.resetCache()):
"RulesetCall"===k[c].type&&(n=k[c].eval(a).rules.filter(function(a){return!(a instanceof f&&a.variable)}),k.splice.apply(k,[c,1].concat(n)),l+=n.length-1,c+=n.length-1,r.resetCache());for(c=0;k.length>c;c++){var A=k[c];A.evalFirst||(k[c]=A=A.eval?A.eval(a):A)}for(c=0;k.length>c;c++)if(A=k[c],A instanceof p&&A.selectors&&1===A.selectors.length&&A.selectors[0].isJustParentSelector())for(k.splice(c--,1),l=0;A.rules.length>l;l++)n=A.rules[l],n.copyVisibilityInfo(A.visibilityInfo()),n instanceof f&&n.variable||
k.splice(++c,0,n);if(e.shift(),b.shift(),a.mediaBlocks)for(c=d;a.mediaBlocks.length>c;c++)a.mediaBlocks[c].bubbleSelectors(h);return r};p.prototype.evalImports=function(a){var b,c,d=this.rules;if(d)for(b=0;d.length>b;b++)"Import"===d[b].type&&(c=d[b].eval(a),c&&(c.length||0===c.length)?(d.splice.apply(d,[b,1].concat(c)),b+=c.length-1):d.splice(b,1,c),this.resetCache())};p.prototype.makeImportant=function(){return new p(this.selectors,this.rules.map(function(a){return a.makeImportant?a.makeImportant():
a}),this.strictImports,this.visibilityInfo())};p.prototype.matchArgs=function(a){return!a||0===a.length};p.prototype.matchCondition=function(a,b){a=this.selectors[this.selectors.length-1];return a.evaldCondition?!a.condition||a.condition.eval(new c.Eval(b,b.frames)):!1};p.prototype.resetCache=function(){this._variables=this._rulesets=null;this._lookups={}};p.prototype.variables=function(){return this._variables||(this._variables=this.rules?this.rules.reduce(function(a,b){if(b instanceof f&&!0===b.variable&&
(a[b.name]=b),"Import"===b.type&&b.root&&b.root.variables){b=b.root.variables();for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])}return a},{}):{}),this._variables};p.prototype.variable=function(a){return this.variables()[a]};p.prototype.rulesets=function(){if(!this.rules)return[];var a,b=[],c=this.rules,d=c.length;for(a=0;d>a;a++){var e=c[a];e.isRuleset&&b.push(e)}return b};p.prototype.prependRule=function(a){var b=this.rules;b?b.unshift(a):this.rules=[a]};p.prototype.find=function(a,b,c){b=b||this;
var e,g,f=[],k=a.toCSS();return k in this._lookups?this._lookups[k]:(this.rulesets().forEach(function(k){if(k!==b)for(var m=0;k.selectors.length>m;m++)if(e=a.match(k.selectors[m])){if(a.elements.length>e){if(!c||c(k)){g=k.find(new d(a.elements.slice(e)),b,c);for(m=0;g.length>m;++m)g[m].path.push(k);Array.prototype.push.apply(f,g)}}else f.push({rule:k,path:[]});break}}),this._lookups[k]=f,f)};p.prototype.genCSS=function(a,b){var c,d,e=[];a.tabLevel=a.tabLevel||0;this.root||a.tabLevel++;var g,f=a.compress?
"":Array(a.tabLevel+1).join("  "),m=a.compress?"":Array(a.tabLevel).join("  "),h=g=0;for(c=0;this.rules.length>c;c++){var p=this.rules[c];"Comment"===p.type?(h===c&&h++,e.push(p)):p.isCharset&&p.isCharset()?(e.splice(g,0,p),g++,h++):"Import"===p.type?(e.splice(h,0,p),h++):e.push(p)}if(e=[].concat(e),!this.root){(c=n(a,this,m))&&(b.add(c),b.add(m));var q=this.paths,l=q.length;g=a.compress?",":",\n"+m;for(c=0;l>c;c++)if(d=q[c],h=d.length)for(0<c&&b.add(g),a.firstSelector=!0,d[0].genCSS(a,b),a.firstSelector=
!1,p=1;h>p;p++)d[p].genCSS(a,b);b.add((a.compress?"{":" {\n")+f)}for(c=0;e.length>c;c++)p=e[c],c+1===e.length&&(a.lastRule=!0),d=a.lastRule,("boolean"==typeof p.isRulesetLike?p.isRulesetLike:"function"==typeof p.isRulesetLike&&p.isRulesetLike())&&(a.lastRule=!1),p.genCSS?p.genCSS(a,b):p.value&&b.add(p.value.toString()),a.lastRule=d,a.lastRule?a.lastRule=!1:b.add(a.compress?"":"\n"+f);this.root||(b.add(a.compress?"}":"\n"+m+"}"),a.tabLevel--);b.isEmpty()||a.compress||!this.firstRoot||b.add("\n")};
p.prototype.joinSelectors=function(a,b,c){for(var d=0;c.length>d;d++)this.joinSelector(a,b,c[d])};p.prototype.joinSelector=function(b,c,g){function f(a,b,c,d){var g,f,m;if(g=[],0<a.length?(g=a.slice(0),f=g.pop(),m=d.createDerived(f.elements.slice(0))):m=d.createDerived([]),0<b.length)a=c.combinator,d=b[0].elements[0],a.emptyOrWhitespace&&!d.combinator.emptyOrWhitespace&&(a=d.combinator),m.elements.push(new e(a,d.value,c.index,c.currentFileInfo)),m.elements=m.elements.concat(b[0].elements.slice(1));
if(0!==m.elements.length&&g.push(m),1<b.length)b=b.slice(1),b=b.map(function(a){return a.createDerived(a.elements,[])}),g=g.concat(b);return g}function m(a,b){var c;if(0!==a.length){if(0===b.length)return void b.push([new d(a)]);for(c=0;b.length>c;c++){var e=b[c];0<e.length?e[e.length-1]=e[e.length-1].createDerived(e[e.length-1].elements.concat(a)):e.push(new d(a))}}}function p(b,c,g){var k,h,n,l,q=!1;var r=[];var t=[[]];for(k=0;g.elements.length>k;k++)if(n=g.elements[k],"&"!==n.value){var w=void 0;
var u="Paren"!==n.value.type?null:(w=n.value.value,"Selector"!==w.type?null:w);if(null!=u){m(r,t);w=[];r=[];u=p(w,c,u);q=q||u;for(u=0;w.length>u;u++){var v=w[u];var x=n;if(0===v.length)v=new a(v[0]);else{var y=[];for(h=0;v.length>h;h++)y.push(new e(null,v[h],x.index,x.currentFileInfo));v=new a(new d(y))}h=void 0;v=(h=new e(null,v,n.index,n.currentFileInfo),new d([h]));h=t;x=[v];y=n;var z=g,A=r;for(v=0;h.length>v;v++){var G=f(h[v],x,y,z);A.push(G)}}t=r;r=[]}else r.push(n)}else{q=!0;w=[];m(r,t);for(r=
0;t.length>r;r++)if(h=t[r],0===c.length)0<h.length&&h[0].elements.push(new e(n.combinator,"",n.index,n.currentFileInfo)),w.push(h);else for(u=0;c.length>u;u++)v=f(h,c[u],n,g),w.push(v);t=w;r=[]}m(r,t);for(k=0;t.length>k;k++)c=t[k].length,0<c&&(b.push(t[k]),l=t[k][c-1],t[k][c-1]=l.createDerived(l.elements,g.extendList));return q}function k(a,b){b=b.createDerived(b.elements,b.extendList,b.evaldCondition);return b.copyVisibilityInfo(a),b}var h,n;if(n=[],h=p(n,c,g),!h)if(0<c.length)for(n=[],h=0;c.length>
h;h++){var l=c[h].map(k.bind(this,g.visibilityInfo()));l.push(g);n.push(l)}else n=[[g]];for(h=0;n.length>h;h++)b.push(n[h])};l.exports=p},{"../contexts":11,"../functions/default":20,"../functions/function-registry":22,"./debug-info":54,"./element":58,"./node":70,"./paren":72,"./rule":74,"./selector":77}],77:[function(b,l,h){h=b("./node");var f=b("./element"),d=function(b,a,c,d,f,h){this.elements=b;this.extendList=a;this.condition=c;this.currentFileInfo=f||{};c||(this.evaldCondition=!0);this.copyVisibilityInfo(h)};
d.prototype=new h;d.prototype.type="Selector";d.prototype.accept=function(b){this.elements&&(this.elements=b.visitArray(this.elements));this.extendList&&(this.extendList=b.visitArray(this.extendList));this.condition&&(this.condition=b.visit(this.condition))};d.prototype.createDerived=function(b,a,c){var e=this.visibilityInfo();c=null!=c?c:this.evaldCondition;b=new d(b,a||this.extendList,null,this.index,this.currentFileInfo,e);return b.evaldCondition=c,b.mediaEmpty=this.mediaEmpty,b};d.prototype.createEmptySelectors=
function(){var b=new f("","&",this.index,this.currentFileInfo);b=[new d([b],null,null,this.index,this.currentFileInfo)];return b[0].mediaEmpty=!0,b};d.prototype.match=function(b){var a,c=this.elements;var d=c.length;if(b.CacheElements(),a=b._elements.length,0===a||a>d)return 0;for(d=0;a>d;d++)if(c[d].value!==b._elements[d])return 0;return a};d.prototype.CacheElements=function(){if(!this._elements){var b=this.elements.map(function(a){return a.combinator.value+(a.value.value||a.value)}).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);
b?"&"===b[0]&&b.shift():b=[];this._elements=b}};d.prototype.isJustParentSelector=function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)};d.prototype.eval=function(b){var a=this.condition&&this.condition.eval(b),c=this.elements,d=this.extendList;return c=c&&c.map(function(a){return a.eval(b)}),d=d&&d.map(function(a){return a.eval(b)}),this.createDerived(c,d,a)};d.prototype.genCSS=function(b,
a){var c;if(b&&b.firstSelector||""!==this.elements[0].combinator.value||a.add(" ",this.currentFileInfo,this.index),!this._css)for(c=0;this.elements.length>c;c++){var d=this.elements[c];d.genCSS(b,a)}};d.prototype.getIsOutput=function(){return this.evaldCondition};l.exports=d},{"./element":58,"./node":70}],78:[function(b,l,h){b=b("./node");h=function(b){this.value=b};h.prototype=new b;h.prototype.type="UnicodeDescriptor";l.exports=h},{"./node":70}],79:[function(b,l,h){h=b("./node");var f=b("../data/unit-conversions"),
d=function(b,a,c){this.numerator=b?b.slice(0).sort():[];this.denominator=a?a.slice(0).sort():[];c?this.backupUnit=c:b&&b.length&&(this.backupUnit=b[0])};d.prototype=new h;d.prototype.type="Unit";d.prototype.clone=function(){return new d(this.numerator.slice(0),this.denominator.slice(0),this.backupUnit)};d.prototype.genCSS=function(b,a){b=b&&b.strictUnits;1===this.numerator.length?a.add(this.numerator[0]):!b&&this.backupUnit?a.add(this.backupUnit):!b&&this.denominator.length&&a.add(this.denominator[0])};
d.prototype.toString=function(){var b,a=this.numerator.join("*");for(b=0;this.denominator.length>b;b++)a+="/"+this.denominator[b];return a};d.prototype.compare=function(b){return this.is(b.toString())?0:void 0};d.prototype.is=function(b){return this.toString().toUpperCase()===b.toUpperCase()};d.prototype.isLength=function(){return!!this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/)};d.prototype.isEmpty=function(){return 0===this.numerator.length&&0===this.denominator.length};d.prototype.isSingular=function(){return 1>=
this.numerator.length&&0===this.denominator.length};d.prototype.map=function(b){var a;for(a=0;this.numerator.length>a;a++)this.numerator[a]=b(this.numerator[a],!1);for(a=0;this.denominator.length>a;a++)this.denominator[a]=b(this.denominator[a],!0)};d.prototype.usedUnits=function(){var b,a,c={};var d=function(d){return b.hasOwnProperty(d)&&!c[a]&&(c[a]=d),d};for(a in f)f.hasOwnProperty(a)&&(b=f[a],this.map(d));return c};d.prototype.cancel=function(){var b,a={};for(b=0;this.numerator.length>b;b++){var c=
this.numerator[b];a[c]=(a[c]||0)+1}for(b=0;this.denominator.length>b;b++)c=this.denominator[b],a[c]=(a[c]||0)-1;this.numerator=[];this.denominator=[];for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(0<d)for(b=0;d>b;b++)this.numerator.push(c);else if(0>d)for(b=0;-d>b;b++)this.denominator.push(c)}this.numerator.sort();this.denominator.sort()};l.exports=d},{"../data/unit-conversions":14,"./node":70}],80:[function(b,l,h){b=b("./node");var f=function(b,e,a,c){this.value=b;this.currentFileInfo=a;this.index=
e;this.isEvald=c};f.prototype=new b;f.prototype.type="Url";f.prototype.accept=function(b){this.value=b.visit(this.value)};f.prototype.genCSS=function(b,e){e.add("url(");this.value.genCSS(b,e);e.add(")")};f.prototype.eval=function(b){var d,a=this.value.eval(b);this.isEvald||(d=this.currentFileInfo&&this.currentFileInfo.rootpath,d&&"string"==typeof a.value&&b.isPathRelative(a.value)&&(a.quote||(d=d.replace(/[\(\)'"\s]/g,function(a){return"\\"+a})),a.value=d+a.value),a.value=b.normalizePath(a.value),
!b.urlArgs||a.value.match(/^\s*data:/))||(b=(-1===a.value.indexOf("?")?"?":"&")+b.urlArgs,-1!==a.value.indexOf("#")?a.value=a.value.replace("#",b+"#"):a.value+=b);return new f(a,this.index,this.currentFileInfo,!0)};l.exports=f},{"./node":70}],81:[function(b,l,h){b=b("./node");var f=function(b){if(this.value=b,!b)throw Error("Value requires an array argument");};f.prototype=new b;f.prototype.type="Value";f.prototype.accept=function(b){this.value&&(this.value=b.visitArray(this.value))};f.prototype.eval=
function(b){return 1===this.value.length?this.value[0].eval(b):new f(this.value.map(function(d){return d.eval(b)}))};f.prototype.genCSS=function(b,e){var a;for(a=0;this.value.length>a;a++)this.value[a].genCSS(b,e),this.value.length>a+1&&e.add(b&&b.compress?",":", ")};l.exports=f},{"./node":70}],82:[function(b,l,h){b=b("./node");var f=function(b,e,a){this.name=b;this.index=e;this.currentFileInfo=a||{}};f.prototype=new b;f.prototype.type="Variable";f.prototype.eval=function(b){var d,a=this.name;if(0===
a.indexOf("@@")&&(a="@"+(new f(a.slice(1),this.index,this.currentFileInfo)).eval(b).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+a,filename:this.currentFileInfo.filename,index:this.index};if(this.evaluating=!0,d=this.find(b.frames,function(c){if(c=c.variable(a))return c.important&&(b.importantScope[b.importantScope.length-1].important=c.important),c.value.eval(b)}))return this.evaluating=!1,d;throw{type:"Name",message:"variable "+a+" is undefined",filename:this.currentFileInfo.filename,
index:this.index};};f.prototype.find=function(b,e){for(var a,c=0;b.length>c;c++)if(a=e.call(b,b[c]))return a;return null};l.exports=f},{"./node":70}],83:[function(b,l,h){l.exports={getLocation:function(b,d){for(var e=b+1,a=null,c=-1;0<=--e&&"\n"!==d.charAt(e);)c++;return"number"==typeof b&&(a=(d.slice(0,b).match(/\n/g)||"").length),{line:a,column:c}}}},{}],84:[function(b,l,h){var f=b("../tree"),d=b("./visitor"),e=b("../logger"),a=function(){this._visitor=new d(this);this.contexts=[];this.allExtendsStack=
[[]]};a.prototype={run:function(a){return a=this._visitor.visit(a),a.allExtends=this.allExtendsStack[0],a},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitRuleset:function(a,b){if(!a.root){var c,d,e=[],g=a.rules,h=g?g.length:0;for(b=0;h>b;b++)a.rules[b]instanceof f.Extend&&(e.push(g[b]),a.extendOnEveryPath=!0);g=a.paths;for(b=0;g.length>b;b++)for(h=g[b],(d=(c=h[h.length-1].extendList)?c.slice(0).concat(e):e)&&(d=d.map(function(a){return a.clone()})),
c=0;d.length>c;c++){this.foundExtends=!0;var l=d[c];l.findSelfSelectors(h);l.ruleset=a;0===c&&(l.firstExtendOnThisSelectorPath=!0);this.allExtendsStack[this.allExtendsStack.length-1].push(l)}this.contexts.push(a.selectors)}},visitRulesetOut:function(a){a.root||--this.contexts.length},visitMedia:function(a,b){a.allExtends=[];this.allExtendsStack.push(a.allExtends)},visitMediaOut:function(a){--this.allExtendsStack.length},visitDirective:function(a,b){a.allExtends=[];this.allExtendsStack.push(a.allExtends)},
visitDirectiveOut:function(a){--this.allExtendsStack.length}};b=function(){this._visitor=new d(this)};b.prototype={run:function(b){var c=new a;if(this.extendIndices={},c.run(b),!c.foundExtends)return b;b.allExtends=b.allExtends.concat(this.doExtendChaining(b.allExtends,b.allExtends));this.allExtendsStack=[b.allExtends];c=this._visitor.visit(b);return this.checkExtendsForNonMatched(b.allExtends),c},checkExtendsForNonMatched:function(a){var b=this.extendIndices;a.filter(function(a){return!a.hasFoundMatches&&
1==a.parent_ids.length}).forEach(function(a){var c="_unknown_";try{c=a.selector.toCSS({})}catch(p){}b[a.index+" "+c]||(b[a.index+" "+c]=!0,e.warn("extend '"+c+"' has no matches"))})},doExtendChaining:function(a,b,d){var c,e,g,m,h,l,x=[],w=this;d=d||0;for(c=0;a.length>c;c++)for(e=0;b.length>e;e++){var k=a[c];var v=b[e];0<=k.parent_ids.indexOf(v.object_id)||(h=[v.selfSelectors[0]],g=w.findMatch(k,h),g.length&&(k.hasFoundMatches=!0,k.selfSelectors.forEach(function(a){var b=v.visibilityInfo();m=w.extendSelector(g,
h,a,k.isVisible());l=new f.Extend(v.selector,v.option,0,v.currentFileInfo,b);l.selfSelectors=m;m[m.length-1].extendList=[l];x.push(l);l.ruleset=v.ruleset;l.parent_ids=l.parent_ids.concat(v.parent_ids,k.parent_ids);v.firstExtendOnThisSelectorPath&&(l.firstExtendOnThisSelectorPath=!0,v.ruleset.paths.push(m))})))}if(x.length){if(this.extendChainCount++,100<d){b=a="{unable to calculate}";try{a=x[0].selfSelectors[0].toCSS(),b=x[0].selector.toCSS()}catch(y){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+
a+":extend("+b+")"};}return x.concat(w.doExtendChaining(x,b,d+1))}return x},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitSelector:function(a,b){b.visitDeeper=!1},visitRuleset:function(a,b){if(!a.root){var c,d,e,g=this.allExtendsStack[this.allExtendsStack.length-1],f=[],h=this;for(d=0;g.length>d;d++)for(b=0;a.paths.length>b;b++)if(e=a.paths[b],!a.extendOnEveryPath){var l=e[e.length-1].extendList;l&&l.length||(c=this.findMatch(g[d],e),c.length&&
(g[d].hasFoundMatches=!0,g[d].selfSelectors.forEach(function(a){a=h.extendSelector(c,e,a,g[d].isVisible());f.push(a)})))}a.paths=a.paths.concat(f)}},findMatch:function(a,b){var c,d,e,g=a.selector.elements,f=[],h=[];for(c=0;b.length>c;c++){var l=b[c];for(d=0;l.elements.length>d;d++){var x=l.elements[d];(a.allowBefore||0===c&&0===d)&&f.push({pathIndex:c,index:d,matched:0,initialCombinator:x.combinator});for(e=0;f.length>e;e++){var w=f[e];var k=x.combinator.value;""===k&&0===d&&(k=" ");!this.isElementValuesEqual(g[w.matched].value,
x.value)||0<w.matched&&g[w.matched].combinator.value!==k?w=null:w.matched++;w&&(w.finished=w.matched===g.length,w.finished&&!a.allowAfter&&(l.elements.length>d+1||b.length>c+1)&&(w=null));w?w.finished&&(w.length=g.length,w.endPathIndex=c,w.endPathElementIndex=d+1,f.length=0,h.push(w)):(f.splice(e,1),e--)}}}return h},isElementValuesEqual:function(a,b){if("string"==typeof a||"string"==typeof b)return a===b;if(a instanceof f.Attribute)return a.op!==b.op||a.key!==b.key?!1:a.value&&b.value?(a=a.value.value||
a.value,b=b.value.value||b.value,a===b):!a.value&&!b.value;if(a=a.value,b=b.value,a instanceof f.Selector){if(!(b instanceof f.Selector)||a.elements.length!==b.elements.length)return!1;for(var c=0;a.elements.length>c;c++)if(a.elements[c].combinator.value!==b.elements[c].combinator.value&&(0!==c||(a.elements[c].combinator.value||" ")!==(b.elements[c].combinator.value||" "))||!this.isElementValuesEqual(a.elements[c].value,b.elements[c].value))return!1;return!0}return!1},extendSelector:function(a,b,
d,e){var c,g=0,m=0,h=[];for(c=0;a.length>c;c++){var l=a[c];var n=b[l.pathIndex];var w=new f.Element(l.initialCombinator,d.elements[0].value,d.elements[0].index,d.elements[0].currentFileInfo);l.pathIndex>g&&0<m&&(h[h.length-1].elements=h[h.length-1].elements.concat(b[g].elements.slice(m)),m=0,g++);n=n.elements.slice(m,l.index).concat([w]).concat(d.elements.slice(1));g===l.pathIndex&&0<c?h[h.length-1].elements=h[h.length-1].elements.concat(n):(h=h.concat(b.slice(g,l.pathIndex)),h.push(new f.Selector(n)));
g=l.endPathIndex;m=l.endPathElementIndex;m>=b[g].elements.length&&(m=0,g++)}return b.length>g&&0<m&&(h[h.length-1].elements=h[h.length-1].elements.concat(b[g].elements.slice(m)),g++),h=h.concat(b.slice(g,b.length)),h=h.map(function(a){a=a.createDerived(a.elements);return e?a.ensureVisibility():a.ensureInvisibility(),a})},visitMedia:function(a,b){b=a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);b=b.concat(this.doExtendChaining(b,a.allExtends));this.allExtendsStack.push(b)},
visitMediaOut:function(a){--this.allExtendsStack.length},visitDirective:function(a,b){b=a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);b=b.concat(this.doExtendChaining(b,a.allExtends));this.allExtendsStack.push(b)},visitDirectiveOut:function(a){--this.allExtendsStack.length}};l.exports=b},{"../logger":33,"../tree":62,"./visitor":91}],85:[function(b,l,h){function f(b){this.imports=[];this.variableImports=[];this._onSequencerEmpty=b;this._currentDepth=0}f.prototype.addImport=
function(b){var d=this,a={callback:b,args:null,isReady:!1};return this.imports.push(a),function(){a.args=Array.prototype.slice.call(arguments,0);a.isReady=!0;d.tryRun()}};f.prototype.addVariableImport=function(b){this.variableImports.push(b)};f.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;0<this.imports.length;){var b=this.imports[0];if(!b.isReady)return;this.imports=this.imports.slice(1);b.callback.apply(null,b.args)}if(0===this.variableImports.length)break;var e=this.variableImports[0];
this.variableImports=this.variableImports.slice(1);e()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()};l.exports=f},{}],86:[function(b,l,h){var f=b("../contexts"),d=b("./visitor"),e=b("./import-sequencer");b=function(a,b){this._visitor=new d(this);this._importer=a;this._finish=b;this.context=new f.Eval;this.importCount=0;this.onceFileDetectionMap={};this.recursionDetector={};this._sequencer=new e(this._onSequencerEmpty.bind(this))};b.prototype=
{isReplacing:!1,run:function(a){try{this._visitor.visit(a)}catch(c){this.error=c}this.isFinished=!0;this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(a,b){var c=a.options.inline;if(!a.css||c){c=new f.Eval(this.context,this.context.frames.slice(0));var d=c.frames[0];this.importCount++;a.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,a,c,d)):this.processImportNode(a,c,d)}b.visitDeeper=!1},processImportNode:function(a,
b,d){var c=a.options.inline;try{var e=a.evalForImport(b)}catch(r){r.filename||(r.index=a.index,r.filename=a.currentFileInfo.filename),a.css=!0,a.error=r}if(!e||e.css&&!c)this.importCount--,this.isFinished&&this._sequencer.tryRun();else{e.options.multiple&&(b.importMultiple=!0);c=void 0===e.css;for(var g=0;d.rules.length>g;g++)if(d.rules[g]===a){d.rules[g]=e;break}a=this.onImported.bind(this,e,b);a=this._sequencer.addImport(a);this._importer.push(e.getPath(),c,e.currentFileInfo,e.options,a)}},onImported:function(a,
b,d,e,f,h){d&&(d.filename||(d.index=a.index,d.filename=a.currentFileInfo.filename),this.error=d);var c=this;d=a.options.inline;var g=a.options.plugin,m=a.options.optional;f=f||h in c.recursionDetector;if(b.importMultiple||(a.skip=f?!0:function(){return h in c.onceFileDetectionMap?!0:(c.onceFileDetectionMap[h]=!0,!1)}),!h&&m&&(a.skip=!0),e&&(a.root=e,a.importedFilename=h,!(d||g||!b.importMultiple&&f))){c.recursionDetector[h]=!0;a=this.context;this.context=b;try{this._visitor.visit(e)}catch(u){this.error=
u}this.context=a}c.importCount--;c.isFinished&&c._sequencer.tryRun()},visitRule:function(a,b){"DetachedRuleset"===a.value.type?this.context.frames.unshift(a):b.visitDeeper=!1},visitRuleOut:function(a){"DetachedRuleset"===a.value.type&&this.context.frames.shift()},visitDirective:function(a,b){this.context.frames.unshift(a)},visitDirectiveOut:function(a){this.context.frames.shift()},visitMixinDefinition:function(a,b){this.context.frames.unshift(a)},visitMixinDefinitionOut:function(a){this.context.frames.shift()},
visitRuleset:function(a,b){this.context.frames.unshift(a)},visitRulesetOut:function(a){this.context.frames.shift()},visitMedia:function(a,b){this.context.frames.unshift(a.rules[0])},visitMediaOut:function(a){this.context.frames.shift()}};l.exports=b},{"../contexts":11,"./import-sequencer":85,"./visitor":91}],87:[function(b,l,h){b={Visitor:b("./visitor"),ImportVisitor:b("./import-visitor"),MarkVisibleSelectorsVisitor:b("./set-tree-visibility-visitor"),ExtendVisitor:b("./extend-visitor"),JoinSelectorVisitor:b("./join-selector-visitor"),
ToCSSVisitor:b("./to-css-visitor")};l.exports=b},{"./extend-visitor":84,"./import-visitor":86,"./join-selector-visitor":88,"./set-tree-visibility-visitor":89,"./to-css-visitor":90,"./visitor":91}],88:[function(b,l,h){var f=b("./visitor");b=function(){this.contexts=[[]];this._visitor=new f(this)};b.prototype={run:function(b){return this._visitor.visit(b)},visitRule:function(b,e){e.visitDeeper=!1},visitMixinDefinition:function(b,e){e.visitDeeper=!1},visitRuleset:function(b,e){var a;e=this.contexts[this.contexts.length-
1];var c=[];this.contexts.push(c);b.root||(a=b.selectors,a&&(a=a.filter(function(a){return a.getIsOutput()}),b.selectors=a.length?a:a=null,a&&b.joinSelectors(c,e,a)),a||(b.rules=null),b.paths=c)},visitRulesetOut:function(b){--this.contexts.length},visitMedia:function(b,e){e=this.contexts[this.contexts.length-1];b.rules[0].root=0===e.length||e[0].multiMedia},visitDirective:function(b,e){e=this.contexts[this.contexts.length-1];b.rules&&b.rules.length&&(b.rules[0].root=b.isRooted||0===e.length||null)}};
l.exports=b},{"./visitor":91}],89:[function(b,l,h){b=function(b){this.visible=b};b.prototype.run=function(b){this.visit(b)};b.prototype.visitArray=function(b){if(!b)return b;var d,e=b.length;for(d=0;e>d;d++)this.visit(b[d]);return b};b.prototype.visit=function(b){return b?b.constructor===Array?this.visitArray(b):!b.blocksVisibility||b.blocksVisibility()?b:(this.visible?b.ensureVisibility():b.ensureInvisibility(),b.accept(this),b):b};l.exports=b},{}],90:[function(b,l,h){var f=b("../tree"),d=b("./visitor"),
e=function(a){this._visitor=new d(this);this._context=a};e.prototype={containsSilentNonBlockedChild:function(a){var b;if(null==a)return!1;for(var d=0;a.length>d;d++)if(b=a[d],b.isSilent&&b.isSilent(this._context)&&!b.blocksVisibility())return!0;return!1},keepOnlyVisibleChilds:function(a){null!=a&&null!=a.rules&&(a.rules=a.rules.filter(function(a){return a.isVisible()}))},isEmpty:function(a){return null==a||null==a.rules?!0:0===a.rules.length},hasVisibleSelector:function(a){return null==a||null==a.paths?
!1:0<a.paths.length},resolveVisibility:function(a,b){if(!a.blocksVisibility())return this.isEmpty(a)&&!this.containsSilentNonBlockedChild(b)?void 0:a;b=a.rules[0];return this.keepOnlyVisibleChilds(b),this.isEmpty(b)?void 0:(a.ensureVisibility(),a.removeVisibilityBlock(),a)},isVisibleRuleset:function(a){return a.firstRoot?!0:this.isEmpty(a)?!1:!(!a.root&&!this.hasVisibleSelector(a))}};b=function(a){this._visitor=new d(this);this._context=a;this.utils=new e(a)};b.prototype={isReplacing:!0,run:function(a){return this._visitor.visit(a)},
visitRule:function(a,b){return a.blocksVisibility()||a.variable?void 0:a},visitMixinDefinition:function(a,b){a.frames=[]},visitExtend:function(a,b){},visitComment:function(a,b){return a.blocksVisibility()||a.isSilent(this._context)?void 0:a},visitMedia:function(a,b){var c=a.rules[0].rules;return a.accept(this._visitor),b.visitDeeper=!1,this.utils.resolveVisibility(a,c)},visitImport:function(a,b){return a.blocksVisibility()?void 0:a},visitDirective:function(a,b){return a.rules&&a.rules.length?this.visitDirectiveWithBody(a,
b):this.visitDirectiveWithoutBody(a,b)},visitDirectiveWithBody:function(a,b){var c,d=c=a.rules;c=1!==d.length||d[0].paths&&0!==d[0].paths.length?c:c[0].rules;return a.accept(this._visitor),b.visitDeeper=!1,this.utils.isEmpty(a)||this._mergeRules(a.rules[0].rules),this.utils.resolveVisibility(a,c)},visitDirectiveWithoutBody:function(a,b){if(!a.blocksVisibility()){if("@charset"===a.name){if(this.charset){if(a.debugInfo)return b=new f.Comment("/* "+a.toCSS(this._context).replace(/\n/g,"")+" */\n"),b.debugInfo=
a.debugInfo,this._visitor.visit(b);return}this.charset=!0}return a}},checkValidNodes:function(a,b){if(a)for(var c=0;a.length>c;c++){var d=a[c];if(b&&d instanceof f.Rule&&!d.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:d.index,filename:d.currentFileInfo&&d.currentFileInfo.filename};if(d instanceof f.Call)throw{message:"Function '"+d.name+"' is undefined",index:d.index,filename:d.currentFileInfo&&d.currentFileInfo.filename};if(d.type&&!d.allowRoot)throw{message:d.type+
" node returned by a function is not valid here",index:d.index,filename:d.currentFileInfo&&d.currentFileInfo.filename};}},visitRuleset:function(a,b){var c,d=[];if(this.checkValidNodes(a.rules,a.firstRoot),a.root)a.accept(this._visitor);else{this._compileRulesetPaths(a);for(var e=a.rules,f=e?e.length:0,h=0;f>h;)(c=e[h])&&c.rules?(d.push(this._visitor.visit(c)),e.splice(h,1),f--):h++;0<f?a.accept(this._visitor):a.rules=null}b.visitDeeper=!1;return a.rules&&(this._mergeRules(a.rules),this._removeDuplicateRules(a.rules)),
this.utils.isVisibleRuleset(a)&&(a.ensureVisibility(),d.splice(0,0,a)),1===d.length?d[0]:d},_compileRulesetPaths:function(a){a.paths&&(a.paths=a.paths.filter(function(a){var b;" "===a[0].elements[0].combinator.value&&(a[0].elements[0].combinator=new f.Combinator(""));for(b=0;a.length>b;b++)if(a[b].isVisible()&&a[b].getIsOutput())return!0;return!1}))},_removeDuplicateRules:function(a){if(a){var b,d,e={};for(d=a.length-1;0<=d;d--)if(b=a[d],b instanceof f.Rule)if(e[b.name]){var h=e[b.name];h instanceof
f.Rule&&(h=e[b.name]=[e[b.name].toCSS(this._context)]);var l=b.toCSS(this._context);-1!==h.indexOf(l)?a.splice(d,1):h.push(l)}else e[b.name]=b}},_mergeRules:function(a){if(a){for(var b,d,e,h={},l=0;a.length>l;l++)d=a[l],d instanceof f.Rule&&d.merge&&(e=[d.name,d.important?"!":""].join(),h[e]?a.splice(l--,1):h[e]=[],h[e].push(d));Object.keys(h).map(function(a){function c(a){return new f.Expression(a.map(function(a){return a.value}))}function e(a){return new f.Value(a.map(function(a){return a}))}if(b=
h[a],1<b.length){d=b[0];var g=[],m=[];b.map(function(a){"+"===a.merge&&(0<m.length&&g.push(c(m)),m=[]);m.push(a)});g.push(c(m));d.value=e(g)}})}},visitAnonymous:function(a,b){return a.blocksVisibility()?void 0:(a.accept(this._visitor),a)}};l.exports=b},{"../tree":62,"./visitor":91}],91:[function(b,l,h){function f(a){return a}function d(a,b){var c,e;for(c in a)if(a.hasOwnProperty(c))switch(e=a[c],typeof e){case "function":e.prototype&&e.prototype.type&&(e.prototype.typeIndex=b++);break;case "object":b=
d(e,b)}return b}var e=b("../tree"),a={visitDeeper:!0},c=!1;b=function(a){this._implementation=a;this._visitFnCache=[];c||(d(e,1),c=!0)};b.prototype={visit:function(b){if(!b)return b;var c=b.typeIndex;if(!c)return b;var d,e=this._visitFnCache,g=this._implementation,h=c<<1,l=1|h,u=e[h];c=e[l];if(a.visitDeeper=!0,u||(d="visit"+b.type,u=g[d]||f,c=g[d+"Out"]||f,e[h]=u,e[l]=c),u!==f)d=u.call(g,b,a),g.isReplacing&&(b=d);return a.visitDeeper&&b&&b.accept&&b.accept(this),c!=f&&c.call(g,b),b},visitArray:function(a,
b){if(!a)return a;var c=a.length;if(b||!this._implementation.isReplacing){for(b=0;c>b;b++)this.visit(a[b]);return a}var d=[];for(b=0;c>b;b++){var e=this.visit(a[b]);void 0!==e&&(e.splice?e.length&&this.flatten(e,d):d.push(e))}return d},flatten:function(a,b){b||(b=[]);var c,d,e;var f=0;for(c=a.length;c>f;f++)if(d=a[f],void 0!==d)if(d.splice){var g=0;for(e=d.length;e>g;g++){var h=d[g];void 0!==h&&(h.splice?h.length&&this.flatten(h,b):b.push(h))}}else b.push(d);return b}};l.exports=b},{"../tree":62}],
92:[function(b,l,h){function f(b){var c=a.length?a.pop():new d;c.task=b;e(c)}function d(){this.task=null}var e=b("./raw"),a=[],c=[],g=e.makeRequestCallFromTimer(function(){if(c.length)throw c.shift();});l.exports=f;d.prototype.call=function(){try{this.task.call()}catch(m){f.onerror?f.onerror(m):(c.push(m),g())}finally{this.task=null,a[a.length]=this}}},{"./raw":93}],93:[function(b,l,h){(function(b){function d(a){f.length||r();f[f.length]=a}function e(){for(;f.length>h;){var a=h;if(h+=1,f[a].call(),
h>n){a=0;for(var b=f.length-h;b>a;a++)f[a]=f[a+h];f.length-=h;h=0}}h=f.length=0}function a(a){var b=1;a=new p(a);var c=document.createTextNode("");return a.observe(c,{characterData:!0}),function(){b=-b;c.data=b}}function c(a){return function(){function b(){clearTimeout(c);clearInterval(d);a()}var c=setTimeout(b,0),d=setInterval(b,50)}}l.exports=d;var f=[],h=0,n=1024,p=b.MutationObserver||b.WebKitMutationObserver;var r="function"==typeof p?a(e):c(e);d.requestFlush=r;d.makeRequestCallFromTimer=c}).call(this,
"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],94:[function(b,l,h){function f(){}function d(a,b,c){try{a(b,c)}catch(y){return u=y,x}}function e(a){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof a)throw new TypeError("not a function");this._81=this._45=0;this._54=this._65=null;a!==f&&q(a,this)}function a(a,b,d){return new a.constructor(function(g,h){var k=new e(f);k.then(g,h);c(a,
new r(b,d,k))})}function c(a,b){for(;3===a._81;)a=a._65;return e._10&&e._10(a),0===a._81?0===a._45?(a._45=1,void(a._54=b)):1===a._45?(a._45=2,void(a._54=[a._54,b])):void a._54.push(b):void g(a,b)}function g(a,b){t(function(){var c=1===a._81?b.onFulfilled:b.onRejected;if(null===c)return void(1===a._81?m(b.promise,a._65):n(b.promise,a._65));try{var d=c(a._65)}catch(z){d=(u=z,x)}d===x?n(b.promise,u):m(b.promise,d)})}function m(a,b){if(b===a)return n(a,new TypeError("A promise cannot be resolved with itself."));
if(b&&("object"==typeof b||"function"==typeof b)){try{var c=b.then}catch(y){c=(u=y,x)}if(c===x)return n(a,u);if(c===a.then&&b instanceof e)return a._81=3,a._65=b,void p(a);if("function"==typeof c)return void q(c.bind(b),a)}a._81=1;a._65=b;p(a)}function n(a,b){a._81=2;a._65=b;e._97&&e._97(a,b);p(a)}function p(a){if(1===a._45&&(c(a,a._54),a._54=null),2===a._45){for(var b=0;a._54.length>b;b++)c(a,a._54[b]);a._54=null}}function r(a,b,c){this.onFulfilled="function"==typeof a?a:null;this.onRejected="function"==
typeof b?b:null;this.promise=c}function q(a,b){var c=!1;a=d(a,function(a){c||(c=!0,m(b,a))},function(a){c||(c=!0,n(b,a))});c||a!==x||(c=!0,n(b,u))}var t=b("asap/raw"),u=null,x={};l.exports=e;e._10=null;e._97=null;e._61=f;e.prototype.then=function(b,d){if(this.constructor!==e)return a(this,b,d);var g=new e(f);return c(this,new r(b,d,g)),g}},{"asap/raw":93}],95:[function(b,l,h){function f(a){var b=new d(d._61);return b._81=1,b._65=a,b}var d=b("./core.js");l.exports=d;var e=f(!0),a=f(!1),c=f(null),g=
f(void 0),m=f(0),n=f("");d.resolve=function(b){if(b instanceof d)return b;if(null===b)return c;if(void 0===b)return g;if(!0===b)return e;if(!1===b)return a;if(0===b)return m;if(""===b)return n;if("object"==typeof b||"function"==typeof b)try{var h=b.then;if("function"==typeof h)return new d(h.bind(b))}catch(q){return new d(function(a,b){b(q)})}return f(b)};d.all=function(a){var b=Array.prototype.slice.call(a);return new d(function(a,c){function e(g,h){if(h&&("object"==typeof h||"function"==typeof h)){if(h instanceof
d&&h.then===d.prototype.then){for(;3===h._81;)h=h._65;return 1===h._81?e(g,h._65):(2===h._81&&c(h._65),void h.then(function(a){e(g,a)},c))}var k=h.then;if("function"==typeof k)return void(new d(k.bind(h))).then(function(a){e(g,a)},c)}b[g]=h;0===--f&&a(b)}if(0===b.length)return a([]);for(var f=b.length,g=0;b.length>g;g++)e(g,b[g])})};d.reject=function(a){return new d(function(b,c){c(a)})};d.race=function(a){return new d(function(b,c){a.forEach(function(a){d.resolve(a).then(b,c)})})};d.prototype["catch"]=
function(a){return this.then(null,a)}},{"./core.js":94}],96:[function(b,l,h){"function"!=typeof Promise.prototype.done&&(Promise.prototype.done=function(b,d){(arguments.length?this.then.apply(this,arguments):this).then(null,function(b){setTimeout(function(){throw b;},0)})})},{}],97:[function(b,l,h){b("asap");"undefined"==typeof Promise&&(Promise=b("./lib/core.js"),b("./lib/es6-extensions.js"));b("./polyfill-done.js")},{"./lib/core.js":94,"./lib/es6-extensions.js":95,"./polyfill-done.js":96,asap:92}]},
{},[2])(2)});