Skip to content

Instantly share code, notes, and snippets.

@kirbysayshi
Created March 17, 2014 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirbysayshi/9606104 to your computer and use it in GitHub Desktop.
Save kirbysayshi/9606104 to your computer and use it in GitHub Desktop.
requirebin sketch
var elements = require('elements');
var test = require('tape');
var tbc = require('tap-browser-color')();
test('removes duplicate classes', function(t) {
var orig = 'one two \n three \n three';
var node = document.createElement('div');
node.className = orig;
t.ok(node.className === orig, orig);
elements(node).addClass('three');
t.ok(node.className !== orig, node.className);
node.className = orig;
t.ok(node.className === orig, orig);
elements(node).removeClass('three');
t.ok(node.className === 'one two', node.className);
t.end();
})
require=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;r.length>s;s++)i(r[s]);return i}({1:[function(e,t){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 n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw Error("process.chdir is not supported")}},{}],2:[function(e,t){"use strict";var n=e("./base"),r=e("mout/string/trim"),i=e("mout/array/forEach"),o=e("mout/array/filter"),s=e("mout/array/indexOf");n.implement({setAttribute:function(e,t){return this.forEach(function(n){n.setAttribute(e,t)})},getAttribute:function(e){var t=this[0].getAttributeNode(e);return t&&t.specified?t.value:null},hasAttribute:function(e){var t=this[0];if(t.hasAttribute)return t.hasAttribute(e);var n=t.getAttributeNode(e);return!(!n||!n.specified)},removeAttribute:function(e){return this.forEach(function(t){var n=t.getAttributeNode(e);n&&t.removeAttributeNode(n)})}});var a={};i(["type","value","name","href","title","id"],function(e){a[e]=function(t){return void 0!==t?this.forEach(function(n){n[e]=t}):this[0][e]}}),i(["checked","disabled","selected"],function(e){a[e]=function(t){return void 0!==t?this.forEach(function(n){n[e]=!!t}):!!this[0][e]}});var u=function(e){var t=r(e).replace(/\s+/g," ").split(" "),n={};return o(t,function(e){return""===e||n[e]?void 0:n[e]=e}).sort()};a.className=function(e){return void 0!==e?this.forEach(function(t){t.className=u(e).join(" ")}):u(this[0].className).join(" ")},n.implement({attribute:function(e,t){var n=a[e];return n?n.call(this,t):null!=t?this.setAttribute(e,t):null===t?this.removeAttribute(e):void 0===t?this.getAttribute(e):void 0}}),n.implement(a),n.implement({check:function(){return this.checked(!0)},uncheck:function(){return this.checked(!1)},disable:function(){return this.disabled(!0)},enable:function(){return this.disabled(!1)},select:function(){return this.selected(!0)},deselect:function(){return this.selected(!1)}}),n.implement({classNames:function(){return u(this[0].className)},hasClass:function(e){return s(this.classNames(),e)>-1},addClass:function(e){return this.forEach(function(t){var n=t.className,r=u(n+" "+e).join(" ");n!==r&&(t.className=r)})},removeClass:function(e){return this.forEach(function(t){var n=u(t.className);i(u(e),function(e){var t=s(n,e);t>-1&&n.splice(t,1)}),t.className=n.join(" ")})}}),n.prototype.toString=function(){var e=this.tag(),t=this.id(),n=this.classNames(),r=e;return t&&(r+="#"+t),n.length&&(r+="."+n.join(".")),r};var c=null==document.createElement("div").textContent?"innerText":"textContent";n.implement({tag:function(){return this[0].tagName.toLowerCase()},html:function(e){return void 0!==e?this.forEach(function(t){t.innerHTML=e}):this[0].innerHTML},text:function(e){return void 0!==e?this.forEach(function(t){t[c]=e}):this[0][c]},data:function(e,t){switch(t){case void 0:return this.getAttribute("data-"+e);case null:return this.removeAttribute("data-"+e);default:return this.setAttribute("data-"+e,t)}}}),t.exports=n},{"./base":3,"mout/array/filter":10,"mout/array/forEach":11,"mout/array/indexOf":12,"mout/string/trim":32}],3:[function(e,t){(function(n){"use strict";var r=e("prime"),i=e("mout/array/forEach"),o=e("mout/array/map"),s=e("mout/array/filter"),a=e("mout/array/every"),u=e("mout/array/some"),c=0,f=document.__counter,l=document.__counter=(f?parseInt(f,36)+1:0).toString(36),h="uid:"+l,d=function(e){return e===n?"global":e===document?"document":e===document.documentElement?"html":e[h]||(e[h]=(c++).toString(36))},p={},m=r({constructor:function m(e,t){if(null==e)return this&&this.constructor===m?new g:null;var r,i;if(e.constructor!==g){if(r=new g,"string"==typeof e)return r.search?(r[r.length++]=t||document,r.search(e)):null;if(e.nodeType||e===n)r[r.length++]=e;else if(e.length)for(var o={},s=0,a=e.length;a>s;s++){var u=m(e[s],t);if(u&&u.length)for(var c=0,f=u.length;f>c;c++){var l=u[c];i=d(l),o[i]||(r[r.length++]=l,o[i]=!0)}}}else r=e;return r.length?1===r.length?(i=d(r[0]),p[i]||(p[i]=r)):r:null}}),g=r({inherits:m,constructor:function g(){this.length=0},unlink:function(){return this.map(function(e){return delete p[d(e)],e})},forEach:function(e,t){return i(this,e,t),this},map:function(e,t){return o(this,e,t)},filter:function(e,t){return s(this,e,t)},every:function(e,t){return a(this,e,t)},some:function(e,t){return u(this,e,t)}});t.exports=m}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"mout/array/every":9,"mout/array/filter":10,"mout/array/forEach":11,"mout/array/map":13,"mout/array/some":14,prime:36}],4:[function(e,t){"use strict";var n=e("prime/map"),r=e("./events");e("./traversal"),r.implement({delegate:function(e,t,i){return this.forEach(function(o){var s=r(o),a=s._delegation||(s._delegation={}),u=a[e]||(a[e]={}),c=u[t]||(u[t]=new n);if(!c.get(i)){var f=function(e){var n,o=r(e.target),a=o.matches(t)?o:o.parent(t);return a&&(n=i.call(s,e,a)),n};c.set(i,f),s.on(e,f)}})},undelegate:function(e,t,n){return this.forEach(function(i){var o,s,a,u=r(i);if((o=u._delegation)&&(s=o[e])&&(a=s[t])){var c=a.get(n);if(c){u.off(e,c),a.remove(n),a.count()||delete s[t];var f,l=!0,h=!0;for(f in s){l=!1;break}l&&delete o[e];for(f in o){h=!1;break}h&&delete u._delegation}}})}}),t.exports=r},{"./events":5,"./traversal":41,"prime/map":37}],5:[function(e,t){"use strict";var n=e("prime/emitter"),r=e("./base"),i=document.documentElement,o=i.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1),n}:function(e,t,n){return e.attachEvent("on"+t,n),n},s=i.removeEventListener?function(e,t,n,r){e.removeEventListener(t,n,r||!1)}:function(e,t,n){e.detachEvent("on"+t,n)};r.implement({on:function(e,t,i){return this.forEach(function(s){var a=r(s),u=e+(i?":capture":"");n.prototype.on.call(a,u,t);var c=a._domListeners||(a._domListeners={});c[u]||(c[u]=o(s,e,function(e){n.prototype.emit.call(a,u,e||window.event,n.EMIT_SYNC)},i))})},off:function(e,t,i){return this.forEach(function(o){var a,u,c=r(o),f=e+(i?":capture":""),l=c._domListeners,h=c._listeners;if(l&&(a=l[f])&&h&&(u=h[f])&&(n.prototype.off.call(c,f,t),!c._listeners||!c._listeners[e])){s(o,e,a),delete l[e];for(var d in l)return;delete c._domListeners}})},emit:function(){var e=arguments;return this.forEach(function(t){n.prototype.emit.apply(r(t),e)})}}),t.exports=r},{"./base":3,"prime/emitter":35}],elements:[function(e,t){t.exports=e("h0TPp5")},{}],h0TPp5:[function(e,t){"use strict";var n=e("./base");e("./attributes"),e("./events"),e("./insertion"),e("./traversal"),e("./delegation"),t.exports=n},{"./attributes":2,"./base":3,"./delegation":4,"./events":5,"./insertion":8,"./traversal":41}],8:[function(e,t){"use strict";var n=e("./base");n.implement({appendChild:function(e){return this[0].appendChild(n(e)[0]),this},insertBefore:function(e,t){return this[0].insertBefore(n(e)[0],n(t)[0]),this},removeChild:function(e){return this[0].removeChild(n(e)[0]),this},replaceChild:function(e,t){return this[0].replaceChild(n(e)[0],n(t)[0]),this}}),n.implement({before:function(e){e=n(e)[0];var t=e.parentNode;return t&&this.forEach(function(n){t.insertBefore(n,e)}),this},after:function(e){e=n(e)[0];var t=e.parentNode;return t&&this.forEach(function(n){t.insertBefore(n,e.nextSibling)}),this},bottom:function(e){return e=n(e)[0],this.forEach(function(t){e.appendChild(t)})},top:function(e){return e=n(e)[0],this.forEach(function(t){e.insertBefore(t,e.firstChild)})}}),n.implement({insert:n.prototype.bottom,remove:function(){return this.forEach(function(e){var t=e.parentNode;t&&t.removeChild(e)})},replace:function(e){return e=n(e)[0],e.parentNode.replaceChild(this[0],e),this}}),t.exports=n},{"./base":3}],9:[function(e,t){function n(e,t,n){t=r(t,n);var i=!0;if(null==e)return i;for(var o=-1,s=e.length;s>++o;)if(!t(e[o],o,e)){i=!1;break}return i}var r=e("../function/makeIterator_");t.exports=n},{"../function/makeIterator_":16}],10:[function(e,t){function n(e,t,n){t=r(t,n);var i=[];if(null==e)return i;for(var o,s=-1,a=e.length;a>++s;)o=e[s],t(o,s,e)&&i.push(o);return i}var r=e("../function/makeIterator_");t.exports=n},{"../function/makeIterator_":16}],11:[function(e,t){function n(e,t,n){if(null!=e)for(var r=-1,i=e.length;i>++r&&t.call(n,e[r],r,e)!==!1;);}t.exports=n},{}],12:[function(e,t){function n(e,t,n){if(n=n||0,null==e)return-1;for(var r=e.length,i=0>n?r+n:n;r>i;){if(e[i]===t)return i;i++}return-1}t.exports=n},{}],13:[function(e,t){function n(e,t,n){t=r(t,n);var i=[];if(null==e)return i;for(var o=-1,s=e.length;s>++o;)i[o]=t(e[o],o,e);return i}var r=e("../function/makeIterator_");t.exports=n},{"../function/makeIterator_":16}],14:[function(e,t){function n(e,t,n){t=r(t,n);var i=!1;if(null==e)return i;for(var o=-1,s=e.length;s>++o;)if(t(e[o],o,e)){i=!0;break}return i}var r=e("../function/makeIterator_");t.exports=n},{"../function/makeIterator_":16}],15:[function(e,t){function n(e){return e}t.exports=n},{}],16:[function(e,t){function n(e,t){if(null==e)return r;switch(typeof e){case"function":return t!==void 0?function(n,r,i){return e.call(t,n,r,i)}:e;case"object":return function(t){return o(t,e)};case"string":case"number":return i(e)}}var r=e("./identity"),i=e("./prop"),o=e("../object/deepMatches");t.exports=n},{"../object/deepMatches":23,"./identity":15,"./prop":17}],17:[function(e,t){function n(e){return function(t){return t[e]}}t.exports=n},{}],18:[function(e,t){function n(e,t){function n(){}return n.prototype=e,r(new n,t)}var r=e("../object/mixIn");t.exports=n},{"../object/mixIn":28}],19:[function(e,t){var n=e("./isKind"),r=Array.isArray||function(e){return n(e,"Array")};t.exports=r},{"./isKind":20}],20:[function(e,t){function n(e,t){return r(e)===t}var r=e("./kindOf");t.exports=n},{"./kindOf":21}],21:[function(e,t){function n(e){return null===e?"Null":e===r?"Undefined":i.exec(o.call(e))[1]}var r,i=/^\[object (.*)\]$/,o=Object.prototype.toString;t.exports=n},{}],22:[function(e,t){function n(e){return null==e?"":""+e}t.exports=n},{}],23:[function(e,t){function n(e,t){for(var n=-1,r=e.length;r>++n;)if(o(e[n],t))return!0;return!1}function r(e,t){for(var r=-1,i=t.length;i>++r;)if(!n(e,t[r]))return!1;return!0}function i(e,t){var n=!0;return s(t,function(t,r){return o(e[r],t)?void 0:n=!1}),n}function o(e,t){return e&&"object"==typeof e?a(e)&&a(t)?r(e,t):i(e,t):e===t}var s=e("./forOwn"),a=e("../lang/isArray");t.exports=o},{"../lang/isArray":19,"./forOwn":26}],24:[function(e,t){function n(e,t,n){t=i(t,n);var o={};return r(e,function(e,n,r){t(e,n,r)&&(o[n]=e)}),o}var r=e("./forOwn"),i=e("../function/makeIterator_");t.exports=n},{"../function/makeIterator_":16,"./forOwn":26}],25:[function(e,t){function n(){s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],o=!0;for(var e in{toString:null})o=!1}function r(e,t,r){var u,c=0;null==o&&n();for(u in e)if(i(t,e,u,r)===!1)break;if(o)for(var f=e.constructor,l=!!f&&e===f.prototype;(u=s[c++])&&("constructor"===u&&(l||!a(e,u))||e[u]===Object.prototype[u]||i(t,e,u,r)!==!1););}function i(e,t,n,r){return e.call(r,t[n],n,t)}var o,s,a=e("./hasOwn");t.exports=r},{"./hasOwn":27}],26:[function(e,t){function n(e,t,n){i(e,function(i,o){return r(e,o)?t.call(n,e[o],o,e):void 0})}var r=e("./hasOwn"),i=e("./forIn");t.exports=n},{"./forIn":25,"./hasOwn":27}],27:[function(e,t){function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=n},{}],28:[function(e,t){function n(e){for(var t,n=0,o=arguments.length;o>++n;)t=arguments[n],null!=t&&i(t,r,e);return e}function r(e,t){this[t]=e}var i=e("./forOwn");t.exports=n},{"./forOwn":26}],29:[function(e,t){t.exports=[" ","\n","\r"," ","\f"," "," "," ","᠎"," "," "," "," "," "," "," "," "," "," "," ","\u2028","\u2029"," "," "," "]},{}],30:[function(e,t){function n(e,t){e=r(e),t=t||i;for(var n,o,s=0,a=e.length,u=t.length,c=!0;c&&a>s;)for(c=!1,n=-1,o=e.charAt(s);u>++n;)if(o===t[n]){c=!0,s++;break}return s>=a?"":e.substr(s,a)}var r=e("../lang/toString"),i=e("./WHITE_SPACES");t.exports=n},{"../lang/toString":22,"./WHITE_SPACES":29}],31:[function(e,t){function n(e,t){e=r(e),t=t||i;for(var n,o,s=e.length-1,a=t.length,u=!0;u&&s>=0;)for(u=!1,n=-1,o=e.charAt(s);a>++n;)if(o===t[n]){u=!0,s--;break}return s>=0?e.substring(0,s+1):""}var r=e("../lang/toString"),i=e("./WHITE_SPACES");t.exports=n},{"../lang/toString":22,"./WHITE_SPACES":29}],32:[function(e,t){function n(e,t){return e=r(e),t=t||i,o(s(e,t),t)}var r=e("../lang/toString"),i=e("./WHITE_SPACES"),o=e("./ltrim"),s=e("./rtrim");t.exports=n},{"../lang/toString":22,"./WHITE_SPACES":29,"./ltrim":30,"./rtrim":31}],33:[function(e,t){function n(){return n.get()}n.get="function"==typeof Date.now?Date.now:function(){return+new Date},t.exports=n},{}],34:[function(e,t){(function(n,r){"use strict";var i=e("mout/lang/kindOf"),o=e("mout/time/now"),s=e("mout/array/forEach"),a=e("mout/array/indexOf"),u={timeout:{},frame:[],immediate:[]},c=function(e,t,n,r){var i=function(){f(e)};e.length||r(i);var o={callback:t,context:n};return e.push(o),function(){var t=a(e,o);t>-1&&e.splice(t,1)}},f=function(e){var t=o();s(e.splice(0),function(e){e.callback.call(e.context,t)})},l=function(e,t,n){return"number"===i(t)?l.timeout(e,t,n):l.immediate(e,t)};r.process&&n.nextTick?l.immediate=function(e,t){return c(u.immediate,e,t,n.nextTick)}:r.setImmediate?l.immediate=function(e,t){return c(u.immediate,e,t,setImmediate)}:r.postMessage&&r.addEventListener?(addEventListener("message",function(e){e.source===r&&"@deferred"===e.data&&(e.stopPropagation(),f(u.immediate))},!0),l.immediate=function(e,t){return c(u.immediate,e,t,function(){postMessage("@deferred","*")})}):l.immediate=function(e,t){return c(u.immediate,e,t,function(e){setTimeout(e,0)})};var h=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.mozRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)};l.frame=function(e,t){return c(u.frame,e,t,h)};var d;l.timeout=function(e,t,n){var r=u.timeout;return d||(d=l.immediate(function(){d=null,u.timeout={}})),c(r[t]||(r[t]=[]),e,n,function(e){setTimeout(e,t)})},t.exports=l}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":1,"mout/array/forEach":11,"mout/array/indexOf":12,"mout/lang/kindOf":21,"mout/time/now":33}],35:[function(e,t){"use strict";var n=e("mout/array/indexOf"),r=e("mout/array/forEach"),i=e("./index"),o=e("./defer"),s=Array.prototype.slice,a=i({on:function(e,t){var r=this._listeners||(this._listeners={}),i=r[e]||(r[e]=[]);return-1===n(i,t)&&i.push(t),this},off:function(e,t){var r,i=this._listeners;if(i&&(r=i[e])){var o=n(r,t);o>-1&&r.splice(o,1),r.length||delete i[e];for(var s in i)return this;delete this._listeners}return this},emit:function(e){var t=this,n=s.call(arguments,1),i=function(){var i,o=t._listeners;o&&(i=o[e])&&r(i.slice(0),function(e){return e.apply(t,n)})};return n[n.length-1]===a.EMIT_SYNC?(n.pop(),i()):o(i),this}});a.EMIT_SYNC={},t.exports=a},{"./defer":34,"./index":36,"mout/array/forEach":11,"mout/array/indexOf":12}],36:[function(e,t){"use strict";var n=e("mout/object/hasOwn"),r=e("mout/object/forIn"),i=e("mout/object/mixIn"),o=e("mout/object/filter"),s=e("mout/lang/createObject"),a=e("mout/lang/kindOf"),u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;try{u({},"~",{}),c({},"~")}catch(f){u=null,c=null}var l=function(e,t,n){u(this,t,c(n,t)||{writable:!0,enumerable:!0,configurable:!0,value:e})},h=function(e,t){this[t]=e},d=function(e){return r(e,u?l:h,this.prototype),this},p=/^constructor|inherits|mixin$/,m=function(e){"Function"===a(e)&&(e={constructor:e});var t=e.inherits,r=n(e,"constructor")?e.constructor:t?function(){return t.apply(this,arguments)}:function(){};if(t){i(r,t);var u=t.prototype,c=r.prototype=s(u);r.parent=u,c.constructor=r}r.implement||(r.implement=d);var f=e.mixin;if(f){"Array"!==a(f)&&(f=[f]);for(var l=0;f.length>l;l++)r.implement(s(f[l].prototype))}return r.implement(o(e,function(e,t){return!t.match(p)}))};t.exports=m},{"mout/lang/createObject":18,"mout/lang/kindOf":21,"mout/object/filter":24,"mout/object/forIn":25,"mout/object/hasOwn":27,"mout/object/mixIn":28}],37:[function(e,t){"use strict";var n=e("mout/array/indexOf"),r=e("./index"),i=r({constructor:function i(){this.length=0,this._values=[],this._keys=[]},set:function(e,t){var r=n(this._keys,e);return-1===r?(this._keys.push(e),this._values.push(t),this.length++):this._values[r]=t,this},get:function(e){var t=n(this._keys,e);return-1===t?null:this._values[t]},count:function(){return this.length},forEach:function(e,t){for(var n=0,r=this.length;r>n&&e.call(t,this._values[n],this._keys[n],this)!==!1;n++);return this},map:function(e,t){var n=new i;return this.forEach(function(r,i){n.set(i,e.call(t,r,i,this))},this),n},filter:function(e,t){var n=new i;return this.forEach(function(r,i){e.call(t,r,i,this)&&n.set(i,r)},this),n},every:function(e,t){var n=!0;return this.forEach(function(r,i){return e.call(t,r,i,this)?void 0:n=!1},this),n},some:function(e,t){var n=!1;return this.forEach(function(r,i){return e.call(t,r,i,this)?!(n=!0):void 0},this),n},indexOf:function(e){var t=n(this._values,e);return t>-1?this._keys[t]:null},remove:function(e){var t=n(this._values,e);return-1!==t?(this._values.splice(t,1),this.length--,this._keys.splice(t,1)[0]):null},unset:function(e){var t=n(this._keys,e);return-1!==t?(this._keys.splice(t,1),this.length--,this._values.splice(t,1)[0]):null},keys:function(){return this._keys.slice()},values:function(){return this._values.slice()}}),o=function(){return new i};o.prototype=i.prototype,t.exports=o},{"./index":36,"mout/array/indexOf":12}],38:[function(e,t){(function(n){"use strict";var r=e("./parser"),i=0,o=document.__counter=(parseInt(document.__counter||-1,36)+1).toString(36),s="uid:"+o,a=function(e,t){if(e===n)return"global";if(e===document)return"document";if(e===document.documentElement)return"html";if(t){var r=e.getAttribute(s);return r||(r=(i++).toString(36),e.setAttribute(s,r)),r}return e[s]||(e[s]=(i++).toString(36))},u=function(e){return a(e,!0)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},f=0,l={GET_ELEMENT_BY_ID:function(e,t){return t="slick_"+f++,e.innerHTML='<a id="'+t+'"></a>',!!this.getElementById(t)},QUERY_SELECTOR:function(e){return e.innerHTML="_<style>:nth-child(2){}</style>",e.innerHTML='<a class="MiX"></a>',1===e.querySelectorAll(".MiX").length},EXPANDOS:function(e,t){return t="slick_"+f++,e._custom_property_=t,e._custom_property_===t},MATCHES_SELECTOR:function(e){e.className="MiX";var t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector;if(t)try{t.call(e,":slick")}catch(n){return t.call(e,".MiX")?t:!1}return!1},GET_ELEMENTS_BY_CLASS_NAME:function(e){return e.innerHTML='<a class="f"></a><a class="b"></a>',1!==e.getElementsByClassName("b").length?!1:(e.firstChild.className="b",2!==e.getElementsByClassName("b").length?!1:(e.innerHTML='<a class="a"></a><a class="f b a"></a>',2!==e.getElementsByClassName("a").length?!1:!0))},GET_ATTRIBUTE:function(e){var t="fus ro dah";return e.innerHTML='<a class="'+t+'"></a>',e.firstChild.getAttribute("class")===t}},h=function h(e){this.document=e;var t=this.root=e.documentElement;this.tested={},this.uniqueID=this.has("EXPANDOS")?a:u,this.getAttribute=this.has("GET_ATTRIBUTE")?function(e,t){return e.getAttribute(t)}:function(e,t){return e=e.getAttributeNode(t),e&&e.specified?e.value:null},this.hasAttribute=t.hasAttribute?function(e,t){return e.hasAttribute(t)}:function(e,t){return e=e.getAttributeNode(t),!(!e||!e.specified)},this.contains=e.contains&&t.contains?function(e,t){return e.contains(t)}:t.compareDocumentPosition?function(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}:function(e,t){do if(t===e)return!0;while(t=t.parentNode);return!1},this.sorter=t.compareDocumentPosition?function(e,t){return e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:e===t?0:1:0}:"sourceIndex"in t?function(e,t){return e.sourceIndex&&t.sourceIndex?e.sourceIndex-t.sourceIndex:0}:e.createRange?function(e,t){if(!e.ownerDocument||!t.ownerDocument)return 0;var n=e.ownerDocument.createRange(),r=t.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,0),r.setStart(t,0),r.setEnd(t,0),n.compareBoundaryPoints(Range.START_TO_END,r)}:null,this.failed={};var n=this.has("MATCHES_SELECTOR");n&&(this.matchesSelector=function(e,t){if(this.failed[t])return null;try{return n.call(e,t)}catch(r){return v.debug&&console.warn("matchesSelector failed on "+t),this.failed[t]=!0,null}}),this.has("QUERY_SELECTOR")&&(this.querySelectorAll=function(e,t){if(this.failed[t])return!0;var n,r,i,o,s;if(e!==this.document&&(o=t[0].combinator,r=e.getAttribute("id"),i=t,r||(s=e,r="__slick__",s.setAttribute("id",r)),t="#"+r+" "+i,(o.indexOf("~")>-1||o.indexOf("+")>-1)&&(e=e.parentNode,e||(n=!0))),!n)try{n=e.querySelectorAll(t)}catch(a){v.debug&&console.warn("querySelectorAll failed on "+(i||t)),n=this.failed[i||t]=!0}return s&&s.removeAttribute("id"),n})};h.prototype.has=function(e){var t=this.tested,n=t[e];if(null!=n)return n;var r=this.root,i=this.document,o=i.createElement("div");o.setAttribute("style","display: none;"),r.appendChild(o);var s=l[e],a=!1;if(s)try{a=s.call(i,o)}catch(u){}return v.debug&&!a&&console.warn("document has no "+e),r.removeChild(o),t[e]=a};var d={" ":function(e,t,n){var r,i,o=!t.id,s=!t.tag,a=!t.classes;if(t.id&&e.getElementById&&this.has("GET_ELEMENT_BY_ID")&&(r=e.getElementById(t.id),r&&r.getAttribute("id")===t.id&&(i=[r],o=!0,"*"===t.tag&&(s=!0))),!i&&(t.classes&&e.getElementsByClassName&&this.has("GET_ELEMENTS_BY_CLASS_NAME")?(i=e.getElementsByClassName(t.classList),a=!0,"*"===t.tag&&(s=!0)):(i=e.getElementsByTagName(t.tag),"*"!==t.tag&&(s=!0)),!i||!i.length))return!1;for(var u=0;r=i[u++];)(s&&o&&a&&!t.attributes&&!t.pseudos||this.match(r,t,s,o,a))&&n(r);return!0},">":function(e,t,n){if(e=e.firstChild)do 1==e.nodeType&&this.match(e,t)&&n(e);while(e=e.nextSibling)},"+":function(e,t,n){for(;e=e.nextSibling;)if(1==e.nodeType){this.match(e,t)&&n(e);break}},"^":function(e,t,n){e=e.firstChild,e&&(1===e.nodeType?this.match(e,t)&&n(e):d["+"].call(this,e,t,n))},"~":function(e,t,n){for(;e=e.nextSibling;)1===e.nodeType&&this.match(e,t)&&n(e)},"++":function(e,t,n){d["+"].call(this,e,t,n),d["!+"].call(this,e,t,n)},"~~":function(e,t,n){d["~"].call(this,e,t,n),d["!~"].call(this,e,t,n)},"!":function(e,t,n){for(;e=e.parentNode;)e!==this.document&&this.match(e,t)&&n(e)},"!>":function(e,t,n){e=e.parentNode,e!==this.document&&this.match(e,t)&&n(e)},"!+":function(e,t,n){for(;e=e.previousSibling;)if(1==e.nodeType){this.match(e,t)&&n(e);break}},"!^":function(e,t,n){e=e.lastChild,e&&(1==e.nodeType?this.match(e,t)&&n(e):d["!+"].call(this,e,t,n))},"!~":function(e,t,n){for(;e=e.previousSibling;)1===e.nodeType&&this.match(e,t)&&n(e)}};h.prototype.search=function(e,t,n){e?!e.nodeType&&e.document&&(e=e.document):e=this.document;var i=r(t);if(!i||!i.length)throw Error("invalid expression");n||(n=[]);var o,s=c(n)?function(e){n[n.length]=e}:function(e){n[n.length++]=e};if(i.length>1){o={};var u=s;s=function(e){var t=a(e);o[t]||(o[t]=!0,u(e))}}var f,l,h;e:for(var p=0;t=i[p++];)if(v.noQSA||!this.querySelectorAll||(l=this.querySelectorAll(e,t),l===!0)){if(1===t.length)h=t[0],d[h.combinator].call(this,e,h,s);else for(var m,g,y,b=[e],w=function(e){var t=a(e);y[t]||(y[t]=!0,g[g.length]=e)},_=0;h=t[_++];){g=[],y={};for(var E=0;m=b[E++];)d[h.combinator].call(this,m,h,w);if(!g.length)continue e;_===t.length?n=g:b=g}n.length}else if(l&&l.length)for(var _=0;f=l[_++];)f.nodeName>"@"&&s(f);return o&&n&&n.length>1&&this.sort(n),n},h.prototype.sort=function(e){return this.sorter?Array.prototype.sort.call(e,this.sorter):e};var p={empty:function(){return!(this&&1===this.nodeType||(this.innerText||this.textContent||"").length)},not:function(e){return!v.match(this,e)},contains:function(e){return(this.innerText||this.textContent||"").indexOf(e)>-1},"first-child":function(){for(var e=this;e=e.previousSibling;)if(1==e.nodeType)return!1;return!0},"last-child":function(){for(var e=this;e=e.nextSibling;)if(1==e.nodeType)return!1;return!0},"only-child":function(){for(var e=this;e=e.previousSibling;)if(1==e.nodeType)return!1;for(var t=this;t=t.nextSibling;)if(1==t.nodeType)return!1;return!0},"first-of-type":function(){for(var e=this,t=e.nodeName;e=e.previousSibling;)if(e.nodeName==t)return!1;return!0},"last-of-type":function(){for(var e=this,t=e.nodeName;e=e.nextSibling;)if(e.nodeName==t)return!1;return!0},"only-of-type":function(){for(var e=this,t=this.nodeName;e=e.previousSibling;)if(e.nodeName==t)return!1;for(var n=this;n=n.nextSibling;)if(n.nodeName==t)return!1;return!0},enabled:function(){return!this.disabled},disabled:function(){return this.disabled},checked:function(){return this.checked||this.selected},selected:function(){return this.selected},focus:function(){var e=this.ownerDocument;return e.activeElement===this&&(this.href||this.type||v.hasAttribute(this,"tabindex"))},root:function(){return this===this.ownerDocument.documentElement}};h.prototype.match=function(e,t,n,r,i){if(!v.noQSA&&this.matchesSelector){var o=this.matchesSelector(e,t);if(null!==o)return o}if(!n&&t.tag){var s=e.nodeName.toLowerCase();if("*"===t.tag){if("@">s)return!1}else if(s!=t.tag)return!1}if(!r&&t.id&&e.getAttribute("id")!==t.id)return!1;var a,u;if(!i&&t.classes){var c=this.getAttribute(e,"class");if(!c)return!1;for(u in t.classes)if(!RegExp("(^|\\s)"+t.classes[u]+"(\\s|$)").test(c))return!1}var f,l;if(t.attributes)for(a=0;u=t.attributes[a++];){var h=u.operator,d=u.escapedValue;if(f=u.name,l=u.value,h){var m=this.getAttribute(e,f);if(null==m)return!1;switch(h){case"^=":if(!RegExp("^"+d).test(m))return!1;break;case"$=":if(!RegExp(d+"$").test(m))return!1;break;case"~=":if(!RegExp("(^|\\s)"+d+"(\\s|$)").test(m))return!1;break;case"|=":if(!RegExp("^"+d+"(-|$)").test(m))return!1;break;case"=":if(m!==l)return!1;break;case"*=":if(-1===m.indexOf(l))return!1;break;default:return!1}}else if(!this.hasAttribute(e,f))return!1}if(t.pseudos)for(a=0;u=t.pseudos[a++];){if(f=u.name,l=u.value,p[f])return p[f].call(e,l);if(null!=l){if(this.getAttribute(e,f)!==l)return!1}else if(!this.hasAttribute(e,f))return!1}return!0},h.prototype.matches=function(e,t){var n=r(t);if(1===n.length&&1===n[0].length)return this.match(e,n[0][0]);if(!v.noQSA&&this.matchesSelector){var i=this.matchesSelector(e,n);if(null!==i)return i}for(var o,s=this.search(this.document,t,{length:0}),a=0;o=s[a++];)if(e===o)return!0;return!1};var m={},g=function(e){var t=e||document;if(t.ownerDocument?t=t.ownerDocument:t.document&&(t=t.document),9!==t.nodeType)throw new TypeError("invalid document");var n=a(t);return m[n]||(m[n]=new h(t))},v=function(e,t){return v.search(e,t)};v.search=function(e,t,n){return g(t).search(t,e,n)},v.find=function(e,t){return g(t).search(t,e)[0]||null},v.getAttribute=function(e,t){return g(e).getAttribute(e,t)},v.hasAttribute=function(e,t){return g(e).hasAttribute(e,t)},v.contains=function(e,t){return g(e).contains(e,t)},v.matches=function(e,t){return g(e).matches(e,t)},v.sort=function(e){return e&&e.length>1&&g(e[0]).sort(e),e},v.parse=r,t.exports=v}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./parser":40}],39:[function(e,t){(function(n){"use strict";t.exports="document"in n?e("./finder"):{parse:e("./parser")}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./finder":38,"./parser":40}],40:[function(e,t){"use strict";var n=/([-.*+?^${}()|[\]\/\\])/g,r=/\\/g,i=function(e){return(e+"").replace(n,"\\$1")},o=function(e){return(e+"").replace(r,"")},s=RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+i(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),a=function a(e){this.combinator=e||" ",this.tag="*"};a.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var u=function u(){this.length=0};u.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,s,c,f,l,h,d,p,m,g,v,y,b){var w,_;if((t||!this.length)&&(w=this[this.length++]=new u,t))return"";if(w||(w=this[this.length-1]),(n||r||!w.length)&&(_=w[w.length++]=new a(n)),_||(_=w[w.length-1]),s)_.tag=o(s);else if(c)_.id=o(c);else if(f){var E=o(f),x=_.classes||(_.classes={});if(!x[E]){x[E]=i(f);var S=_.classList||(_.classList=[]);S.push(E),S.sort()}}else g?(b=b||y,(_.pseudos||(_.pseudos=[])).push({type:1==m.length?"class":"element",name:o(g),escapedName:i(g),value:b?o(b):null,escapedValue:b?i(b):null})):l&&(p=p?i(p):null,(_.attributes||(_.attributes=[])).push({operator:h,name:o(l),escapedName:i(l),value:p?o(p):null,escapedValue:p?i(p):null}));return""},f=function f(e){this.length=0;for(var t=this;e;)e=e.replace(s,function(){return c.apply(t,arguments)})};f.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var l={},h=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),l[e]||(l[e]=new f(e)))};t.exports=h},{}],41:[function(e,t){"use strict";var n=e("mout/array/map"),r=e("slick"),i=e("./base"),o=function(e,t){return function(i){var o=r.parse(i||"*");return i=n(o,function(t){return e+" "+t}).join(", "),this[t](i)}};i.implement({search:function(e){if(1===this.length)return i(r.search(e,this[0],new i));for(var t,n=[],o=0;t=this[o];o++)n.push.apply(n,r.search(e,t));return i(n).sort()},find:function(e){if(1===this.length)return i(r.find(e,this[0]));for(var t,n=[],o=0;t=this[o];o++)n.push(r.find(e,t));return i(n)},sort:function(){return r.sort(this)},matches:function(e){return r.matches(this[0],e)},contains:function(e){return r.contains(this[0],e)},nextSiblings:o("~","search"),nextSibling:o("+","find"),previousSiblings:o("!~","search"),previousSibling:o("!+","find"),children:o(">","search"),firstChild:o("^","find"),lastChild:o("!^","find"),parent:o("!","find"),parents:o("!","search")}),t.exports=i},{"./base":3,"mout/array/map":13,slick:39}]},{},[]),require=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;r.length>s;s++)i(r[s]);
return i}({1:[function(e,t,n){function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);var i=typeof e;if("base64"===t&&"string"===i)for(e=j(e);0!==e.length%4;)e+="=";var o;if("number"===i)o=T(e);else if("string"===i)o=r.byteLength(e,t);else{if("object"!==i)throw Error("First argument needs to be a number, array or string.");o=T(e.length)}var s;r._useTypedArrays?s=I(new Uint8Array(o)):(s=this,s.length=o,s._isBuffer=!0);var a;if(r._useTypedArrays&&"function"==typeof Uint8Array&&e instanceof Uint8Array)s._set(e);else if(M(e))for(a=0;o>a;a++)s[a]=r.isBuffer(e)?e.readUInt8(a):e[a];else if("string"===i)s.write(e,0,t);else if("number"===i&&!r._useTypedArrays&&!n)for(a=0;o>a;a++)s[a]=0;return s}function i(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var s=t.length;H(0===s%2,"Invalid hex string"),i>s/2&&(i=s/2);for(var a=0;i>a;a++){var u=parseInt(t.substr(2*a,2),16);H(!isNaN(u),"Invalid hex string"),e[n+a]=u}return r._charsWritten=2*a,a}function o(e,t,n,i){var o=r._charsWritten=U(B(t),e,n,i);return o}function s(e,t,n,i){var o=r._charsWritten=U(D(t),e,n,i);return o}function a(e,t,n,r){return s(e,t,n,r)}function u(e,t,n,i){var o=r._charsWritten=U(R(t),e,n,i);return o}function c(e,t,n,i){var o=r._charsWritten=U(q(t),e,n,i);return o}function f(e,t,n){return 0===t&&n===e.length?$.fromByteArray(e):$.fromByteArray(e.slice(t,n))}function l(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;n>o;o++)127>=e[o]?(r+=P(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+P(i)}function h(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function d(e,t,n){return h(e,t,n)}function p(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=O(e[o]);return i}function m(e,t,n){for(var r=e.slice(t,n),i="",o=0;r.length>o;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function g(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function v(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(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 y(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=g(e,t,n,!0),s=32768&o;return s?-1*(65535-o+1):o}}function b(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=v(e,t,n,!0),s=2147483648&o;return s?-1*(4294967295-o+1):o}}function w(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+3,"Trying to read beyond buffer length")),G.read(e,t,n,23,4)}function _(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+7,"Trying to read beyond buffer length")),G.read(e,t,n,52,8)}function E(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"trying to write beyond buffer length"),F(t,65535));var o=e.length;if(!(n>=o))for(var s=0,a=Math.min(o-n,2);a>s;s++)e[n+s]=(t&255<<8*(r?s:1-s))>>>8*(r?s:1-s)}function x(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"trying to write beyond buffer length"),F(t,4294967295));var o=e.length;if(!(n>=o))for(var s=0,a=Math.min(o-n,4);a>s;s++)e[n+s]=255&t>>>8*(r?s:3-s)}function S(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"Trying to write beyond buffer length"),W(t,32767,-32768));var o=e.length;n>=o||(t>=0?E(e,t,n,r,i):E(e,65535+t+1,n,r,i))}function A(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),W(t,2147483647,-2147483648));var o=e.length;n>=o||(t>=0?x(e,t,n,r,i):x(e,4294967295+t+1,n,r,i))}function k(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),z(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;n>=o||G.write(e,t,n,r,23,4)}function L(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+7,"Trying to write beyond buffer length"),z(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;n>=o||G.write(e,t,n,r,52,8)}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function I(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=Y.get,e.set=Y.set,e.write=Y.write,e.toString=Y.toString,e.toLocaleString=Y.toString,e.toJSON=Y.toJSON,e.copy=Y.copy,e.slice=Y.slice,e.readUInt8=Y.readUInt8,e.readUInt16LE=Y.readUInt16LE,e.readUInt16BE=Y.readUInt16BE,e.readUInt32LE=Y.readUInt32LE,e.readUInt32BE=Y.readUInt32BE,e.readInt8=Y.readInt8,e.readInt16LE=Y.readInt16LE,e.readInt16BE=Y.readInt16BE,e.readInt32LE=Y.readInt32LE,e.readInt32BE=Y.readInt32BE,e.readFloatLE=Y.readFloatLE,e.readFloatBE=Y.readFloatBE,e.readDoubleLE=Y.readDoubleLE,e.readDoubleBE=Y.readDoubleBE,e.writeUInt8=Y.writeUInt8,e.writeUInt16LE=Y.writeUInt16LE,e.writeUInt16BE=Y.writeUInt16BE,e.writeUInt32LE=Y.writeUInt32LE,e.writeUInt32BE=Y.writeUInt32BE,e.writeInt8=Y.writeInt8,e.writeInt16LE=Y.writeInt16LE,e.writeInt16BE=Y.writeInt16BE,e.writeInt32LE=Y.writeInt32LE,e.writeInt32BE=Y.writeInt32BE,e.writeFloatLE=Y.writeFloatLE,e.writeFloatBE=Y.writeFloatBE,e.writeDoubleLE=Y.writeDoubleLE,e.writeDoubleBE=Y.writeDoubleBE,e.fill=Y.fill,e.inspect=Y.inspect,e.toArrayBuffer=Y.toArrayBuffer,e}function C(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function T(e){return e=~~Math.ceil(+e),0>e?0:e}function N(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function M(e){return N(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function O(e){return 16>e?"0"+e.toString(16):e.toString(16)}function B(e){for(var t=[],n=0;e.length>n;n++){var r=e.charCodeAt(n);if(127>=r)t.push(e.charCodeAt(n));else{var i=n;r>=55296&&57343>=r&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),s=0;o.length>s;s++)t.push(parseInt(o[s],16))}}return t}function D(e){for(var t=[],n=0;e.length>n;n++)t.push(255&e.charCodeAt(n));return t}function q(e){for(var t,n,r,i=[],o=0;e.length>o;o++)t=e.charCodeAt(o),n=t>>8,r=t%256,i.push(r),i.push(n);return i}function R(e){return $.toByteArray(e)}function U(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function P(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function F(e,t){H("number"==typeof e,"cannot write a non-number as a number"),H(e>=0,"specified a negative value for writing an unsigned value"),H(t>=e,"value is larger than maximum value for type"),H(Math.floor(e)===e,"value has a fractional component")}function W(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value"),H(Math.floor(e)===e,"value has a fractional component")}function z(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value")}function H(e,t){if(!e)throw Error(t||"Failed assertion")}var $=e("base64-js"),G=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch((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}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=B(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=R(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},r.concat=function(e,t){if(H(N(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;e.length>n;n++)t+=e[n].length;var i=new r(t),o=0;for(n=0;e.length>n;n++){var s=e[n];s.copy(i,o),o+=s.length}return i},r.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var f=r;r=t,t=n,n=f}t=Number(t)||0;var l=this.length-t;n?(n=Number(n),n>l&&(n=l)):n=l,r=((r||"utf8")+"").toLowerCase();var h;switch(r){case"hex":h=i(this,e,t,n);break;case"utf8":case"utf-8":h=o(this,e,t,n);break;case"ascii":h=s(this,e,t,n);break;case"binary":h=a(this,e,t,n);break;case"base64":h=u(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":h=c(this,e,t,n);break;default:throw Error("Unknown encoding")}return h},r.prototype.toString=function(e,t,n){var r=this;if(e=((e||"utf8")+"").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";var i;switch(e){case"hex":i=p(r,t,n);break;case"utf8":case"utf-8":i=l(r,t,n);break;case"ascii":i=h(r,t,n);break;case"binary":i=d(r,t,n);break;case"base64":i=f(r,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=m(r,t,n);break;default:throw Error("Unknown encoding")}return i},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){H(r>=n,"sourceEnd < sourceStart"),H(t>=0&&e.length>t,"targetStart out of bounds"),H(n>=0&&i.length>n,"sourceStart out of bounds"),H(r>=0&&i.length>=r,"sourceEnd out of bounds"),r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);for(var o=0;r-n>o;o++)e[o+t]=this[o+n]}},r.prototype.slice=function(e,t){var n=this.length;if(e=C(e,n,0),t=C(t,n,n),r._useTypedArrays)return I(this.subarray(e,t));for(var i=t-e,o=new r(i,void 0,!0),s=0;i>s;s++)o[s]=this[s+e];return o},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return g(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return g(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return v(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return v(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),!(e>=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return _(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return _(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"trying to write beyond buffer length"),F(e,255)),t>=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){E(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){E(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){x(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){x(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"Trying to write beyond buffer length"),W(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){S(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){S(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){A(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){A(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){k(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){k(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){L(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){L(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),H("number"==typeof e&&!isNaN(e),"value is not a number"),H(n>=t,"end < start"),n!==t&&0!==this.length){H(t>=0&&this.length>t,"start out of bounds"),H(n>=0&&this.length>=n,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=O(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser")};var Y=r.prototype},{"base64-js":2,ieee754:3}],2:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===s?62:t===a?63:u>t?-1:u+10>t?t-u+26+26:f+26>t?t-f:c+26>t?t-c+26:void 0}function r(t){function n(e){c[l++]=e}var r,i,s,a,u,c;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var f=t.length;u="="===t.charAt(f-2)?2:"="===t.charAt(f-1)?1:0,c=new o(3*t.length/4-u),s=u>0?t.length-4:t.length;var l=0;for(r=0,i=0;s>r;r+=4,i+=3)a=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===u?(a=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&a)):1===u&&(a=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(255&a>>8),n(255&a)),c}function i(e){function t(e){return n.charAt(e)}function r(e){return t(63&e>>18)+t(63&e>>12)+t(63&e>>6)+t(63&e)}var i,o,s,a=e.length%3,u="";for(i=0,s=e.length-a;s>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(a){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(63&o<<4),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(63&o>>4),u+=t(63&o<<2),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array;"0".charCodeAt(0);var s="+".charCodeAt(0),a="/".charCodeAt(0),u="0".charCodeAt(0),c="a".charCodeAt(0),f="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=i})()},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,c=u>>1,f=-7,l=n?i-1:0,h=n?-1:1,d=e[t+l];for(l+=h,o=d&(1<<-f)-1,d>>=-f,f+=a;f>0;o=256*o+e[t+l],l+=h,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=r;f>0;s=256*s+e[t+l],l+=h,f-=8);if(0===o)o=1-c;else{if(o===u)return s?0/0:1/0*(d?-1:1);s+=Math.pow(2,r),o-=c}return(d?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,u,c=8*o-i-1,f=(1<<c)-1,l=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(a=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),1>t*(u=Math.pow(2,-s))&&(s--,u*=2),t+=s+l>=1?h/u:h*Math.pow(2,1-l),t*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(t*u-1)*Math.pow(2,i),s+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;e[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[n+d]=255&s,d+=p,s/=256,c-=8);e[n+d-p]|=128*m}},{}],4:[function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,i,a,u,c;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(n=this._events[e],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(i=arguments.length,a=Array(i-1),u=1;i>u;u++)a[u-1]=arguments[u];n.apply(this,a)}else if(o(n)){for(i=arguments.length,a=Array(i-1),u=1;i>u;u++)a[u-1]=arguments[u];for(c=n.slice(),i=c.length,u=0;i>u;u++)c[u].apply(this,a)}return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(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=s(this._maxListeners)?n.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),console.trace())}return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,s,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],s=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(a=s;a-->0;)if(n[a]===t||n[a].listener&&n[a].listener===t){i=a;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;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(n=this._events[e],r(n))this.removeListener(e,n);else for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?r(e._events[t])?1:e._events[t].length:0}},{}],5:[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 n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],6:[function(e,t){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 n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw Error("process.chdir is not supported")}},{}],7:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;e.length>r;r++)t(e[r],r,e)&&n.push(e[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return i.exec(e).slice(1)};n.resolve=function(){for(var n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(n=s+"/"+n,i="/"===s.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+n||"."},n.normalize=function(e){var i=n.isAbsolute(e),o="/"===s(e,-1);return e=t(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;e.length>t&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),s=Math.min(i.length,o.length),a=s,u=0;s>u;u++)if(i[u]!==o[u]){a=u;break}for(var c=[],u=a;i.length>u;u++)c.push("..");return c=c.concat(o.slice(a)),c.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=o(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=o(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return o(e)[3]};var s="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return 0>t&&(t=e.length+t),e.substr(t,n)}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6}],8:[function(e,t){function n(e){return this instanceof n?(s.call(this,e),a.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),this.once("end",r),void 0):new n(e)}function r(){if(!this.allowHalfOpen&&!this._writableState.ended){var e=this;o(function(){e.end()})}}t.exports=n;var i=e("inherits"),o=e("process/browser.js").nextTick,s=e("./readable.js"),a=e("./writable.js");i(n,s),n.prototype.write=a.prototype.write,n.prototype.end=a.prototype.end,n.prototype._write=a.prototype._write},{"./readable.js":12,"./writable.js":14,inherits:5,"process/browser.js":10}],9:[function(e,t){function n(){r.call(this)}t.exports=n;var r=e("events").EventEmitter,i=e("inherits");i(n,r),n.Readable=e("./readable.js"),n.Writable=e("./writable.js"),n.Duplex=e("./duplex.js"),n.Transform=e("./transform.js"),n.PassThrough=e("./passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&c.pause&&c.pause()}function i(){c.readable&&c.resume&&c.resume()}function o(){f||(f=!0,e.end())}function s(){f||(f=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){c.removeListener("data",n),e.removeListener("drain",i),c.removeListener("end",o),c.removeListener("close",s),c.removeListener("error",a),e.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),e.removeListener("close",u)}var c=this;c.on("data",n),e.on("drain",i),e._isStdio||t&&t.end===!1||(c.on("end",o),c.on("close",s));var f=!1;return c.on("error",a),e.on("error",a),c.on("end",u),c.on("close",u),e.on("close",u),e.emit("pipe",c),e}},{"./duplex.js":8,"./passthrough.js":11,"./readable.js":12,"./transform.js":13,"./writable.js":14,events:4,inherits:5}],10:[function(e,t){t.exports=e(6)},{}],11:[function(e,t){function n(e){return this instanceof n?(r.call(this,e),void 0):new n(e)}t.exports=n;var r=e("./transform.js"),i=e("inherits");i(n,r),n.prototype._transform=function(e,t,n){n(null,e)}},{"./transform.js":13,inherits:5}],12:[function(e,t){(function(n){function r(t){t=t||{};var n=t.highWaterMark;this.highWaterMark=n||0===n?n: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&&(x||(x=e("string_decoder").StringDecoder),this.decoder=new x(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,A.call(this),void 0):new i(e)}function o(e,t,n,r,i){var o=c(t,n);if(o)e.emit("error",o);else if(null===n||void 0===n)t.reading=!1,t.ended||f(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var a=Error("stream.unshift() after end event");e.emit("error",a)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function a(e){if(e>=I)e=I;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=a(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function c(e,t){var n=null;return k.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||n||(n=new TypeError("Invalid non-string/buffer chunk")),n}function f(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):w(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?L(function(){h(e)}):h(e))}function h(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,L(function(){p(e,t)}))}function p(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&g(e)}}function g(e){function t(e){var t=e.write(n);!1===t&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):_(r.pipes,t),e.emit("data",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,S.listenerCount(e,"data")>0&&y(e),void 0):(r.ranOut=!0,void 0)}function v(){this._readableState.ranOut&&(this._readableState.ranOut=!1,g(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,i=!1;e.readable=!0,e.pipe=A.prototype.pipe,e.on=e.addListener=A.prototype.on,e.on("readable",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,i?L(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,s=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(s)n=r.shift();else if(!e||e>=i)n=o?r.join(""):k.concat(r,i),r.length=0;else if(r[0].length>e){var a=r[0];n=a.slice(0,e),r[0]=a.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?"":new k(e);for(var u=0,c=0,f=r.length;f>c&&e>u;c++){var a=r[0],l=Math.min(e-u,a.length);o?n+=a.slice(0,l):a.copy(n,u,0,l),a.length>l?r[0]=a.slice(l):r.shift(),u+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,L(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function _(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function E(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i,i.ReadableState=r;var x,S=e("events").EventEmitter,A=e("./index.js"),k=e("buffer").Buffer,L=e("process/browser.js").nextTick,j=e("inherits");j(i,A),i.prototype.push=function(e,t){var n=this._readableState;return"string"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new k(e,t),t="")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){x||(x=e("string_decoder").StringDecoder),this._readableState.decoder=new x(t),this._readableState.encoding=t};var I=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;t.length-e<=t.highWaterMark&&(r=!0),(t.ended||t.reading)&&(r=!1),r&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=u(n,t));var i;return i=e>0?b(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",Error("not implemented"))},i.prototype.pipe=function(e,t){function r(e){e===f&&o()}function i(){e.end()}function o(){e.removeListener("close",a),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",s),e.removeListener("unpipe",r),f.removeListener("end",i),f.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function s(t){c(),0===y&&0===S.listenerCount(e,"error")&&e.emit("error",t)}function a(){e.removeListener("finish",u),c()}function u(){e.removeListener("close",a),c()}function c(){f.unpipe(e)}var f=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1;
var h=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,d=h?i:o;l.endEmitted?L(d):f.once("end",d),e.on("unpipe",r);var p=m(f);e.on("drain",p);var y=S.listenerCount(e,"error");return e.once("error",s),e.once("close",a),e.once("finish",u),e.emit("pipe",f),l.flowing||(this.on("readable",v),l.flowing=!0,L(function(){g(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",v),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",v),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=E(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 n=A.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){y(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&this[i]===void 0&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return _(o,function(t){e.on(t,function(e){return r.emit.apply(r,t,e)})}),r._read=function(){n&&(n=!1,e.resume())},r},i._fromList=b}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./index.js":9,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:1,events:4,inherits:5,"process/browser.js":10,string_decoder:15}],13:[function(e,t){function n(e,t){this.afterTransform=function(e,n){return r(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function r(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),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);s.call(this,e),this._transformState=new n(e,this);var t=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 n=e._writableState;e._readableState;var r=e._transformState;if(n.length)throw Error("calling transform done when ws.length != 0");if(r.transforming)throw Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var s=e("./duplex.js"),a=e("inherits");a(i,s),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw Error("not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./duplex.js":8,inherits:5}],14:[function(e,t){function n(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function r(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(t,e)},this.writecb=null,this.writelen=0,this.buffer=[]}function i(e){return this instanceof i||this instanceof E.Duplex?(this._writableState=new r(e,this),this.writable=!0,E.call(this),void 0):new i(e)}function o(e,t,n){var r=Error("write after end");e.emit("error",r),x(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),x(function(){r(o)}),i=!1}return i}function a(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new S(t,n)),t}function u(e,t,r,i,o){r=a(t,r,i);var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;return t.needDrain=!u,t.writing?t.buffer.push(new n(r,i,o)):c(e,t,s,r,i,o),u}function c(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function f(e,t,n,r,i){n?x(function(){i(r)}):i(r),e.emit("error",r)}function l(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(l(n),t)f(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||m(e,n),r?x(function(){d(e,n,o,i)}):d(e,n,o,i)}}function d(e,t,n,r){n||p(e,t),r(),n&&v(e,t)}function p(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function m(e,t){t.bufferProcessing=!0;for(var n=0;t.buffer.length>n;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,s=r.callback,a=t.objectMode?1:i.length;if(c(e,t,a,i,o,s),t.writing){n++;break}}t.bufferProcessing=!1,t.buffer.length>n?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function v(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit("finish")),n}function y(e,t,n){t.ending=!0,v(e,t),n&&(t.finished?x(n):e.once("finish",n)),t.ended=!0}t.exports=i,i.WritableState=r;var b="undefined"!=typeof Uint8Array?function(e){return e instanceof Uint8Array}:function(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name},w="undefined"!=typeof ArrayBuffer?function(e){return e instanceof ArrayBuffer}:function(e){return e&&e.constructor&&"ArrayBuffer"===e.constructor.name},_=e("inherits"),E=e("./index.js"),x=e("process/browser.js").nextTick,S=e("buffer").Buffer;_(i,E),i.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},i.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),!S.isBuffer(e)&&b(e)&&(e=new S(e)),w(e)&&"undefined"!=typeof Uint8Array&&(e=new S(new Uint8Array(e))),S.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=function(){}),r.ended?o(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},i.prototype._write=function(e,t,n){n(Error("not implemented"))},i.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),e!==void 0&&null!==e&&this.write(e,t),r.ending||r.finished||y(this,r,n)}},{"./index.js":9,buffer:1,inherits:5,"process/browser.js":10}],15:[function(e,t,n){function r(e){if(e&&!a.isEncoding(e))throw 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 s(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var a=e("buffer").Buffer,u=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(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=s;break;default:return this.write=i,void 0}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="",n=0;this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,n,r),this.charReceived+=r-n,n=r,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,r==e.length)return t;e=e.slice(r,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),s=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,s),this.charReceived=o,s-=o),t+=e.toString(this.encoding,0,s);var s=t.length-1,i=t.charCodeAt(s);if(i>=55296&&56319>=i){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,s)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&6==n>>5){this.charLength=2;break}if(2>=t&&14==n>>4){this.charLength=3;break}if(3>=t&&30==n>>3){this.charLength=4;break}}return t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:1}],16:[function(e,t){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],17:[function(e,t,n){(function(t,r){function i(e,t){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(t)?r.showHidden=t:t&&n._extend(r,t),_(r.showHidden)&&(r.showHidden=!1),_(r.depth)&&(r.depth=2),_(r.colors)&&(r.colors=!1),_(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e){return e}function a(e){var t={};return e.forEach(function(e){t[e]=!0}),t}function u(e,t,r){if(e.customInspect&&t&&k(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return b(i)||(i=u(e,i,r)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),A(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(t);if(0===s.length){if(k(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(E(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(S(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return f(t)}var v="",y=!1,w=["{","}"];if(p(t)&&(y=!0,w=["[","]"]),k(t)){var _=t.name?": "+t.name:"";v=" [Function"+_+"]"}if(E(t)&&(v=" "+RegExp.prototype.toString.call(t)),S(t)&&(v=" "+Date.prototype.toUTCString.call(t)),A(t)&&(v=" "+f(t)),0===s.length&&(!y||0==t.length))return w[0]+v+w[1];if(0>r)return E(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var x;return x=y?l(e,t,r,m,s):s.map(function(n){return h(e,t,r,m,n,y)}),e.seen.pop(),d(x,v,w)}function c(e,t){if(_(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,n,r,i){for(var o=[],s=0,a=t.length;a>s;++s)T(t,s+"")?o.push(h(e,t,n,r,s+"",!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))}),o}function h(e,t,n,r,i,o){var s,a,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),T(r,i)||(s="["+i+"]"),a||(0>e.seen.indexOf(c.value)?(a=g(n)?u(e,c.value,null):u(e,c.value,n-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),_(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function d(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function p(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return null==e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function w(e){return"symbol"==typeof e}function _(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===j(e)}function x(e){return"object"==typeof e&&null!==e}function S(e){return x(e)&&"[object Date]"===j(e)}function A(e){return x(e)&&("[object Error]"===j(e)||e instanceof Error)}function k(e){return"function"==typeof e}function L(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||e===void 0}function j(e){return Object.prototype.toString.call(e)}function I(e){return 10>e?"0"+e.toString(10):e.toString(10)}function C(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":");return[e.getDate(),B[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var N=/%[sdj%]/g;n.format=function(e){if(!b(e)){for(var t=[],n=0;arguments.length>n;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,s=(e+"").replace(N,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return r[n++]+"";case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),a=r[n];o>n;a=r[++n])s+=g(a)||!x(a)?" "+a:" "+i(a);return s},n.deprecate=function(e,i){function o(){if(!s){if(t.throwDeprecation)throw Error(i);t.traceDeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}if(_(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(t.noDeprecation===!0)return e;var s=!1;return o};var M,O={};n.debuglog=function(e){if(_(M)&&(M=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!O[e])if(RegExp("\\b"+e+"\\b","i").test(M)){var r=t.pid;O[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else O[e]=function(){};return O[e]},n.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=p,n.isBoolean=m,n.isNull=g,n.isNullOrUndefined=v,n.isNumber=y,n.isString=b,n.isSymbol=w,n.isUndefined=_,n.isRegExp=E,n.isObject=x,n.isDate=S,n.isError=A,n.isFunction=k,n.isPrimitive=L,n.isBuffer=e("./support/isBuffer");var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",C(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":16,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,inherits:5}],tape:[function(e,t){t.exports=e("ttTIws")},{}],ttTIws:[function(e,t,n){(function(r){function i(e){e||(e={});var t=o({autoclose:s(e.autoclose,!1)}),n=t.createStream({objectMode:e.objectMode}),i=n.pipe(e.stream||a());l&&i.on("error",function(){t._exitCode=1});var u=!1;if(n.on("end",function(){u=!0}),e.exit===!1)return t;if(!l||!h)return t;var c;return r.on("uncaughtException",function(e){if(!e||"EPIPE"!==e.code||"EPIPE"!==e.errno||"write"!==e.syscall)throw c=e,e}),r.on("exit",function(e){if(!c){if(!u)for(var n=t._results._only,i=0;t._tests.length>i;i++){var o=t._tests[i];n&&o.name!==n||o._exit()}t.close(),r.exit(e||t._exitCode)}}),t}function o(e){e||(e={});var t=c();e.autoclose!==!1&&t.once("done",function(){t.close()});var n=function(e,r,i){var o=new u(e,r,i);return n._tests.push(o),function s(e){e.on("test",function(e){s(e)}),e.on("result",function(e){e.ok||(n._exitCode=1)})}(o),t.push(o),o};n._results=t,n._tests=[],n.createStream=function(e){return t.createStream(e)};var r=!1;return n.only=function(e){if(r)throw Error("there can only be one only test");return t.only(e),r=!0,n.apply(null,arguments)},n._exitCode=0,n.close=function(){t.close()},n}var s=e("defined"),a=e("./lib/default_stream"),u=e("./lib/test"),c=e("./lib/results"),f=e("through"),l=r!==void 0&&r&&"function"==typeof r.on,h=r!==void 0&&r&&"function"==typeof r.exit;"undefined"!=typeof setImmediate?setImmediate:r.nextTick,n=t.exports=function(){function e(e){return e||(e={}),e.autoclose=!l,t||(t=i(e)),t}var t,n=function(){return e().apply(this,arguments)};return n.only=function(){return e().only.apply(this,arguments)},n.createStream=function(n){if(n||(n={}),!t){var r=f();return e({stream:r,objectMode:n.objectMode}),r}return t.createStream(n)},n}(),n.createHarness=o,n.Test=u,n.test=n}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./lib/default_stream":20,"./lib/results":21,"./lib/test":22,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,defined:26,through:30}],20:[function(e,t){var n=e("through");t.exports=function(){function e(e){for(var n=0;e.length>n;n++){var i="string"==typeof e?e.charAt(n):String.fromCharCode(e[n]);"\n"===i?t():r+=i}}function t(){try{console.log(r)}catch(e){i.emit("error",e)}r=""}var r="",i=n(e,t);return i}},{through:30}],21:[function(e,t){(function(n){function r(){return this instanceof r?(this.count=0,this.fail=0,this.pass=0,this._stream=c(),this.tests=[],void 0):new r}function i(e,t){var n="";if(n+=(e.ok?"ok ":"not ok ")+t,n+=e.name?" "+(""+e.name).replace(/\s+/g," "):"",e.skip?n+=" # SKIP":e.todo&&(n+=" # TODO"),n+="\n",e.ok)return n;var r=" ",i=r+" ";if(n+=r+"---\n",n+=i+"operator: "+e.operator+"\n",s(e,"expected")||s(e,"actual")){var o=l(e.expected),a=l(e.actual);Math.max(o.length,a.length)>65?(n+=i+"expected:\n"+i+" "+o+"\n",n+=i+"actual:\n"+i+" "+a+"\n"):(n+=i+"expected: "+o+"\n",n+=i+"actual: "+a+"\n")}if(e.at&&(n+=i+"at: "+e.at+"\n"),"error"===e.operator&&e.actual&&e.actual.stack){var u=(e.actual.stack+"").split("\n");n+=i+"stack:\n",n+=i+" "+u[0]+"\n";for(var c=1;u.length>c;c++)n+=i+u[c]+"\n"}return n+=r+"...\n"}function o(e){if(!e._only)return e.tests.shift();do{var t=e.tests.shift();if(t&&e._only===t.name)return t}while(0!==e.tests.length)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var a=e("events").EventEmitter,u=e("inherits"),c=e("through"),f=e("resumer"),l=e("object-inspect"),h="undefined"!=typeof setImmediate?setImmediate:n.nextTick;t.exports=r,u(r,a),r.prototype.createStream=function(e){e||(e={});var t,n=this,r=0;return e.objectMode?(t=c(),n.on("_push",function i(e,n){n||(n={});var o=r++;e.once("prerun",function(){var r={type:"test",name:e.name,id:o};n.parent&&(r.parent=n.parent),t.queue(r)}),e.on("test",function(e){i(e,{parent:o})}),e.on("result",function(e){e.test=o,e.type="assert",t.queue(e)}),e.on("end",function(){t.queue({type:"end",test:o})})}),n.on("done",function(){t.queue(null)})):(t=f(),t.queue("TAP version 13\n"),n._stream.pipe(t)),h(function s(){for(var e;e=o(n);)if(e.run(),!e.ended)return e.once("end",function(){h(s)});n.emit("done")}),t},r.prototype.push=function(e){var t=this;t.tests.push(e),t._watch(e),t.emit("_push",e)},r.prototype.only=function(e){this._only&&(self.count++,self.fail++,write("not ok "+self.count+" already called .only()\n")),this._only=e},r.prototype._watch=function(e){var t=this,n=function(e){t._stream.queue(e)};e.once("prerun",function(){n("# "+e.name+"\n")}),e.on("result",function(e){return"string"==typeof e?(n("# "+e+"\n"),void 0):(n(i(e,t.count+1)),t.count++,e.ok?t.pass++:t.fail++,void 0)}),e.on("test",function(e){t._watch(e)})},r.prototype.close=function(){var e=this;e.closed&&e._stream.emit("error",Error("ALREADY CLOSED")),e.closed=!0;var t=function(t){e._stream.queue(t)};t("\n1.."+e.count+"\n"),t("# tests "+e.count+"\n"),t("# pass "+e.pass+"\n"),e.fail?t("# fail "+e.fail+"\n"):t("\n# ok\n"),e._stream.queue(null)}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,events:4,inherits:27,"object-inspect":28,resumer:29,through:30}],22:[function(e,t){(function(n,r){function i(){for(var e,t=this,n="(anonymous)",r={},o=0;arguments.length>o;o++)switch(typeof arguments[o]){case"string":n=arguments[o];break;case"object":r=arguments[o]||r;break;case"function":e=arguments[o]}this.readable=!0,this.name=n||"(anonymous)",this.assertCount=0,this.pendingCount=0,this._skip=r.skip||!1,this._plan=void 0,this._cb=e,this._progeny=[],this._ok=!0,this.end=function(){return i.prototype.end.apply(t,arguments)}}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e("stream");var s=e("deep-equal"),a=e("defined"),u=e("path"),c=e("util").inherits,f=e("events").EventEmitter;t.exports=i;var l="undefined"!=typeof setImmediate?setImmediate:n.nextTick;c(i,f),i.prototype.run=function(){if(!this._cb||this._skip)return this._end();this.emit("prerun");try{this._cb(this)}catch(e){return this.error(e),this._end(),void 0}this.emit("run")},i.prototype.test=function(e,t,n){var r=this,o=new i(e,t,n);this._progeny.push(o),this.pendingCount++,this.emit("test",o),o.on("prerun",function(){r.assertCount++}),r._pendingAsserts()||l(function(){r._end()}),l(function(){r._plan||r.pendingCount!=r._progeny.length||r._end()})},i.prototype.comment=function(e){this.emit("result",e.trim().replace(/^#\s*/,""))},i.prototype.plan=function(e){this._plan=e,this.emit("plan",e)},i.prototype.end=function(e){arguments.length>=1&&this.ifError(e),this.calledEnd&&this.fail(".end() called twice"),this.calledEnd=!0,this._end()},i.prototype._end=function(){var e=this;if(this._progeny.length){var t=this._progeny.shift();return t.on("end",function(){e._end()}),t.run(),void 0}this.ended||this.emit("end");var n=this._pendingAsserts();!this._planError&&void 0!==this._plan&&n&&(this._planError=!0,this.fail("plan != count",{expected:this._plan,actual:this.assertCount})),this.ended=!0},i.prototype._exit=function(){void 0===this._plan||this._planError||this.assertCount===this._plan?this.ended||this.fail("test exited without ending",{exiting:!0}):(this._planError=!0,this.fail("plan != count",{expected:this._plan,actual:this.assertCount,exiting:!0}))},i.prototype._pendingAsserts=function(){return void 0===this._plan?1:this._plan-(this._progeny.length+this.assertCount)},i.prototype._assert=function(e,t){var n=this,i=t.extra||{},s={id:n.assertCount++,ok:Boolean(e),skip:a(i.skip,t.skip),name:a(i.message,t.message,"(unnamed assert)"),operator:a(i.operator,t.operator)};(o(t,"actual")||o(i,"actual"))&&(s.actual=a(i.actual,t.actual)),(o(t,"expected")||o(i,"expected"))&&(s.expected=a(i.expected,t.expected)),this._ok=Boolean(this._ok&&e),e||(s.error=a(i.error,t.error,Error(s.name)));for(var c=Error("exception"),f=(c.stack||"").split("\n"),h=u.dirname(r)+"/",d=0;f.length>d;d++){var p=/^\s*\bat\s+(.+)/.exec(f[d]);if(p){var m=p[1].split(/\s+/),g=/(\/[^:\s]+:(\d+)(?::(\d+))?)/.exec(m[1]);if((g||(g=/(\/[^:\s]+:(\d+)(?::(\d+))?)/.exec(m[3])))&&g[1].slice(0,h.length)!==h){s.functionName=m[0],s.file=g[1],s.line=Number(g[2]),g[3]&&(s.column=g[3]),s.at=p[1];break}}}n.emit("result",s);var v=n._pendingAsserts();v||(i.exiting?n._end():l(function(){n._end()})),!n._planError&&0>v&&(n._planError=!0,n.fail("plan != count",{expected:n._plan,actual:n._plan-v}))},i.prototype.fail=function(e,t){this._assert(!1,{message:e,operator:"fail",extra:t})},i.prototype.pass=function(e,t){this._assert(!0,{message:e,operator:"pass",extra:t})},i.prototype.skip=function(e,t){this._assert(!0,{message:e,operator:"skip",skip:!0,extra:t})},i.prototype.ok=i.prototype["true"]=i.prototype.assert=function(e,t,n){this._assert(e,{message:t,operator:"ok",expected:!0,actual:e,extra:n})},i.prototype.notOk=i.prototype["false"]=i.prototype.notok=function(e,t,n){this._assert(!e,{message:t,operator:"notOk",expected:!1,actual:e,extra:n})},i.prototype.error=i.prototype.ifError=i.prototype.ifErr=i.prototype.iferror=function(e,t,n){this._assert(!e,{message:a(t,e+""),operator:"error",actual:e,extra:n})},i.prototype.equal=i.prototype.equals=i.prototype.isEqual=i.prototype.is=i.prototype.strictEqual=i.prototype.strictEquals=function(e,t,n,r){this._assert(e===t,{message:a(n,"should be equal"),operator:"equal",actual:e,expected:t,extra:r})},i.prototype.notEqual=i.prototype.notEquals=i.prototype.notStrictEqual=i.prototype.notStrictEquals=i.prototype.isNotEqual=i.prototype.isNot=i.prototype.not=i.prototype.doesNotEqual=i.prototype.isInequal=function(e,t,n,r){this._assert(e!==t,{message:a(n,"should not be equal"),operator:"notEqual",actual:e,notExpected:t,extra:r})},i.prototype.deepEqual=i.prototype.deepEquals=i.prototype.isEquivalent=i.prototype.same=function(e,t,n,r){this._assert(s(e,t,{strict:!0}),{message:a(n,"should be equivalent"),operator:"deepEqual",actual:e,expected:t,extra:r})},i.prototype.deepLooseEqual=i.prototype.looseEqual=i.prototype.looseEquals=function(e,t,n,r){this._assert(s(e,t),{message:a(n,"should be equivalent"),operator:"deepLooseEqual",actual:e,expected:t,extra:r})},i.prototype.notDeepEqual=i.prototype.notEquivalent=i.prototype.notDeeply=i.prototype.notSame=i.prototype.isNotDeepEqual=i.prototype.isNotDeeply=i.prototype.isNotEquivalent=i.prototype.isInequivalent=function(e,t,n,r){this._assert(!s(e,t,{strict:!0}),{message:a(n,"should not be equivalent"),operator:"notDeepEqual",actual:e,notExpected:t,extra:r})},i.prototype.notDeepLooseEqual=i.prototype.notLooseEqual=i.prototype.notLooseEquals=function(e,t,n,r){this._assert(s(e,t),{message:a(n,"should be equivalent"),operator:"notDeepLooseEqual",actual:e,expected:t,extra:r})},i.prototype["throws"]=function(e,t,n,r){"string"==typeof t&&(n=t,t=void 0);var i=void 0;try{e()}catch(o){i={error:o};var s=o.message;delete o.message,o.message=s}var u=i;t instanceof RegExp&&(u=t.test(i&&i.error),t+=""),this._assert(u,{message:a(n,"should throw"),operator:"throws",actual:i&&i.error,expected:t,error:!u&&i&&i.error,extra:r})},i.prototype.doesNotThrow=function(e,t,n,r){"string"==typeof t&&(n=t,t=void 0);var i=void 0;try{e()}catch(o){i={error:o}}this._assert(!i,{message:a(n,"should not throw"),operator:"throws",actual:i&&i.error,expected:t,error:i&&i.error,extra:r})}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"/lib")},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,"deep-equal":23,defined:26,events:4,path:7,stream:9,util:17}],23:[function(e,t){function n(e){return null===e||void 0===e}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length?"function"!=typeof e.copy||"function"!=typeof e.slice?!1:e.length>0&&"number"!=typeof e[0]?!1:!0:!1}function i(e,t,i){var c,f;if(n(e)||n(t))return!1;if(e.prototype!==t.prototype)return!1;if(a(e))return a(t)?(e=o.call(e),t=o.call(t),u(e,t,i)):!1;if(r(e)){if(!r(t))return!1;if(e.length!==t.length)return!1;for(c=0;e.length>c;c++)if(e[c]!==t[c])return!1;return!0}try{var l=s(e),h=s(t)}catch(d){return!1}if(l.length!=h.length)return!1;for(l.sort(),h.sort(),c=l.length-1;c>=0;c--)if(l[c]!=h[c])return!1;for(c=l.length-1;c>=0;c--)if(f=l[c],!u(e[f],t[f],i))return!1;return!0}var o=Array.prototype.slice,s=e("./lib/keys.js"),a=e("./lib/is_arguments.js"),u=t.exports=function(e,t,n){return n||(n={}),e===t?!0:e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n)}},{"./lib/is_arguments.js":24,"./lib/keys.js":25}],24:[function(e,t,n){function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function i(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();n=t.exports=o?r:i,n.supported=r,n.unsupported=i},{}],25:[function(e,t,n){function r(e){var t=[];for(var n in e)t.push(n);return t}n=t.exports="function"==typeof Object.keys?Object.keys:r,n.shim=r},{}],26:[function(e,t){t.exports=function(){for(var e=0;arguments.length>e;e++)if(void 0!==arguments[e])return arguments[e]}},{}],27:[function(e,t){t.exports=e(5)},{}],28:[function(e,t){function n(e){return(e+"").replace(/"/g,"&quot;")}function r(e){return"[object Array]"==={}.toString.call(e)}function i(e){return"[object Date]"==={}.toString.call(e)}function o(e){return"[object RegExp]"==={}.toString.call(e)}function s(e,t){return{}.hasOwnProperty?{}.hasOwnProperty.call(e,t):t in e}function a(e){if(e.name)return e.name;var t=(""+e).match(/^function\s*([\w$]+)/);return t?t[1]:void 0}function u(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function c(e){return e&&"object"==typeof e?"undefined"!=typeof HTMLElement?e instanceof HTMLElement:"string"==typeof e.nodeName&&"function"==typeof e.getAttribute:!1}t.exports=function f(e,t,l,h){function d(e,n){return n&&(h=h.slice(),h.push(n)),f(e,t,l+1,h)}t||(t={});var p=void 0===t.depth?5:t.depth;if(void 0===l&&(l=0),l>p&&p>0)return"...";if(void 0===h)h=[];else if(u(h,e)>=0)return"[Circular]";if("string"==typeof e)return"'"+e.replace(/(['\\])/g,"\\$1")+"'";if("function"==typeof e){var m=a(e);return"[Function"+(m?": "+m:"")+"]"}if(null===e)return"null";if(c(e)){for(var g="<"+(e.nodeName+"").toLowerCase(),v=e.attributes||[],y=0;v.length>y;y++)g+=" "+v[y].name+'="'+n(v[y].value)+'"';return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+(e.tagName+"").toLowerCase()+">"}if(r(e)){if(0===e.length)return"[]";for(var b=Array(e.length),y=0;e.length>y;y++)b[y]=s(e,y)?d(e[y],e):"";return"[ "+b.join(", ")+" ]"}if("object"==typeof e&&"function"==typeof e.inspect)return e.inspect();if("object"!=typeof e||i(e)||o(e))return e+"";var b=[],w=[];for(var _ in e)s(e,_)&&w.push(_);w.sort();for(var y=0;w.length>y;y++){var _=w[y];/[^\w$]/.test(_)?b.push(d(_)+": "+d(e[_],e)):b.push(_+": "+d(e[_],e))}return 0===b.length?"{}":"{ "+b.join(", ")+" }"}},{}],29:[function(e,t){(function(n){var r=e("through"),i="undefined"!=typeof setImmediate?setImmediate:n.nextTick;t.exports=function(e,t){var n=r(e,t);n.pause();var o=n.resume,s=n.pause,a=!1;return n.pause=function(){return a=!0,s.apply(this,arguments)},n.resume=function(){return a=!1,o.apply(this,arguments)},i(function(){a||n.resume()}),n}
}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,through:30}],30:[function(e,t,n){(function(r){function i(e,t,n){function i(){for(;c.length&&!l.paused;){var e=c.shift();if(null===e)return l.emit("end");l.emit("data",e)}}function s(){l.writable=!1,t.call(l),!l.readable&&l.autoDestroy&&l.destroy()}e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var a=!1,u=!1,c=[],f=!1,l=new o;return l.readable=l.writable=!0,l.paused=!1,l.autoDestroy=!(n&&n.autoDestroy===!1),l.write=function(t){return e.call(this,t),!l.paused},l.queue=l.push=function(e){return f?l:(null==e&&(f=!0),c.push(e),i(),l)},l.on("end",function(){l.readable=!1,!l.writable&&l.autoDestroy&&r.nextTick(function(){l.destroy()})}),l.end=function(e){return a?void 0:(a=!0,arguments.length&&l.write(e),s(),l)},l.destroy=function(){return u?void 0:(u=!0,a=!0,c.length=0,l.writable=l.readable=!1,l.emit("close"),l)},l.pause=function(){return l.paused?void 0:(l.paused=!0,l)},l.resume=function(){return l.paused&&(l.paused=!1,l.emit("resume")),i(),l.paused||l.emit("drain"),l},l}var o=e("stream");n=t.exports=i,i.through=i}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,stream:9}]},{},[]),require=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;r.length>s;s++)i(r[s]);return i}({oAq0Vd:[function(e,t){function n(e){return"string"!=typeof e&&(e+=""),0===e.indexOf("ok")?(s+=1,void 0):0===e.indexOf("not ok")?(o+=1,void 0):void 0}function r(){var e=document.body.style;e.backgroundColor=o>0?i.FAILING:s>0&&0===o?i.PASSING:i.PENDING}t.exports=function(){var e=console.log,t=document.body.appendChild(document.createElement("pre"));return r(),console.log=function(i){n(i),r(),e.apply(console,arguments),t.innerHTML+=i+"\n"},function(){console.log=e}};var i=t.exports.colors={PENDING:"#FCD62A",FAILING:"#F28E82",PASSING:"#8ECA6C"},o=0,s=0},{}],"tap-browser-color":[function(e,t){t.exports=e("oAq0Vd")},{}]},{},[]);var elements=require("elements"),test=require("tape"),tbc=require("tap-browser-color")();test("removes duplicate classes",function(e){var t="one two \n three \n three",n=document.createElement("div");n.className=t,e.ok(n.className===t,t),elements(n).addClass("three"),e.ok(n.className!==t,n.className),n.className=t,e.ok(n.className===t,t),elements(n).removeClass("three"),e.ok("one two"===n.className,n.className),e.end()});
{
"name": "requirebin-sketch",
"version": "1.0.0",
"dependencies": {
"elements": "0.3.1",
"tape": "2.10.2",
"tap-browser-color": "0.1.2"
}
}
<style type='text/css'>html, body { margin: 0; padding: 0; border: 0; }
body, html { height: 100%; width: 100%; }</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment