(function(u){function n(a){return u.less[a.split("/")[1]]}function ga(){for(var a=document.getElementsByTagName("style"),b=0;b<a.length;b++)a[b].type.match(ha)&&(new h.Parser({filename:document.location.href.replace(/#.*$/,""),dumpLineNumbers:h.dumpLineNumbers})).parse(a[b].innerHTML||"",function(c,d){var f=d.toCSS(),e=a[b];e.type="text/css";e.styleSheet?e.styleSheet.cssText=f:e.innerHTML=f})}function ia(a,b){for(var c=0;c<h.sheets.length;c++)ja(h.sheets[c],a,b,h.sheets.length-(c+1))}function W(a,
b){var c=/^((?:[a-z-]+:)?\/\/(?:[^\/\?#]+\/)|([\/\\]))?((?:[^\/\\\?#]+[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/,d=a.match(c),f={},e=[];if(!d)throw Error("Could not parse sheet href - '"+a+"'");if(!d[1]||d[2]){c=b.match(c);if(!c)throw Error("Could not parse page url - '"+b+"'");d[1]=c[1];d[2]||(d[3]=c[3]+d[3])}if(d[3]){e=d[3].replace("\\","/").split("/");for(c=0;c<e.length;c++)".."===e[c]&&0<c&&(e.splice(c-1,2),c-=2)}return f.hostPart=d[1],f.directories=e,f.path=d[1]+e.join("/"),f.fileUrl=f.path+(d[4]||""),
f.url=f.fileUrl+(d[5]||""),f}function ja(a,b,c,d){var f=a.contents||{},e=a.files||{},p=W(a.href,u.location.href),j=p.url,x=D&&D.getItem(j),g=D&&D.getItem(j+":timestamp"),l={css:x,timestamp:g},n;if(h.relativeUrls)if(h.rootpath)if(a.entryPath){x=h.rootpath;var m=a.entryPath,g=W(p.path),k=W(m),t,s="";if(g.hostPart!==k.hostPart)g="";else{t=Math.max(k.directories.length,g.directories.length);for(m=0;m<t&&k.directories[m]===g.directories[m];m++);k=k.directories.slice(m);g=g.directories.slice(m);for(m=0;m<
k.length-1;m++)s+="../";for(m=0;m<g.length-1;m++)s+=g[m]+"/";g=s}n=W(x+g).path}else n=h.rootpath;else n=p.path;else h.rootpath?n=h.rootpath:a.entryPath?n=a.entryPath:n=p.path;var x=a.type,q=function(k,g){Z+=k.replace(/@import .+?;/ig,"");if(!c&&l&&g&&(new Date(g)).valueOf()===(new Date(l.timestamp)).valueOf())R(l.css,a),b(null,null,k,a,{local:!0,remaining:d},j);else try{f[j]=k,(new h.Parser({optimization:h.optimization,paths:[p.path],entryPath:a.entryPath||p.path,mime:a.type,filename:j,rootpath:n,
relativeUrls:a.relativeUrls,contents:f,files:e,dumpLineNumbers:h.dumpLineNumbers})).parse(k,function(c,e){if(c)return $(c,j);try{b(c,e,k,a,{local:!1,lastModified:g,remaining:d},j);var f=document.getElementById("less-error-message:"+aa(j));f&&f.parentNode.removeChild(f)}catch(p){$(p,j)}})}catch(m){$(m,j)}},r=function(a,b){throw Error("Couldn't load "+b+" ("+a+")");},y=function(a,b,c){200<=a.status&&300>a.status?b(a.responseText,a.getResponseHeader("Last-Modified")):"function"==typeof c&&c(a.status,
j)},v=la(),g=X?h.fileAsync:h.async;"function"==typeof v.overrideMimeType&&v.overrideMimeType("text/css");v.open("GET",j,g);v.setRequestHeader("Accept",x||"text/x-less, text/css; q=0.9, */*; q=0.5");v.send(null);X&&!h.fileAsync?0===v.status||200<=v.status&&300>v.status?q(v.responseText):r(v.status,j):g?v.onreadystatechange=function(){4==v.readyState&&y(v,q,r)}:y(v,q,r)}function aa(a){return a.replace(/^[a-z]+:\/\/?[^\/]+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,
":")}function R(a,b,c){var d,f=b.href||"",e="less:"+(b.title||aa(f));if(null===(d=document.getElementById(e)))d=document.createElement("style"),d.type="text/css",b.media&&(d.media=b.media),d.id=e,b=b&&b.nextSibling||null,(b||document.getElementsByTagName("head")[0]).parentNode.insertBefore(d,b);if(d.styleSheet)try{d.styleSheet.cssText=a}catch(p){throw Error("Couldn't reassign styleSheet.cssText.");}else b=document.createTextNode(a),0<d.childNodes.length?d.firstChild.nodeValue!==b.nodeValue&&d.replaceChild(b,
d.firstChild):d.appendChild(b);if(c&&D){I("saving "+f+" to cache.");try{D.setItem(f,a),D.setItem(f+":timestamp",c)}catch(j){I("failed to save")}}}function la(){if(u.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(a){return I("browser doesn't support AJAX."),null}}function I(a){"development"==h.env&&"undefined"!=typeof console&&console.log("less: "+a)}function $(a,b){var c="less-error-message:"+aa(b),d=document.createElement("div"),f,e,p=[];e=a.filename||
b;var j=e.match(/([^\/]+(\?.*)?)$/)[1];d.id=c;d.className="less-error-message";e="<h3>"+(a.message||"There is an error in your .less file")+'</h3><p>in <a href="'+e+'">'+j+"</a> ";j=function(a,b,c){a.extract[b]&&p.push('<li><label>{line}</label><pre class="{class}">{content}</pre></li>'.replace(/\{line\}/,parseInt(a.line)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};a.stack?e+="<br/>"+a.stack.split("\n").slice(1).join("<br/>"):a.extract&&(j(a,0,""),j(a,1,"line"),j(a,2,""),e+=
"on line "+a.line+", column "+(a.column+1)+":</p><ul>"+p.join("")+"</ul>");d.innerHTML=e;R(".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"});d.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"==h.env&&(f=setInterval(function(){document.body&&(document.getElementById(c)?document.body.replaceChild(d,document.getElementById(c)):document.body.insertBefore(d,document.body.firstChild),clearInterval(f))},10))}Array.isArray||(Array.isArray=function(a){return"[object Array]"===
Object.prototype.toString.call(a)||a instanceof Array});Array.prototype.forEach||(Array.prototype.forEach=function(a,b){for(var c=this.length>>>0,d=0;d<c;d++)d in this&&a.call(b,this[d],d,this)});Array.prototype.map||(Array.prototype.map=function(a,b){for(var c=this.length>>>0,d=Array(c),f=0;f<c;f++)f in this&&(d[f]=a.call(b,this[f],f,this));return d});Array.prototype.filter||(Array.prototype.filter=function(a,b){for(var c=[],d=0;d<this.length;d++)a.call(b,this[d])&&c.push(this[d]);return c});Array.prototype.reduce||
(Array.prototype.reduce=function(a){var b=this.length>>>0,c=0;if(0===b&&1===arguments.length)throw new TypeError;if(2<=arguments.length)var d=arguments[1];else{do{if(c in this){d=this[c++];break}if(++c>=b)throw new TypeError;}while(1)}for(;c<b;c++)c in this&&(d=a.call(null,d,this[c],c,this));return d});Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c=this.length,d=b||0;if(!c||d>=c)return-1;for(0>d&&(d+=c);d<c;d++)if(Object.prototype.hasOwnProperty.call(this,d)&&a===this[d])return d;
return-1});Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b});String.prototype.trim||(String.prototype.trim=function(){return String(this).replace(/^\s\s*/,"").replace(/\s\s*$/,"")});var h,g;"object"==typeof environment&&"[object Environment]"==={}.toString.call(environment)?("undefined"==typeof u?h={}:h=u.less={},g=h.tree={},h.mode="rhino"):"undefined"==typeof u?(h=exports,g=n("./tree"),h.mode="node"):("undefined"==typeof u.less&&
(u.less={}),h=u.less,g=u.less.tree={},h.mode="browser");h.Parser=function(a){function b(){r=y[q];v=u=k}function c(){y[q]=r;v=k=u}function d(){k>v&&(y[q]=y[q].slice(k-v),v=k)}function f(a){a=a.charCodeAt(0);return 32===a||10===a||9===a}function e(a){var b;if(a instanceof Function)return a.call(B.parsers);if("string"==typeof a)a=m.charAt(k)===a?a:null,b=1,d();else{d();if(!(a=a.exec(y[q])))return null;b=a[0].length}if(a){for(var c=k+y[q].length,e=k+=b;k<c&&f(m.charAt(k));)k++;return y[q]=y[q].slice(b+
(k-e)),v=k,0===y[q].length&&q<y.length-1&&q++,"string"==typeof a?a:1===a.length?a[0]:a}}function p(a,b){var c=e(a);if(c)return c;j(b||("string"==typeof a?"expected '"+a+"' got '"+m.charAt(k)+"'":"unexpected token"))}function j(a,b){var c=Error(a);throw c.index=k,c.type=b||"Syntax",c;}function x(a){return"string"==typeof a?m.charAt(k)===a:a.test(y[q])?!0:!1}function l(a,b){for(var c=a,e=-1;0<=c&&"\n"!==b.charAt(c);c--)e++;return{line:"number"==typeof a?(b.slice(0,a).match(/\n/g)||"").length:null,column:e}}
function s(a,b,c){return{lineNumber:l(a,b).line+1,fileName:"browser"===h.mode||"rhino"===h.mode?c.filename:n("path").resolve(c.filename)}}function t(a,b){var c=a.filename&&b.filename&&a.filename!==b.filename?B.imports.contents[a.filename]:m,e=l(a.index,c),d=e.line,e=e.column,f=c.split("\n");this.type=a.type||"Syntax";this.message=a.message;this.filename=a.filename||b.filename;this.index=a.index;this.line="number"==typeof d?d+1:null;this.callLine=a.call&&l(a.call,c).line+1;this.callExtract=f[l(a.call,
c).line];this.stack=a.stack;this.column=e;this.extract=[f[d-1],f[d],f[d+1]]}var m,k,q,r,u,A,y,v,B;a=a||{};a.contents||(a.contents={});a.rootpath=a.rootpath||"";a.files||(a.files={});var C=function(){},w=this.imports={paths:a.paths||[],queue:[],files:a.files,contents:a.contents,mime:a.mime,error:null,push:function(b,c){var e=this;this.queue.push(b);h.Parser.importer(b,this.paths,function(a,d,f){e.queue.splice(e.queue.indexOf(b),1);var j=f in e.files;e.files[f]=d;a&&!e.error&&(e.error=a);c(a,d,j);0===
e.queue.length&&C(e.error)},a)}};return this.env=a=a||{},this.optimization="optimization"in this.env?this.env.optimization:1,this.env.filename=this.env.filename||null,B={imports:w,parse:function(b,c){var d,f,j,p=null;k=q=v=A=0;m=b.replace(/\r\n/g,"\n");m=m.replace(/^\uFEFF/,"");f=[[]];j=0;for(var x=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,s=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,F=0,r,E=f[0],u,z=0,w,D;z<m.length;)if(x.lastIndex=
z,(r=x.exec(m))&&r.index===z&&(z+=r[0].length,E.push(r[0])),w=m.charAt(z),l.lastIndex=s.lastIndex=z,(r=s.exec(m))&&r.index===z)z+=r[0].length,E.push(r[0]);else{if(!u&&"/"===w&&(D=m.charAt(z+1),"/"===D||"*"===D))if((r=l.exec(m))&&r.index===z){z+=r[0].length;E.push(r[0]);continue}switch(w){case "{":if(!u){F++;E.push(w);break}case "}":if(!u){F--;E.push(w);f[++j]=E=[];break}case "(":if(!u){u=!0;E.push(w);break}case ")":if(u){u=!1;E.push(w);break}default:E.push(w)}z++}y=(0!=F&&(p=new t({index:z-1,type:"Parse",
message:0<F?"missing closing `}`":"missing opening `{`",filename:a.filename},a)),f.map(function(a){return a.join("")}));if(p)return c(p,a);try{d=new g.Ruleset([],e(this.parsers.primary)),d.root=!0}catch(G){return c(new t(G,a))}var H=d.eval;d.toCSS=function(b,c){var e=[];b=b||{};"object"==typeof c&&!Array.isArray(c)&&(c=Object.keys(c).map(function(a){var b=c[a];return b instanceof g.Value||(b instanceof g.Expression||(b=new g.Expression([b])),b=new g.Value([b])),new g.Rule("@"+a,b,!1,0)}),e=[new g.Ruleset(null,
c)]);try{var d=H.call(this,{frames:e}).toCSS([],{compress:b.compress||!1,dumpLineNumbers:a.dumpLineNumbers})}catch(ka){throw new t(ka,a);}if(e=B.imports.error)throw e instanceof t?e:new t(e,a);return b.yuicompress&&"node"===h.mode?n("ycssmin").cssmin(d):b.compress?d.replace(/(\s)+/g,"$1"):d};if(k<m.length-1){k=A;j=m.split("\n");f=(m.slice(0,k).match(/\n/g)||"").length+1;x=k;for(l=-1;0<=x&&"\n"!==m.charAt(x);x--)l++;p={type:"Parse",message:"Syntax Error on line "+f,index:k,filename:a.filename,line:f,
column:l,extract:[j[f-2],j[f-1],j[f]]}}0<this.imports.queue.length?C=function(a){(a=p||a)?c(a):c(null,d)}:c(p,d)},parsers:{primary:function(){for(var a,b=[];(a=e(this.mixin.definition)||e(this.rule)||e(this.ruleset)||e(this.mixin.call)||e(this.comment)||e(this.directive))||e(/^[\s\n]+/)||e(/^;+/);)a&&b.push(a);return b},comment:function(){var a;if("/"===m.charAt(k)){if("/"===m.charAt(k+1))return new g.Comment(e(/^\/\/.*/),!0);if(a=e(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))return new g.Comment(a)}},entities:{quoted:function(){var a;
a=k;var b;"~"===m.charAt(a)&&(a++,b=!0);if(!('"'!==m.charAt(a)&&"'"!==m.charAt(a))&&(b&&e("~"),a=e(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/)))return new g.Quoted(a[0],a[1]||a[2],b)},keyword:function(){var a;if(a=e(/^[_A-Za-z-][_A-Za-z0-9-]*/))return g.colors.hasOwnProperty(a)?new g.Color(g.colors[a].slice(1)):new g.Keyword(a)},call:function(){var b,c,d=k;if(b=/^([\w-]+|%|progid:[\w\.]+)\(/.exec(y[q])){b=b[1];c=b.toLowerCase();if("url"===c)return null;k+=b.length;if("alpha"===c&&(c=e(this.alpha),
"undefined"!=typeof c))return c;e("(");c=e(this.entities.arguments);if(e(")")&&b)return new g.Call(b,c,d,a.filename)}},arguments:function(){for(var a=[],b;(b=e(this.entities.assignment)||e(this.expression))&&!(a.push(b),!e(",")););return a},literal:function(){return e(this.entities.ratio)||e(this.entities.dimension)||e(this.entities.color)||e(this.entities.quoted)||e(this.entities.unicodeDescriptor)},assignment:function(){var a,b;if((a=e(/^\w+(?=\s?=)/i))&&e("=")&&(b=e(this.entity)))return new g.Assignment(a,
b)},url:function(){var b;if("u"===m.charAt(k)&&e(/^url\(/))return b=e(this.entities.quoted)||e(this.entities.variable)||e(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",p(")"),new g.URL(null!=b.value||b instanceof g.Variable?b:new g.Anonymous(b),a.rootpath)},variable:function(){var b,c=k;if("@"===m.charAt(k)&&(b=e(/^@@?[\w-]+/)))return new g.Variable(b,c,a.filename)},variableCurly:function(){var b,c=k;if("@"===m.charAt(k)&&(b=e(/^@\{([\w-]+)\}/)))return new g.Variable("@"+b[1],c,a.filename)},color:function(){var a;
if("#"===m.charAt(k)&&(a=e(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/)))return new g.Color(a[1])},dimension:function(){var a;a=m.charCodeAt(k);if(!(57<a||43>a||47===a||44==a))if(a=e(/^([+-]?\d*\.?\d+)(px|%|em|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn|dpi|dpcm|dppx|rem|vw|vh|vmin|vm|ch)?/))return new g.Dimension(a[1],a[2])},ratio:function(){var a;a=m.charCodeAt(k);if(!(57<a||48>a))if(a=e(/^(\d+\/\d+)/))return new g.Ratio(a[1])},unicodeDescriptor:function(){var a;if(a=e(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/))return new g.UnicodeDescriptor(a[0])},
javascript:function(){var a;a=k;var b;"~"===m.charAt(a)&&(a++,b=!0);if("`"===m.charAt(a)&&(b&&e("~"),a=e(/^`([^`]*)`/)))return new g.JavaScript(a[1],k,b)}},variable:function(){var a;if("@"===m.charAt(k)&&(a=e(/^(@[\w-]+)\s*:/)))return a[1]},shorthand:function(){var a,d;if(x(/^[@\w.%-]+\/[@\w.-]+/)){b();if((a=e(this.entity))&&e("/")&&(d=e(this.entity)))return new g.Shorthand(a,d);c()}},mixin:{call:function(){var d=[],f,S,h=[],l=[],n,q,r,s=k;f=m.charAt(k);var t,F,E=!1;if(!("."!==f&&"#"!==f)){for(b();f=
e(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/);)d.push(new g.Element(S,f,k)),S=e(">");if(e("(")){for(f=[];n=e(this.expression);)if(S=null,F=n,1==n.value.length&&(n=n.value[0],n instanceof g.Variable&&e(":")&&(0<f.length&&(q&&j("Cannot mix ; and , as delimiter types"),r=!0),F=p(this.expression),S=t=n.name)),f.push(F),l.push({name:S,value:F}),!e(",")&&(e(";")||q))r&&j("Cannot mix ; and , as delimiter types"),q=!0,1<f.length&&(F=new g.Value(f)),h.push({name:t,value:F}),t=null,f=[],r=!1;p(")")}h=
q?h:l;e(this.important)&&(E=!0);if(0<d.length&&(e(";")||x("}")))return new g.mixin.Call(d,h,s,a.filename,E);c()}},definition:function(){var a,d=[],f,j,h,l=!1;if(!("."!==m.charAt(k)&&"#"!==m.charAt(k)||x(/^[^{]*\}/)))if(b(),a=e(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){a=a[1];do{e(this.comment);if("."===m.charAt(k)&&e(/^\.{3}/)){l=!0;d.push({variadic:!0});break}if(!(f=e(this.entities.variable)||e(this.entities.literal)||e(this.entities.keyword)))break;if(f instanceof g.Variable)if(e(":"))j=
p(this.expression,"expected expression"),d.push({name:f.name,value:j});else{if(e(/^\.{3}/)){d.push({name:f.name,variadic:!0});l=!0;break}d.push({name:f.name})}else d.push({value:f})}while(e(",")||e(";"));e(")")||(A=k,c());e(this.comment);e(/^when/)&&(h=p(this.conditions,"expected condition"));if(f=e(this.block))return new g.mixin.Definition(a,d,f,h,l);c()}}},entity:function(){return e(this.entities.literal)||e(this.entities.variable)||e(this.entities.url)||e(this.entities.call)||e(this.entities.keyword)||
e(this.entities.javascript)||e(this.comment)},end:function(){return e(";")||x("}")},alpha:function(){var a;if(e(/^\(opacity=/i)&&(a=e(/^\d+/)||e(this.entities.variable)))return p(")"),new g.Alpha(a)},element:function(){var a,b,c;b=e(this.combinator);(a=e(/^(?:\d+\.\d+|\d+)%/)||e(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||e("*")||e("&")||e(this.attribute)||e(/^\([^()@]+\)/)||e(/^[\.#](?=@)/)||e(this.entities.variableCurly))||e("(")&&(c=e(this.entities.variableCurly)||
e(this.entities.variable)||e(this.selector))&&e(")")&&(a=new g.Paren(c));if(a)return new g.Element(b,a,k)},combinator:function(){var a=m.charAt(k);if(">"===a||"+"===a||"~"===a||"|"===a){for(k++;m.charAt(k).match(/\s/);)k++;return new g.Combinator(a)}return m.charAt(k-1).match(/\s/)?new g.Combinator(" "):new g.Combinator(null)},selector:function(){var a,b=[],c;if(e("("))return a=e(this.entity),e(")")?new g.Selector([new g.Element("",a,k)]):null;for(;(a=e(this.element))&&!(c=m.charAt(k),b.push(a),"{"===
c||"}"===c||";"===c||","===c||")"===c););if(0<b.length)return new g.Selector(b)},attribute:function(){var a="",b,c,d;if(e("[")){if(b=e(/^(?:[_A-Za-z0-9-]|\\.)+/)||e(this.entities.quoted))(d=e(/^[|~*$^]?=/))&&(c=e(this.entities.quoted)||e(/^[\w-]+/))?a=[b,d,c.toCSS?c.toCSS():c].join(""):a=b;if(e("]")&&a)return"["+a+"]"}},block:function(){var a;if(e("{")&&(a=e(this.primary))&&e("}"))return a},ruleset:function(){var d=[],f,j,p;b();for(a.dumpLineNumbers&&(p=s(k,m,a));f=e(this.selector);){d.push(f);e(this.comment);
if(!e(","))break;e(this.comment)}if(0<d.length&&(j=e(this.block)))return d=new g.Ruleset(d,j,a.strictImports),a.dumpLineNumbers&&(d.debugInfo=p),d;A=k;c()},rule:function(){var a,d;a=m.charAt(k);var f;b();if(!("."===a||"#"===a||"&"===a))if(a=e(this.variable)||e(this.property)){"@"!=a.charAt(0)&&(f=/^([^@+\/'"*`(;{}-]*);/.exec(y[q]))?(k+=f[0].length-1,d=new g.Anonymous(f[1])):"font"===a?d=e(this.font):d=e(this.value);f=e(this.important);if(d&&e(this.end))return new g.Rule(a,d,f,u);A=k;c()}},"import":function(){var d,
f,j=k;b();var p=e(/^@import(?:-(once))?\s+/);if(p&&(d=e(this.entities.quoted)||e(this.entities.url)))if(f=e(this.mediaFeatures),e(";"))return new g.Import(d,w,f,"once"===p[1],j,a.rootpath);c()},mediaFeature:function(){var a,b,c=[];do if(a=e(this.entities.keyword))c.push(a);else if(e("(")){b=e(this.property);a=e(this.entity);if(!e(")"))return null;if(b&&a)c.push(new g.Paren(new g.Rule(b,a,null,k,!0)));else{if(!a)return null;c.push(new g.Paren(a))}}while(a);if(0<c.length)return new g.Expression(c)},
mediaFeatures:function(){var a,b=[];do if(a=e(this.mediaFeature)){if(b.push(a),!e(","))break}else if(a=e(this.entities.variable))if(b.push(a),!e(","))break;while(a);return 0<b.length?b:null},media:function(){var b,c,d,f;a.dumpLineNumbers&&(f=s(k,m,a));if(e(/^@media/)&&(b=e(this.mediaFeatures),c=e(this.block)))return d=new g.Media(c,b),a.dumpLineNumbers&&(d.debugInfo=f),d},directive:function(){var d,f,j,p,h;if("@"===m.charAt(k)){if(f=e(this["import"])||e(this.media))return f;b();if(d=e(/^@[a-z-]+/)){f=
d;"-"==d.charAt(1)&&0<d.indexOf("-",2)&&(f="@"+d.slice(d.indexOf("-",2)+1));switch(f){case "@font-face":j=!0;break;case "@viewport":case "@top-left":case "@top-left-corner":case "@top-center":case "@top-right":case "@top-right-corner":case "@bottom-left":case "@bottom-left-corner":case "@bottom-center":case "@bottom-right":case "@bottom-right-corner":case "@left-top":case "@left-middle":case "@left-bottom":case "@right-top":case "@right-middle":case "@right-bottom":j=!0;break;case "@page":case "@document":case "@supports":case "@keyframes":p=
j=!0;break;case "@namespace":h=!0}p&&(d+=" "+(e(/^[^{]+/)||"").trim());if(j){if(j=e(this.block))return new g.Directive(d,j)}else if((f=h?e(this.expression):e(this.entity))&&e(";"))return d=new g.Directive(d,f),a.dumpLineNumbers&&(d.debugInfo=s(k,m,a)),d;c()}}},font:function(){for(var a=[],b=[],c;c=e(this.shorthand)||e(this.entity);)b.push(c);a.push(new g.Expression(b));if(e(","))for(;(c=e(this.expression))&&!(a.push(c),!e(",")););return new g.Value(a)},value:function(){for(var a,b=[];(a=e(this.expression))&&
!(b.push(a),!e(",")););if(0<b.length)return new g.Value(b)},important:function(){if("!"===m.charAt(k))return e(/^! *important/)},sub:function(){var a;if(e("(")&&(a=e(this.expression))&&e(")"))return a},multiplication:function(){var a,b,c,d;if(a=e(this.operand)){for(;!x(/^\/[*\/]/)&&(c=e("/")||e("*"))&&(b=e(this.operand));)d=new g.Operation(c,[d||a,b]);return d||a}},addition:function(){var a,b,c,d;if(a=e(this.multiplication)){for(;(c=e(/^[-+]\s+/)||!f(m.charAt(k-1))&&(e("+")||e("-")))&&(b=e(this.multiplication));)d=
new g.Operation(c,[d||a,b]);return d||a}},conditions:function(){var a,b,c=k,d;if(a=e(this.condition)){for(;e(",")&&(b=e(this.condition));)d=new g.Condition("or",d||a,b,c);return d||a}},condition:function(){var a,b,c,d,f=k,h=!1;e(/^not/)&&(h=!0);p("(");if(a=e(this.addition)||e(this.entities.keyword)||e(this.entities.quoted))return(d=e(/^(?:>=|=<|[<=>])/))?(b=e(this.addition)||e(this.entities.keyword)||e(this.entities.quoted))?c=new g.Condition(d,a,b,f,h):j("expected expression"):c=new g.Condition("=",
a,new g.Keyword("true"),f,h),p(")"),e(/^and/)?new g.Condition("and",c,e(this.condition)):c},operand:function(){var a,b=m.charAt(k+1);"-"===m.charAt(k)&&("@"===b||"("===b)&&(a=e("-"));b=e(this.sub)||e(this.entities.dimension)||e(this.entities.color)||e(this.entities.variable)||e(this.entities.call);return a?new g.Operation("*",[new g.Dimension(-1),b]):b},expression:function(){for(var a,b=[];a=e(this.addition)||e(this.entity);)b.push(a);if(0<b.length)return new g.Expression(b)},property:function(){var a;
if(a=e(/^(\*?-?[_a-z0-9-]+)\s*:/))return a[1]}}}};if("browser"===h.mode||"rhino"===h.mode)h.Parser.importer=function(a,b,c,d){!/^([a-z-]+:)?\//.test(a)&&0<b.length&&(a=b[0]+a);ja({href:a,title:a,type:d.mime,contents:d.contents,files:d.files,rootpath:d.rootpath,entryPath:d.entryPath,relativeUrls:d.relativeUrls},function(a,e,p,j,g,h){a&&"function"==typeof d.errback?d.errback.call(null,h,b,c,d):c.call(null,a,e,h)},!0)};var l=n("./tree"),G=function(a){return l.functions.hsla(a.h,a.s,a.l,a.a)},A=function(a){if(a instanceof
l.Dimension)return parseFloat("%"==a.unit?a.value/100:a.value);if("number"==typeof a)return a;throw{error:"RuntimeError",message:"color functions take numbers as parameters"};},J=function(a){return Math.min(1,Math.max(0,a))};l.functions={rgb:function(a,b,c){return this.rgba(a,b,c,1)},rgba:function(a,b,c,d){a=[a,b,c].map(function(a){return a instanceof l.Dimension&&"%"==a.unit?parseFloat(256*a.value/100):A(a)});return d=A(d),new l.Color(a,d)},hsl:function(a,b,c){return this.hsla(a,b,c,1)},hsla:function(a,
b,c,d){function f(a){return a=0>a?a+1:1<a?a-1:a,1>6*a?p+6*(e-p)*a:1>2*a?e:2>3*a?p+6*(e-p)*(2/3-a):p}a=A(a)%360/360;b=A(b);c=A(c);d=A(d);var e=0.5>=c?c*(b+1):c+b-c*b,p=2*c-e;return this.rgba(255*f(a+1/3),255*f(a),255*f(a-1/3),d)},hsv:function(a,b,c){return this.hsva(a,b,c,1)},hsva:function(a,b,c,d){a=360*(A(a)%360/360);b=A(b);c=A(c);d=A(d);var f;f=Math.floor(a/60%6);a=a/60-f;b=[c,c*(1-b),c*(1-a*b),c*(1-(1-a)*b)];c=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return this.rgba(255*b[c[f][0]],255*
b[c[f][1]],255*b[c[f][2]],d)},hue:function(a){return new l.Dimension(Math.round(a.toHSL().h))},saturation:function(a){return new l.Dimension(Math.round(100*a.toHSL().s),"%")},lightness:function(a){return new l.Dimension(Math.round(100*a.toHSL().l),"%")},red:function(a){return new l.Dimension(a.rgb[0])},green:function(a){return new l.Dimension(a.rgb[1])},blue:function(a){return new l.Dimension(a.rgb[2])},alpha:function(a){return new l.Dimension(a.toHSL().a)},luma:function(a){return new l.Dimension(Math.round(100*
(0.2126*(a.rgb[0]/255)+0.7152*(a.rgb[1]/255)+0.0722*(a.rgb[2]/255))*a.alpha),"%")},saturate:function(a,b){var c=a.toHSL();return c.s+=b.value/100,c.s=J(c.s),G(c)},desaturate:function(a,b){var c=a.toHSL();return c.s-=b.value/100,c.s=J(c.s),G(c)},lighten:function(a,b){var c=a.toHSL();return c.l+=b.value/100,c.l=J(c.l),G(c)},darken:function(a,b){var c=a.toHSL();return c.l-=b.value/100,c.l=J(c.l),G(c)},fadein:function(a,b){var c=a.toHSL();return c.a+=b.value/100,c.a=J(c.a),G(c)},fadeout:function(a,b){var c=
a.toHSL();return c.a-=b.value/100,c.a=J(c.a),G(c)},fade:function(a,b){var c=a.toHSL();return c.a=b.value/100,c.a=J(c.a),G(c)},spin:function(a,b){var c=a.toHSL(),d=(c.h+b.value)%360;return c.h=0>d?360+d:d,G(c)},mix:function(a,b,c){c||(c=new l.Dimension(50));c=c.value/100;var d=2*c-1,f=a.toHSL().a-b.toHSL().a,d=((-1==d*f?d:(d+f)/(1+d*f))+1)/2,f=1-d;return new l.Color([a.rgb[0]*d+b.rgb[0]*f,a.rgb[1]*d+b.rgb[1]*f,a.rgb[2]*d+b.rgb[2]*f],a.alpha*c+b.alpha*(1-c))},greyscale:function(a){return this.desaturate(a,
new l.Dimension(100))},contrast:function(a,b,c,d){return a.rgb?("undefined"==typeof c&&(c=this.rgba(255,255,255,1)),"undefined"==typeof b&&(b=this.rgba(0,0,0,1)),"undefined"==typeof d?d=0.43:d=d.value,(0.2126*(a.rgb[0]/255)+0.7152*(a.rgb[1]/255)+0.0722*(a.rgb[2]/255))*a.alpha<d?c:b):null},e:function(a){return new l.Anonymous(a instanceof l.JavaScript?a.evaluated:a)},escape:function(a){return new l.Anonymous(encodeURI(a.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,
"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},"%":function(a){for(var b=Array.prototype.slice.call(arguments,1),c=a.value,d=0;d<b.length;d++)c=c.replace(/%[sda]/i,function(a){var c=a.match(/s/i)?b[d].value:b[d].toCSS();return a.match(/[A-Z]$/)?encodeURIComponent(c):c});return c=c.replace(/%%/g,"%"),new l.Quoted('"'+c+'"',c)},unit:function(a,b){return new l.Dimension(a.value,b?b.toCSS():"")},round:function(a,b){var c="undefined"==typeof b?0:b.value;return this._math(function(a){return a.toFixed(c)},
a)},ceil:function(a){return this._math(Math.ceil,a)},floor:function(a){return this._math(Math.floor,a)},_math:function(a,b){if(b instanceof l.Dimension)return new l.Dimension(a(parseFloat(b.value)),b.unit);if("number"==typeof b)return a(b);throw{type:"Argument",message:"argument must be a number"};},argb:function(a){return new l.Anonymous(a.toARGB())},percentage:function(a){return new l.Dimension(100*a.value,"%")},color:function(a){if(a instanceof l.Quoted)return new l.Color(a.value.slice(1));throw{type:"Argument",
message:"argument must be a string"};},iscolor:function(a){return this._isa(a,l.Color)},isnumber:function(a){return this._isa(a,l.Dimension)},isstring:function(a){return this._isa(a,l.Quoted)},iskeyword:function(a){return this._isa(a,l.Keyword)},isurl:function(a){return this._isa(a,l.URL)},ispixel:function(a){return a instanceof l.Dimension&&"px"===a.unit?l.True:l.False},ispercentage:function(a){return a instanceof l.Dimension&&"%"===a.unit?l.True:l.False},isem:function(a){return a instanceof l.Dimension&&
"em"===a.unit?l.True:l.False},_isa:function(a,b){return a instanceof b?l.True:l.False},multiply:function(a,b){return this.rgb(a.rgb[0]*b.rgb[0]/255,a.rgb[1]*b.rgb[1]/255,a.rgb[2]*b.rgb[2]/255)},screen:function(a,b){return this.rgb(255-(255-a.rgb[0])*(255-b.rgb[0])/255,255-(255-a.rgb[1])*(255-b.rgb[1])/255,255-(255-a.rgb[2])*(255-b.rgb[2])/255)},overlay:function(a,b){return this.rgb(128>a.rgb[0]?2*a.rgb[0]*b.rgb[0]/255:255-2*(255-a.rgb[0])*(255-b.rgb[0])/255,128>a.rgb[1]?2*a.rgb[1]*b.rgb[1]/255:255-
2*(255-a.rgb[1])*(255-b.rgb[1])/255,128>a.rgb[2]?2*a.rgb[2]*b.rgb[2]/255:255-2*(255-a.rgb[2])*(255-b.rgb[2])/255)},softlight:function(a,b){var c=b.rgb[0]*a.rgb[0]/255,d=c+a.rgb[0]*(255-(255-a.rgb[0])*(255-b.rgb[0])/255-c)/255,c=b.rgb[1]*a.rgb[1]/255,f=c+a.rgb[1]*(255-(255-a.rgb[1])*(255-b.rgb[1])/255-c)/255,c=b.rgb[2]*a.rgb[2]/255;return this.rgb(d,f,c+a.rgb[2]*(255-(255-a.rgb[2])*(255-b.rgb[2])/255-c)/255)},hardlight:function(a,b){return this.rgb(128>b.rgb[0]?2*b.rgb[0]*a.rgb[0]/255:255-2*(255-b.rgb[0])*
(255-a.rgb[0])/255,128>b.rgb[1]?2*b.rgb[1]*a.rgb[1]/255:255-2*(255-b.rgb[1])*(255-a.rgb[1])/255,128>b.rgb[2]?2*b.rgb[2]*a.rgb[2]/255:255-2*(255-b.rgb[2])*(255-a.rgb[2])/255)},difference:function(a,b){var c=Math.abs(a.rgb[0]-b.rgb[0]),d=Math.abs(a.rgb[1]-b.rgb[1]),f=Math.abs(a.rgb[2]-b.rgb[2]);return this.rgb(c,d,f)},exclusion:function(a,b){return this.rgb(a.rgb[0]+b.rgb[0]*(255-a.rgb[0]-a.rgb[0])/255,a.rgb[1]+b.rgb[1]*(255-a.rgb[1]-a.rgb[1])/255,a.rgb[2]+b.rgb[2]*(255-a.rgb[2]-a.rgb[2])/255)},average:function(a,
b){return this.rgb((a.rgb[0]+b.rgb[0])/2,(a.rgb[1]+b.rgb[1])/2,(a.rgb[2]+b.rgb[2])/2)},negation:function(a,b){var c=255-Math.abs(255-b.rgb[0]-a.rgb[0]),d=255-Math.abs(255-b.rgb[1]-a.rgb[1]),f=255-Math.abs(255-b.rgb[2]-a.rgb[2]);return this.rgb(c,d,f)},tint:function(a,b){return this.mix(this.rgb(255,255,255),a,b)},shade:function(a,b){return this.mix(this.rgb(0,0,0),a,b)}};n("./tree").colors={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",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",
slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var s=n("../tree");s.Alpha=function(a){this.value=a};s.Alpha.prototype={toCSS:function(){return"alpha(opacity="+(this.value.toCSS?this.value.toCSS():this.value)+")"},eval:function(a){return this.value.eval&&(this.value=this.value.eval(a)),
this}};s=n("../tree");s.Anonymous=function(a){this.value=a.value||a};s.Anonymous.prototype={toCSS:function(){return this.value},eval:function(){return this},compare:function(a){if(!a.toCSS)return-1;var b=this.toCSS();a=a.toCSS();return b===a?0:b<a?-1:1}};var ba=n("../tree");ba.Assignment=function(a,b){this.key=a;this.value=b};ba.Assignment.prototype={toCSS:function(){return this.key+"="+(this.value.toCSS?this.value.toCSS():this.value)},eval:function(a){return this.value.eval?new ba.Assignment(this.key,
this.value.eval(a)):this}};var O=n("../tree");O.Call=function(a,b,c,d){this.name=a;this.args=b;this.index=c;this.filename=d};O.Call.prototype={eval:function(a){var b=this.args.map(function(b){return b.eval(a)}),c;if(this.name in O.functions)try{if(c=O.functions[this.name].apply(O.functions,b),null!=c)return c}catch(d){throw{type:d.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(d.message?": "+d.message:""),index:this.index,filename:this.filename};}return new O.Anonymous(this.name+
"("+b.map(function(b){return b.toCSS(a)}).join(", ")+")")},toCSS:function(a){return this.eval(a).toCSS()}};var T=n("../tree");T.Color=function(a,b){Array.isArray(a)?this.rgb=a:6==a.length?this.rgb=a.match(/.{2}/g).map(function(a){return parseInt(a,16)}):this.rgb=a.split("").map(function(a){return parseInt(a+a,16)});this.alpha="number"==typeof b?b:1};T.Color.prototype={eval:function(){return this},toCSS:function(){return 1>this.alpha?"rgba("+this.rgb.map(function(a){return Math.round(a)}).concat(this.alpha).join(", ")+
")":"#"+this.rgb.map(function(a){return a=Math.round(a),a=(255<a?255:0>a?0:a).toString(16),1===a.length?"0"+a:a}).join("")},operate:function(a,b){var c=[];b instanceof T.Color||(b=b.toColor());for(var d=0;3>d;d++)c[d]=T.operate(a,this.rgb[d],b.rgb[d]);return new T.Color(c,this.alpha+b.alpha)},toHSL:function(){var a=this.rgb[0]/255,b=this.rgb[1]/255,c=this.rgb[2]/255,d=this.alpha,f=Math.max(a,b,c),e=Math.min(a,b,c),p,j=(f+e)/2,h=f-e;if(f===e)p=e=0;else{e=0.5<j?h/(2-f-e):h/(f+e);switch(f){case a:p=
(b-c)/h+(b<c?6:0);break;case b:p=(c-a)/h+2;break;case c:p=(a-b)/h+4}p/=6}return{h:360*p,s:e,l:j,a:d}},toARGB:function(){return"#"+[Math.round(255*this.alpha)].concat(this.rgb).map(function(a){return a=Math.round(a),a=(255<a?255:0>a?0:a).toString(16),1===a.length?"0"+a:a}).join("")},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:-1:-1}};s=n("../tree");s.Comment=function(a,b){this.value=a;this.silent=!!b};s.Comment.prototype=
{toCSS:function(a){return a.compress?"":this.value},eval:function(){return this}};s=n("../tree");s.Condition=function(a,b,c,d,f){this.op=a.trim();this.lvalue=b;this.rvalue=c;this.index=d;this.negate=f};s.Condition.prototype.eval=function(a){var b=this.lvalue.eval(a),c=this.rvalue.eval(a),d=this.index,f;f=function(a){switch(a){case "and":return b&&c;case "or":return b||c;default:if(b.compare)f=b.compare(c);else{if(!c.compare)throw{type:"Type",message:"Unable to perform comparison",index:d};f=c.compare(b)}switch(f){case -1:return"<"===
a||"=<"===a;case 0:return"="===a||">="===a||"=<"===a;case 1:return">"===a||">="===a}}}(this.op);return this.negate?!f:f};var P=n("../tree");P.Dimension=function(a,b){this.value=parseFloat(a);this.unit=b||null};P.Dimension.prototype={eval:function(){return this},toColor:function(){return new P.Color([this.value,this.value,this.value])},toCSS:function(){return this.value+this.unit},operate:function(a,b){return new P.Dimension(P.operate(a,this.value,b.value),this.unit||b.unit)},compare:function(a){return a instanceof
P.Dimension?a.value>this.value?-1:a.value<this.value?1:a.unit&&this.unit!==a.unit?-1:0:-1}};var K=n("../tree");K.Directive=function(a,b){this.name=a;Array.isArray(b)?(this.ruleset=new K.Ruleset([],b),this.ruleset.allowImports=!0):this.value=b};K.Directive.prototype={toCSS:function(a,b){return this.ruleset?(this.ruleset.root=!0,this.name+(b.compress?"{":" {\n  ")+this.ruleset.toCSS(a,b).trim().replace(/\n/g,"\n  ")+(b.compress?"}":"\n}\n")):this.name+" "+this.value.toCSS()+";\n"},eval:function(a){var b=
this;return this.ruleset&&(a.frames.unshift(this),b=new K.Directive(this.name),b.ruleset=this.ruleset.eval(a),a.frames.shift()),b},variable:function(a){return K.Ruleset.prototype.variable.call(this.ruleset,a)},find:function(){return K.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){return K.Ruleset.prototype.rulesets.apply(this.ruleset)}};var H=n("../tree");H.Element=function(a,b,c){this.combinator=a instanceof H.Combinator?a:new H.Combinator(a);"string"==typeof b?this.value=
b.trim():b?this.value=b:this.value="";this.index=c};H.Element.prototype.eval=function(a){return new H.Element(this.combinator,this.value.eval?this.value.eval(a):this.value,this.index)};H.Element.prototype.toCSS=function(a){var b=this.value.toCSS?this.value.toCSS(a):this.value;return""==b&&"&"==this.combinator.value.charAt(0)?"":this.combinator.toCSS(a||{})+b};H.Combinator=function(a){" "===a?this.value=" ":this.value=a?a.trim():""};H.Combinator.prototype.toCSS=function(a){return{"":""," ":" ",":":" :",
"+":a.compress?"+":" + ","~":a.compress?"~":" ~ ",">":a.compress?">":" > ","|":a.compress?"|":" | "}[this.value]};var ca=n("../tree");ca.Expression=function(a){this.value=a};ca.Expression.prototype={eval:function(a){return 1<this.value.length?new ca.Expression(this.value.map(function(b){return b.eval(a)})):1===this.value.length?this.value[0].eval(a):this},toCSS:function(a){return this.value.map(function(b){return b.toCSS?b.toCSS(a):""}).join(" ")}};var L=n("../tree");L.Import=function(a,b,c,d,f,e){var p=
this;this.once=d;this.index=f;this._path=a;this.features=c&&new L.Value(c);this.rootpath=e;a instanceof L.Quoted?this.path=/(\.[a-z]*$)|([\?;].*)$/.test(a.value)?a.value:a.value+".less":this.path=a.value.value||a.value;(this.css=/css([\?;].*)?$/.test(this.path))||b.push(this.path,function(a,b,c){a&&(a.index=f);c&&p.once&&(p.skip=c);p.root=b||new L.Ruleset([],[])})};L.Import.prototype={toCSS:function(a){a=this.features?" "+this.features.toCSS(a):"";return this.css?("string"==typeof this._path.value&&
!/^(?:[a-z-]+:|\/)/.test(this._path.value)&&(this._path.value=this.rootpath+this._path.value),"@import "+this._path.toCSS()+a+";\n"):""},eval:function(a){var b;this.features&&this.features.eval(a);return this.skip?[]:this.css?this:(b=new L.Ruleset([],this.root.rules.slice(0)),b.evalImports(a),this.features?new L.Media(b.rules,this.features.value):b.rules)}};var M=n("../tree");M.JavaScript=function(a,b,c){this.escaped=c;this.expression=a;this.index=b};M.JavaScript.prototype={eval:function(a){var b,
c=this,d={},f=this.expression.replace(/@\{([\w-]+)\}/g,function(b,d){return M.jsify((new M.Variable("@"+d,c.index)).eval(a))});try{f=new Function("return ("+f+")")}catch(e){throw{message:"JavaScript evaluation error: `"+f+"`",index:this.index};}for(var p in a.frames[0].variables())d[p.slice(1)]={value:a.frames[0].variables()[p].value,toJS:function(){return this.value.eval(a).toCSS()}};try{b=f.call(d)}catch(j){throw{message:"JavaScript evaluation error: '"+j.name+": "+j.message+"'",index:this.index};
}return"string"==typeof b?new M.Quoted('"'+b+'"',b,this.escaped,this.index):Array.isArray(b)?new M.Anonymous(b.join(", ")):new M.Anonymous(b)}};var N=n("../tree");N.Keyword=function(a){this.value=a};N.Keyword.prototype={eval:function(){return this},toCSS:function(){return this.value},compare:function(a){return a instanceof N.Keyword?a.value===this.value?0:1:-1}};N.True=new N.Keyword("true");N.False=new N.Keyword("false");var q=n("../tree");q.Media=function(a,b){var c=this.emptySelectors();this.features=
new q.Value(b);this.ruleset=new q.Ruleset(c,a);this.ruleset.allowImports=!0};q.Media.prototype={toCSS:function(a,b){var c=this.features.toCSS(b);return this.ruleset.root=0===a.length||a[0].multiMedia,"@media "+c+(b.compress?"{":" {\n  ")+this.ruleset.toCSS(a,b).trim().replace(/\n/g,"\n  ")+(b.compress?"}":"\n}\n")},eval:function(a){a.mediaBlocks||(a.mediaBlocks=[],a.mediaPath=[]);var b=new q.Media([],[]);return this.debugInfo&&(this.ruleset.debugInfo=this.debugInfo,b.debugInfo=this.debugInfo),b.features=
this.features.eval(a),a.mediaPath.push(b),a.mediaBlocks.push(b),a.frames.unshift(this.ruleset),b.ruleset=this.ruleset.eval(a),a.frames.shift(),a.mediaPath.pop(),0===a.mediaPath.length?b.evalTop(a):b.evalNested(a)},variable:function(a){return q.Ruleset.prototype.variable.call(this.ruleset,a)},find:function(){return q.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){return q.Ruleset.prototype.rulesets.apply(this.ruleset)},emptySelectors:function(){var a=new q.Element("","&",
0);return[new q.Selector([a])]},evalTop:function(a){var b=this;1<a.mediaBlocks.length&&(b=this.emptySelectors(),b=new q.Ruleset(b,a.mediaBlocks),b.multiMedia=!0);return delete a.mediaBlocks,delete a.mediaPath,b},evalNested:function(a){var b,c=a.mediaPath.concat([this]);for(b=0;b<c.length;b++)a=c[b].features instanceof q.Value?c[b].features.value:c[b].features,c[b]=Array.isArray(a)?a:[a];return this.features=new q.Value(this.permute(c).map(function(a){a=a.map(function(a){return a.toCSS?a:new q.Anonymous(a)});
for(b=a.length-1;0<b;b--)a.splice(b,0,new q.Anonymous("and"));return new q.Expression(a)})),new q.Ruleset([],[])},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;d<c.length;d++)for(var f=0;f<a[0].length;f++)b.push([a[0][f]].concat(c[d]));return b},bubbleSelectors:function(a){this.ruleset=new q.Ruleset(a.slice(0),[this.ruleset])}};var r=n("../tree");r.mixin={};r.mixin.Call=function(a,b,c,d,f){this.selector=new r.Selector(a);this.arguments=
b;this.index=c;this.filename=d;this.important=f};r.mixin.Call.prototype={eval:function(a){var b,c,d,f=[],e=!1,p,j,h,g,l;d=this.arguments&&this.arguments.map(function(b){return{name:b.name,value:b.value.eval(a)}});for(p=0;p<a.frames.length;p++)if(0<(b=a.frames[p].find(this.selector)).length){l=!0;for(j=0;j<b.length;j++){c=b[j];g=!1;for(h=0;h<a.frames.length;h++)if(!(c instanceof r.mixin.Definition)&&c===(a.frames[h].originalRuleset||a.frames[h])){g=!0;break}if(!g&&c.matchArgs(d,a)){if(!c.matchCondition||
c.matchCondition(d,a))try{Array.prototype.push.apply(f,c.eval(a,d,this.important).rules)}catch(n){throw{message:n.message,index:this.index,filename:this.filename,stack:n.stack};}e=!0}}if(e)return f}throw l?{type:"Runtime",message:"No matching definition was found for `"+this.selector.toCSS().trim()+"("+(d?d.map(function(a){var b="";return a.name&&(b+=a.name+":"),a.value.toCSS?b+=a.value.toCSS():b+="???",b}).join(", "):"")+")`",index:this.index,filename:this.filename}:{type:"Name",message:this.selector.toCSS().trim()+
" is undefined",index:this.index,filename:this.filename};}};r.mixin.Definition=function(a,b,c,d,f){this.name=a;this.selectors=[new r.Selector([new r.Element(null,a)])];this.params=b;this.condition=d;this.variadic=f;this.arity=b.length;this.rules=c;this._lookups={};this.required=b.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:a},0);this.parent=r.Ruleset.prototype;this.frames=[]};r.mixin.Definition.prototype={toCSS:function(){return""},variable:function(a){return this.parent.variable.call(this,
a)},variables:function(){return this.parent.variables.call(this)},find:function(){return this.parent.find.apply(this,arguments)},rulesets:function(){return this.parent.rulesets.apply(this)},evalParams:function(a,b,c,d){var f=new r.Ruleset(null,[]),e,h=this.params.slice(0),j,g,l,n;if(c){c=c.slice(0);for(j=0;j<c.length;j++)if(l=(e=c[j])&&e.name){n=!1;for(g=0;g<h.length;g++)if(!d[g]&&l===h[g].name){d[g]=e.value.eval(a);f.rules.unshift(new r.Rule(l,e.value.eval(a)));n=!0;break}if(n)c.splice(j,1),j--;
else throw{type:"Runtime",message:"Named argument for "+this.name+" "+c[j].name+" not found"};}}for(j=n=0;j<h.length;j++)if(!d[j]){e=c&&c[n];if(l=h[j].name)if(h[j].variadic&&c){e=[];for(g=n;g<c.length;g++)e.push(c[g].value.eval(a));f.rules.unshift(new r.Rule(l,(new r.Expression(e)).eval(a)))}else{if(g=e&&e.value)g=g.eval(a);else{if(!h[j].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+c.length+" for "+this.arity+")"};g=h[j].value.eval(b)}f.rules.unshift(new r.Rule(l,
g));d[j]=g}if(h[j].variadic&&c)for(g=n;g<c.length;g++)d[g]=c[g].value.eval(a);n++}return f},eval:function(a,b,c){var d=[],f=this.frames.concat(a.frames);b=this.evalParams(a,{frames:f},b,d);var e,g;return b.rules.unshift(new r.Rule("@arguments",(new r.Expression(d)).eval(a))),e=c?this.parent.makeImportant.apply(this).rules:this.rules.slice(0),g=(new r.Ruleset(null,e)).eval({frames:[this,b].concat(f)}),g.originalRuleset=this,g},matchCondition:function(a,b){return this.condition&&!this.condition.eval({frames:[this.evalParams(b,
{frames:this.frames.concat(b.frames)},a,[])].concat(b.frames)})?!1:!0},matchArgs:function(a,b){var c=a&&a.length||0;if(!this.variadic&&(c<this.required||c>this.params.length||0<this.required&&c>this.params.length))return!1;for(var c=Math.min(c,this.arity),d=0;d<c;d++)if(!this.params[d].name&&!this.params[d].variadic&&a[d].value.eval(b).toCSS()!=this.params[d].value.eval(b).toCSS())return!1;return!0}};var U=n("../tree");U.Operation=function(a,b){this.op=a.trim();this.operands=b};U.Operation.prototype.eval=
function(a){var b=this.operands[0].eval(a);a=this.operands[1].eval(a);var c;if(b instanceof U.Dimension&&a instanceof U.Color){if("*"!==this.op&&"+"!==this.op)throw{name:"OperationError",message:"Can't substract or divide a color from a number"};c=a;a=b;b=c}if(!b.operate)throw{name:"OperationError",message:"Operation on an invalid type"};return b.operate(this.op,a)};U.operate=function(a,b,c){switch(a){case "+":return b+c;case "-":return b-c;case "*":return b*c;case "/":return b/c}};var da=n("../tree");
da.Paren=function(a){this.value=a};da.Paren.prototype={toCSS:function(a){return"("+this.value.toCSS(a)+")"},eval:function(a){return new da.Paren(this.value.eval(a))}};var Q=n("../tree");Q.Quoted=function(a,b,c,d){this.escaped=c;this.value=b||"";this.quote=a.charAt(0);this.index=d};Q.Quoted.prototype={toCSS:function(){return this.escaped?this.value:this.quote+this.value+this.quote},eval:function(a){var b=this,c=this.value.replace(/`([^`]+)`/g,function(c,f){return(new Q.JavaScript(f,b.index,!0)).eval(a).value}).replace(/@\{([\w-]+)\}/g,
function(c,f){var e=(new Q.Variable("@"+f,b.index)).eval(a);return e instanceof Q.Quoted?e.value:e.toCSS()});return new Q.Quoted(this.quote+c+this.quote,c,this.escaped,this.index)},compare:function(a){if(!a.toCSS)return-1;var b=this.toCSS();a=a.toCSS();return b===a?0:b<a?-1:1}};s=n("../tree");s.Ratio=function(a){this.value=a};s.Ratio.prototype={toCSS:function(){return this.value},eval:function(){return this}};var B=n("../tree");B.Rule=function(a,b,c,d,f){this.name=a;this.value=b instanceof B.Value?
b:new B.Value([b]);this.important=c?" "+c.trim():"";this.index=d;this.inline=f||!1;"@"===a.charAt(0)?this.variable=!0:this.variable=!1};B.Rule.prototype.toCSS=function(a){return this.variable?"":this.name+(a.compress?":":": ")+this.value.toCSS(a)+this.important+(this.inline?"":";")};B.Rule.prototype.eval=function(a){return new B.Rule(this.name,this.value.eval(a),this.important,this.index,this.inline)};B.Rule.prototype.makeImportant=function(){return new B.Rule(this.name,this.value,"!important",this.index,
this.inline)};B.Shorthand=function(a,b){this.a=a;this.b=b};B.Shorthand.prototype={toCSS:function(a){return this.a.toCSS(a)+"/"+this.b.toCSS(a)},eval:function(){return this}};var t=n("../tree");t.Ruleset=function(a,b,c){this.selectors=a;this.rules=b;this._lookups={};this.strictImports=c};t.Ruleset.prototype={eval:function(a){var b=this.selectors&&this.selectors.map(function(b){return b.eval(a)}),c=new t.Ruleset(b,this.rules.slice(0),this.strictImports),d;c.originalRuleset=this;c.root=this.root;c.allowImports=
this.allowImports;this.debugInfo&&(c.debugInfo=this.debugInfo);a.frames.unshift(c);(c.root||c.allowImports||!c.strictImports)&&c.evalImports(a);for(var f=0;f<c.rules.length;f++)c.rules[f]instanceof t.mixin.Definition&&(c.rules[f].frames=a.frames.slice(0));for(var e=a.mediaBlocks&&a.mediaBlocks.length||0,f=0;f<c.rules.length;f++)c.rules[f]instanceof t.mixin.Call&&(d=c.rules[f].eval(a),c.rules.splice.apply(c.rules,[f,1].concat(d)),f+=d.length-1,c.resetCache());for(f=0;f<c.rules.length;f++)d=c.rules[f],
d instanceof t.mixin.Definition||(c.rules[f]=d.eval?d.eval(a):d);a.frames.shift();if(a.mediaBlocks)for(f=e;f<a.mediaBlocks.length;f++)a.mediaBlocks[f].bubbleSelectors(b);return c},evalImports:function(a){var b,c;for(b=0;b<this.rules.length;b++)this.rules[b]instanceof t.Import&&(c=this.rules[b].eval(a),"number"==typeof c.length?(this.rules.splice.apply(this.rules,[b,1].concat(c)),b+=c.length-1):this.rules.splice(b,1,c),this.resetCache())},makeImportant:function(){return new t.Ruleset(this.selectors,
this.rules.map(function(a){return a.makeImportant?a.makeImportant():a}),this.strictImports)},matchArgs:function(a){return!a||0===a.length},resetCache:function(){this._variables=this._rulesets=null;this._lookups={}},variables:function(){return this._variables?this._variables:this._variables=this.rules.reduce(function(a,b){return b instanceof t.Rule&&!0===b.variable&&(a[b.name]=b),a},{})},variable:function(a){return this.variables()[a]},rulesets:function(){return this._rulesets?this._rulesets:this._rulesets=
this.rules.filter(function(a){return a instanceof t.Ruleset||a instanceof t.mixin.Definition})},find:function(a,b){b=b||this;var c=[],d=a.toCSS();return d in this._lookups?this._lookups[d]:(this.rulesets().forEach(function(d){if(d!==b)for(var e=0;e<d.selectors.length;e++)if(a.match(d.selectors[e])){a.elements.length>d.selectors[e].elements.length?Array.prototype.push.apply(c,d.find(new t.Selector(a.elements.slice(1)),b)):c.push(d);break}}),this._lookups[d]=c)},toCSS:function(a,b){var c=[],d=[],f=
[],e=[],g=[],j;this.root||this.joinSelectors(g,a,this.selectors);for(var h=0;h<this.rules.length;h++)if(j=this.rules[h],j.rules||j instanceof t.Media)e.push(j.toCSS(g,b));else if(j instanceof t.Directive){var l=j.toCSS(g,b);if("@charset"===j.name){if(b.charset){j.debugInfo&&(e.push(t.debugInfo(b,j)),e.push((new t.Comment("/* "+l.replace(/\n/g,"")+" */\n")).toCSS(b)));continue}b.charset=!0}e.push(l)}else j instanceof t.Comment?j.silent||(this.root?e.push(j.toCSS(b)):d.push(j.toCSS(b))):j.toCSS&&!j.variable?
d.push(j.toCSS(b)):j.value&&!j.variable&&d.push(j.value.toString());e=e.join("");if(this.root)c.push(d.join(b.compress?"":"\n"));else if(0<d.length){j=t.debugInfo(b,this);g=g.map(function(a){return a.map(function(a){return a.toCSS(b)}).join("").trim()}).join(b.compress?",":",\n");for(h=d.length-1;0<=h;h--)-1===f.indexOf(d[h])&&f.unshift(d[h]);c.push(j+g+(b.compress?"{":" {\n  ")+f.join(b.compress?"":"\n  ")+(b.compress?"}":"\n}\n"))}return c.push(e),c.join("")+(b.compress?"\n":"")},joinSelectors:function(a,
b,c){for(var d=0;d<c.length;d++)this.joinSelector(a,b,c[d])},joinSelector:function(a,b,c){var d,f,e,g,h,l,n,q,r,m,k,s,u;for(d=0;d<c.elements.length;d++)h=c.elements[d],"&"===h.value&&(g=!0);if(g){f=[];g=[[]];for(d=0;d<c.elements.length;d++)if(h=c.elements[d],"&"!==h.value)f.push(h);else{u=[];0<f.length&&this.mergeElementsOnToSelectors(f,g);for(f=0;f<g.length;f++)if(l=g[f],0==b.length)0<l.length&&(l[0].elements=l[0].elements.slice(0),l[0].elements.push(new t.Element(h.combinator,"",0))),u.push(l);
else for(e=0;e<b.length;e++)n=b[e],q=[],r=[],k=!0,0<l.length?(q=l.slice(0),s=q.pop(),m=new t.Selector(s.elements.slice(0)),k=!1):m=new t.Selector([]),1<n.length&&(r=r.concat(n.slice(1))),0<n.length&&(k=!1,m.elements.push(new t.Element(h.combinator,n[0].elements[0].value,0)),m.elements=m.elements.concat(n[0].elements.slice(1))),k||q.push(m),q=q.concat(r),u.push(q);g=u;f=[]}0<f.length&&this.mergeElementsOnToSelectors(f,g);for(d=0;d<g.length;d++)a.push(g[d])}else if(0<b.length)for(d=0;d<b.length;d++)a.push(b[d].concat(c));
else a.push([c])},mergeElementsOnToSelectors:function(a,b){var c,d;if(0==b.length)b.push([new t.Selector(a)]);else for(c=0;c<b.length;c++)d=b[c],0<d.length?d[d.length-1]=new t.Selector(d[d.length-1].elements.concat(a)):d.push(new t.Selector(a))}};var V=n("../tree");V.Selector=function(a){this.elements=a};V.Selector.prototype.match=function(a){var b=this.elements,c=b.length,d,f;a=a.elements.slice(a.elements.length&&"&"===a.elements[0].value?1:0);d=a.length;f=Math.min(c,d);if(0===d||c<d)return!1;for(c=
0;c<f;c++)if(b[c].value!==a[c].value)return!1;return!0};V.Selector.prototype.eval=function(a){return new V.Selector(this.elements.map(function(b){return b.eval(a)}))};V.Selector.prototype.toCSS=function(a){return this._css?this._css:(""===this.elements[0].combinator.value?this._css=" ":this._css="",this._css+=this.elements.map(function(b){return"string"==typeof b?" "+b.trim():b.toCSS(a)}).join(""),this._css)};s=n("../tree");s.UnicodeDescriptor=function(a){this.value=a};s.UnicodeDescriptor.prototype=
{toCSS:function(){return this.value},eval:function(){return this}};var ea=n("../tree");ea.URL=function(a,b){this.value=a;this.rootpath=b};ea.URL.prototype={toCSS:function(){return"url("+this.value.toCSS()+")"},eval:function(a){a=this.value.eval(a);var b;return"string"==typeof a.value&&!/^(?:[a-z-]+:|\/)/.test(a.value)&&(b=this.rootpath,a.quote||(b=b.replace(/[\(\)'"\s]/g,function(a){return"\\"+a})),a.value=b+a.value),new ea.URL(a,this.rootpath)}};var fa=n("../tree");fa.Value=function(a){this.value=
a;this.is="value"};fa.Value.prototype={eval:function(a){return 1===this.value.length?this.value[0].eval(a):new fa.Value(this.value.map(function(b){return b.eval(a)}))},toCSS:function(a){return this.value.map(function(b){return b.toCSS(a)}).join(a.compress?",":", ")}};var Y=n("../tree");Y.Variable=function(a,b,c){this.name=a;this.index=b;this.file=c};Y.Variable.prototype={eval:function(a){var b,c,d=this.name;0==d.indexOf("@@")&&(d="@"+(new Y.Variable(d.slice(1))).eval(a).value);if(this.evaluating)throw{type:"Name",
message:"Recursive variable definition for "+d,filename:this.file,index:this.index};this.evaluating=!0;if(b=Y.find(a.frames,function(b){if(c=b.variable(d))return c.value.eval(a)}))return this.evaluating=!1,b;throw{type:"Name",message:"variable "+d+" is undefined",filename:this.file,index:this.index};}};var w=n("./tree");w.debugInfo=function(a,b){var c="";if(a.dumpLineNumbers&&!a.compress)switch(a.dumpLineNumbers){case "comments":c=w.debugInfo.asComment(b);break;case "mediaquery":c=w.debugInfo.asMediaQuery(b);
break;case "all":c=w.debugInfo.asComment(b)+w.debugInfo.asMediaQuery(b)}return c};w.debugInfo.asComment=function(a){return"/* line "+a.debugInfo.lineNumber+", "+a.debugInfo.fileName+" */\n"};w.debugInfo.asMediaQuery=function(a){return"@media -sass-debug-info{filename{font-family:"+("file://"+a.debugInfo.fileName).replace(/[\/:.]/g,"\\$&")+"}line{font-family:\\00003"+a.debugInfo.lineNumber+"}}\n"};w.find=function(a,b){for(var c=0,d;c<a.length;c++)if(d=b.call(a,a[c]))return d;return null};w.jsify=function(a){return Array.isArray(a.value)&&
1<a.value.length?"["+a.value.map(function(a){return a.toCSS(!1)}).join(", ")+"]":a.toCSS(!1)};var X=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol);h.env=h.env||("127.0.0.1"==location.hostname||"0.0.0.0"==location.hostname||"localhost"==location.hostname||0<location.port.length||X?"development":"production");h.async=h.async||!1;h.fileAsync=h.fileAsync||!1;h.poll=h.poll||(X?1E3:1500);if(h.functions)for(var C in h.functions)h.tree.functions[C]=h.functions[C];(C=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash))&&
(h.dumpLineNumbers=C[1]);h.watch=function(){h.watchMode||(h.env="development","development"===h.env?(h.optimization=0,h.watchTimer=setInterval(function(){h.watchMode&&ia(function(a,b,c,d,f){b&&R(b.toCSS(),d,f.lastModified)})},h.poll)):h.optimization=3);return this.watchMode=!0};h.unwatch=function(){return clearInterval(h.watchTimer),this.watchMode=!1};/!watch/.test(location.hash)&&h.watch();var D=null;if("development"!=h.env)try{D="undefined"==typeof u.localStorage?null:u.localStorage}catch(ma){}C=
document.getElementsByTagName("link");var ha=/^text\/(x-)?less$/;h.sheets=[];for(s=0;s<C.length;s++)("stylesheet/less"===C[s].rel||C[s].rel.match(/stylesheet/)&&C[s].type.match(ha))&&h.sheets.push(C[s]);var Z="";h.modifyVars=function(a){var b=Z;for(name in a)b+=("@"===name.slice(0,1)?"":"@")+name+": "+(";"===a[name].slice(-1)?a[name]:a[name]+";");(new h.Parser).parse(b,function(a,b){R(b.toCSS(),h.sheets[h.sheets.length-1])})};h.refresh=function(a){var b,c;b=c=new Date;ia(function(a,f,e,g,h){h.local?
I("loading "+g.href+" from cache."):(I("parsed "+g.href+" successfully."),R(f.toCSS(),g,h.lastModified));I("css for "+g.href+" generated in "+(new Date-c)+"ms");0===h.remaining&&I("css generated in "+(new Date-b)+"ms");c=new Date},a);ga()};h.refreshStyles=ga;h.refresh("development"===h.env);"function"==typeof define&&define.amd&&define("less",[],function(){return h})})(window);
