!function(a){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=a();elseif("function"==typeofdefine&&define.amd)define([],a);else{varb;b="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,b.less=a()}}(function(){returnfunctiona(b,c,d){functione(g,h){if(!c[g]){if(!b[g]){vari="function"==typeofrequire&&require;if(!h&&i)returni(g,!0);if(f)returnf(g,!0);varj=newError("Cannot find module '"+g+"'");throwj.code="MODULE_NOT_FOUND",j}vark=c[g]={exports:{}};b[g][0].call(k.exports,function(a){varc=b[g][1][a];returne(c?c:a)},k,k.exports,a,b,c,d)}returnc[g].exports}for(varf="function"==typeofrequire&&require,g=0;g<d.length;g++)e(d[g]);returne}({1:[function(a,b,c){vard=a("./utils").addDataAttr,e=a("./browser");b.exports=function(a,b){d(b,e.currentScript(a)),void0===b.isFileProtocol&&(b.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(a.location.protocol)),b.async=b.async||!1,b.fileAsync=b.fileAsync||!1,b.poll=b.poll||(b.isFileProtocol?1e3:1500),b.env=b.env||("127.0.0.1"==a.location.hostname||"0.0.0.0"==a.location.hostname||"localhost"==a.location.hostname||a.location.port&&a.location.port.length>0||b.isFileProtocol?"development":"production");varc=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(a.location.hash);c&&(b.dumpLineNumbers=c[1]),void0===b.useFileCache&&(b.useFileCache=!0),void0===b.onReady&&(b.onReady=!0),b.javascriptEnabled=!(!b.javascriptEnabled&&!b.inlineJavaScript)}},{"./browser":3,"./utils":11}],2:[function(a,b,c){functiond(a){a.filename&&console.warn(a),e.async||h.removeChild(i)}a("promise/polyfill");vare=a("../less/default-options")();if(window.less)for(keyinwindow.less)window.less.hasOwnProperty(key)&&(e[key]=window.less[key]);a("./add-default-options")(window,e),e.plugins=e.plugins||[],window.LESS_PLUGINS&&(e.plugins=e.plugins.concat(window.LESS_PLUGINS));varf=b.exports=a("./index")(window,e);window.less=f;varg,h,i;e.onReady&&(/!watch/.test(window.location.hash)&&f.watch(),e.async||(g="body { display: none !important }",h=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style"),i.type="text/css",i.styleSheet?i.styleSheet.cssText=g:i.appendChild(document.createTextNode(g)),h.appendChild(i)),f.registerStylesheetsImmediately(),f.pageLoadFinished=f.refresh("development"===f.env).then(d,d))},{"../less/default-options":16,"./add-default-options":1,"./index":8,"promise/polyfill":101}],3:[function(a,b,c){vard=a("./utils");b.exports={createCSS:function(a,b,c){vare=c.href||"",f="less:"+(c.title||d.extractId(e)),g=a.getElementById(f),h=!1,i=a.createElement("style");i.setAttribute("type","text/css"),c.media&&i.setAttribute("media",c.media),i.id=f,i.styleSheet||(i.appendChild(a.createTextNode(b)),h=null!==g&&g.childNodes.length>0&&i.childNodes.length>0&&g.firstChild.nodeValue===i.firstChild.nodeValue);varj=a.getElementsByTagName("head")[0];if(null===g||h===!1){vark=c&&c.nextSibling||null;k?k.parentNode.insertBefore(i,k):j.appendChild(i)}if(g&&h===!1&&g.parentNode.removeChild(g),i.styleSheet)try{i.styleSheet.cssText=b}catch(l){thrownewError("Couldn't reassign styleSheet.cssText.")}},currentScript:function(a){varb=a.document;returnb.currentScript||function(){vara=b.getElementsByTagName("script");returna[a.length-1]}()}}},{"./utils":11}],4:[function(a,b,c){b.exports=function(a,b,c){vard=null;if("development"!==b.env)try{d="undefined"==typeofa.localStorage?null:a.localStorage}catch(e){}return{setCSS:function(a,b,e,f){if(d){c.info("saving "+a+" to cache.");try{d.setItem(a,f),d.setItem(a+":timestamp",b),e&&d.setItem(a+":vars",JSON.stringify(e))}catch(g){c.error('failed to save "'+a+'" to local storage for caching.')}}},getCSS:function(a,b,c){vare=d&&d.getItem(a),f=d&&d.getItem(a+":timestamp"),g=d&&d.getItem(a+":vars");if(c=c||{},g=g||"{}",f&&b.lastModified&&newDate(b.lastModified).valueOf()===newDate(f).valueOf()&&JSON.stringify(c)===g)returne}}}},{}],5:[function(a,b,c){vard=a("./utils"),e=a("./browser");b.exports=function(a,b,c){functionf(b,f){varg,h,
"./color":22,"./color-blending":21,"./data-uri":23,"./default":24,"./function-caller":25,"./function-registry":26,"./math":29,"./number":30,"./string":31,"./svg":32,"./types":33}],28:[function(a,b,c){vard=a("../tree/dimension"),e=function(){};e._math=function(a,b,c){if(!(cinstanceofd))throw{type:"Argument",message:"argument must be a number"};returnnull==b?b=c.unit:c=c.unify(),newd(a(parseFloat(c.value)),b)},b.exports=e},{"../tree/dimension":60}],29:[function(a,b,c){vard=a("./function-registry"),e=a("./math-helper.js"),f={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(varginf)f.hasOwnProperty(g)&&(f[g]=e._math.bind(null,Math[g],f[g]));f.round=function(a,b){varc="undefined"==typeofb?0:b.value;returne._math(function(a){returna.toFixed(c)},null,a)},d.addMultiple(f)},{"./function-registry":26,"./math-helper.js":28}],30:[function(a,b,c){vard=a("../tree/dimension"),e=a("../tree/anonymous"),f=a("./function-registry"),g=a("./math-helper.js"),h=function(a,b){switch(b=Array.prototype.slice.call(b),b.length){case0:throw{type:"Argument",message:"one or more arguments required"}}varc,f,g,h,i,j,k,l,m=[],n={};for(c=0;c<b.length;c++)if(g=b[c],ginstanceofd)if(h=""===g.unit.toString()&&void0!==l?newd(g.value,l).unify():g.unify(),j=""===h.unit.toString()&&void0!==k?k:h.unit.toString(),k=""!==j&&void0===k||""!==j&&""===m[0].unify().unit.toString()?j:k,l=""!==j&&void0===l?g.unit.toString():l,f=void0!==n[""]&&""!==j&&j===k?n[""]:n[j],void0!==f)i=""===m[f].unit.toString()&&void0!==l?newd(m[f].value,l).unify():m[f].unify(),(a&&h.value<i.value||!a&&h.value>i.value)&&(m[f]=g);else{if(void0!==k&&j!==k)throw{type:"Argument",message:"incompatible types"};n[j]=m.length,m.push(g)}elseArray.isArray(b[c].value)&&Array.prototype.push.apply(b,Array.prototype.slice.call(b[c].value));return1==m.length?m[0]:(b=m.map(function(a){returna.toCSS(this.context)}).join(this.context.compress?",":", "),newe((a?"min":"max")+"("+b+")"))};f.addMultiple({min:function(){returnh(!0,arguments)},max:function(){returnh(!1,arguments)},convert:function(a,b){returna.convertTo(b.value)},pi:function(){returnnewd(Math.PI)},mod:function(a,b){returnnewd(a.value%b.value,a.unit)},pow:function(a,b){if("number"==typeofa&&"number"==typeofb)a=newd(a),b=newd(b);elseif(!(ainstanceofd&&binstanceofd))throw{type:"Argument",message:"arguments must be numbers"};returnnewd(Math.pow(a.value,b.value),a.unit)},percentage:function(a){varb=g._math(function(a){return100*a},"%",a);returnb}})},{"../tree/anonymous":48,"../tree/dimension":60,"./function-registry":26,"./math-helper.js":28}],31:[function(a,b,c){vard=a("../tree/quoted"),e=a("../tree/anonymous"),f=a("../tree/javascript"),g=a("./function-registry");g.addMultiple({e:function(a){returnnewe(ainstanceoff?a.evaluated:a.value)},escape:function(a){returnnewe(encodeURI(a.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(a,b,c,e){varf=a.value;returnc="Quoted"===c.type?c.value:c.toCSS(),f=f.replace(newRegExp(b.value,e?e.value:""),c),newd(a.quote||"",f,a.escaped)},"%":function(a){for(varb=Array.prototype.slice.call(arguments,1),c=a.value,e=0;e<b.length;e++)c=c.replace(/%[sda]/i,function(a){varc="Quoted"===b[e].type&&a.match(/s/i)?b[e].value:b[e].toCSS();returna.match(/[A-Z]$/)?encodeURIComponent(c):c});returnc=c.replace(/%%/g,"%"),newd(a.quote||"",c,a.escaped)}})},{"../tree/anonymous":48,"../tree/javascript":66,"../tree/quoted":78,"./function-registry":26}],32:[function(a,b,c){b.exports=function(b){varc=a("../tree/dimension"),d=a("../tree/color"),e=a("../tree/expression"),f=a("../tree/quoted"),g=a("../tree/url"),h=a("./function-registry");h.add("svg-gradient",function(a){functionb(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}varh,i,j,k,l,m,n,o,p="linear",q='x="0" y="0" width="1" height="1"',r={compress:!1},s=a.toCSS
},blockRuleset:function(){vara=this.block();returna&&(a=newe.Ruleset(null,a)),a},detachedRuleset:function(){vara=this.blockRuleset();if(a)returnnewe.DetachedRuleset(a)},ruleset:function(){varb,c,d;if(q.save(),a.dumpLineNumbers&&(d=n(q.i)),b=this.selectors(),b&&(c=this.block())){q.forget();varf=newe.Ruleset(b,c,a.strictImports);returna.dumpLineNumbers&&(f.debugInfo=d),f}q.restore()},declaration:function(){vara,b,d,f,g,h,i=q.i,j=q.currentChar();if("."!==j&&"#"!==j&&"&"!==j&&":"!==j)if(q.save(),a=this.variable()||this.ruleProperty()){if(h="string"==typeofa,h&&(b=this.detachedRuleset(),b&&(d=!0)),q.commentStore.length=0,!b){if(g=!h&&a.length>1&&a.pop().value,b=a[0].value&&"--"===a[0].value.slice(0,2)?this.permissiveValue():this.anonymousValue())returnq.forget(),newe.Declaration(a,b,(!1),g,i,c);b||(b=this.value()),b?f=this.important():h&&(b=this.permissiveValue())}if(b&&(this.end()||d))returnq.forget(),newe.Declaration(a,b,f,g,i,c);q.restore()}elseq.restore()},anonymousValue:function(){vara=q.i,b=q.$re(/^([^.#@\$+\/'"*`(;{}-]*);/);if(b)returnnewe.Anonymous(b[1],a)},permissiveValue:function(a){functionb(){vara=q.currentChar();return"string"==typeofi?a===i:i.test(a)}vard,f,g,h,i=a||";",k=q.i,l=[];if(!b()){h=[];dof=this.comment(),f?h.push(f):(f=this.entity(),f&&h.push(f));while(f);if(g=b(),h.length>0){if(h=newe.Expression(h),g)returnh;l.push(h)," "===q.prevChar()&&l.push(newe.Anonymous(" ",k))}if(q.save(),h=q.$parseUntil(i)){if("string"==typeofh&&j("Expected '"+h+"'","Parse"),1===h.length&&" "===h[0])returnq.forget(),newe.Anonymous("",k);varm;for(d=0;d<h.length;d++)if(m=h[d],Array.isArray(m))l.push(newe.Quoted(m[0],m[1],(!0),k,c));else{d===h.length-1&&(m=m.trim());varn=newe.Quoted("'",m,(!0),k,c);n.variableRegex=/@([\w-]+)/g,n.propRegex=/\$([\w-]+)/g,l.push(n)}returnq.forget(),newe.Expression(l,(!0))}q.restore()}},"import":function(){vara,b,d=q.i,f=q.$re(/^@import?\s+/);if(f){varg=(f?this.importOptions():null)||{};if(a=this.entities.quoted()||this.entities.url())returnb=this.mediaFeatures(),q.$char(";")||(q.i=d,j("missing semi-colon or unrecognised media features on import")),b=b&&newe.Value(b),newe.Import(a,b,g,d,c);q.i=d,j("malformed import statement")}},importOptions:function(){vara,b,c,d={};if(!q.$char("("))returnnull;doif(a=this.importOption()){switch(b=a,c=!0,b){case"css":b="less",c=!1;break;case"once":b="multiple",c=!1}if(d[b]=c,!q.$char(","))break}while(a);returnm(")"),d},importOption:function(){vara=q.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(a)returna[1]},mediaFeature:function(){vara,b,d=this.entities,f=[];q.save();doa=d.keyword()||d.variable()||d.mixinLookup(),a?f.push(a):q.$char("(")&&(b=this.property(),a=this.value(),q.$char(")")?b&&a?f.push(newe.Paren(newe.Declaration(b,a,null,null,q.i,c,(!0)))):a?f.push(newe.Paren(a)):j("badly formed media feature definition"):j("Missing closing ')'","Parse"));while(a);if(q.forget(),f.length>0)returnnewe.Expression(f)},mediaFeatures:function(){vara,b=this.entities,c=[];doif(a=this.mediaFeature()){if(c.push(a),!q.$char(","))break}elseif(a=b.variable()||b.mixinLookup(),a&&(c.push(a),!q.$char(",")))break;while(a);returnc.length>0?c:null},media:function(){varb,d,f,g,h=q.i;returna.dumpLineNumbers&&(g=n(h)),q.save(),q.$str("@media")?(b=this.mediaFeatures(),d=this.block(),d||j("media definitions require block statements after any features"),q.forget(),f=newe.Media(d,b,h,c),a.dumpLineNumbers&&(f.debugInfo=g),f):voidq.restore()},plugin:function(){vara,b,d,f=q.i,g=q.$re(/^@plugin?\s+/);if(g){if(b=this.pluginArgs(),d=b?{pluginArgs:b,isPlugin:!0}:{isPlugin:!0},a=this.entities.quoted()||this.entities.url())returnq.$char(";")||(q.i=f,j("missing semi-colon on @plugin")),newe.Import(a,null,d,f,c);q.i=f,j("malformed @plugin statement")}},pluginArgs:function(){if(q.save(),!q.$char("("))returnq.restore(),null;vara=q.$re(/^\s*([^\);]+)\)\s*/);returna[1]?(q.forget(),a[1].trim()):(q.restore(),null)},atrule:function(){varb,d,f,g,h,i,k,l=q.i,m=!0,o=!0;if("@"===q.currentChar()){if(d=this["import"]()||this.plugin()||
},b.exports=g},{"./combinator":54,"./node":74,"./paren":76}],62:[function(a,b,c){vard=a("./node"),e=a("./paren"),f=a("./comment"),g=function(a,b){if(this.value=a,this.noSpacing=b,!a)thrownewError("Expression requires an array parameter")};g.prototype=newd,g.prototype.type="Expression",g.prototype.accept=function(a){this.value=a.visitArray(this.value)},g.prototype.eval=function(a){varb,c=a.isMathOn(),d=this.parens&&!this.parensInOp,f=!1;returnd&&a.inParenthesis(),this.value.length>1?b=newg(this.value.map(function(b){returnb.eval?b.eval(a):b}),this.noSpacing):1===this.value.length?(!this.value[0].parens||this.value[0].parensInOp||a.inCalc||(f=!0),b=this.value[0].eval(a)):b=this,d&&a.outOfParenthesis(),this.parens&&this.parensInOp&&!c&&!f&&(b=newe(b)),b},g.prototype.genCSS=function(a,b){for(varc=0;c<this.value.length;c++)this.value[c].genCSS(a,b),!this.noSpacing&&c+1<this.value.length&&b.add(" ")},g.prototype.throwAwayComments=function(){this.value=this.value.filter(function(a){return!(ainstanceoff)})},b.exports=g},{"./comment":55,"./node":74,"./paren":76}],63:[function(a,b,c){vard=a("./node"),e=a("./selector"),f=functiong(a,b,c,d,e){switch(this.selector=a,this.option=b,this.object_id=g.next_id++,this.parent_ids=[this.object_id],this._index=c,this._fileInfo=d,this.copyVisibilityInfo(e),this.allowRoot=!0,b){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1}this.setParent(this.selector,this)};f.next_id=0,f.prototype=newd,f.prototype.type="Extend",f.prototype.accept=function(a){this.selector=a.visit(this.selector)},f.prototype.eval=function(a){returnnewf(this.selector.eval(a),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},f.prototype.clone=function(a){returnnewf(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},f.prototype.findSelfSelectors=function(a){varb,c,d=[];for(b=0;b<a.length;b++)c=a[b].elements,b>0&&c.length&&""===c[0].combinator.value&&(c[0].combinator.value=" "),d=d.concat(a[b].elements);this.selfSelectors=[newe(d)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())},b.exports=f},{"./node":74,"./selector":80}],64:[function(a,b,c){vard=a("./node"),e=a("./media"),f=a("./url"),g=a("./quoted"),h=a("./ruleset"),i=a("./anonymous"),j=a("../utils"),k=a("../less-error"),l=function(a,b,c,d,e,f){if(this.options=c,this._index=d,this._fileInfo=e,this.path=a,this.features=b,this.allowRoot=!0,void0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{varg=this.getPath();g&&/[#\.\&\?]css([\?;].*)?$/.test(g)&&(this.css=!0)}this.copyVisibilityInfo(f),this.setParent(this.features,this),this.setParent(this.path,this)};l.prototype=newd,l.prototype.type="Import",l.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features)),this.path=a.visit(this.path),this.options.isPlugin||this.options.inline||!this.root||(this.root=a.visit(this.root))},l.prototype.genCSS=function(a,b){this.css&&void0===this.path._fileInfo.reference&&(b.add("@import ",this._fileInfo,this._index),this.path.genCSS(a,b),this.features&&(b.add(" "),this.features.genCSS(a,b)),b.add(";"))},l.prototype.getPath=function(){returnthis.pathinstanceoff?this.path.value.value:this.path.value},l.prototype.isVariableImport=function(){vara=this.path;returnainstanceoff&&(a=a.value),!(ainstanceofg)||a.containsVariables()},l.prototype.evalForImport=function(a){varb=this.path;returnbinstanceoff&&(b=b.value),newl(b.eval(a),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},l.prototype.evalPath=function(a){varb=this.path.eval(a),c=this._fileInfo&&this._fileInfo.rootpath;if(!(binstanceoff)){if(c){vard=b.value;d&&a.isPathRelative(d)&&(b.value=c+d)}b.value=a.normalizePath(b.value)}returnb},l.prototype.eval=function(a){varb=this.doEval(a);return(this.options.reference||this.blocksVisibility())&&(b.length||0===b.length?b.forEach(function(a){a.addVisibilityBlock()}):b.addVisibilityBlock()),b},l.prototype.doEval=function(a){varb,c,d=this.features&&