/*!
* LESS - Leaner CSS v1.5.0 * http://lesscss.org * * Copyright (c) 2009-2013, Alexis Sellier <self@cloudhead.net> * Licensed under the Apache v2 License. * * @licence */
function require(a){return window.less[a.split(“/”)]}function log(a,b){“development”==less.env&&“undefined”!=typeof console&&less.logLevel>=b&&console.log(“less: ”+a)}function extractId(a){return a.replace(/^+:/+?[^/]+/,“”).replace(/^//,“”).replace(/.+$/,“”).replace(/+/g,“-”).replace(/./g,“:”)}function errorConsole(a,b){var c=“{line} {content}”,d=a.filename||b,e=[],f=(a.type||“Syntax”)+“Error: ”+(a.message||“There is an error in your .less file”)+“ in ”d
“ ”,g=function(a,b,d){void 0!==a.extract&&e.push(c.replace(/{line}/,(parseInt(a.line,10)||0)+(b-1)).replace(/{class}/,d).replace(/{content}/,a.extract))};a.extract?(g(a,0,“”),g(a,1,“line”),g(a,2,“”),f+=“on line ”a.line
“, column ”+(a.column+1)+“:n”+e.join(“n”)):a.stack&&(f+=a.stack),log(f,logLevel.errors)}function createCSS(a,b,c){var d=b.href||“”,e=“less:”+(b.title||extractId(d)),f=document.getElementById(e),g=!1,h=document.createElement(“style”);if(h.setAttribute(“type”,“text/css”),b.media&&h.setAttribute(“media”,b.media),h.id=e,h.styleSheet)try{h.styleSheet.cssText=a}catch(i){throw new Error(“Couldn’t reassign styleSheet.cssText.”)}else h.appendChild(document.createTextNode(a)),g=null!==f&&f.childNodes.length>0&&h.childNodes.length>0&&f.firstChild.nodeValue===h.firstChild.nodeValue;var j=document.getElementsByTagName(“head”);if(null===f||g===!1){var k=b&&b.nextSibling||null;k?k.parentNode.insertBefore(h,k):j.appendChild(h)}if(f&&g===!1&&f.parentNode.removeChild(f),c&&cache){log(“saving ”d
“ to cache.”,logLevel.info);try{cache.setItem(d,a),cache.setItem(d+“:timestamp”,c)}catch(i){log(“failed to save”,logLevel.errors)}}}function errorHTML(a,b){var c,d,e=“less-error-message:”+extractId(b||“”),f=‘<li><label>{line}</label><pre class=“{class}”>{content}</pre>’,g=document.createElement(“div”),h=[],i=a.filename||b,j=i.match(/(+(?.*)?)$/)[1];g.id=e,g.className=“less-error-message”,d=“<h3>”+(a.type||“Syntax”)+“Error: ”+(a.message||“There is an error in your .less file”)+“</h3>”+‘<p>in <a href=“’i
‘”>’j
“</a> ”;var k=function(a,b,c){void 0!==a.extract&&h.push(f.replace(/{line}/,(parseInt(a.line,10)||0)+(b-1)).replace(/{class}/,c).replace(/{content}/,a.extract))};a.extract?(k(a,0,“”),k(a,1,“line”),k(a,2,“”),d+=“on line ”a.line
“, column ”+(a.column+1)+“:</p>”+“<ul>”+h.join(“”)+“</ul>”):a.stack&&(d+=“<br/>”+a.stack.split(“n”).slice(1).join(“<br/>”)),g.innerHTML=d,createCSS([“.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”}),g.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”==less.env&&(c=setInterval(function(){document.body&&(document.getElementById(e)?document.body.replaceChild(g,document.getElementById(e)):document.body.insertBefore(g,document.body.firstChild),clearInterval©)},10))}function error(a,b){less.errorReporting&&“html”!==less.errorReporting?“console”===less.errorReporting?errorConsole(a,b):“function”==typeof less.errorReporting&&less.errorReporting(“add”,a,b):errorHTML(a,b)}function removeErrorHTML(a){var b=document.getElementById(“less-error-message:”+extractId(a));b&&b.parentNode.removeChild(b)}function removeErrorConsole(){}function removeError(a){less.errorReporting&&“html”!==less.errorReporting?“console”===less.errorReporting?removeErrorConsole(a):“function”==typeof less.errorReporting&&less.errorReporting(“remove”,a):removeErrorHTML(a)}function loadStyles(a){for(var b,c=document.getElementsByTagName(“style”),d=0;da
“’”);if(!f||f){if(d=b.match(e),!d)throw new Error(“Could not parse page url - ‘”b
“’”);f=f||d||“”,f||(f=d+f)}if(f){for(h=f.replace(/\/g,“/”).split(“/”),c=0;ca
“’”,logLevel.info),f.open(“GET”,a,g),f.setRequestHeader(“Accept”,b||“text/x-less, text/css; q=0.9, /; q=0.5”),f.send(null),isFileProtocol&&!less.fileAsync?0===f.status||f.status>=200&&f.status<300?c(f.responseText):d(f.status,a):g?f.onreadystatechange=function(){4==f.readyState&&e(f,c,d)}:e(f,c,d)}function loadFile(a,b,c,d,e){b&&b.currentDirectory&&!/^(+:)?//.test(a)&&(a=b.currentDirectory+a);var f=extractUrlParts(a,window.location.href),g=f.url,h={currentDirectory:f.path,filename:g};if(b?(h.entryPath=b.entryPath,h.rootpath=b.rootpath,h.rootFilename=b.rootFilename,h.relativeUrls=b.relativeUrls):(h.entryPath=f.path,h.rootpath=less.rootpath||f.path,h.rootFilename=g,h.relativeUrls=d.relativeUrls),h.relativeUrls&&(h.rootpath=d.rootpath?extractUrlParts(d.rootpath+pathDiff(f.path,h.entryPath)).path:f.path),d.useFileCache&&fileCache)try{var i=fileCache;e&&(i+=“n”+e),c(null,i,g,h,{lastModified:new Date})}catch(j){c(j,null,g)}else doXHR(g,d.mime,function(a,b){fileCache=a;try{c(null,a,g,h,{lastModified:b})}catch(d){c(d,null,g)}},function(a,b){c({type:“File”,message:“‘”b
“’ wasn’t found (”a
“)”},null,g)})}function loadStyleSheet(a,b,c,d,e){var f=new less.tree.parseEnv(less);f.mime=a.type,e&&(f.useFileCache=!0),loadFile(a.href,null,function(e,g,h,i,j){if(j){j.remaining=d;var k=cache&&cache.getItem(h),l=cache&&cache.getItem(h+“:timestamp”);if(!c&&l&&j.lastModified&&new Date(j.lastModified).valueOf()===new Date(l).valueOf())return createCSS(k,a),j.local=!0,b(null,null,g,a,j,h),void 0}removeError(h),g?(f.currentFileInfo=i,new less.Parser(f).parse(g,function(c,d){if©return b(c,null,null,a);try{b(c,d,g,a,j,h)}catch©{b(c,null,null,a)}})):b(e,null,null,a,j,h)},f,e)}function loadStyleSheets(a,b,c){for(var d=0;da
“’ got ‘”+o.charAt(p)+“’”:“unexpected token”)),void 0)}function i(a,b){var c=new Error(a);throw c.index=p,c.type=b||“Syntax”,c}function j(a){return“string”==typeof a?o.charAt(p)===a:a.test(u)}function k(a,b){return a.filename&&b.currentFileInfo.filename&&a.filename!==b.currentFileInfo.filename?w.imports.contents:o}function l(a,b){for(var c=a+1,d=null,e=-1;–c>=0&&“n”!==b.charAt©;)e++;return“number”==typeof a&&(d=(b.slice(0,a).match(/n/g)||“”).length),{line:d,column:e}}function m(a,b,c){var d=c.currentFileInfo.filename;return“browser”!==less.mode&&“rhino”!==less.mode&&(d=require(“path”).resolve(d)),{lineNumber:l(a,b).line+1,fileName:d}}function n(a,b){var c=k(a,b),d=l(a.index,c),e=d.line,f=d.column,g=a.call&&l(a.call,c).line,h=c.split(“n”);this.type=a.type||“Syntax”,this.message=a.message,this.filename=a.filename||b.currentFileInfo.filename,this.index=a.index,this.line=“number”==typeof e?e+1:null,this.callLine=g+1,this.callExtract=h,this.stack=a.stack,this.column=f,this.extract=[h,h,h]}var o,p,q,r,s,t,u,v,w,x=a&&a.filename;a instanceof tree.parseEnv||(a=new tree.parseEnv(a));var y=this.imports={paths:a.paths||[],queue:,files:a.files,contents:a.contents,mime:a.mime,error:null,push:function(b,c,d,e){var f=this;this.queue.push(b);var g=function(a,c,d){f.queue.splice(f.queue.indexOf(b),1);var g=d in f.files||d===x;f.files=c,a&&!f.error&&(f.error=a),e(a,c,g,d)};less.Parser.importer?less.Parser.importer(b,c,g,a):less.Parser.fileLoader(b,c,function(b,e,f,h){if(b)return g(b),void 0;var i=new tree.parseEnv(a);i.currentFileInfo=h,i.processImports=!1,i.contents=e,(c.reference||d.reference)&&(h.reference=!0),d.inline?g(null,e,f):new less.Parser(i).parse(e,function(a,b){g(a,b,f)})},a)}};return n.prototype=new Error,n.prototype.constructor=n,this.env=a=a||{},this.optimization=“optimization”in this.env?this.env.optimization:1,w={imports:y,parse:function(b,c){var d,e,g,h=null;if(p=q=v=t=0,o=b.replace(/rn/g,“n”),o=o.replace(/^uFEFF/,“”),w.imports.contents=o,u=function(b){for(var c,d,e,f,g=0,i=/(?:@{[w-]+}|[^“‘`{}/()\])+/g,j=//*(?:[^]|+[^/*])**+/|//.*/g,k=/”((?:|\.)*)“|’((?:[^‘\rn]|\.)*)’|‘((?:|\.)*)`/g,l=0,m=b,p=0;ptree.Variable("
,c,a.currentFileInfo):void 0},color:function(){var a;return“#”===o.charAt(p)&&(a=f(/^#({6}|[A-Fa-f0-9]{3})/))?new tree.Color(a):void 0},dimension:function(){var a,b=o.charCodeAt(p);if(!(b>57||43>b||47===b||44==b))return(a=f(/^(?d*.?d+)(%|+)?/))?new tree.Dimension(a,a):void 0},unicodeDescriptor:function(){var a;return(a=f(/^U++(-[0-9a-fA-F?]+)?/))?new tree.UnicodeDescriptor(a):void 0},javascript:function(){var b,c,d=p;return“~”===o.charAt(d)&&(d++,c=!0),“‘”===o.charAt(d)?(void 0===a.javascriptEnabled||a.javascriptEnabled||i(“You are using JavaScript, which has been disabled.”),c&&f(“~”),(b=f(/^`(*)`/))?new tree.JavaScript(b,p,c):void 0):void 0}},variable:function(){var a;return“@”===o.charAt(p)&&(a=f(/^(@+)s*:/))?a[1]:void 0},extend:function(a){var b,c,d,e=p,g=[];if(f(a?/^&:extend(/:/^:extend(/)){do{for(d=null,b=;;){if(d=f(/^(all)(?=s*()|,))/))break;if(c=f(this.element),!c)break;b.push©}d=d&&d,g.push(new tree.Extend(new tree.Selector(b),d,e))}while(f(“,”));return h(/^)/),a&&h(/^;/),g}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var d,e,g,i=[],k=p,l=o.charAt(p),m=!1;if(“.”===l||“#”===l){for(b();d=f(/^(?:[w-]|\(?:{1,6} ?|[^A-Fa-f0-9]))+/);)i.push(new tree.Element(e,d,p,a.currentFileInfo)),e=f(“>”);return f(“(”)&&(g=this.mixin.args.call(this,!0).args,h(“)”)),g=g||[],f(this.important)&&(m=!0),i.length>0&&(f(“;”)||j(“}”))?new tree.mixin.Call(i,g,k,a.currentFileInfo,m):(c(),void 0)}},args:function(a){for(var b,c,d,e,g,j,k=[],l=,m=[],n={args:null,variadic:!1};;){if(a)j=f(this.expression);else{if(f(this.comments),“.”===o.charAt(p)&&f(/^.{3}/)){n.variadic=!0,f(“;”)&&!b&&(b=!0),(b?l:m).push({variadic:!0});break}j=f(this.entities.variable)||f(this.entities.literal)||f(this.entities.keyword)}if(!j)break;e=null,j.throwAwayComments&&j.throwAwayComments(),g=j;var q=null;if(a?1==j.value.length&&(q=j.value):q=j,q&&q instanceof tree.Variable)if(f(“:”))k.length>0&&(b&&i(“Cannot mix ; and , as delimiter types”),c=!0),g=h(this.expression),e=d=q.name;else{if(!a&&f(/^.{3}/)){n.variadic=!0,f(“;”)&&!b&&(b=!0),(b?l:m).push({name:j.name,variadic:!0});break}a||(d=e=q.name,g=null)}g&&k.push(g),m.push({name:e,value:g}),f(“,”)||(f(“;”)||b)&&(c&&i(“Cannot mix ; and , as delimiter types”),b=!0,k.length>1&&(g=new tree.Value(k)),l.push({name:d,value:g}),d=null,k=[],c=!1)}return n.args=b?l:m,n},definition:function(){var a,d,e,g,i=[],k=!1;if(!(“.”!==o.charAt(p)&&“#”!==o.charAt(p)||j(/^*}/))&&(b(),d=f(/^((?:[w-]|\(?:{1,6} ?|[^A-Fa-f0-9]))+)s*(/))){a=d;var l=this.mixin.args.call(this,!1);if(i=l.args,k=l.variadic,f(“)”)||(t=p,c()),f(this.comments),f(/^when/)&&(g=h(this.conditions,“expected condition”)),e=f(this.block))return new tree.mixin.Definition(a,i,e,g,k);c()}}},entity:function(){return f(this.entities.literal)||f(this.entities.variable)||f(this.entities.url)||f(this.entities.call)||f(this.entities.keyword)||f(this.entities.javascript)||f(this.comment)},end:function(){return f(“;”)||j(“}”)},alpha:function(){var a;if(f(/^(opacity=/i))return(a=f(/^d+/)||f(this.entities.variable))?(h(“)”),new tree.Alpha(a)):void 0},element:function(){var b,c,d;return c=f(this.combinator),b=f(/^(?:d+.d+|d+)%/)||f(/^(?:?|:*)(?:[w-]||\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||f(“*”)||f(“&”)||f(this.attribute)||f(/^(+)/)||f(/^(?=@)/)||f(this.entities.variableCurly),b||f(“(”)&&(d=f(this.selector))&&f(“)”)&&(b=new tree.Paren(d)),b?new tree.Element(c,b,p,a.currentFileInfo):void 0},combinator:function(){var a=o.charAt(p);if(“>”===a||“+”===a||“~”===a||“|”===a){for(p++;o.charAt(p).match(/s/);)p++;return new tree.Combinator(a)}return o.charAt(p-1).match(/s/)?new tree.Combinator(“ ”):new tree.Combinator(null)},lessSelector:function(){return this.selector(!0)},selector:function(b){for(var c,d,e,g,j,k=[],l=;(b&&(e=f(this.extend))||b&&(g=f(/^when/))||(c=f(this.element)))&&(g?j=h(this.conditions,“expected condition”):j?i(“CSS guard can only be used at the end of selector”):e?l.push.apply(l,e):(l.length&&i(“Extend can only be used at the end of selector”),d=o.charAt(p),k.push©,c=null),“{”!==d&&“}”!==d&&“;”!==d&&“,”!==d&&“)”!==d););return k.length>0?new tree.Selector(k,l,j,p,a.currentFileInfo):(l.length&&i(“Extend must be used to extend a selector, it cannot be used on its own”),void 0)},attribute:function(){var a,b,c;if(f(“[”))return(a=f(this.entities.variableCurly))||(a=h(/^(?:*|)?(?:[_A-Za-z0-9-]|\.)+/)),(c=f(/^?=/))&&(b=f(this.entities.quoted)||f(/^+%/)||f(/^+/)||f(this.entities.variableCurly)),h(“]”),new tree.Attribute(a,c,b)},block:function(){var a;return f(“{”)&&(a=f(this.primary))&&f(“}”)?a:void 0},ruleset:function(){var d,e,g,h=[];for(b(),a.dumpLineNumbers&&(g=m(p,o,a));(d=f(this.lessSelector))&&(h.push(d),f(this.comments),f(“,”));)d.condition&&i(“Guards are only currently allowed on a single selector.”),f(this.comments);if(h.length>0&&(e=f(this.block))){var j=new tree.Ruleset(h,e,a.strictImports);return a.dumpLineNumbers&&(j.debugInfo=g),j}t=p,c()},rule:function(d){var e,g,h,i=o.charAt(p),j=!1;if(b(),“.”!==i&&“#”!==i&&“&”!==i&&(e=f(this.variable)||f(this.ruleProperty))){if(g=d||!a.compress&&“@”!==e.charAt(0)?f(this.anonymousValue)||f(this.value):f(this.value)||f(this.anonymousValue),h=f(this.important),“+”===e&&(j=!0,e=e.substr(0,e.length-1)),g&&f(this.end))return new tree.Rule(e,g,h,j,s,a.currentFileInfo);if(t=p,c(),g&&!d)return this.rule(!0)}},anonymousValue:function(){var a;return(a=/^(*);/.exec(u))?(p+=a.length-1,new tree.Anonymous(a)):void 0},“import”:function(){var d,e,g=p;b();var h=f(/^@import?s+/),i=(h?f(this.importOptions):null)||{};return h&&(d=f(this.entities.quoted)||f(this.entities.url))&&(e=f(this.mediaFeatures),f(“;”))?(e=e&&new tree.Value(e),new tree.Import(d,e,i,g,a.currentFileInfo)):(c(),void 0)},importOptions:function(){var a,b,c,d={};if(!f(“(”))return null;do if(a=f(this.importOption)){switch(b=a,c=!0,b){case“css”:b=“less”,c=!1;break;case“once”:b=“multiple”,c=!1}if(d=c,!f(“,”))break}while(a);return h(“)”),d},importOption:function(){var a=f(/^(less|css|multiple|once|inline|reference)/);return a?a:void 0},mediaFeature:function(){var b,c,d=[];do if(b=f(this.entities.keyword)||f(this.entities.variable))d.push(b);else if(f(“(”)){if(c=f(this.property),b=f(this.value),!f(“)”))return null;if(c&&b)d.push(new tree.Paren(new tree.Rule(c,b,null,null,p,a.currentFileInfo,!0)));else{if(!b)return null;d.push(new tree.Paren(b))}}while(b);return d.length>0?new tree.Expression(d):void 0},mediaFeatures:function(){var a,b=[];do if(a=f(this.mediaFeature)){if(b.push(a),!f(“,”))break}else if((a=f(this.entities.variable))&&(b.push(a),!f(“,”)))break;while(a);return b.length>0?b:null},media:function(){var b,c,d,e;return a.dumpLineNumbers&&(e=m(p,o,a)),f(/^@media/)&&(b=f(this.mediaFeatures),c=f(this.block))?(d=new tree.Media(c,b,p,a.currentFileInfo),a.dumpLineNumbers&&(d.debugInfo=e),d):void 0},directive:function(){var d,e,g,h,i,j,k,l;if(“@”===o.charAt(p)){if(e=f(this)||f(this.media))return e;if(b(),d=f(/^@+/)){switch(h=d,“-”==d.charAt(1)&&d.indexOf(“-”,2)>0&&(h=“@”+d.slice(d.indexOf(“-”,2)+1)),h){case“@font-face”:i=!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”:i=!0;break;case“@host”:case“@page”:case“@document”:case“@supports”:case“@keyframes”:i=!0,j=!0;break;case“@namespace”:k=!0}if(j&&(l=(f(/^+/)||“”).trim(),l&&(d+=“ ”+l)),i){if(g=f(this.block))return new tree.Directive(d,g,p,a.currentFileInfo)}else if((e=k?f(this.expression):f(this.entity))&&f(“;”)){var n=new tree.Directive(d,e,p,a.currentFileInfo);return a.dumpLineNumbers&&(n.debugInfo=m(p,o,a)),n}c()}}},value:function(){for(var a,b=[];(a=f(this.expression))&&(b.push(a),f(“,”)););return b.length>0?new tree.Value(b):void 0},important:function(){return“!”===o.charAt(p)?f(/^! *important/):void 0},sub:function(){var a,b;return f(“(”)&&(a=f(this.addition))?(b=new tree.Expression(),h(“)”),b.parens=!0,b):void 0},multiplication:function(){var a,b,c,d,g;if(a=f(this.operand)){for(g=e(o.charAt(p-1));!j(/^//)&&(c=f(“/”)||f(“*”))&&(b=f(this.operand));)a.parensInOp=!0,b.parensInOp=!0,d=new tree.Operation(c,,g),g=e(o.charAt(p-1));return d||a}},addition:function(){var a,b,c,d,g;if(a=f(this.multiplication)){for(g=e(o.charAt(p-1));(c=f(/^s+/)||!g&&(f(“+”)||f(“-”)))&&(b=f(this.multiplication));)a.parensInOp=!0,b.parensInOp=!0,d=new tree.Operation(c,,g),g=e(o.charAt(p-1));return d||a}},conditions:function(){var a,b,c,d=p;if(a=f(this.condition)){for(;j(/^,s*(nots*)?(/)&&f(“,”)&&(b=f(this.condition));)c=new tree.Condition(“or”,c||a,b,d);return c||a}},condition:function(){var a,b,c,d,e=p,g=!1;return a,b,c=[];a=f(this.addition)||f(this.entity);)c.push(a),!j(/^//)&&(b=f(”/“))&&c.push(new tree.Anonymous(b));return c.length>0?new tree.Expression©:void 0},property:function(){var a;return(a=f(/^(*?-?+)s*:/))?a[1]:void 0},ruleProperty:function(){var a;return(a=f(/^(*?-?+)s*(+?)s*:/))?a[1]+(a||”“):void 0}}}},function(a){function b(b){return a.functions.hsla(b.h,b.s,b.l,b.a)}function c(b,c){return b instanceof a.Dimension&&b.unit.is(”%“)?parseFloat(b.value*c/100):d(b)}function d(b){if(b instanceof a.Dimension)return parseFloat(b.unit.is(”%“)?b.value/100:b.value);if(”number“==typeof b)return b;throw{error:”RuntimeError“,message:”color functions take numbers as parameters“}}function e(a){return Math.min(1,Math.max(0,a))}a.functions={rgb:function(a,b,c){return this.rgba(a,b,c,1)},rgba:function(b,e,f,g){var h=.map(function(a){return c(a,256)});return g=d(g),new a.Color(h,g)},hsl:function(a,b,c){return this.hsla(a,b,c,1)},hsla:function(a,b,c,f){function g(a){return a=0>a?a+1:a>1?a-1:a,1>6*a?i+6*(h-i)*a:1>2*a?h:2>3*a?i+6*(h-i)*(2/3-a):i}a=d(a)%360/360,b=e(d(b)),c=e(d©),f=e(d(f));var h=.5>=c?c*(b+1):c+b-c*b,i=2*c-h;return this.rgba(255*g(a+1/3),255*g(a),255*g(a-1/3),f)},hsv:function(a,b,c){return this.hsva(a,b,c,1)},hsva:function(a,b,c,e){a=360*(d(a)%360/360),b=d(b),c=d©,e=d(e);var f,g;f=Math.floor(a/60%6),g=a/60-f;var h=,i=[,[2,0,1],,[1,2,0],,[0,1,2]];return this.rgba(255*h[i[0]],255*h[i[1]],255*h[i[2]],e)},hue:function(b){return new a.Dimension(Math.round(b.toHSL().h))},saturation:function(b){return new a.Dimension(Math.round(100*b.toHSL().s),”%“)},lightness:function(b){return new a.Dimension(Math.round(100*b.toHSL().l),”%“)},hsvhue:function(b){return new a.Dimension(Math.round(b.toHSV().h))},hsvsaturation:function(b){return new a.Dimension(Math.round(100*b.toHSV().s),”%“)},hsvvalue:function(b){return new a.Dimension(Math.round(100*b.toHSV().v),”%“)},red:function(b){return new a.Dimension(b.rgb)},green:function(b){return new a.Dimension(b.rgb)},blue:function(b){return new a.Dimension(b.rgb)},alpha:function(b){return new a.Dimension(b.toHSL().a)},luma:function(b){return new a.Dimension(Math.round(100*b.luma()*b.alpha),”%“)},saturate:function(a,c){if(!a.rgb)return null;var d=a.toHSL();return d.s+=c.value/100,d.s=e(d.s),b(d)},desaturate:function(a,c){var d=a.toHSL();return d.s-=c.value/100,d.s=e(d.s),b(d)},lighten:function(a,c){var d=a.toHSL();return d.l+=c.value/100,d.l=e(d.l),b(d)},darken:function(a,c){var d=a.toHSL();return d.l-=c.value/100,d.l=e(d.l),b(d)},fadein:function(a,c){var d=a.toHSL();return d.a+=c.value/100,d.a=e(d.a),b(d)},fadeout:function(a,c){var d=a.toHSL();return d.a-=c.value/100,d.a=e(d.a),b(d)},fade:function(a,c){var d=a.toHSL();return d.a=c.value/100,d.a=e(d.a),b(d)},spin:function(a,c){var d=a.toHSL(),e=(d.h+c.value)%360;return d.h=0>e?360+e:e,b(d)},mix:function(b,c,d){d||(d=new a.Dimension(50));var e=d.value/100,f=2*e-1,g=b.toHSL().a-c.toHSL().a,h=((-1==f*g?f:(f+g)/(1+f*g))+1)/2,i=1-h,j=[b.rgb*h+c.rgb*i,b.rgb*h+c.rgb*i,b.rgb*h+c.rgb*i],k=b.alpha*e+c.alpha*(1-e);return new a.Color(j,k)},greyscale:function(b){return this.desaturate(b,new a.Dimension(100))},contrast:function(a,b,c,e){if(!a.rgb)return null;if(”undefined“==typeof c&&(c=this.rgba(255,255,255,1)),”undefined“==typeof b&&(b=this.rgba(0,0,0,1)),b.luma()>c.luma()){var f=c;c=b,b=f}return e=”undefined“==typeof e?.43:d(e),a.luma()*a.alpha<e?c:b},e:function(b){return new a.Anonymous(b instanceof a.JavaScript?b.evaluated:b)},escape:function(b){return new a.Anonymous(encodeURI(b.value).replace(/=/g,”%3D“).replace(/:/g,”%3A“).replace(/#/g,”%23“).replace(/;/g,”%3B“).replace(/(/g,”%28“).replace(/)/g,”%29“))},”%“:function(b){for(var c=Array.prototype.slice.call(arguments,1),d=b.value,e=0;ed
’“‘,d)},unit:function(b,c){if(!(b instanceof a.Dimension))throw{type:”Argument“,message:”the first argument to unit must be a number“+(b instanceof a.Operation?”. Have you forgotten parenthesis?“:”“)};return new a.Dimension(b.value,c?c.toCSS():”“)},convert:function(a,b){return a.convertTo(b.value)},round:function(a,b){var c=”undefined“==typeof b?0:b.value;return this._math(function(a){return a.toFixed©},null,a)},pi:function(){return new a.Dimension(Math.PI)},mod:function(b,c){return new a.Dimension(b.value%c.value,b.unit)},pow:function(b,c){if(”number“==typeof b&&”number“==typeof c)b=new a.Dimension(b),c=new a.Dimension©;else if(!(b instanceof a.Dimension&&c instanceof a.Dimension))throw{type:”Argument“,message:”arguments must be numbers“};return new a.Dimension(Math.pow(b.value,c.value),b.unit)},_math:function(b,c,d){if(d instanceof a.Dimension)return new a.Dimension(b(parseFloat(d.value)),null==c?d.unit:c);if(”number“==typeof d)return b(d);throw{type:”Argument“,message:”argument must be a number“}},_minmax:function(b,c){switch(c=Array.prototype.slice.call©,c.length){case 0:throw{type:”Argument“,message:”one or more arguments required“};case 1:return c}var d,e,f,g,h,i,j=[],k={};for(d=0;dc
”)“))},min:function(){return this._minmax(!0,arguments)},max:function(){return this._minmax(!1,arguments)},argb:function(b){return new a.Anonymous(b.toARGB())},percentage:function(b){return new a.Dimension(100*b.value,”%“)},color:function(b){if(b instanceof a.Quoted){var c,d=b.value;if(c=a.Color.fromKeyword(d))return c;if(/^#({6}|[A-Fa-f0-9]{3})/.test(d))return new a.Color(d.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(b){return this._isa(b,a.Color)},isnumber:function(b){return this._isa(b,a.Dimension)},isstring:function(b){return this._isa(b,a.Quoted)},iskeyword:function(b){return this._isa(b,a.Keyword)},isurl:function(b){return this._isa(b,a.URL) },ispixel:function(a){return this.isunit(a,”px“)},ispercentage:function(a){return this.isunit(a,”%“)},isem:function(a){return this.isunit(a,”em“)},isunit:function(b,c){return b instanceof a.Dimension&&b.unit.is(c.value||c)?a.True:a.False},_isa:function(b,c){return b instanceof c?a.True:a.False},multiply:function(a,b){var c=a.rgb*b.rgb/255,d=a.rgb*b.rgb/255,e=a.rgb*b.rgb/255;return this.rgb(c,d,e)},screen:function(a,b){var c=255-(255-a.rgb)*(255-b.rgb)/255,d=255-(255-a.rgb)*(255-b.rgb)/255,e=255-(255-a.rgb)*(255-b.rgb)/255;return this.rgb(c,d,e)},overlay:function(a,b){var c=a.rgb<128?2*a.rgbb.rgb[0]/255:255-2(255-a.rgb)*(255-b.rgb)/255,d=a.rgb<128?2*a.rgbb.rgb[1]/255:255-2(255-a.rgb)*(255-b.rgb)/255,e=a.rgb<128?2*a.rgbb.rgb[2]/255:255-2(255-a.rgb)*(255-b.rgb)/255;return this.rgb(c,d,e)},softlight:function(a,b){var c=b.rgb*a.rgb/255,d=c+a.rgb*(255-(255-a.rgb)*(255-b.rgb)/255-c)/255;c=b.rgb*a.rgb/255;var e=c+a.rgb*(255-(255-a.rgb)*(255-b.rgb)/255-c)/255;c=b.rgb*a.rgb/255;var f=c+a.rgb*(255-(255-a.rgb)*(255-b.rgb)/255-c)/255;return this.rgb(d,e,f)},hardlight:function(a,b){var c=b.rgb<128?2*b.rgba.rgb[0]/255:255-2(255-b.rgb)*(255-a.rgb)/255,d=b.rgb<128?2*b.rgba.rgb[1]/255:255-2(255-b.rgb)*(255-a.rgb)/255,e=b.rgb<128?2*b.rgba.rgb[2]/255:255-2(255-b.rgb)*(255-a.rgb)/255;return this.rgb(c,d,e)},difference:function(a,b){var c=Math.abs(a.rgb-b.rgb),d=Math.abs(a.rgb-b.rgb),e=Math.abs(a.rgb-b.rgb);return this.rgb(c,d,e)},exclusion:function(a,b){var c=a.rgb+b.rgb*(255-a.rgb-a.rgb)/255,d=a.rgb+b.rgb*(255-a.rgb-a.rgb)/255,e=a.rgb+b.rgb*(255-a.rgb-a.rgb)/255;return this.rgb(c,d,e)},average:function(a,b){var c=(a.rgb+b.rgb)/2,d=(a.rgb+b.rgb)/2,e=(a.rgb+b.rgb)/2;return this.rgb(c,d,e)},negation:function(a,b){var c=255-Math.abs(255-b.rgb-a.rgb),d=255-Math.abs(255-b.rgb-a.rgb),e=255-Math.abs(255-b.rgb-a.rgb);return this.rgb(c,d,e)},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)},extract:function(a,b){return b=b.value-1,Array.isArray(a.value)?a.value:Array(a)},length:function(b){var c=Array.isArray(b.value)?b.value.length:1;return new a.Dimension©},”data-uri“:function(b,c){if(”undefined“!=typeof window)return new a.URL(c||b,this.currentFileInfo).eval(this.env);var d=b.value,e=c&&c.value,f=require(”fs“),g=require(”path“),h=!1;if(arguments.length<2&&(e=d),this.env.isPathRelative(e)&&(e=this.currentFileInfo.relativeUrls?g.join(this.currentFileInfo.currentDirectory,e):g.join(this.currentFileInfo.entryPath,e)),arguments.length<2){var i;try{i=require(”mime“)}catch(j){i=a._mime}d=i.lookup(e);var k=i.charsets.lookup(d);h=.indexOf(k)<0,h&&(d+=”;base64“)}else h=/;base64$/.test(d);var l=f.readFileSync(e),m=32,n=parseInt(l.length/1024,10);if(n>=m&&this.env.ieCompat!==!1)return this.env.silent||console.warn(”Skipped data-uri embedding of %s because its size (%dKB) exceeds IE8-safe %dKB!“,e,n,m),new a.URL(c||b,this.currentFileInfo).eval(this.env);l=h?l.toString(”base64“):encodeURIComponent(l);var o=”’data:“d
”,“l
”‘“;return new a.URL(new a.Anonymous(o))},”svg-gradient“:function(b){function c(){throw{type:”Argument“,message:”svg-gradient expects direction, start_color [start_position], [color position,]…, end_color [end_position]“}}arguments.length<3&&c();var d,e,f,g,h,i,j,k=Array.prototype.slice.call(arguments,1),l=”linear“,m=’x=”0“ y=”0“ width=”1“ height=”1“‘,n=!0,o={compress:!1},p=b.toCSS(o);switch(p){case”to bottom“:d=’x1=”0%“ y1=”0%“ x2=”0%“ y2=”100%“‘;break;case”to right“:d=’x1=”0%“ y1=”0%“ x2=”100%“ y2=”0%“‘;break;case”to bottom right“:d=’x1=”0%“ y1=”0%“ x2=”100%“ y2=”100%“‘;break;case”to top right“:d=’x1=”0%“ y1=”100%“ x2=”100%“ y2=”0%“‘;break;case”ellipse“:case”ellipse at center“:l=”radial“,d=’cx=”50%“ cy=”50%“ r=”75%“‘,m=’x=”-50“ y=”-50“ width=”101“ height=”101“‘;break;default:throw{type:”Argument“,message:”svg-gradient direction must be ’to bottom’, ‘to right’, ‘to bottom right’, ‘to top right’ or ‘ellipse at center’“}}for(e=‘<?xml version=”1.0“ ?><svg xmlns=”www.w3.org/2000/svg“ version=”1.1“ width=”100%“ height=”100%“ viewBox=”0 0 1 1“ preserveAspectRatio=”none“><’l
‘Gradient id=”gradient“ gradientUnits=”userSpaceOnUse“ ’d
”>“,f=0;fi
‘“ stop-color=”’+g.toRGB()+‘“’+(1>j?‘ stop-opacity=”’j
‘“’:”“)+”/>“;if(e+=”</“l
”Gradient>“+”<rect “m
‘ fill=”url(gradient)“ /></svg>’,n)try{e=new Buffer(e).toString(”base64“)}catch(q){n=!1}return e=”‘data:image/svg+xml“+(n?”;base64“:”“)+”,“e
”’“,new a.URL(new a.Anonymous(e))}},a._mime={_types:{”.htm“:”text/html“,”.html“:”text/html“,”.gif“:”image/gif“,”.jpg“:”image/jpeg“,”.jpeg“:”image/jpeg“,”.png“:”image/png“},lookup:function(b){var c=require(”path“).extname(b),d=a._mime._types;if(void 0===d)throw new Error(‘Optional dependency ”mime“ is required for ’+c);return d},charsets:{lookup:function(a){return a&&/^text//.test(a)?”UTF-8“:”“}}};for(var f=,g=function(a,b){return function©{return null!=b&&(c=c.unify()),this._math(Math,b,c)}},h=0;ha.debugInfo.lineNumber
”, “a.debugInfo.fileName
” */n“},a.debugInfo.asMediaQuery=function(a){return”@media -sass-debug-info{filename{font-family:“+(”file://“+a.debugInfo.fileName).replace(/()/g,function(a){return”\“==a&&(a=”/“),”\“+a})+”}line{font-family:\00003“a.debugInfo.lineNumber
”}}n“},a.find=function(a,b){for(var c,d=0;dthis.name
”`“+(g.message?”: “+g.message:”“),index:this.index,filename:this.currentFileInfo.filename}}return new a.Call(this.name,e,this.index,this.currentFileInfo)},genCSS:function(a,b){b.add(this.name+”(“,this.currentFileInfo,this.index);for(var c=0;cb
”]“}},a.Combinator=function(a){this.value=” “===a?” “:a?a.trim():”“},a.Combinator.prototype={type:”Combinator“,_outputMap:{”“:”“,” “:” “,”:“:” :“,”+“:” + “,”~“:” ~ “,”>“:” > “,”|“:”|“},_outputMapCompressed:{”“:”“,” “:” “,”:“:” :“,”+“:”+“,”~“:”~“,”>“:”>“,”|“:”|“},genCSS:function(a,b){b.add((a.compress?this._outputMapCompressed:this._outputMap))},toCSS:a.toCSS}}(require(”../tree“)),function(a){a.Expression=function(a){this.value=a},a.Expression.prototype={type:”Expression“,accept:function(a){this.value=a.visit(this.value)},eval:function(b){var c,d=this.parens&&!this.parensInOp,e=!1;return d&&b.inParenthesis(),this.value.length>1?c=new a.Expression(this.value.map(function(a){return a.eval(b)})):1===this.value.length?(this.value.parens&&!this.value.parensInOp&&(e=!0),c=this.value.eval(b)):c=this,d&&b.outOfParenthesis(),this.parens&&this.parensInOp&&!b.isMathOn()&&!e&&(c=new a.Paren©),c},genCSS:function(a,b){for(var c=0;cf
”)“)}catch(g){throw{message:”JavaScript evaluation error: “g.message
” from `“f
”`“,index:this.index}}for(var h in b.frames.variables())e={value:b.frames.variables().value,toJS:function(){return this.value.eval(b).toCSS()}};try{c=f.call(e)}catch(g){throw{message:”JavaScript evaluation error: ’“g.name
”: “g.message
”‘“,index:this.index}}return”string“==typeof c?new a.Quoted(’”‘c
’“‘,c,this.escaped,this.index):Array.isArray©?new a.Anonymous(c.join(”, “)):new a.Anonymous©}}}(require(”../tree“)),function(a){a.Keyword=function(a){this.value=a},a.Keyword.prototype={type:”Keyword“,eval:function(){return this},genCSS:function(a,b){b.add(this.value)},toCSS:a.toCSS,compare:function(b){return b instanceof a.Keyword?b.value===this.value?0:1:-1}},a.True=new a.Keyword(”true“),a.False=new a.Keyword(”false“)}(require(”../tree“)),function(a){a.Media=function(b,c,d,e){this.index=d,this.currentFileInfo=e;var f=this.emptySelectors();this.features=new a.Value©,this.rules=[new a.Ruleset(f,b)],this.rules.allowImports=!0},a.Media.prototype={type:”Media“,accept:function(a){this.features=a.visit(this.features),this.rules=a.visit(this.rules)},genCSS:function(b,c){c.add(”@media “,this.currentFileInfo,this.index),this.features.genCSS(b,c),a.outputRuleset(b,c,this.rules)},toCSS:a.toCSS,eval:function(b){b.mediaBlocks||(b.mediaBlocks=[],b.mediaPath=);var c=new a.Media([],,this.index,this.currentFileInfo);this.debugInfo&&(this.rules.debugInfo=this.debugInfo,c.debugInfo=this.debugInfo);var d=!1;b.strictMath||(d=!0,b.strictMath=!0);try{c.features=this.features.eval(b)}finally{d&&(b.strictMath=!1)}return b.mediaPath.push©,b.mediaBlocks.push©,b.frames.unshift(this.rules),c.rules=[this.rules.eval(b)],b.frames.shift(),b.mediaPath.pop(),0===b.mediaPath.length?c.evalTop(b):c.evalNested(b)},variable:function(b){return a.Ruleset.prototype.variable.call(this.rules,b)},find:function(){return a.Ruleset.prototype.find.apply(this.rules,arguments)},rulesets:function(){return a.Ruleset.prototype.rulesets.apply(this.rules)},emptySelectors:function(){var b=new a.Element(”“,”&“,this.index,this.currentFileInfo);return[new a.Selector(,null,null,this.index,this.currentFileInfo)]},markReferenced:function(){var a,b=this.rules.rules;for(this.isReferenced=!0,a=0;athis.name
” “d[h].name
” not found“}}for(m=0,h=0;hthis.name
” (“d.length
” for “this.arity
”)“};j=o.value.eval©,n.resetCache()}n.rules.unshift(new a.Rule(k,j)),e=j}if(o.variadic&&d)for(i=m;im
”}“),b.tabLevel–),d=0;de
” is undefined“,filename:this.currentFileInfo.filename,index:this.index}}}}(require(”../tree“)),function(a){var b=;a.parseEnv=function(a){if(d(a,this,b),this.contents||(this.contents={}),this.files||(this.files={}),!this.currentFileInfo){var c=a&&a.filename||”input“,e=c.replace(/*$/,”“);a&&(a.filename=null),this.currentFileInfo={filename:c,relativeUrls:this.relativeUrls,rootpath:a&&a.rootpath||”“,currentDirectory:e,entryPath:e,rootFilename:c}}};var c=;a.evalEnv=function(a,b){d(a,this,c),this.frames=b||[]},a.evalEnv.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=),this.parensStack.push(!0)},a.evalEnv.prototype.outOfParenthesis=function(){this.parensStack.pop()},a.evalEnv.prototype.isMathOn=function(){return this.strictMath?this.parensStack&&this.parensStack.length:!0},a.evalEnv.prototype.isPathRelative=function(a){return!/^(?:+:|/)/.test(a)},a.evalEnv.prototype.normalizePath=function(a){var b,c=a.split(”/“).reverse();for(a=[];0!==c.length;)switch(b=c.pop()){case”.“:break;case”..“:0===a.length||”..“===a?a.push(b):a.pop();break;default:a.push(b)}return a.join(”/“)};var d=function(a,b,c){if(a)for(var d=0;do
”:extend(“p
”)“}}return m.concat(n.doExtendChaining(m,c,d+1))}return m},inInheritanceChain:function(a,b){if(a===b)return!0;if(b.parents){if(this.inInheritanceChain(a,b.parents))return!0;if(this.inInheritanceChain(a,b.parents))return!0}return!1},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitSelector:function(a,b){b.visitDeeper=!1},visitRuleset:function(a){if(!a.root){var b,c,d,e,f=this.allExtendsStack,g=[],h=this;for(d=0;dc
” */“)}return this._css.join(”“)}}(require(”./tree“));var isFileProtocol=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol);less.env=less.env||(”127.0.0.1“==location.hostname||”0.0.0.0“==location.hostname||”localhost“==location.hostname||location.port.length>0||isFileProtocol?”development“:”production“);var logLevel={info:2,errors:1,none:0};if(less.logLevel=”undefined“!=typeof less.logLevel?less.logLevel:logLevel.info,less.async=less.async||!1,less.fileAsync=less.fileAsync||!1,less.poll=less.poll||(isFileProtocol?1e3:1500),less.functions)for(var func in less.functions)less.tree.functions=less.functions;var dumpLineNumbers=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash);dumpLineNumbers&&(less.dumpLineNumbers=dumpLineNumbers);var typePattern=/^text/(x-)?less$/,cache=null,fileCache={};if(less.watch=function(){return less.watchMode||(less.env=”development“,initRunningMode()),this.watchMode=!0},less.unwatch=function(){return clearInterval(less.watchTimer),this.watchMode=!1},/!watch/.test(location.hash)&&less.watch(),”development“!=less.env)try{cache=”undefined“==typeof window.localStorage?null:window.localStorage}catch(_){}var links=document.getElementsByTagName(”link“);less.sheets=[];for(var i=0;ic
”: “+(”;“===a.slice(-1)?a:a+”;“);less.refresh(!1,b)},less.refresh=function(a,b){var c,d;c=d=new Date,loadStyleSheets(function(a,b,e,f,g){return a?error(a,f.href):(g.local?log(”loading “f.href
” from cache.“,logLevel.info):(log(”parsed “f.href
” successfully.“,logLevel.info),createCSS(b.toCSS(less),f,g.lastModified)),log(”css for “f.href
” generated in “+(new Date-d)+”ms“,logLevel.info),0===g.remaining&&log(”css generated in “+(new Date-c)+”ms“,logLevel.info),d=new Date,void 0)},a,b),loadStyles(b)},less.refreshStyles=loadStyles,less.Parser.fileLoader=loadFile,less.refresh(”development“===less.env),”function“==typeof define&&define.amd&&define(function(){return less});