!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.relativeUrls&&(b.rewriteUrls="all")}},{"./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":17,"./add-default-options":1,"./index":8,"promise/polyfill":107}],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,i="less-error-message:"+d.e
varb=a.value.filter(function(a){return"Comment"!==a.type});return1===b.length?b[0]:newd(b)}returna})),this.func.apply(this,a)},b.exports=e},{"../tree/expression":64}],27:[function(a,b,c){functiond(a){return{_data:{},add:function(a,b){a=a.toLowerCase(),this._data.hasOwnProperty(a),this._data[a]=b},addMultiple:function(a){Object.keys(a).forEach(function(b){this.add(b,a[b])}.bind(this))},get:function(b){returnthis._data[b]||a&&a.get(b)},getLocalFunctions:function(){returnthis._data},inherit:function(){returnd(this)},create:function(a){returnd(a)}}}b.exports=d(null)},{}],28:[function(a,b,c){b.exports=function(b){varc={functionRegistry:a("./function-registry"),functionCaller:a("./function-caller")};returna("./boolean"),a("./default"),a("./color"),a("./color-blending"),a("./data-uri")(b),a("./list"),a("./math"),a("./number"),a("./string"),a("./svg")(b),a("./types"),c}},{"./boolean":21,"./color":23,"./color-blending":22,"./data-uri":24,"./default":25,"./function-caller":26,"./function-registry":27,"./list":29,"./math":31,"./number":32,"./string":33,"./svg":34,"./types":35}],29:[function(a,b,c){vard=a("../tree/dimension"),e=a("../tree/declaration"),f=a("../tree/ruleset"),g=a("../tree/selector"),h=a("../tree/element"),i=a("./function-registry"),j=function(a){varb=Array.isArray(a.value)?a.value:Array(a);returnb};i.addMultiple({_SELF:function(a){returna},extract:function(a,b){returnb=b.value-1,j(a)[b]},length:function(a){returnnewd(j(a).length)},each:function(a,b){varc,i,j=0,k=[];i=a.value?Array.isArray(a.value)?a.value:[a.value]:a.ruleset?a.ruleset.rules:Array.isArray(a)?a:[a];varl="@value",m="@key",n="@index";returnb.params?(l=b.params[0]&&b.params[0].name,m=b.params[1]&&b.params[1].name,n=b.params[2]&&b.params[2].name,b=b.rules):b=b.ruleset,i.forEach(function(a){j+=1;vari,o;ainstanceofe?(i="string"==typeofa.name?a.name:a.name[0].value,o=a.value):(i=newd(j),o=a),c=b.rules.slice(0),l&&c.push(newe(l,o,(!1),(!1),this.index,this.currentFileInfo)),n&&c.push(newe(n,newd(j),(!1),(!1),this.index,this.currentFileInfo)),m&&c.push(newe(m,i,(!1),(!1),this.index,this.currentFileInfo)),k.push(newf([newg([newh("","&")])],c,b.strictImports,b.visibilityInfo()))}),newf([newg([newh("","&")])],k,b.strictImports,b.visibilityInfo()).eval(this.context)}})},{"../tree/declaration":60,"../tree/dimension":62,"../tree/element":63,"../tree/ruleset":81,"../tree/selector":82,"./function-registry":27}],30:[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":62}],31:[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":27,"./math-helper.js":30}],32:[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
a||(q.save(),q.$char("(")?(d=this.selector(!1))&&q.$char(")")?(a=newe.Paren(d),q.forget()):q.restore("Missing closing ')'"):q.forget()),a)returnnewe.Element(b,a,ainstanceofe.Variable,f,c)},combinator:function(){vara=q.currentChar();if("/"===a){q.save();varb=q.$re(/^\/[a-z]+\//i);if(b)returnq.forget(),newe.Combinator(b);q.restore()}if(">"===a||"+"===a||"~"===a||"|"===a||"^"===a){for(q.i++,"^"===a&&"^"===q.currentChar()&&(a="^^",q.i++);q.isWhitespace();)q.i++;returnnewe.Combinator(a)}returnnewe.Combinator(q.isWhitespace(-1)?" ":null)},selector:function(a){varb,d,f,g,h,i,k,m=q.i;for(a=a!==!1;(a&&(d=this.extend())||a&&(i=q.$str("when"))||(g=this.element()))&&(i?k=l(this.conditions,"expected condition"):k?j("CSS guard can only be used at the end of selector"):d?h=h?h.concat(d):d:(h&&j("Extend can only be used at the end of selector"),f=q.currentChar(),b?b.push(g):b=[g],g=null),"{"!==f&&"}"!==f&&";"!==f&&","!==f&&")"!==f););returnb?newe.Selector(b,h,k,m,c):void(h&&j("Extend must be used to extend a selector, it cannot be used on its own"))},selectors:function(){for(vara,b;;){if(a=this.selector(),!a)break;if(b?b.push(a):b=[a],q.commentStore.length=0,a.condition&&b.length>1&&j("Guards are only currently allowed on a single selector."),!q.$char(","))break;a.condition&&j("Guards are only currently allowed on a single selector."),q.commentStore.length=0}returnb},attribute:function(){if(q.$char("[")){vara,b,c,d=this.entities;return(a=d.variableCurly())||(a=l(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),c=q.$re(/^[|~*$^]?=/),c&&(b=d.quoted()||q.$re(/^[0-9]+%/)||q.$re(/^[\w-]+/)||d.variableCurly()),m("]"),newe.Attribute(a,c,b)}},block:function(){vara;if(q.$char("{")&&(a=this.primary())&&q.$char("}"))returna},blockRuleset:function(){vara=this.block();returna&&(a=newe.Ruleset(null,a)),a},detachedRuleset:function(){vara,b,c;if(q.save(),q.$re(/^[.#]\(/)&&(a=this.mixin.args(!1),b=a.args,c=a.variadic,!q.$char(")")))returnvoidq.restore();vard=this.blockRuleset();returnd?(q.forget(),b?newe.mixin.Definition(null,b,d,null,c):newe.DetachedRuleset(d)):voidq.restore()},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&&ne
this.unit.backupUnit&&(e.backupUnit=this.unit.backupUnit);elseif(0===c.unit.numerator.length&&0===e.denominator.length);else{if(c=c.convertTo(this.unit.usedUnits()),a.strictUnits&&c.unit.toString()!==e.toString())thrownewError("Incompatible units. Change the units or use the unit function. Bad units: '"+e.toString()+"' and '"+c.unit.toString()+"'.");d=this._operate(a,b,this.value,c.value)}else"*"===b?(e.numerator=e.numerator.concat(c.unit.numerator).sort(),e.denominator=e.denominator.concat(c.unit.denominator).sort(),e.cancel()):"/"===b&&(e.numerator=e.numerator.concat(c.unit.denominator).sort(),e.denominator=e.denominator.concat(c.unit.numerator).sort(),e.cancel());returnnewh(d,e)},h.prototype.compare=function(a){varb,c;if(ainstanceofh){if(this.unit.isEmpty()||a.unit.isEmpty())b=this,c=a;elseif(b=this.unify(),c=a.unify(),0!==b.unit.compare(c.unit))return;returnd.numericCompare(b.value,c.value)}},h.prototype.unify=function(){returnthis.convertTo({length:"px",duration:"s",angle:"rad"})},h.prototype.convertTo=function(a){varb,c,d,f,g,i=this.value,j=this.unit.clone(),k={};if("string"==typeofa){for(bine)e[b].hasOwnProperty(a)&&(k={},k[b]=a);a=k}g=function(a,b){returnd.hasOwnProperty(a)?(b?i/=d[a]/d[f]:i*=d[a]/d[f],f):a};for(cina)a.hasOwnProperty(c)&&(f=a[c],d=e[c],j.map(g));returnj.cancel(),newh(i,j)},b.exports=h},{"../data/unit-conversions":16,"./color":55,"./node":76,"./unit":84}],63:[function(a,b,c){vard=a("./node"),e=a("./paren"),f=a("./combinator"),g=function(a,b,c,d,e,g){this.combinator=ainstanceoff?a:newf(a),this.value="string"==typeofb?b.trim():b?b:"",this.isVariable=c,this._index=d,this._fileInfo=e,this.copyVisibilityInfo(g),this.setParent(this.combinator,this)};g.prototype=newd,g.prototype.type="Element",g.prototype.accept=function(a){varb=this.value;this.combinator=a.visit(this.combinator),"object"==typeofb&&(this.value=a.visit(b))},g.prototype.eval=function(a){returnnewg(this.combinator,this.value.eval?this.value.eval(a):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},g.prototype.clone=function(){returnnewg(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},g.prototype.genCSS=function(a,b){b.add(this.toCSS(a),this.fileInfo(),this.getIndex())},g.prototype.toCSS=function(a){a=a||{};varb=this.value,c=a.firstSelector;returnbinstanceofe&&(a.firstSelector=!0),b=b.toCSS?b.toCSS(a):b,a.firstSelector=c,""===b&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(a)+b},b.exports=g},{"./combinator":56,"./node":76,"./paren":78}],64:[function(a,b,c){vard=a("./node"),e=a("./paren"),f=a("./comment"),g=a("./dimension"),h=a("../constants").Math,i=function(a,b){if(this.value=a,this.noSpacing=b,!a)thrownewError("Expression requires an array parameter")};i.prototype=newd,i.prototype.type="Expression",i.prototype.accept=function(a){this.value=a.visitArray(this.value)},i.prototype.eval=function(a){varb,c=a.isMathOn(),d=this.parens&&(a.math!==h.STRICT_LEGACY||!this.parensInOp),f=!1;returnd&&a.inParenthesis(),this.value.length>1?b=newi(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||binstanceofg||(b=newe(b)),b},i.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(" ")},i.prototype.throwAwayComments=function(){this.value=this.value.filter(function(a){return!(ainstanceoff)})},b.exports=i},{"../constants":12,"./comment":57,"./dimension":62,"./node":76,"./paren":78}],65:[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.allowAft
g(b)}functionf(){this.task=null}varg=a("./raw"),h=[],i=[],j=g.makeRequestCallFromTimer(d);b.exports=e,f.prototype.call=function(){try{this.task.call()}catch(a){e.onerror?e.onerror(a):(i.push(a),j())}finally{this.task=null,h[h.length]=this}}},{"./raw":99}],99:[function(a,b,c){(function(a){"use strict";functionc(a){h.length||(g(),i=!0),h[h.length]=a}functiond(){for(;j<h.length;){vara=j;if(j+=1,h[a].call(),j>k){for(varb=0,c=h.length-j;b<c;b++)h[b]=h[b+j];h.length-=j,j=0}}h.length=0,j=0,i=!1}functione(a){varb=1,c=newm(a),d=document.createTextNode("");returnc.observe(d,{characterData:!0}),function(){b=-b,d.data=b}}functionf(a){returnfunction(){functionb(){clearTimeout(c),clearInterval(d),a()}varc=setTimeout(b,0),d=setInterval(b,50)}}b.exports=c;varg,h=[],i=!1,j=0,k=1024,l="undefined"!=typeofa?a:self,m=l.MutationObserver||l.WebKitMutationObserver;g="function"==typeofm?e(d):f(d),c.requestFlush=g,c.makeRequestCallFromTimer=f}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{}],100:[function(a,b,c){"use strict";functiond(a){varb=a.length;if(b%4>0)thrownewError("Invalid string. Length must be a multiple of 4");return"="===a[b-2]?2:"="===a[b-1]?1:0}functione(a){return3*a.length/4-d(a)}functionf(a){varb,c,e,f,g,h=a.length;f=d(a),g=newl(3*h/4-f),c=f>0?h-4:h;vari=0;for(b=0;b<c;b+=4)e=k[a.charCodeAt(b)]<<18|k[a.charCodeAt(b+1)]<<12|k[a.charCodeAt(b+2)]<<6|k[a.charCodeAt(b+3)],g[i++]=e>>16&255,g[i++]=e>>8&255,g[i++]=255&e;return2===f?(e=k[a.charCodeAt(b)]<<2|k[a.charCodeAt(b+1)]>>4,g[i++]=255&e):1===f&&(e=k[a.charCodeAt(b)]<<10|k[a.charCodeAt(b+1)]<<4|k[a.charCodeAt(b+2)]>>2,g[i++]=e>>8&255,g[i++]=255&e),g}functiong(a){returnj[a>>18&63]+j[a>>12&63]+j[a>>6&63]+j[63&a]}functionh(a,b,c){for(vard,e=[],f=b;f<c;f+=3)d=(a[f]<<16)+(a[f+1]<<8)+a[f+2],e.push(g(d));returne.join("")}functioni(a){for(varb,c=a.length,d=c%3,e="",f=[],g=16383,i=0,k=c-d;i<k;i+=g)f.push(h(a,i,i+g>k?k:i+g));return1===d?(b=a[c-1],e+=j[b>>2],e+=j[b<<4&63],e+="=="):2===d&&(b=(a[c-2]<<8)+a[c-1],e+=j[b>>10],e+=j[b>>4&63],e+=j[b<<2&63],e+="="),f.push(e),f.join("")}c.byteLength=e,c.toByteArray=f,c.fromByteArray=i;for(varj=[],k=[],l="undefined"!=typeofUint8Array?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=m.length;n<o;++n)j[n]=m[n],k[m.charCodeAt(n)]=n;k["-".charCodeAt(0)]=62,k["_".charCodeAt(0)]=63},{}],101:[function(a,b,c){"use strict";functiond(){try{vara=newUint8Array(1);returna.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===a.foo()}catch(b){return!1}}functione(a){if(a>Z)thrownewRangeError("Invalid typed array length");varb=newUint8Array(a);returnb.__proto__=f.prototype,b}functionf(a,b,c){if("number"==typeofa){if("string"==typeofb)thrownewError("If encoding is specified then the first argument must be a string");returnj(a)}returng(a,b,c)}functiong(a,b,c){if("number"==typeofa)thrownewTypeError('"value" argument must not be a number');returnU(a)?m(a,b,c):"string"==typeofa?k(a,b):n(a)}functionh(a){if("number"!=typeofa)thrownewTypeError('"size" argument must be a number');if(a<0)thrownewRangeError('"size" argument must not be negative')}functioni(a,b,c){returnh(a),a<=0?e(a):void0!==b?"string"==typeofc?e(a).fill(b,c):e(a).fill(b):e(a)}functionj(a){returnh(a),e(a<0?0:0|o(a))}functionk(a,b){if("string"==typeofb&&""!==b||(b="utf8"),!f.isEncoding(b))thrownewTypeError('"encoding" must be a valid string encoding');varc=0|q(a,b),d=e(c),g=d.write(a,b);returng!==c&&(d=d.slice(0,g)),d}functionl(a){for(varb=a.length<0?0:0|o(a.length),c=e(b),d=0;d<b;d+=1)c[d]=255&a[d];returnc}functionm(a,b,c){if(b<0||a.byteLength<b)thrownewRangeError("'offset' is out of bounds");if(a.byteLength<b+(c||0))thrownewRangeError("'length' is out of bounds");vard;returnd=void0===b&&void0===c?newUint8Array(a):void0===c?newUint8Array(a,b):newUint8Array(a,b,c),d.__proto__=f.prototype,d}functionn(a){if(f.isBuffer(a)){varb=0|o(a.length),c=e(b);return0===c.length?c:(a.copy(c,0,0,b),c)}if