jskit_rails 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1c5ceb1282f884afb103b90971ec7c96a3a87b9
4
- data.tar.gz: 8427b3b7d48e236db8b1d5b56184c4155591530a
3
+ metadata.gz: 2571d258bcc0ea0ab632c9c2ee3ef63336a9477f
4
+ data.tar.gz: da8c5f33c5cff1b1bb37d28af798de5fb5eabfbc
5
5
  SHA512:
6
- metadata.gz: 2ef8e8c4273d76f40fadf6edd26832408dc81bc086f01cea6ee57d9560440e907012f2914fd953e4ad0095ac7515f7d1ed42443aaacb262f25e73f778b0fd283
7
- data.tar.gz: 80d843d48fe4f12555b874f7c92cd6deb41264aec40ed99856ff78156c6f11388a795578eff6231c0c048f8495d5495e7b0cd7bb67f0b8f6daf59edce4a93a03
6
+ metadata.gz: 82b14bdb313d5e2601a099a24cb088bf7516e15827ed45917eba2b7675346e9fcc391acfd3827564fadaa7eba526fac362fd2e22c6fc58b21a435a41e0f348dd
7
+ data.tar.gz: 24a59beb7d05c419cc3046c13ac17c8852014b48322de9cfdf756000e3259b2794c23c74db0cdf63014a2d8013769d10f1975235fcd132c66ff6ce0702cf08e7
data/README.md CHANGED
@@ -52,4 +52,4 @@ Everything passed to `set_payload` will be converted to json for you (via `to_js
52
52
  App.Dispatcher.trigger("controller:pages:index", "foo", [1, 2, 3], { "some": "object" });
53
53
  ```
54
54
 
55
- Here is an example application using `jskit_rails`: [jskit-rails-example](https://github.com/daytonn/jskit-rails-example)
55
+ Here is an example application using `jskit_rails`: [jskit_rails-example](https://github.com/daytonn/jskit_rails-example)
@@ -40,11 +40,12 @@ function Application() {
40
40
  @param attributes {Object} Attributes to assign to the new Controller
41
41
  @return {Controller} new Controller instance
42
42
  */
43
- function createControllerInstance(attributes) {
43
+ function createControllerInstance(attributes, name) {
44
44
  function Controller() { BaseController.call(this); }
45
45
  Controller.prototype = Object.create(BaseController.prototype);
46
46
  Controller.prototype.constructor = Controller;
47
47
  _.extend(Controller.prototype, attributes);
48
+ this[name + "Controller"] = Controller;
48
49
  return new Controller;
49
50
  }
50
51
 
@@ -64,11 +65,15 @@ function registerControllerActions(controller, actions, name, namespace) {
64
65
  throw new Error("'" + name + "' Controller has an action '" + action + "' defined with no corresponding method");
65
66
  }
66
67
 
67
- var eventName = _([namespace, "controller", name.toLowerCase(), action]).compact().join(":");
68
+ var eventName = _([namespace, "controller", underscoreName(name), action]).compact().join(":");
68
69
  this.Dispatcher.on(eventName, controller[action], controller);
69
70
  }, this);
70
71
  }
71
72
 
73
+ function underscoreName(name) {
74
+ return name.replace(/([A-Z])/g, " $1").replace(/^\s?/, '').replace(/-|\s/g, "_").toLowerCase();
75
+ }
76
+
72
77
  /**
73
78
  Register application controller actions with the Dispatcher.
74
79
 
@@ -94,7 +99,7 @@ function registerApplicationControllerActions(controller, namespace) {
94
99
  @return {Controller}
95
100
  */
96
101
  def(Application, 'createController', function(name, attributes) {
97
- var controller = createControllerInstance(attributes);
102
+ var controller = createControllerInstance.call(this, attributes, name);
98
103
  _.bindAll.apply(controller, [controller].concat(_.functions(controller)));
99
104
  registerControllerActions.call(this, controller, attributes.actions, name, attributes.namespace);
100
105
  if (name.match(/^Application$/i)) registerApplicationControllerActions.call(this, controller, attributes.namespace);
@@ -160,7 +165,7 @@ global.JSKit = {
160
165
  }
161
166
  };
162
167
 
163
- }).call(this,require("1YiZ5S"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_73f3058a.js","/")
168
+ }).call(this,require("1YiZ5S"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_adfdad7f.js","/")
164
169
  },{"./application":1,"1YiZ5S":10,"buffer":7}],4:[function(require,module,exports){
165
170
  (function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){
166
171
  // ES5 15.2.3.5 Object.create ( O [, Properties] )
@@ -283,18 +288,7 @@ module.exports = function(constructor, propertyName, value, writeable, configura
283
288
  // by Backbone.Events
284
289
  function miniscore() {
285
290
  return {
286
- keys: Object.keys || function (obj) {
287
- if (typeof obj !== "object" && typeof obj !== "function" || obj === null) {
288
- throw new TypeError("keys() called on a non-object");
289
- }
290
- var key, keys = [];
291
- for (key in obj) {
292
- if (obj.hasOwnProperty(key)) {
293
- keys[keys.length] = key;
294
- }
295
- }
296
- return keys;
297
- },
291
+ keys: Object.keys,
298
292
 
299
293
  uniqueId: function(prefix) {
300
294
  var id = ++idCounter + '';
@@ -1,2 +1,2 @@
1
- !function n(e,t,r){function o(u,a){if(!t[u]){if(!e[u]){var f="function"==typeof require&&require;if(!a&&f)return f(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var l=t[u]={exports:{}};e[u][0].call(l.exports,function(n){var t=e[u][1][n];return o(t?t:n)},l,l.exports,n,e,t,r)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(n,e){(function(){function t(){this.Controllers={},this.Dispatcher=l}function r(n,e){function t(){f.call(this)}return t.prototype=Object.create(f.prototype),t.prototype.constructor=t,a.extend(t.prototype,n),this[e+"Controller"]=t,new t}function o(n,e,t,r){a(e).each(function(e){if(!n[e]||!a.isFunction(n[e]))throw new Error("'"+t+"' Controller has an action '"+e+"' defined with no corresponding method");var o=a([r,"controller",t.toLowerCase(),e]).compact().join(":");this.Dispatcher.on(o,n[e],n)},this)}function i(n,e){if(!n.init)throw new Error("'Application' Controller: init is undefined");var t=a([e,"controller","all"]).compact().join(":");this.Dispatcher.on(t,n.init,n)}n("./polyfill");var u=n("./polyfill"),a=n("lodash"),f=n("./controller"),l=n("backbone-events-standalone");u(t,"createController",function(n,e){var t=r.call(this,e,n);return a.bindAll.apply(t,[t].concat(a.functions(t))),o.call(this,t,e.actions,n,e.namespace),n.match(/^Application$/i)&&i.call(this,t,e.namespace),this.Controllers[n]=t}),e.exports=t}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/application.js","/")},{"./controller":2,"./polyfill":4,"1YiZ5S":10,"backbone-events-standalone":6,buffer:7,lodash:11}],2:[function(n,e){(function(){function t(){this.initialize()}var r=n("./polyfill");r(t,"initialize",function(){}),r(t,"actions",[],!0,!0,!0),e.exports=t}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/controller.js","/")},{"./polyfill":4,"1YiZ5S":10,buffer:7}],3:[function(n){(function(e,t){var r=n("./application");t.JSKit={createApplication:function(){return new r}}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_a0706a9b.js","/")},{"./application":1,"1YiZ5S":10,buffer:7}],4:[function(n,e){(function(){function n(n,e){return"undefined"==typeof n?e:n}"function"!=typeof Object.create&&(Object.create=function(n,e){function t(){}if("object"!=typeof n)throw new Error("Object.create(prototype, properties): prototype is not an Object");t.prototype=n;var r=new t;if(n&&(r.constructor=t),void 0!==e){if(e!==Object(e))throw new Error("Object.create(prototype, properties): properties is not an Object");Object.defineProperties(r,e)}return r}),function(){if(!Object.defineProperty||!function(){try{return Object.defineProperty({},"x",{}),!0}catch(n){return!1}}()){var n=Object.defineProperty;Object.defineProperty=function(e,t,r){if(n)try{return n(e,t,r)}catch(o){}if(e!==Object(e))throw new Error("Object.defineProperty called on non-object");return Object.prototype.__defineGetter__&&"get"in r&&Object.prototype.__defineGetter__.call(e,t,r.get),Object.prototype.__defineSetter__&&"set"in r&&Object.prototype.__defineSetter__.call(e,t,r.set),"value"in r&&(e[t]=r.value),e}}}(),e.exports=function(e,t,r,o,i,u){o=n(o,!1),i=n(i,!1),u=n(u,!1),Object.defineProperty(e.prototype,t,{writeable:o,configurable:i,enumerable:u,value:r})}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/polyfill.js","/")},{"1YiZ5S":10,buffer:7}],5:[function(n,e,t){(function(){!function(){function n(){return{keys:Object.keys,uniqueId:function(n){var e=++l+"";return n?n+e:e},has:function(n,e){return a.call(n,e)},each:function(n,e,t){if(null!=n)if(u&&n.forEach===u)n.forEach(e,t);else if(n.length===+n.length){for(var r=0,o=n.length;o>r;r++)if(e.call(t,n[r],r,n)===i)return}else for(var a in n)if(this.has(n,a)&&e.call(t,n[a],a,n)===i)return},once:function(n){var e,t=!1;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}}}}var r,o=this,i={},u=Array.prototype.forEach,a=Object.prototype.hasOwnProperty,f=Array.prototype.slice,l=0,c=n();r={on:function(n,e,t){if(!p(this,"on",n,[e,t])||!e)return this;this._events||(this._events={});var r=this._events[n]||(this._events[n]=[]);return r.push({callback:e,context:t,ctx:t||this}),this},once:function(n,e,t){if(!p(this,"once",n,[e,t])||!e)return this;var r=this,o=c.once(function(){r.off(n,o),e.apply(this,arguments)});return o._callback=e,this.on(n,o,t)},off:function(n,e,t){var r,o,i,u,a,f,l,s;if(!this._events||!p(this,"off",n,[e,t]))return this;if(!n&&!e&&!t)return this._events={},this;for(u=n?[n]:c.keys(this._events),a=0,f=u.length;f>a;a++)if(n=u[a],i=this._events[n]){if(this._events[n]=r=[],e||t)for(l=0,s=i.length;s>l;l++)o=i[l],(e&&e!==o.callback&&e!==o.callback._callback||t&&t!==o.context)&&r.push(o);r.length||delete this._events[n]}return this},trigger:function(n){if(!this._events)return this;var e=f.call(arguments,1);if(!p(this,"trigger",n,e))return this;var t=this._events[n],r=this._events.all;return t&&h(t,e),r&&h(r,arguments),this},stopListening:function(n,e,t){var r=this._listeners;if(!r)return this;var o=!e&&!t;"object"==typeof e&&(t=this),n&&((r={})[n._listenerId]=n);for(var i in r)r[i].off(e,t,this),o&&delete this._listeners[i];return this}};var s=/\s+/,p=function(n,e,t,r){if(!t)return!0;if("object"==typeof t){for(var o in t)n[e].apply(n,[o,t[o]].concat(r));return!1}if(s.test(t)){for(var i=t.split(s),u=0,a=i.length;a>u;u++)n[e].apply(n,[i[u]].concat(r));return!1}return!0},h=function(n,e){var t,r=-1,o=n.length,i=e[0],u=e[1],a=e[2];switch(e.length){case 0:for(;++r<o;)(t=n[r]).callback.call(t.ctx);return;case 1:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i);return;case 2:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u);return;case 3:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u,a);return;default:for(;++r<o;)(t=n[r]).callback.apply(t.ctx,e)}},d={listenTo:"on",listenToOnce:"once"};c.each(d,function(n,e){r[e]=function(e,t,r){var o=this._listeners||(this._listeners={}),i=e._listenerId||(e._listenerId=c.uniqueId("l"));return o[i]=e,"object"==typeof t&&(r=this),e[n](t,r,this),this}}),r.bind=r.on,r.unbind=r.off,r.mixin=function(n){var e=["on","once","off","trigger","stopListening","listenTo","listenToOnce","bind","unbind"];return c.each(e,function(e){n[e]=this[e]},this),n},"function"==typeof define?define(function(){return r}):"undefined"!=typeof t?("undefined"!=typeof e&&e.exports&&(t=e.exports=r),t.BackboneEvents=r):o.BackboneEvents=r}(this)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/backbone-events-standalone/backbone-events-standalone.js","/../node_modules/backbone-events-standalone")},{"1YiZ5S":10,buffer:7}],6:[function(n,e){(function(){e.exports=n("./backbone-events-standalone")}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/backbone-events-standalone/index.js","/../node_modules/backbone-events-standalone")},{"./backbone-events-standalone":5,"1YiZ5S":10,buffer:7}],7:[function(n,e,t){(function(e,r,o){function o(n,e,t){if(!(this instanceof o))return new o(n,e,t);var r=typeof n;if("base64"===e&&"string"===r)for(n=S(n);n.length%4!==0;)n+="=";var i;if("number"===r)i=L(n);else if("string"===r)i=o.byteLength(n,e);else{if("object"!==r)throw new Error("First argument needs to be a number, array or string.");i=L(n.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof n.byteLength)u._set(n);else if(O(n))for(a=0;i>a;a++)u[a]=o.isBuffer(n)?n.readUInt8(a):n[a];else if("string"===r)u.write(n,0,e);else if("number"===r&&!o._useTypedArrays&&!t)for(a=0;i>a;a++)u[a]=0;return u}function i(n,e,t,r){t=Number(t)||0;var i=n.length-t;r?(r=Number(r),r>i&&(r=i)):r=i;var u=e.length;W(u%2===0,"Invalid hex string"),r>u/2&&(r=u/2);for(var a=0;r>a;a++){var f=parseInt(e.substr(2*a,2),16);W(!isNaN(f),"Invalid hex string"),n[t+a]=f}return o._charsWritten=2*a,a}function u(n,e,t,r){var i=o._charsWritten=Y(N(e),n,t,r);return i}function a(n,e,t,r){var i=o._charsWritten=Y(D(e),n,t,r);return i}function f(n,e,t,r){return a(n,e,t,r)}function l(n,e,t,r){var i=o._charsWritten=Y(M(e),n,t,r);return i}function c(n,e,t,r){var i=o._charsWritten=Y(F(e),n,t,r);return i}function s(n,e,t){return $.fromByteArray(0===e&&t===n.length?n:n.slice(e,t))}function p(n,e,t){var r="",o="";t=Math.min(n.length,t);for(var i=e;t>i;i++)n[i]<=127?(r+=Z(o)+String.fromCharCode(n[i]),o=""):o+="%"+n[i].toString(16);return r+Z(o)}function h(n,e,t){var r="";t=Math.min(n.length,t);for(var o=e;t>o;o++)r+=String.fromCharCode(n[o]);return r}function d(n,e,t){return h(n,e,t)}function g(n,e,t){var r=n.length;(!e||0>e)&&(e=0),(!t||0>t||t>r)&&(t=r);for(var o="",i=e;t>i;i++)o+=T(n[i]);return o}function v(n,e,t){for(var r=n.slice(e,t),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function y(n,e,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==e&&null!==e,"missing offset"),W(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(i=n[e],o>e+1&&(i|=n[e+1]<<8)):(i=n[e]<<8,o>e+1&&(i|=n[e+1])),i}}function b(n,e,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==e&&null!==e,"missing offset"),W(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(o>e+2&&(i=n[e+2]<<16),o>e+1&&(i|=n[e+1]<<8),i|=n[e],o>e+3&&(i+=n[e+3]<<24>>>0)):(o>e+1&&(i=n[e+1]<<16),o>e+2&&(i|=n[e+2]<<8),o>e+3&&(i|=n[e+3]),i+=n[e]<<24>>>0),i}}function m(n,e,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==e&&null!==e,"missing offset"),W(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=y(n,e,t,!0),u=32768&i;return u?-1*(65535-i+1):i}}function w(n,e,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==e&&null!==e,"missing offset"),W(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=b(n,e,t,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function _(n,e,t,r){return r||(W("boolean"==typeof t,"missing or invalid endian"),W(e+3<n.length,"Trying to read beyond buffer length")),z.read(n,e,t,23,4)}function E(n,e,t,r){return r||(W("boolean"==typeof t,"missing or invalid endian"),W(e+7<n.length,"Trying to read beyond buffer length")),z.read(n,e,t,52,8)}function j(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+1<n.length,"trying to write beyond buffer length"),R(e,65535));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,2);a>u;u++)n[t+u]=(e&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function I(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<n.length,"trying to write beyond buffer length"),R(e,4294967295));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,4);a>u;u++)n[t+u]=e>>>8*(r?u:3-u)&255}function k(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+1<n.length,"Trying to write beyond buffer length"),P(e,32767,-32768));var i=n.length;t>=i||(e>=0?j(n,e,t,r,o):j(n,65535+e+1,t,r,o))}function B(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<n.length,"Trying to write beyond buffer length"),P(e,2147483647,-2147483648));var i=n.length;t>=i||(e>=0?I(n,e,t,r,o):I(n,4294967295+e+1,t,r,o))}function A(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<n.length,"Trying to write beyond buffer length"),q(e,3.4028234663852886e38,-3.4028234663852886e38));var i=n.length;t>=i||z.write(n,e,t,r,23,4)}function x(n,e,t,r,o){o||(W(void 0!==e&&null!==e,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+7<n.length,"Trying to write beyond buffer length"),q(e,1.7976931348623157e308,-1.7976931348623157e308));var i=n.length;t>=i||z.write(n,e,t,r,52,8)}function S(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function C(n,e,t){return"number"!=typeof n?t:(n=~~n,n>=e?e:n>=0?n:(n+=e,n>=0?n:0))}function L(n){return n=~~Math.ceil(+n),0>n?0:n}function U(n){return(Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)})(n)}function O(n){return U(n)||o.isBuffer(n)||n&&"object"==typeof n&&"number"==typeof n.length}function T(n){return 16>n?"0"+n.toString(16):n.toString(16)}function N(n){for(var e=[],t=0;t<n.length;t++){var r=n.charCodeAt(t);if(127>=r)e.push(n.charCodeAt(t));else{var o=t;r>=55296&&57343>=r&&t++;for(var i=encodeURIComponent(n.slice(o,t+1)).substr(1).split("%"),u=0;u<i.length;u++)e.push(parseInt(i[u],16))}}return e}function D(n){for(var e=[],t=0;t<n.length;t++)e.push(255&n.charCodeAt(t));return e}function F(n){for(var e,t,r,o=[],i=0;i<n.length;i++)e=n.charCodeAt(i),t=e>>8,r=e%256,o.push(r),o.push(t);return o}function M(n){return $.toByteArray(n)}function Y(n,e,t,r){for(var o=0;r>o&&!(o+t>=e.length||o>=n.length);o++)e[o+t]=n[o];return o}function Z(n){try{return decodeURIComponent(n)}catch(e){return String.fromCharCode(65533)}}function R(n,e){W("number"==typeof n,"cannot write a non-number as a number"),W(n>=0,"specified a negative value for writing an unsigned value"),W(e>=n,"value is larger than maximum value for type"),W(Math.floor(n)===n,"value has a fractional component")}function P(n,e,t){W("number"==typeof n,"cannot write a non-number as a number"),W(e>=n,"value larger than maximum allowed value"),W(n>=t,"value smaller than minimum allowed value"),W(Math.floor(n)===n,"value has a fractional component")}function q(n,e,t){W("number"==typeof n,"cannot write a non-number as a number"),W(e>=n,"value larger than maximum allowed value"),W(n>=t,"value smaller than minimum allowed value")}function W(n,e){if(!n)throw new Error(e||"Failed assertion")}var $=n("base64-js"),z=n("ieee754");t.Buffer=o,t.SlowBuffer=o,t.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var n=new ArrayBuffer(0),e=new Uint8Array(n);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),o.isEncoding=function(n){switch(String(n).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}},o.isBuffer=function(n){return!(null===n||void 0===n||!n._isBuffer)},o.byteLength=function(n,e){var t;switch(n+="",e||"utf8"){case"hex":t=n.length/2;break;case"utf8":case"utf-8":t=N(n).length;break;case"ascii":case"binary":case"raw":t=n.length;break;case"base64":t=M(n).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":t=2*n.length;break;default:throw new Error("Unknown encoding")}return t},o.concat=function(n,e){if(W(U(n),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===n.length)return new o(0);if(1===n.length)return n[0];var t;if("number"!=typeof e)for(e=0,t=0;t<n.length;t++)e+=n[t].length;var r=new o(e),i=0;for(t=0;t<n.length;t++){var u=n[t];u.copy(r,i),i+=u.length}return r},o.prototype.write=function(n,e,t,r){if(isFinite(e))isFinite(t)||(r=t,t=void 0);else{var o=r;r=e,e=t,t=o}e=Number(e)||0;var s=this.length-e;t?(t=Number(t),t>s&&(t=s)):t=s,r=String(r||"utf8").toLowerCase();var p;switch(r){case"hex":p=i(this,n,e,t);break;case"utf8":case"utf-8":p=u(this,n,e,t);break;case"ascii":p=a(this,n,e,t);break;case"binary":p=f(this,n,e,t);break;case"base64":p=l(this,n,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":p=c(this,n,e,t);break;default:throw new Error("Unknown encoding")}return p},o.prototype.toString=function(n,e,t){var r=this;if(n=String(n||"utf8").toLowerCase(),e=Number(e)||0,t=void 0!==t?Number(t):t=r.length,t===e)return"";var o;switch(n){case"hex":o=g(r,e,t);break;case"utf8":case"utf-8":o=p(r,e,t);break;case"ascii":o=h(r,e,t);break;case"binary":o=d(r,e,t);break;case"base64":o=s(r,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=v(r,e,t);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(n,e,t,r){var i=this;if(t||(t=0),r||0===r||(r=this.length),e||(e=0),r!==t&&0!==n.length&&0!==i.length){W(r>=t,"sourceEnd < sourceStart"),W(e>=0&&e<n.length,"targetStart out of bounds"),W(t>=0&&t<i.length,"sourceStart out of bounds"),W(r>=0&&r<=i.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),n.length-e<r-t&&(r=n.length-e+t);var u=r-t;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)n[a+e]=this[a+t];else n._set(this.subarray(t,t+u),e)}},o.prototype.slice=function(n,e){var t=this.length;if(n=C(n,t,0),e=C(e,t,t),o._useTypedArrays)return o._augment(this.subarray(n,e));for(var r=e-n,i=new o(r,void 0,!0),u=0;r>u;u++)i[u]=this[u+n];return i},o.prototype.get=function(n){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(n)},o.prototype.set=function(n,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(n,e)},o.prototype.readUInt8=function(n,e){return e||(W(void 0!==n&&null!==n,"missing offset"),W(n<this.length,"Trying to read beyond buffer length")),n>=this.length?void 0:this[n]},o.prototype.readUInt16LE=function(n,e){return y(this,n,!0,e)},o.prototype.readUInt16BE=function(n,e){return y(this,n,!1,e)},o.prototype.readUInt32LE=function(n,e){return b(this,n,!0,e)},o.prototype.readUInt32BE=function(n,e){return b(this,n,!1,e)},o.prototype.readInt8=function(n,e){if(e||(W(void 0!==n&&null!==n,"missing offset"),W(n<this.length,"Trying to read beyond buffer length")),!(n>=this.length)){var t=128&this[n];return t?-1*(255-this[n]+1):this[n]}},o.prototype.readInt16LE=function(n,e){return m(this,n,!0,e)},o.prototype.readInt16BE=function(n,e){return m(this,n,!1,e)},o.prototype.readInt32LE=function(n,e){return w(this,n,!0,e)},o.prototype.readInt32BE=function(n,e){return w(this,n,!1,e)},o.prototype.readFloatLE=function(n,e){return _(this,n,!0,e)},o.prototype.readFloatBE=function(n,e){return _(this,n,!1,e)},o.prototype.readDoubleLE=function(n,e){return E(this,n,!0,e)},o.prototype.readDoubleBE=function(n,e){return E(this,n,!1,e)},o.prototype.writeUInt8=function(n,e,t){t||(W(void 0!==n&&null!==n,"missing value"),W(void 0!==e&&null!==e,"missing offset"),W(e<this.length,"trying to write beyond buffer length"),R(n,255)),e>=this.length||(this[e]=n)},o.prototype.writeUInt16LE=function(n,e,t){j(this,n,e,!0,t)},o.prototype.writeUInt16BE=function(n,e,t){j(this,n,e,!1,t)},o.prototype.writeUInt32LE=function(n,e,t){I(this,n,e,!0,t)},o.prototype.writeUInt32BE=function(n,e,t){I(this,n,e,!1,t)},o.prototype.writeInt8=function(n,e,t){t||(W(void 0!==n&&null!==n,"missing value"),W(void 0!==e&&null!==e,"missing offset"),W(e<this.length,"Trying to write beyond buffer length"),P(n,127,-128)),e>=this.length||(n>=0?this.writeUInt8(n,e,t):this.writeUInt8(255+n+1,e,t))},o.prototype.writeInt16LE=function(n,e,t){k(this,n,e,!0,t)},o.prototype.writeInt16BE=function(n,e,t){k(this,n,e,!1,t)},o.prototype.writeInt32LE=function(n,e,t){B(this,n,e,!0,t)},o.prototype.writeInt32BE=function(n,e,t){B(this,n,e,!1,t)},o.prototype.writeFloatLE=function(n,e,t){A(this,n,e,!0,t)},o.prototype.writeFloatBE=function(n,e,t){A(this,n,e,!1,t)},o.prototype.writeDoubleLE=function(n,e,t){x(this,n,e,!0,t)},o.prototype.writeDoubleBE=function(n,e,t){x(this,n,e,!1,t)},o.prototype.fill=function(n,e,t){if(n||(n=0),e||(e=0),t||(t=this.length),"string"==typeof n&&(n=n.charCodeAt(0)),W("number"==typeof n&&!isNaN(n),"value is not a number"),W(t>=e,"end < start"),t!==e&&0!==this.length){W(e>=0&&e<this.length,"start out of bounds"),W(t>=0&&t<=this.length,"end out of bounds");for(var r=e;t>r;r++)this[r]=n}},o.prototype.inspect=function(){for(var n=[],e=this.length,r=0;e>r;r++)if(n[r]=T(this[r]),r===t.INSPECT_MAX_BYTES){n[r+1]="...";break}return"<Buffer "+n.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var n=new Uint8Array(this.length),e=0,t=n.length;t>e;e+=1)n[e]=this[e];return n.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var J=o.prototype;o._augment=function(n){return n._isBuffer=!0,n._get=n.get,n._set=n.set,n.get=J.get,n.set=J.set,n.write=J.write,n.toString=J.toString,n.toLocaleString=J.toString,n.toJSON=J.toJSON,n.copy=J.copy,n.slice=J.slice,n.readUInt8=J.readUInt8,n.readUInt16LE=J.readUInt16LE,n.readUInt16BE=J.readUInt16BE,n.readUInt32LE=J.readUInt32LE,n.readUInt32BE=J.readUInt32BE,n.readInt8=J.readInt8,n.readInt16LE=J.readInt16LE,n.readInt16BE=J.readInt16BE,n.readInt32LE=J.readInt32LE,n.readInt32BE=J.readInt32BE,n.readFloatLE=J.readFloatLE,n.readFloatBE=J.readFloatBE,n.readDoubleLE=J.readDoubleLE,n.readDoubleBE=J.readDoubleBE,n.writeUInt8=J.writeUInt8,n.writeUInt16LE=J.writeUInt16LE,n.writeUInt16BE=J.writeUInt16BE,n.writeUInt32LE=J.writeUInt32LE,n.writeUInt32BE=J.writeUInt32BE,n.writeInt8=J.writeInt8,n.writeInt16LE=J.writeInt16LE,n.writeInt16BE=J.writeInt16BE,n.writeInt32LE=J.writeInt32LE,n.writeInt32BE=J.writeInt32BE,n.writeFloatLE=J.writeFloatLE,n.writeFloatBE=J.writeFloatBE,n.writeDoubleLE=J.writeDoubleLE,n.writeDoubleBE=J.writeDoubleBE,n.fill=J.fill,n.inspect=J.inspect,n.toArrayBuffer=J.toArrayBuffer,n}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{"1YiZ5S":10,"base64-js":8,buffer:7,ieee754:9}],8:[function(n,e,t){(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(n){var e=n.charCodeAt(0);return e===u?62:e===a?63:f>e?-1:f+10>e?e-f+26+26:c+26>e?e-c:l+26>e?e-l+26:void 0}function r(n){function e(n){l[s++]=n}var r,o,u,a,f,l;if(n.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=n.length;f="="===n.charAt(c-2)?2:"="===n.charAt(c-1)?1:0,l=new i(3*n.length/4-f),u=f>0?n.length-4:n.length;var s=0;for(r=0,o=0;u>r;r+=4,o+=3)a=t(n.charAt(r))<<18|t(n.charAt(r+1))<<12|t(n.charAt(r+2))<<6|t(n.charAt(r+3)),e((16711680&a)>>16),e((65280&a)>>8),e(255&a);return 2===f?(a=t(n.charAt(r))<<2|t(n.charAt(r+1))>>4,e(255&a)):1===f&&(a=t(n.charAt(r))<<10|t(n.charAt(r+1))<<4|t(n.charAt(r+2))>>2,e(a>>8&255),e(255&a)),l}function o(e){function t(e){return n.charAt(e)}function r(n){return t(n>>18&63)+t(n>>12&63)+t(n>>6&63)+t(63&n)}var o,i,u,a=e.length%3,f="";for(o=0,u=e.length-a;u>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],f+=r(i);switch(a){case 1:i=e[e.length-1],f+=t(i>>2),f+=t(i<<4&63),f+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],f+=t(i>>10),f+=t(i>>4&63),f+=t(i<<2&63),f+="="}return f}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,u="+".charCodeAt(0),a="/".charCodeAt(0),f="0".charCodeAt(0),l="a".charCodeAt(0),c="A".charCodeAt(0);e.toByteArray=r,e.fromByteArray=o}("undefined"==typeof t?this.base64js={}:t)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{"1YiZ5S":10,buffer:7}],9:[function(n,e,t){(function(){t.read=function(n,e,t,r,o){var i,u,a=8*o-r-1,f=(1<<a)-1,l=f>>1,c=-7,s=t?o-1:0,p=t?-1:1,h=n[e+s];for(s+=p,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+n[e+s],s+=p,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=r;c>0;u=256*u+n[e+s],s+=p,c-=8);if(0===i)i=1-l;else{if(i===f)return u?0/0:1/0*(h?-1:1);u+=Math.pow(2,r),i-=l}return(h?-1:1)*u*Math.pow(2,i-r)},t.write=function(n,e,t,r,o,i){var u,a,f,l=8*i-o-1,c=(1<<l)-1,s=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+s>=1?p/f:p*Math.pow(2,1-s),e*f>=2&&(u++,f/=2),u+s>=c?(a=0,u=c):u+s>=1?(a=(e*f-1)*Math.pow(2,o),u+=s):(a=e*Math.pow(2,s-1)*Math.pow(2,o),u=0));o>=8;n[t+h]=255&a,h+=d,a/=256,o-=8);for(u=u<<o|a,l+=o;l>0;n[t+h]=255&u,h+=d,u/=256,l-=8);n[t+h-d]|=128*g}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{"1YiZ5S":10,buffer:7}],10:[function(n,e){(function(n){function t(){}var n=e.exports={};n.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(e){var t=[];return window.addEventListener("message",function(n){var e=n.source;if((e===window||null===e)&&"process-tick"===n.data&&(n.stopPropagation(),t.length>0)){var r=t.shift();r()}},!0),function(n){t.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=t,n.addListener=t,n.once=t,n.off=t,n.removeListener=t,n.removeAllListeners=t,n.emit=t,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{"1YiZ5S":10,buffer:7}],11:[function(n,e,t){(function(n,r){(function(){function n(n,e,t){for(var r=(t||0)-1,o=n?n.length:0;++r<o;)if(n[r]===e)return r;return-1}function o(e,t){var r=typeof t;if(e=e.cache,"boolean"==r||null==t)return e[t]?0:-1;"number"!=r&&"string"!=r&&(r="object");var o="number"==r?t:w+t;return e=(e=e[r])&&e[o],"object"==r?e&&n(e,t)>-1?0:-1:e?0:-1}function i(n){var e=this.cache,t=typeof n;if("boolean"==t||null==n)e[n]=!0;else{"number"!=t&&"string"!=t&&(t="object");var r="number"==t?n:w+n,o=e[t]||(e[t]={});"object"==t?(o[r]||(o[r]=[])).push(n):o[r]=!0}}function u(n){return n.charCodeAt(0)}function a(n,e){for(var t=n.criteria,r=e.criteria,o=-1,i=t.length;++o<i;){var u=t[o],a=r[o];if(u!==a){if(u>a||"undefined"==typeof u)return 1;if(a>u||"undefined"==typeof a)return-1}}return n.index-e.index}function f(n){var e=-1,t=n.length,r=n[0],o=n[t/2|0],u=n[t-1];if(r&&"object"==typeof r&&o&&"object"==typeof o&&u&&"object"==typeof u)return!1;var a=s();a["false"]=a["null"]=a["true"]=a.undefined=!1;var f=s();for(f.array=n,f.cache=a,f.push=i;++e<t;)f.push(n[e]);return f}function l(n){return"\\"+V[n]}function c(){return y.pop()||[]}function s(){return b.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function p(n){n.length=0,y.length<E&&y.push(n)}function h(n){var e=n.cache;e&&h(e),n.array=n.cache=n.criteria=n.object=n.number=n.string=n.value=null,b.length<E&&b.push(n)}function d(n,e,t){e||(e=0),"undefined"==typeof t&&(t=n?n.length:0);for(var r=-1,o=t-e||0,i=Array(0>o?0:o);++r<o;)i[r]=n[e+r];return i}function g(e){function t(n){return n&&"object"==typeof n&&!Xr(n)&&Or.call(n,"__wrapped__")?n:new r(n)}function r(n,e){this.__chain__=!!e,this.__wrapped__=n}function i(n){function e(){if(r){var n=d(r);Tr.apply(n,arguments)}if(this instanceof e){var i=b(t.prototype),u=t.apply(i,n||arguments);return Ce(u)?u:i}return t.apply(o,n||arguments)}var t=n[0],r=n[2],o=n[4];return Vr(e,n),e}function y(n,e,t,r,o){if(t){var i=t(n);if("undefined"!=typeof i)return i}var u=Ce(n);if(!u)return n;var a=Br.call(n);if(!z[a])return n;var f=Kr[a];switch(a){case Y:case Z:return new f(+n);case P:case $:return new f(n);case W:return i=f(n.source,x.exec(n)),i.lastIndex=n.lastIndex,i}var l=Xr(n);if(e){var s=!r;r||(r=c()),o||(o=c());for(var h=r.length;h--;)if(r[h]==n)return o[h];i=l?f(n.length):{}}else i=l?d(n):oo({},n);return l&&(Or.call(n,"index")&&(i.index=n.index),Or.call(n,"input")&&(i.input=n.input)),e?(r.push(n),o.push(i),(l?Ve:ao)(n,function(n,u){i[u]=y(n,e,t,r,o)}),s&&(p(r),p(o)),i):i}function b(n){return Ce(n)?Yr(n):{}}function E(n,e,t){if("function"!=typeof n)return Xt;if("undefined"==typeof e||!("prototype"in n))return n;var r=n.__bindData__;if("undefined"==typeof r&&(Gr.funcNames&&(r=!n.name),r=r||!Gr.funcDecomp,!r)){var o=Lr.call(n);Gr.funcNames||(r=!S.test(o)),r||(r=O.test(o),Vr(n,r))}if(r===!1||r!==!0&&1&r[1])return n;switch(t){case 1:return function(t){return n.call(e,t)};case 2:return function(t,r){return n.call(e,t,r)};case 3:return function(t,r,o){return n.call(e,t,r,o)};case 4:return function(t,r,o,i){return n.call(e,t,r,o,i)}}return Tt(n,e)}function V(n){function e(){var n=f?u:this;if(o){var h=d(o);Tr.apply(h,arguments)}if((i||c)&&(h||(h=d(arguments)),i&&Tr.apply(h,i),c&&h.length<a))return r|=16,V([t,s?r:-4&r,h,null,u,a]);if(h||(h=arguments),l&&(t=n[p]),this instanceof e){n=b(t.prototype);var g=t.apply(n,h);return Ce(g)?g:n}return t.apply(n,h)}var t=n[0],r=n[1],o=n[2],i=n[3],u=n[4],a=n[5],f=1&r,l=2&r,c=4&r,s=8&r,p=t;return Vr(e,n),e}function H(e,t){var r=-1,i=fe(),u=e?e.length:0,a=u>=_&&i===n,l=[];if(a){var c=f(t);c?(i=o,t=c):a=!1}for(;++r<u;){var s=e[r];i(t,s)<0&&l.push(s)}return a&&h(t),l}function Q(n,e,t,r){for(var o=(r||0)-1,i=n?n.length:0,u=[];++o<i;){var a=n[o];if(a&&"object"==typeof a&&"number"==typeof a.length&&(Xr(a)||pe(a))){e||(a=Q(a,e,t));var f=-1,l=a.length,c=u.length;for(u.length+=l;++f<l;)u[c++]=a[f]}else t||u.push(a)}return u}function ne(n,e,t,r,o,i){if(t){var u=t(n,e);if("undefined"!=typeof u)return!!u}if(n===e)return 0!==n||1/n==1/e;var a=typeof n,f=typeof e;if(!(n!==n||n&&G[a]||e&&G[f]))return!1;if(null==n||null==e)return n===e;var l=Br.call(n),s=Br.call(e);if(l==F&&(l=q),s==F&&(s=q),l!=s)return!1;switch(l){case Y:case Z:return+n==+e;case P:return n!=+n?e!=+e:0==n?1/n==1/e:n==+e;case W:case $:return n==_r(e)}var h=l==M;if(!h){var d=Or.call(n,"__wrapped__"),g=Or.call(e,"__wrapped__");if(d||g)return ne(d?n.__wrapped__:n,g?e.__wrapped__:e,t,r,o,i);if(l!=q)return!1;var v=n.constructor,y=e.constructor;if(v!=y&&!(Se(v)&&v instanceof v&&Se(y)&&y instanceof y)&&"constructor"in n&&"constructor"in e)return!1}var b=!o;o||(o=c()),i||(i=c());for(var m=o.length;m--;)if(o[m]==n)return i[m]==e;var w=0;if(u=!0,o.push(n),i.push(e),h){if(m=n.length,w=e.length,u=w==m,u||r)for(;w--;){var _=m,E=e[w];if(r)for(;_--&&!(u=ne(n[_],E,t,r,o,i)););else if(!(u=ne(n[w],E,t,r,o,i)))break}}else uo(e,function(e,a,f){return Or.call(f,a)?(w++,u=Or.call(n,a)&&ne(n[a],e,t,r,o,i)):void 0}),u&&!r&&uo(n,function(n,e,t){return Or.call(t,e)?u=--w>-1:void 0});return o.pop(),i.pop(),b&&(p(o),p(i)),u}function ee(n,e,t,r,o){(Xr(e)?Ve:ao)(e,function(e,i){var u,a,f=e,l=n[i];
2
- if(e&&((a=Xr(e))||fo(e))){for(var c=r.length;c--;)if(u=r[c]==e){l=o[c];break}if(!u){var s;t&&(f=t(l,e),(s="undefined"!=typeof f)&&(l=f)),s||(l=a?Xr(l)?l:[]:fo(l)?l:{}),r.push(e),o.push(l),s||ee(l,e,t,r,o)}}else t&&(f=t(l,e),"undefined"==typeof f&&(f=e)),"undefined"!=typeof f&&(l=f);n[i]=l})}function re(n,e){return n+Cr(Jr()*(e-n+1))}function oe(e,t,r){var i=-1,u=fe(),a=e?e.length:0,l=[],s=!t&&a>=_&&u===n,d=r||s?c():l;if(s){var g=f(d);u=o,d=g}for(;++i<a;){var v=e[i],y=r?r(v,i,e):v;(t?!i||d[d.length-1]!==y:u(d,y)<0)&&((r||s)&&d.push(y),l.push(v))}return s?(p(d.array),h(d)):r&&p(d),l}function ie(n){return function(e,r,o){var i={};r=t.createCallback(r,o,3);var u=-1,a=e?e.length:0;if("number"==typeof a)for(;++u<a;){var f=e[u];n(i,f,r(f,u,e),e)}else ao(e,function(e,t,o){n(i,e,r(e,t,o),o)});return i}}function ue(n,e,t,r,o,u){var a=1&e,f=2&e,l=4&e,c=16&e,s=32&e;if(!f&&!Se(n))throw new Er;c&&!t.length&&(e&=-17,c=t=!1),s&&!r.length&&(e&=-33,s=r=!1);var p=n&&n.__bindData__;if(p&&p!==!0)return p=d(p),p[2]&&(p[2]=d(p[2])),p[3]&&(p[3]=d(p[3])),!a||1&p[1]||(p[4]=o),!a&&1&p[1]&&(e|=8),!l||4&p[1]||(p[5]=u),c&&Tr.apply(p[2]||(p[2]=[]),t),s&&Fr.apply(p[3]||(p[3]=[]),r),p[1]|=e,ue.apply(null,p);var h=1==e||17===e?i:V;return h([n,e,t,r,o,u])}function ae(n){return no[n]}function fe(){var e=(e=t.indexOf)===yt?n:e;return e}function le(n){return"function"==typeof n&&Ar.test(n)}function ce(n){var e,t;return n&&Br.call(n)==q&&(e=n.constructor,!Se(e)||e instanceof e)?(uo(n,function(n,e){t=e}),"undefined"==typeof t||Or.call(n,t)):!1}function se(n){return eo[n]}function pe(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Br.call(n)==F||!1}function he(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t=e,e=!1),y(n,e,"function"==typeof t&&E(t,r,1))}function de(n,e,t){return y(n,!0,"function"==typeof e&&E(e,t,1))}function ge(n,e){var t=b(n);return e?oo(t,e):t}function ve(n,e,r){var o;return e=t.createCallback(e,r,3),ao(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function ye(n,e,r){var o;return e=t.createCallback(e,r,3),me(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function be(n,e,t){var r=[];uo(n,function(n,e){r.push(e,n)});var o=r.length;for(e=E(e,t,3);o--&&e(r[o--],r[o],n)!==!1;);return n}function me(n,e,t){var r=Qr(n),o=r.length;for(e=E(e,t,3);o--;){var i=r[o];if(e(n[i],i,n)===!1)break}return n}function we(n){var e=[];return uo(n,function(n,t){Se(n)&&e.push(t)}),e.sort()}function _e(n,e){return n?Or.call(n,e):!1}function Ee(n){for(var e=-1,t=Qr(n),r=t.length,o={};++e<r;){var i=t[e];o[n[i]]=i}return o}function je(n){return n===!0||n===!1||n&&"object"==typeof n&&Br.call(n)==Y||!1}function Ie(n){return n&&"object"==typeof n&&Br.call(n)==Z||!1}function ke(n){return n&&1===n.nodeType||!1}function Be(n){var e=!0;if(!n)return e;var t=Br.call(n),r=n.length;return t==M||t==$||t==F||t==q&&"number"==typeof r&&Se(n.splice)?!r:(ao(n,function(){return e=!1}),e)}function Ae(n,e,t,r){return ne(n,e,"function"==typeof t&&E(t,r,2))}function xe(n){return Rr(n)&&!Pr(parseFloat(n))}function Se(n){return"function"==typeof n}function Ce(n){return!(!n||!G[typeof n])}function Le(n){return Oe(n)&&n!=+n}function Ue(n){return null===n}function Oe(n){return"number"==typeof n||n&&"object"==typeof n&&Br.call(n)==P||!1}function Te(n){return n&&"object"==typeof n&&Br.call(n)==W||!1}function Ne(n){return"string"==typeof n||n&&"object"==typeof n&&Br.call(n)==$||!1}function De(n){return"undefined"==typeof n}function Fe(n,e,r){var o={};return e=t.createCallback(e,r,3),ao(n,function(n,t,r){o[t]=e(n,t,r)}),o}function Me(n){var e=arguments,t=2;if(!Ce(n))return n;if("number"!=typeof e[2]&&(t=e.length),t>3&&"function"==typeof e[t-2])var r=E(e[--t-1],e[t--],2);else t>2&&"function"==typeof e[t-1]&&(r=e[--t]);for(var o=d(arguments,1,t),i=-1,u=c(),a=c();++i<t;)ee(n,o[i],r,u,a);return p(u),p(a),n}function Ye(n,e,r){var o={};if("function"!=typeof e){var i=[];uo(n,function(n,e){i.push(e)}),i=H(i,Q(arguments,!0,!1,1));for(var u=-1,a=i.length;++u<a;){var f=i[u];o[f]=n[f]}}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)||(o[t]=n)});return o}function Ze(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;){var i=t[e];o[e]=[i,n[i]]}return o}function Re(n,e,r){var o={};if("function"!=typeof e)for(var i=-1,u=Q(arguments,!0,!1,1),a=Ce(n)?u.length:0;++i<a;){var f=u[i];f in n&&(o[f]=n[f])}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)&&(o[t]=n)});return o}function Pe(n,e,r,o){var i=Xr(n);if(null==r)if(i)r=[];else{var u=n&&n.constructor,a=u&&u.prototype;r=b(a)}return e&&(e=t.createCallback(e,o,4),(i?Ve:ao)(n,function(n,t,o){return e(r,n,t,o)})),r}function qe(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;)o[e]=n[t[e]];return o}function We(n){for(var e=arguments,t=-1,r=Q(e,!0,!1,1),o=e[2]&&e[2][e[1]]===n?1:r.length,i=hr(o);++t<o;)i[t]=n[r[t]];return i}function $e(n,e,t){var r=-1,o=fe(),i=n?n.length:0,u=!1;return t=(0>t?Wr(0,i+t):t)||0,Xr(n)?u=o(n,e,t)>-1:"number"==typeof i?u=(Ne(n)?n.indexOf(e,t):o(n,e,t))>-1:ao(n,function(n){return++r>=t?!(u=n===e):void 0}),u}function ze(n,e,r){var o=!0;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&(o=!!e(n[i],i,n)););else ao(n,function(n,t,r){return o=!!e(n,t,r)});return o}function Je(n,e,r){var o=[];e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u;){var a=n[i];e(a,i,n)&&o.push(a)}else ao(n,function(n,t,r){e(n,t,r)&&o.push(n)});return o}function Ke(n,e,r){e=t.createCallback(e,r,3);var o=-1,i=n?n.length:0;if("number"!=typeof i){var u;return ao(n,function(n,t,r){return e(n,t,r)?(u=n,!1):void 0}),u}for(;++o<i;){var a=n[o];if(e(a,o,n))return a}}function Ge(n,e,r){var o;return e=t.createCallback(e,r,3),Xe(n,function(n,t,r){return e(n,t,r)?(o=n,!1):void 0}),o}function Ve(n,e,t){var r=-1,o=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof o)for(;++r<o&&e(n[r],r,n)!==!1;);else ao(n,e);return n}function Xe(n,e,t){var r=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof r)for(;r--&&e(n[r],r,n)!==!1;);else{var o=Qr(n);r=o.length,ao(n,function(n,t,i){return t=o?o[--r]:--r,e(i[t],t,i)})}return n}function He(n,e){var t=d(arguments,2),r=-1,o="function"==typeof e,i=n?n.length:0,u=hr("number"==typeof i?i:0);return Ve(n,function(n){u[++r]=(o?e:n[e]).apply(n,t)}),u}function Qe(n,e,r){var o=-1,i=n?n.length:0;if(e=t.createCallback(e,r,3),"number"==typeof i)for(var u=hr(i);++o<i;)u[o]=e(n[o],o,n);else u=[],ao(n,function(n,t,r){u[++o]=e(n,t,r)});return u}function nt(n,e,r){var o=-1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Xr(n))for(var a=-1,f=n.length;++a<f;){var l=n[a];l>i&&(i=l)}else e=null==e&&Ne(n)?u:t.createCallback(e,r,3),Ve(n,function(n,t,r){var u=e(n,t,r);u>o&&(o=u,i=n)});return i}function et(n,e,r){var o=1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Xr(n))for(var a=-1,f=n.length;++a<f;){var l=n[a];i>l&&(i=l)}else e=null==e&&Ne(n)?u:t.createCallback(e,r,3),Ve(n,function(n,t,r){var u=e(n,t,r);o>u&&(o=u,i=n)});return i}function tt(n,e,r,o){if(!n)return r;var i=arguments.length<3;e=t.createCallback(e,o,4);var u=-1,a=n.length;if("number"==typeof a)for(i&&(r=n[++u]);++u<a;)r=e(r,n[u],u,n);else ao(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)});return r}function rt(n,e,r,o){var i=arguments.length<3;return e=t.createCallback(e,o,4),Xe(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)}),r}function ot(n,e,r){return e=t.createCallback(e,r,3),Je(n,function(n,t,r){return!e(n,t,r)})}function it(n,e,t){if(n&&"number"!=typeof n.length&&(n=qe(n)),null==e||t)return n?n[re(0,n.length-1)]:v;var r=ut(n);return r.length=$r(Wr(0,e),r.length),r}function ut(n){var e=-1,t=n?n.length:0,r=hr("number"==typeof t?t:0);return Ve(n,function(n){var t=re(0,++e);r[e]=r[t],r[t]=n}),r}function at(n){var e=n?n.length:0;return"number"==typeof e?e:Qr(n).length}function ft(n,e,r){var o;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&!(o=e(n[i],i,n)););else ao(n,function(n,t,r){return!(o=e(n,t,r))});return!!o}function lt(n,e,r){var o=-1,i=Xr(e),u=n?n.length:0,f=hr("number"==typeof u?u:0);for(i||(e=t.createCallback(e,r,3)),Ve(n,function(n,t,r){var u=f[++o]=s();i?u.criteria=Qe(e,function(e){return n[e]}):(u.criteria=c())[0]=e(n,t,r),u.index=o,u.value=n}),u=f.length,f.sort(a);u--;){var l=f[u];f[u]=l.value,i||p(l.criteria),h(l)}return f}function ct(n){return n&&"number"==typeof n.length?d(n):qe(n)}function st(n){for(var e=-1,t=n?n.length:0,r=[];++e<t;){var o=n[e];o&&r.push(o)}return r}function pt(n){return H(n,Q(arguments,!0,!0,1))}function ht(n,e,r){var o=-1,i=n?n.length:0;for(e=t.createCallback(e,r,3);++o<i;)if(e(n[o],o,n))return o;return-1}function dt(n,e,r){var o=n?n.length:0;for(e=t.createCallback(e,r,3);o--;)if(e(n[o],o,n))return o;return-1}function gt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=-1;for(e=t.createCallback(e,r,3);++u<i&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[0]:v;return d(n,0,$r(Wr(0,o),i))}function vt(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t="function"!=typeof e&&r&&r[e]===n?null:e,e=!1),null!=t&&(n=Qe(n,t,r)),Q(n,e)}function yt(e,t,r){if("number"==typeof r){var o=e?e.length:0;r=0>r?Wr(0,o+r):r||0}else if(r){var i=Bt(e,t);return e[i]===t?i:-1}return n(e,t,r)}function bt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else o=null==e||r?1:e||o;return d(n,0,$r(Wr(0,i-o),i))}function mt(){for(var e=[],t=-1,r=arguments.length,i=c(),u=fe(),a=u===n,l=c();++t<r;){var s=arguments[t];(Xr(s)||pe(s))&&(e.push(s),i.push(a&&s.length>=_&&f(t?e[t]:l)))}var d=e[0],g=-1,v=d?d.length:0,y=[];n:for(;++g<v;){var b=i[0];if(s=d[g],(b?o(b,s):u(l,s))<0){for(t=r,(b||l).push(s);--t;)if(b=i[t],(b?o(b,s):u(e[t],s))<0)continue n;y.push(s)}}for(;r--;)b=i[r],b&&h(b);return p(i),p(l),y}function wt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[i-1]:v;return d(n,Wr(0,i-o))}function _t(n,e,t){var r=n?n.length:0;for("number"==typeof t&&(r=(0>t?Wr(0,r+t):$r(t,r-1))+1);r--;)if(n[r]===e)return r;return-1}function Et(n){for(var e=arguments,t=0,r=e.length,o=n?n.length:0;++t<r;)for(var i=-1,u=e[t];++i<o;)n[i]===u&&(Dr.call(n,i--,1),o--);return n}function jt(n,e,t){n=+n||0,t="number"==typeof t?t:+t||1,null==e&&(e=n,n=0);for(var r=-1,o=Wr(0,xr((e-n)/(t||1))),i=hr(o);++r<o;)i[r]=n,n+=t;return i}function It(n,e,r){var o=-1,i=n?n.length:0,u=[];for(e=t.createCallback(e,r,3);++o<i;){var a=n[o];e(a,o,n)&&(u.push(a),Dr.call(n,o--,1),i--)}return u}function kt(n,e,r){if("number"!=typeof e&&null!=e){var o=0,i=-1,u=n?n.length:0;for(e=t.createCallback(e,r,3);++i<u&&e(n[i],i,n);)o++}else o=null==e||r?1:Wr(0,e);return d(n,o)}function Bt(n,e,r,o){var i=0,u=n?n.length:i;for(r=r?t.createCallback(r,o,1):Xt,e=r(e);u>i;){var a=i+u>>>1;r(n[a])<e?i=a+1:u=a}return i}function At(){return oe(Q(arguments,!0,!0))}function xt(n,e,r,o){return"boolean"!=typeof e&&null!=e&&(o=r,r="function"!=typeof e&&o&&o[e]===n?null:e,e=!1),null!=r&&(r=t.createCallback(r,o,3)),oe(n,e,r)}function St(n){return H(n,d(arguments,1))}function Ct(){for(var n=-1,e=arguments.length;++n<e;){var t=arguments[n];if(Xr(t)||pe(t))var r=r?oe(H(r,t).concat(H(t,r))):t}return r||[]}function Lt(){for(var n=arguments.length>1?arguments:arguments[0],e=-1,t=n?nt(po(n,"length")):0,r=hr(0>t?0:t);++e<t;)r[e]=po(n,e);return r}function Ut(n,e){var t=-1,r=n?n.length:0,o={};for(e||!r||Xr(n[0])||(e=[]);++t<r;){var i=n[t];e?o[i]=e[t]:i&&(o[i[0]]=i[1])}return o}function Ot(n,e){if(!Se(e))throw new Er;return function(){return--n<1?e.apply(this,arguments):void 0}}function Tt(n,e){return arguments.length>2?ue(n,17,d(arguments,2),null,e):ue(n,1,null,null,e)}function Nt(n){for(var e=arguments.length>1?Q(arguments,!0,!1,1):we(n),t=-1,r=e.length;++t<r;){var o=e[t];n[o]=ue(n[o],1,null,null,n)}return n}function Dt(n,e){return arguments.length>2?ue(e,19,d(arguments,2),null,n):ue(e,3,null,null,n)}function Ft(){for(var n=arguments,e=n.length;e--;)if(!Se(n[e]))throw new Er;return function(){for(var e=arguments,t=n.length;t--;)e=[n[t].apply(this,e)];return e[0]}}function Mt(n,e){return e="number"==typeof e?e:+e||n.length,ue(n,4,null,null,null,e)}function Yt(n,e,t){var r,o,i,u,a,f,l,c=0,s=!1,p=!0;if(!Se(n))throw new Er;if(e=Wr(0,e)||0,t===!0){var h=!0;p=!1}else Ce(t)&&(h=t.leading,s="maxWait"in t&&(Wr(e,t.maxWait)||0),p="trailing"in t?t.trailing:p);var d=function(){var t=e-(go()-u);if(0>=t){o&&Sr(o);var s=l;o=f=l=v,s&&(c=go(),i=n.apply(a,r),f||o||(r=a=null))}else f=Nr(d,t)},g=function(){f&&Sr(f),o=f=l=v,(p||s!==e)&&(c=go(),i=n.apply(a,r),f||o||(r=a=null))};return function(){if(r=arguments,u=go(),a=this,l=p&&(f||!h),s===!1)var t=h&&!f;else{o||h||(c=u);var v=s-(u-c),y=0>=v;y?(o&&(o=Sr(o)),c=u,i=n.apply(a,r)):o||(o=Nr(g,v))}return y&&f?f=Sr(f):f||e===s||(f=Nr(d,e)),t&&(y=!0,i=n.apply(a,r)),!y||f||o||(r=a=null),i}}function Zt(n){if(!Se(n))throw new Er;var e=d(arguments,1);return Nr(function(){n.apply(v,e)},1)}function Rt(n,e){if(!Se(n))throw new Er;var t=d(arguments,2);return Nr(function(){n.apply(v,t)},e)}function Pt(n,e){if(!Se(n))throw new Er;var t=function(){var r=t.cache,o=e?e.apply(this,arguments):w+arguments[0];return Or.call(r,o)?r[o]:r[o]=n.apply(this,arguments)};return t.cache={},t}function qt(n){var e,t;if(!Se(n))throw new Er;return function(){return e?t:(e=!0,t=n.apply(this,arguments),n=null,t)}}function Wt(n){return ue(n,16,d(arguments,1))}function $t(n){return ue(n,32,null,d(arguments,1))}function zt(n,e,t){var r=!0,o=!0;if(!Se(n))throw new Er;return t===!1?r=!1:Ce(t)&&(r="leading"in t?t.leading:r,o="trailing"in t?t.trailing:o),J.leading=r,J.maxWait=e,J.trailing=o,Yt(n,e,J)}function Jt(n,e){return ue(e,16,[n])}function Kt(n){return function(){return n}}function Gt(n,e,t){var r=typeof n;if(null==n||"function"==r)return E(n,e,t);if("object"!=r)return er(n);var o=Qr(n),i=o[0],u=n[i];return 1!=o.length||u!==u||Ce(u)?function(e){for(var t=o.length,r=!1;t--&&(r=ne(e[o[t]],n[o[t]],null,!0)););return r}:function(n){var e=n[i];return u===e&&(0!==u||1/u==1/e)}}function Vt(n){return null==n?"":_r(n).replace(ro,ae)}function Xt(n){return n}function Ht(n,e,o){var i=!0,u=e&&we(e);e&&(o||u.length)||(null==o&&(o=e),a=r,e=n,n=t,u=we(e)),o===!1?i=!1:Ce(o)&&"chain"in o&&(i=o.chain);var a=n,f=Se(a);Ve(u,function(t){var r=n[t]=e[t];f&&(a.prototype[t]=function(){var e=this.__chain__,t=this.__wrapped__,o=[t];Tr.apply(o,arguments);var u=r.apply(n,o);if(i||e){if(t===u&&Ce(u))return this;u=new a(u),u.__chain__=e}return u})})}function Qt(){return e._=kr,this}function nr(){}function er(n){return function(e){return e[n]}}function tr(n,e,t){var r=null==n,o=null==e;if(null==t&&("boolean"==typeof n&&o?(t=n,n=1):o||"boolean"!=typeof e||(t=e,o=!0)),r&&o&&(e=1),n=+n||0,o?(e=n,n=0):e=+e||0,t||n%1||e%1){var i=Jr();return $r(n+i*(e-n+parseFloat("1e-"+((i+"").length-1))),e)}return re(n,e)}function rr(n,e){if(n){var t=n[e];return Se(t)?n[e]():t}}function or(n,e,r){var o=t.templateSettings;n=_r(n||""),r=io({},r,o);var i,u=io({},r.imports,o.imports),a=Qr(u),f=qe(u),c=0,s=r.interpolate||U,p="__p += '",h=wr((r.escape||U).source+"|"+s.source+"|"+(s===C?A:U).source+"|"+(r.evaluate||U).source+"|$","g");n.replace(h,function(e,t,r,o,u,a){return r||(r=o),p+=n.slice(c,a).replace(T,l),t&&(p+="' +\n__e("+t+") +\n'"),u&&(i=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+e.length,e}),p+="';\n";var d=r.variable,g=d;g||(d="obj",p="with ("+d+") {\n"+p+"\n}\n"),p=(i?p.replace(I,""):p).replace(k,"$1").replace(B,"$1;"),p="function("+d+") {\n"+(g?"":d+" || ("+d+" = {});\n")+"var __t, __p = '', __e = _.escape"+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+D++ +"]")+"\n*/";try{var b=vr(a,"return "+p+y).apply(v,f)}catch(m){throw m.source=p,m}return e?b(e):(b.source=p,b)}function ir(n,e,t){n=(n=+n)>-1?n:0;var r=-1,o=hr(n);for(e=E(e,t,1);++r<n;)o[r]=e(r);return o}function ur(n){return null==n?"":_r(n).replace(to,se)}function ar(n){var e=++m;return _r(null==n?"":n)+e}function fr(n){return n=new r(n),n.__chain__=!0,n}function lr(n,e){return e(n),n}function cr(){return this.__chain__=!0,this}function sr(){return _r(this.__wrapped__)}function pr(){return this.__wrapped__}e=e?te.defaults(X.Object(),e,te.pick(X,N)):X;var hr=e.Array,dr=e.Boolean,gr=e.Date,vr=e.Function,yr=e.Math,br=e.Number,mr=e.Object,wr=e.RegExp,_r=e.String,Er=e.TypeError,jr=[],Ir=mr.prototype,kr=e._,Br=Ir.toString,Ar=wr("^"+_r(Br).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),xr=yr.ceil,Sr=e.clearTimeout,Cr=yr.floor,Lr=vr.prototype.toString,Ur=le(Ur=mr.getPrototypeOf)&&Ur,Or=Ir.hasOwnProperty,Tr=jr.push,Nr=e.setTimeout,Dr=jr.splice,Fr=jr.unshift,Mr=function(){try{var n={},e=le(e=mr.defineProperty)&&e,t=e(n,n,n)&&e}catch(r){}return t}(),Yr=le(Yr=mr.create)&&Yr,Zr=le(Zr=hr.isArray)&&Zr,Rr=e.isFinite,Pr=e.isNaN,qr=le(qr=mr.keys)&&qr,Wr=yr.max,$r=yr.min,zr=e.parseInt,Jr=yr.random,Kr={};Kr[M]=hr,Kr[Y]=dr,Kr[Z]=gr,Kr[R]=vr,Kr[q]=mr,Kr[P]=br,Kr[W]=wr,Kr[$]=_r,r.prototype=t.prototype;var Gr=t.support={};Gr.funcDecomp=!le(e.WinRTError)&&O.test(g),Gr.funcNames="string"==typeof vr.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:C,variable:"",imports:{_:t}},Yr||(b=function(){function n(){}return function(t){if(Ce(t)){n.prototype=t;var r=new n;n.prototype=null}return r||e.Object()}}());var Vr=Mr?function(n,e){K.value=e,Mr(n,"__bindData__",K)}:nr,Xr=Zr||function(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Br.call(n)==M||!1},Hr=function(n){var e,t=n,r=[];if(!t)return r;if(!G[typeof n])return r;for(e in t)Or.call(t,e)&&r.push(e);return r},Qr=qr?function(n){return Ce(n)?qr(n):[]}:Hr,no={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},eo=Ee(no),to=wr("("+Qr(eo).join("|")+")","g"),ro=wr("["+Qr(no).join("")+"]","g"),oo=function(n,e,t){var r,o=n,i=o;if(!o)return i;var u=arguments,a=0,f="number"==typeof t?2:u.length;if(f>3&&"function"==typeof u[f-2])var l=E(u[--f-1],u[f--],2);else f>2&&"function"==typeof u[f-1]&&(l=u[--f]);for(;++a<f;)if(o=u[a],o&&G[typeof o])for(var c=-1,s=G[typeof o]&&Qr(o),p=s?s.length:0;++c<p;)r=s[c],i[r]=l?l(i[r],o[r]):o[r];return i},io=function(n,e,t){var r,o=n,i=o;if(!o)return i;for(var u=arguments,a=0,f="number"==typeof t?2:u.length;++a<f;)if(o=u[a],o&&G[typeof o])for(var l=-1,c=G[typeof o]&&Qr(o),s=c?c.length:0;++l<s;)r=c[l],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},uo=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!G[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(r in o)if(e(o[r],r,n)===!1)return i;return i},ao=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!G[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(var u=-1,a=G[typeof o]&&Qr(o),f=a?a.length:0;++u<f;)if(r=a[u],e(o[r],r,n)===!1)return i;return i},fo=Ur?function(n){if(!n||Br.call(n)!=q)return!1;var e=n.valueOf,t=le(e)&&(t=Ur(e))&&Ur(t);return t?n==t||Ur(n)==t:ce(n)}:ce,lo=ie(function(n,e,t){Or.call(n,t)?n[t]++:n[t]=1}),co=ie(function(n,e,t){(Or.call(n,t)?n[t]:n[t]=[]).push(e)}),so=ie(function(n,e,t){n[t]=e}),po=Qe,ho=Je,go=le(go=gr.now)&&go||function(){return(new gr).getTime()},vo=8==zr(j+"08")?zr:function(n,e){return zr(Ne(n)?n.replace(L,""):n,e||0)};return t.after=Ot,t.assign=oo,t.at=We,t.bind=Tt,t.bindAll=Nt,t.bindKey=Dt,t.chain=fr,t.compact=st,t.compose=Ft,t.constant=Kt,t.countBy=lo,t.create=ge,t.createCallback=Gt,t.curry=Mt,t.debounce=Yt,t.defaults=io,t.defer=Zt,t.delay=Rt,t.difference=pt,t.filter=Je,t.flatten=vt,t.forEach=Ve,t.forEachRight=Xe,t.forIn=uo,t.forInRight=be,t.forOwn=ao,t.forOwnRight=me,t.functions=we,t.groupBy=co,t.indexBy=so,t.initial=bt,t.intersection=mt,t.invert=Ee,t.invoke=He,t.keys=Qr,t.map=Qe,t.mapValues=Fe,t.max=nt,t.memoize=Pt,t.merge=Me,t.min=et,t.omit=Ye,t.once=qt,t.pairs=Ze,t.partial=Wt,t.partialRight=$t,t.pick=Re,t.pluck=po,t.property=er,t.pull=Et,t.range=jt,t.reject=ot,t.remove=It,t.rest=kt,t.shuffle=ut,t.sortBy=lt,t.tap=lr,t.throttle=zt,t.times=ir,t.toArray=ct,t.transform=Pe,t.union=At,t.uniq=xt,t.values=qe,t.where=ho,t.without=St,t.wrap=Jt,t.xor=Ct,t.zip=Lt,t.zipObject=Ut,t.collect=Qe,t.drop=kt,t.each=Ve,t.eachRight=Xe,t.extend=oo,t.methods=we,t.object=Ut,t.select=Je,t.tail=kt,t.unique=xt,t.unzip=Lt,Ht(t),t.clone=he,t.cloneDeep=de,t.contains=$e,t.escape=Vt,t.every=ze,t.find=Ke,t.findIndex=ht,t.findKey=ve,t.findLast=Ge,t.findLastIndex=dt,t.findLastKey=ye,t.has=_e,t.identity=Xt,t.indexOf=yt,t.isArguments=pe,t.isArray=Xr,t.isBoolean=je,t.isDate=Ie,t.isElement=ke,t.isEmpty=Be,t.isEqual=Ae,t.isFinite=xe,t.isFunction=Se,t.isNaN=Le,t.isNull=Ue,t.isNumber=Oe,t.isObject=Ce,t.isPlainObject=fo,t.isRegExp=Te,t.isString=Ne,t.isUndefined=De,t.lastIndexOf=_t,t.mixin=Ht,t.noConflict=Qt,t.noop=nr,t.now=go,t.parseInt=vo,t.random=tr,t.reduce=tt,t.reduceRight=rt,t.result=rr,t.runInContext=g,t.size=at,t.some=ft,t.sortedIndex=Bt,t.template=or,t.unescape=ur,t.uniqueId=ar,t.all=ze,t.any=ft,t.detect=Ke,t.findWhere=Ke,t.foldl=tt,t.foldr=rt,t.include=$e,t.inject=tt,Ht(function(){var n={};return ao(t,function(e,r){t.prototype[r]||(n[r]=e)}),n}(),!1),t.first=gt,t.last=wt,t.sample=it,t.take=gt,t.head=gt,ao(t,function(n,e){var o="sample"!==e;t.prototype[e]||(t.prototype[e]=function(e,t){var i=this.__chain__,u=n(this.__wrapped__,e,t);return i||null!=e&&(!t||o&&"function"==typeof e)?new r(u,i):u})}),t.VERSION="2.4.1",t.prototype.chain=cr,t.prototype.toString=sr,t.prototype.value=pr,t.prototype.valueOf=pr,Ve(["join","pop","shift"],function(n){var e=jr[n];t.prototype[n]=function(){var n=this.__chain__,t=e.apply(this.__wrapped__,arguments);return n?new r(t,n):t}}),Ve(["push","reverse","sort","unshift"],function(n){var e=jr[n];t.prototype[n]=function(){return e.apply(this.__wrapped__,arguments),this}}),Ve(["concat","slice","splice"],function(n){var e=jr[n];t.prototype[n]=function(){return new r(e.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var v,y=[],b=[],m=0,w=+new Date+"",_=75,E=40,j=" \f \n\r\u2028\u2029 ᠎              ",I=/\b__p \+= '';/g,k=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,A=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,x=/\w*$/,S=/^\s*function[ \n\r\t]+\w/,C=/<%=([\s\S]+?)%>/g,L=RegExp("^["+j+"]*0+(?=.$)"),U=/($^)/,O=/\bthis\b/,T=/['\n\r\t\u2028\u2029\\]/g,N=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],D=0,F="[object Arguments]",M="[object Array]",Y="[object Boolean]",Z="[object Date]",R="[object Function]",P="[object Number]",q="[object Object]",W="[object RegExp]",$="[object String]",z={};z[R]=!1,z[F]=z[M]=z[Y]=z[Z]=z[P]=z[q]=z[W]=z[$]=!0;var J={leading:!1,maxWait:0,trailing:!1},K={configurable:!1,enumerable:!1,value:null,writable:!1},G={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},V={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},X=G[typeof window]&&window||this,H=G[typeof t]&&t&&!t.nodeType&&t,Q=G[typeof e]&&e&&!e.nodeType&&e,ne=Q&&Q.exports===H&&H,ee=G[typeof r]&&r;!ee||ee.global!==ee&&ee.window!==ee||(X=ee);var te=g();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(X._=te,define(function(){return te})):H&&Q?ne?(Q.exports=te)._=te:H._=te:X._=te}).call(this)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/lodash/dist/lodash.js","/../node_modules/lodash/dist")},{"1YiZ5S":10,buffer:7}]},{},[3]);
1
+ !function n(e,t,r){function o(u,a){if(!t[u]){if(!e[u]){var f="function"==typeof require&&require;if(!a&&f)return f(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var l=t[u]={exports:{}};e[u][0].call(l.exports,function(n){var t=e[u][1][n];return o(t?t:n)},l,l.exports,n,e,t,r)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(n,e){(function(){function t(){this.Controllers={},this.Dispatcher=c}function r(n,e){function t(){l.call(this)}return t.prototype=Object.create(l.prototype),t.prototype.constructor=t,f.extend(t.prototype,n),this[e+"Controller"]=t,new t}function o(n,e,t,r){f(e).each(function(e){if(!n[e]||!f.isFunction(n[e]))throw new Error("'"+t+"' Controller has an action '"+e+"' defined with no corresponding method");var o=f([r,"controller",i(t),e]).compact().join(":");this.Dispatcher.on(o,n[e],n)},this)}function i(n){return n.replace(/([A-Z])/g," $1").replace(/^\s?/,"").replace(/-|\s/g,"_").toLowerCase()}function u(n,e){if(!n.init)throw new Error("'Application' Controller: init is undefined");var t=f([e,"controller","all"]).compact().join(":");this.Dispatcher.on(t,n.init,n)}n("./polyfill");var a=n("./polyfill"),f=n("lodash"),l=n("./controller"),c=n("backbone-events-standalone");a(t,"createController",function(n,e){var t=r.call(this,e,n);return f.bindAll.apply(t,[t].concat(f.functions(t))),o.call(this,t,e.actions,n,e.namespace),n.match(/^Application$/i)&&u.call(this,t,e.namespace),this.Controllers[n]=t}),e.exports=t}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/application.js","/")},{"./controller":2,"./polyfill":4,"1YiZ5S":10,"backbone-events-standalone":6,buffer:7,lodash:11}],2:[function(n,e){(function(){function t(){this.initialize()}var r=n("./polyfill");r(t,"initialize",function(){}),r(t,"actions",[],!0,!0,!0),e.exports=t}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/controller.js","/")},{"./polyfill":4,"1YiZ5S":10,buffer:7}],3:[function(n){(function(e,t){var r=n("./application");t.JSKit={createApplication:function(){return new r}}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_adfdad7f.js","/")},{"./application":1,"1YiZ5S":10,buffer:7}],4:[function(n,e){(function(){function n(n,e){return"undefined"==typeof n?e:n}"function"!=typeof Object.create&&(Object.create=function(n,e){function t(){}if("object"!=typeof n)throw new Error("Object.create(prototype, properties): prototype is not an Object");t.prototype=n;var r=new t;if(n&&(r.constructor=t),void 0!==e){if(e!==Object(e))throw new Error("Object.create(prototype, properties): properties is not an Object");Object.defineProperties(r,e)}return r}),function(){if(!Object.defineProperty||!function(){try{return Object.defineProperty({},"x",{}),!0}catch(n){return!1}}()){var n=Object.defineProperty;Object.defineProperty=function(e,t,r){if(n)try{return n(e,t,r)}catch(o){}if(e!==Object(e))throw new Error("Object.defineProperty called on non-object");return Object.prototype.__defineGetter__&&"get"in r&&Object.prototype.__defineGetter__.call(e,t,r.get),Object.prototype.__defineSetter__&&"set"in r&&Object.prototype.__defineSetter__.call(e,t,r.set),"value"in r&&(e[t]=r.value),e}}}(),e.exports=function(e,t,r,o,i,u){o=n(o,!1),i=n(i,!1),u=n(u,!1),Object.defineProperty(e.prototype,t,{writeable:o,configurable:i,enumerable:u,value:r})}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/polyfill.js","/")},{"1YiZ5S":10,buffer:7}],5:[function(n,e,t){(function(){!function(){function n(){return{keys:Object.keys,uniqueId:function(n){var e=++l+"";return n?n+e:e},has:function(n,e){return a.call(n,e)},each:function(n,e,t){if(null!=n)if(u&&n.forEach===u)n.forEach(e,t);else if(n.length===+n.length){for(var r=0,o=n.length;o>r;r++)if(e.call(t,n[r],r,n)===i)return}else for(var a in n)if(this.has(n,a)&&e.call(t,n[a],a,n)===i)return},once:function(n){var e,t=!1;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}}}}var r,o=this,i={},u=Array.prototype.forEach,a=Object.prototype.hasOwnProperty,f=Array.prototype.slice,l=0,c=n();r={on:function(n,e,t){if(!p(this,"on",n,[e,t])||!e)return this;this._events||(this._events={});var r=this._events[n]||(this._events[n]=[]);return r.push({callback:e,context:t,ctx:t||this}),this},once:function(n,e,t){if(!p(this,"once",n,[e,t])||!e)return this;var r=this,o=c.once(function(){r.off(n,o),e.apply(this,arguments)});return o._callback=e,this.on(n,o,t)},off:function(n,e,t){var r,o,i,u,a,f,l,s;if(!this._events||!p(this,"off",n,[e,t]))return this;if(!n&&!e&&!t)return this._events={},this;for(u=n?[n]:c.keys(this._events),a=0,f=u.length;f>a;a++)if(n=u[a],i=this._events[n]){if(this._events[n]=r=[],e||t)for(l=0,s=i.length;s>l;l++)o=i[l],(e&&e!==o.callback&&e!==o.callback._callback||t&&t!==o.context)&&r.push(o);r.length||delete this._events[n]}return this},trigger:function(n){if(!this._events)return this;var e=f.call(arguments,1);if(!p(this,"trigger",n,e))return this;var t=this._events[n],r=this._events.all;return t&&h(t,e),r&&h(r,arguments),this},stopListening:function(n,e,t){var r=this._listeners;if(!r)return this;var o=!e&&!t;"object"==typeof e&&(t=this),n&&((r={})[n._listenerId]=n);for(var i in r)r[i].off(e,t,this),o&&delete this._listeners[i];return this}};var s=/\s+/,p=function(n,e,t,r){if(!t)return!0;if("object"==typeof t){for(var o in t)n[e].apply(n,[o,t[o]].concat(r));return!1}if(s.test(t)){for(var i=t.split(s),u=0,a=i.length;a>u;u++)n[e].apply(n,[i[u]].concat(r));return!1}return!0},h=function(n,e){var t,r=-1,o=n.length,i=e[0],u=e[1],a=e[2];switch(e.length){case 0:for(;++r<o;)(t=n[r]).callback.call(t.ctx);return;case 1:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i);return;case 2:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u);return;case 3:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u,a);return;default:for(;++r<o;)(t=n[r]).callback.apply(t.ctx,e)}},d={listenTo:"on",listenToOnce:"once"};c.each(d,function(n,e){r[e]=function(e,t,r){var o=this._listeners||(this._listeners={}),i=e._listenerId||(e._listenerId=c.uniqueId("l"));return o[i]=e,"object"==typeof t&&(r=this),e[n](t,r,this),this}}),r.bind=r.on,r.unbind=r.off,r.mixin=function(n){var e=["on","once","off","trigger","stopListening","listenTo","listenToOnce","bind","unbind"];return c.each(e,function(e){n[e]=this[e]},this),n},"function"==typeof define?define(function(){return r}):"undefined"!=typeof t?("undefined"!=typeof e&&e.exports&&(t=e.exports=r),t.BackboneEvents=r):o.BackboneEvents=r}(this)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/backbone-events-standalone/backbone-events-standalone.js","/../node_modules/backbone-events-standalone")},{"1YiZ5S":10,buffer:7}],6:[function(n,e){(function(){e.exports=n("./backbone-events-standalone")}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/backbone-events-standalone/index.js","/../node_modules/backbone-events-standalone")},{"./backbone-events-standalone":5,"1YiZ5S":10,buffer:7}],7:[function(n,e,t){(function(e,r,o){function o(n,e,t){if(!(this instanceof o))return new o(n,e,t);var r=typeof n;if("base64"===e&&"string"===r)for(n=S(n);n.length%4!==0;)n+="=";var i;if("number"===r)i=L(n);else if("string"===r)i=o.byteLength(n,e);else{if("object"!==r)throw new Error("First argument needs to be a number, array or string.");i=L(n.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof n.byteLength)u._set(n);else if(O(n))for(a=0;i>a;a++)u[a]=o.isBuffer(n)?n.readUInt8(a):n[a];else if("string"===r)u.write(n,0,e);else if("number"===r&&!o._useTypedArrays&&!t)for(a=0;i>a;a++)u[a]=0;return u}function i(n,e,t,r){t=Number(t)||0;var i=n.length-t;r?(r=Number(r),r>i&&(r=i)):r=i;var u=e.length;q(u%2===0,"Invalid hex string"),r>u/2&&(r=u/2);for(var a=0;r>a;a++){var f=parseInt(e.substr(2*a,2),16);q(!isNaN(f),"Invalid hex string"),n[t+a]=f}return o._charsWritten=2*a,a}function u(n,e,t,r){var i=o._charsWritten=Y(N(e),n,t,r);return i}function a(n,e,t,r){var i=o._charsWritten=Y(D(e),n,t,r);return i}function f(n,e,t,r){return a(n,e,t,r)}function l(n,e,t,r){var i=o._charsWritten=Y(M(e),n,t,r);return i}function c(n,e,t,r){var i=o._charsWritten=Y(F(e),n,t,r);return i}function s(n,e,t){return W.fromByteArray(0===e&&t===n.length?n:n.slice(e,t))}function p(n,e,t){var r="",o="";t=Math.min(n.length,t);for(var i=e;t>i;i++)n[i]<=127?(r+=Z(o)+String.fromCharCode(n[i]),o=""):o+="%"+n[i].toString(16);return r+Z(o)}function h(n,e,t){var r="";t=Math.min(n.length,t);for(var o=e;t>o;o++)r+=String.fromCharCode(n[o]);return r}function d(n,e,t){return h(n,e,t)}function g(n,e,t){var r=n.length;(!e||0>e)&&(e=0),(!t||0>t||t>r)&&(t=r);for(var o="",i=e;t>i;i++)o+=T(n[i]);return o}function v(n,e,t){for(var r=n.slice(e,t),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function y(n,e,t,r){r||(q("boolean"==typeof t,"missing or invalid endian"),q(void 0!==e&&null!==e,"missing offset"),q(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(i=n[e],o>e+1&&(i|=n[e+1]<<8)):(i=n[e]<<8,o>e+1&&(i|=n[e+1])),i}}function b(n,e,t,r){r||(q("boolean"==typeof t,"missing or invalid endian"),q(void 0!==e&&null!==e,"missing offset"),q(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(o>e+2&&(i=n[e+2]<<16),o>e+1&&(i|=n[e+1]<<8),i|=n[e],o>e+3&&(i+=n[e+3]<<24>>>0)):(o>e+1&&(i=n[e+1]<<16),o>e+2&&(i|=n[e+2]<<8),o>e+3&&(i|=n[e+3]),i+=n[e]<<24>>>0),i}}function m(n,e,t,r){r||(q("boolean"==typeof t,"missing or invalid endian"),q(void 0!==e&&null!==e,"missing offset"),q(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=y(n,e,t,!0),u=32768&i;return u?-1*(65535-i+1):i}}function w(n,e,t,r){r||(q("boolean"==typeof t,"missing or invalid endian"),q(void 0!==e&&null!==e,"missing offset"),q(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=b(n,e,t,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function _(n,e,t,r){return r||(q("boolean"==typeof t,"missing or invalid endian"),q(e+3<n.length,"Trying to read beyond buffer length")),z.read(n,e,t,23,4)}function E(n,e,t,r){return r||(q("boolean"==typeof t,"missing or invalid endian"),q(e+7<n.length,"Trying to read beyond buffer length")),z.read(n,e,t,52,8)}function j(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+1<n.length,"trying to write beyond buffer length"),R(e,65535));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,2);a>u;u++)n[t+u]=(e&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function I(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+3<n.length,"trying to write beyond buffer length"),R(e,4294967295));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,4);a>u;u++)n[t+u]=e>>>8*(r?u:3-u)&255}function k(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+1<n.length,"Trying to write beyond buffer length"),P(e,32767,-32768));var i=n.length;t>=i||(e>=0?j(n,e,t,r,o):j(n,65535+e+1,t,r,o))}function B(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+3<n.length,"Trying to write beyond buffer length"),P(e,2147483647,-2147483648));var i=n.length;t>=i||(e>=0?I(n,e,t,r,o):I(n,4294967295+e+1,t,r,o))}function A(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+3<n.length,"Trying to write beyond buffer length"),$(e,3.4028234663852886e38,-3.4028234663852886e38));var i=n.length;t>=i||z.write(n,e,t,r,23,4)}function x(n,e,t,r,o){o||(q(void 0!==e&&null!==e,"missing value"),q("boolean"==typeof r,"missing or invalid endian"),q(void 0!==t&&null!==t,"missing offset"),q(t+7<n.length,"Trying to write beyond buffer length"),$(e,1.7976931348623157e308,-1.7976931348623157e308));var i=n.length;t>=i||z.write(n,e,t,r,52,8)}function S(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function C(n,e,t){return"number"!=typeof n?t:(n=~~n,n>=e?e:n>=0?n:(n+=e,n>=0?n:0))}function L(n){return n=~~Math.ceil(+n),0>n?0:n}function U(n){return(Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)})(n)}function O(n){return U(n)||o.isBuffer(n)||n&&"object"==typeof n&&"number"==typeof n.length}function T(n){return 16>n?"0"+n.toString(16):n.toString(16)}function N(n){for(var e=[],t=0;t<n.length;t++){var r=n.charCodeAt(t);if(127>=r)e.push(n.charCodeAt(t));else{var o=t;r>=55296&&57343>=r&&t++;for(var i=encodeURIComponent(n.slice(o,t+1)).substr(1).split("%"),u=0;u<i.length;u++)e.push(parseInt(i[u],16))}}return e}function D(n){for(var e=[],t=0;t<n.length;t++)e.push(255&n.charCodeAt(t));return e}function F(n){for(var e,t,r,o=[],i=0;i<n.length;i++)e=n.charCodeAt(i),t=e>>8,r=e%256,o.push(r),o.push(t);return o}function M(n){return W.toByteArray(n)}function Y(n,e,t,r){for(var o=0;r>o&&!(o+t>=e.length||o>=n.length);o++)e[o+t]=n[o];return o}function Z(n){try{return decodeURIComponent(n)}catch(e){return String.fromCharCode(65533)}}function R(n,e){q("number"==typeof n,"cannot write a non-number as a number"),q(n>=0,"specified a negative value for writing an unsigned value"),q(e>=n,"value is larger than maximum value for type"),q(Math.floor(n)===n,"value has a fractional component")}function P(n,e,t){q("number"==typeof n,"cannot write a non-number as a number"),q(e>=n,"value larger than maximum allowed value"),q(n>=t,"value smaller than minimum allowed value"),q(Math.floor(n)===n,"value has a fractional component")}function $(n,e,t){q("number"==typeof n,"cannot write a non-number as a number"),q(e>=n,"value larger than maximum allowed value"),q(n>=t,"value smaller than minimum allowed value")}function q(n,e){if(!n)throw new Error(e||"Failed assertion")}var W=n("base64-js"),z=n("ieee754");t.Buffer=o,t.SlowBuffer=o,t.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var n=new ArrayBuffer(0),e=new Uint8Array(n);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),o.isEncoding=function(n){switch(String(n).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}},o.isBuffer=function(n){return!(null===n||void 0===n||!n._isBuffer)},o.byteLength=function(n,e){var t;switch(n+="",e||"utf8"){case"hex":t=n.length/2;break;case"utf8":case"utf-8":t=N(n).length;break;case"ascii":case"binary":case"raw":t=n.length;break;case"base64":t=M(n).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":t=2*n.length;break;default:throw new Error("Unknown encoding")}return t},o.concat=function(n,e){if(q(U(n),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===n.length)return new o(0);if(1===n.length)return n[0];var t;if("number"!=typeof e)for(e=0,t=0;t<n.length;t++)e+=n[t].length;var r=new o(e),i=0;for(t=0;t<n.length;t++){var u=n[t];u.copy(r,i),i+=u.length}return r},o.prototype.write=function(n,e,t,r){if(isFinite(e))isFinite(t)||(r=t,t=void 0);else{var o=r;r=e,e=t,t=o}e=Number(e)||0;var s=this.length-e;t?(t=Number(t),t>s&&(t=s)):t=s,r=String(r||"utf8").toLowerCase();var p;switch(r){case"hex":p=i(this,n,e,t);break;case"utf8":case"utf-8":p=u(this,n,e,t);break;case"ascii":p=a(this,n,e,t);break;case"binary":p=f(this,n,e,t);break;case"base64":p=l(this,n,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":p=c(this,n,e,t);break;default:throw new Error("Unknown encoding")}return p},o.prototype.toString=function(n,e,t){var r=this;if(n=String(n||"utf8").toLowerCase(),e=Number(e)||0,t=void 0!==t?Number(t):t=r.length,t===e)return"";var o;switch(n){case"hex":o=g(r,e,t);break;case"utf8":case"utf-8":o=p(r,e,t);break;case"ascii":o=h(r,e,t);break;case"binary":o=d(r,e,t);break;case"base64":o=s(r,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=v(r,e,t);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(n,e,t,r){var i=this;if(t||(t=0),r||0===r||(r=this.length),e||(e=0),r!==t&&0!==n.length&&0!==i.length){q(r>=t,"sourceEnd < sourceStart"),q(e>=0&&e<n.length,"targetStart out of bounds"),q(t>=0&&t<i.length,"sourceStart out of bounds"),q(r>=0&&r<=i.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),n.length-e<r-t&&(r=n.length-e+t);var u=r-t;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)n[a+e]=this[a+t];else n._set(this.subarray(t,t+u),e)}},o.prototype.slice=function(n,e){var t=this.length;if(n=C(n,t,0),e=C(e,t,t),o._useTypedArrays)return o._augment(this.subarray(n,e));for(var r=e-n,i=new o(r,void 0,!0),u=0;r>u;u++)i[u]=this[u+n];return i},o.prototype.get=function(n){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(n)},o.prototype.set=function(n,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(n,e)},o.prototype.readUInt8=function(n,e){return e||(q(void 0!==n&&null!==n,"missing offset"),q(n<this.length,"Trying to read beyond buffer length")),n>=this.length?void 0:this[n]},o.prototype.readUInt16LE=function(n,e){return y(this,n,!0,e)},o.prototype.readUInt16BE=function(n,e){return y(this,n,!1,e)},o.prototype.readUInt32LE=function(n,e){return b(this,n,!0,e)},o.prototype.readUInt32BE=function(n,e){return b(this,n,!1,e)},o.prototype.readInt8=function(n,e){if(e||(q(void 0!==n&&null!==n,"missing offset"),q(n<this.length,"Trying to read beyond buffer length")),!(n>=this.length)){var t=128&this[n];return t?-1*(255-this[n]+1):this[n]}},o.prototype.readInt16LE=function(n,e){return m(this,n,!0,e)},o.prototype.readInt16BE=function(n,e){return m(this,n,!1,e)},o.prototype.readInt32LE=function(n,e){return w(this,n,!0,e)},o.prototype.readInt32BE=function(n,e){return w(this,n,!1,e)},o.prototype.readFloatLE=function(n,e){return _(this,n,!0,e)},o.prototype.readFloatBE=function(n,e){return _(this,n,!1,e)},o.prototype.readDoubleLE=function(n,e){return E(this,n,!0,e)},o.prototype.readDoubleBE=function(n,e){return E(this,n,!1,e)},o.prototype.writeUInt8=function(n,e,t){t||(q(void 0!==n&&null!==n,"missing value"),q(void 0!==e&&null!==e,"missing offset"),q(e<this.length,"trying to write beyond buffer length"),R(n,255)),e>=this.length||(this[e]=n)},o.prototype.writeUInt16LE=function(n,e,t){j(this,n,e,!0,t)},o.prototype.writeUInt16BE=function(n,e,t){j(this,n,e,!1,t)},o.prototype.writeUInt32LE=function(n,e,t){I(this,n,e,!0,t)},o.prototype.writeUInt32BE=function(n,e,t){I(this,n,e,!1,t)},o.prototype.writeInt8=function(n,e,t){t||(q(void 0!==n&&null!==n,"missing value"),q(void 0!==e&&null!==e,"missing offset"),q(e<this.length,"Trying to write beyond buffer length"),P(n,127,-128)),e>=this.length||(n>=0?this.writeUInt8(n,e,t):this.writeUInt8(255+n+1,e,t))},o.prototype.writeInt16LE=function(n,e,t){k(this,n,e,!0,t)},o.prototype.writeInt16BE=function(n,e,t){k(this,n,e,!1,t)},o.prototype.writeInt32LE=function(n,e,t){B(this,n,e,!0,t)},o.prototype.writeInt32BE=function(n,e,t){B(this,n,e,!1,t)},o.prototype.writeFloatLE=function(n,e,t){A(this,n,e,!0,t)},o.prototype.writeFloatBE=function(n,e,t){A(this,n,e,!1,t)},o.prototype.writeDoubleLE=function(n,e,t){x(this,n,e,!0,t)},o.prototype.writeDoubleBE=function(n,e,t){x(this,n,e,!1,t)},o.prototype.fill=function(n,e,t){if(n||(n=0),e||(e=0),t||(t=this.length),"string"==typeof n&&(n=n.charCodeAt(0)),q("number"==typeof n&&!isNaN(n),"value is not a number"),q(t>=e,"end < start"),t!==e&&0!==this.length){q(e>=0&&e<this.length,"start out of bounds"),q(t>=0&&t<=this.length,"end out of bounds");for(var r=e;t>r;r++)this[r]=n}},o.prototype.inspect=function(){for(var n=[],e=this.length,r=0;e>r;r++)if(n[r]=T(this[r]),r===t.INSPECT_MAX_BYTES){n[r+1]="...";break}return"<Buffer "+n.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var n=new Uint8Array(this.length),e=0,t=n.length;t>e;e+=1)n[e]=this[e];return n.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var J=o.prototype;o._augment=function(n){return n._isBuffer=!0,n._get=n.get,n._set=n.set,n.get=J.get,n.set=J.set,n.write=J.write,n.toString=J.toString,n.toLocaleString=J.toString,n.toJSON=J.toJSON,n.copy=J.copy,n.slice=J.slice,n.readUInt8=J.readUInt8,n.readUInt16LE=J.readUInt16LE,n.readUInt16BE=J.readUInt16BE,n.readUInt32LE=J.readUInt32LE,n.readUInt32BE=J.readUInt32BE,n.readInt8=J.readInt8,n.readInt16LE=J.readInt16LE,n.readInt16BE=J.readInt16BE,n.readInt32LE=J.readInt32LE,n.readInt32BE=J.readInt32BE,n.readFloatLE=J.readFloatLE,n.readFloatBE=J.readFloatBE,n.readDoubleLE=J.readDoubleLE,n.readDoubleBE=J.readDoubleBE,n.writeUInt8=J.writeUInt8,n.writeUInt16LE=J.writeUInt16LE,n.writeUInt16BE=J.writeUInt16BE,n.writeUInt32LE=J.writeUInt32LE,n.writeUInt32BE=J.writeUInt32BE,n.writeInt8=J.writeInt8,n.writeInt16LE=J.writeInt16LE,n.writeInt16BE=J.writeInt16BE,n.writeInt32LE=J.writeInt32LE,n.writeInt32BE=J.writeInt32BE,n.writeFloatLE=J.writeFloatLE,n.writeFloatBE=J.writeFloatBE,n.writeDoubleLE=J.writeDoubleLE,n.writeDoubleBE=J.writeDoubleBE,n.fill=J.fill,n.inspect=J.inspect,n.toArrayBuffer=J.toArrayBuffer,n}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{"1YiZ5S":10,"base64-js":8,buffer:7,ieee754:9}],8:[function(n,e,t){(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(n){var e=n.charCodeAt(0);return e===u?62:e===a?63:f>e?-1:f+10>e?e-f+26+26:c+26>e?e-c:l+26>e?e-l+26:void 0}function r(n){function e(n){l[s++]=n}var r,o,u,a,f,l;if(n.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=n.length;f="="===n.charAt(c-2)?2:"="===n.charAt(c-1)?1:0,l=new i(3*n.length/4-f),u=f>0?n.length-4:n.length;var s=0;for(r=0,o=0;u>r;r+=4,o+=3)a=t(n.charAt(r))<<18|t(n.charAt(r+1))<<12|t(n.charAt(r+2))<<6|t(n.charAt(r+3)),e((16711680&a)>>16),e((65280&a)>>8),e(255&a);return 2===f?(a=t(n.charAt(r))<<2|t(n.charAt(r+1))>>4,e(255&a)):1===f&&(a=t(n.charAt(r))<<10|t(n.charAt(r+1))<<4|t(n.charAt(r+2))>>2,e(a>>8&255),e(255&a)),l}function o(e){function t(e){return n.charAt(e)}function r(n){return t(n>>18&63)+t(n>>12&63)+t(n>>6&63)+t(63&n)}var o,i,u,a=e.length%3,f="";for(o=0,u=e.length-a;u>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],f+=r(i);switch(a){case 1:i=e[e.length-1],f+=t(i>>2),f+=t(i<<4&63),f+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],f+=t(i>>10),f+=t(i>>4&63),f+=t(i<<2&63),f+="="}return f}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,u="+".charCodeAt(0),a="/".charCodeAt(0),f="0".charCodeAt(0),l="a".charCodeAt(0),c="A".charCodeAt(0);e.toByteArray=r,e.fromByteArray=o}("undefined"==typeof t?this.base64js={}:t)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{"1YiZ5S":10,buffer:7}],9:[function(n,e,t){(function(){t.read=function(n,e,t,r,o){var i,u,a=8*o-r-1,f=(1<<a)-1,l=f>>1,c=-7,s=t?o-1:0,p=t?-1:1,h=n[e+s];for(s+=p,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+n[e+s],s+=p,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=r;c>0;u=256*u+n[e+s],s+=p,c-=8);if(0===i)i=1-l;else{if(i===f)return u?0/0:1/0*(h?-1:1);u+=Math.pow(2,r),i-=l}return(h?-1:1)*u*Math.pow(2,i-r)},t.write=function(n,e,t,r,o,i){var u,a,f,l=8*i-o-1,c=(1<<l)-1,s=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+s>=1?p/f:p*Math.pow(2,1-s),e*f>=2&&(u++,f/=2),u+s>=c?(a=0,u=c):u+s>=1?(a=(e*f-1)*Math.pow(2,o),u+=s):(a=e*Math.pow(2,s-1)*Math.pow(2,o),u=0));o>=8;n[t+h]=255&a,h+=d,a/=256,o-=8);for(u=u<<o|a,l+=o;l>0;n[t+h]=255&u,h+=d,u/=256,l-=8);n[t+h-d]|=128*g}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{"1YiZ5S":10,buffer:7}],10:[function(n,e){(function(n){function t(){}var n=e.exports={};n.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(e){var t=[];return window.addEventListener("message",function(n){var e=n.source;if((e===window||null===e)&&"process-tick"===n.data&&(n.stopPropagation(),t.length>0)){var r=t.shift();r()}},!0),function(n){t.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=t,n.addListener=t,n.once=t,n.off=t,n.removeListener=t,n.removeAllListeners=t,n.emit=t,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/../node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{"1YiZ5S":10,buffer:7}],11:[function(n,e,t){(function(n,r){(function(){function n(n,e,t){for(var r=(t||0)-1,o=n?n.length:0;++r<o;)if(n[r]===e)return r;return-1}function o(e,t){var r=typeof t;if(e=e.cache,"boolean"==r||null==t)return e[t]?0:-1;"number"!=r&&"string"!=r&&(r="object");var o="number"==r?t:w+t;return e=(e=e[r])&&e[o],"object"==r?e&&n(e,t)>-1?0:-1:e?0:-1}function i(n){var e=this.cache,t=typeof n;if("boolean"==t||null==n)e[n]=!0;else{"number"!=t&&"string"!=t&&(t="object");var r="number"==t?n:w+n,o=e[t]||(e[t]={});"object"==t?(o[r]||(o[r]=[])).push(n):o[r]=!0}}function u(n){return n.charCodeAt(0)}function a(n,e){for(var t=n.criteria,r=e.criteria,o=-1,i=t.length;++o<i;){var u=t[o],a=r[o];if(u!==a){if(u>a||"undefined"==typeof u)return 1;if(a>u||"undefined"==typeof a)return-1}}return n.index-e.index}function f(n){var e=-1,t=n.length,r=n[0],o=n[t/2|0],u=n[t-1];if(r&&"object"==typeof r&&o&&"object"==typeof o&&u&&"object"==typeof u)return!1;var a=s();a["false"]=a["null"]=a["true"]=a.undefined=!1;var f=s();for(f.array=n,f.cache=a,f.push=i;++e<t;)f.push(n[e]);return f}function l(n){return"\\"+V[n]}function c(){return y.pop()||[]}function s(){return b.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function p(n){n.length=0,y.length<E&&y.push(n)}function h(n){var e=n.cache;e&&h(e),n.array=n.cache=n.criteria=n.object=n.number=n.string=n.value=null,b.length<E&&b.push(n)}function d(n,e,t){e||(e=0),"undefined"==typeof t&&(t=n?n.length:0);for(var r=-1,o=t-e||0,i=Array(0>o?0:o);++r<o;)i[r]=n[e+r];return i}function g(e){function t(n){return n&&"object"==typeof n&&!Xr(n)&&Or.call(n,"__wrapped__")?n:new r(n)}function r(n,e){this.__chain__=!!e,this.__wrapped__=n}function i(n){function e(){if(r){var n=d(r);Tr.apply(n,arguments)}if(this instanceof e){var i=b(t.prototype),u=t.apply(i,n||arguments);return Ce(u)?u:i}return t.apply(o,n||arguments)}var t=n[0],r=n[2],o=n[4];return Vr(e,n),e}function y(n,e,t,r,o){if(t){var i=t(n);if("undefined"!=typeof i)return i}var u=Ce(n);if(!u)return n;var a=Br.call(n);if(!z[a])return n;var f=Kr[a];switch(a){case Y:case Z:return new f(+n);case P:case W:return new f(n);case q:return i=f(n.source,x.exec(n)),i.lastIndex=n.lastIndex,i}var l=Xr(n);if(e){var s=!r;r||(r=c()),o||(o=c());for(var h=r.length;h--;)if(r[h]==n)return o[h];i=l?f(n.length):{}}else i=l?d(n):oo({},n);return l&&(Or.call(n,"index")&&(i.index=n.index),Or.call(n,"input")&&(i.input=n.input)),e?(r.push(n),o.push(i),(l?Ve:ao)(n,function(n,u){i[u]=y(n,e,t,r,o)}),s&&(p(r),p(o)),i):i}function b(n){return Ce(n)?Yr(n):{}}function E(n,e,t){if("function"!=typeof n)return Xt;if("undefined"==typeof e||!("prototype"in n))return n;var r=n.__bindData__;if("undefined"==typeof r&&(Gr.funcNames&&(r=!n.name),r=r||!Gr.funcDecomp,!r)){var o=Lr.call(n);Gr.funcNames||(r=!S.test(o)),r||(r=O.test(o),Vr(n,r))}if(r===!1||r!==!0&&1&r[1])return n;switch(t){case 1:return function(t){return n.call(e,t)};case 2:return function(t,r){return n.call(e,t,r)};case 3:return function(t,r,o){return n.call(e,t,r,o)};case 4:return function(t,r,o,i){return n.call(e,t,r,o,i)}}return Tt(n,e)}function V(n){function e(){var n=f?u:this;if(o){var h=d(o);Tr.apply(h,arguments)}if((i||c)&&(h||(h=d(arguments)),i&&Tr.apply(h,i),c&&h.length<a))return r|=16,V([t,s?r:-4&r,h,null,u,a]);if(h||(h=arguments),l&&(t=n[p]),this instanceof e){n=b(t.prototype);var g=t.apply(n,h);return Ce(g)?g:n}return t.apply(n,h)}var t=n[0],r=n[1],o=n[2],i=n[3],u=n[4],a=n[5],f=1&r,l=2&r,c=4&r,s=8&r,p=t;return Vr(e,n),e}function H(e,t){var r=-1,i=fe(),u=e?e.length:0,a=u>=_&&i===n,l=[];if(a){var c=f(t);c?(i=o,t=c):a=!1}for(;++r<u;){var s=e[r];i(t,s)<0&&l.push(s)}return a&&h(t),l}function Q(n,e,t,r){for(var o=(r||0)-1,i=n?n.length:0,u=[];++o<i;){var a=n[o];if(a&&"object"==typeof a&&"number"==typeof a.length&&(Xr(a)||pe(a))){e||(a=Q(a,e,t));var f=-1,l=a.length,c=u.length;for(u.length+=l;++f<l;)u[c++]=a[f]}else t||u.push(a)}return u}function ne(n,e,t,r,o,i){if(t){var u=t(n,e);if("undefined"!=typeof u)return!!u}if(n===e)return 0!==n||1/n==1/e;var a=typeof n,f=typeof e;if(!(n!==n||n&&G[a]||e&&G[f]))return!1;if(null==n||null==e)return n===e;var l=Br.call(n),s=Br.call(e);if(l==F&&(l=$),s==F&&(s=$),l!=s)return!1;switch(l){case Y:case Z:return+n==+e;case P:return n!=+n?e!=+e:0==n?1/n==1/e:n==+e;case q:case W:return n==_r(e)}var h=l==M;if(!h){var d=Or.call(n,"__wrapped__"),g=Or.call(e,"__wrapped__");if(d||g)return ne(d?n.__wrapped__:n,g?e.__wrapped__:e,t,r,o,i);if(l!=$)return!1;var v=n.constructor,y=e.constructor;if(v!=y&&!(Se(v)&&v instanceof v&&Se(y)&&y instanceof y)&&"constructor"in n&&"constructor"in e)return!1}var b=!o;o||(o=c()),i||(i=c());for(var m=o.length;m--;)if(o[m]==n)return i[m]==e;var w=0;if(u=!0,o.push(n),i.push(e),h){if(m=n.length,w=e.length,u=w==m,u||r)for(;w--;){var _=m,E=e[w];if(r)for(;_--&&!(u=ne(n[_],E,t,r,o,i)););else if(!(u=ne(n[w],E,t,r,o,i)))break}}else uo(e,function(e,a,f){return Or.call(f,a)?(w++,u=Or.call(n,a)&&ne(n[a],e,t,r,o,i)):void 0}),u&&!r&&uo(n,function(n,e,t){return Or.call(t,e)?u=--w>-1:void 0
2
+ });return o.pop(),i.pop(),b&&(p(o),p(i)),u}function ee(n,e,t,r,o){(Xr(e)?Ve:ao)(e,function(e,i){var u,a,f=e,l=n[i];if(e&&((a=Xr(e))||fo(e))){for(var c=r.length;c--;)if(u=r[c]==e){l=o[c];break}if(!u){var s;t&&(f=t(l,e),(s="undefined"!=typeof f)&&(l=f)),s||(l=a?Xr(l)?l:[]:fo(l)?l:{}),r.push(e),o.push(l),s||ee(l,e,t,r,o)}}else t&&(f=t(l,e),"undefined"==typeof f&&(f=e)),"undefined"!=typeof f&&(l=f);n[i]=l})}function re(n,e){return n+Cr(Jr()*(e-n+1))}function oe(e,t,r){var i=-1,u=fe(),a=e?e.length:0,l=[],s=!t&&a>=_&&u===n,d=r||s?c():l;if(s){var g=f(d);u=o,d=g}for(;++i<a;){var v=e[i],y=r?r(v,i,e):v;(t?!i||d[d.length-1]!==y:u(d,y)<0)&&((r||s)&&d.push(y),l.push(v))}return s?(p(d.array),h(d)):r&&p(d),l}function ie(n){return function(e,r,o){var i={};r=t.createCallback(r,o,3);var u=-1,a=e?e.length:0;if("number"==typeof a)for(;++u<a;){var f=e[u];n(i,f,r(f,u,e),e)}else ao(e,function(e,t,o){n(i,e,r(e,t,o),o)});return i}}function ue(n,e,t,r,o,u){var a=1&e,f=2&e,l=4&e,c=16&e,s=32&e;if(!f&&!Se(n))throw new Er;c&&!t.length&&(e&=-17,c=t=!1),s&&!r.length&&(e&=-33,s=r=!1);var p=n&&n.__bindData__;if(p&&p!==!0)return p=d(p),p[2]&&(p[2]=d(p[2])),p[3]&&(p[3]=d(p[3])),!a||1&p[1]||(p[4]=o),!a&&1&p[1]&&(e|=8),!l||4&p[1]||(p[5]=u),c&&Tr.apply(p[2]||(p[2]=[]),t),s&&Fr.apply(p[3]||(p[3]=[]),r),p[1]|=e,ue.apply(null,p);var h=1==e||17===e?i:V;return h([n,e,t,r,o,u])}function ae(n){return no[n]}function fe(){var e=(e=t.indexOf)===yt?n:e;return e}function le(n){return"function"==typeof n&&Ar.test(n)}function ce(n){var e,t;return n&&Br.call(n)==$&&(e=n.constructor,!Se(e)||e instanceof e)?(uo(n,function(n,e){t=e}),"undefined"==typeof t||Or.call(n,t)):!1}function se(n){return eo[n]}function pe(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Br.call(n)==F||!1}function he(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t=e,e=!1),y(n,e,"function"==typeof t&&E(t,r,1))}function de(n,e,t){return y(n,!0,"function"==typeof e&&E(e,t,1))}function ge(n,e){var t=b(n);return e?oo(t,e):t}function ve(n,e,r){var o;return e=t.createCallback(e,r,3),ao(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function ye(n,e,r){var o;return e=t.createCallback(e,r,3),me(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function be(n,e,t){var r=[];uo(n,function(n,e){r.push(e,n)});var o=r.length;for(e=E(e,t,3);o--&&e(r[o--],r[o],n)!==!1;);return n}function me(n,e,t){var r=Qr(n),o=r.length;for(e=E(e,t,3);o--;){var i=r[o];if(e(n[i],i,n)===!1)break}return n}function we(n){var e=[];return uo(n,function(n,t){Se(n)&&e.push(t)}),e.sort()}function _e(n,e){return n?Or.call(n,e):!1}function Ee(n){for(var e=-1,t=Qr(n),r=t.length,o={};++e<r;){var i=t[e];o[n[i]]=i}return o}function je(n){return n===!0||n===!1||n&&"object"==typeof n&&Br.call(n)==Y||!1}function Ie(n){return n&&"object"==typeof n&&Br.call(n)==Z||!1}function ke(n){return n&&1===n.nodeType||!1}function Be(n){var e=!0;if(!n)return e;var t=Br.call(n),r=n.length;return t==M||t==W||t==F||t==$&&"number"==typeof r&&Se(n.splice)?!r:(ao(n,function(){return e=!1}),e)}function Ae(n,e,t,r){return ne(n,e,"function"==typeof t&&E(t,r,2))}function xe(n){return Rr(n)&&!Pr(parseFloat(n))}function Se(n){return"function"==typeof n}function Ce(n){return!(!n||!G[typeof n])}function Le(n){return Oe(n)&&n!=+n}function Ue(n){return null===n}function Oe(n){return"number"==typeof n||n&&"object"==typeof n&&Br.call(n)==P||!1}function Te(n){return n&&"object"==typeof n&&Br.call(n)==q||!1}function Ne(n){return"string"==typeof n||n&&"object"==typeof n&&Br.call(n)==W||!1}function De(n){return"undefined"==typeof n}function Fe(n,e,r){var o={};return e=t.createCallback(e,r,3),ao(n,function(n,t,r){o[t]=e(n,t,r)}),o}function Me(n){var e=arguments,t=2;if(!Ce(n))return n;if("number"!=typeof e[2]&&(t=e.length),t>3&&"function"==typeof e[t-2])var r=E(e[--t-1],e[t--],2);else t>2&&"function"==typeof e[t-1]&&(r=e[--t]);for(var o=d(arguments,1,t),i=-1,u=c(),a=c();++i<t;)ee(n,o[i],r,u,a);return p(u),p(a),n}function Ye(n,e,r){var o={};if("function"!=typeof e){var i=[];uo(n,function(n,e){i.push(e)}),i=H(i,Q(arguments,!0,!1,1));for(var u=-1,a=i.length;++u<a;){var f=i[u];o[f]=n[f]}}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)||(o[t]=n)});return o}function Ze(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;){var i=t[e];o[e]=[i,n[i]]}return o}function Re(n,e,r){var o={};if("function"!=typeof e)for(var i=-1,u=Q(arguments,!0,!1,1),a=Ce(n)?u.length:0;++i<a;){var f=u[i];f in n&&(o[f]=n[f])}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)&&(o[t]=n)});return o}function Pe(n,e,r,o){var i=Xr(n);if(null==r)if(i)r=[];else{var u=n&&n.constructor,a=u&&u.prototype;r=b(a)}return e&&(e=t.createCallback(e,o,4),(i?Ve:ao)(n,function(n,t,o){return e(r,n,t,o)})),r}function $e(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;)o[e]=n[t[e]];return o}function qe(n){for(var e=arguments,t=-1,r=Q(e,!0,!1,1),o=e[2]&&e[2][e[1]]===n?1:r.length,i=hr(o);++t<o;)i[t]=n[r[t]];return i}function We(n,e,t){var r=-1,o=fe(),i=n?n.length:0,u=!1;return t=(0>t?qr(0,i+t):t)||0,Xr(n)?u=o(n,e,t)>-1:"number"==typeof i?u=(Ne(n)?n.indexOf(e,t):o(n,e,t))>-1:ao(n,function(n){return++r>=t?!(u=n===e):void 0}),u}function ze(n,e,r){var o=!0;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&(o=!!e(n[i],i,n)););else ao(n,function(n,t,r){return o=!!e(n,t,r)});return o}function Je(n,e,r){var o=[];e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u;){var a=n[i];e(a,i,n)&&o.push(a)}else ao(n,function(n,t,r){e(n,t,r)&&o.push(n)});return o}function Ke(n,e,r){e=t.createCallback(e,r,3);var o=-1,i=n?n.length:0;if("number"!=typeof i){var u;return ao(n,function(n,t,r){return e(n,t,r)?(u=n,!1):void 0}),u}for(;++o<i;){var a=n[o];if(e(a,o,n))return a}}function Ge(n,e,r){var o;return e=t.createCallback(e,r,3),Xe(n,function(n,t,r){return e(n,t,r)?(o=n,!1):void 0}),o}function Ve(n,e,t){var r=-1,o=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof o)for(;++r<o&&e(n[r],r,n)!==!1;);else ao(n,e);return n}function Xe(n,e,t){var r=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof r)for(;r--&&e(n[r],r,n)!==!1;);else{var o=Qr(n);r=o.length,ao(n,function(n,t,i){return t=o?o[--r]:--r,e(i[t],t,i)})}return n}function He(n,e){var t=d(arguments,2),r=-1,o="function"==typeof e,i=n?n.length:0,u=hr("number"==typeof i?i:0);return Ve(n,function(n){u[++r]=(o?e:n[e]).apply(n,t)}),u}function Qe(n,e,r){var o=-1,i=n?n.length:0;if(e=t.createCallback(e,r,3),"number"==typeof i)for(var u=hr(i);++o<i;)u[o]=e(n[o],o,n);else u=[],ao(n,function(n,t,r){u[++o]=e(n,t,r)});return u}function nt(n,e,r){var o=-1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Xr(n))for(var a=-1,f=n.length;++a<f;){var l=n[a];l>i&&(i=l)}else e=null==e&&Ne(n)?u:t.createCallback(e,r,3),Ve(n,function(n,t,r){var u=e(n,t,r);u>o&&(o=u,i=n)});return i}function et(n,e,r){var o=1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Xr(n))for(var a=-1,f=n.length;++a<f;){var l=n[a];i>l&&(i=l)}else e=null==e&&Ne(n)?u:t.createCallback(e,r,3),Ve(n,function(n,t,r){var u=e(n,t,r);o>u&&(o=u,i=n)});return i}function tt(n,e,r,o){if(!n)return r;var i=arguments.length<3;e=t.createCallback(e,o,4);var u=-1,a=n.length;if("number"==typeof a)for(i&&(r=n[++u]);++u<a;)r=e(r,n[u],u,n);else ao(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)});return r}function rt(n,e,r,o){var i=arguments.length<3;return e=t.createCallback(e,o,4),Xe(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)}),r}function ot(n,e,r){return e=t.createCallback(e,r,3),Je(n,function(n,t,r){return!e(n,t,r)})}function it(n,e,t){if(n&&"number"!=typeof n.length&&(n=$e(n)),null==e||t)return n?n[re(0,n.length-1)]:v;var r=ut(n);return r.length=Wr(qr(0,e),r.length),r}function ut(n){var e=-1,t=n?n.length:0,r=hr("number"==typeof t?t:0);return Ve(n,function(n){var t=re(0,++e);r[e]=r[t],r[t]=n}),r}function at(n){var e=n?n.length:0;return"number"==typeof e?e:Qr(n).length}function ft(n,e,r){var o;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&!(o=e(n[i],i,n)););else ao(n,function(n,t,r){return!(o=e(n,t,r))});return!!o}function lt(n,e,r){var o=-1,i=Xr(e),u=n?n.length:0,f=hr("number"==typeof u?u:0);for(i||(e=t.createCallback(e,r,3)),Ve(n,function(n,t,r){var u=f[++o]=s();i?u.criteria=Qe(e,function(e){return n[e]}):(u.criteria=c())[0]=e(n,t,r),u.index=o,u.value=n}),u=f.length,f.sort(a);u--;){var l=f[u];f[u]=l.value,i||p(l.criteria),h(l)}return f}function ct(n){return n&&"number"==typeof n.length?d(n):$e(n)}function st(n){for(var e=-1,t=n?n.length:0,r=[];++e<t;){var o=n[e];o&&r.push(o)}return r}function pt(n){return H(n,Q(arguments,!0,!0,1))}function ht(n,e,r){var o=-1,i=n?n.length:0;for(e=t.createCallback(e,r,3);++o<i;)if(e(n[o],o,n))return o;return-1}function dt(n,e,r){var o=n?n.length:0;for(e=t.createCallback(e,r,3);o--;)if(e(n[o],o,n))return o;return-1}function gt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=-1;for(e=t.createCallback(e,r,3);++u<i&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[0]:v;return d(n,0,Wr(qr(0,o),i))}function vt(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t="function"!=typeof e&&r&&r[e]===n?null:e,e=!1),null!=t&&(n=Qe(n,t,r)),Q(n,e)}function yt(e,t,r){if("number"==typeof r){var o=e?e.length:0;r=0>r?qr(0,o+r):r||0}else if(r){var i=Bt(e,t);return e[i]===t?i:-1}return n(e,t,r)}function bt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else o=null==e||r?1:e||o;return d(n,0,Wr(qr(0,i-o),i))}function mt(){for(var e=[],t=-1,r=arguments.length,i=c(),u=fe(),a=u===n,l=c();++t<r;){var s=arguments[t];(Xr(s)||pe(s))&&(e.push(s),i.push(a&&s.length>=_&&f(t?e[t]:l)))}var d=e[0],g=-1,v=d?d.length:0,y=[];n:for(;++g<v;){var b=i[0];if(s=d[g],(b?o(b,s):u(l,s))<0){for(t=r,(b||l).push(s);--t;)if(b=i[t],(b?o(b,s):u(e[t],s))<0)continue n;y.push(s)}}for(;r--;)b=i[r],b&&h(b);return p(i),p(l),y}function wt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[i-1]:v;return d(n,qr(0,i-o))}function _t(n,e,t){var r=n?n.length:0;for("number"==typeof t&&(r=(0>t?qr(0,r+t):Wr(t,r-1))+1);r--;)if(n[r]===e)return r;return-1}function Et(n){for(var e=arguments,t=0,r=e.length,o=n?n.length:0;++t<r;)for(var i=-1,u=e[t];++i<o;)n[i]===u&&(Dr.call(n,i--,1),o--);return n}function jt(n,e,t){n=+n||0,t="number"==typeof t?t:+t||1,null==e&&(e=n,n=0);for(var r=-1,o=qr(0,xr((e-n)/(t||1))),i=hr(o);++r<o;)i[r]=n,n+=t;return i}function It(n,e,r){var o=-1,i=n?n.length:0,u=[];for(e=t.createCallback(e,r,3);++o<i;){var a=n[o];e(a,o,n)&&(u.push(a),Dr.call(n,o--,1),i--)}return u}function kt(n,e,r){if("number"!=typeof e&&null!=e){var o=0,i=-1,u=n?n.length:0;for(e=t.createCallback(e,r,3);++i<u&&e(n[i],i,n);)o++}else o=null==e||r?1:qr(0,e);return d(n,o)}function Bt(n,e,r,o){var i=0,u=n?n.length:i;for(r=r?t.createCallback(r,o,1):Xt,e=r(e);u>i;){var a=i+u>>>1;r(n[a])<e?i=a+1:u=a}return i}function At(){return oe(Q(arguments,!0,!0))}function xt(n,e,r,o){return"boolean"!=typeof e&&null!=e&&(o=r,r="function"!=typeof e&&o&&o[e]===n?null:e,e=!1),null!=r&&(r=t.createCallback(r,o,3)),oe(n,e,r)}function St(n){return H(n,d(arguments,1))}function Ct(){for(var n=-1,e=arguments.length;++n<e;){var t=arguments[n];if(Xr(t)||pe(t))var r=r?oe(H(r,t).concat(H(t,r))):t}return r||[]}function Lt(){for(var n=arguments.length>1?arguments:arguments[0],e=-1,t=n?nt(po(n,"length")):0,r=hr(0>t?0:t);++e<t;)r[e]=po(n,e);return r}function Ut(n,e){var t=-1,r=n?n.length:0,o={};for(e||!r||Xr(n[0])||(e=[]);++t<r;){var i=n[t];e?o[i]=e[t]:i&&(o[i[0]]=i[1])}return o}function Ot(n,e){if(!Se(e))throw new Er;return function(){return--n<1?e.apply(this,arguments):void 0}}function Tt(n,e){return arguments.length>2?ue(n,17,d(arguments,2),null,e):ue(n,1,null,null,e)}function Nt(n){for(var e=arguments.length>1?Q(arguments,!0,!1,1):we(n),t=-1,r=e.length;++t<r;){var o=e[t];n[o]=ue(n[o],1,null,null,n)}return n}function Dt(n,e){return arguments.length>2?ue(e,19,d(arguments,2),null,n):ue(e,3,null,null,n)}function Ft(){for(var n=arguments,e=n.length;e--;)if(!Se(n[e]))throw new Er;return function(){for(var e=arguments,t=n.length;t--;)e=[n[t].apply(this,e)];return e[0]}}function Mt(n,e){return e="number"==typeof e?e:+e||n.length,ue(n,4,null,null,null,e)}function Yt(n,e,t){var r,o,i,u,a,f,l,c=0,s=!1,p=!0;if(!Se(n))throw new Er;if(e=qr(0,e)||0,t===!0){var h=!0;p=!1}else Ce(t)&&(h=t.leading,s="maxWait"in t&&(qr(e,t.maxWait)||0),p="trailing"in t?t.trailing:p);var d=function(){var t=e-(go()-u);if(0>=t){o&&Sr(o);var s=l;o=f=l=v,s&&(c=go(),i=n.apply(a,r),f||o||(r=a=null))}else f=Nr(d,t)},g=function(){f&&Sr(f),o=f=l=v,(p||s!==e)&&(c=go(),i=n.apply(a,r),f||o||(r=a=null))};return function(){if(r=arguments,u=go(),a=this,l=p&&(f||!h),s===!1)var t=h&&!f;else{o||h||(c=u);var v=s-(u-c),y=0>=v;y?(o&&(o=Sr(o)),c=u,i=n.apply(a,r)):o||(o=Nr(g,v))}return y&&f?f=Sr(f):f||e===s||(f=Nr(d,e)),t&&(y=!0,i=n.apply(a,r)),!y||f||o||(r=a=null),i}}function Zt(n){if(!Se(n))throw new Er;var e=d(arguments,1);return Nr(function(){n.apply(v,e)},1)}function Rt(n,e){if(!Se(n))throw new Er;var t=d(arguments,2);return Nr(function(){n.apply(v,t)},e)}function Pt(n,e){if(!Se(n))throw new Er;var t=function(){var r=t.cache,o=e?e.apply(this,arguments):w+arguments[0];return Or.call(r,o)?r[o]:r[o]=n.apply(this,arguments)};return t.cache={},t}function $t(n){var e,t;if(!Se(n))throw new Er;return function(){return e?t:(e=!0,t=n.apply(this,arguments),n=null,t)}}function qt(n){return ue(n,16,d(arguments,1))}function Wt(n){return ue(n,32,null,d(arguments,1))}function zt(n,e,t){var r=!0,o=!0;if(!Se(n))throw new Er;return t===!1?r=!1:Ce(t)&&(r="leading"in t?t.leading:r,o="trailing"in t?t.trailing:o),J.leading=r,J.maxWait=e,J.trailing=o,Yt(n,e,J)}function Jt(n,e){return ue(e,16,[n])}function Kt(n){return function(){return n}}function Gt(n,e,t){var r=typeof n;if(null==n||"function"==r)return E(n,e,t);if("object"!=r)return er(n);var o=Qr(n),i=o[0],u=n[i];return 1!=o.length||u!==u||Ce(u)?function(e){for(var t=o.length,r=!1;t--&&(r=ne(e[o[t]],n[o[t]],null,!0)););return r}:function(n){var e=n[i];return u===e&&(0!==u||1/u==1/e)}}function Vt(n){return null==n?"":_r(n).replace(ro,ae)}function Xt(n){return n}function Ht(n,e,o){var i=!0,u=e&&we(e);e&&(o||u.length)||(null==o&&(o=e),a=r,e=n,n=t,u=we(e)),o===!1?i=!1:Ce(o)&&"chain"in o&&(i=o.chain);var a=n,f=Se(a);Ve(u,function(t){var r=n[t]=e[t];f&&(a.prototype[t]=function(){var e=this.__chain__,t=this.__wrapped__,o=[t];Tr.apply(o,arguments);var u=r.apply(n,o);if(i||e){if(t===u&&Ce(u))return this;u=new a(u),u.__chain__=e}return u})})}function Qt(){return e._=kr,this}function nr(){}function er(n){return function(e){return e[n]}}function tr(n,e,t){var r=null==n,o=null==e;if(null==t&&("boolean"==typeof n&&o?(t=n,n=1):o||"boolean"!=typeof e||(t=e,o=!0)),r&&o&&(e=1),n=+n||0,o?(e=n,n=0):e=+e||0,t||n%1||e%1){var i=Jr();return Wr(n+i*(e-n+parseFloat("1e-"+((i+"").length-1))),e)}return re(n,e)}function rr(n,e){if(n){var t=n[e];return Se(t)?n[e]():t}}function or(n,e,r){var o=t.templateSettings;n=_r(n||""),r=io({},r,o);var i,u=io({},r.imports,o.imports),a=Qr(u),f=$e(u),c=0,s=r.interpolate||U,p="__p += '",h=wr((r.escape||U).source+"|"+s.source+"|"+(s===C?A:U).source+"|"+(r.evaluate||U).source+"|$","g");n.replace(h,function(e,t,r,o,u,a){return r||(r=o),p+=n.slice(c,a).replace(T,l),t&&(p+="' +\n__e("+t+") +\n'"),u&&(i=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+e.length,e}),p+="';\n";var d=r.variable,g=d;g||(d="obj",p="with ("+d+") {\n"+p+"\n}\n"),p=(i?p.replace(I,""):p).replace(k,"$1").replace(B,"$1;"),p="function("+d+") {\n"+(g?"":d+" || ("+d+" = {});\n")+"var __t, __p = '', __e = _.escape"+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+D++ +"]")+"\n*/";try{var b=vr(a,"return "+p+y).apply(v,f)}catch(m){throw m.source=p,m}return e?b(e):(b.source=p,b)}function ir(n,e,t){n=(n=+n)>-1?n:0;var r=-1,o=hr(n);for(e=E(e,t,1);++r<n;)o[r]=e(r);return o}function ur(n){return null==n?"":_r(n).replace(to,se)}function ar(n){var e=++m;return _r(null==n?"":n)+e}function fr(n){return n=new r(n),n.__chain__=!0,n}function lr(n,e){return e(n),n}function cr(){return this.__chain__=!0,this}function sr(){return _r(this.__wrapped__)}function pr(){return this.__wrapped__}e=e?te.defaults(X.Object(),e,te.pick(X,N)):X;var hr=e.Array,dr=e.Boolean,gr=e.Date,vr=e.Function,yr=e.Math,br=e.Number,mr=e.Object,wr=e.RegExp,_r=e.String,Er=e.TypeError,jr=[],Ir=mr.prototype,kr=e._,Br=Ir.toString,Ar=wr("^"+_r(Br).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),xr=yr.ceil,Sr=e.clearTimeout,Cr=yr.floor,Lr=vr.prototype.toString,Ur=le(Ur=mr.getPrototypeOf)&&Ur,Or=Ir.hasOwnProperty,Tr=jr.push,Nr=e.setTimeout,Dr=jr.splice,Fr=jr.unshift,Mr=function(){try{var n={},e=le(e=mr.defineProperty)&&e,t=e(n,n,n)&&e}catch(r){}return t}(),Yr=le(Yr=mr.create)&&Yr,Zr=le(Zr=hr.isArray)&&Zr,Rr=e.isFinite,Pr=e.isNaN,$r=le($r=mr.keys)&&$r,qr=yr.max,Wr=yr.min,zr=e.parseInt,Jr=yr.random,Kr={};Kr[M]=hr,Kr[Y]=dr,Kr[Z]=gr,Kr[R]=vr,Kr[$]=mr,Kr[P]=br,Kr[q]=wr,Kr[W]=_r,r.prototype=t.prototype;var Gr=t.support={};Gr.funcDecomp=!le(e.WinRTError)&&O.test(g),Gr.funcNames="string"==typeof vr.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:C,variable:"",imports:{_:t}},Yr||(b=function(){function n(){}return function(t){if(Ce(t)){n.prototype=t;var r=new n;n.prototype=null}return r||e.Object()}}());var Vr=Mr?function(n,e){K.value=e,Mr(n,"__bindData__",K)}:nr,Xr=Zr||function(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Br.call(n)==M||!1},Hr=function(n){var e,t=n,r=[];if(!t)return r;if(!G[typeof n])return r;for(e in t)Or.call(t,e)&&r.push(e);return r},Qr=$r?function(n){return Ce(n)?$r(n):[]}:Hr,no={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},eo=Ee(no),to=wr("("+Qr(eo).join("|")+")","g"),ro=wr("["+Qr(no).join("")+"]","g"),oo=function(n,e,t){var r,o=n,i=o;if(!o)return i;var u=arguments,a=0,f="number"==typeof t?2:u.length;if(f>3&&"function"==typeof u[f-2])var l=E(u[--f-1],u[f--],2);else f>2&&"function"==typeof u[f-1]&&(l=u[--f]);for(;++a<f;)if(o=u[a],o&&G[typeof o])for(var c=-1,s=G[typeof o]&&Qr(o),p=s?s.length:0;++c<p;)r=s[c],i[r]=l?l(i[r],o[r]):o[r];return i},io=function(n,e,t){var r,o=n,i=o;if(!o)return i;for(var u=arguments,a=0,f="number"==typeof t?2:u.length;++a<f;)if(o=u[a],o&&G[typeof o])for(var l=-1,c=G[typeof o]&&Qr(o),s=c?c.length:0;++l<s;)r=c[l],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},uo=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!G[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(r in o)if(e(o[r],r,n)===!1)return i;return i},ao=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!G[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(var u=-1,a=G[typeof o]&&Qr(o),f=a?a.length:0;++u<f;)if(r=a[u],e(o[r],r,n)===!1)return i;return i},fo=Ur?function(n){if(!n||Br.call(n)!=$)return!1;var e=n.valueOf,t=le(e)&&(t=Ur(e))&&Ur(t);return t?n==t||Ur(n)==t:ce(n)}:ce,lo=ie(function(n,e,t){Or.call(n,t)?n[t]++:n[t]=1}),co=ie(function(n,e,t){(Or.call(n,t)?n[t]:n[t]=[]).push(e)}),so=ie(function(n,e,t){n[t]=e}),po=Qe,ho=Je,go=le(go=gr.now)&&go||function(){return(new gr).getTime()},vo=8==zr(j+"08")?zr:function(n,e){return zr(Ne(n)?n.replace(L,""):n,e||0)};return t.after=Ot,t.assign=oo,t.at=qe,t.bind=Tt,t.bindAll=Nt,t.bindKey=Dt,t.chain=fr,t.compact=st,t.compose=Ft,t.constant=Kt,t.countBy=lo,t.create=ge,t.createCallback=Gt,t.curry=Mt,t.debounce=Yt,t.defaults=io,t.defer=Zt,t.delay=Rt,t.difference=pt,t.filter=Je,t.flatten=vt,t.forEach=Ve,t.forEachRight=Xe,t.forIn=uo,t.forInRight=be,t.forOwn=ao,t.forOwnRight=me,t.functions=we,t.groupBy=co,t.indexBy=so,t.initial=bt,t.intersection=mt,t.invert=Ee,t.invoke=He,t.keys=Qr,t.map=Qe,t.mapValues=Fe,t.max=nt,t.memoize=Pt,t.merge=Me,t.min=et,t.omit=Ye,t.once=$t,t.pairs=Ze,t.partial=qt,t.partialRight=Wt,t.pick=Re,t.pluck=po,t.property=er,t.pull=Et,t.range=jt,t.reject=ot,t.remove=It,t.rest=kt,t.shuffle=ut,t.sortBy=lt,t.tap=lr,t.throttle=zt,t.times=ir,t.toArray=ct,t.transform=Pe,t.union=At,t.uniq=xt,t.values=$e,t.where=ho,t.without=St,t.wrap=Jt,t.xor=Ct,t.zip=Lt,t.zipObject=Ut,t.collect=Qe,t.drop=kt,t.each=Ve,t.eachRight=Xe,t.extend=oo,t.methods=we,t.object=Ut,t.select=Je,t.tail=kt,t.unique=xt,t.unzip=Lt,Ht(t),t.clone=he,t.cloneDeep=de,t.contains=We,t.escape=Vt,t.every=ze,t.find=Ke,t.findIndex=ht,t.findKey=ve,t.findLast=Ge,t.findLastIndex=dt,t.findLastKey=ye,t.has=_e,t.identity=Xt,t.indexOf=yt,t.isArguments=pe,t.isArray=Xr,t.isBoolean=je,t.isDate=Ie,t.isElement=ke,t.isEmpty=Be,t.isEqual=Ae,t.isFinite=xe,t.isFunction=Se,t.isNaN=Le,t.isNull=Ue,t.isNumber=Oe,t.isObject=Ce,t.isPlainObject=fo,t.isRegExp=Te,t.isString=Ne,t.isUndefined=De,t.lastIndexOf=_t,t.mixin=Ht,t.noConflict=Qt,t.noop=nr,t.now=go,t.parseInt=vo,t.random=tr,t.reduce=tt,t.reduceRight=rt,t.result=rr,t.runInContext=g,t.size=at,t.some=ft,t.sortedIndex=Bt,t.template=or,t.unescape=ur,t.uniqueId=ar,t.all=ze,t.any=ft,t.detect=Ke,t.findWhere=Ke,t.foldl=tt,t.foldr=rt,t.include=We,t.inject=tt,Ht(function(){var n={};return ao(t,function(e,r){t.prototype[r]||(n[r]=e)}),n}(),!1),t.first=gt,t.last=wt,t.sample=it,t.take=gt,t.head=gt,ao(t,function(n,e){var o="sample"!==e;t.prototype[e]||(t.prototype[e]=function(e,t){var i=this.__chain__,u=n(this.__wrapped__,e,t);return i||null!=e&&(!t||o&&"function"==typeof e)?new r(u,i):u})}),t.VERSION="2.4.1",t.prototype.chain=cr,t.prototype.toString=sr,t.prototype.value=pr,t.prototype.valueOf=pr,Ve(["join","pop","shift"],function(n){var e=jr[n];t.prototype[n]=function(){var n=this.__chain__,t=e.apply(this.__wrapped__,arguments);return n?new r(t,n):t}}),Ve(["push","reverse","sort","unshift"],function(n){var e=jr[n];t.prototype[n]=function(){return e.apply(this.__wrapped__,arguments),this}}),Ve(["concat","slice","splice"],function(n){var e=jr[n];t.prototype[n]=function(){return new r(e.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var v,y=[],b=[],m=0,w=+new Date+"",_=75,E=40,j=" \f \n\r\u2028\u2029 ᠎              ",I=/\b__p \+= '';/g,k=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,A=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,x=/\w*$/,S=/^\s*function[ \n\r\t]+\w/,C=/<%=([\s\S]+?)%>/g,L=RegExp("^["+j+"]*0+(?=.$)"),U=/($^)/,O=/\bthis\b/,T=/['\n\r\t\u2028\u2029\\]/g,N=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],D=0,F="[object Arguments]",M="[object Array]",Y="[object Boolean]",Z="[object Date]",R="[object Function]",P="[object Number]",$="[object Object]",q="[object RegExp]",W="[object String]",z={};z[R]=!1,z[F]=z[M]=z[Y]=z[Z]=z[P]=z[$]=z[q]=z[W]=!0;var J={leading:!1,maxWait:0,trailing:!1},K={configurable:!1,enumerable:!1,value:null,writable:!1},G={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},V={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},X=G[typeof window]&&window||this,H=G[typeof t]&&t&&!t.nodeType&&t,Q=G[typeof e]&&e&&!e.nodeType&&e,ne=Q&&Q.exports===H&&H,ee=G[typeof r]&&r;!ee||ee.global!==ee&&ee.window!==ee||(X=ee);var te=g();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(X._=te,define(function(){return te})):H&&Q?ne?(Q.exports=te)._=te:H._=te:X._=te}).call(this)}).call(this,n("1YiZ5S"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../node_modules/lodash/dist/lodash.js","/../node_modules/lodash/dist")},{"1YiZ5S":10,buffer:7}]},{},[3]);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jskit_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dayton Nolan