Update cleancss-browser.js to v2.2.14.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 26 Aug 2014 10:08:23 +0000 (13:08 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 26 Aug 2014 10:08:23 +0000 (13:08 +0300)
assets/cleancss-browser.js

index f3d023e..c833071 100644 (file)
@@ -1,4 +1,4 @@
-!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.CleanCSS=e()}}(function(){var e;return function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var f=r[a]={exports:{}};e[a][0].call(f.exports,function(t){var r=e[a][1][t];return i(r?r:t)},f,f.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t){t.exports=e("./lib/clean")},{"./lib/clean":2}],2:[function(e,t){(function(r,n){var i=e("./colors/shortener"),o=e("./colors/hsl-to-hex"),a=e("./colors/rgb-to-hex"),s=e("./colors/long-to-short-hex"),u=e("./imports/inliner"),l=e("./images/url-rebase"),f=e("./selectors/empty-removal"),c=e("./text/comments"),h=e("./text/expressions"),d=e("./text/free"),p=e("./text/urls"),g=e("./text/name-quotes"),v=e("./text/splitter"),m=e("./selectors/optimizer"),b=t.exports=function w(e){return e=e||{},this instanceof w?(e.keepBreaks=e.keepBreaks||!1,void 0===e.processImport&&(e.processImport=!0),this.options=e,this.stats={},this.context={errors:[],warnings:[],debug:e.debug},this.errors=this.context.errors,this.warnings=this.context.warnings,void(this.lineBreak="win32"==r.platform?"\r\n":"\n")):new w(e)};b.prototype.minify=function(e,t){var i=this.options;if(n.isBuffer(e)&&(e=e.toString()),i.processImport||e.indexOf("@shallow")>0){var o=this,a=t?r.nextTick:function(e){return e()};return a(function(){return new u(o.context,i.inliner).process(e,{localOnly:!t,root:i.root||r.cwd(),relativeTo:i.relativeTo,whenDone:function(e){return y.call(o,e,t)}})})}return y.call(this,e,t)};var y=function(e,t){var n,u=this.stats,b=this.options,y=this.context,w=this.lineBreak,x=new c("keepSpecialComments"in b?b.keepSpecialComments:"*",b.keepBreaks,w),k=new h,_=new d,O=new p,S=new g;b.debug&&(this.startedAt=r.hrtime(),this.stats.originalSize=e.length);var E=function(){"function"==typeof arguments[0]?arguments[0]():e=e.replace.apply(e,arguments)};if(b.benchmark){var I=E;E=function(e,t){var n="function"==typeof e?/function (\w+)\(/.exec(e.toString())[1]:e,i=r.hrtime();I(e,t);var o=r.hrtime(i);console.log("%d ms: "+n,1e3*o[0]+o[1]/1e6)}}b.debug&&(n=r.hrtime(),u.originalSize=e.length),E(function(){e=x.escape(e)}),E(/\\(\r\n|\n)/gm,""),E(/url\((['"])([^\)]+)['"]\)/g,function(e,t,r){var n=0===r.indexOf("data:")&&null===r.match(/data:\w+\/[^;]+;base64,/);return null!==r.match(/[ \t]/g)||n?"url("+t+r+t+")":"url("+r+")"}),E(function(){e=S.process(e)}),E(/@(\-moz\-|\-o\-|\-webkit\-)?keyframes ([^{]+)/g,function(e,t,r){return t=t||"","@"+t+"keyframes "+(r.indexOf(" ")>-1?r:r.replace(/['"]/g,""))}),E(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\([^\)]+\))([;}'"])/g,function(e,t,r,n){return t.toLowerCase()+r+n}),E(function(){e=k.escape(e)}),E(/\[([^\]]+)\]/g,function(e,t){var r=t.indexOf("="),n=t.indexOf("'"),i=t.indexOf('"');if(0>r&&0>n&&0>i)return e;if(0===n||0===i)return e;var o=t.substring(0,r),a=t.substring(r+1,t.length);return/^['"](?:[a-zA-Z][a-zA-Z\d\-_]+)['"]$/.test(a)?"["+o+"="+a.substring(1,a.length-1)+"]":e}),E(function(){e=_.escape(e)}),E(function(){e=O.escape(e)}),E(/@charset [^;]+;/gi,function(e){return e.indexOf("@charset")>-1?e:""}),E(/\[([^\]]+)\]/g,function(e){return e.replace(/\s/g,"")}),E(/[\r]?\n/g," "),E(/[\t ]+/g," "),E(/;[ ]?;+/g,";"),E(/ (?:\r\n|\n)/g,w),E(/(?:\r\n|\n)+/g,w),E(/ ([+~>]) /g,"$1"),E(/([!\(\{\}:;=,\n]) /g,"$1"),E(/ ([!\)\{\};=,\n])/g,"$1"),E(/(?:\r\n|\n)\}/g,"}"),E(/([\{;,])(?:\r\n|\n)/g,"$1"),E(/ :([^\{\};]+)([;}])/g,":$1$2"),E(/progid:[^(]+\(([^\)]+)/g,function(e){return e.replace(/,/g,", ")}),E(/;\}/g,"}"),E(function(){e=new o(e).process()}),E(function(){e=new a(e).process()}),E(function(){e=new s(e).process()}),E(function(){e=new i(e).process()}),E(/(font\-weight|font):(normal|bold)([ ;\}!])(\w*)/g,function(e,t,r,n,i){return" "==n&&(i.indexOf("/")>-1||"normal"==i||/[1-9]00/.test(i))?e:"normal"==r?t+":400"+n+i:"bold"==r?t+":700"+n+i:e});var V=/(\s|:|,|\()\-0([^\.])/g;E(V,"$10$2"),E(V,"$10$2"),E(/(\s|:|,)0+([1-9])/g,"$1$2");var j="roundingPrecision"in b?b.roundingPrecision:2,A=Math.pow(10,j);E(new RegExp("\\.(\\d{"+(j+1)+",})px","g"),function(e,t){return 0===j?"px":"."+Math.round(parseFloat("."+t)*A)/A+"px"});var C=/(\D)\.0+(\D)/g;E(C,"$10$2"),E(C,"$10$2"),E(/\.([1-9]*)0+(\D)/g,function(e,t,r){return(t.length>0?".":"")+t+r});var L=["px","em","ex","cm","mm","in","pt","pc","%"];if(-1==["ie7","ie8"].indexOf(b.compatibility)&&L.push("rem"),E(new RegExp("(\\s|:|,)\\-?0(?:"+L.join("|")+")","g"),"$10"),E(new RegExp("(\\s|:|,)\\-?(\\d+)\\.(\\D)","g"),"$1$2$3"),E(new RegExp("rect\\(0(?:"+L.join("|")+")","g"),"rect(0"),E(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,r){var n=r.split(","),i="hsl"==t||"hsla"==t||n[0].indexOf("%")>-1;return i?(-1==n[1].indexOf("%")&&(n[1]+="%"),-1==n[2].indexOf("%")&&(n[2]+="%"),t+"("+n.join(",")+")"):e}),b.compatibility||E(/:([^;]*)(?:rgba|hsla)\(\d+,\d+%?,\d+%?,0\)/g,function(e,t){return new v(",").split(e).pop().indexOf("gradient(")>-1?e:":"+t+"transparent"}),E(/outline:none/g,"outline:0"),E(/background:(?:none|transparent)([;}])/g,"background:0 0$1"),E(/box-shadow:0 0 0 0([^\.])/g,"box-shadow:0 0$1"),E(/:0 0 0 0([^\.])/g,":0$1"),E(/([: ,=\-])0\.(\d)/g,"$1.$2"),E(/rect\(\s?0(\s|,)0[ ,]0[ ,]0\s?\)/g,"rect(0$10$10$10)"),E(/\*([\.#:\[])/g,"$1"),E(/calc\([^\}]+\}/g,function(e){return e.replace(/\+/g," + ")}),b.compatibility||E(/([;\{])[\*_][\w\-]+:[^;\}]+/g,"$1"),b.noAdvanced?b.keepBreaks&&E(/\}/g,"}"+w):E(function(){e=new m(e,y,{keepBreaks:b.keepBreaks,lineBreak:w,compatibility:b.compatibility,aggressiveMerging:!b.noAggressiveMerging}).process()}),E(/(border-\w+-\w+-radius:\S+)\s+\/\s+/g,"$1/"),E(/(border-\w+-\w+-radius):([^;\}]+)/g,function(e,t,r){var n=r.split("/");return n.length>1&&n[0]==n[1]?t+":"+n[0]:e}),E(function(){e=O.restore(e)}),E(function(){e=b.noRebase?e:new l(b,y).process(e)}),E(function(){e=_.restore(e)}),E(function(){e=x.restore(e)}),E(function(){e=k.restore(e)}),E(function(){var t=e.match(/@charset [^;]+;/),r=t?t[0]:null;r&&(e=r+(b.keepBreaks?w:"")+e.replace(new RegExp("@charset [^;]+;("+w+")?","g"),"").trim())}),b.noAdvanced&&E(function(){e=new f(e).process()}),e=e.trim(),b.debug){var B=r.hrtime(n);u.timeSpent=~~(1e3*B[0]+B[1]/1e6),u.efficiency=1-e.length/u.originalSize,u.minifiedSize=e.length}return t?t.call(this,this.context.errors.length>0?this.context.errors:null,e):e}}).call(this,e("_process"),e("buffer").Buffer)},{"./colors/hsl-to-hex":3,"./colors/long-to-short-hex":4,"./colors/rgb-to-hex":5,"./colors/shortener":6,"./images/url-rebase":7,"./imports/inliner":9,"./selectors/empty-removal":17,"./selectors/optimizer":18,"./text/comments":20,"./text/expressions":22,"./text/free":23,"./text/name-quotes":24,"./text/splitter":26,"./text/urls":27,_process:41,buffer:29}],3:[function(e,t){t.exports=function(e){var t=function(e,t,n){var i,o,a;if(e%=360,0>e&&(e+=360),e=~~e/360,0>t?t=0:t>100&&(t=100),t=~~t/100,0>n?n=0:n>100&&(n=100),n=~~n/100,0===t)i=o=a=n;else{var s=.5>n?n*(1+t):n+t-n*t,u=2*n-s;i=r(u,s,e+1/3),o=r(u,s,e),a=r(u,s,e-1/3)}return[~~(255*i),~~(255*o),~~(255*a)]},r=function(e,t,r){return 0>r&&(r+=1),r>1&&(r-=1),1/6>r?e+6*(t-e)*r:.5>r?t:2/3>r?e+(t-e)*(2/3-r)*6:e};return{process:function(){return e.replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,r,n,i){var o=t(r,n,i),a=o[0].toString(16),s=o[1].toString(16),u=o[2].toString(16);return"#"+((1==a.length?"0":"")+a)+((1==s.length?"0":"")+s)+((1==u.length?"0":"")+u)})}}}},{}],4:[function(e,t){t.exports=function(e){return{process:function(){return e.replace(/([,: \(])#([0-9a-f]{6})/gi,function(e,t,r){return r[0]==r[1]&&r[2]==r[3]&&r[4]==r[5]?t+"#"+r[0]+r[2]+r[4]:t+"#"+r})}}}},{}],5:[function(e,t){t.exports=function(e){return{process:function(){return e.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,r,n){return t=Math.max(0,Math.min(~~t,255)),r=Math.max(0,Math.min(~~r,255)),n=Math.max(0,Math.min(~~n,255)),"#"+("00000"+(t<<16|r<<8|n).toString(16)).slice(-6)})}}}},{}],6:[function(e,t){t.exports=function(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},r={},n={};for(var i in t){var o=t[i];i.length<o.length?n[o]=i:r[i]=o}return{toHex:r,toName:n,process:function(){return[r,n].forEach(function(t){var r="("+Object.keys(t).join("|")+")",n=function(e,r,n,i){return r+t[n.toLowerCase()]+i};e=e.replace(new RegExp("([ :,\\(])"+r+"([;\\}!\\) ])","ig"),n),e=e.replace(new RegExp("(,)"+r+"(,)","ig"),n)}),e}}}},{}],7:[function(e,t){var r=e("path"),n=e("./url-rewriter");t.exports=function(e,t){var i=function(i){var o={absolute:!!e.root,relative:!e.root&&!!e.target,fromBase:e.relativeTo};return o.absolute||o.relative?(o.absolute&&e.target&&t.warnings.push("Both 'root' and output file given so rebasing URLs as absolute paths"),o.absolute&&(o.toBase=r.resolve(e.root)),o.relative&&(o.toBase=r.resolve(r.dirname(e.target))),o.fromBase&&o.toBase?n.process(i,o):i):i};return{process:i}}},{"./url-rewriter":8,path:40}],8:[function(e,t){(function(r){var n=e("path"),i=e("url");t.exports={process:function(e,t){for(var r=[],n=0,i=0,o=0;i<e.length&&(n=e.indexOf("url(",i),-1!=n)&&(i=e.indexOf(")",n+4),-1!=i);){r.push(e.substring(o,n));var a=e.substring(n+4,i);/\/\*|\*\//.test(a)||(a=a.replace(/['"]/g,"")),r.push("url("+this._rebased(a,t)+")"),o=i+1}return r.length>0?r.join("")+e.substring(o,e.length):e},_rebased:function(e,t){var o,a="/"==e[0]||".css"==e.substring(e.length-4)||0===e.indexOf("data:")||null!==/^https?:\/\//.exec(e)||null!==/__\w+__/.exec(e);return a?e:/https?:\/\//.test(t.toBase)?i.resolve(t.toBase,e):(o=t.absolute?n.resolve(n.join(t.fromBase,e)).replace(t.toBase,""):n.relative(t.toBase,n.join(t.fromBase,e)),"win32"==r.platform?o.replace(/\\/g,"/"):o)}}}).call(this,e("_process"))},{_process:41,path:40,url:59}],9:[function(e,t){var r=e("fs"),n=e("path"),i=e("http"),o=e("https"),a=e("url"),s=e("../images/url-rewriter"),u=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var i in t)r[i]=t[i];return r};t.exports=function(e,t){var l={timeout:5e3,request:{}},f=u(l,t||{}),c=function(e,t){if(t.shallow)return t.shallow=!1,t._shared.done.push(e),h(t);t._shared=t._shared||{done:[],left:[]};var r=t._shared,n=0,i=0,o=0,a=d(e),s=p(e);for(t.relativeTo=t.relativeTo||t.root,t._baseRelativeTo=t._baseRelativeTo||t.relativeTo,t.visited=t.visited||[];i<e.length&&(n=e.indexOf("@import",o),-1!=n);){if(!a(n)){if(i=e.indexOf(";",n),-1==i){o=e.length,e="";break}return r.done.push(e.substring(0,n)),r.left.unshift([e.substring(i+1),t]),s(n)?h(t):g(e,n,i,t)}o=n+1}return r.done.push(e),h(t)},h=function(e){return e._shared.left.length>0?c.apply(null,e._shared.left.shift()):e.whenDone(e._shared.done.join(""))},d=function(e){var t=/(\/\*(?!\*\/)[\s\S]*?\*\/)/,r=0,n=0,i=!1,o=function(a){var s,u=0,l=0,f=0,c=0;return i?!1:a>r&&n>a?!0:(s=e.match(t))?(r=u=s.index,l=u+s[0].length,c=l+n,f=c-s[0].length,e=e.substring(l),n=c,a>c?o(a):c>a&&a>f):(i=!0,!1)};return o},p=function(e){for(var t=d(e),r=-1;;)if(r=e.indexOf("{",r+1),-1==r||!t(r))break;return function(e){return r>-1?e>r:!1}},g=function(t,r,n,i){i.shallow=t.indexOf("@shallow")>0;var o=t.substring(t.indexOf(" ",r)+1,n).replace(/@shallow\)$/,")").trim(),a=0===o.indexOf("url("),s=a?4:0,u=/^['"]/.exec(o.substring(s,s+2)),l=u?o.indexOf(u[0],s+1):o.split(" ")[0].length,f=o.substring(s,l).replace(/['"]/g,"").replace(/\)$/,"").trim(),c=o.substring(l+1).replace(/^\)/,"").trim(),d=i.isRemote||/^(http|https):\/\//.test(f)||/^\/\//.test(f);if(i.localOnly&&d)return e.warnings.push('Ignoring remote @import declaration of "'+f+'" as no callback given.'),b(f,c,i),h(i);var p=d?v:m;return p(f,c,i)},v=function(t,r,n){var l=/^https?:\/\//.test(t)?t:a.resolve(n.relativeTo,t);if(0===l.indexOf("//")&&(l="http:"+l),n.visited.indexOf(l)>-1)return h(n);e.debug&&console.error("Inlining remote stylesheet: "+l),n.visited.push(l);var d=0===l.indexOf("http://")?i.get:o.get,p=!1,g=function(t){e.errors.push('Broken @import declaration of "'+l+'" - '+t),b(l,r,n),h(n)},m=u(a.parse(l),f.request);d(m,function(e){if(e.statusCode<200||e.statusCode>399)return g("error "+e.statusCode);if(e.statusCode>299){var t=a.resolve(l,e.headers.location);return v(t,r,n)}var i=[],o=a.parse(l);e.on("data",function(e){i.push(e.toString())}),e.on("end",function(){var e=i.join("");e=s.process(e,{toBase:l}),r.length>0&&(e="@media "+r+"{"+e+"}"),c(e,{isRemote:!0,relativeTo:o.protocol+"//"+o.host,_shared:n._shared,whenDone:n.whenDone,visited:n.visited,shallow:n.shallow})})}).on("error",function(e){g(e.message)}).on("timeout",function(){p||(g("timeout"),p=!0)}).setTimeout(f.timeout)},m=function(t,i,o){var a="/"==t[0]?o.root:o.relativeTo,u=n.resolve(n.join(a,t));if(!r.existsSync(u)||!r.statSync(u).isFile())return e.errors.push('Broken @import declaration of "'+t+'"'),h(o);if(o.visited.indexOf(u)>-1)return h(o);e.debug&&console.error("Inlining local stylesheet: "+u),o.visited.push(u);var l=r.readFileSync(u,"utf8"),f=n.dirname(u);return l=s.process(l,{relative:!0,fromBase:f,toBase:o._baseRelativeTo}),i.length>0&&(l="@media "+i+"{"+l+"}"),c(l,{root:o.root,relativeTo:f,_baseRelativeTo:o._baseRelativeTo,_shared:o._shared,visited:o.visited,whenDone:o.whenDone,localOnly:o.localOnly,shallow:o.shallow})},b=function(e,t,r){var n="@import url("+e+")"+(t.length>0?" "+t:"")+";";r._shared.done.push(n)};return{process:c}}},{"../images/url-rewriter":8,fs:28,http:33,https:37,path:40,url:59}],10:[function(e,t){var r=e("./processable"),n=e("./override-compactor"),i=e("./shorthand-compactor");t.exports=function(e,t){var o={"animation-delay":["animation"],"animation-direction":["animation"],"animation-duration":["animation"],"animation-fill-mode":["animation"],"animation-iteration-count":["animation"],"animation-name":["animation"],"animation-play-state":["animation"],"animation-timing-function":["animation"],"-moz-animation-delay":["-moz-animation"],"-moz-animation-direction":["-moz-animation"],"-moz-animation-duration":["-moz-animation"],"-moz-animation-fill-mode":["-moz-animation"],"-moz-animation-iteration-count":["-moz-animation"],"-moz-animation-name":["-moz-animation"],"-moz-animation-play-state":["-moz-animation"],"-moz-animation-timing-function":["-moz-animation"],"-o-animation-delay":["-o-animation"],"-o-animation-direction":["-o-animation"],"-o-animation-duration":["-o-animation"],"-o-animation-fill-mode":["-o-animation"],"-o-animation-iteration-count":["-o-animation"],"-o-animation-name":["-o-animation"],"-o-animation-play-state":["-o-animation"],"-o-animation-timing-function":["-o-animation"],"-webkit-animation-delay":["-webkit-animation"],"-webkit-animation-direction":["-webkit-animation"],"-webkit-animation-duration":["-webkit-animation"],"-webkit-animation-fill-mode":["-webkit-animation"],"-webkit-animation-iteration-count":["-webkit-animation"],"-webkit-animation-name":["-webkit-animation"],"-webkit-animation-play-state":["-webkit-animation"],"-webkit-animation-timing-function":["-webkit-animation"],"background-attachment":["background"],"background-clip":["background"],"background-color":["background"],"background-image":["background"],"background-origin":["background"],"background-position":["background"],"background-repeat":["background"],"background-size":["background"],"border-color":["border"],"border-style":["border"],"border-width":["border"],"border-bottom":["border"],"border-bottom-color":["border-bottom","border-color","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left":["border"],"border-left-color":["border-left","border-color","border"],"border-left-style":["border-left","border-style","border"],"border-left-width":["border-left","border-width","border"],"border-right":["border"],"border-right-color":["border-right","border-color","border"],"border-right-style":["border-right","border-style","border"],"border-right-width":["border-right","border-width","border"],"border-top":["border"],"border-top-color":["border-top","border-color","border"],"border-top-style":["border-top","border-style","border"],"border-top-width":["border-top","border-width","border"],"font-family":["font"],"font-size":["font"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"list-style-image":["list-style"],"list-style-position":["list-style"],"list-style-type":["list-style"],"margin-bottom":["margin"],"margin-left":["margin"],"margin-right":["margin"],"margin-top":["margin"],"outline-color":["outline"],"outline-style":["outline"],"outline-width":["outline"],"padding-bottom":["padding"],"padding-left":["padding"],"padding-right":["padding"],"padding-top":["padding"],"transition-delay":["transition"],"transition-duration":["transition"],"transition-property":["transition"],"transition-timing-function":["transition"],"-moz-transition-delay":["-moz-transition"],"-moz-transition-duration":["-moz-transition"],"-moz-transition-property":["-moz-transition"],"-moz-transition-timing-function":["-moz-transition"],"-o-transition-delay":["-o-transition"],"-o-transition-duration":["-o-transition"],"-o-transition-property":["-o-transition"],"-o-transition-timing-function":["-o-transition"],"-webkit-transition-delay":["-webkit-transition"],"-webkit-transition-duration":["-webkit-transition"],"-webkit-transition-property":["-webkit-transition"],"-webkit-transition-timing-function":["-webkit-transition"]},a="\\9",s={};for(var u in o)for(var l=0;l<o[u].length;l++){var f=o[u][l],c=s[f];c?c.push(u):s[f]=[u]}var h=function(e){var t=e.split(";"),r=[];if(0!==t.length&&(1!=t.length||-1!=t[0].indexOf(a))){for(var n=0,i=t.length;i>n;n++){var o=t[n];if(""!==o){var s=o.indexOf(":");r.push([o.substring(0,s),o.substring(s+1),o.indexOf("!important")>-1,o.indexOf(a,s+1)===o.length-a.length])}}return r}},d=function(n,i){var a=[],u=[],l=null,f={},c=function(e,t){for(var r=s[e],n=0,i=r.length;i>n;n++)for(var o=0;o<u.length;o++)u[o]!=r[n]||a[o][2]&&!t||(a.splice(o,1),u.splice(o,1),o-=1)},h=function(e){return i===!1||i===!0?i:i.indexOf(e)>-1};e:for(var d=0,p=n.length;p>d;d++){var g=n[d],v=g[0],m=g[1],b=g[2],y=g[3],w=!("-ms-filter"!=v&&"filter"!=v||"background"!=l&&"background-image"!=l)?l:v,x=0;if(e||!y){if(t&&w!=l||h(d))for(;;){if(x=u.indexOf(w,x),-1==x)break;var k=a[x],_=k[2],O=k[3];if(_&&!b)continue e;if(e&&!O&&y)break;var S=r.processable[w];if(!y&&!O&&S&&S.canOverride&&!S.canOverride(n[x][1],m))break;a.splice(x,1),u.splice(x,1)}a.push(g),u.push(w),f[w]&&c(w,b);for(var E=0,I=o[w]||[],V=I.length;V>E;E++)f[I[E]]=!0;l=w}}return a},p=function(e){for(var t=[],r=0,n=e.length;n>r;r++)t.push(e[r][0]+":"+e[r][1]);return t.join(";")},g=function(e){var t=r.processable,o=r.Token,a=o.tokenize(e);return a=n.compactOverrides(a,t),a=i.compactShorthands(a,!1,t,o),a=i.compactShorthands(a,!0,t,o),o.detokenize(a)};return{process:function(e,t,n){var i=e,o=h(e);if(o){var a=d(o,t);i=p(a)}return!n&&r.implementedFor.test(i)&&(i=g(i)),i}}}},{"./override-compactor":11,"./processable":12,"./shorthand-compactor":14}],11:[function(e,t){t.exports=function(){var e=function(e,t){return e===t},t=function(t,r){var n,i,o,a,s,u,l,f,c=function(e){return e.prop===o.prop},h=function(e){return e.prop===a.prop};for(n=t,s=0;(u=n.length-1-s)>=0;s++){o=n[u],i=r[o.prop]&&r[o.prop].canOverride||e,l=n,n=[];for(var d=!1,p=l.length,g=0;p>g;g++)if(a=l[g],a!==o||d)if(g>u&&!o.isImportant)n.push(a);else if(!a.isImportant||o.isImportant)if(o.isShorthand&&!a.isShorthand&&a.isComponentOf(o))f=o.components.filter(h)[0],i=r[a.prop]&&r[a.prop].canOverride||e,i(a.value,f.value)||n.push(a);else if(a.isShorthand&&!o.isShorthand&&o.isComponentOf(a))f=a.components.filter(c)[0],i(f.value,o.value)&&(!o.isImportant||o.isImportant&&f.isImportant?(f.value=o.value,d=!0):f.isIrrelevant=!0,a.isDirty=!0),n.push(a);else if(o.isShorthand&&a.isShorthand&&o.prop===a.prop){for(var v=0;v<a.components.length;v++)if(i=r[a.components[v].prop]&&r[a.components[v].prop].canOverride||e,!i(a.components[v].value,o.components[v].value)){n.push(a);break}}else a.prop===o.prop&&i(a.value,o.value)||n.push(a);else n.push(a);else n.push(a);d&&s--}return n};return{compactOverrides:t}}()},{}],12:[function(e,t){t.exports=function(){var t=e("./token"),r=e("./validator"),n=e("../text/splitter"),i={always:function(){return!0},sameValue:function(e,t){return e===t},sameFunctionOrValue:function(e,t){return r.areSameFunction(e,t)?!0:e===t},unit:function(e,t){return r.isValidUnitWithoutFunction(t)?!0:r.isValidUnitWithoutFunction(e)?!1:r.isValidFunctionWithoutVendorPrefix(t)&&r.isValidFunctionWithoutVendorPrefix(e)?!0:i.sameFunctionOrValue(e,t)},color:function(e,t){return r.isValidNamedColor(t)||r.isValidHexColor(t)?!0:r.isValidNamedColor(e)||r.isValidHexColor(e)?!1:r.isValidRgbaColor(t)||r.isValidHslaColor(t)?!0:r.isValidRgbaColor(e)||r.isValidHslaColor(e)?!1:i.sameFunctionOrValue(e,t)},backgroundImage:function(e,t){return"none"===t||"inherit"===t||r.isValidUrl(t)?!0:"none"===e||"inherit"===e||r.isValidUrl(e)?!1:i.sameFunctionOrValue(e,t)},border:function(e,t){var r=o.border(h.tokenizeOne(e)),n=o.border(h.tokenizeOne(t));return i.color(r[2].value,n[2].value)}};i=Object.freeze(i);var o={};o.takeCareOfFourValues=function(e){return function(t){var r=s[t.prop],n=[],i=e(t.value);if(0===i.length||i.length<r.components.length&&r.components.length>4)return[t];i.length<r.components.length&&i.length<2&&(i[1]=i[0]),i.length<r.components.length&&i.length<3&&(i[2]=i[0]),i.length<r.components.length&&i.length<4&&(i[3]=i[1]);for(var o=0;o<r.components.length;o++){var a=new h(r.components[o],i[o],t.isImportant);n.push(a)}return n}},o.fourBySpaces=o.takeCareOfFourValues(function(e){return new n(" ").split(e).filter(function(e){return e})}),o.commaSeparatedMulitpleValues=function(e){return function(t){if(-1===t.value.indexOf(","))return e(t);for(var r=new n(",").split(t.value),i=[],o=0,a=r.length;a>o;o++)t.value=r[o],i.push(e(t));for(var s=0,u=i[0].length;u>s;s++){for(var l=0,f=i.length,c=[];f>l;l++)c.push(i[l][s].value);i[0][s].value=c.join(",")}return i[0]}},o.background=function(e){var t=h.makeDefaults(["background-image","background-position","background-size","background-repeat","background-attachment","background-color"],e.isImportant),i=t[0],o=t[1],a=t[2],u=t[3],l=t[4],f=t[5];if("inherit"===e.value)return f.value=i.value=u.value=o.value=a.value=l.value="inherit",t;var c=new n(" ").split(e.value);if(0===c.length)return t;for(var d=c.length-1;d>=0;d--){var p=c[d];if(r.isValidBackgroundAttachment(p))l.value=p;else if(r.isValidBackgroundRepeat(p))u.value=p;else if(r.isValidBackgroundPositionPart(p)||r.isValidBackgroundSizePart(p))if(d>0){var g=c[d-1];if(g.indexOf("/")>0){var v=new n("/").split(g);a.value=v.pop()+" "+p,c[d-1]=v.pop()}else d>1&&"/"==c[d-2]?(a.value=g+" "+p,d-=2):"/"==c[d-1]?(a.value=p,o.value=g,d--):(o.value=g+" "+p,d--)}else o.value=p;else if(r.isValidBackgroundPositionAndSize(p)){var m=new n("/").split(p);a.value=m.pop(),o.value=m.pop()}else f.value!=s[f.prop].defaultValue&&"none"!=f.value||!r.isValidColor(p)?(r.isValidUrl(p)||r.isValidFunction(p))&&(i.value=p):f.value=p}return t},o.listStyle=function(e){var t=h.makeDefaults(["list-style-type","list-style-position","list-style-image"],e.isImportant),i=t[0],o=t[1],a=t[2];if("inherit"===e.value)return i.value=o.value=a.value="inherit",t;var s=new n(" ").split(e.value),u=0;return u<s.length&&r.isValidListStyleType(s[u])&&(i.value=s[u],u++),u<s.length&&r.isValidListStylePosition(s[u])&&(o.value=s[u],u++),u<s.length&&(a.value=s.splice(u,s.length-u+1).join(" ")),t},o._widthStyleColor=function(e,t,i){var o=i.map(function(e){return t+"-"+e}),a=h.makeDefaults(o,e.isImportant),s=a[i.indexOf("color")],u=a[i.indexOf("style")],l=a[i.indexOf("width")];if("inherit"===e.value||"inherit inherit inherit"===e.value)return s.value=u.value=l.value="inherit",a;var f,c=new n(" ").split(e.value);return 0===c.length?a:(c.length>=1&&(f=c.filter(function(e){return"inherit"!==e&&r.isValidOutlineWidth(e)}),f.length&&(l.value=f[0],c.splice(c.indexOf(f[0]),1))),c.length>=1&&(f=c.filter(function(e){return"inherit"!==e&&r.isValidOutlineStyle(e)}),f.length&&(u.value=f[0],c.splice(c.indexOf(f[0]),1))),c.length>=1&&(f=c.filter(function(e){return r.isValidOutlineColor(e)}),f.length&&(s.value=f[0],c.splice(c.indexOf(f[0]),1))),a)},o.outline=function(e){return o._widthStyleColor(e,"outline",["color","style","width"])},o.border=function(e){return o._widthStyleColor(e,"border",["width","style","color"])},o.borderRadius=function(e){var t=e.value.split("/");if(1==t.length)return o.fourBySpaces(e);var r=e.clone(),n=e.clone();r.value=t[0],n.value=t[1];for(var i=o.fourBySpaces(r),a=o.fourBySpaces(n),s=0;4>s;s++)i[s].value=[i[s].value,a[s].value];return i};var a={fourUnits:function(e,t,r){t[0].isIrrelevant&&(t[0].value=t[2].value),t[2].isIrrelevant&&(t[2].value=t[0].value),t[1].isIrrelevant&&(t[1].value=t[3].value),t[3].isIrrelevant&&(t[3].value=t[1].value),t[0].isIrrelevant&&t[2].isIrrelevant&&(t[0].value=t[2].value=t[1].value===t[3].value?t[1].value:"0"),t[1].isIrrelevant&&t[3].isIrrelevant&&(t[1].value=t[3].value=t[0].value===t[2].value?t[0].value:"0");var n=new h(e,t[0].value,r);return n.granularValues=[],n.granularValues[t[0].prop]=t[0].value,n.granularValues[t[1].prop]=t[1].value,n.granularValues[t[2].prop]=t[2].value,n.granularValues[t[3].prop]=t[3].value,t[0].isIrrelevant&&t[1].isIrrelevant&&t[2].isIrrelevant&&t[3].isIrrelevant?(n.value=s[e].shortestValue||s[e].defaultValue,n):t[0].value===t[1].value&&t[0].value===t[2].value&&t[0].value===t[3].value?n:(n.value+=" "+t[1].value,t[0].value===t[2].value&&t[1].value===t[3].value?n:(n.value+=" "+t[2].value,t[1].value===t[3].value?n:(n.value+=" "+t[3].value,n)))},bySpacesOmitDefaults:function(e,t,r,n){var i=new h(e,"",r),o=t.filter(function(e){return e.isIrrelevant});if(o.length===t.length)return i.isIrrelevant=!0,i.value=s[e].shortestValue||s[e].defaultValue,i;for(var a=s[e].defaultValue,u=0;u<t.length;u++){var l=t[u];if(i.granularValues=i.granularValues||{},i.granularValues[l.prop]=l.value,l.isIrrelevant){var f=s[l.prop].shortestValue||s[l.prop].defaultValue;f.length<a.length&&(a=f)}if(!(l.isIrrelevant||s[l.prop]&&s[l.prop].defaultValue===l.value||n&&n.partsCount&&n.position<n.partsCount-1&&s[l.prop].multiValueLastOnly)){var c=s[l.prop].shorthandFollows;c&&t[u-1].value==s[c].defaultValue&&(i.value+=" "+t[u-1].value),i.value+=(s[l.prop].prefixShorthandValueWith||" ")+l.value}}return i.value=i.value.trim(),i.value||(i.value=a),i},commaSeparatedMulitpleValues:function(e){return function(t,r,i){var o=r.map(function(e){return new n(",").split(e.value).length}),a=Math.max.apply(Math,o);if(1==a)return e(t,r,i);for(var s=[],u=0;a>u;u++){s.push([]);for(var l=0;l<r.length;l++){var f=new n(",").split(r[l].value);s[u].push(f[u]||f[0])}}var c,h=[];for(u=0;a>u;u++){for(var d=0,p=s[u].length;p>d;d++)r[d].value=s[u][d];var g={partsCount:a,position:u},v=e(t,r,i,g);h.push(v.value),c||(c=v)}return c.value=h.join(","),c}},takeCareOfInherit:function(e){return function(t,r,n,i){var o,a=[],s=[],u=[];for(o=0;o<r.length;o++)if("inherit"===r[o].value){a.push(r[o]);var l=new h(r[o].prop,r[o].isImportant);l.isIrrelevant=!0,u.push(l)}else s.push(r[o]),u.push(r[o]);if(0===s.length)return new h(t,"inherit",n);if(a.length>0){var f=[new h(t,"inherit",n)].concat(s),c=[e(t,u,n,i)].concat(a),d=h.getDetokenizedLength(f),p=h.getDetokenizedLength(c);return p>d?f:c}return e(t,r,n,i)}},borderRadius:function(e,t,r){for(var n=[],i=0,o=t.length;o>i;i++){var s=t[i];Array.isArray(s.value)&&(s.value.length>1&&n.push({prop:s.prop,value:s.value[1],isImportant:s.isImportant}),s.value=s.value[0])}var u=a.takeCareOfInherit(a.fourUnits)(e,t,r);if(n.length>0){var l=a.takeCareOfInherit(a.fourUnits)(e,n,r);u.value!=l.value&&(u.value+="/"+l.value)}return u}},s={color:{canOverride:i.color,defaultValue:"transparent",shortestValue:"red"},background:{components:["background-image","background-position","background-size","background-repeat","background-attachment","background-color"],breakUp:o.commaSeparatedMulitpleValues(o.background),putTogether:a.commaSeparatedMulitpleValues(a.takeCareOfInherit(a.bySpacesOmitDefaults)),defaultValue:"0 0",shortestValue:"0"},"background-color":{canOverride:i.color,defaultValue:"transparent",multiValueLastOnly:!0,shortestValue:"red"},"background-image":{canOverride:i.backgroundImage,defaultValue:"none"},"background-repeat":{canOverride:i.always,defaultValue:"repeat"},"background-position":{canOverride:i.always,defaultValue:"0 0",shortestValue:"0"},"background-size":{canOverride:i.always,defaultValue:"auto",shortestValue:"0 0",prefixShorthandValueWith:"/",shorthandFollows:"background-position"},"background-attachment":{canOverride:i.always,defaultValue:"scroll"},border:{breakUp:o.border,canOverride:i.border,components:["border-width","border-style","border-color"],defaultValue:"none",putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults)},"border-color":{canOverride:i.color,defaultValue:"none"},"border-style":{canOverride:i.always,defaultValue:"none"},"border-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0"},"list-style":{components:["list-style-type","list-style-position","list-style-image"],canOverride:i.always,breakUp:o.listStyle,putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults),defaultValue:"outside",shortestValue:"none"},"list-style-type":{canOverride:i.always,shortestValue:"none",defaultValue:"__hack"},"list-style-position":{canOverride:i.always,defaultValue:"outside",shortestValue:"inside"},"list-style-image":{canOverride:i.always,defaultValue:"none"},outline:{components:["outline-color","outline-style","outline-width"],breakUp:o.outline,putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults),defaultValue:"0"},"outline-color":{canOverride:i.color,defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:i.always,defaultValue:"none"},"outline-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0"},"-moz-transform":{canOverride:i.sameFunctionOrValue},"-ms-transform":{canOverride:i.sameFunctionOrValue},"-webkit-transform":{canOverride:i.sameFunctionOrValue},transform:{canOverride:i.sameFunctionOrValue}},u=function(e,t,r){r=r||{},s[e]={components:t,breakUp:r.breakUp||o.fourBySpaces,putTogether:r.putTogether||a.takeCareOfInherit(a.fourUnits),defaultValue:r.defaultValue||"0",shortestValue:r.shortestValue};
-for(var n=0;n<t.length;n++)s[t[n]]={breakUp:r.breakUp||o.fourBySpaces,canOverride:r.canOverride||i.unit,defaultValue:r.defaultValue||"0",shortestValue:r.shortestValue}};["","-moz-","-o-","-webkit-"].forEach(function(e){u(e+"border-radius",[e+"border-top-left-radius",e+"border-top-right-radius",e+"border-bottom-right-radius",e+"border-bottom-left-radius"],{breakUp:o.borderRadius,putTogether:a.borderRadius})}),u("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"],{breakUp:o.fourBySpaces,canOverride:i.color,defaultValue:"currentColor",shortestValue:"red"}),u("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"],{breakUp:o.fourBySpaces,canOverride:i.always,defaultValue:"none"}),u("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"],{defaultValue:"medium",shortestValue:"0"}),u("padding",["padding-top","padding-right","padding-bottom","padding-left"]),u("margin",["margin-top","margin-right","margin-bottom","margin-left"]);for(var l in s)if(s.hasOwnProperty(l)){var f=s[l];if(f.components instanceof Array&&0!==f.components.length){f.isShorthand=!0;for(var c=0;c<f.components.length;c++){if(!s[f.components[c]])throw new Error('"'+f.components[c]+'" is defined as a component of "'+l+"\" but isn't defined in processable.");s[f.components[c]].componentOf=l}}}var h=t.createTokenPrototype(s);return{implementedFor:/background|border|color|list|margin|outline|padding|transform/,processable:s,Token:h}}()},{"../text/splitter":26,"./token":15,"./validator":16}],13:[function(e,t){!function(){var e="{",r=";",n=":",i=function(e){this.data=e};i.prototype.nextAt=function(t){var i=this.data.lastIndexOf(n,t),o=this.data.lastIndexOf(e,t),a=this.data.lastIndexOf(r,t),s=Math.max(o,a);return this.data.substring(s+1,i).trim()},t.exports=i}()},{}],14:[function(e,t){t.exports=function(){var e=function(e){return"__hack"===e.value},t=function(t,r,n,i){var o,a,s={},u=function(e,t,r){var i,o={};if(!r&&s[e])for(var a=0;a<n[e].components.length;a++){var u=n[e].components[a];if(o[u]=[],s[e].found[u])for(var l=0;l<s[e].found[u].length;l++){var f=s[e].found[u][l];f.isMarkedForDeletion||(o[u].push(f),f.position&&(!i||f.position<i)&&(i=f.position))}}s[e]={lastShorthand:t,found:o,shorthandPosition:i}},l=function(e,t){var r=n[e.prop].componentOf;s[r]||u(r),s[r].found[e.prop]||(s[r].found[e.prop]=[]),s[r].found[e.prop].push(e),!s[r].shorthandPosition&&t&&(s[r].shorthandPosition=t)},f=function(o){var a,f=n[o].components.length;if(!s[o]||!s[o].found)return!1;var c=[],h=[];for(a=0;f>a;a++){var d=n[o].components[a];if(s[o].found[d]&&s[o].found[d].length){var p=s[o].found[d][0];c.push(p),p.isReal!==!1&&h.push(p)}else{if(!s[o].lastShorthand)return!1;var g=s[o].lastShorthand.components[a].clone(r);c.push(g)}}if(0===h.length)return!1;if(h.length===f){for(var v,m=!0,b=!0,y=0;y<h.length;y++){var w=h[y];n[w.prop].canOverride(n[w.prop].defaultValue,w.value)||(m=!1);var x=w.value.indexOf("(");if(x>=0){var k=w.value.substring(0,x);v?b=b&&k===v:v=k}}if(!m||!b)return!1}var _=n[o].putTogether(o,c,r);_ instanceof Array||(_=[_]);var O=i.getDetokenizedLength(_),S=i.getDetokenizedLength(h);if(h.length===f||S>O||c.some(e)){for(_[0].isShorthand=!0,_[0].components=n[o].breakUp(_[0]),a=0;a<h.length;a++)h[a].isMarkedForDeletion=!0;for(t[s[o].shorthandPosition].replaceWith=_,u(o,_[0]),a=1;a<_.length;a++)l(_[a]);return!0}return!1},c=function(){for(var e in s)if(s.hasOwnProperty(e))for(;f(e););};for(o=0;o<t.length;o++)if(a=t[o],!a.isMarkedForDeletion&&n[a.prop])if(n[a.prop].isShorthand){if(a.isImportant===r||a.isImportant&&!r){for(;f(a.prop););u(a.prop,a,!0)}}else{if(!n[a.prop].componentOf)continue;if(a.isImportant===r)a.position=o,l(a,o);else if(!r&&a.isImportant){var h=new i(a.prop,a.value,r);h.isIrrelevant=!0,h.isReal=!1,l(h)}}c();var d=[];for(o=0;o<t.length;o++){if(a=t[o],a.replaceWith)for(var p=0;p<a.replaceWith.length;p++)d.push(a.replaceWith[p]);a.isMarkedForDeletion||d.push(a),a.isMarkedForDeletion=!1,a.replaceWith=null}return d};return{compactShorthands:t}}()},{}],15:[function(e,t){t.exports=function(){var e=function(e){function t(t,r,n){this.prop=t,"string"==typeof r?(this.value=r,this.isImportant=n):(this.value=e[t].defaultValue,this.isImportant=r)}var r="!important";return t.prototype.prop=null,t.prototype.value=null,t.prototype.granularValues=null,t.prototype.components=null,t.prototype.position=null,t.prototype.isImportant=!1,t.prototype.isDirty=!1,t.prototype.isShorthand=!1,t.prototype.isIrrelevant=!1,t.prototype.isReal=!0,t.prototype.isMarkedForDeletion=!1,t.prototype.isComponentOf=function(t){return e[this.prop]&&e[t.prop]&&e[t.prop].components instanceof Array&&e[t.prop].components.length?e[t.prop].components.indexOf(this.prop)>=0:!1},t.prototype.clone=function(e){var r=new t(this.prop,this.value,"undefined"!=typeof e?e:this.isImportant);return r},t.prototype.cloneIrrelevant=function(e){var r=t.makeDefault(this.prop,"undefined"!=typeof e?e:this.isImportant);return r.isIrrelevant=!0,r},t.makeDefaults=function(e,r){return e.map(function(e){return new t(e,r)})},t.tokenizeOne=function(n){var i=n.indexOf(":");if(0>i)return new t("",n);var o=n.substr(0,i).trim(),a=n.substr(i+1).trim(),s=!1,u=a.indexOf(r);u>=1&&u===a.length-r.length&&(a=a.substr(0,u).trim(),s=!0);var l=new t(o,a,s);return e[o]&&e[o].isShorthand&&(l.isShorthand=!0,l.components=e[o].breakUp(l),l.isDirty=!0),l},t.tokenize=function(e){var r=e.split(";").map(t.tokenizeOne);return r},t.detokenize=function(t){t instanceof Array||(t=[t]);for(var n="",i=0;i<t.length;i++){var o=t[i];if(o.isShorthand&&o.isDirty){var a=e[o.prop].putTogether(o.prop,o.components,o.isImportant);Array.prototype.splice.apply(t,[i,1].concat(a)),o.isDirty=!1,i--}else o.prop&&(n+=o.prop+":"),o.value&&(n+=o.value),o.isImportant&&(n+=r),n+=";"}return n.substr(0,n.length-1)},t.getDetokenizedLength=function(t){t instanceof Array||(t=[t]);for(var n=0,i=0;i<t.length;i++){var o=t[i];if(o.isShorthand&&o.isDirty){var a=e[o.prop].putTogether(o.prop,o.components,o.isImportant);Array.prototype.splice.apply(t,[i,1].concat(a)),o.isDirty=!1,i--}else o.prop&&(n+=o.prop.length+1),o.value&&(n+=o.value.length),o.isImportant&&(n+=r.length)}return n},t};return{createTokenPrototype:e}}()},{}],16:[function(e,t){var r=e("../text/splitter");t.exports=function(){var e=["thin","thick","medium","inherit","initial"],t="(\\-?\\.?\\d+\\.?\\d*(px|%|em|rem|in|cm|mm|ex|pt|pc|vw|vh|vmin|vmax|)|auto|inherit)",n="[A-Z]+(\\-|[A-Z]|[0-9])+\\(([A-Z]|[0-9]|\\ |\\,|\\#|\\+|\\-|\\%|\\.|\\(|\\))*\\)",i="\\-(\\-|[A-Z]|[0-9])+\\(([A-Z]|[0-9]|\\ |\\,|\\#|\\+|\\-|\\%|\\.|\\(|\\))*\\)",o="var\\(\\-\\-[^\\)]+\\)",a="("+o+"|"+n+"|"+i+")",s="(none|"+e.join("|")+"|"+t+"|"+o+"|"+n+"|"+i+")",u=new RegExp("^"+n+"$","i"),l=new RegExp("^"+i+"$","i"),f=new RegExp("^"+o+"$","i"),c=new RegExp("^"+a+"$","i"),h=new RegExp("^"+t+"$","i"),d=new RegExp("^"+s+"$","i"),p=["repeat","no-repeat","repeat-x","repeat-y","inherit"],g=["inherit","scroll","fixed","local"],v=["center","top","bottom","left","right"],m=["contain","cover"],b=["armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","disc","georgian","hebrew","hiragana","hiragana-iroha","inherit","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],y=["inside","outside","inherit"],w=["auto","inherit","hidden","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],x={isValidHexColor:function(e){return(4===e.length||7===e.length)&&"#"===e[0]},isValidRgbaColor:function(e){return e=e.split(" ").join(""),e.length>0&&0===e.indexOf("rgba(")&&e.indexOf(")")===e.length-1},isValidHslaColor:function(e){return e=e.split(" ").join(""),e.length>0&&0===e.indexOf("hsla(")&&e.indexOf(")")===e.length-1},isValidNamedColor:function(e){return"auto"!==e&&("transparent"===e||"inherit"===e||/^[a-zA-Z]+$/.test(e))},isValidVariable:function(e){return f.test(e)},isValidColor:function(e){return x.isValidNamedColor(e)||x.isValidHexColor(e)||x.isValidRgbaColor(e)||x.isValidHslaColor(e)||x.isValidVariable(e)},isValidUrl:function(e){return 0===e.indexOf("__ESCAPED_URL_CLEAN_CSS")},isValidUnit:function(e){return d.test(e)},isValidUnitWithoutFunction:function(e){return h.test(e)},isValidFunctionWithoutVendorPrefix:function(e){return u.test(e)},isValidFunctionWithVendorPrefix:function(e){return l.test(e)},isValidFunction:function(e){return c.test(e)},isValidBackgroundRepeat:function(e){return p.indexOf(e)>=0||x.isValidVariable(e)},isValidBackgroundAttachment:function(e){return g.indexOf(e)>=0||x.isValidVariable(e)},isValidBackgroundPositionPart:function(e){return v.indexOf(e)>=0?!0:h.test(e)||x.isValidVariable(e)},isValidBackgroundPosition:function(e){if("inherit"===e)return!0;for(var t=e.split(" "),r=0,n=t.length;n>r;r++)if(""!==t[r]&&!x.isValidBackgroundPositionPart(t[r])&&!x.isValidVariable(t[r]))return!1;return!0},isValidBackgroundSizePart:function(e){return m.indexOf(e)>=0||h.test(e)||x.isValidVariable(e)},isValidBackgroundPositionAndSize:function(e){if(e.indexOf("/")<0)return!1;var t=new r("/").split(e);return x.isValidBackgroundSizePart(t.pop())&&x.isValidBackgroundPositionPart(t.pop())},isValidListStyleType:function(e){return b.indexOf(e)>=0||x.isValidVariable(e)},isValidListStylePosition:function(e){return y.indexOf(e)>=0||x.isValidVariable(e)},isValidOutlineColor:function(e){return"invert"===e||x.isValidColor(e)||x.isValidVendorPrefixedValue(e)},isValidOutlineStyle:function(e){return w.indexOf(e)>=0||x.isValidVariable(e)},isValidOutlineWidth:function(t){return x.isValidUnit(t)||e.indexOf(t)>=0||x.isValidVariable(t)},isValidVendorPrefixedValue:function(e){return/^-([A-Za-z0-9]|-)*$/gi.test(e)},areSameFunction:function(e,t){if(!x.isValidFunction(e)||!x.isValidFunction(t))return!1;var r=e.substring(0,e.indexOf("(")),n=t.substring(0,t.indexOf("("));return r===n}};return x}()},{"../text/splitter":26}],17:[function(e,t){t.exports=function(e){var t=function(e){for(var r=[],n=0,i=0;n<e.length&&(n=e.indexOf("{}",i),-1!=n);){for(var o=n-1;e[o]&&"}"!=e[o]&&"{"!=e[o]&&";"!=e[o];)o--;r.push(e.substring(i,o+1)),i=n+2}return r.length>0?t(r.join("")+e.substring(i,e.length)):e};return{process:function(){return t(e)}}}},{}],18:[function(e,t){var r=e("./tokenizer"),n=e("../properties/optimizer");t.exports=function(e,t,i){var o={"*":/\-(moz|ms|o|webkit)\-/,ie8:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not)/,ie7:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:focus|:before|:after|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not)/},a=[],s=new n(i.compatibility,i.aggressiveMerging),u=function(e){if(-1==e.indexOf(","))return e;for(var t=[],r=0,n=0,i=-1==e.indexOf("("),o=function(t){if(i)return!1;var r=e.lastIndexOf("(",t),n=e.lastIndexOf(")",t);return-1==r?!1:n>0&&t>n?!1:!0};;){var a,s=e.indexOf(",",r+1);if(-1===s)s=e.length;else if(o(s)){r=s+1;continue}if(a=e.substring(n,s),n=r=s+1,-1==t.indexOf(a)&&t.push(a),s===e.length)break}return t.sort().join(",")},l=function(e){return o[i.compatibility||"*"].test(e)},f=function(e){for(var t={},r=[],n=0,i=e.length;i>n;n++){var o=e[n];if("string"!=typeof o&&!o.block){var s=o.body+"@"+o.selector,u=t[s];u?(r.push(u[0]),u.unshift(n)):t[s]=[n]}}r=r.sort(function(e,t){return e>t?1:-1});for(var l=0,f=r.length;f>l;l++)e.splice(r[l]-l,1);a.unshift(r.length>0)},c=function(e){for(var t=[],r={selector:null,body:null},n=0,i=e.length;i>n;n++){var o=e[n];if("string"!=typeof o&&!o.block)if(o.selector==r.selector){var f=[r.body.split(";").length];r.body=s.process(r.body+";"+o.body,f),t.push(n)}else o.body!=r.body||l(o.selector)||l(r.selector)?r=o:(r.selector=u(r.selector+","+o.selector),t.push(n))}for(var c=0,h=t.length;h>c;c++)e.splice(t[c]-c,1);a.unshift(t.length>0)},h=function(e){for(var t={},r=[],n=e.length-1;n>=0;n--){var i=e[n];if("string"!=typeof i&&!i.block)for(var o=i.selector,s=o.indexOf(",")>-1&&!l(o)?o.split(",").concat(o):[o],u=0,f=s.length;f>u;u++){var c=s[u];t[c]?r.push(c):t[c]=[],t[c].push({where:n,partial:c!=o})}}var h=d(e,r,t),g=p(e,t);a.unshift(h||g)},d=function(e,t,r){for(var n=!1,i=0,o=t.length;o>i;i++){var a=t[i],s=r[a];s.length<2||g(e,a,s,{filterOut:function(e,t){return s[e].partial&&0===t.length},callback:function(e,t,r,i){s[r-i-1].partial||(e.body=t.join(";"),n=!0)}})}return n},p=function(e,t){var r=!1;e:for(var n in t)if(-1!=n.indexOf(",")){for(var i=t[n].pop().where,o=e[i],a=l(n)?[n]:n.split(","),s=[],u=0,f=a.length;f>u;u++){var c=a[u],h=t[c];if(h.length<2)continue e;if(g(e,c,h,{filterOut:function(e){return h[e].where<i},callback:function(e,t,r,n){0===n&&s.push(t.join(";"))}}),s[s.length-1]!=s[0])continue e}o.body=s[0],r=!0}return r},g=function(e,t,r,n){for(var i=[],o=[],a=[],u=[],l=r.length-1,f=0;l>=0;l--)if(!n.filterOut(l,i)){var c=r[l].where,h=e[c],d=h.body;i.push(d),a.push(d.split(";")),u.push(c)}for(l=0,f=i.length;f>l;l++)i[l].length>0&&o.push((o[l-1]||0)+a[l].length);for(var p=s.process(i.join(";"),o,!0),g=p.split(";"),v=u.length,m=g.length-1,b=v-1;b>=0;)if((0===b||a[b].indexOf(g[m])>-1)&&m>-1)m--;else{var y=g.splice(m+1);n.callback(e[u[b]],y,v,b),b--}},v=function(e){var t=function(){return a.length>4&&a[0]===!1&&a[1]===!1};e=Array.isArray(e)?e:[e];for(var r=0,n=e.length;n>r;r++){var i=e[r];i.selector?(i.selector=u(i.selector),i.body=s.process(i.body,!1)):i.block&&v(i.body)}for(a=[];;){if(t())break;if(f(e),t())break;if(c(e),t())break;h(e)}},m=function(e){var t=[];e=Array.isArray(e)?e:[e];for(var r=0,n=e.length;n>r;r++){var o=e[r];if("string"!=typeof o){var a=o.block||o.selector,s=o.block?m(o.body):o.body;s.length>0&&t.push(a+"{"+s+"}")}else t.push(o)}return t.join(i.keepBreaks?i.lineBreak:"")};return{process:function(){var n=new r(e,t).process();return v(n),m(n)}}}},{"../properties/optimizer":10,"./tokenizer":19}],19:[function(e,t){t.exports=function(e,t){var n=new r(e,128),i=n.next(),o=/(^@(font\-face|page|\-ms\-viewport|\-o\-viewport|viewport)|\\@.+?)/,a=function(e){var t,r=e.cursor,o=e.mode;if(i.length==e.cursor){if(n.isEmpty())return null;i=n.next(),e.cursor=0}if("body"==o)return t=i.indexOf("}",r),t>-1?[t,"bodyEnd"]:null;var a=i.indexOf("@",e.cursor),s="top"==o?i.indexOf("__ESCAPED_COMMENT_CLEAN_CSS",e.cursor):-1,u=i.indexOf("{",e.cursor),l=i.indexOf("}",e.cursor);return t=a,(-1==t||s>-1&&t>s)&&(t=s),(-1==t||u>-1&&t>u)&&(t=u),(-1==t||l>-1&&t>l)&&(t=l),-1!=t?s===t?[t,"escape"]:u===t?[t,"bodyStart"]:l===t?[t,"bodyEnd"]:a===t?[t,"special"]:void 0:void 0},s=function(e){var r=[];for(e=e||{cursor:0,mode:"top"};;){var n=a(e);if(!n){var u=i.substring(e.cursor);u.length>0&&(r.push(u),e.cursor+=u.length);break}var l,f,c=n[0],h=n[1];if("special"==h){var d=i.indexOf("{",c),p=i.indexOf(";",c),g=p>-1&&(-1==d||d>p);if(g)l=i.indexOf(";",c+1),r.push(i.substring(e.cursor,l+1)),e.cursor=l+1;else{l=i.indexOf("{",c+1);var v=i.substring(e.cursor,l).trim(),m=o.test(v);f=e.mode,e.cursor=l+1,e.mode=m?"body":"block";var b=s(e);e.mode=f,r.push({block:v,body:b})}}else if("escape"==h){l=i.indexOf("__",c+1);var y=i.substring(e.cursor,l+2);r.push(y),e.cursor=l+2}else if("bodyStart"==h){var w=i.substring(e.cursor,c).trim();f=e.mode,e.cursor=c+1,e.mode="body";var x=s(e);e.mode=f,r.push({selector:w,body:x})}else if("bodyEnd"==h){if("top"==e.mode){var k=e.cursor,_="}"==i[e.cursor]?"Unexpected '}' in '"+i.substring(k-20,k+20)+"'. Ignoring.":"Unexpected content: '"+i.substring(k,c+1)+"'. Ignoring.";t.warnings.push(_),e.cursor=c+1;continue}"block"!=e.mode&&(r=i.substring(e.cursor,c)),e.cursor=c+1;break}}return r};return{process:function(){return s()}}};var r=function(e,t){for(var r=[],n=0,i=e.length;i>n;){var o=n+t>i?i-1:n+t;"}"!=e[o]&&(o=e.indexOf("}",o)),-1==o&&(o=e.length-1),r.push(e.substring(n,o+1)),n=o+1}return{isEmpty:function(){return 0===r.length},next:function(){return r.shift()||""}}}},{}],20:[function(e,t){var r=e("./escape-store"),n=e("./quote-scanner");t.exports=function(e,t,i){var o=new r("COMMENT");return{escape:function(e){for(var t=[],r=0,i=0,a=0,s=function(){var t=[];return new n(e).each(function(e,r,n){t.push([n,n+e.length])}),function(e){for(var r=0,n=t.length;n>r;r++)if(t[r][0]<e&&t[r][1]>e)return!0;return!1}}();i<e.length&&(r=e.indexOf("/*",a),-1!=r);)if(s(r))t.push(e.substring(a,r+2)),a=r+2;else{if(i=e.indexOf("*/",r+2),-1==i)break;if(t.push(e.substring(a,r)),"!"==e[r+2]){var u=e.substring(r,i+2),l=o.store(u);t.push(l)}a=i+2}return t.length>0?t.join("")+e.substring(a,e.length):e},restore:function(r){var n=0,a=t?i:"";return r.replace(new RegExp(o.placeholderPattern+"("+i+"| )?","g"),function(t,r){switch(n++,e){case"*":return o.restore(r)+a;case 1:case"1":return 1==n?o.restore(r)+a:"";case 0:case"0":return""}})}}}},{"./escape-store":21,"./quote-scanner":25}],21:[function(e,t){t.exports=function(e){e="ESCAPED_"+e+"_CLEAN_CSS";var t={},r={},n=0,i=function(){return"__"+e+n++ +"__"},o="(__"+e+"\\d{1,}__)";return{placeholderPattern:o,placeholderRegExp:new RegExp(o,"g"),store:function(e){var n=r[e];return n||(n=i(),t[n]=e,r[e]=n),n},restore:function(e){return t[e]}}}},{}],22:[function(e,t){var r=e("./escape-store");t.exports=function(){var e=new r("EXPRESSION"),t=function(e,t){for(var r=t+"expression".length,n=0,i=!1;;){var o=e[r++];if(i?i="'"!=o&&'"'!=o:(i="'"==o||'"'==o,"("==o&&n++,")"==o&&n--,"}"==o&&1==n&&(r--,n--)),0===n&&")"==o)break;if(!o){r=e.substring(0,r).lastIndexOf("}");break}}return r};return{escape:function(r){for(var n=0,i=0,o=0,a=[];i<r.length&&(n=r.indexOf("expression(",i),-1!=n);){i=t(r,n);var s=r.substring(n,i),u=e.store(s);a.push(r.substring(o,n)),a.push(u),o=i}return a.length>0?a.join("")+r.substring(o,r.length):r},restore:function(t){return t.replace(e.placeholderRegExp,e.restore)}}}},{"./escape-store":21}],23:[function(e,t){!function(){var r=e("./escape-store"),n=e("./quote-scanner"),i=function(){this.matches=new r("FREE_TEXT")};i.prototype.escape=function(e){var t=this;return new n(e).each(function(e,r){var n=t.matches.store(e);r.push(n)})},i.prototype.restore=function(e){return e.replace(this.matches.placeholderRegExp,this.matches.restore)},t.exports=i}()},{"./escape-store":21,"./quote-scanner":25}],24:[function(e,t){!function(){var r=e("./quote-scanner"),n=e("../properties/scanner"),i=function(){},o=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,a=["animation","-moz-animation","-o-animation","-webkit-animation","animation-name","-moz-animation-name","-o-animation-name","-webkit-animation-name","font","font-family"];i.prototype.process=function(e){var t=new n(e);return new r(e).each(function(e,r,n){var i=t.nextAt(n);a.indexOf(i)>-1&&o.test(e)&&(e=e.substring(1,e.length-1)),r.push(e)})},t.exports=i}()},{"../properties/scanner":13,"./quote-scanner":25}],25:[function(e,t){!function(){var e=function(e){this.data=e},r=function(e,t,r,n){var i="/*",o="*/",a="\\",s="}",u=e.substring(n,r),l=u.lastIndexOf(o,r),f=u.lastIndexOf(i,r),c=!1;if(l>=r&&f>-1&&(c=!0),r>f&&f>l&&(c=!0),c){var h=e.indexOf(o,r);return h>-1?h:(h=e.indexOf(s,r),h>-1?h-1:e.length)}for(;;){if(void 0===e[r])break;if(e[r]==t&&e[r-1]!=a)break;r++}return r};e.prototype.each=function(e){for(var t=this.data,n=[],i=0,o=0,a=0,s=null,u="'",l='"',f=t.length;o<t.length;){var c=t.indexOf(u,o+1),h=t.indexOf(l,o+1);if(-1==c&&(c=f),-1==h&&(h=f),h>c?(i=c,s=u):(i=h,s=l),-1==i)break;if(o=r(t,s,i+1,a),-1==o)break;var d=t.substring(i,o+1);n.push(t.substring(a,i)),d.length>0&&e(d,n,i),a=o+1}return n.length>0?n.join("")+t.substring(a,t.length):t},t.exports=e}()},{}],26:[function(e,t){var r=function(e){this.separator=e};r.prototype.split=function(e){if(-1===e.indexOf(this.separator))return[e];if(-1===e.indexOf("("))return e.split(this.separator);for(var t=0,r=0,n=0,i=e.length,o=[];r++<i;)"("==e[r]?t++:")"==e[r]?t--:e[r]==this.separator&&0===t&&(o.push(e.substring(n,r)),n=r+1);return r+1>n&&o.push(e.substring(n)),o},t.exports=r},{}],27:[function(e,t){var r=e("./escape-store");t.exports=function(){var e=new r("URL");return{escape:function(t){for(var r=0,n=0,i=0,o=[];n<t.length&&(r=t.indexOf("url(",n),-1!=r);){n=t.indexOf(")",r);var a=t.substring(r,n+1),s=e.store(a);o.push(t.substring(i,r)),o.push(s),i=n+1}return o.length>0?o.join("")+t.substring(i,t.length):t},restore:function(t){return t.replace(e.placeholderRegExp,function(t){return e.restore(t).replace(/\s/g,"")})}}}},{"./escape-store":21}],28:[function(){},{}],29:[function(e,t,r){function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);var i,o=typeof e;if("number"===o)i=e>0?e>>>0:0;else if("string"===o)"base64"===t&&(e=V(e)),i=n.byteLength(e,t);else{if("object"!==o||null===e)throw new Error("First argument needs to be a number, array or string.");"Buffer"===e.type&&A(e.data)&&(e=e.data),i=+e.length>0?Math.floor(+e.length):0}var a;H?a=n._augment(new Uint8Array(i)):(a=this,a.length=i,a._isBuffer=!0);var s;if(H&&"number"==typeof e.byteLength)a._set(e);else if(C(e))if(n.isBuffer(e))for(s=0;i>s;s++)a[s]=e.readUInt8(s);else for(s=0;i>s;s++)a[s]=(e[s]%256+256)%256;else if("string"===o)a.write(e,0,t);else if("number"===o&&!H&&!r)for(s=0;i>s;s++)a[s]=0;return a}function i(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;P(o%2===0,"Invalid hex string"),n>o/2&&(n=o/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);P(!isNaN(s),"Invalid hex string"),e[r+a]=s}return a}function o(e,t,r,n){var i=U(B(t),e,r,n);return i}function a(e,t,r,n){var i=U(R(t),e,r,n);return i}function s(e,t,r,n){return a(e,t,r,n)}function u(e,t,r,n){var i=U(T(t),e,r,n);return i}function l(e,t,r,n){var i=U(M(t),e,r,n);return i}function f(e,t,r){return N.fromByteArray(0===t&&r===e.length?e:e.slice(t,r))}function c(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var o=t;r>o;o++)e[o]<=127?(n+=z(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return n+z(i)}function h(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;r>i;i++)n+=String.fromCharCode(e[i]);return n}function d(e,t,r){return h(e,t,r)}function p(e,t,r){var n=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>n)&&(r=n);for(var i="",o=t;r>o;o++)i+=L(e[o]);return i}function g(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function v(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return r?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function m(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return r?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function b(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=v(e,t,r,!0),a=32768&o;return a?-1*(65535-o+1):o}}function y(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=m(e,t,r,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function w(e,t,r,n){return n||(P("boolean"==typeof r,"missing or invalid endian"),P(t+3<e.length,"Trying to read beyond buffer length")),$.read(e,t,r,23,4)}function x(e,t,r,n){return n||(P("boolean"==typeof r,"missing or invalid endian"),P(t+7<e.length,"Trying to read beyond buffer length")),$.read(e,t,r,52,8)}function k(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+1<e.length,"trying to write beyond buffer length"),D(t,65535));var o=e.length;if(!(r>=o)){for(var a=0,s=Math.min(o-r,2);s>a;a++)e[r+a]=(t&255<<8*(n?a:1-a))>>>8*(n?a:1-a);return r+2}}function _(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"trying to write beyond buffer length"),D(t,4294967295));var o=e.length;if(!(r>=o)){for(var a=0,s=Math.min(o-r,4);s>a;a++)e[r+a]=t>>>8*(n?a:3-a)&255;return r+4}}function O(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+1<e.length,"Trying to write beyond buffer length"),q(t,32767,-32768));var o=e.length;if(!(r>=o))return t>=0?k(e,t,r,n,i):k(e,65535+t+1,r,n,i),r+2}function S(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"Trying to write beyond buffer length"),q(t,2147483647,-2147483648));var o=e.length;if(!(r>=o))return t>=0?_(e,t,r,n,i):_(e,4294967295+t+1,r,n,i),r+4}function E(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"Trying to write beyond buffer length"),F(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;if(!(r>=o))return $.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+7<e.length,"Trying to write beyond buffer length"),F(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;if(!(r>=o))return $.write(e,t,r,n,52,8),r+8}function V(e){for(e=j(e).replace(Z,"");e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function A(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function C(e){return A(e)||n.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function L(e){return 16>e?"0"+e.toString(16):e.toString(16)}function B(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(127>=n)t.push(n);else{var i=r;n>=55296&&57343>=n&&r++;for(var o=encodeURIComponent(e.slice(i,r+1)).substr(1).split("%"),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}}return t}function R(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function M(e){for(var t,r,n,i=[],o=0;o<e.length;o++)t=e.charCodeAt(o),r=t>>8,n=t%256,i.push(n),i.push(r);return i}function T(e){return N.toByteArray(e)}function U(e,t,r,n){for(var i=0;n>i&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function z(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function D(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(e>=0,"specified a negative value for writing an unsigned value"),P(t>=e,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function q(e,t,r){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=r,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function F(e,t,r){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=r,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw new Error(t||"Failed assertion")}var N=e("base64-js"),$=e("ieee754");r.Buffer=n,r.SlowBuffer=n,r.INSPECT_MAX_BYTES=50,n.poolSize=8192;var H=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(r){return!1}}();n.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},n.isBuffer=function(e){return!(null==e||!e._isBuffer)},n.byteLength=function(e,t){var r;switch(e=e.toString(),t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=B(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=T(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},n.concat=function(e,t){if(P(A(e),"Usage: Buffer.concat(list[, length])"),0===e.length)return new n(0);if(1===e.length)return e[0];var r;if(void 0===t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var i=new n(t),o=0;for(r=0;r<e.length;r++){var a=e[r];a.copy(i,o),o+=a.length}return i},n.compare=function(e,t){P(n.isBuffer(e)&&n.isBuffer(t),"Arguments must be Buffers");for(var r=e.length,i=t.length,o=0,a=Math.min(r,i);a>o&&e[o]===t[o];o++);return o!==a&&(r=e[o],i=t[o]),i>r?-1:r>i?1:0},n.prototype.write=function(e,t,r,n){if(isFinite(t))isFinite(r)||(n=r,r=void 0);else{var f=n;n=t,t=r,r=f}t=Number(t)||0;var c=this.length-t;r?(r=Number(r),r>c&&(r=c)):r=c,n=String(n||"utf8").toLowerCase();var h;switch(n){case"hex":h=i(this,e,t,r);break;case"utf8":case"utf-8":h=o(this,e,t,r);break;case"ascii":h=a(this,e,t,r);break;case"binary":h=s(this,e,t,r);break;case"base64":h=u(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":h=l(this,e,t,r);break;default:throw new Error("Unknown encoding")}return h},n.prototype.toString=function(e,t,r){var n=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,r=void 0===r?n.length:Number(r),r===t)return"";var i;switch(e){case"hex":i=p(n,t,r);break;case"utf8":case"utf-8":i=c(n,t,r);break;case"ascii":i=h(n,t,r);break;case"binary":i=d(n,t,r);break;case"base64":i=f(n,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=g(n,t,r);break;default:throw new Error("Unknown encoding")}return i},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},n.prototype.equals=function(e){return P(n.isBuffer(e),"Argument must be a Buffer"),0===n.compare(this,e)},n.prototype.compare=function(e){return P(n.isBuffer(e),"Argument must be a Buffer"),n.compare(this,e)},n.prototype.copy=function(e,t,r,n){var i=this;if(r||(r=0),n||0===n||(n=this.length),t||(t=0),n!==r&&0!==e.length&&0!==i.length){P(n>=r,"sourceEnd < sourceStart"),P(t>=0&&t<e.length,"targetStart out of bounds"),P(r>=0&&r<i.length,"sourceStart out of bounds"),P(n>=0&&n<=i.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(100>o||!H)for(var a=0;o>a;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+o),t)}},n.prototype.slice=function(e,t){var r=this.length;if(e=~~e,t=void 0===t?r:~~t,0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),e>t&&(t=e),H)return n._augment(this.subarray(e,t));for(var i=t-e,o=new n(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},n.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},n.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},n.prototype.readUInt8=function(e,t){return t||(P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},n.prototype.readUInt16LE=function(e,t){return v(this,e,!0,t)},n.prototype.readUInt16BE=function(e,t){return v(this,e,!1,t)},n.prototype.readUInt32LE=function(e,t){return m(this,e,!0,t)},n.prototype.readUInt32BE=function(e,t){return m(this,e,!1,t)},n.prototype.readInt8=function(e,t){if(t||(P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length)){var r=128&this[e];return r?-1*(255-this[e]+1):this[e]}},n.prototype.readInt16LE=function(e,t){return b(this,e,!0,t)},n.prototype.readInt16BE=function(e,t){return b(this,e,!1,t)},n.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},n.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},n.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)
-},n.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},n.prototype.readDoubleLE=function(e,t){return x(this,e,!0,t)},n.prototype.readDoubleBE=function(e,t){return x(this,e,!1,t)},n.prototype.writeUInt8=function(e,t,r){return r||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(t<this.length,"trying to write beyond buffer length"),D(e,255)),t>=this.length?void 0:(this[t]=e,t+1)},n.prototype.writeUInt16LE=function(e,t,r){return k(this,e,t,!0,r)},n.prototype.writeUInt16BE=function(e,t,r){return k(this,e,t,!1,r)},n.prototype.writeUInt32LE=function(e,t,r){return _(this,e,t,!0,r)},n.prototype.writeUInt32BE=function(e,t,r){return _(this,e,t,!1,r)},n.prototype.writeInt8=function(e,t,r){return r||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(t<this.length,"Trying to write beyond buffer length"),q(e,127,-128)),t>=this.length?void 0:(e>=0?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r),t+1)},n.prototype.writeInt16LE=function(e,t,r){return O(this,e,t,!0,r)},n.prototype.writeInt16BE=function(e,t,r){return O(this,e,t,!1,r)},n.prototype.writeInt32LE=function(e,t,r){return S(this,e,t,!0,r)},n.prototype.writeInt32BE=function(e,t,r){return S(this,e,t,!1,r)},n.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},n.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},n.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},n.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},n.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),P(r>=t,"end < start"),r!==t&&0!==this.length){P(t>=0&&t<this.length,"start out of bounds"),P(r>=0&&r<=this.length,"end out of bounds");var n;if("number"==typeof e)for(n=t;r>n;n++)this[n]=e;else{var i=B(e.toString()),o=i.length;for(n=t;r>n;n++)this[n]=i[n%o]}return this}},n.prototype.inspect=function(){for(var e=[],t=this.length,n=0;t>n;n++)if(e[n]=L(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},n.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(H)return new n(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var W=n.prototype;n._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=W.get,e.set=W.set,e.write=W.write,e.toString=W.toString,e.toLocaleString=W.toString,e.toJSON=W.toJSON,e.equals=W.equals,e.compare=W.compare,e.copy=W.copy,e.slice=W.slice,e.readUInt8=W.readUInt8,e.readUInt16LE=W.readUInt16LE,e.readUInt16BE=W.readUInt16BE,e.readUInt32LE=W.readUInt32LE,e.readUInt32BE=W.readUInt32BE,e.readInt8=W.readInt8,e.readInt16LE=W.readInt16LE,e.readInt16BE=W.readInt16BE,e.readInt32LE=W.readInt32LE,e.readInt32BE=W.readInt32BE,e.readFloatLE=W.readFloatLE,e.readFloatBE=W.readFloatBE,e.readDoubleLE=W.readDoubleLE,e.readDoubleBE=W.readDoubleBE,e.writeUInt8=W.writeUInt8,e.writeUInt16LE=W.writeUInt16LE,e.writeUInt16BE=W.writeUInt16BE,e.writeUInt32LE=W.writeUInt32LE,e.writeUInt32BE=W.writeUInt32BE,e.writeInt8=W.writeInt8,e.writeInt16LE=W.writeInt16LE,e.writeInt16BE=W.writeInt16BE,e.writeInt32LE=W.writeInt32LE,e.writeInt32BE=W.writeInt32BE,e.writeFloatLE=W.writeFloatLE,e.writeFloatBE=W.writeFloatBE,e.writeDoubleLE=W.writeDoubleLE,e.writeDoubleBE=W.writeDoubleBE,e.fill=W.fill,e.inspect=W.inspect,e.toArrayBuffer=W.toArrayBuffer,e};var Z=/[^+\/0-9A-z]/g},{"base64-js":30,ieee754:31}],30:[function(e,t,r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:f+26>t?t-f:l+26>t?t-l+26:void 0}function r(e){function r(e){l[c++]=e}var n,i,a,s,u,l;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var f=e.length;u="="===e.charAt(f-2)?2:"="===e.charAt(f-1)?1:0,l=new o(3*e.length/4-u),a=u>0?e.length-4:e.length;var c=0;for(n=0,i=0;a>n;n+=4,i+=3)s=t(e.charAt(n))<<18|t(e.charAt(n+1))<<12|t(e.charAt(n+2))<<6|t(e.charAt(n+3)),r((16711680&s)>>16),r((65280&s)>>8),r(255&s);return 2===u?(s=t(e.charAt(n))<<2|t(e.charAt(n+1))>>4,r(255&s)):1===u&&(s=t(e.charAt(n))<<10|t(e.charAt(n+1))<<4|t(e.charAt(n+2))>>2,r(s>>8&255),r(255&s)),l}function i(e){function t(e){return n.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(o<<4&63),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(o>>4&63),u+=t(o<<2&63),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),l="a".charCodeAt(0),f="A".charCodeAt(0);e.toByteArray=r,e.fromByteArray=i}("undefined"==typeof r?this.base64js={}:r)},{}],31:[function(e,t,r){r.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,o=d&(1<<-f)-1,d>>=-f,f+=s;f>0;o=256*o+e[t+c],c+=h,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=256*a+e[t+c],c+=h,f-=8);if(0===o)o=1-l;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,n),o-=l}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,f=(1<<l)-1,c=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+c>=1?h/u:h*Math.pow(2,1-c),t*u>=2&&(a++,u/=2),a+c>=f?(s=0,a=f):a+c>=1?(s=(t*u-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+d]=255&a,d+=p,a/=256,l-=8);e[r+d-p]|=128*g}},{}],32:[function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,i,s,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw t=arguments[1],t instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(r=this._events[e],a(r))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(i=arguments.length,s=new Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];r.apply(this,s)}else if(o(r)){for(i=arguments.length,s=new Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];for(l=r.slice(),i=l.length,u=0;i>u;u++)l[u].apply(this,s)}return!0},r.prototype.addListener=function(e,t){var i;if(!n(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned){var i;i=a(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!n(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var r,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],a=r.length,i=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=a;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(0>i)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],n(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.listenerCount=function(e,t){var r;return r=e._events&&e._events[t]?n(e._events[t])?1:e._events[t].length:0}},{}],33:[function(e,t){var r=t.exports,n=(e("events").EventEmitter,e("./lib/request")),i=e("url");r.request=function(e,t){"string"==typeof e&&(e=i.parse(e)),e||(e={}),e.host||e.port||(e.port=parseInt(window.location.port,10)),!e.host&&e.hostname&&(e.host=e.hostname),e.scheme||(e.scheme=window.location.protocol.split(":")[0]),e.host||(e.host=window.location.hostname||window.location.host),/:/.test(e.host)&&(e.port||(e.port=e.host.split(":")[1]),e.host=e.host.split(":")[0]),e.port||(e.port="https"==e.scheme?443:80);var r=new n(new o,e);return t&&r.on("response",t),r},r.get=function(e,t){e.method="GET";var n=r.request(e,t);return n.end(),n},r.Agent=function(){},r.Agent.defaultMaxSockets=4;var o=function(){if("undefined"==typeof window)throw new Error("no window object present");if(window.XMLHttpRequest)return window.XMLHttpRequest;if(window.ActiveXObject){for(var e=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"],t=0;t<e.length;t++)try{var r=new window.ActiveXObject(e[t]);return function(){if(r){var n=r;return r=null,n}return new window.ActiveXObject(e[t])}}catch(n){}throw new Error("ajax not supported in this browser")}throw new Error("ajax not supported in this browser")}();r.STATUS_CODES={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{"./lib/request":34,events:32,url:59}],34:[function(e,t){var r=e("stream"),n=e("./response"),i=e("Base64"),o=e("inherits"),a=t.exports=function(e,t){var r=this;r.writable=!0,r.xhr=e,r.body=[],r.uri=(t.scheme||"http")+"://"+t.host+(t.port?":"+t.port:"")+(t.path||"/"),"undefined"==typeof t.withCredentials&&(t.withCredentials=!0);try{e.withCredentials=t.withCredentials}catch(o){}if(t.responseType)try{e.responseType=t.responseType}catch(o){}if(e.open(t.method||"GET",r.uri,!0),r._headers={},t.headers)for(var a=s(t.headers),u=0;u<a.length;u++){var l=a[u];if(r.isSafeRequestHeader(l)){var f=t.headers[l];r.setHeader(l,f)}}t.auth&&this.setHeader("Authorization","Basic "+i.btoa(t.auth));var c=new n;c.on("close",function(){r.emit("close")}),c.on("ready",function(){r.emit("response",c)}),e.onreadystatechange=function(){e.__aborted||c.handle(e)}};o(a,r),a.prototype.setHeader=function(e,t){this._headers[e.toLowerCase()]=t},a.prototype.getHeader=function(e){return this._headers[e.toLowerCase()]},a.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},a.prototype.write=function(e){this.body.push(e)},a.prototype.destroy=function(){this.xhr.__aborted=!0,this.xhr.abort(),this.emit("close")},a.prototype.end=function(e){void 0!==e&&this.body.push(e);for(var t=s(this._headers),r=0;r<t.length;r++){var n=t[r],i=this._headers[n];if(u(i))for(var o=0;o<i.length;o++)this.xhr.setRequestHeader(n,i[o]);else this.xhr.setRequestHeader(n,i)}if(0===this.body.length)this.xhr.send("");else if("string"==typeof this.body[0])this.xhr.send(this.body.join(""));else if(u(this.body[0])){for(var a=[],r=0;r<this.body.length;r++)a.push.apply(a,this.body[r]);this.xhr.send(a)}else if(/Array/.test(Object.prototype.toString.call(this.body[0]))){for(var l=0,r=0;r<this.body.length;r++)l+=this.body[r].length;for(var a=new this.body[0].constructor(l),f=0,r=0;r<this.body.length;r++)for(var c=this.body[r],o=0;o<c.length;o++)a[f++]=c[o];this.xhr.send(a)}else{for(var a="",r=0;r<this.body.length;r++)a+=this.body[r].toString();this.xhr.send(a)}},a.unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"],a.prototype.isSafeRequestHeader=function(e){return e?-1===l(a.unsafeHeaders,e.toLowerCase()):!1};var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}},{"./response":35,Base64:36,inherits:38,stream:58}],35:[function(e,t){function r(e){for(var t=e.getAllResponseHeaders().split(/\r?\n/),r={},n=0;n<t.length;n++){var i=t[n];if(""!==i){var o=i.match(/^([^:]+):\s*(.*)/);if(o){var a=o[1].toLowerCase(),u=o[2];void 0!==r[a]?s(r[a])?r[a].push(u):r[a]=[r[a],u]:r[a]=u}else r[i]=!0}}return r}var n=e("stream"),i=e("util"),o=t.exports=function(){this.offset=0,this.readable=!0};i.inherits(o,n);var a={streaming:!0,status2:!0};o.prototype.getResponse=function(e){var t=String(e.responseType).toLowerCase();return"blob"===t?e.responseBlob||e.response:"arraybuffer"===t?e.response:e.responseText},o.prototype.getHeader=function(e){return this.headers[e.toLowerCase()]},o.prototype.handle=function(e){if(2===e.readyState&&a.status2){try{this.statusCode=e.status,this.headers=r(e)}catch(t){a.status2=!1}a.status2&&this.emit("ready")}else if(a.streaming&&3===e.readyState){try{this.statusCode||(this.statusCode=e.status,this.headers=r(e),this.emit("ready"))}catch(t){}try{this._emitData(e)}catch(t){a.streaming=!1}}else 4===e.readyState&&(this.statusCode||(this.statusCode=e.status,this.emit("ready")),this._emitData(e),e.error?this.emit("error",this.getResponse(e)):this.emit("end"),this.emit("close"))},o.prototype._emitData=function(e){var t=this.getResponse(e);return t.toString().match(/ArrayBuffer/)?(this.emit("data",new Uint8Array(t,this.offset)),void(this.offset=t.byteLength)):void(t.length>this.offset&&(this.emit("data",t.slice(this.offset)),this.offset=t.length))};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{stream:58,util:61}],36:[function(e,t,r){!function(){function e(e){this.message=e}var t="undefined"!=typeof r?r:this,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",t.btoa||(t.btoa=function(t){for(var r,i,o=0,a=n,s="";t.charAt(0|o)||(a="=",o%1);s+=a.charAt(63&r>>8-o%1*8)){if(i=t.charCodeAt(o+=.75),i>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|i}return s}),t.atob||(t.atob=function(t){if(t=t.replace(/=+$/,""),t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=t.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i=n.indexOf(i);return s})}()},{}],37:[function(e,t){var r=e("http"),n=t.exports;for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i]);n.request=function(e,t){return e||(e={}),e.scheme="https",r.request.call(this,e,t)}},{http:33}],38:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],39:[function(e,t){t.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},{}],40:[function(e,t,r){function n(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,a=function(e){return o.exec(e).slice(1)};r.resolve=function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var o=r>=0?arguments[r]:process.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,t="/"===o.charAt(0))}return e=n(i(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."},r.normalize=function(e){var t=r.isAbsolute(e),o="/"===s(e,-1);return e=n(i(e.split("/"),function(e){return!!e}),!t).join("/"),e||t||(e="."),e&&o&&(e+="/"),(t?"/":"")+e},r.isAbsolute=function(e){return"/"===e.charAt(0)},r.join=function(){var e=Array.prototype.slice.call(arguments,0);return r.normalize(i(e,function(e){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},r.relative=function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=r.resolve(e).substr(1),t=r.resolve(t).substr(1);for(var i=n(e.split("/")),o=n(t.split("/")),a=Math.min(i.length,o.length),s=a,u=0;a>u;u++)if(i[u]!==o[u]){s=u;break}for(var l=[],u=s;u<i.length;u++)l.push("..");return l=l.concat(o.slice(s)),l.join("/")},r.sep="/",r.delimiter=":",r.dirname=function(e){var t=a(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},r.basename=function(e,t){var r=a(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},r.extname=function(e){return a(e)[3]};var s="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return 0>t&&(t=e.length+t),e.substr(t,r)}},{}],41:[function(e,t){function r(){}var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=r,n.addListener=r,n.once=r,n.off=r,n.removeListener=r,n.removeAllListeners=r,n.emit=r,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],42:[function(t,r,n){!function(t){function i(e){throw RangeError(B[e])}function o(e,t){for(var r=e.length;r--;)e[r]=t(e[r]);return e}function a(e,t){return o(e.split(L),t).join(".")}function s(e){for(var t,r,n=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=T(e>>>10&1023|55296),e=56320|1023&e),t+=T(e)}).join("")}function l(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:k}function f(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function c(e,t,r){var n=0;for(e=r?M(e/E):e>>1,e+=M(e/t);e>R*O>>1;n+=k)e=M(e/R);return M(n+(R+1)*e/(e+S))}function h(e){var t,r,n,o,a,s,f,h,d,p,g=[],v=e.length,m=0,b=V,y=I;for(r=e.lastIndexOf(j),0>r&&(r=0),n=0;r>n;++n)e.charCodeAt(n)>=128&&i("not-basic"),g.push(e.charCodeAt(n));for(o=r>0?r+1:0;v>o;){for(a=m,s=1,f=k;o>=v&&i("invalid-input"),h=l(e.charCodeAt(o++)),(h>=k||h>M((x-m)/s))&&i("overflow"),m+=h*s,d=y>=f?_:f>=y+O?O:f-y,!(d>h);f+=k)p=k-d,s>M(x/p)&&i("overflow"),s*=p;t=g.length+1,y=c(m-a,t,0==a),M(m/t)>x-b&&i("overflow"),b+=M(m/t),m%=t,g.splice(m++,0,b)}return u(g)}function d(e){var t,r,n,o,a,u,l,h,d,p,g,v,m,b,y,w=[];for(e=s(e),v=e.length,t=V,r=0,a=I,u=0;v>u;++u)g=e[u],128>g&&w.push(T(g));for(n=o=w.length,o&&w.push(j);v>n;){for(l=x,u=0;v>u;++u)g=e[u],g>=t&&l>g&&(l=g);for(m=n+1,l-t>M((x-r)/m)&&i("overflow"),r+=(l-t)*m,t=l,u=0;v>u;++u)if(g=e[u],t>g&&++r>x&&i("overflow"),g==t){for(h=r,d=k;p=a>=d?_:d>=a+O?O:d-a,!(p>h);d+=k)y=h-p,b=k-p,w.push(T(f(p+y%b,0))),h=M(y/b);w.push(T(f(h,0))),a=c(r,m,n==o),r=0,++n}++r,++t}return w.join("")}function p(e){return a(e,function(e){return A.test(e)?h(e.slice(4).toLowerCase()):e})}function g(e){return a(e,function(e){return C.test(e)?"xn--"+d(e):e})}var v="object"==typeof n&&n,m="object"==typeof r&&r&&r.exports==v&&r,b="object"==typeof global&&global;(b.global===b||b.window===b)&&(t=b);var y,w,x=2147483647,k=36,_=1,O=26,S=38,E=700,I=72,V=128,j="-",A=/^xn--/,C=/[^ -~]/,L=/\x2E|\u3002|\uFF0E|\uFF61/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=k-_,M=Math.floor,T=String.fromCharCode;if(y={version:"1.2.4",ucs2:{decode:s,encode:u},decode:h,encode:d,toASCII:g,toUnicode:p},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return y});else if(v&&!v.nodeType)if(m)m.exports=y;else for(w in y)y.hasOwnProperty(w)&&(v[w]=y[w]);else t.punycode=y}(this)},{}],43:[function(e,t){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,i,o){t=t||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var f=0;l>f;++f){var c,h,d,p,g=e[f].replace(s,"%20"),v=g.indexOf(i);v>=0?(c=g.substr(0,v),h=g.substr(v+1)):(c=g,h=""),d=decodeURIComponent(c),p=decodeURIComponent(h),r(a,d)?n(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],44:[function(e,t){"use strict";function r(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,a,s){return t=t||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e?r(o(e),function(o){var s=encodeURIComponent(n(o))+a;return i(e[o])?r(e[o],function(e){return s+encodeURIComponent(n(e))}).join(t):s+encodeURIComponent(n(e[o]))}).join(t):s?encodeURIComponent(n(s))+a+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],45:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":43,"./encode":44}],46:[function(e,t){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":47}],47:[function(e,t){(function(r){function n(e){return this instanceof n?(u.call(this,e),l.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",i)):new n(e)}function i(){this.allowHalfOpen||this._writableState.ended||r.nextTick(this.end.bind(this))}function o(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}t.exports=n;var a=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},s=e("core-util-is");s.inherits=e("inherits");var u=e("./_stream_readable"),l=e("./_stream_writable");s.inherits(n,u),o(a(l.prototype),function(e){n.prototype[e]||(n.prototype[e]=l.prototype[e])})}).call(this,e("_process"))},{"./_stream_readable":49,"./_stream_writable":51,_process:41,"core-util-is":52,inherits:38}],48:[function(e,t){function r(e){return this instanceof r?void n.call(this,e):new r(e)}t.exports=r;var n=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(r,n),r.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":50,"core-util-is":52,inherits:38}],49:[function(e,t){(function(r){function n(t){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(V||(V=e("string_decoder/").StringDecoder),this.decoder=new V(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new n(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,r,n,i){var o=l(t,r);if(o)e.emit("error",o);else if(null===r||void 0===r)t.reading=!1,t.ended||f(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||n||(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&c(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=j)e=j;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||null===e?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var r=null;return O.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||r||(r=new TypeError("Invalid non-string/buffer chunk")),r}function f(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?c(e):w(e)}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?r.nextTick(function(){h(e)}):h(e))}function h(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){p(e,t)}))}function p(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e){var t=e.write(r);!1===t&&n.awaitDrain++}var r,n=e._readableState;for(n.awaitDrain=0;n.pipesCount&&null!==(r=e.read());)if(1===n.pipesCount?t(n.pipes,0,null):x(n.pipes,t),e.emit("data",r),n.awaitDrain>0)return;return 0===n.pipesCount?(n.flowing=!1,void(S.listenerCount(e,"data")>0&&b(e))):void(n.ranOut=!0)}function m(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function b(e,t){var n=e._readableState;if(n.flowing)throw new Error("Cannot switch to old mode now.");var i=t||!1,o=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on("readable",function(){o=!0;for(var t;!i&&null!==(t=e.read());)e.emit("data",t);null===t&&(o=!1,e._readableState.needReadable=!0)}),e.pause=function(){i=!0,this.emit("pause")},e.resume=function(){i=!1,o?r.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function y(e,t){var r,n=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(a)r=n.shift();else if(!e||e>=i)r=o?n.join(""):O.concat(n,i),n.length=0;else if(e<n[0].length){var s=n[0];r=s.slice(0,e),n[0]=s.slice(e)}else if(e===n[0].length)r=n.shift();else{r=o?"":new O(e);for(var u=0,l=0,f=n.length;f>l&&e>u;l++){var s=n[0],c=Math.min(e-u,s.length);o?r+=s.slice(0,c):s.copy(r,u,0,c),c<s.length?n[0]=s.slice(c):n.shift(),u+=c}}return r}function w(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function x(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}function k(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1}t.exports=i;var _=e("isarray"),O=e("buffer").Buffer;i.ReadableState=n;var S=e("events").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e("stream"),I=e("core-util-is");I.inherits=e("inherits");var V;I.inherits(i,E),i.prototype.push=function(e,t){var r=this._readableState;return"string"!=typeof e||r.objectMode||(t=t||r.defaultEncoding,t!==r.encoding&&(e=new O(e,t),t="")),o(this,r,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){V||(V=e("string_decoder/").StringDecoder),this._readableState.decoder=new V(t),this._readableState.encoding=t};var j=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return c(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var n=t.needReadable;t.length-e<=t.highWaterMark&&(n=!0),(t.ended||t.reading)&&(n=!1),n&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=u(r,t));var i;return i=e>0?y(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&w(this),i},i.prototype._read=function(){this.emit("error",new Error("not implemented"))},i.prototype.pipe=function(e,t){function n(e){e===f&&o()}function i(){e.end()}function o(){e.removeListener("close",s),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",a),e.removeListener("unpipe",n),f.removeListener("end",i),f.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function a(t){l(),e.removeListener("error",a),0===S.listenerCount(e,"error")&&e.emit("error",t)}function s(){e.removeListener("finish",u),l()
-}function u(){e.removeListener("close",s),l()}function l(){f.unpipe(e)}var f=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=e;break;case 1:c.pipes=[c.pipes,e];break;default:c.pipes.push(e)}c.pipesCount+=1;var h=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,d=h?i:o;c.endEmitted?r.nextTick(d):f.once("end",d),e.on("unpipe",n);var p=g(f);return e.on("drain",p),e._events&&e._events.error?_(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",s),e.once("finish",u),e.emit("pipe",f),c.flowing||(this.on("readable",m),c.flowing=!0,r.nextTick(function(){v(f)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",m),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",m),t.flowing=!1;for(var i=0;n>i;i++)r[i].emit("unpipe",this);return this}var i=k(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var r=E.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||b(this),"readable"===e&&this.readable){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&c(this,n):this.read(0))}return r},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){b(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){b(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=n.push(i);o||(r=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&"undefined"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return x(o,function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(){r&&(r=!1,e.resume())},n},i._fromList=y}).call(this,e("_process"))},{_process:41,buffer:29,"core-util-is":52,events:32,inherits:38,isarray:39,stream:58,"string_decoder/":53}],50:[function(e,t){function r(e,t){this.afterTransform=function(e,r){return n(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function n(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=(e._readableState,e._transformState);if(r.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./_stream_duplex"),s=e("core-util-is");s.inherits=e("inherits"),s.inherits(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw new Error("not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./_stream_duplex":47,"core-util-is":52,inherits:38}],51:[function(e,t){(function(r){function n(e,t,r){this.chunk=e,this.encoding=t,this.callback=r}function i(e,t){e=e||{};var r=e.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var r=e("./_stream_duplex");return this instanceof o||this instanceof r?(this._writableState=new i(t,this),this.writable=!0,void k.call(this)):new o(t)}function a(e,t,n){var i=new Error("write after end");e.emit("error",i),r.nextTick(function(){n(i)})}function s(e,t,n,i){var o=!0;if(!w.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var a=new TypeError("Invalid non-string/buffer chunk");e.emit("error",a),r.nextTick(function(){i(a)}),o=!1}return o}function u(e,t,r){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new w(t,r)),t}function l(e,t,r,i,o){r=u(t,r,i),w.isBuffer(r)&&(i="buffer");var a=t.objectMode?1:r.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new n(r,i,o)):f(e,t,a,r,i,o),s}function f(e,t,r,n,i,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,e._write(n,i,t.onwrite),t.sync=!1}function c(e,t,n,i,o){n?r.nextTick(function(){o(i)}):o(i),e._writableState.errorEmitted=!0,e.emit("error",i)}function h(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if(h(n),t)c(e,n,i,t,o);else{var a=m(e,n);a||n.bufferProcessing||!n.buffer.length||v(e,n),i?r.nextTick(function(){p(e,n,a,o)}):p(e,n,a,o)}}function p(e,t,r,n){r||g(e,t),n(),r&&b(e,t)}function g(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function v(e,t){t.bufferProcessing=!0;for(var r=0;r<t.buffer.length;r++){var n=t.buffer[r],i=n.chunk,o=n.encoding,a=n.callback,s=t.objectMode?1:i.length;if(f(e,t,s,i,o,a),t.writing){r++;break}}t.bufferProcessing=!1,r<t.buffer.length?t.buffer=t.buffer.slice(r):t.buffer.length=0}function m(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){var r=m(e,t);return r&&(t.finished=!0,e.emit("finish")),r}function y(e,t,n){t.ending=!0,b(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n)),t.ended=!0}t.exports=o;var w=e("buffer").Buffer;o.WritableState=i;var x=e("core-util-is");x.inherits=e("inherits");var k=e("stream");x.inherits(o,k),o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),w.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=function(){}),n.ended?a(this,n,r):s(this,n,e,r)&&(i=l(this,n,e,t,r)),i},o.prototype._write=function(e,t,r){r(new Error("not implemented"))},o.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),"undefined"!=typeof e&&null!==e&&this.write(e,t),n.ending||n.finished||y(this,n,r)}}).call(this,e("_process"))},{"./_stream_duplex":47,_process:41,buffer:29,"core-util-is":52,inherits:38,stream:58}],52:[function(e,t,r){(function(e){function t(e){return Array.isArray(e)}function n(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"==typeof e}function s(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function l(e){return void 0===e}function f(e){return c(e)&&"[object RegExp]"===m(e)}function c(e){return"object"==typeof e&&null!==e}function h(e){return c(e)&&"[object Date]"===m(e)}function d(e){return c(e)&&("[object Error]"===m(e)||e instanceof Error)}function p(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function v(t){return e.isBuffer(t)}function m(e){return Object.prototype.toString.call(e)}r.isArray=t,r.isBoolean=n,r.isNull=i,r.isNullOrUndefined=o,r.isNumber=a,r.isString=s,r.isSymbol=u,r.isUndefined=l,r.isRegExp=f,r.isObject=c,r.isDate=h,r.isError=d,r.isFunction=p,r.isPrimitive=g,r.isBuffer=v}).call(this,e("buffer").Buffer)},{buffer:29}],53:[function(e,t,r){function n(e){if(e&&!u(e))throw new Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=s.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},l=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),n(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};l.prototype.write=function(e){for(var t="",r=0;this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,r,n),this.charReceived+=n-r,r=n,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,n==e.length)return t;e=e.slice(n,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},l.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}return t},l.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:29}],54:[function(e,t){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":48}],55:[function(e,t,r){r=t.exports=e("./lib/_stream_readable.js"),r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":47,"./lib/_stream_passthrough.js":48,"./lib/_stream_readable.js":49,"./lib/_stream_transform.js":50,"./lib/_stream_writable.js":51}],56:[function(e,t){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":50}],57:[function(e,t){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":51}],58:[function(e,t){function r(){n.call(this)}t.exports=r;var n=e("events").EventEmitter,i=e("inherits");i(r,n),r.Readable=e("readable-stream/readable.js"),r.Writable=e("readable-stream/writable.js"),r.Duplex=e("readable-stream/duplex.js"),r.Transform=e("readable-stream/transform.js"),r.PassThrough=e("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}function i(){l.readable&&l.resume&&l.resume()}function o(){f||(f=!0,e.end())}function a(){f||(f=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===n.listenerCount(this,"error"))throw e}function u(){l.removeListener("data",r),e.removeListener("drain",i),l.removeListener("end",o),l.removeListener("close",a),l.removeListener("error",s),e.removeListener("error",s),l.removeListener("end",u),l.removeListener("close",u),e.removeListener("close",u)}var l=this;l.on("data",r),e.on("drain",i),e._isStdio||t&&t.end===!1||(l.on("end",o),l.on("close",a));var f=!1;return l.on("error",s),e.on("error",s),l.on("end",u),l.on("close",u),e.on("close",u),e.emit("pipe",l),e}},{events:32,inherits:38,"readable-stream/duplex.js":46,"readable-stream/passthrough.js":54,"readable-stream/readable.js":55,"readable-stream/transform.js":56,"readable-stream/writable.js":57}],59:[function(e,t,r){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&l(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}function o(e){return u(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)}function a(e,t){return i(e,!1,!0).resolve(t)}function s(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function l(e){return"object"==typeof e&&null!==e}function f(e){return null===e}function c(e){return null==e}var h=e("punycode");r.parse=i,r.resolve=a,r.resolveObject=s,r.format=o,r.Url=n;var d=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,g=["<",">",'"',"`"," ","\r","\n","       "],v=["{","}","|","\\","^","`"].concat(g),m=["'"].concat(v),b=["%","/","?",";","#"].concat(m),y=["/","?","#"],w=255,x=/^[a-z0-9A-Z_-]{0,63}$/,k=/^([a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},O={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},E=e("querystring");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e;n=n.trim();var i=d.exec(n);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,n=n.substr(i.length)}if(r||i||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var a="//"===n.substr(0,2);!a||i&&O[i]||(n=n.substr(2),this.slashes=!0)}if(!O[i]&&(a||i&&!S[i])){for(var s=-1,l=0;l<y.length;l++){var f=n.indexOf(y[l]);-1!==f&&(-1===s||s>f)&&(s=f)}var c,p;p=-1===s?n.lastIndexOf("@"):n.lastIndexOf("@",s),-1!==p&&(c=n.slice(0,p),n=n.slice(p+1),this.auth=decodeURIComponent(c)),s=-1;for(var l=0;l<b.length;l++){var f=n.indexOf(b[l]);-1!==f&&(-1===s||s>f)&&(s=f)}-1===s&&(s=n.length),this.host=n.slice(0,s),n=n.slice(s),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var v=this.hostname.split(/\./),l=0,I=v.length;I>l;l++){var V=v[l];if(V&&!V.match(x)){for(var j="",A=0,C=V.length;C>A;A++)j+=V.charCodeAt(A)>127?"x":V[A];if(!j.match(x)){var L=v.slice(0,l),B=v.slice(l+1),R=V.match(k);R&&(L.push(R[1]),B.unshift(R[2])),B.length&&(n="/"+B.join(".")+n),this.hostname=L.join(".");break}}}if(this.hostname=this.hostname.length>w?"":this.hostname.toLowerCase(),!g){for(var M=this.hostname.split("."),T=[],l=0;l<M.length;++l){var U=M[l];T.push(U.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(U):U)}this.hostname=T.join(".")}var z=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+z,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!_[o])for(var l=0,I=m.length;I>l;l++){var q=m[l],F=encodeURIComponent(q);F===q&&(F=escape(q)),n=n.split(q).join(F)}var P=n.indexOf("#");-1!==P&&(this.hash=n.substr(P),n=n.slice(0,P));var N=n.indexOf("?");if(-1!==N?(this.search=n.substr(N),this.query=n.substr(N+1),t&&(this.query=E.parse(this.query)),n=n.slice(0,N)):t&&(this.search="",this.query={}),n&&(this.pathname=n),S[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",U=this.search||"";this.path=z+U}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&l(this.query)&&Object.keys(this.query).length&&(o=E.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||S[t])&&i!==!1?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+r+a+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(u(e)){var t=new n;t.parse(e,!1,!0),e=t}var r=new n;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),S[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!S[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||O[e.protocol])r.pathname=e.pathname;else{for(var i=(e.pathname||"").split("/");i.length&&!(e.host=i.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==i[0]&&i.unshift(""),i.length<2&&i.unshift(""),r.pathname=i.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var o=r.pathname||"",a=r.search||"";r.path=o+a}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var s=r.pathname&&"/"===r.pathname.charAt(0),l=e.host||e.pathname&&"/"===e.pathname.charAt(0),h=l||s||r.host&&e.pathname,d=h,p=r.pathname&&r.pathname.split("/")||[],i=e.pathname&&e.pathname.split("/")||[],g=r.protocol&&!S[r.protocol];if(g&&(r.hostname="",r.port=null,r.host&&(""===p[0]?p[0]=r.host:p.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===i[0]?i[0]=e.host:i.unshift(e.host)),e.host=null),h=h&&(""===i[0]||""===p[0])),l)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,p=i;else if(i.length)p||(p=[]),p.pop(),p=p.concat(i),r.search=e.search,r.query=e.query;else if(!c(e.search)){if(g){r.hostname=r.host=p.shift();var v=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return r.search=e.search,r.query=e.query,f(r.pathname)&&f(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!p.length)return r.pathname=null,r.path=r.search?"/"+r.search:null,r.href=r.format(),r;for(var m=p.slice(-1)[0],b=(r.host||e.host)&&("."===m||".."===m)||""===m,y=0,w=p.length;w>=0;w--)m=p[w],"."==m?p.splice(w,1):".."===m?(p.splice(w,1),y++):y&&(p.splice(w,1),y--);if(!h&&!d)for(;y--;y)p.unshift("..");!h||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),b&&"/"!==p.join("/").substr(-1)&&p.push("");var x=""===p[0]||p[0]&&"/"===p[0].charAt(0);if(g){r.hostname=r.host=x?"":p.length?p.shift():"";var v=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return h=h||r.host&&p.length,h&&!x&&p.unshift(""),p.length?r.pathname=p.join("/"):(r.pathname=null,r.path=null),f(r.pathname)&&f(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=p.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:42,querystring:45}],60:[function(e,t){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],61:[function(e,t,r){function n(e,t){var n={seen:[],stylize:o};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),s(n,e,n.depth)}function i(e,t){var r=n.styles[t];return r?"\e["+n.colors[r][0]+"m"+e+"\e["+n.colors[r][1]+"m":e}function o(e){return e}function a(e){var t={};return e.forEach(function(e){t[e]=!0}),t}function s(e,t,n){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=s(e,i,n)),i}var o=u(e,t);if(o)return o;var p=Object.keys(t),g=a(p);if(e.showHidden&&(p=Object.getOwnPropertyNames(t)),O(t)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return l(t);if(0===p.length){if(S(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_(t))return e.stylize(Date.prototype.toString.call(t),"date");if(O(t))return l(t)}var m="",y=!1,w=["{","}"];if(d(t)&&(y=!0,w=["[","]"]),S(t)){var k=t.name?": "+t.name:"";m=" [Function"+k+"]"}if(x(t)&&(m=" "+RegExp.prototype.toString.call(t)),_(t)&&(m=" "+Date.prototype.toUTCString.call(t)),O(t)&&(m=" "+l(t)),0===p.length&&(!y||0==t.length))return w[0]+m+w[1];if(0>n)return x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var E;return E=y?f(e,t,n,g,p):p.map(function(r){return c(e,t,n,g,r,y)}),e.seen.pop(),h(E,m,w)}function u(e,t){if(w(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i){for(var o=[],a=0,s=t.length;s>a;++a)o.push(A(t,String(a))?c(e,t,r,n,String(a),!0):"");return i.forEach(function(i){i.match(/^\d+$/)||o.push(c(e,t,r,n,i,!0))}),o}function c(e,t,r,n,i,o){var a,u,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?u=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(u=e.stylize("[Setter]","special")),A(n,i)||(a="["+i+"]"),u||(e.seen.indexOf(l.value)<0?(u=g(r)?s(e,l.value,null):s(e,l.value,r-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n"))):u=e.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return u;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function h(e,t,r){var n=0,i=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return null==e}function m(e){return"number"==typeof e}function b(e){return"string"==typeof e}function y(e){return"symbol"==typeof e}function w(e){return void 0===e}function x(e){return k(e)&&"[object RegExp]"===I(e)}function k(e){return"object"==typeof e&&null!==e}function _(e){return k(e)&&"[object Date]"===I(e)}function O(e){return k(e)&&("[object Error]"===I(e)||e instanceof Error)}function S(e){return"function"==typeof e}function E(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function I(e){return Object.prototype.toString.call(e)}function V(e){return 10>e?"0"+e.toString(10):e.toString(10)}function j(){var e=new Date,t=[V(e.getHours()),V(e.getMinutes()),V(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var C=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(n(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,o=i.length,a=String(e).replace(C,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return e}}),s=i[r];o>r;s=i[++r])a+=g(s)||!k(s)?" "+s:" "+n(s);return a},r.deprecate=function(e,t){function n(){if(!i){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),i=!0}return e.apply(this,arguments)}if(w(global.process))return function(){return r.deprecate(e,t).apply(this,arguments)};if(process.noDeprecation===!0)return e;var i=!1;return n};var L,B={};r.debuglog=function(e){if(w(L)&&(L=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!B[e])if(new RegExp("\\b"+e+"\\b","i").test(L)){var t=process.pid;B[e]=function(){var n=r.format.apply(r,arguments);console.error("%s %d: %s",e,t,n)}}else B[e]=function(){};return B[e]},r.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=p,r.isNull=g,r.isNullOrUndefined=v,r.isNumber=m,r.isString=b,r.isSymbol=y,r.isUndefined=w,r.isRegExp=x,r.isObject=k,r.isDate=_,r.isError=O,r.isFunction=S,r.isPrimitive=E,r.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",j(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!k(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}},{"./support/isBuffer":60,inherits:38}]},{},[1])(1)});
\ No newline at end of file
+!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.CleanCSS=e()}}(function(){var e;return function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var f=r[a]={exports:{}};e[a][0].call(f.exports,function(t){var r=e[a][1][t];return i(r?r:t)},f,f.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t){t.exports=e("./lib/clean")},{"./lib/clean":2}],2:[function(e,t){(function(r,n){var i=e("./colors/shortener"),o=e("./colors/hsl-to-hex"),a=e("./colors/rgb-to-hex"),s=e("./colors/long-to-short-hex"),u=e("./imports/inliner"),l=e("./images/url-rebase"),f=e("./selectors/empty-removal"),c=e("./text/comments"),h=e("./text/expressions"),d=e("./text/free"),p=e("./text/urls"),g=e("./text/name-quotes"),v=e("./text/splitter"),m=e("./selectors/optimizer"),b=t.exports=function w(e){return e=e||{},this instanceof w?(e.keepBreaks=e.keepBreaks||!1,void 0===e.processImport&&(e.processImport=!0),this.options=e,this.stats={},this.context={errors:[],warnings:[],debug:e.debug},this.errors=this.context.errors,this.warnings=this.context.warnings,void(this.lineBreak="win32"==r.platform?"\r\n":"\n")):new w(e)};b.prototype.minify=function(e,t){var i=this.options;if(n.isBuffer(e)&&(e=e.toString()),i.processImport||e.indexOf("@shallow")>0){var o=this,a=t?r.nextTick:function(e){return e()};return a(function(){return new u(o.context,i.inliner).process(e,{localOnly:!t,root:i.root||r.cwd(),relativeTo:i.relativeTo,whenDone:function(e){return y.call(o,e,t)}})})}return y.call(this,e,t)};var y=function(e,t){var n,u=this.stats,b=this.options,y=this.context,w=this.lineBreak,x=new c("keepSpecialComments"in b?b.keepSpecialComments:"*",b.keepBreaks,w),k=new h,_=new d,O=new p,S=new g;b.debug&&(this.startedAt=r.hrtime(),this.stats.originalSize=e.length);var E=function(){"function"==typeof arguments[0]?arguments[0]():e=e.replace.apply(e,arguments)};if(b.benchmark){var I=E;E=function(e,t){var n="function"==typeof e?/function (\w+)\(/.exec(e.toString())[1]:e,i=r.hrtime();I(e,t);var o=r.hrtime(i);console.log("%d ms: "+n,1e3*o[0]+o[1]/1e6)}}b.debug&&(n=r.hrtime(),u.originalSize=e.length),E(function(){e=x.escape(e)}),E(/\\(\r\n|\n)/gm,""),E(/url\((['"])([^\)]+)['"]\)/g,function(e,t,r){var n=0===r.indexOf("data:")&&null===r.match(/data:\w+\/[^;]+;base64,/);return null!==r.match(/[ \t]/g)||n?"url("+t+r+t+")":"url("+r+")"}),E(function(){e=S.process(e)}),E(/@(\-moz\-|\-o\-|\-webkit\-)?keyframes ([^{]+)/g,function(e,t,r){return t=t||"","@"+t+"keyframes "+(r.indexOf(" ")>-1?r:r.replace(/['"]/g,""))}),E(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\([^\)]+\))([;}'"])/g,function(e,t,r,n){return t.toLowerCase()+r+n}),E(function(){e=k.escape(e)}),E(/\[([^\]]+)\]/g,function(e,t){var r=t.indexOf("="),n=t.indexOf("'"),i=t.indexOf('"');if(0>r&&0>n&&0>i)return e;if(0===n||0===i)return e;var o=t.substring(0,r),a=t.substring(r+1,t.length);return/^['"](?:[a-zA-Z][a-zA-Z\d\-_]+)['"]$/.test(a)?"["+o+"="+a.substring(1,a.length-1)+"]":e}),E(function(){e=_.escape(e)}),E(function(){e=O.escape(e)}),E(/@charset [^;]+;/gi,function(e){return e.indexOf("@charset")>-1?e:""}),E(/\[([^\]]+)\]/g,function(e){return e.replace(/\s/g,"")}),E(/[\r]?\n/g," "),E(/[\t ]+/g," "),E(/;[ ]?;+/g,";"),E(/ (?:\r\n|\n)/g,w),E(/(?:\r\n|\n)+/g,w),E(/ ([+~>]) /g,"$1"),E(/([!\(\{\}:;=,\n]) /g,"$1"),E(/ ([!\)\{\};=,\n])/g,"$1"),E(/(?:\r\n|\n)\}/g,"}"),E(/([\{;,])(?:\r\n|\n)/g,"$1"),E(/ :([^\{\};]+)([;}])/g,":$1$2"),E(/progid:[^(]+\(([^\)]+)/g,function(e){return e.replace(/,/g,", ")}),E(/;\}/g,"}"),E(function(){e=new o(e).process()}),E(function(){e=new a(e).process()}),E(function(){e=new s(e).process()}),E(function(){e=new i(e).process()}),E(/(font\-weight|font):(normal|bold)([ ;\}!])(\w*)/g,function(e,t,r,n,i){return" "==n&&(i.indexOf("/")>-1||"normal"==i||/[1-9]00/.test(i))?e:"normal"==r?t+":400"+n+i:"bold"==r?t+":700"+n+i:e});var V=/(\s|:|,|\()\-0([^\.])/g;E(V,"$10$2"),E(V,"$10$2"),E(/(\s|:|,)0+([1-9])/g,"$1$2");var j="roundingPrecision"in b?b.roundingPrecision:2,A=Math.pow(10,j);E(new RegExp("\\.(\\d{"+(j+1)+",})px","g"),function(e,t){return 0===j?"px":"."+Math.round(parseFloat("."+t)*A)/A+"px"});var C=/(\D)\.0+(\D)/g;E(C,"$10$2"),E(C,"$10$2"),E(/\.([1-9]*)0+(\D)/g,function(e,t,r){return(t.length>0?".":"")+t+r});var L=["px","em","ex","cm","mm","in","pt","pc","%"];if(-1==["ie7","ie8"].indexOf(b.compatibility)&&L.push("rem"),E(new RegExp("(\\s|:|,)\\-?0(?:"+L.join("|")+")","g"),"$10"),E(new RegExp("(\\s|:|,)\\-?(\\d+)\\.(\\D)","g"),"$1$2$3"),E(new RegExp("rect\\(0(?:"+L.join("|")+")","g"),"rect(0"),E(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,r){var n=r.split(","),i="hsl"==t||"hsla"==t||n[0].indexOf("%")>-1;return i?(-1==n[1].indexOf("%")&&(n[1]+="%"),-1==n[2].indexOf("%")&&(n[2]+="%"),t+"("+n.join(",")+")"):e}),b.compatibility||E(/:([^;]*)(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(e,t){return new v(",").split(e).pop().indexOf("gradient(")>-1?e:":"+t+"transparent"}),E(/outline:none/g,"outline:0"),E(/background:(?:none|transparent)([;}])/g,"background:0 0$1"),E(/box-shadow:0 0 0 0([^\.])/g,"box-shadow:0 0$1"),E(/:0 0 0 0([^\.])/g,":0$1"),E(/([: ,=\-])0\.(\d)/g,"$1.$2"),E(/rect\(\s?0(\s|,)0[ ,]0[ ,]0\s?\)/g,"rect(0$10$10$10)"),E(/\*([\.#:\[])/g,"$1"),E(/calc\([^\}]+\}/g,function(e){return e.replace(/\+/g," + ")}),b.compatibility||E(/([;\{])[\*_][\w\-]+:[^;\}]+/g,"$1"),b.noAdvanced?b.keepBreaks&&E(/\}/g,"}"+w):E(function(){e=new m(e,y,{keepBreaks:b.keepBreaks,lineBreak:w,compatibility:b.compatibility,aggressiveMerging:!b.noAggressiveMerging}).process()}),E(/(border-\w+-\w+-radius:\S+)\s+\/\s+/g,"$1/"),E(/(border-\w+-\w+-radius):([^;\}]+)/g,function(e,t,r){var n=r.split("/");return n.length>1&&n[0]==n[1]?t+":"+n[0]:e}),E(function(){e=O.restore(e)}),E(function(){e=b.noRebase?e:new l(b,y).process(e)}),E(function(){e=_.restore(e)}),E(function(){e=x.restore(e)}),E(function(){e=k.restore(e)}),E(function(){var t=e.match(/@charset [^;]+;/),r=t?t[0]:null;r&&(e=r+(b.keepBreaks?w:"")+e.replace(new RegExp("@charset [^;]+;("+w+")?","g"),"").trim())}),b.noAdvanced&&E(function(){e=new f(e).process()}),e=e.trim(),b.debug){var B=r.hrtime(n);u.timeSpent=~~(1e3*B[0]+B[1]/1e6),u.efficiency=1-e.length/u.originalSize,u.minifiedSize=e.length}return t?t.call(this,this.context.errors.length>0?this.context.errors:null,e):e}}).call(this,e("_process"),e("buffer").Buffer)},{"./colors/hsl-to-hex":3,"./colors/long-to-short-hex":4,"./colors/rgb-to-hex":5,"./colors/shortener":6,"./images/url-rebase":7,"./imports/inliner":9,"./selectors/empty-removal":17,"./selectors/optimizer":18,"./text/comments":20,"./text/expressions":22,"./text/free":23,"./text/name-quotes":24,"./text/splitter":26,"./text/urls":27,_process:41,buffer:29}],3:[function(e,t){t.exports=function(e){var t=function(e,t,n){var i,o,a;if(e%=360,0>e&&(e+=360),e=~~e/360,0>t?t=0:t>100&&(t=100),t=~~t/100,0>n?n=0:n>100&&(n=100),n=~~n/100,0===t)i=o=a=n;else{var s=.5>n?n*(1+t):n+t-n*t,u=2*n-s;i=r(u,s,e+1/3),o=r(u,s,e),a=r(u,s,e-1/3)}return[~~(255*i),~~(255*o),~~(255*a)]},r=function(e,t,r){return 0>r&&(r+=1),r>1&&(r-=1),1/6>r?e+6*(t-e)*r:.5>r?t:2/3>r?e+(t-e)*(2/3-r)*6:e};return{process:function(){return e.replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,r,n,i){var o=t(r,n,i),a=o[0].toString(16),s=o[1].toString(16),u=o[2].toString(16);return"#"+((1==a.length?"0":"")+a)+((1==s.length?"0":"")+s)+((1==u.length?"0":"")+u)})}}}},{}],4:[function(e,t){t.exports=function(e){return{process:function(){return e.replace(/([,: \(])#([0-9a-f]{6})/gi,function(e,t,r){return r[0]==r[1]&&r[2]==r[3]&&r[4]==r[5]?t+"#"+r[0]+r[2]+r[4]:t+"#"+r})}}}},{}],5:[function(e,t){t.exports=function(e){return{process:function(){return e.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,r,n){return t=Math.max(0,Math.min(~~t,255)),r=Math.max(0,Math.min(~~r,255)),n=Math.max(0,Math.min(~~n,255)),"#"+("00000"+(t<<16|r<<8|n).toString(16)).slice(-6)})}}}},{}],6:[function(e,t){t.exports=function(e){var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},r={},n={};for(var i in t){var o=t[i];i.length<o.length?n[o]=i:r[i]=o}return{toHex:r,toName:n,process:function(){return[r,n].forEach(function(t){var r="("+Object.keys(t).join("|")+")",n=function(e,r,n,i){return r+t[n.toLowerCase()]+i};e=e.replace(new RegExp("([ :,\\(])"+r+"([;\\}!\\) ])","ig"),n),e=e.replace(new RegExp("(,)"+r+"(,)","ig"),n)}),e}}}},{}],7:[function(e,t){var r=e("fs"),n=e("path"),i=e("./url-rewriter");t.exports=function(e,t){var o=function(o){var a={absolute:!!e.root,relative:!e.root&&!!e.target,fromBase:e.relativeTo};if(!a.absolute&&!a.relative)return o;if(a.absolute&&e.target&&t.warnings.push("Both 'root' and output file given so rebasing URLs as absolute paths"),a.absolute&&(a.toBase=n.resolve(e.root)),a.relative){var s=r.existsSync(e.target)&&r.statSync(e.target).isDirectory()?e.target:n.dirname(e.target);a.toBase=n.resolve(s)}return a.fromBase&&a.toBase?i.process(o,a):o};return{process:o}}},{"./url-rewriter":8,fs:28,path:40}],8:[function(e,t){(function(r){var n=e("path"),i=e("url");t.exports={process:function(e,t){for(var r=[],n=0,i=0,o=0;i<e.length&&(n=e.indexOf("url(",i),-1!=n)&&(i=e.indexOf(")",n+4),-1!=i);){r.push(e.substring(o,n));var a=e.substring(n+4,i);/\/\*|\*\//.test(a)||(a=a.replace(/['"]/g,"")),r.push("url("+this._rebased(a,t)+")"),o=i+1}return r.length>0?r.join("")+e.substring(o,e.length):e},_rebased:function(e,t){var o,a="/"==e[0]||".css"==e.substring(e.length-4)||0===e.indexOf("data:")||null!==/^https?:\/\//.exec(e)||null!==/__\w+__/.exec(e);return a?e:/https?:\/\//.test(t.toBase)?i.resolve(t.toBase,e):(o=t.absolute?n.resolve(n.join(t.fromBase,e)).replace(t.toBase,""):n.relative(t.toBase,n.join(t.fromBase,e)),"win32"==r.platform?o.replace(/\\/g,"/"):o)}}}).call(this,e("_process"))},{_process:41,path:40,url:59}],9:[function(e,t){var r=e("fs"),n=e("path"),i=e("http"),o=e("https"),a=e("url"),s=e("../images/url-rewriter"),u=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var i in t)r[i]=t[i];return r};t.exports=function(e,t){var l={timeout:5e3,request:{}},f=u(l,t||{}),c=function(e,t){if(t.shallow)return t.shallow=!1,t._shared.done.push(e),h(t);t._shared=t._shared||{done:[],left:[]};var r=t._shared,n=0,i=0,o=0,a=d(e),s=p(e);for(t.relativeTo=t.relativeTo||t.root,t._baseRelativeTo=t._baseRelativeTo||t.relativeTo,t.visited=t.visited||[];i<e.length&&(n=e.indexOf("@import",o),-1!=n);){if(!a(n)){if(i=e.indexOf(";",n),-1==i){o=e.length,e="";break}return r.done.push(e.substring(0,n)),r.left.unshift([e.substring(i+1),t]),s(n)?h(t):g(e,n,i,t)}o=n+1}return r.done.push(e),h(t)},h=function(e){return e._shared.left.length>0?c.apply(null,e._shared.left.shift()):e.whenDone(e._shared.done.join(""))},d=function(e){var t=/(\/\*(?!\*\/)[\s\S]*?\*\/)/,r=0,n=0,i=!1,o=function(a){var s,u=0,l=0,f=0,c=0;return i?!1:a>r&&n>a?!0:(s=e.match(t))?(r=u=s.index,l=u+s[0].length,c=l+n,f=c-s[0].length,e=e.substring(l),n=c,a>c?o(a):c>a&&a>f):(i=!0,!1)};return o},p=function(e){for(var t=d(e),r=-1;;)if(r=e.indexOf("{",r+1),-1==r||!t(r))break;return function(e){return r>-1?e>r:!1}},g=function(t,r,n,i){i.shallow=t.indexOf("@shallow")>0;var o=t.substring(t.indexOf(" ",r)+1,n).replace(/@shallow\)$/,")").trim(),a=0===o.indexOf("url("),s=a?4:0,u=/^['"]/.exec(o.substring(s,s+2)),l=u?o.indexOf(u[0],s+1):o.split(" ")[0].length,f=o.substring(s,l).replace(/['"]/g,"").replace(/\)$/,"").trim(),c=o.substring(l+1).replace(/^\)/,"").trim(),d=i.isRemote||/^(http|https):\/\//.test(f)||/^\/\//.test(f);if(i.localOnly&&d)return e.warnings.push('Ignoring remote @import declaration of "'+f+'" as no callback given.'),b(f,c,i),h(i);var p=d?v:m;return p(f,c,i)},v=function(t,r,n){var l=/^https?:\/\//.test(t)?t:a.resolve(n.relativeTo,t);if(0===l.indexOf("//")&&(l="http:"+l),n.visited.indexOf(l)>-1)return h(n);e.debug&&console.error("Inlining remote stylesheet: "+l),n.visited.push(l);var d=0===l.indexOf("http://")?i.get:o.get,p=!1,g=function(t){e.errors.push('Broken @import declaration of "'+l+'" - '+t),b(l,r,n),h(n)},m=u(a.parse(l),f.request);d(m,function(e){if(e.statusCode<200||e.statusCode>399)return g("error "+e.statusCode);if(e.statusCode>299){var t=a.resolve(l,e.headers.location);return v(t,r,n)}var i=[],o=a.parse(l);e.on("data",function(e){i.push(e.toString())}),e.on("end",function(){var e=i.join("");e=s.process(e,{toBase:l}),r.length>0&&(e="@media "+r+"{"+e+"}"),c(e,{isRemote:!0,relativeTo:o.protocol+"//"+o.host,_shared:n._shared,whenDone:n.whenDone,visited:n.visited,shallow:n.shallow})})}).on("error",function(e){g(e.message)}).on("timeout",function(){p||(g("timeout"),p=!0)}).setTimeout(f.timeout)},m=function(t,i,o){var a="/"==t[0]?o.root:o.relativeTo,u=n.resolve(n.join(a,t));if(!r.existsSync(u)||!r.statSync(u).isFile())return e.errors.push('Broken @import declaration of "'+t+'"'),h(o);if(o.visited.indexOf(u)>-1)return h(o);e.debug&&console.error("Inlining local stylesheet: "+u),o.visited.push(u);var l=r.readFileSync(u,"utf8"),f=n.dirname(u);return l=s.process(l,{relative:!0,fromBase:f,toBase:o._baseRelativeTo}),i.length>0&&(l="@media "+i+"{"+l+"}"),c(l,{root:o.root,relativeTo:f,_baseRelativeTo:o._baseRelativeTo,_shared:o._shared,visited:o.visited,whenDone:o.whenDone,localOnly:o.localOnly,shallow:o.shallow})},b=function(e,t,r){var n="@import url("+e+")"+(t.length>0?" "+t:"")+";";r._shared.done.push(n)};return{process:c}}},{"../images/url-rewriter":8,fs:28,http:33,https:37,path:40,url:59}],10:[function(e,t){var r=e("./processable"),n=e("./override-compactor"),i=e("./shorthand-compactor");t.exports=function(e,t,o){var a={"animation-delay":["animation"],"animation-direction":["animation"],"animation-duration":["animation"],"animation-fill-mode":["animation"],"animation-iteration-count":["animation"],"animation-name":["animation"],"animation-play-state":["animation"],"animation-timing-function":["animation"],"-moz-animation-delay":["-moz-animation"],"-moz-animation-direction":["-moz-animation"],"-moz-animation-duration":["-moz-animation"],"-moz-animation-fill-mode":["-moz-animation"],"-moz-animation-iteration-count":["-moz-animation"],"-moz-animation-name":["-moz-animation"],"-moz-animation-play-state":["-moz-animation"],"-moz-animation-timing-function":["-moz-animation"],"-o-animation-delay":["-o-animation"],"-o-animation-direction":["-o-animation"],"-o-animation-duration":["-o-animation"],"-o-animation-fill-mode":["-o-animation"],"-o-animation-iteration-count":["-o-animation"],"-o-animation-name":["-o-animation"],"-o-animation-play-state":["-o-animation"],"-o-animation-timing-function":["-o-animation"],"-webkit-animation-delay":["-webkit-animation"],"-webkit-animation-direction":["-webkit-animation"],"-webkit-animation-duration":["-webkit-animation"],"-webkit-animation-fill-mode":["-webkit-animation"],"-webkit-animation-iteration-count":["-webkit-animation"],"-webkit-animation-name":["-webkit-animation"],"-webkit-animation-play-state":["-webkit-animation"],"-webkit-animation-timing-function":["-webkit-animation"],"background-attachment":["background"],"background-clip":["background"],"background-color":["background"],"background-image":["background"],"background-origin":["background"],"background-position":["background"],"background-repeat":["background"],"background-size":["background"],"border-color":["border"],"border-style":["border"],"border-width":["border"],"border-bottom":["border"],"border-bottom-color":["border-bottom","border-color","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left":["border"],"border-left-color":["border-left","border-color","border"],"border-left-style":["border-left","border-style","border"],"border-left-width":["border-left","border-width","border"],"border-right":["border"],"border-right-color":["border-right","border-color","border"],"border-right-style":["border-right","border-style","border"],"border-right-width":["border-right","border-width","border"],"border-top":["border"],"border-top-color":["border-top","border-color","border"],"border-top-style":["border-top","border-style","border"],"border-top-width":["border-top","border-width","border"],"font-family":["font"],"font-size":["font"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"list-style-image":["list-style"],"list-style-position":["list-style"],"list-style-type":["list-style"],"margin-bottom":["margin"],"margin-left":["margin"],"margin-right":["margin"],"margin-top":["margin"],"outline-color":["outline"],"outline-style":["outline"],"outline-width":["outline"],"padding-bottom":["padding"],"padding-left":["padding"],"padding-right":["padding"],"padding-top":["padding"],"transition-delay":["transition"],"transition-duration":["transition"],"transition-property":["transition"],"transition-timing-function":["transition"],"-moz-transition-delay":["-moz-transition"],"-moz-transition-duration":["-moz-transition"],"-moz-transition-property":["-moz-transition"],"-moz-transition-timing-function":["-moz-transition"],"-o-transition-delay":["-o-transition"],"-o-transition-duration":["-o-transition"],"-o-transition-property":["-o-transition"],"-o-transition-timing-function":["-o-transition"],"-webkit-transition-delay":["-webkit-transition"],"-webkit-transition-duration":["-webkit-transition"],"-webkit-transition-property":["-webkit-transition"],"-webkit-transition-timing-function":["-webkit-transition"]},s="\\9",u={};for(var l in a)for(var f=0;f<a[l].length;f++){var c=a[l][f],h=u[c];h?h.push(l):u[c]=[l]}var d=function(e,t){var r=e.split(";"),n=[];if(0!==r.length&&(1!=r.length||-1!=r[0].indexOf(s)||":"==r[0][r[0].length-1])){for(var i=0,a=r.length;a>i;i++){var u=r[i];if(""!==u){var l=u.indexOf(":"),f=u.substring(0,l),c=u.substring(l+1);""!==c?n.push([f,c,u.indexOf("!important")>-1,u.indexOf(s,l+1)===u.length-s.length]):o.warnings.push("Empty property '"+f+"' inside '"+t+"' selector. Ignoring.")}}return n}},p=function(n,i){var o=[],s=[],l=null,f={},c=function(e,t){for(var r=u[e],n=0,i=r.length;i>n;n++)for(var a=0;a<s.length;a++)s[a]!=r[n]||o[a][2]&&!t||(o.splice(a,1),s.splice(a,1),a-=1)},h=function(e){return i===!1||i===!0?i:i.indexOf(e)>-1};e:for(var d=0,p=n.length;p>d;d++){var g=n[d],v=g[0],m=g[1],b=g[2],y=g[3],w=!("-ms-filter"!=v&&"filter"!=v||"background"!=l&&"background-image"!=l)?l:v,x=0;if(e||!y){if(t&&w!=l||h(d))for(;;){if(x=s.indexOf(w,x),-1==x)break;var k=o[x],_=k[2],O=k[3];if(_&&!b)continue e;if(e&&!O&&y)break;var S=r.processable[w];if(!y&&!O&&S&&S.canOverride&&!S.canOverride(n[x][1],m))break;o.splice(x,1),s.splice(x,1)}o.push(g),s.push(w),f[w]&&c(w,b);for(var E=0,I=a[w]||[],V=I.length;V>E;E++)f[I[E]]=!0;l=w}}return o},g=function(e){for(var t=[],r=0,n=e.length;n>r;r++)t.push(e[r][0]+":"+e[r][1]);return t.join(";")},v=function(e){var t=r.processable,o=r.Token,a=o.tokenize(e);return a=n.compactOverrides(a,t,o),a=i.compactShorthands(a,!1,t,o),a=i.compactShorthands(a,!0,t,o),o.detokenize(a)};return{process:function(e,t,n,i){var o=e,a=d(e,i);if(a){var s=p(a,t);o=g(s)}return!n&&r.implementedFor.test(o)&&(o=v(o)),o}}}},{"./override-compactor":11,"./processable":12,"./shorthand-compactor":14}],11:[function(e,t){t.exports=function(){var e=function(e,t){return e===t},t=function(t,r,n){function i(e,t){var r=e.clone();return r.isDirty=!0,r.isShorthand=!0,r.components=[],e.components.forEach(function(e){var n=e.clone();e.prop==t.prop&&(n.value=t.value),r.components.push(n)}),n.getDetokenizedLength([e,t])>=n.getDetokenizedLength([r])}var o,a,s,u,l,f,c,h,d=function(e){return e.prop===s.prop},p=function(e){return e.prop===u.prop};for(o=t,l=0;(f=o.length-1-l)>=0;l++){s=o[f],a=r[s.prop]&&r[s.prop].canOverride||e,c=o,o=[];for(var g=!1,v=c.length,m=0;v>m;m++)if(u=c[m],u!==s||g)if(m>f&&!s.isImportant)o.push(u);else if(!u.isImportant||s.isImportant)if(s.isShorthand&&!u.isShorthand&&u.isComponentOf(s))h=s.components.filter(p)[0],a=r[u.prop]&&r[u.prop].canOverride||e,a(u.value,h.value)||o.push(u);else if(u.isShorthand&&!s.isShorthand&&s.isComponentOf(u))h=u.components.filter(d)[0],a(h.value,s.value)&&((!s.isImportant||s.isImportant&&h.isImportant)&&i(u,s)?(h.value=s.value,g=!0):h.isIrrelevant=!0,u.isDirty=!0),o.push(u);else if(s.isShorthand&&u.isShorthand&&s.prop===u.prop){for(var b=0;b<u.components.length;b++)if(a=r[u.components[b].prop]&&r[u.components[b].prop].canOverride||e,!a(u.components[b].value,s.components[b].value)){o.push(u);break}}else u.prop===s.prop&&a(u.value,s.value)||o.push(u);else o.push(u);else o.push(u);g&&l--}return o};return{compactOverrides:t}}()},{}],12:[function(e,t){t.exports=function(){var t=e("./token"),r=e("./validator"),n=e("../text/splitter"),i={always:function(){return!0},sameValue:function(e,t){return e===t},sameFunctionOrValue:function(e,t){return r.areSameFunction(e,t)?!0:e===t},unit:function(e,t){return r.isValidUnitWithoutFunction(t)?!0:r.isValidUnitWithoutFunction(e)?!1:r.isValidFunctionWithoutVendorPrefix(t)&&r.isValidFunctionWithoutVendorPrefix(e)?!0:i.sameFunctionOrValue(e,t)},color:function(e,t){return r.isValidNamedColor(t)||r.isValidHexColor(t)?!0:r.isValidNamedColor(e)||r.isValidHexColor(e)?!1:r.isValidRgbaColor(t)||r.isValidHslaColor(t)?!0:r.isValidRgbaColor(e)||r.isValidHslaColor(e)?!1:i.sameFunctionOrValue(e,t)},backgroundImage:function(e,t){return"none"===t||"inherit"===t||r.isValidUrl(t)?!0:"none"===e||"inherit"===e||r.isValidUrl(e)?!1:i.sameFunctionOrValue(e,t)},border:function(e,t){var r=o.border(h.tokenizeOne(e)),n=o.border(h.tokenizeOne(t));return i.color(r[2].value,n[2].value)}};i=Object.freeze(i);var o={};o.takeCareOfFourValues=function(e){return function(t){var r=s[t.prop],n=[],i=e(t.value);if(0===i.length||i.length<r.components.length&&r.components.length>4)return[t];i.length<r.components.length&&i.length<2&&(i[1]=i[0]),i.length<r.components.length&&i.length<3&&(i[2]=i[0]),i.length<r.components.length&&i.length<4&&(i[3]=i[1]);for(var o=0;o<r.components.length;o++){var a=new h(r.components[o],i[o],t.isImportant);n.push(a)}return n}},o.fourBySpaces=o.takeCareOfFourValues(function(e){return new n(" ").split(e).filter(function(e){return e})}),o.commaSeparatedMulitpleValues=function(e){return function(t){if(-1===t.value.indexOf(","))return e(t);for(var r=new n(",").split(t.value),i=[],o=0,a=r.length;a>o;o++)t.value=r[o],i.push(e(t));for(var s=0,u=i[0].length;u>s;s++){for(var l=0,f=i.length,c=[];f>l;l++)c.push(i[l][s].value);i[0][s].value=c.join(",")}return i[0]}},o.background=function(e){var t=h.makeDefaults(["background-image","background-position","background-size","background-repeat","background-attachment","background-color"],e.isImportant),i=t[0],o=t[1],a=t[2],u=t[3],l=t[4],f=t[5];if("inherit"===e.value)return f.value=i.value=u.value=o.value=a.value=l.value="inherit",t;var c=new n(" ").split(e.value);if(0===c.length)return t;for(var d=c.length-1;d>=0;d--){var p=c[d];if(r.isValidBackgroundAttachment(p))l.value=p;else if(r.isValidBackgroundRepeat(p))u.value=p;else if(r.isValidBackgroundPositionPart(p)||r.isValidBackgroundSizePart(p))if(d>0){var g=c[d-1];if(g.indexOf("/")>0){var v=new n("/").split(g);a.value=v.pop()+" "+p,c[d-1]=v.pop()}else d>1&&"/"==c[d-2]?(a.value=g+" "+p,d-=2):"/"==c[d-1]?(a.value=p,o.value=g,d--):(o.value=g+" "+p,d--)}else o.value=p;else if(r.isValidBackgroundPositionAndSize(p)){var m=new n("/").split(p);a.value=m.pop(),o.value=m.pop()}else f.value!=s[f.prop].defaultValue&&"none"!=f.value||!r.isValidColor(p)?(r.isValidUrl(p)||r.isValidFunction(p))&&(i.value=p):f.value=p}return t},o.listStyle=function(e){var t=h.makeDefaults(["list-style-type","list-style-position","list-style-image"],e.isImportant),i=t[0],o=t[1],a=t[2];if("inherit"===e.value)return i.value=o.value=a.value="inherit",t;var s=new n(" ").split(e.value),u=0;return u<s.length&&r.isValidListStyleType(s[u])&&(i.value=s[u],u++),u<s.length&&r.isValidListStylePosition(s[u])&&(o.value=s[u],u++),u<s.length&&(a.value=s.splice(u,s.length-u+1).join(" ")),t},o._widthStyleColor=function(e,t,i){var o=i.map(function(e){return t+"-"+e}),a=h.makeDefaults(o,e.isImportant),s=a[i.indexOf("color")],u=a[i.indexOf("style")],l=a[i.indexOf("width")];if("inherit"===e.value||"inherit inherit inherit"===e.value)return s.value=u.value=l.value="inherit",a;var f,c=new n(" ").split(e.value);return 0===c.length?a:(c.length>=1&&(f=c.filter(function(e){return"inherit"!==e&&r.isValidOutlineWidth(e)}),f.length&&(l.value=f[0],c.splice(c.indexOf(f[0]),1))),c.length>=1&&(f=c.filter(function(e){return"inherit"!==e&&r.isValidOutlineStyle(e)}),f.length&&(u.value=f[0],c.splice(c.indexOf(f[0]),1))),c.length>=1&&(f=c.filter(function(e){return r.isValidOutlineColor(e)}),f.length&&(s.value=f[0],c.splice(c.indexOf(f[0]),1))),a)},o.outline=function(e){return o._widthStyleColor(e,"outline",["color","style","width"])},o.border=function(e){return o._widthStyleColor(e,"border",["width","style","color"])},o.borderRadius=function(e){var t=e.value.split("/");if(1==t.length)return o.fourBySpaces(e);var r=e.clone(),n=e.clone();r.value=t[0],n.value=t[1];for(var i=o.fourBySpaces(r),a=o.fourBySpaces(n),s=0;4>s;s++)i[s].value=[i[s].value,a[s].value];return i};var a={fourUnits:function(e,t,r){t[0].isIrrelevant&&(t[0].value=t[2].value),t[2].isIrrelevant&&(t[2].value=t[0].value),t[1].isIrrelevant&&(t[1].value=t[3].value),t[3].isIrrelevant&&(t[3].value=t[1].value),t[0].isIrrelevant&&t[2].isIrrelevant&&(t[0].value=t[2].value=t[1].value===t[3].value?t[1].value:"0"),t[1].isIrrelevant&&t[3].isIrrelevant&&(t[1].value=t[3].value=t[0].value===t[2].value?t[0].value:"0");var n=new h(e,t[0].value,r);return n.granularValues=[],n.granularValues[t[0].prop]=t[0].value,n.granularValues[t[1].prop]=t[1].value,n.granularValues[t[2].prop]=t[2].value,n.granularValues[t[3].prop]=t[3].value,t[0].isIrrelevant&&t[1].isIrrelevant&&t[2].isIrrelevant&&t[3].isIrrelevant?(n.value=s[e].shortestValue||s[e].defaultValue,n):t[0].value===t[1].value&&t[0].value===t[2].value&&t[0].value===t[3].value?n:(n.value+=" "+t[1].value,t[0].value===t[2].value&&t[1].value===t[3].value?n:(n.value+=" "+t[2].value,t[1].value===t[3].value?n:(n.value+=" "+t[3].value,n)))},bySpacesOmitDefaults:function(e,t,r,n){var i=new h(e,"",r),o=t.filter(function(e){return e.isIrrelevant});if(o.length===t.length)return i.isIrrelevant=!0,i.value=s[e].shortestValue||s[e].defaultValue,i;for(var a=s[e].defaultValue,u=0;u<t.length;u++){var l=t[u];if(i.granularValues=i.granularValues||{},i.granularValues[l.prop]=l.value,l.isIrrelevant){var f=s[l.prop].shortestValue||s[l.prop].defaultValue;f.length<a.length&&(a=f)}if(!(l.isIrrelevant||s[l.prop]&&s[l.prop].defaultValue===l.value||n&&n.partsCount&&n.position<n.partsCount-1&&s[l.prop].multiValueLastOnly)){var c=s[l.prop].shorthandFollows;c&&t[u-1].value==s[c].defaultValue&&(i.value+=" "+t[u-1].value),i.value+=(s[l.prop].prefixShorthandValueWith||" ")+l.value}}return i.value=i.value.trim(),i.value||(i.value=a),i},commaSeparatedMulitpleValues:function(e){return function(t,r,i){var o=r.map(function(e){return new n(",").split(e.value).length}),a=Math.max.apply(Math,o);if(1==a)return e(t,r,i);for(var s=[],u=0;a>u;u++){s.push([]);for(var l=0;l<r.length;l++){var f=new n(",").split(r[l].value);s[u].push(f[u]||f[0])}}var c,h=[];for(u=0;a>u;u++){for(var d=[],p=0,g=s[u].length;g>p;p++){var v=r[p].clone();v.value=s[u][p],d.push(v)}var m={partsCount:a,position:u},b=e(t,d,i,m);h.push(b.value),c||(c=b)}return c.value=h.join(","),c}},takeCareOfInherit:function(e){return function(t,r,n,i){var o,a=[],s=[],u=[];for(o=0;o<r.length;o++)if("inherit"===r[o].value){a.push(r[o]);var l=new h(r[o].prop,r[o].isImportant);l.isIrrelevant=!0,u.push(l)}else s.push(r[o]),u.push(r[o]);if(0===s.length)return new h(t,"inherit",n);if(a.length>0){var f=[new h(t,"inherit",n)].concat(s),c=[e(t,u,n,i)].concat(a),d=h.getDetokenizedLength(f),p=h.getDetokenizedLength(c);return p>d?f:c}return e(t,r,n,i)}},borderRadius:function(e,t,r){for(var n=[],i=[],o=0,s=t.length;s>o;o++){var u=t[o],l=u.clone();i.push(l),Array.isArray(u.value)&&(u.value.length>1&&n.push({prop:u.prop,value:u.value[1],isImportant:u.isImportant}),l.value=u.value[0])}var f=a.takeCareOfInherit(a.fourUnits)(e,i,r);if(n.length>0){var c=a.takeCareOfInherit(a.fourUnits)(e,n,r);f.value!=c.value&&(f.value+="/"+c.value)}return f}},s={color:{canOverride:i.color,defaultValue:"transparent",shortestValue:"red"},background:{components:["background-image","background-position","background-size","background-repeat","background-attachment","background-color"],breakUp:o.commaSeparatedMulitpleValues(o.background),putTogether:a.commaSeparatedMulitpleValues(a.takeCareOfInherit(a.bySpacesOmitDefaults)),defaultValue:"0 0",shortestValue:"0"},"background-color":{canOverride:i.color,defaultValue:"transparent",multiValueLastOnly:!0,shortestValue:"red"},"background-image":{canOverride:i.backgroundImage,defaultValue:"none"},"background-repeat":{canOverride:i.always,defaultValue:"repeat"},"background-position":{canOverride:i.always,defaultValue:"0 0",shortestValue:"0"},"background-size":{canOverride:i.always,defaultValue:"auto",shortestValue:"0 0",prefixShorthandValueWith:"/",shorthandFollows:"background-position"},"background-attachment":{canOverride:i.always,defaultValue:"scroll"},border:{breakUp:o.border,canOverride:i.border,components:["border-width","border-style","border-color"],defaultValue:"none",putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults)},"border-color":{canOverride:i.color,defaultValue:"none"},"border-style":{canOverride:i.always,defaultValue:"none"},"border-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0"},"list-style":{components:["list-style-type","list-style-position","list-style-image"],canOverride:i.always,breakUp:o.listStyle,putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults),defaultValue:"outside",shortestValue:"none"},"list-style-type":{canOverride:i.always,shortestValue:"none",defaultValue:"__hack"},"list-style-position":{canOverride:i.always,defaultValue:"outside",shortestValue:"inside"},"list-style-image":{canOverride:i.always,defaultValue:"none"},outline:{components:["outline-color","outline-style","outline-width"],breakUp:o.outline,putTogether:a.takeCareOfInherit(a.bySpacesOmitDefaults),defaultValue:"0"},"outline-color":{canOverride:i.color,defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:i.always,defaultValue:"none"},"outline-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0"},"-moz-transform":{canOverride:i.sameFunctionOrValue},"-ms-transform":{canOverride:i.sameFunctionOrValue},"-webkit-transform":{canOverride:i.sameFunctionOrValue},transform:{canOverride:i.sameFunctionOrValue}},u=function(e,t,r){r=r||{},s[e]={components:t,breakUp:r.breakUp||o.fourBySpaces,putTogether:r.putTogether||a.takeCareOfInherit(a.fourUnits),defaultValue:r.defaultValue||"0",shortestValue:r.shortestValue};
+for(var n=0;n<t.length;n++)s[t[n]]={breakUp:r.breakUp||o.fourBySpaces,canOverride:r.canOverride||i.unit,defaultValue:r.defaultValue||"0",shortestValue:r.shortestValue}};["","-moz-","-o-","-webkit-"].forEach(function(e){u(e+"border-radius",[e+"border-top-left-radius",e+"border-top-right-radius",e+"border-bottom-right-radius",e+"border-bottom-left-radius"],{breakUp:o.borderRadius,putTogether:a.borderRadius})}),u("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"],{breakUp:o.fourBySpaces,canOverride:i.color,defaultValue:"currentColor",shortestValue:"red"}),u("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"],{breakUp:o.fourBySpaces,canOverride:i.always,defaultValue:"none"}),u("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"],{defaultValue:"medium",shortestValue:"0"}),u("padding",["padding-top","padding-right","padding-bottom","padding-left"]),u("margin",["margin-top","margin-right","margin-bottom","margin-left"]);for(var l in s)if(s.hasOwnProperty(l)){var f=s[l];if(f.components instanceof Array&&0!==f.components.length){f.isShorthand=!0;for(var c=0;c<f.components.length;c++){if(!s[f.components[c]])throw new Error('"'+f.components[c]+'" is defined as a component of "'+l+"\" but isn't defined in processable.");s[f.components[c]].componentOf=l}}}var h=t.createTokenPrototype(s);return{implementedFor:/background|border|color|list|margin|outline|padding|transform/,processable:s,Token:h}}()},{"../text/splitter":26,"./token":15,"./validator":16}],13:[function(e,t){!function(){var e="{",r=";",n=":",i=function(e){this.data=e};i.prototype.nextAt=function(t){var i=this.data.lastIndexOf(n,t),o=this.data.lastIndexOf(e,t),a=this.data.lastIndexOf(r,t),s=Math.max(o,a);return this.data.substring(s+1,i).trim()},t.exports=i}()},{}],14:[function(e,t){t.exports=function(){var e=function(e){return"__hack"===e.value},t=function(t,r,n,i){var o,a,s={},u=function(e,t,r){var i,o={};if(!r&&s[e])for(var a=0;a<n[e].components.length;a++){var u=n[e].components[a];if(o[u]=[],s[e].found[u])for(var l=0;l<s[e].found[u].length;l++){var f=s[e].found[u][l];f.isMarkedForDeletion||(o[u].push(f),f.position&&(!i||f.position<i)&&(i=f.position))}}s[e]={lastShorthand:t,found:o,shorthandPosition:i}},l=function(e,t){var r=n[e.prop].componentOf;s[r]||u(r),s[r].found[e.prop]||(s[r].found[e.prop]=[]),s[r].found[e.prop].push(e),!s[r].shorthandPosition&&t&&(s[r].shorthandPosition=t)},f=function(o){var a,f=n[o].components.length;if(!s[o]||!s[o].found)return!1;var c=[],h=[];for(a=0;f>a;a++){var d=n[o].components[a];if(s[o].found[d]&&s[o].found[d].length){var p=s[o].found[d][0];c.push(p),p.isReal!==!1&&h.push(p)}else{if(!s[o].lastShorthand)return!1;var g=s[o].lastShorthand.components[a].clone(r);c.push(g)}}if(0===h.length)return!1;if(h.length===f){for(var v,m=!0,b=!0,y=0;y<h.length;y++){var w=h[y];n[w.prop].canOverride(n[w.prop].defaultValue,w.value)||(m=!1);var x=w.value.indexOf("(");if(x>=0){var k=w.value.substring(0,x);v?b=b&&k===v:v=k}}if(!m||!b)return!1}var _=n[o].putTogether(o,c,r);_ instanceof Array||(_=[_]);var O=i.getDetokenizedLength(_),S=i.getDetokenizedLength(h);if(h.length===f||S>O||c.some(e)){for(_[0].isShorthand=!0,_[0].components=n[o].breakUp(_[0]),a=0;a<h.length;a++)h[a].isMarkedForDeletion=!0;for(t[s[o].shorthandPosition].replaceWith=_,u(o,_[0]),a=1;a<_.length;a++)l(_[a]);return!0}return!1},c=function(){for(var e in s)if(s.hasOwnProperty(e))for(;f(e););};for(o=0;o<t.length;o++)if(a=t[o],!a.isMarkedForDeletion&&n[a.prop])if(n[a.prop].isShorthand){if(a.isImportant===r||a.isImportant&&!r){for(;f(a.prop););u(a.prop,a,!0)}}else{if(!n[a.prop].componentOf)continue;if(a.isImportant===r)a.position=o,l(a,o);else if(!r&&a.isImportant){var h=new i(a.prop,a.value,r);h.isIrrelevant=!0,h.isReal=!1,l(h)}}c();var d=[];for(o=0;o<t.length;o++){if(a=t[o],a.replaceWith)for(var p=0;p<a.replaceWith.length;p++)d.push(a.replaceWith[p]);a.isMarkedForDeletion||d.push(a),a.isMarkedForDeletion=!1,a.replaceWith=null}return d};return{compactShorthands:t}}()},{}],15:[function(e,t){t.exports=function(){var e=function(e){function t(t,r,n){this.prop=t,"string"==typeof r?(this.value=r,this.isImportant=n):(this.value=e[t].defaultValue,this.isImportant=r)}var r="!important";return t.prototype.prop=null,t.prototype.value=null,t.prototype.granularValues=null,t.prototype.components=null,t.prototype.position=null,t.prototype.isImportant=!1,t.prototype.isDirty=!1,t.prototype.isShorthand=!1,t.prototype.isIrrelevant=!1,t.prototype.isReal=!0,t.prototype.isMarkedForDeletion=!1,t.prototype.isComponentOf=function(t){return e[this.prop]&&e[t.prop]&&e[t.prop].components instanceof Array&&e[t.prop].components.length?e[t.prop].components.indexOf(this.prop)>=0:!1},t.prototype.clone=function(e){var r=new t(this.prop,this.value,"undefined"!=typeof e?e:this.isImportant);return r},t.prototype.cloneIrrelevant=function(e){var r=t.makeDefault(this.prop,"undefined"!=typeof e?e:this.isImportant);return r.isIrrelevant=!0,r},t.makeDefaults=function(e,r){return e.map(function(e){return new t(e,r)})},t.tokenizeOne=function(n){var i=n.indexOf(":");if(0>i)return new t("",n);var o=n.substr(0,i).trim(),a=n.substr(i+1).trim(),s=!1,u=a.indexOf(r);u>=1&&u===a.length-r.length&&(a=a.substr(0,u).trim(),s=!0);var l=new t(o,a,s);return e[o]&&e[o].isShorthand&&(l.isShorthand=!0,l.components=e[o].breakUp(l),l.isDirty=!0),l},t.tokenize=function(e){var r=e.split(";").map(t.tokenizeOne);return r},t.detokenize=function(t){t instanceof Array||(t=[t]);for(var n="",i=0;i<t.length;i++){var o=t[i];if(o.isShorthand&&o.isDirty){var a=e[o.prop].putTogether(o.prop,o.components,o.isImportant);Array.prototype.splice.apply(t,[i,1].concat(a)),o.isDirty=!1,i--}else o.prop&&(n+=o.prop+":"),o.value&&(n+=o.value),o.isImportant&&(n+=r),n+=";"}return n.substr(0,n.length-1)},t.getDetokenizedLength=function(t){t instanceof Array||(t=[t]);for(var n=0,i=0;i<t.length;i++){var o=t[i];if(o.isShorthand&&o.isDirty){var a=e[o.prop].putTogether(o.prop,o.components,o.isImportant);Array.prototype.splice.apply(t,[i,1].concat(a)),o.isDirty=!1,i--}else o.prop&&(n+=o.prop.length+1),o.value&&(n+=o.value.length),o.isImportant&&(n+=r.length)}return n},t};return{createTokenPrototype:e}}()},{}],16:[function(e,t){var r=e("../text/splitter");t.exports=function(){var e=["thin","thick","medium","inherit","initial"],t="(\\-?\\.?\\d+\\.?\\d*(px|%|em|rem|in|cm|mm|ex|pt|pc|vw|vh|vmin|vmax|)|auto|inherit)",n="[A-Z]+(\\-|[A-Z]|[0-9])+\\(([A-Z]|[0-9]|\\ |\\,|\\#|\\+|\\-|\\%|\\.|\\(|\\))*\\)",i="\\-(\\-|[A-Z]|[0-9])+\\(([A-Z]|[0-9]|\\ |\\,|\\#|\\+|\\-|\\%|\\.|\\(|\\))*\\)",o="var\\(\\-\\-[^\\)]+\\)",a="("+o+"|"+n+"|"+i+")",s="(none|"+e.join("|")+"|"+t+"|"+o+"|"+n+"|"+i+")",u=new RegExp("^"+n+"$","i"),l=new RegExp("^"+i+"$","i"),f=new RegExp("^"+o+"$","i"),c=new RegExp("^"+a+"$","i"),h=new RegExp("^"+t+"$","i"),d=new RegExp("^"+s+"$","i"),p=["repeat","no-repeat","repeat-x","repeat-y","inherit"],g=["inherit","scroll","fixed","local"],v=["center","top","bottom","left","right"],m=["contain","cover"],b=["armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","disc","georgian","hebrew","hiragana","hiragana-iroha","inherit","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],y=["inside","outside","inherit"],w=["auto","inherit","hidden","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],x={isValidHexColor:function(e){return(4===e.length||7===e.length)&&"#"===e[0]},isValidRgbaColor:function(e){return e=e.split(" ").join(""),e.length>0&&0===e.indexOf("rgba(")&&e.indexOf(")")===e.length-1},isValidHslaColor:function(e){return e=e.split(" ").join(""),e.length>0&&0===e.indexOf("hsla(")&&e.indexOf(")")===e.length-1},isValidNamedColor:function(e){return"auto"!==e&&("transparent"===e||"inherit"===e||/^[a-zA-Z]+$/.test(e))},isValidVariable:function(e){return f.test(e)},isValidColor:function(e){return x.isValidNamedColor(e)||x.isValidHexColor(e)||x.isValidRgbaColor(e)||x.isValidHslaColor(e)||x.isValidVariable(e)},isValidUrl:function(e){return 0===e.indexOf("__ESCAPED_URL_CLEAN_CSS")},isValidUnit:function(e){return d.test(e)},isValidUnitWithoutFunction:function(e){return h.test(e)},isValidFunctionWithoutVendorPrefix:function(e){return u.test(e)},isValidFunctionWithVendorPrefix:function(e){return l.test(e)},isValidFunction:function(e){return c.test(e)},isValidBackgroundRepeat:function(e){return p.indexOf(e)>=0||x.isValidVariable(e)},isValidBackgroundAttachment:function(e){return g.indexOf(e)>=0||x.isValidVariable(e)},isValidBackgroundPositionPart:function(e){return v.indexOf(e)>=0?!0:h.test(e)||x.isValidVariable(e)},isValidBackgroundPosition:function(e){if("inherit"===e)return!0;for(var t=e.split(" "),r=0,n=t.length;n>r;r++)if(""!==t[r]&&!x.isValidBackgroundPositionPart(t[r])&&!x.isValidVariable(t[r]))return!1;return!0},isValidBackgroundSizePart:function(e){return m.indexOf(e)>=0||h.test(e)||x.isValidVariable(e)},isValidBackgroundPositionAndSize:function(e){if(e.indexOf("/")<0)return!1;var t=new r("/").split(e);return x.isValidBackgroundSizePart(t.pop())&&x.isValidBackgroundPositionPart(t.pop())},isValidListStyleType:function(e){return b.indexOf(e)>=0||x.isValidVariable(e)},isValidListStylePosition:function(e){return y.indexOf(e)>=0||x.isValidVariable(e)},isValidOutlineColor:function(e){return"invert"===e||x.isValidColor(e)||x.isValidVendorPrefixedValue(e)},isValidOutlineStyle:function(e){return w.indexOf(e)>=0||x.isValidVariable(e)},isValidOutlineWidth:function(t){return x.isValidUnit(t)||e.indexOf(t)>=0||x.isValidVariable(t)},isValidVendorPrefixedValue:function(e){return/^-([A-Za-z0-9]|-)*$/gi.test(e)},areSameFunction:function(e,t){if(!x.isValidFunction(e)||!x.isValidFunction(t))return!1;var r=e.substring(0,e.indexOf("(")),n=t.substring(0,t.indexOf("("));return r===n}};return x}()},{"../text/splitter":26}],17:[function(e,t){t.exports=function(e){var t=function(e){for(var r=[],n=0,i=0;n<e.length&&(n=e.indexOf("{}",i),-1!=n);){for(var o=n-1;e[o]&&"}"!=e[o]&&"{"!=e[o]&&";"!=e[o];)o--;r.push(e.substring(i,o+1)),i=n+2}return r.length>0?t(r.join("")+e.substring(i,e.length)):e};return{process:function(){return t(e)}}}},{}],18:[function(e,t){var r=e("./tokenizer"),n=e("../properties/optimizer");t.exports=function(e,t,i){var o={"*":/\-(moz|ms|o|webkit)\-/,ie8:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not)/,ie7:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:focus|:before|:after|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not)/},a=[],s=new n(i.compatibility,i.aggressiveMerging,t),u=function(e){if(-1==e.indexOf(","))return e;for(var t=[],r=0,n=0,i=-1==e.indexOf("("),o=function(t){if(i)return!1;var r=e.lastIndexOf("(",t),n=e.lastIndexOf(")",t);return-1==r?!1:n>0&&t>n?!1:!0};;){var a,s=e.indexOf(",",r+1);if(-1===s)s=e.length;else if(o(s)){r=s+1;continue}if(a=e.substring(n,s),n=r=s+1,-1==t.indexOf(a)&&t.push(a),s===e.length)break}return t.sort().join(",")},l=function(e){return o[i.compatibility||"*"].test(e)},f=function(e){for(var t={},r=[],n=0,i=e.length;i>n;n++){var o=e[n];if("string"!=typeof o&&!o.block){var s=o.body+"@"+o.selector,u=t[s];u?(r.push(u[0]),u.unshift(n)):t[s]=[n]}}r=r.sort(function(e,t){return e>t?1:-1});for(var l=0,f=r.length;f>l;l++)e.splice(r[l]-l,1);a.unshift(r.length>0)},c=function(e){for(var t=[],r={selector:null,body:null},n=0,i=e.length;i>n;n++){var o=e[n];if("string"!=typeof o&&!o.block)if(o.selector==r.selector){var f=[r.body.split(";").length];r.body=s.process(r.body+";"+o.body,f,!1,o.selector),t.push(n)}else o.body!=r.body||l(o.selector)||l(r.selector)?r=o:(r.selector=u(r.selector+","+o.selector),t.push(n))}for(var c=0,h=t.length;h>c;c++)e.splice(t[c]-c,1);a.unshift(t.length>0)},h=function(e){for(var t={},r=[],n=e.length-1;n>=0;n--){var i=e[n];if("string"!=typeof i&&!i.block)for(var o=i.selector,s=o.indexOf(",")>-1&&!l(o)?o.split(",").concat(o):[o],u=0,f=s.length;f>u;u++){var c=s[u];t[c]?r.push(c):t[c]=[],t[c].push({where:n,partial:c!=o})}}var h=d(e,r,t),g=p(e,t);a.unshift(h||g)},d=function(e,t,r){for(var n=!1,i=0,o=t.length;o>i;i++){var a=t[i],s=r[a];s.length<2||g(e,a,s,{filterOut:function(e,t){return s[e].partial&&0===t.length},callback:function(e,t,r,i){s[r-i-1].partial||(e.body=t.join(";"),n=!0)}})}return n},p=function(e,t){var r=!1;e:for(var n in t)if(-1!=n.indexOf(",")){for(var i=t[n].pop().where,o=e[i],a=l(n)?[n]:n.split(","),s=[],u=0,f=a.length;f>u;u++){var c=a[u],h=t[c];if(h.length<2)continue e;if(g(e,c,h,{filterOut:function(e){return h[e].where<i},callback:function(e,t,r,n){0===n&&s.push(t.join(";"))}}),s[s.length-1]!=s[0])continue e}o.body=s[0],r=!0}return r},g=function(e,t,r,n){for(var i=[],o=[],a=[],u=[],l=r.length-1,f=0;l>=0;l--)if(!n.filterOut(l,i)){var c=r[l].where,h=e[c],d=h.body;i.push(d),a.push(d.split(";")),u.push(c)}for(l=0,f=i.length;f>l;l++)i[l].length>0&&o.push((o[l-1]||0)+a[l].length);for(var p=s.process(i.join(";"),o,!0,t),g=p.split(";"),v=u.length,m=g.length-1,b=v-1;b>=0;)if((0===b||a[b].indexOf(g[m])>-1)&&m>-1)m--;else{var y=g.splice(m+1);n.callback(e[u[b]],y,v,b),b--}},v=function(e){var t=function(){return a.length>4&&a[0]===!1&&a[1]===!1};e=Array.isArray(e)?e:[e];for(var r=0,n=e.length;n>r;r++){var i=e[r];i.selector?(i.selector=u(i.selector),i.body=s.process(i.body,!1,!1,i.selector)):i.block&&v(i.body)}for(a=[];;){if(t())break;if(f(e),t())break;if(c(e),t())break;h(e)}},m=function(e){var t=[];e=Array.isArray(e)?e:[e];for(var r=0,n=e.length;n>r;r++){var o=e[r];if("string"!=typeof o){var a=o.block||o.selector,s=o.block?m(o.body):o.body;s.length>0&&t.push(a+"{"+s+"}")}else t.push(o)}return t.join(i.keepBreaks?i.lineBreak:"")};return{process:function(){var n=new r(e,t).process();return v(n),m(n)}}}},{"../properties/optimizer":10,"./tokenizer":19}],19:[function(e,t){t.exports=function(e,t){var n=new r(e,128),i=n.next(),o=/(^@(font\-face|page|\-ms\-viewport|\-o\-viewport|viewport)|\\@.+?)/,a=function(e){var t,r=e.cursor,o=e.mode;if(i.length==e.cursor){if(n.isEmpty())return null;i=n.next(),e.cursor=0}if("body"==o)return t=i.indexOf("}",r),t>-1?[t,"bodyEnd"]:null;var a=i.indexOf("@",e.cursor),s="top"==o?i.indexOf("__ESCAPED_COMMENT_CLEAN_CSS",e.cursor):-1,u=i.indexOf("{",e.cursor),l=i.indexOf("}",e.cursor);return t=a,(-1==t||s>-1&&t>s)&&(t=s),(-1==t||u>-1&&t>u)&&(t=u),(-1==t||l>-1&&t>l)&&(t=l),-1!=t?s===t?[t,"escape"]:u===t?[t,"bodyStart"]:l===t?[t,"bodyEnd"]:a===t?[t,"special"]:void 0:void 0},s=function(e){var r=[];for(e=e||{cursor:0,mode:"top"};;){var n=a(e);if(!n){var u=i.substring(e.cursor);u.length>0&&(r.push(u),e.cursor+=u.length);break}var l,f,c=n[0],h=n[1];if("special"==h){var d=i.indexOf("{",c),p=i.indexOf(";",c),g=p>-1&&(-1==d||d>p);if(g)l=i.indexOf(";",c+1),r.push(i.substring(e.cursor,l+1)),e.cursor=l+1;else{l=i.indexOf("{",c+1);var v=i.substring(e.cursor,l).trim(),m=o.test(v);f=e.mode,e.cursor=l+1,e.mode=m?"body":"block";var b=s(e);e.mode=f,r.push({block:v,body:b})}}else if("escape"==h){l=i.indexOf("__",c+1);var y=i.substring(e.cursor,l+2);r.push(y),e.cursor=l+2}else if("bodyStart"==h){var w=i.substring(e.cursor,c).trim();f=e.mode,e.cursor=c+1,e.mode="body";var x=s(e);e.mode=f,r.push({selector:w,body:x})}else if("bodyEnd"==h){if("top"==e.mode){var k=e.cursor,_="}"==i[e.cursor]?"Unexpected '}' in '"+i.substring(k-20,k+20)+"'. Ignoring.":"Unexpected content: '"+i.substring(k,c+1)+"'. Ignoring.";t.warnings.push(_),e.cursor=c+1;continue}"block"!=e.mode&&(r=i.substring(e.cursor,c)),e.cursor=c+1;break}}return r};return{process:function(){return s()}}};var r=function(e,t){for(var r=[],n=0,i=e.length;i>n;){var o=n+t>i?i-1:n+t;"}"!=e[o]&&(o=e.indexOf("}",o)),-1==o&&(o=e.length-1),r.push(e.substring(n,o+1)),n=o+1}return{isEmpty:function(){return 0===r.length},next:function(){return r.shift()||""}}}},{}],20:[function(e,t){var r=e("./escape-store"),n=e("./quote-scanner");t.exports=function(e,t,i){var o=new r("COMMENT");return{escape:function(e){for(var t=[],r=0,i=0,a=0,s=function(){var t=[];return new n(e).each(function(e,r,n){t.push([n,n+e.length])}),function(e){for(var r=0,n=t.length;n>r;r++)if(t[r][0]<e&&t[r][1]>e)return!0;return!1}}();i<e.length&&(r=e.indexOf("/*",a),-1!=r);)if(s(r))t.push(e.substring(a,r+2)),a=r+2;else{if(i=e.indexOf("*/",r+2),-1==i)break;if(t.push(e.substring(a,r)),"!"==e[r+2]){var u=e.substring(r,i+2),l=o.store(u);t.push(l)}a=i+2}return t.length>0?t.join("")+e.substring(a,e.length):e},restore:function(r){var n=0,a=t?i:"";return r.replace(new RegExp(o.placeholderPattern+"("+i+"| )?","g"),function(t,r){switch(n++,e){case"*":return o.restore(r)+a;case 1:case"1":return 1==n?o.restore(r)+a:"";case 0:case"0":return""}})}}}},{"./escape-store":21,"./quote-scanner":25}],21:[function(e,t){t.exports=function(e){e="ESCAPED_"+e+"_CLEAN_CSS";var t={},r={},n=0,i=function(){return"__"+e+n++ +"__"},o="(__"+e+"\\d{1,}__)";return{placeholderPattern:o,placeholderRegExp:new RegExp(o,"g"),store:function(e){var n=r[e];return n||(n=i(),t[n]=e,r[e]=n),n},restore:function(e){return t[e]}}}},{}],22:[function(e,t){var r=e("./escape-store");t.exports=function(){var e=new r("EXPRESSION"),t=function(e,t){for(var r=t+"expression".length,n=0,i=!1;;){var o=e[r++];if(i?i="'"!=o&&'"'!=o:(i="'"==o||'"'==o,"("==o&&n++,")"==o&&n--,"}"==o&&1==n&&(r--,n--)),0===n&&")"==o)break;if(!o){r=e.substring(0,r).lastIndexOf("}");break}}return r};return{escape:function(r){for(var n=0,i=0,o=0,a=[];i<r.length&&(n=r.indexOf("expression(",i),-1!=n);){i=t(r,n);var s=r.substring(n,i),u=e.store(s);a.push(r.substring(o,n)),a.push(u),o=i}return a.length>0?a.join("")+r.substring(o,r.length):r},restore:function(t){return t.replace(e.placeholderRegExp,e.restore)}}}},{"./escape-store":21}],23:[function(e,t){!function(){var r=e("./escape-store"),n=e("./quote-scanner"),i=function(){this.matches=new r("FREE_TEXT")};i.prototype.escape=function(e){var t=this;return new n(e).each(function(e,r){var n=t.matches.store(e);r.push(n)})},i.prototype.restore=function(e){return e.replace(this.matches.placeholderRegExp,this.matches.restore)},t.exports=i}()},{"./escape-store":21,"./quote-scanner":25}],24:[function(e,t){!function(){var r=e("./quote-scanner"),n=e("../properties/scanner"),i=function(){},o=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,a=["animation","-moz-animation","-o-animation","-webkit-animation","animation-name","-moz-animation-name","-o-animation-name","-webkit-animation-name","font","font-family"];i.prototype.process=function(e){var t=new n(e);return new r(e).each(function(e,r,n){var i=t.nextAt(n);a.indexOf(i)>-1&&o.test(e)&&(e=e.substring(1,e.length-1)),r.push(e)})},t.exports=i}()},{"../properties/scanner":13,"./quote-scanner":25}],25:[function(e,t){!function(){var e=function(e){this.data=e},r=function(e,t,r,n){var i="/*",o="*/",a="\\",s="}",u=e.substring(n,r),l=u.lastIndexOf(o,r),f=u.lastIndexOf(i,r),c=!1;if(l>=r&&f>-1&&(c=!0),r>f&&f>l&&(c=!0),c){var h=e.indexOf(o,r);return h>-1?h:(h=e.indexOf(s,r),h>-1?h-1:e.length)}for(;;){if(void 0===e[r])break;if(e[r]==t&&e[r-1]!=a)break;r++}return r};e.prototype.each=function(e){for(var t=this.data,n=[],i=0,o=0,a=0,s=null,u="'",l='"',f=t.length;o<t.length;){var c=t.indexOf(u,o+1),h=t.indexOf(l,o+1);if(-1==c&&(c=f),-1==h&&(h=f),h>c?(i=c,s=u):(i=h,s=l),-1==i)break;if(o=r(t,s,i+1,a),-1==o)break;var d=t.substring(i,o+1);n.push(t.substring(a,i)),d.length>0&&e(d,n,i),a=o+1}return n.length>0?n.join("")+t.substring(a,t.length):t},t.exports=e}()},{}],26:[function(e,t){var r=function(e){this.separator=e};r.prototype.split=function(e){if(-1===e.indexOf(this.separator))return[e];if(-1===e.indexOf("("))return e.split(this.separator);for(var t=0,r=0,n=0,i=e.length,o=[];r++<i;)"("==e[r]?t++:")"==e[r]?t--:e[r]==this.separator&&0===t&&(o.push(e.substring(n,r)),n=r+1);return r+1>n&&o.push(e.substring(n)),o},t.exports=r},{}],27:[function(e,t){var r=e("./escape-store");t.exports=function(){var e=new r("URL");return{escape:function(t){for(var r=0,n=0,i=0,o=[];n<t.length&&(r=t.indexOf("url(",n),-1!=r);){n=t.indexOf(")",r);var a=t.substring(r,n+1),s=e.store(a);o.push(t.substring(i,r)),o.push(s),i=n+1}return o.length>0?o.join("")+t.substring(i,t.length):t},restore:function(t){return t.replace(e.placeholderRegExp,function(t){return e.restore(t).replace(/\s/g,"")})}}}},{"./escape-store":21}],28:[function(){},{}],29:[function(e,t,r){function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);var i,o=typeof e;if("number"===o)i=e>0?e>>>0:0;else if("string"===o)"base64"===t&&(e=V(e)),i=n.byteLength(e,t);else{if("object"!==o||null===e)throw new Error("First argument needs to be a number, array or string.");"Buffer"===e.type&&A(e.data)&&(e=e.data),i=+e.length>0?Math.floor(+e.length):0}var a;H?a=n._augment(new Uint8Array(i)):(a=this,a.length=i,a._isBuffer=!0);var s;if(H&&"number"==typeof e.byteLength)a._set(e);else if(C(e))if(n.isBuffer(e))for(s=0;i>s;s++)a[s]=e.readUInt8(s);else for(s=0;i>s;s++)a[s]=(e[s]%256+256)%256;else if("string"===o)a.write(e,0,t);else if("number"===o&&!H&&!r)for(s=0;i>s;s++)a[s]=0;return a}function i(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;P(o%2===0,"Invalid hex string"),n>o/2&&(n=o/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);P(!isNaN(s),"Invalid hex string"),e[r+a]=s}return a}function o(e,t,r,n){var i=U(B(t),e,r,n);return i}function a(e,t,r,n){var i=U(R(t),e,r,n);return i}function s(e,t,r,n){return a(e,t,r,n)}function u(e,t,r,n){var i=U(T(t),e,r,n);return i}function l(e,t,r,n){var i=U(M(t),e,r,n);return i}function f(e,t,r){return N.fromByteArray(0===t&&r===e.length?e:e.slice(t,r))}function c(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var o=t;r>o;o++)e[o]<=127?(n+=z(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return n+z(i)}function h(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;r>i;i++)n+=String.fromCharCode(e[i]);return n}function d(e,t,r){return h(e,t,r)}function p(e,t,r){var n=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>n)&&(r=n);for(var i="",o=t;r>o;o++)i+=L(e[o]);return i}function g(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function v(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return r?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function m(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return r?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function b(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=v(e,t,r,!0),a=32768&o;return a?-1*(65535-o+1):o}}function y(e,t,r,n){n||(P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=m(e,t,r,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function w(e,t,r,n){return n||(P("boolean"==typeof r,"missing or invalid endian"),P(t+3<e.length,"Trying to read beyond buffer length")),$.read(e,t,r,23,4)}function x(e,t,r,n){return n||(P("boolean"==typeof r,"missing or invalid endian"),P(t+7<e.length,"Trying to read beyond buffer length")),$.read(e,t,r,52,8)}function k(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+1<e.length,"trying to write beyond buffer length"),D(t,65535));var o=e.length;if(!(r>=o)){for(var a=0,s=Math.min(o-r,2);s>a;a++)e[r+a]=(t&255<<8*(n?a:1-a))>>>8*(n?a:1-a);return r+2}}function _(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"trying to write beyond buffer length"),D(t,4294967295));var o=e.length;if(!(r>=o)){for(var a=0,s=Math.min(o-r,4);s>a;a++)e[r+a]=t>>>8*(n?a:3-a)&255;return r+4}}function O(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+1<e.length,"Trying to write beyond buffer length"),q(t,32767,-32768));var o=e.length;if(!(r>=o))return t>=0?k(e,t,r,n,i):k(e,65535+t+1,r,n,i),r+2}function S(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"Trying to write beyond buffer length"),q(t,2147483647,-2147483648));var o=e.length;if(!(r>=o))return t>=0?_(e,t,r,n,i):_(e,4294967295+t+1,r,n,i),r+4}function E(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+3<e.length,"Trying to write beyond buffer length"),F(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;if(!(r>=o))return $.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==r&&null!==r,"missing offset"),P(r+7<e.length,"Trying to write beyond buffer length"),F(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;if(!(r>=o))return $.write(e,t,r,n,52,8),r+8}function V(e){for(e=j(e).replace(Z,"");e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function A(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function C(e){return A(e)||n.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function L(e){return 16>e?"0"+e.toString(16):e.toString(16)}function B(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(127>=n)t.push(n);else{var i=r;n>=55296&&57343>=n&&r++;for(var o=encodeURIComponent(e.slice(i,r+1)).substr(1).split("%"),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}}return t}function R(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function M(e){for(var t,r,n,i=[],o=0;o<e.length;o++)t=e.charCodeAt(o),r=t>>8,n=t%256,i.push(n),i.push(r);return i}function T(e){return N.toByteArray(e)}function U(e,t,r,n){for(var i=0;n>i&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function z(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function D(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(e>=0,"specified a negative value for writing an unsigned value"),P(t>=e,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function q(e,t,r){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=r,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function F(e,t,r){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=r,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw new Error(t||"Failed assertion")}var N=e("base64-js"),$=e("ieee754");r.Buffer=n,r.SlowBuffer=n,r.INSPECT_MAX_BYTES=50,n.poolSize=8192;var H=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(r){return!1}}();n.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},n.isBuffer=function(e){return!(null==e||!e._isBuffer)},n.byteLength=function(e,t){var r;switch(e=e.toString(),t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=B(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=T(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},n.concat=function(e,t){if(P(A(e),"Usage: Buffer.concat(list[, length])"),0===e.length)return new n(0);if(1===e.length)return e[0];var r;if(void 0===t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var i=new n(t),o=0;for(r=0;r<e.length;r++){var a=e[r];a.copy(i,o),o+=a.length}return i},n.compare=function(e,t){P(n.isBuffer(e)&&n.isBuffer(t),"Arguments must be Buffers");for(var r=e.length,i=t.length,o=0,a=Math.min(r,i);a>o&&e[o]===t[o];o++);return o!==a&&(r=e[o],i=t[o]),i>r?-1:r>i?1:0},n.prototype.write=function(e,t,r,n){if(isFinite(t))isFinite(r)||(n=r,r=void 0);else{var f=n;n=t,t=r,r=f}t=Number(t)||0;var c=this.length-t;r?(r=Number(r),r>c&&(r=c)):r=c,n=String(n||"utf8").toLowerCase();var h;switch(n){case"hex":h=i(this,e,t,r);break;case"utf8":case"utf-8":h=o(this,e,t,r);break;case"ascii":h=a(this,e,t,r);break;case"binary":h=s(this,e,t,r);break;case"base64":h=u(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":h=l(this,e,t,r);break;default:throw new Error("Unknown encoding")}return h},n.prototype.toString=function(e,t,r){var n=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,r=void 0===r?n.length:Number(r),r===t)return"";var i;switch(e){case"hex":i=p(n,t,r);break;case"utf8":case"utf-8":i=c(n,t,r);break;case"ascii":i=h(n,t,r);break;case"binary":i=d(n,t,r);break;case"base64":i=f(n,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=g(n,t,r);break;default:throw new Error("Unknown encoding")}return i},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},n.prototype.equals=function(e){return P(n.isBuffer(e),"Argument must be a Buffer"),0===n.compare(this,e)},n.prototype.compare=function(e){return P(n.isBuffer(e),"Argument must be a Buffer"),n.compare(this,e)},n.prototype.copy=function(e,t,r,n){var i=this;if(r||(r=0),n||0===n||(n=this.length),t||(t=0),n!==r&&0!==e.length&&0!==i.length){P(n>=r,"sourceEnd < sourceStart"),P(t>=0&&t<e.length,"targetStart out of bounds"),P(r>=0&&r<i.length,"sourceStart out of bounds"),P(n>=0&&n<=i.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(100>o||!H)for(var a=0;o>a;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+o),t)}},n.prototype.slice=function(e,t){var r=this.length;if(e=~~e,t=void 0===t?r:~~t,0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),e>t&&(t=e),H)return n._augment(this.subarray(e,t));for(var i=t-e,o=new n(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},n.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},n.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},n.prototype.readUInt8=function(e,t){return t||(P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},n.prototype.readUInt16LE=function(e,t){return v(this,e,!0,t)},n.prototype.readUInt16BE=function(e,t){return v(this,e,!1,t)},n.prototype.readUInt32LE=function(e,t){return m(this,e,!0,t)},n.prototype.readUInt32BE=function(e,t){return m(this,e,!1,t)},n.prototype.readInt8=function(e,t){if(t||(P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length)){var r=128&this[e];return r?-1*(255-this[e]+1):this[e]}},n.prototype.readInt16LE=function(e,t){return b(this,e,!0,t)},n.prototype.readInt16BE=function(e,t){return b(this,e,!1,t)},n.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},n.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)
+},n.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},n.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},n.prototype.readDoubleLE=function(e,t){return x(this,e,!0,t)},n.prototype.readDoubleBE=function(e,t){return x(this,e,!1,t)},n.prototype.writeUInt8=function(e,t,r){return r||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(t<this.length,"trying to write beyond buffer length"),D(e,255)),t>=this.length?void 0:(this[t]=e,t+1)},n.prototype.writeUInt16LE=function(e,t,r){return k(this,e,t,!0,r)},n.prototype.writeUInt16BE=function(e,t,r){return k(this,e,t,!1,r)},n.prototype.writeUInt32LE=function(e,t,r){return _(this,e,t,!0,r)},n.prototype.writeUInt32BE=function(e,t,r){return _(this,e,t,!1,r)},n.prototype.writeInt8=function(e,t,r){return r||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(t<this.length,"Trying to write beyond buffer length"),q(e,127,-128)),t>=this.length?void 0:(e>=0?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r),t+1)},n.prototype.writeInt16LE=function(e,t,r){return O(this,e,t,!0,r)},n.prototype.writeInt16BE=function(e,t,r){return O(this,e,t,!1,r)},n.prototype.writeInt32LE=function(e,t,r){return S(this,e,t,!0,r)},n.prototype.writeInt32BE=function(e,t,r){return S(this,e,t,!1,r)},n.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},n.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},n.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},n.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},n.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),P(r>=t,"end < start"),r!==t&&0!==this.length){P(t>=0&&t<this.length,"start out of bounds"),P(r>=0&&r<=this.length,"end out of bounds");var n;if("number"==typeof e)for(n=t;r>n;n++)this[n]=e;else{var i=B(e.toString()),o=i.length;for(n=t;r>n;n++)this[n]=i[n%o]}return this}},n.prototype.inspect=function(){for(var e=[],t=this.length,n=0;t>n;n++)if(e[n]=L(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},n.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(H)return new n(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var W=n.prototype;n._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=W.get,e.set=W.set,e.write=W.write,e.toString=W.toString,e.toLocaleString=W.toString,e.toJSON=W.toJSON,e.equals=W.equals,e.compare=W.compare,e.copy=W.copy,e.slice=W.slice,e.readUInt8=W.readUInt8,e.readUInt16LE=W.readUInt16LE,e.readUInt16BE=W.readUInt16BE,e.readUInt32LE=W.readUInt32LE,e.readUInt32BE=W.readUInt32BE,e.readInt8=W.readInt8,e.readInt16LE=W.readInt16LE,e.readInt16BE=W.readInt16BE,e.readInt32LE=W.readInt32LE,e.readInt32BE=W.readInt32BE,e.readFloatLE=W.readFloatLE,e.readFloatBE=W.readFloatBE,e.readDoubleLE=W.readDoubleLE,e.readDoubleBE=W.readDoubleBE,e.writeUInt8=W.writeUInt8,e.writeUInt16LE=W.writeUInt16LE,e.writeUInt16BE=W.writeUInt16BE,e.writeUInt32LE=W.writeUInt32LE,e.writeUInt32BE=W.writeUInt32BE,e.writeInt8=W.writeInt8,e.writeInt16LE=W.writeInt16LE,e.writeInt16BE=W.writeInt16BE,e.writeInt32LE=W.writeInt32LE,e.writeInt32BE=W.writeInt32BE,e.writeFloatLE=W.writeFloatLE,e.writeFloatBE=W.writeFloatBE,e.writeDoubleLE=W.writeDoubleLE,e.writeDoubleBE=W.writeDoubleBE,e.fill=W.fill,e.inspect=W.inspect,e.toArrayBuffer=W.toArrayBuffer,e};var Z=/[^+\/0-9A-z]/g},{"base64-js":30,ieee754:31}],30:[function(e,t,r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:f+26>t?t-f:l+26>t?t-l+26:void 0}function r(e){function r(e){l[c++]=e}var n,i,a,s,u,l;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var f=e.length;u="="===e.charAt(f-2)?2:"="===e.charAt(f-1)?1:0,l=new o(3*e.length/4-u),a=u>0?e.length-4:e.length;var c=0;for(n=0,i=0;a>n;n+=4,i+=3)s=t(e.charAt(n))<<18|t(e.charAt(n+1))<<12|t(e.charAt(n+2))<<6|t(e.charAt(n+3)),r((16711680&s)>>16),r((65280&s)>>8),r(255&s);return 2===u?(s=t(e.charAt(n))<<2|t(e.charAt(n+1))>>4,r(255&s)):1===u&&(s=t(e.charAt(n))<<10|t(e.charAt(n+1))<<4|t(e.charAt(n+2))>>2,r(s>>8&255),r(255&s)),l}function i(e){function t(e){return n.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(o<<4&63),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(o>>4&63),u+=t(o<<2&63),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),l="a".charCodeAt(0),f="A".charCodeAt(0);e.toByteArray=r,e.fromByteArray=i}("undefined"==typeof r?this.base64js={}:r)},{}],31:[function(e,t,r){r.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,o=d&(1<<-f)-1,d>>=-f,f+=s;f>0;o=256*o+e[t+c],c+=h,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=256*a+e[t+c],c+=h,f-=8);if(0===o)o=1-l;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,n),o-=l}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,f=(1<<l)-1,c=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+c>=1?h/u:h*Math.pow(2,1-c),t*u>=2&&(a++,u/=2),a+c>=f?(s=0,a=f):a+c>=1?(s=(t*u-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+d]=255&a,d+=p,a/=256,l-=8);e[r+d-p]|=128*g}},{}],32:[function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,i,s,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw t=arguments[1],t instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(r=this._events[e],a(r))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(i=arguments.length,s=new Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];r.apply(this,s)}else if(o(r)){for(i=arguments.length,s=new Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];for(l=r.slice(),i=l.length,u=0;i>u;u++)l[u].apply(this,s)}return!0},r.prototype.addListener=function(e,t){var i;if(!n(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned){var i;i=a(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!n(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var r,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],a=r.length,i=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=a;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(0>i)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],n(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.listenerCount=function(e,t){var r;return r=e._events&&e._events[t]?n(e._events[t])?1:e._events[t].length:0}},{}],33:[function(e,t){var r=t.exports,n=(e("events").EventEmitter,e("./lib/request")),i=e("url");r.request=function(e,t){"string"==typeof e&&(e=i.parse(e)),e||(e={}),e.host||e.port||(e.port=parseInt(window.location.port,10)),!e.host&&e.hostname&&(e.host=e.hostname),e.scheme||(e.scheme=window.location.protocol.split(":")[0]),e.host||(e.host=window.location.hostname||window.location.host),/:/.test(e.host)&&(e.port||(e.port=e.host.split(":")[1]),e.host=e.host.split(":")[0]),e.port||(e.port="https"==e.scheme?443:80);var r=new n(new o,e);return t&&r.on("response",t),r},r.get=function(e,t){e.method="GET";var n=r.request(e,t);return n.end(),n},r.Agent=function(){},r.Agent.defaultMaxSockets=4;var o=function(){if("undefined"==typeof window)throw new Error("no window object present");if(window.XMLHttpRequest)return window.XMLHttpRequest;if(window.ActiveXObject){for(var e=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"],t=0;t<e.length;t++)try{var r=new window.ActiveXObject(e[t]);return function(){if(r){var n=r;return r=null,n}return new window.ActiveXObject(e[t])}}catch(n){}throw new Error("ajax not supported in this browser")}throw new Error("ajax not supported in this browser")}();r.STATUS_CODES={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{"./lib/request":34,events:32,url:59}],34:[function(e,t){var r=e("stream"),n=e("./response"),i=e("Base64"),o=e("inherits"),a=t.exports=function(e,t){var r=this;r.writable=!0,r.xhr=e,r.body=[],r.uri=(t.scheme||"http")+"://"+t.host+(t.port?":"+t.port:"")+(t.path||"/"),"undefined"==typeof t.withCredentials&&(t.withCredentials=!0);try{e.withCredentials=t.withCredentials}catch(o){}if(t.responseType)try{e.responseType=t.responseType}catch(o){}if(e.open(t.method||"GET",r.uri,!0),r._headers={},t.headers)for(var a=s(t.headers),u=0;u<a.length;u++){var l=a[u];if(r.isSafeRequestHeader(l)){var f=t.headers[l];r.setHeader(l,f)}}t.auth&&this.setHeader("Authorization","Basic "+i.btoa(t.auth));var c=new n;c.on("close",function(){r.emit("close")}),c.on("ready",function(){r.emit("response",c)}),e.onreadystatechange=function(){e.__aborted||c.handle(e)}};o(a,r),a.prototype.setHeader=function(e,t){this._headers[e.toLowerCase()]=t},a.prototype.getHeader=function(e){return this._headers[e.toLowerCase()]},a.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},a.prototype.write=function(e){this.body.push(e)},a.prototype.destroy=function(){this.xhr.__aborted=!0,this.xhr.abort(),this.emit("close")},a.prototype.end=function(e){void 0!==e&&this.body.push(e);for(var t=s(this._headers),r=0;r<t.length;r++){var n=t[r],i=this._headers[n];if(u(i))for(var o=0;o<i.length;o++)this.xhr.setRequestHeader(n,i[o]);else this.xhr.setRequestHeader(n,i)}if(0===this.body.length)this.xhr.send("");else if("string"==typeof this.body[0])this.xhr.send(this.body.join(""));else if(u(this.body[0])){for(var a=[],r=0;r<this.body.length;r++)a.push.apply(a,this.body[r]);this.xhr.send(a)}else if(/Array/.test(Object.prototype.toString.call(this.body[0]))){for(var l=0,r=0;r<this.body.length;r++)l+=this.body[r].length;for(var a=new this.body[0].constructor(l),f=0,r=0;r<this.body.length;r++)for(var c=this.body[r],o=0;o<c.length;o++)a[f++]=c[o];this.xhr.send(a)}else{for(var a="",r=0;r<this.body.length;r++)a+=this.body[r].toString();this.xhr.send(a)}},a.unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"],a.prototype.isSafeRequestHeader=function(e){return e?-1===l(a.unsafeHeaders,e.toLowerCase()):!1};var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}},{"./response":35,Base64:36,inherits:38,stream:58}],35:[function(e,t){function r(e){for(var t=e.getAllResponseHeaders().split(/\r?\n/),r={},n=0;n<t.length;n++){var i=t[n];if(""!==i){var o=i.match(/^([^:]+):\s*(.*)/);if(o){var a=o[1].toLowerCase(),u=o[2];void 0!==r[a]?s(r[a])?r[a].push(u):r[a]=[r[a],u]:r[a]=u}else r[i]=!0}}return r}var n=e("stream"),i=e("util"),o=t.exports=function(){this.offset=0,this.readable=!0};i.inherits(o,n);var a={streaming:!0,status2:!0};o.prototype.getResponse=function(e){var t=String(e.responseType).toLowerCase();return"blob"===t?e.responseBlob||e.response:"arraybuffer"===t?e.response:e.responseText},o.prototype.getHeader=function(e){return this.headers[e.toLowerCase()]},o.prototype.handle=function(e){if(2===e.readyState&&a.status2){try{this.statusCode=e.status,this.headers=r(e)}catch(t){a.status2=!1}a.status2&&this.emit("ready")}else if(a.streaming&&3===e.readyState){try{this.statusCode||(this.statusCode=e.status,this.headers=r(e),this.emit("ready"))}catch(t){}try{this._emitData(e)}catch(t){a.streaming=!1}}else 4===e.readyState&&(this.statusCode||(this.statusCode=e.status,this.emit("ready")),this._emitData(e),e.error?this.emit("error",this.getResponse(e)):this.emit("end"),this.emit("close"))},o.prototype._emitData=function(e){var t=this.getResponse(e);return t.toString().match(/ArrayBuffer/)?(this.emit("data",new Uint8Array(t,this.offset)),void(this.offset=t.byteLength)):void(t.length>this.offset&&(this.emit("data",t.slice(this.offset)),this.offset=t.length))};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{stream:58,util:61}],36:[function(e,t,r){!function(){function e(e){this.message=e}var t="undefined"!=typeof r?r:this,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",t.btoa||(t.btoa=function(t){for(var r,i,o=0,a=n,s="";t.charAt(0|o)||(a="=",o%1);s+=a.charAt(63&r>>8-o%1*8)){if(i=t.charCodeAt(o+=.75),i>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|i}return s}),t.atob||(t.atob=function(t){if(t=t.replace(/=+$/,""),t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=t.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i=n.indexOf(i);return s})}()},{}],37:[function(e,t){var r=e("http"),n=t.exports;for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i]);n.request=function(e,t){return e||(e={}),e.scheme="https",r.request.call(this,e,t)}},{http:33}],38:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],39:[function(e,t){t.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},{}],40:[function(e,t,r){function n(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,a=function(e){return o.exec(e).slice(1)};r.resolve=function(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var o=r>=0?arguments[r]:process.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,t="/"===o.charAt(0))}return e=n(i(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."},r.normalize=function(e){var t=r.isAbsolute(e),o="/"===s(e,-1);return e=n(i(e.split("/"),function(e){return!!e}),!t).join("/"),e||t||(e="."),e&&o&&(e+="/"),(t?"/":"")+e},r.isAbsolute=function(e){return"/"===e.charAt(0)},r.join=function(){var e=Array.prototype.slice.call(arguments,0);return r.normalize(i(e,function(e){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},r.relative=function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=r.resolve(e).substr(1),t=r.resolve(t).substr(1);for(var i=n(e.split("/")),o=n(t.split("/")),a=Math.min(i.length,o.length),s=a,u=0;a>u;u++)if(i[u]!==o[u]){s=u;break}for(var l=[],u=s;u<i.length;u++)l.push("..");return l=l.concat(o.slice(s)),l.join("/")},r.sep="/",r.delimiter=":",r.dirname=function(e){var t=a(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},r.basename=function(e,t){var r=a(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},r.extname=function(e){return a(e)[3]};var s="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return 0>t&&(t=e.length+t),e.substr(t,r)}},{}],41:[function(e,t){function r(){}var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=r,n.addListener=r,n.once=r,n.off=r,n.removeListener=r,n.removeAllListeners=r,n.emit=r,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],42:[function(t,r,n){!function(t){function i(e){throw RangeError(B[e])}function o(e,t){for(var r=e.length;r--;)e[r]=t(e[r]);return e}function a(e,t){return o(e.split(L),t).join(".")}function s(e){for(var t,r,n=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=T(e>>>10&1023|55296),e=56320|1023&e),t+=T(e)}).join("")}function l(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:k}function f(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function c(e,t,r){var n=0;for(e=r?M(e/E):e>>1,e+=M(e/t);e>R*O>>1;n+=k)e=M(e/R);return M(n+(R+1)*e/(e+S))}function h(e){var t,r,n,o,a,s,f,h,d,p,g=[],v=e.length,m=0,b=V,y=I;for(r=e.lastIndexOf(j),0>r&&(r=0),n=0;r>n;++n)e.charCodeAt(n)>=128&&i("not-basic"),g.push(e.charCodeAt(n));for(o=r>0?r+1:0;v>o;){for(a=m,s=1,f=k;o>=v&&i("invalid-input"),h=l(e.charCodeAt(o++)),(h>=k||h>M((x-m)/s))&&i("overflow"),m+=h*s,d=y>=f?_:f>=y+O?O:f-y,!(d>h);f+=k)p=k-d,s>M(x/p)&&i("overflow"),s*=p;t=g.length+1,y=c(m-a,t,0==a),M(m/t)>x-b&&i("overflow"),b+=M(m/t),m%=t,g.splice(m++,0,b)}return u(g)}function d(e){var t,r,n,o,a,u,l,h,d,p,g,v,m,b,y,w=[];for(e=s(e),v=e.length,t=V,r=0,a=I,u=0;v>u;++u)g=e[u],128>g&&w.push(T(g));for(n=o=w.length,o&&w.push(j);v>n;){for(l=x,u=0;v>u;++u)g=e[u],g>=t&&l>g&&(l=g);for(m=n+1,l-t>M((x-r)/m)&&i("overflow"),r+=(l-t)*m,t=l,u=0;v>u;++u)if(g=e[u],t>g&&++r>x&&i("overflow"),g==t){for(h=r,d=k;p=a>=d?_:d>=a+O?O:d-a,!(p>h);d+=k)y=h-p,b=k-p,w.push(T(f(p+y%b,0))),h=M(y/b);w.push(T(f(h,0))),a=c(r,m,n==o),r=0,++n}++r,++t}return w.join("")}function p(e){return a(e,function(e){return A.test(e)?h(e.slice(4).toLowerCase()):e})}function g(e){return a(e,function(e){return C.test(e)?"xn--"+d(e):e})}var v="object"==typeof n&&n,m="object"==typeof r&&r&&r.exports==v&&r,b="object"==typeof global&&global;(b.global===b||b.window===b)&&(t=b);var y,w,x=2147483647,k=36,_=1,O=26,S=38,E=700,I=72,V=128,j="-",A=/^xn--/,C=/[^ -~]/,L=/\x2E|\u3002|\uFF0E|\uFF61/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=k-_,M=Math.floor,T=String.fromCharCode;if(y={version:"1.2.4",ucs2:{decode:s,encode:u},decode:h,encode:d,toASCII:g,toUnicode:p},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return y});else if(v&&!v.nodeType)if(m)m.exports=y;else for(w in y)y.hasOwnProperty(w)&&(v[w]=y[w]);else t.punycode=y}(this)},{}],43:[function(e,t){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,i,o){t=t||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var f=0;l>f;++f){var c,h,d,p,g=e[f].replace(s,"%20"),v=g.indexOf(i);v>=0?(c=g.substr(0,v),h=g.substr(v+1)):(c=g,h=""),d=decodeURIComponent(c),p=decodeURIComponent(h),r(a,d)?n(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],44:[function(e,t){"use strict";function r(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,a,s){return t=t||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e?r(o(e),function(o){var s=encodeURIComponent(n(o))+a;return i(e[o])?r(e[o],function(e){return s+encodeURIComponent(n(e))}).join(t):s+encodeURIComponent(n(e[o]))}).join(t):s?encodeURIComponent(n(s))+a+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],45:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":43,"./encode":44}],46:[function(e,t){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":47}],47:[function(e,t){(function(r){function n(e){return this instanceof n?(u.call(this,e),l.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",i)):new n(e)}function i(){this.allowHalfOpen||this._writableState.ended||r.nextTick(this.end.bind(this))}function o(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}t.exports=n;var a=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},s=e("core-util-is");s.inherits=e("inherits");var u=e("./_stream_readable"),l=e("./_stream_writable");s.inherits(n,u),o(a(l.prototype),function(e){n.prototype[e]||(n.prototype[e]=l.prototype[e])})}).call(this,e("_process"))},{"./_stream_readable":49,"./_stream_writable":51,_process:41,"core-util-is":52,inherits:38}],48:[function(e,t){function r(e){return this instanceof r?void n.call(this,e):new r(e)}t.exports=r;var n=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(r,n),r.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":50,"core-util-is":52,inherits:38}],49:[function(e,t){(function(r){function n(t){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(V||(V=e("string_decoder/").StringDecoder),this.decoder=new V(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new n(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,r,n,i){var o=l(t,r);if(o)e.emit("error",o);else if(null===r||void 0===r)t.reading=!1,t.ended||f(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||n||(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&c(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=j)e=j;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||null===e?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var r=null;return O.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||r||(r=new TypeError("Invalid non-string/buffer chunk")),r}function f(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?c(e):w(e)}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?r.nextTick(function(){h(e)}):h(e))}function h(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){p(e,t)}))}function p(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e){var t=e.write(r);!1===t&&n.awaitDrain++}var r,n=e._readableState;for(n.awaitDrain=0;n.pipesCount&&null!==(r=e.read());)if(1===n.pipesCount?t(n.pipes,0,null):x(n.pipes,t),e.emit("data",r),n.awaitDrain>0)return;return 0===n.pipesCount?(n.flowing=!1,void(S.listenerCount(e,"data")>0&&b(e))):void(n.ranOut=!0)}function m(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function b(e,t){var n=e._readableState;if(n.flowing)throw new Error("Cannot switch to old mode now.");var i=t||!1,o=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on("readable",function(){o=!0;for(var t;!i&&null!==(t=e.read());)e.emit("data",t);null===t&&(o=!1,e._readableState.needReadable=!0)}),e.pause=function(){i=!0,this.emit("pause")},e.resume=function(){i=!1,o?r.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function y(e,t){var r,n=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(a)r=n.shift();else if(!e||e>=i)r=o?n.join(""):O.concat(n,i),n.length=0;else if(e<n[0].length){var s=n[0];r=s.slice(0,e),n[0]=s.slice(e)}else if(e===n[0].length)r=n.shift();else{r=o?"":new O(e);for(var u=0,l=0,f=n.length;f>l&&e>u;l++){var s=n[0],c=Math.min(e-u,s.length);o?r+=s.slice(0,c):s.copy(r,u,0,c),c<s.length?n[0]=s.slice(c):n.shift(),u+=c}}return r}function w(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function x(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}function k(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1}t.exports=i;var _=e("isarray"),O=e("buffer").Buffer;i.ReadableState=n;var S=e("events").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e("stream"),I=e("core-util-is");I.inherits=e("inherits");var V;I.inherits(i,E),i.prototype.push=function(e,t){var r=this._readableState;return"string"!=typeof e||r.objectMode||(t=t||r.defaultEncoding,t!==r.encoding&&(e=new O(e,t),t="")),o(this,r,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){V||(V=e("string_decoder/").StringDecoder),this._readableState.decoder=new V(t),this._readableState.encoding=t};var j=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return c(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var n=t.needReadable;t.length-e<=t.highWaterMark&&(n=!0),(t.ended||t.reading)&&(n=!1),n&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=u(r,t));var i;return i=e>0?y(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&w(this),i},i.prototype._read=function(){this.emit("error",new Error("not implemented"))},i.prototype.pipe=function(e,t){function n(e){e===f&&o()}function i(){e.end()}function o(){e.removeListener("close",s),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",a),e.removeListener("unpipe",n),f.removeListener("end",i),f.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function a(t){l(),e.removeListener("error",a),0===S.listenerCount(e,"error")&&e.emit("error",t)
+}function s(){e.removeListener("finish",u),l()}function u(){e.removeListener("close",s),l()}function l(){f.unpipe(e)}var f=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=e;break;case 1:c.pipes=[c.pipes,e];break;default:c.pipes.push(e)}c.pipesCount+=1;var h=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,d=h?i:o;c.endEmitted?r.nextTick(d):f.once("end",d),e.on("unpipe",n);var p=g(f);return e.on("drain",p),e._events&&e._events.error?_(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",s),e.once("finish",u),e.emit("pipe",f),c.flowing||(this.on("readable",m),c.flowing=!0,r.nextTick(function(){v(f)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",m),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",m),t.flowing=!1;for(var i=0;n>i;i++)r[i].emit("unpipe",this);return this}var i=k(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var r=E.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||b(this),"readable"===e&&this.readable){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&c(this,n):this.read(0))}return r},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){b(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){b(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=n.push(i);o||(r=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&"undefined"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return x(o,function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(){r&&(r=!1,e.resume())},n},i._fromList=y}).call(this,e("_process"))},{_process:41,buffer:29,"core-util-is":52,events:32,inherits:38,isarray:39,stream:58,"string_decoder/":53}],50:[function(e,t){function r(e,t){this.afterTransform=function(e,r){return n(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function n(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=(e._readableState,e._transformState);if(r.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./_stream_duplex"),s=e("core-util-is");s.inherits=e("inherits"),s.inherits(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw new Error("not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./_stream_duplex":47,"core-util-is":52,inherits:38}],51:[function(e,t){(function(r){function n(e,t,r){this.chunk=e,this.encoding=t,this.callback=r}function i(e,t){e=e||{};var r=e.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var r=e("./_stream_duplex");return this instanceof o||this instanceof r?(this._writableState=new i(t,this),this.writable=!0,void k.call(this)):new o(t)}function a(e,t,n){var i=new Error("write after end");e.emit("error",i),r.nextTick(function(){n(i)})}function s(e,t,n,i){var o=!0;if(!w.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var a=new TypeError("Invalid non-string/buffer chunk");e.emit("error",a),r.nextTick(function(){i(a)}),o=!1}return o}function u(e,t,r){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new w(t,r)),t}function l(e,t,r,i,o){r=u(t,r,i),w.isBuffer(r)&&(i="buffer");var a=t.objectMode?1:r.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new n(r,i,o)):f(e,t,a,r,i,o),s}function f(e,t,r,n,i,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,e._write(n,i,t.onwrite),t.sync=!1}function c(e,t,n,i,o){n?r.nextTick(function(){o(i)}):o(i),e._writableState.errorEmitted=!0,e.emit("error",i)}function h(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if(h(n),t)c(e,n,i,t,o);else{var a=m(e,n);a||n.bufferProcessing||!n.buffer.length||v(e,n),i?r.nextTick(function(){p(e,n,a,o)}):p(e,n,a,o)}}function p(e,t,r,n){r||g(e,t),n(),r&&b(e,t)}function g(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function v(e,t){t.bufferProcessing=!0;for(var r=0;r<t.buffer.length;r++){var n=t.buffer[r],i=n.chunk,o=n.encoding,a=n.callback,s=t.objectMode?1:i.length;if(f(e,t,s,i,o,a),t.writing){r++;break}}t.bufferProcessing=!1,r<t.buffer.length?t.buffer=t.buffer.slice(r):t.buffer.length=0}function m(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){var r=m(e,t);return r&&(t.finished=!0,e.emit("finish")),r}function y(e,t,n){t.ending=!0,b(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n)),t.ended=!0}t.exports=o;var w=e("buffer").Buffer;o.WritableState=i;var x=e("core-util-is");x.inherits=e("inherits");var k=e("stream");x.inherits(o,k),o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,r){var n=this._writableState,i=!1;return"function"==typeof t&&(r=t,t=null),w.isBuffer(e)?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=function(){}),n.ended?a(this,n,r):s(this,n,e,r)&&(i=l(this,n,e,t,r)),i},o.prototype._write=function(e,t,r){r(new Error("not implemented"))},o.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),"undefined"!=typeof e&&null!==e&&this.write(e,t),n.ending||n.finished||y(this,n,r)}}).call(this,e("_process"))},{"./_stream_duplex":47,_process:41,buffer:29,"core-util-is":52,inherits:38,stream:58}],52:[function(e,t,r){(function(e){function t(e){return Array.isArray(e)}function n(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"==typeof e}function s(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function l(e){return void 0===e}function f(e){return c(e)&&"[object RegExp]"===m(e)}function c(e){return"object"==typeof e&&null!==e}function h(e){return c(e)&&"[object Date]"===m(e)}function d(e){return c(e)&&("[object Error]"===m(e)||e instanceof Error)}function p(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function v(t){return e.isBuffer(t)}function m(e){return Object.prototype.toString.call(e)}r.isArray=t,r.isBoolean=n,r.isNull=i,r.isNullOrUndefined=o,r.isNumber=a,r.isString=s,r.isSymbol=u,r.isUndefined=l,r.isRegExp=f,r.isObject=c,r.isDate=h,r.isError=d,r.isFunction=p,r.isPrimitive=g,r.isBuffer=v}).call(this,e("buffer").Buffer)},{buffer:29}],53:[function(e,t,r){function n(e){if(e&&!u(e))throw new Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=s.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},l=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),n(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};l.prototype.write=function(e){for(var t="",r=0;this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,r,n),this.charReceived+=n-r,r=n,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,n==e.length)return t;e=e.slice(n,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},l.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}return t},l.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:29}],54:[function(e,t){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":48}],55:[function(e,t,r){r=t.exports=e("./lib/_stream_readable.js"),r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":47,"./lib/_stream_passthrough.js":48,"./lib/_stream_readable.js":49,"./lib/_stream_transform.js":50,"./lib/_stream_writable.js":51}],56:[function(e,t){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":50}],57:[function(e,t){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":51}],58:[function(e,t){function r(){n.call(this)}t.exports=r;var n=e("events").EventEmitter,i=e("inherits");i(r,n),r.Readable=e("readable-stream/readable.js"),r.Writable=e("readable-stream/writable.js"),r.Duplex=e("readable-stream/duplex.js"),r.Transform=e("readable-stream/transform.js"),r.PassThrough=e("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}function i(){l.readable&&l.resume&&l.resume()}function o(){f||(f=!0,e.end())}function a(){f||(f=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===n.listenerCount(this,"error"))throw e}function u(){l.removeListener("data",r),e.removeListener("drain",i),l.removeListener("end",o),l.removeListener("close",a),l.removeListener("error",s),e.removeListener("error",s),l.removeListener("end",u),l.removeListener("close",u),e.removeListener("close",u)}var l=this;l.on("data",r),e.on("drain",i),e._isStdio||t&&t.end===!1||(l.on("end",o),l.on("close",a));var f=!1;return l.on("error",s),e.on("error",s),l.on("end",u),l.on("close",u),e.on("close",u),e.emit("pipe",l),e}},{events:32,inherits:38,"readable-stream/duplex.js":46,"readable-stream/passthrough.js":54,"readable-stream/readable.js":55,"readable-stream/transform.js":56,"readable-stream/writable.js":57}],59:[function(e,t,r){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&l(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}function o(e){return u(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)}function a(e,t){return i(e,!1,!0).resolve(t)}function s(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function l(e){return"object"==typeof e&&null!==e}function f(e){return null===e}function c(e){return null==e}var h=e("punycode");r.parse=i,r.resolve=a,r.resolveObject=s,r.format=o,r.Url=n;var d=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,g=["<",">",'"',"`"," ","\r","\n"," "],v=["{","}","|","\\","^","`"].concat(g),m=["'"].concat(v),b=["%","/","?",";","#"].concat(m),y=["/","?","#"],w=255,x=/^[a-z0-9A-Z_-]{0,63}$/,k=/^([a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},O={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},E=e("querystring");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e;n=n.trim();var i=d.exec(n);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,n=n.substr(i.length)}if(r||i||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var a="//"===n.substr(0,2);!a||i&&O[i]||(n=n.substr(2),this.slashes=!0)}if(!O[i]&&(a||i&&!S[i])){for(var s=-1,l=0;l<y.length;l++){var f=n.indexOf(y[l]);-1!==f&&(-1===s||s>f)&&(s=f)}var c,p;p=-1===s?n.lastIndexOf("@"):n.lastIndexOf("@",s),-1!==p&&(c=n.slice(0,p),n=n.slice(p+1),this.auth=decodeURIComponent(c)),s=-1;for(var l=0;l<b.length;l++){var f=n.indexOf(b[l]);-1!==f&&(-1===s||s>f)&&(s=f)}-1===s&&(s=n.length),this.host=n.slice(0,s),n=n.slice(s),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var v=this.hostname.split(/\./),l=0,I=v.length;I>l;l++){var V=v[l];if(V&&!V.match(x)){for(var j="",A=0,C=V.length;C>A;A++)j+=V.charCodeAt(A)>127?"x":V[A];if(!j.match(x)){var L=v.slice(0,l),B=v.slice(l+1),R=V.match(k);R&&(L.push(R[1]),B.unshift(R[2])),B.length&&(n="/"+B.join(".")+n),this.hostname=L.join(".");break}}}if(this.hostname=this.hostname.length>w?"":this.hostname.toLowerCase(),!g){for(var M=this.hostname.split("."),T=[],l=0;l<M.length;++l){var U=M[l];T.push(U.match(/[^A-Za-z0-9_-]/)?"xn--"+h.encode(U):U)}this.hostname=T.join(".")}var z=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+z,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!_[o])for(var l=0,I=m.length;I>l;l++){var q=m[l],F=encodeURIComponent(q);F===q&&(F=escape(q)),n=n.split(q).join(F)}var P=n.indexOf("#");-1!==P&&(this.hash=n.substr(P),n=n.slice(0,P));var N=n.indexOf("?");if(-1!==N?(this.search=n.substr(N),this.query=n.substr(N+1),t&&(this.query=E.parse(this.query)),n=n.slice(0,N)):t&&(this.search="",this.query={}),n&&(this.pathname=n),S[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",U=this.search||"";this.path=z+U}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&l(this.query)&&Object.keys(this.query).length&&(o=E.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||S[t])&&i!==!1?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+r+a+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(u(e)){var t=new n;t.parse(e,!1,!0),e=t}var r=new n;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),S[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!S[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||O[e.protocol])r.pathname=e.pathname;else{for(var i=(e.pathname||"").split("/");i.length&&!(e.host=i.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==i[0]&&i.unshift(""),i.length<2&&i.unshift(""),r.pathname=i.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var o=r.pathname||"",a=r.search||"";r.path=o+a}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var s=r.pathname&&"/"===r.pathname.charAt(0),l=e.host||e.pathname&&"/"===e.pathname.charAt(0),h=l||s||r.host&&e.pathname,d=h,p=r.pathname&&r.pathname.split("/")||[],i=e.pathname&&e.pathname.split("/")||[],g=r.protocol&&!S[r.protocol];if(g&&(r.hostname="",r.port=null,r.host&&(""===p[0]?p[0]=r.host:p.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===i[0]?i[0]=e.host:i.unshift(e.host)),e.host=null),h=h&&(""===i[0]||""===p[0])),l)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,p=i;else if(i.length)p||(p=[]),p.pop(),p=p.concat(i),r.search=e.search,r.query=e.query;else if(!c(e.search)){if(g){r.hostname=r.host=p.shift();var v=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return r.search=e.search,r.query=e.query,f(r.pathname)&&f(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!p.length)return r.pathname=null,r.path=r.search?"/"+r.search:null,r.href=r.format(),r;for(var m=p.slice(-1)[0],b=(r.host||e.host)&&("."===m||".."===m)||""===m,y=0,w=p.length;w>=0;w--)m=p[w],"."==m?p.splice(w,1):".."===m?(p.splice(w,1),y++):y&&(p.splice(w,1),y--);if(!h&&!d)for(;y--;y)p.unshift("..");!h||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),b&&"/"!==p.join("/").substr(-1)&&p.push("");var x=""===p[0]||p[0]&&"/"===p[0].charAt(0);if(g){r.hostname=r.host=x?"":p.length?p.shift():"";var v=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return h=h||r.host&&p.length,h&&!x&&p.unshift(""),p.length?r.pathname=p.join("/"):(r.pathname=null,r.path=null),f(r.pathname)&&f(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=p.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:42,querystring:45}],60:[function(e,t){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],61:[function(e,t,r){function n(e,t){var n={seen:[],stylize:o};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),s(n,e,n.depth)}function i(e,t){var r=n.styles[t];return r?"\e["+n.colors[r][0]+"m"+e+"\e["+n.colors[r][1]+"m":e}function o(e){return e}function a(e){var t={};return e.forEach(function(e){t[e]=!0}),t}function s(e,t,n){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=s(e,i,n)),i}var o=u(e,t);if(o)return o;var p=Object.keys(t),g=a(p);if(e.showHidden&&(p=Object.getOwnPropertyNames(t)),O(t)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return l(t);if(0===p.length){if(S(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_(t))return e.stylize(Date.prototype.toString.call(t),"date");if(O(t))return l(t)}var m="",y=!1,w=["{","}"];if(d(t)&&(y=!0,w=["[","]"]),S(t)){var k=t.name?": "+t.name:"";m=" [Function"+k+"]"}if(x(t)&&(m=" "+RegExp.prototype.toString.call(t)),_(t)&&(m=" "+Date.prototype.toUTCString.call(t)),O(t)&&(m=" "+l(t)),0===p.length&&(!y||0==t.length))return w[0]+m+w[1];if(0>n)return x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var E;return E=y?f(e,t,n,g,p):p.map(function(r){return c(e,t,n,g,r,y)}),e.seen.pop(),h(E,m,w)}function u(e,t){if(w(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i){for(var o=[],a=0,s=t.length;s>a;++a)o.push(A(t,String(a))?c(e,t,r,n,String(a),!0):"");return i.forEach(function(i){i.match(/^\d+$/)||o.push(c(e,t,r,n,i,!0))}),o}function c(e,t,r,n,i,o){var a,u,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?u=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(u=e.stylize("[Setter]","special")),A(n,i)||(a="["+i+"]"),u||(e.seen.indexOf(l.value)<0?(u=g(r)?s(e,l.value,null):s(e,l.value,r-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n"))):u=e.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return u;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function h(e,t,r){var n=0,i=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return null==e}function m(e){return"number"==typeof e}function b(e){return"string"==typeof e}function y(e){return"symbol"==typeof e}function w(e){return void 0===e}function x(e){return k(e)&&"[object RegExp]"===I(e)}function k(e){return"object"==typeof e&&null!==e}function _(e){return k(e)&&"[object Date]"===I(e)}function O(e){return k(e)&&("[object Error]"===I(e)||e instanceof Error)}function S(e){return"function"==typeof e}function E(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function I(e){return Object.prototype.toString.call(e)}function V(e){return 10>e?"0"+e.toString(10):e.toString(10)}function j(){var e=new Date,t=[V(e.getHours()),V(e.getMinutes()),V(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var C=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(n(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,o=i.length,a=String(e).replace(C,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return e}}),s=i[r];o>r;s=i[++r])a+=g(s)||!k(s)?" "+s:" "+n(s);return a},r.deprecate=function(e,t){function n(){if(!i){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),i=!0}return e.apply(this,arguments)}if(w(global.process))return function(){return r.deprecate(e,t).apply(this,arguments)};if(process.noDeprecation===!0)return e;var i=!1;return n};var L,B={};r.debuglog=function(e){if(w(L)&&(L=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!B[e])if(new RegExp("\\b"+e+"\\b","i").test(L)){var t=process.pid;B[e]=function(){var n=r.format.apply(r,arguments);console.error("%s %d: %s",e,t,n)}}else B[e]=function(){};return B[e]},r.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=p,r.isNull=g,r.isNullOrUndefined=v,r.isNumber=m,r.isString=b,r.isSymbol=y,r.isUndefined=w,r.isRegExp=x,r.isObject=k,r.isDate=_,r.isError=O,r.isFunction=S,r.isPrimitive=E,r.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",j(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!k(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}},{"./support/isBuffer":60,inherits:38}]},{},[1])(1)});
\ No newline at end of file