if(!function(a,b){functionc(b){returna.less[b.split("/")[1]]}functiond(a,b){"undefined"!=typeofconsole&&w.logLevel>=b&&console.log("less: "+a)}functione(a){returna.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}functionf(a,c){vare="{line} {content}",f=a.filename||c,g=[],h=(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+" in "+f+" ",i=function(a,c,d){a.extract[c]!==b&&g.push(e.replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};a.extract?(i(a,0,""),i(a,1,"line"),i(a,2,""),h+="on line "+a.line+", column "+(a.column+1)+":\n"+g.join("\n")):a.stack&&(h+=a.stack),d(h,z.errors)}functiong(a,b,c){varf=b.href||"",g="less:"+(b.title||e(f)),h=document.getElementById(g),i=!1,j=document.createElement("style");if(j.setAttribute("type","text/css"),b.media&&j.setAttribute("media",b.media),j.id=g,j.styleSheet)try{j.styleSheet.cssText=a}catch(k){thrownewError("Couldn't reassign styleSheet.cssText.")}elsej.appendChild(document.createTextNode(a)),i=null!==h&&h.childNodes.length>0&&j.childNodes.length>0&&h.firstChild.nodeValue===j.firstChild.nodeValue;varl=document.getElementsByTagName("head")[0];if(null===h||i===!1){varm=b&&b.nextSibling||null;m?m.parentNode.insertBefore(j,m):l.appendChild(j)}if(h&&i===!1&&h.parentNode.removeChild(h),c&&D){d("saving "+f+" to cache.",z.info);try{D.setItem(f,a),D.setItem(f+":timestamp",c)}catch(k){d("failed to save",z.errors)}}}functionh(a){returnw.postProcessor&&"function"==typeofw.postProcessor&&(a=w.postProcessor.call(a,a)||a),a}functioni(a,c){vard,f,h="less-error-message:"+e(c||""),i='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',j=document.createElement("div"),k=[],l=a.filename||c,m=l.match(/([^\/]+(\?.*)?)$/)[1];j.id=h,j.className="less-error-message",f="<h3>"+(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+'</h3><p>in <a href="'+l+'">'+m+"</a> ";varn=function(a,c,d){a.extract[c]!==b&&k.push(i.replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};a.extract?(n(a,0,""),n(a,1,"line"),n(a,2,""),f+="on line "+a.line+", column "+(a.column+1)+":</p><ul>"+k.join("")+"</ul>"):a.stack&&(f+="<br/>"+a.stack.split("\n").slice(1).join("<br/>")),j.innerHTML=f,g([".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),j.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"].join(";"),"development"==w.env&&(d=setInterval(function(){document.body&&(document.getElementById(h)?document.body.replaceChild(j,document.getElementById(h)):document.body.insertBefore(j,document.body.firstChild),clearInterval(d))},10))}functionj(a,b){w.errorReporting&&"html"!==w.errorReporting?"console"===w.errorReporting?f(a,b):"function"==typeofw.errorReporting&&w.errorReporting("add",a,b):i(a,b)}functionk(a){varb=document.getElementById("less-error-message:"+e(a));b&&b.parentNode.removeChild(b)}functionl(){}functionm(a){w.errorReporting&&"html"!==w.errorReporting?"console"===w.errorReporting?l(a):"function"==typeofw.errorReporting&&w.errorReporting("remove",a):k(a)}functionn(a){for(varb,c=document.getElementsByTagName
returnb=b?binstanceofd.Keyword?b.value:b.toCSS():"",newd.Dimension(a.value,b)},convert:function(a,b){returna.convertTo(b.value)},round:function(a,b){varc="undefined"==typeofb?0:b.value;returne(function(a){returna.toFixed(c)},null,a)},pi:function(){returnnewd.Dimension(Math.PI)},mod:function(a,b){returnnewd.Dimension(a.value%b.value,a.unit)},pow:function(a,b){if("number"==typeofa&&"number"==typeofb)a=newd.Dimension(a),b=newd.Dimension(b);elseif(!(ainstanceofd.Dimension&&binstanceofd.Dimension))throw{type:"Argument",message:"arguments must be numbers"};returnnewd.Dimension(Math.pow(a.value,b.value),a.unit)},_minmax:function(a,c){switch(c=Array.prototype.slice.call(c),c.length){case0:throw{type:"Argument",message:"one or more arguments required"}}vare,f,g,h,i,j,k,l,m=[],n={};for(e=0;e<c.length;e++)if(g=c[e],ginstanceofd.Dimension)if(h=""===g.unit.toString()&&l!==b?newd.Dimension(g.value,l).unify():g.unify(),j=""===h.unit.toString()&&k!==b?k:h.unit.toString(),k=""!==j&&k===b||""!==j&&""===m[0].unify().unit.toString()?j:k,l=""!==j&&l===b?g.unit.toString():l,f=n[""]!==b&&""!==j&&j===k?n[""]:n[j],f!==b)i=""===m[f].unit.toString()&&l!==b?newd.Dimension(m[f].value,l).unify():m[f].unify(),(a&&h.value<i.value||!a&&h.value>i.value)&&(m[f]=g);else{if(k!==b&&j!==k)throw{type:"Argument",message:"incompatible types"};n[j]=m.length,m.push(g)}elseArray.isArray(c[e].value)&&Array.prototype.push.apply(c,Array.prototype.slice.call(c[e].value));return1==m.length?m[0]:(c=m.map(function(a){returna.toCSS(this.env)}).join(this.env.compress?",":", "),newd.Anonymous((a?"min":"max")+"("+c+")"))},min:function(){returnthis._minmax(!0,arguments)},max:function(){returnthis._minmax(!1,arguments)},"get-unit":function(a){returnnewd.Anonymous(a.unit)},argb:function(a){returnnewd.Anonymous(a.toARGB())},percentage:function(a){returnnewd.Dimension(100*a.value,"%")},color:function(a){if(ainstanceofd.Quoted){varb,c=a.value;if(b=d.Color.fromKeyword(c))returnb;if(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.test(c))returnnewd.Color(c.slice(1));throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"}}throw{type:"Argument",message:"argument must be a string"}},iscolor:function(a){returnthis._isa(a,d.Color)},isnumber:function(a){returnthis._isa(a,d.Dimension)},isstring:function(a){returnthis._isa(a,d.Quoted)},iskeyword:function(a){returnthis._isa(a,d.Keyword)},isurl:function(a){returnthis._isa(a,d.URL)},ispixel:function(a){returnthis.isunit(a,"px")},ispercentage:function(a){returnthis.isunit(a,"%")},isem:function(a){returnthis.isunit(a,"em")},isunit:function(a,b){returnainstanceofd.Dimension&&a.unit.is(b.value||b)?d.True:d.False},_isa:function(a,b){returnainstanceofb?d.True:d.False},tint:function(a,b){returnthis.mix(this.rgb(255,255,255),a,b)},shade:function(a,b){returnthis.mix(this.rgb(0,0,0),a,b)},extract:function(a,b){returnb=b.value-1,Array.isArray(a.value)?a.value[b]:Array(a)[b]},length:function(a){varb=Array.isArray(a.value)?a.value.length:1;returnnewd.Dimension(b)},"data-uri":function(b,e){if("undefined"!=typeofa)returnnewd.URL(e||b,this.currentFileInfo).eval(this.env);varf=b.value,g=e&&e.value,h=c("fs"),i=c("path"),j=!1;if(arguments.length<2&&(g=f),this.env.isPathRelative(g)&&(g=this.currentFileInfo.relativeUrls?i.join(this.currentFileInfo.currentDirectory,g):i.join(this.currentFileInfo.entryPath,g)),arguments.length<2){vark;try{k=c("mime")}catch(l){k=d._mime}f=k.lookup(g);varm=k.charsets.lookup(f);j=["US-ASCII","UTF-8"].indexOf(m)<0,j&&(f+=";base64")}elsej=/;base64$/.test(f);varn=h.readFileSync(g),o=32,p=parseInt(n.length/1024,10);if(p>=o&&this.env.ieCompat!==!1)returnthis.env.silent||console.warn("Skipped data-uri embedding of %s because its size (%dKB) exceeds IE8-safe %dKB!",g,p,o),newd.URL(e||b,this.currentFileInfo).eval(this.env);n=j?n.toString("base64"):encodeURIComponent(n);varq='"data:'+f+","+n+'"';returnnewd.URL(newd.Anonymous(q))},"svg-gradient":function(a){functione(){throw{type:"Argument",message:"svg-gradientexpectsdirection,start_co
}),f=0;f<b.frames.length;f++)if((c=b.frames[f].find(this.selector)).length>0){for(j=!0,g=0;g<c.length;g++){for(d=c[g],i=!1,h=0;h<b.frames.length;h++)if(!(dinstanceofa.mixin.Definition)&&d===(b.frames[h].originalRuleset||b.frames[h])){i=!0;break}if(!i&&d.matchArgs(e,b)){if(l={mixin:d,group:t},d.matchCondition){for(h=0;2>h;h++)s.value(h),r[h]=d.matchCondition(e,b);(r[0]||r[1])&&(r[0]!=r[1]&&(l.group=r[1]?u:v),q.push(l))}elseq.push(l);p=!0}}for(s.reset(),n=[0,0,0],g=0;g<q.length;g++)n[q[g].group]++;if(n[t]>0)m=v;elseif(m=u,n[u]+n[v]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(e)+"`",index:this.index,filename:this.currentFileInfo.filename};for(g=0;g<q.length;g++)if(l=q[g].group,l===t||l===m)try{d=q[g].mixin,dinstanceofa.mixin.Definition||(d=newa.mixin.Definition("",[],d.rules,null,!1),d.originalRuleset=c[g].originalRuleset||c[g]),Array.prototype.push.apply(o,d.evalCall(b,e,this.important).rules)}catch(w){throw{message:w.message,index:this.index,filename:this.currentFileInfo.filename,stack:w.stack}}if(p){if(!this.currentFileInfo||!this.currentFileInfo.reference)for(f=0;f<o.length;f++)k=o[f],k.markReferenced&&k.markReferenced();returno}}throwj?{type:"Runtime",message:"No matching definition was found for `"+this.format(e)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename}},format:function(a){returnthis.selector.toCSS().trim()+"("+(a?a.map(function(a){varb="";returna.name&&(b+=a.name+":"),b+=a.value.toCSS?a.value.toCSS():"???"}).join(", "):"")+")"}},a.mixin.Definition=function(b,c,d,e,f,g){this.name=b,this.selectors=[newa.Selector([newa.Element(null,b,this.index,this.currentFileInfo)])],this.params=c,this.condition=e,this.variadic=f,this.arity=c.length,this.rules=d,this._lookups={},this.required=c.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:a},0),this.parent=a.Ruleset.prototype,this.frames=g},a.mixin.Definition.prototype={type:"MixinDefinition",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))},variable:function(a){returnthis.parent.variable.call(this,a)},variables:function(){returnthis.parent.variables.call(this)},find:function(){returnthis.parent.find.apply(this,arguments)},rulesets:function(){returnthis.parent.rulesets.apply(this)},evalParams:function(b,c,d,e){varf,g,h,i,j,k,l,m,n=newa.Ruleset(null,null),o=this.params.slice(0),p=0;if(c=newa.evalEnv(c,[n].concat(c.frames)),d)for(d=d.slice(0),p=d.length,h=0;p>h;h++)if(g=d[h],k=g&&g.name){for(l=!1,i=0;i<o.length;i++)if(!e[i]&&k===o[i].name){e[i]=g.value.eval(b),n.prependRule(newa.Rule(k,g.value.eval(b))),l=!0;break}if(l){d.splice(h,1),h--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+d[h].name+" not found"}}for(m=0,h=0;h<o.length;h++)if(!e[h]){if(g=d&&d[m],k=o[h].name)if(o[h].variadic){for(f=[],i=m;p>i;i++)f.push(d[i].value.eval(b));n.prependRule(newa.Rule(k,newa.Expression(f).eval(b)))}else{if(j=g&&g.value)j=j.eval(b);else{if(!o[h].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+p+" for "+this.arity+")"};j=o[h].value.eval(c),n.resetCache()}n.prependRule(newa.Rule(k,j)),e[h]=j}if(o[h].variadic&&d)for(i=m;p>i;i++)e[i]=d[i].value.eval(b);m++}returnn},eval:function(b){returnnewa.mixin.Definition(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||b.frames.slice(0))},evalCall:function(b,c,d){vare,f,g=[],h=this.frames?this.frames.concat(b.frames):b.frames,i=this.evalParams(b,newa.evalEnv(b,h),c,g);returni.prependRule(newa.Rule("@arguments",newa.Expression(g).eval(b))),e=this.rules.slice(0),f=newa.Ruleset(null,e),f.originalRuleset=this,f=f.eval(newa.evalEnv(b,[this,i].concat(h))),d&&(f=this.parent.makeImportant.apply(f)),f},matchCondition:function(b,c){returnthis.condition&&!this.condition.eval(newa.evalEnv(c,[this.evalParams(c,new
switch(a[0]){case"unary-prefix":return"!"==a[1]&&j(a[2])?a[2]:c;case"seq":returna=A(a),a[a.length-1]=d(a[a.length-1]),a;case"conditional":returng(c,["conditional",a[1],d(a[2]),d(a[3])]);case"binary":vare=a[1],f=a[2],h=a[3];if(!b.keep_comps)switch(e){case"<=":return["binary",">",f,h];case"<":return["binary",">=",f,h];case">=":return["binary","<",f,h];case">":return["binary","<=",f,h]}switch(e){case"==":return["binary","!=",f,h];case"!=":return["binary","==",f,h];case"===":return["binary","!==",f,h];case"!==":return["binary","===",f,h];case"&&":returng(c,["binary","||",d(f),d(h)]);case"||":returng(c,["binary","&&",d(f),d(h)])}}returnc}functionf(a,b,c){vare=function(){return"unary-prefix"==a[0]&&"!"==a[1]?c?["conditional",a[2],c,b]:["binary","||",a[2],b]:c?g(["conditional",a,b,c],["conditional",d(a),c,b]):["binary","&&",a,b]};returnH(a,function(a,d){returnm(d?c:b),d?b:c},e)}functionh(a,b){varc=u;u=a;vard=b();returnd.scope=a,u=c,d}functionl(a){returnnull!=a&&"block"==a[0]&&a[1]&&(1==a[1].length?a=a[1][0]:0==a[1].length&&(a=["block"])),a}functiono(a,b,c){vard="defun"==this[0];returnc=h(c.scope,function(){varb=p(c,"lambda");return!d&&a&&!u.references(a)&&(a=null),b}),[this[0],a,b,c]}functionp(a){returna=F(a,y),a=a.reduce(function(a,b){return"block"==b[0]?b[1]&&a.push.apply(a,b[1]):a.push(b),a},[]),a=function(b,c){returna.forEach(function(a){c&&("var"==a[0]&&"var"==c[0]||"const"==a[0]&&"const"==c[0])?c[1]=c[1].concat(a[1]):(b.push(a),c=a)}),b}([]),b.dead_code&&(a=function(c,d){returna.forEach(function(a){d?"function"==a[0]||"defun"==a[0]?c.push(a):"var"==a[0]||"const"==a[0]?(b.no_warnings||G("Variables declared in unreachable code"),a[1]=F(a[1],function(a){returna[1]&&!b.no_warnings&&m(["assign",!0,["name",a[0]],a[1]]),[a[0]]}),c.push(a)):b.no_warnings||m(a):(c.push(a),B(a[0],["return","throw","break","continue"])&&(d=!0))}),c}([])),b.make_seqs&&(a=function(b,c){returna.forEach(function(a){c&&"stat"==c[0]&&"stat"==a[0]?c[1]=["seq",c[1],a[1]]:(b.push(a),c=a)}),b.length>=2&&"stat"==b[b.length-2][0]&&("return"==b[b.length-1][0]||"throw"==b[b.length-1][0])&&b[b.length-1][1]&&b.splice(b.length-2,2,[b[b.length-1][0],["seq",b[b.length-2][1],b[b.length-1][1]]]),b}([])),a}functionq(a,b,c){returnH(a,function(a,d){returnd?(b=y(b),m(c),b||["block"]):(c=y(c),m(b),c||["block"])},function(){returnr(a,b,c)})}functionr(a,b,c){if(a=y(a),b=y(b),c=y(c),k(b)?(a=d(a),b=c,c=null):k(c)?c=null:function(){vare=t(a),f=d(a),g=t(f);if(g.length<e.length){varh=b;b=c,c=h,a=f}}(),k(c)&&k(b))return["stat",a];vare=["if",a,b,c];return"if"==b[0]&&k(b[3])&&k(c)?e=g(e,y(["if",["binary","&&",a,b[1]],b[2]])):"stat"==b[0]?c?"stat"==c[0]&&(e=g(e,["stat",f(a,b[1],c[1])])):e=g(e,["stat",f(a,b[1])]):c&&b[0]==c[0]&&("return"==b[0]||"throw"==b[0])&&b[1]&&c[1]?e=g(e,[b[0],f(a,b[1],c[1])]):c&&i(b)?(e=[["if",a,b]],"block"==c[0]?c[1]&&(e=e.concat(c[1])):e.push(c),e=y(["block",e])):b&&i(c)&&(e=[["if",d(a),c]],"block"==b[0]?b[1]&&(e=e.concat(b[1])):e.push(b),e=y(["block",e])),e}functions(a,b){returnH(a,function(a,c){returnc?["for",null,null,null,y(b)]:(m(b),["block"])})}b=w(b,{make_seqs:!0,dead_code:!0,no_warnings:!1,keep_comps:!0});varu,v=c(),y=v.walk;returnv.with_walkers({sub:function(a,b){if("string"==b[0]){varc=b[1];if(x(c))return["dot",y(a),c];if(/^[1-9][0-9]*$/.test(c)||"0"===c)return["sub",y(a),["num",parseInt(c,10)]]}},"if":q,toplevel:function(a){return["toplevel",h(this.scope,function(){returnp(a)})]},"switch":function(a,b){varc=b.length-1;return["switch",y(a),F(b,function(a,b){vard=p(a[1]);if(b==c&&d.length>0){vare=d[d.length-1];"break"==e[0]&&!e[1]&&d.pop()}return[a[0]?y(a[0]):null,d]})]},"function":o,defun:o,block:function(a){returna?l(["block",p(a)]):void0},binary:function(a,b,c){returnH(["binary",a,y(b),y(c)],function(a){returng(y(a),this)},function(){returnfunction(){if("=="==a||"!="==a){vard=y(b),e=y(c);returnd&&"unary-prefix"==d[0]&&"!"==d[1]&&"num"==d[2][0]?b=["num",+!d[2][1]]:e&&"unary-prefix"==e[0]&&"!"==e[1]&&"num"==e[2][0]&&(c=["num",+!e[2][1]]),["binary",a,b,c]}}()||this})},conditional:function(a,b,c){retur