! LESS - Leaner CSS v1.5.1 http://lesscss.org Copyright (c) 2009-2013, Alexis Sellier <self@cloudhead.net> Licensed under the Apache v2 License. @licence
!function(a,b){function c(b){return a.less[b.split(“/”)]}function d(a,b){“development”==w.env&&“undefined”!=typeof console&&w.logLevel>=b&&console.log(“less: ”+a)}function e(a){return a.replace(/^+:/+?[^/]+/,“”).replace(/^//,“”).replace(/.+$/,“”).replace(/+/g,“-”).replace(/./g,“:”)}function f(a,c){var e=“{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!==b&&g.push(e.replace(/{line}/,(parseInt(a.line,10)||0)+(c-1)).replace(/{class}/,d).replace(/{content}/,a.extract))};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)}function g(a,b,c){var f=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){throw new Error(“Couldn't reassign styleSheet.cssText.”)}else j.appendChild(document.createTextNode(a)),i=null!==h&&h.childNodes.length>0&&j.childNodes.length>0&&h.firstChild.nodeValue===j.firstChild.nodeValue;var l=document.getElementsByTagName(“head”);if(null===h||i===!1){var m=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)}}}function h(a,c){var d,f,h=“less-error-message:”+e(c||“”),i='<li><label>{line}</label><pre class=“{class}”>{content}</pre>‘,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> ”;var n=function(a,c,d){a.extract!==b&&k.push(i.replace(/{line}/,(parseInt(a.line,10)||0)+(c-1)).replace(/{class}/,d).replace(/{content}/,a.extract))};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))}function i(a,b){w.errorReporting&&“html”!==w.errorReporting?“console”===w.errorReporting?f(a,b):“function”==typeof w.errorReporting&&w.errorReporting(“add”,a,b):h(a,b)}function j(a){var b=document.getElementById(“less-error-message:”+e(a));b&&b.parentNode.removeChild(b)}function k(){}function l(a){w.errorReporting&&“html”!==w.errorReporting?“console”===w.errorReporting?k(a):“function”==typeof w.errorReporting&&w.errorReporting(“remove”,a):j(a)}function m(a){for(var b,c=document.getElementsByTagName(“style”),d=0;da"'");if(!f[1]
||f){if(d=b.match(e),!d)throw new Error(“Could not parse page url - '”b"'");f[1]
=f||d||“”,f||(f=d+f)}if(f){for(h=f.replace(/\/g,“/”).split(“/”),c=0;ca
“'”,z.info),g.open(“GET”,a,h),g.setRequestHeader(“Accept”,b||“text/x-less, text/css; q=0.9, * ; q=0.5”),g.send(null),y&&!w.fileAsync?0===g.status||g.status>=200&&g.status<300?c(g.responseText):e(g.status,a):h?g.onreadystatechange=function(){4==g.readyState&&f(g,c,e)}:f(g,c,e)}function r(b,c,d,e,f){c&&c.currentDirectory&&!/^(+:)?//.test(b)&&(b=c.currentDirectory+b);var g=n(b,a.location.href),h=g.url,i={currentDirectory:g.path,filename:h};if(c?(i.entryPath=c.entryPath,i.rootpath=c.rootpath,i.rootFilename=c.rootFilename,i.relativeUrls=c.relativeUrls):(i.entryPath=g.path,i.rootpath=w.rootpath||g.path,i.rootFilename=h,i.relativeUrls=e.relativeUrls),i.relativeUrls&&(i.rootpath=e.rootpath?n(e.rootpath+o(g.path,i.entryPath)).path:g.path),e.useFileCache&&E)try{var j=E;f&&(j+=“n”+f),d(null,j,h,i,{lastModified:new Date})}catch(k){d(k,null,h)}else q(h,e.mime,function(a,b){a=F+a,E=a;try{d(null,a,h,i,{lastModified:b})}catch©{d(c,null,h)}},function(a,b){d({type:“File”,message:“'”b
“' wasn't found (”a
“)”},null,h)})}function s(a,b,c,d,e){var f=new w.tree.parseEnv(w);f.mime=a.type,(e||F)&&(f.useFileCache=!0),r(a.href,null,function(e,h,i,j,k){if(k){k.remaining=d;var m=D&&D.getItem(i),n=D&&D.getItem(i+“:timestamp”);if(!c&&n&&k.lastModified&&new Date(k.lastModified).valueOf()===new Date(n).valueOf())return g(m,a),k.local=!0,b(null,null,h,a,k,i),void 0}l(i),h?(f.currentFileInfo=j,new w.Parser(f).parse(h,function(c,d){if©return b(c,null,null,a);try{b(c,d,h,a,k,i)}catch©{b(c,null,null,a)}})):b(e,null,null,a,k,i)},f,e)}function t(a,b,c){for(var d=0;dc
“: ”+(“;”===a.slice(-1)?a:a+“;”);return b}(“undefined”==typeof a.less||“undefined”!=typeof a.less.nodeType)&&(a.less={}),w=a.less,x=a.less.tree={},w.mode=“browser”;var w,x;w===b&&(w=exports,x=c(“./tree”),w.mode=“node”),w.Parser=function(a){function d(){t=y,u=r,z=r}function e(){y=t,r=u,z=r}function f(){r>z&&(y=y.slice(r-z),z=r)}function g(a){var b=a.charCodeAt(0);return 32===b||10===b||9===b}function h(a){var b,c;if(a instanceof Function)return a.call(A.parsers);if(“string”==typeof a)b=q.charAt®===a?a:null,c=1,f();else{if(f(),!(b=a.exec(y)))return null;c=b.length}return b?(i©,“string”==typeof b?b:1===b.length?b:b):void 0}function i(a){for(var b=r,c=s,d=r+y.length,e=r+=a;d>r&&g(q.charAt®);)r++;return y=y.slice(a+(r-e)),z=r,0===y.length&&s<y.length-1&&s++,b!==r||c!==s}function j(a,b){var c=h(a);return c?c:(k(b||(“string”==typeof a?“expected '”a
“' got '”+q.charAt®+“'”:“unexpected token”)),void 0)}function k(a,b){var c=new Error(a);throw c.index=r,c.type=b||“Syntax”,c}function l(a){return“string”==typeof a?q.charAt®===a:a.test(y)}function m(a,b){return a.filename&&b.currentFileInfo.filename&&a.filename!==b.currentFileInfo.filename?A.imports.contents:q}function n(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 o(a,b,d){var e=d.currentFileInfo.filename;return“browser”!==w.mode&&“rhino”!==w.mode&&(e=c(“path”).resolve(e)),{lineNumber:n(a,b).line+1,fileName:e}}function p(a,b){var c=m(a,b),d=n(a.index,c),e=d.line,f=d.column,g=a.call&&n(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 q,r,s,t,u,v,y,z,A,B=a&&a.filename;a instanceof x.parseEnv||(a=new x.parseEnv(a));var C=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===B;f.files=c,a&&!f.error&&(f.error=a),e(a,c,g,d)};w.Parser.importer?w.Parser.importer(b,c,g,a):w.Parser.fileLoader(b,c,function(b,e,f,h){if(b)return g(b),void 0;var i=new x.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 w.Parser(i).parse(e,function(a,b){g(a,b,f)})},a)}};return p.prototype=new Error,p.prototype.constructor=p,this.env=a=a||{},this.optimization=“optimization”in this.env?this.env.optimization:1,A={imports:C,parse:function(b,d){var e,f,g,i=null;if(r=s=z=v=0,q=b.replace(/rn/g,“n”),q=q.replace(/^uFEFF/,“”),A.imports.contents=q,y=function(b){for(var c,d,e,f,g=0,h=/(?:@{[w-]+}|[^“'`{}/()\])+/g,j=//*(?:|*+[^/*])**+/|//. g,k=/”((?:|\.)*)“|'((?:[^'\rn]|\.)*)’|`((?:|\.)*)`/g,l=0,m=b,n=0;nx.Variable("
,c,a.currentFileInfo):void 0},color:function(){var a;return“#”===q.charAt®&&(a=h(/^#({6}|[A-Fa-f0-9]{3})/))?new x.Color(a):void 0},dimension:function(){var a,b=q.charCodeAt®;if(!(b>57||43>b||47===b||44==b))return(a=h(/^(?d*.?d+)(%|+)?/))?new x.Dimension(a,a):void 0},unicodeDescriptor:function(){var a;return(a=h(/^U++(-[0-9a-fA-F?]+)?/))?new x.UnicodeDescriptor(a):void 0},javascript:function(){var c,d,e=r;return“~”===q.charAt(e)&&(e++,d=!0),“`”===q.charAt(e)?(a.javascriptEnabled===b||a.javascriptEnabled||k(“You are using JavaScript, which has been disabled.”),d&&h(“~”),(c=h(/^`(*)`/))?new x.JavaScript(c,r,d):void 0):void 0}},variable:function(){var a;return“@”===q.charAt®&&(a=h(/^(@+)s*:/))?a:void 0},extend:function(a){var b,c,d,e=r,f=[];if(h(a?/^&:extend(/:/^:extend(/)){do{for(d=null,b=;;){if(d=h(/^(all)(?=s*()|,))/))break;if(c=h(this.element),!c)break;b.push©}d=d&&d,f.push(new x.Extend(new x.Selector(b),d,e))}while(h(“,”));return j(/^)/),a&&j(/^;/),f}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var b,c,f,g=[],i=r,k=q.charAt®,m=!1;if(“.”===k||“#”===k){for(d();b=h(/^(?:[w-]|\(?:{1,6} ?|[^A-Fa-f0-9]))+/);)g.push(new x.Element(c,b,r,a.currentFileInfo)),c=h(“>”);return h(“(”)&&(f=this.mixin.args.call(this,!0).args,j(“)”)),f=f||[],h(this.important)&&(m=!0),g.length>0&&(h(“;”)||l(“}”))?new x.mixin.Call(g,f,i,a.currentFileInfo,m):(e(),void 0)}},args:function(a){for(var b,c,d,e,f,g,i=[],l=,m=[],n={args:null,variadic:!1};;){if(a)g=h(this.expression);else{if(h(this.comments),“.”===q.charAt®&&h(/^.{3}/)){n.variadic=!0,h(“;”)&&!b&&(b=!0),(b?l:m).push({variadic:!0});break}g=h(this.entities.variable)||h(this.entities.literal)||h(this.entities.keyword)}if(!g)break;e=null,g.throwAwayComments&&g.throwAwayComments(),f=g;var o=null;if(a?1==g.value.length&&(o=g.value):o=g,o&&o instanceof x.Variable)if(h(“:”))i.length>0&&(b&&k(“Cannot mix ; and , as delimiter types”),c=!0),f=j(this.expression),e=d=o.name;else{if(!a&&h(/^.{3}/)){n.variadic=!0,h(“;”)&&!b&&(b=!0),(b?l:m).push({name:g.name,variadic:!0});break}a||(d=e=o.name,f=null)}f&&i.push(f),m.push({name:e,value:f}),h(“,”)||(h(“;”)||b)&&(c&&k(“Cannot mix ; and , as delimiter types”),b=!0,i.length>1&&(f=new x.Value(i)),l.push({name:d,value:f}),d=null,i=[],c=!1)}return n.args=b?l:m,n},definition:function(){var a,b,c,f,g=[],i=!1;if(!(“.”!==q.charAt®&&“#”!==q.charAt®||l(/^*}/))&&(d(),b=h(/^((?:[w-]|\(?:{1,6} ?|[^A-Fa-f0-9]))+)s*(/))){a=b;var k=this.mixin.args.call(this,!1);if(g=k.args,i=k.variadic,h(“)”)||(v=r,e()),h(this.comments),h(/^when/)&&(f=j(this.conditions,“expected condition”)),c=h(this.block))return new x.mixin.Definition(a,g,c,f,i);e()}}},entity:function(){return h(this.entities.literal)||h(this.entities.variable)||h(this.entities.url)||h(this.entities.call)||h(this.entities.keyword)||h(this.entities.javascript)||h(this.comment)},end:function(){return h(“;”)||l(“}”)},alpha:function(){var a;if(h(/^(opacity=/i))return(a=h(/^d+/)||h(this.entities.variable))?(j(“)”),new x.Alpha(a)):void 0},element:function(){var b,c,d;return c=h(this.combinator),b=h(/^(?:d+.d+|d+)%/)||h(/^(?:?|:*)(?:[w-]||\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||h(“*”)||h(“&”)||h(this.attribute)||h(/^(+)/)||h(/^(?=@)/)||h(this.entities.variableCurly),b||h(“(”)&&(d=h(this.selector))&&h(“)”)&&(b=new x.Paren(d)),b?new x.Element(c,b,r,a.currentFileInfo):void 0},combinator:function(){var a=q.charAt®;if(“>”===a||“+”===a||“~”===a||“|”===a){for(r++;q.charAt®.match(/s/);)r++;return new x.Combinator(a)}return q.charAt(r-1).match(/s/)?new x.Combinator(“ ”):new x.Combinator(null)},lessSelector:function(){return this.selector(!0)},selector:function(b){for(var c,d,e,f,g,i=[],l=;(b&&(e=h(this.extend))||b&&(f=h(/^when/))||(c=h(this.element)))&&(f?g=j(this.conditions,“expected condition”):g?k(“CSS guard can only be used at the end of selector”):e?l.push.apply(l,e):(l.length&&k(“Extend can only be used at the end of selector”),d=q.charAt®,i.push©,c=null),“{”!==d&&“}”!==d&&“;”!==d&&“,”!==d&&“)”!==d););return i.length>0?new x.Selector(i,l,g,r,a.currentFileInfo):(l.length&&k(“Extend must be used to extend a selector, it cannot be used on its own”),void 0)},attribute:function(){var a,b,c;if(h(“[”))return(a=h(this.entities.variableCurly))||(a=j(/^(?:*|)?(?:[_A-Za-z0-9-]|\.)+/)),(c=h(/^?=/))&&(b=h(this.entities.quoted)||h(/^+%/)||h(/^+/)||h(this.entities.variableCurly)),j(“]”),new x.Attribute(a,c,b)},block:function(){var a;return h(“{”)&&(a=h(this.primary))&&h(“}”)?a:void 0},ruleset:function(){var b,c,f,g=[];for(d(),a.dumpLineNumbers&&(f=o(r,q,a));(b=h(this.lessSelector))&&(g.push(b),h(this.comments),h(“,”));)b.condition&&k(“Guards are only currently allowed on a single selector.”),h(this.comments);if(g.length>0&&(c=h(this.block))){var i=new x.Ruleset(g,c,a.strictImports);return a.dumpLineNumbers&&(i.debugInfo=f),i}v=r,e()},rule:function(b){var c,f,g,i=q.charAt®,j=!1;if(d(),“.”!==i&&“#”!==i&&“&”!==i&&(c=h(this.variable)||h(this.ruleProperty))){if(f=b||!a.compress&&“@”!==c.charAt(0)?h(this.anonymousValue)||h(this.value):h(this.value)||h(this.anonymousValue),g=h(this.important),“+”===c&&(j=!0,c=c.substr(0,c.length-1)),f&&h(this.end))return new x.Rule(c,f,g,j,u,a.currentFileInfo);if(v=r,e(),f&&!b)return this.rule(!0)}},anonymousValue:function(){var a;return(a=/^(*);/.exec(y))?(r+=a.length-1,new x.Anonymous(a)):void 0},“import”:function(){var b,c,f=r;d();var g=h(/^@import?s+/),i=(g?h(this.importOptions):null)||{};return g&&(b=h(this.entities.quoted)||h(this.entities.url))&&(c=h(this.mediaFeatures),h(“;”))?(c=c&&new x.Value©,new x.Import(b,c,i,f,a.currentFileInfo)):(e(),void 0)},importOptions:function(){var a,b,c,d={};if(!h(“(”))return null;do if(a=h(this.importOption)){switch(b=a,c=!0,b){case“css”:b=“less”,c=!1;break;case“once”:b=“multiple”,c=!1}if(d=c,!h(“,”))break}while(a);return j(“)”),d},importOption:function(){var a=h(/^(less|css|multiple|once|inline|reference)/);return a?a:void 0},mediaFeature:function(){var b,c,d=[];do if(b=h(this.entities.keyword)||h(this.entities.variable))d.push(b);else if(h(“(”)){if(c=h(this.property),b=h(this.value),!h(“)”))return null;if(c&&b)d.push(new x.Paren(new x.Rule(c,b,null,null,r,a.currentFileInfo,!0)));else{if(!b)return null;d.push(new x.Paren(b))}}while(b);return d.length>0?new x.Expression(d):void 0},mediaFeatures:function(){var a,b=[];do if(a=h(this.mediaFeature)){if(b.push(a),!h(“,”))break}else if((a=h(this.entities.variable))&&(b.push(a),!h(“,”)))break;while(a);return b.length>0?b:null},media:function(){var b,c,d,e;return a.dumpLineNumbers&&(e=o(r,q,a)),h(/^@media/)&&(b=h(this.mediaFeatures),c=h(this.block))?(d=new x.Media(c,b,r,a.currentFileInfo),a.dumpLineNumbers&&(d.debugInfo=e),d):void 0},directive:function(){var b,c,f,g,i,j,k,l;if(“@”===q.charAt®){if(c=h(this)||h(this.media))return c;if(d(),b=h(/^@+/)){switch(g=b,“-”==b.charAt(1)&&b.indexOf(“-”,2)>0&&(g=“@”+b.slice(b.indexOf(“-”,2)+1)),g){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=(h(/^+/)||“”).trim(),l&&(b+=“ ”+l)),i){if(f=h(this.block))return new x.Directive(b,f,r,a.currentFileInfo)}else if((c=k?h(this.expression):h(this.entity))&&h(“;”)){var m=new x.Directive(b,c,r,a.currentFileInfo);return a.dumpLineNumbers&&(m.debugInfo=o(r,q,a)),m}e()}}},value:function(){for(var a,b=[];(a=h(this.expression))&&(b.push(a),h(“,”)););return b.length>0?new x.Value(b):void 0},important:function(){return“!”===q.charAt®?h(/^! *important/):void 0},sub:function(){var a,b;return h(“(”)&&(a=h(this.addition))?(b=new x.Expression(),j(“)”),b.parens=!0,b):void 0},multiplication:function(){var a,b,c,d,e;if(a=h(this.operand)){for(e=g(q.charAt(r-1));!l(/^//)&&(c=h(“/”)||h(“*”))&&(b=h(this.operand));)a.parensInOp=!0,b.parensInOp=!0,d=new x.Operation(c,,e),e=g(q.charAt(r-1));return d||a}},addition:function(){var a,b,c,d,e;if(a=h(this.multiplication)){for(e=g(q.charAt(r-1));(c=h(/^s+/)||!e&&(h(“+”)||h(“-”)))&&(b=h(this.multiplication));)a.parensInOp=!0,b.parensInOp=!0,d=new x.Operation(c,,e),e=g(q.charAt(r-1));return d||a}},conditions:function(){var a,b,c,d=r;if(a=h(this.condition)){for(;l(/^,s*(nots*)?(/)&&h(“,”)&&(b=h(this.condition));)c=new x.Condition(“or”,c||a,b,d);return c||a}},condition:function(){var a,b,c,d,e=r,f=!1;return a,b,c=[];a=h(this.addition)||h(this.entity);)c.push(a),!l(/^//)&&(b=h(”/“))&&c.push(new x.Anonymous(b));return c.length>0?new x.Expression©:void 0},property:function(){var a;return(a=h(/^(*?-?+)s*:/))?a:void 0},ruleProperty:function(){var a;return(a=h(/^(*?-?+)s*(+?)s*:/))?a+(a||”“):void 0}}}},function(d){function e(a){return d.functions.hsla(a.h,a.s,a.l,a.a)}function f(a,b){return a instanceof d.Dimension&&a.unit.is(”%“)?parseFloat(a.value*b/100):g(a)}function g(a){if(a instanceof d.Dimension)return parseFloat(a.unit.is(”%“)?a.value/100:a.value);if(”number“==typeof a)return a;throw{error:”RuntimeError“,message:”color functions take numbers as parameters“}}function h(a){return Math.min(1,Math.max(0,a))}d.functions={rgb:function(a,b,c){return this.rgba(a,b,c,1)},rgba:function(a,b,c,e){var h=.map(function(a){return f(a,256)});return e=g(e),new d.Color(h,e)},hsl:function(a,b,c){return this.hsla(a,b,c,1)},hsla:function(a,b,c,d){function e(a){return a=0>a?a+1:a>1?a-1:a,1>6*a?i+(f-i)*a*6:1>2*a?f:2>3*a?i+(f-i)*(2/3-a)*6:i}a=g(a)%360/360,b=h(g(b)),c=h(g©),d=h(g(d));var f=.5>=c?c*(b+1):c+b-c*b,i=2*c-f;return this.rgba(255*e(a+1/3),255*e(a),255*e(a-1/3),d)},hsv:function(a,b,c){return this.hsva(a,b,c,1)},hsva:function(a,b,c,d){a=g(a)%360/360*360,b=g(b),c=g©,d=g(d);var e,f;e=Math.floor(a/60%6),f=a/60-e;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]],d)},hue:function(a){return new d.Dimension(Math.round(a.toHSL().h))},saturation:function(a){return new d.Dimension(Math.round(100*a.toHSL().s),”%“)},lightness:function(a){return new d.Dimension(Math.round(100*a.toHSL().l),”%“)},hsvhue:function(a){return new d.Dimension(Math.round(a.toHSV().h))},hsvsaturation:function(a){return new d.Dimension(Math.round(100*a.toHSV().s),”%“)},hsvvalue:function(a){return new d.Dimension(Math.round(100*a.toHSV().v),”%“)},red:function(a){return new d.Dimension(a.rgb)},green:function(a){return new d.Dimension(a.rgb)},blue:function(a){return new d.Dimension(a.rgb)},alpha:function(a){return new d.Dimension(a.toHSL().a)},luma:function(a){return new d.Dimension(Math.round(a.luma()*a.alpha*100),”%“)},saturate:function(a,b){if(!a.rgb)return null;var c=a.toHSL();return c.s+=b.value/100,c.s=h(c.s),e©},desaturate:function(a,b){var c=a.toHSL();return c.s-=b.value/100,c.s=h(c.s),e©},lighten:function(a,b){var c=a.toHSL();return c.l+=b.value/100,c.l=h(c.l),e©},darken:function(a,b){var c=a.toHSL();return c.l-=b.value/100,c.l=h(c.l),e©},fadein:function(a,b){var c=a.toHSL();return c.a+=b.value/100,c.a=h(c.a),e©},fadeout:function(a,b){var c=a.toHSL();return c.a-=b.value/100,c.a=h(c.a),e©},fade:function(a,b){var c=a.toHSL();return c.a=b.value/100,c.a=h(c.a),e©},spin:function(a,b){var c=a.toHSL(),d=(c.h+b.value)%360;return c.h=0>d?360+d:d,e©},mix:function(a,b,c){c||(c=new d.Dimension(50));var e=c.value/100,f=2*e-1,g=a.toHSL().a-b.toHSL().a,h=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,i=1-h,j=[a.rgb*h+b.rgb*i,a.rgb*h+b.rgb*i,a.rgb*h+b.rgb*i],k=a.alpha*e+b.alpha*(1-e);return new d.Color(j,k)},greyscale:function(a){return this.desaturate(a,new d.Dimension(100))},contrast:function(a,b,c,d){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 e=c;c=b,b=e}return d=”undefined“==typeof d?.43:g(d),a.luma()*a.alpha<d?c:b},e:function(a){return new d.Anonymous(a instanceof d.JavaScript?a.evaluated:a)},escape:function(a){return new d.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,e=0;ec
'“',c)},unit:function(a,b){if(!(a instanceof d.Dimension))throw{type:”Argument“,message:”the first argument to unit must be a number“+(a instanceof d.Operation?”. Have you forgotten parenthesis?“:”“)};return new d.Dimension(a.value,b?b.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 d.Dimension(Math.PI)},mod:function(a,b){return new d.Dimension(a.value%b.value,a.unit)},pow:function(a,b){if(”number“==typeof a&&”number“==typeof b)a=new d.Dimension(a),b=new d.Dimension(b);else if(!(a instanceof d.Dimension&&b instanceof d.Dimension))throw{type:”Argument“,message:”arguments must be numbers“};return new d.Dimension(Math.pow(a.value,b.value),a.unit)},_math:function(a,b,c){if(c instanceof d.Dimension)return new d.Dimension(a(parseFloat(c.value)),null==b?c.unit:b);if(”number“==typeof c)return a©;throw{type:”Argument“,message:”argument must be a number“}},_minmax:function(a,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 e,f,g,h,i,j,k=[],l={};for(e=0;ec
”)“))},min:function(){return this._minmax(!0,arguments)},max:function(){return this._minmax(!1,arguments)},argb:function(a){return new d.Anonymous(a.toARGB())},percentage:function(a){return new d.Dimension(100*a.value,”%“)},color:function(a){if(a instanceof d.Quoted){var b,c=a.value;if(b=d.Color.fromKeyword©)return b;if(/^#({6}|[A-Fa-f0-9]{3})/.test©)return new d.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){return this._isa(a,d.Color)},isnumber:function(a){return this._isa(a,d.Dimension)},isstring:function(a){return this._isa(a,d.Quoted)},iskeyword:function(a){return this._isa(a,d.Keyword)},isurl:function(a){return this._isa(a,d.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(a,b){return a instanceof d.Dimension&&a.unit.is(b.value||b)?d.True:d.False},_isa:function(a,b){return a instanceof b?d.True:d.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.rgb*b.rgb/255:255-2*(255-a.rgb)*(255-b.rgb)/255,d=a.rgb<128?2*a.rgb*b.rgb/255:255-2*(255-a.rgb)*(255-b.rgb)/255,e=a.rgb<128?2*a.rgb*b.rgb/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.rgb*a.rgb/255:255-2*(255-b.rgb)*(255-a.rgb)/255,d=b.rgb<128?2*b.rgb*a.rgb/255:255-2*(255-b.rgb)*(255-a.rgb)/255,e=b.rgb<128?2*b.rgb*a.rgb/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(a){var b=Array.isArray(a.value)?a.value.length:1;return new d.Dimension(b)},”data-uri“:function(b,e){if(”undefined“!=typeof a)return new d.URL(e||b,this.currentFileInfo).eval(this.env);var f=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){var k;try{k=c(”mime“)}catch(l){k=d._mime}f=k.lookup(g);var m=k.charsets.lookup(f);j=.indexOf(m)<0,j&&(f+=”;base64“)}else j=/;base64$/.test(f);var n=h.readFileSync(g),o=32,p=parseInt(n.length/1024,10);if(p>=o&&this.env.ieCompat!==!1)return this.env.silent||console.warn(”Skipped data-uri embedding of %s because its size (%dKB) exceeds IE8-safe %dKB!“,g,p,o),new d.URL(e||b,this.currentFileInfo).eval(this.env);n=j?n.toString(”base64“):encodeURIComponent(n);var q=”'data:“f
”,“n
”'“;return new d.URL(new d.Anonymous(q))},”svg-gradient“:function(a){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 e,f,g,h,i,j,k,l=Array.prototype.slice.call(arguments,1),m=”linear“,n='x=”0“ y=”0“ width=”1“ height=”1“',o=!0,p={compress:!1},q=a.toCSS(p);switch(q){case”to bottom“:e='x1=”0%“ y1=”0%“ x2=”0%“ y2=”100%“';break;case”to right“:e='x1=”0%“ y1=”0%“ x2=”100%“ y2=”0%“';break;case”to bottom right“:e='x1=”0%“ y1=”0%“ x2=”100%“ y2=”100%“';break;case”to top right“:e='x1=”0%“ y1=”100%“ x2=”100%“ y2=”0%“';break;case”ellipse“:case”ellipse at center“:m=”radial“,e='cx=”50%“ cy=”50%“ r=”75%“',n='x=”-50“ y=”-50“ width=”101“ height=”101“';break;default:throw{type:”Argument“,message:”svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'“}}for(f='<?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“><'m
'Gradient id=”gradient“ gradientUnits=”userSpaceOnUse“ 'e">",g=0;g
j
'“ stop-color=”'+h.toRGB()+'“'+(1>k?' stop-opacity=”'k
'“':”“)+”/>“;if(f+=”</“m
”Gradient><rect “n
' fill=”url(#gradient)“ /></svg>',o)try{f=new Buffer(f).toString(”base64“)}catch®{o=!1}return f=”'data:image/svg+xml“+(o?”;base64“:”“)+”,“f
”'“,new d.URL(new d.Anonymous(f))}},d._mime={_types:{”.htm“:”text/html“,”.html“:”text/html“,”.gif“:”image/gif“,”.jpg“:”image/jpeg“,”.jpeg“:”image/jpeg“,”.png“:”image/png“},lookup:function(a){var e=c(”path“).extname(a),f=d._mime._types;if(f===b)throw new Error('Optional dependency ”mime“ is required for '+e);return f},charsets:{lookup:function(a){return a&&/^text//.test(a)?”UTF-8“:”“}}};for(var i=,j=function(a,b){return function©{return null!=b&&(c=c.unify()),this._math(Math,b,c)}},k=0;ka.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;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©}}}(c(”../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“)}(c(”../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.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}}}}(c(”../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(”“)}}(c(”./tree“));var y=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol);w.env=w.env||(”127.0.0.1“==location.hostname||”0.0.0.0“==location.hostname||”localhost“==location.hostname||location.port&&location.port.length>0||y?”development“:”production“);var z={info:2,errors:1,none:0};if(w.logLevel=”undefined“!=typeof w.logLevel?w.logLevel:z.info,w.async=w.async||!1,w.fileAsync=w.fileAsync||!1,w.poll=w.poll||(y?1e3:1500),w.functions)for(var A in w.functions)w.tree.functions=w.functions;var B=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash);B&&(w.dumpLineNumbers=B);var C=/^text/(x-)?less$/,D=null,E={},F=”“;if(w.watch=function(){return w.watchMode||(w.env=”development“,u()),this.watchMode=!0},w.unwatch=function(){return clearInterval(w.watchTimer),this.watchMode=!1},/!watch/.test(location.hash)&&w.watch(),”development“!=w.env)try{D=”undefined“==typeof a.localStorage?null:a.localStorage}catch(G){}var H=document.getElementsByTagName(”link“);w.sheets=[];for(var I=0;Ih.href
” from cache.“,z.info):(d(”parsed “h.href
” successfully.“,z.info),g(b.toCSS(w),h,j.lastModified)),d(”css for “h.href
” generated in “+(new Date-e)+”ms“,z.info),0===j.remaining&&d(”css generated in “+(new Date-c)+”ms“,z.info),e=new Date,void 0)},a,b),m(b)},w.globalVars&&(F=v(w.globalVars)+”n“),w.refreshStyles=m,w.Parser.fileLoader=r,w.refresh(”development“===w.env),”function“==typeof define&&define.amd&&define(function(){return w})}(window);